* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #110827;
  --card-dark: #39357F;
}

body {
  font-family: -apple-system;
  /* background: #f6f6f6; */
  background: var(--bg-dark);
  color: #fff;
}

.hot-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  background-color: var(--bg-dark);
  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-dark);
}

.hot-card {
  display: flex;
  min-width: 120px;
  padding: 10px;
  background: var(--card-dark);
  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 img {
  width: 100%;
  height: 231px;
  object-fit: cover;
}

.search {
  padding: 10px;
  background: var(--bg-dark);
}

.search input {
  background: var(--bg-dark);
  color: #fff;
  width: 100%;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid #fff;
}

#list {
  padding-bottom: 80px;
}

.card {
  background: var(--card-dark);
  margin: 10px;
  border-radius: 10px;
  padding: 10px;
  display: flex;
}

.card img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.info {
  flex: 1;
  margin-left: 10px;
  font-size: 14px;
}

.price {
  color: #c89b3c;
  font-weight: bold;
}

.btn {
  margin-top: 6px;
  padding: 6px 18px;
  border: none;
  border-radius: 20px;
  background: #c89b3c;
  color: #fff;
  font-size: 13px;
}
.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-dark);
  border-radius: 10px;
}

.chart {
  height: 220px;
  margin-top: 10px;
  background: var(--card-dark);
  border-radius: 10px;
}

.bottom-btn {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: var(--bg-dark);
  /* border-top: 1px solid #ddd; */
}
.bottom-btn svg {
  width: 10px;
}

.tabbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  display: flex;
  background: var(--bg-dark);
  /* 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: var(--bg-dark);
  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;
}