* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F8FAFB;
  --card: #FFF;
  --bg-dark: #110827;
  --card-dark: #39357F;
}

body {
  font-family: -apple-system;
  /* background: #f6f6f6; */
  background: var(--bg);
  /* color: #fff; */
}

h3 span {
  font-weight: 400;
  font-size: 17px;
}

.hot-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  background-color: var(--bg);
  padding: 15px 10px 0 10px;
  gap: 5px;
}
.hot-title svg {
  width: 17px;
}
.hot-container {
  display: flex;
  overflow-x: auto;
  padding: 10px;
  gap: 10px;
  margin-bottom: 10px;
  background-color: var(--bg);
}

.hot-card {
  display: flex;
  min-width: 120px;
  padding: 10px;
  background: var(--card);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  gap: 5px;
  box-shadow: #ccc 0 0 1px;
}
.hot-img {
  display: flex;
  width: 70px;
}
.hot-img img {
  width: 100%;
  object-fit: contain;
}

.hot-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 5px;
}

.banner {
  padding: 10px 15px;
}
.banner img {
  width: 100%;
  height: 231px;
  object-fit: cover;
  border-radius: 7px;
}

.search-wrap {
  padding: 0 15px;
  margin-bottom: 5px;
}
.search {
  padding: 10px;
  background: var(--card);
  border-radius: 10px;
}

.search input {
  background: var(--bg);
  width: 100%;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid #fff;
}

.list-wrap {
  padding: 0 15px;
}
.list-title-wrap {
  background: var(--card);
  border: 1px solid #eee;
  border-radius: 10px;
}
#list {
  padding-bottom: 80px;
  background: var(--card);
}
#list-title {
  font-weight: bold;
  padding: 12px 0 0 15px;
} 

.card {
  display: flex;
  justify-content: space-between;
  background: var(--card);
  margin: 10px;
  border-radius: 10px;
  padding: 18px 10px;
  padding-left: 0;
  border-bottom: 1px solid #eee;
}

.card img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.info {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  margin-left: 10px;
  font-size: 14px;
  gap: 5px;
}
.card-name {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 3px;
}
.card-tips {
  background-color: #fffbeb;
  color: #b45309;
  font-size: 11px;
  padding: 0px 9px;
  border-radius: 5px;
}
.price {
  color: #c89b3c;
  font-weight: bold;
}

.btn {
  margin-top: 6px;
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  /* background: #c89b3c; */
  background: linear-gradient(135deg, hsl(217, 91%, 52%), hsl(calc(217 + 8), 91%, calc(52% - 10%)));
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0px 6px 14px hsla(217, 91%, 52%, 0.491);
}
.details {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.detail-img {
  width: 100%;
  border-radius: 10px;
}

.detail-box {
  padding: 12px;
  background: var(--card);
  border-radius: 10px;
}

.chart {
  height: 220px;
  margin-top: 10px;
  background: var(--card);
  border-radius: 10px;
}

.bottom-btn {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: var(--bg);
  /* border-top: 1px solid #ddd; */
}
.bottom-btn svg {
  width: 10px;
}

.tabbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  display: flex;
  background: var(--bg);
  /* border-top: 1px solid #ddd; */
}

.tabbar div {
  flex: 1;
  text-align: center;
  line-height: 50px;
  font-size: 14px;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px 20px;
  border-radius: 20px;
  display: none;
}

.header {
  padding: 15px 10px;
  background: hsl(217, 91%, 52%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border-bottom: 1px solid #ddd; */
}

.header .back {
  font-size: 16px;
  /* color: #333; */
  cursor: pointer;
}

.header h1 {
  font-size: 18px;
  /* color: #333; */
  text-align: center;
  flex-grow: 1;
}