﻿:root {
  --bg: #f4f8fb;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #172033;
  --muted: #617183;
  --line: #dfe8ef;
  --brand: #2364aa;
  --brand-deep: #173f7a;
  --accent: #f28c28;
  --green: #198754;
  --shadow: 0 18px 42px rgba(35, 100, 170, .12);
}

@font-face {
  font-family: iconfont;
  src: url("./static/alifont/iconfont.woff2?t=1675951170407") format("woff2"),
    url("./static/alifont/iconfont.woff?t=1675951170407") format("woff"),
    url("./static/alifont/iconfont.ttf?t=1675951170407") format("truetype");
}

.iconfont {
  font-family: iconfont !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-fenlei::before {
  content: "\eea7";
}

.icon-shoucang::before {
  content: "\ee99";
}

.icon-dingdan::before {
  content: "\ee91";
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0, #eef7f3 260px, var(--bg) 100%);
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 12px 112px;
}

body[data-view="product"] .app-shell {
  max-width: 520px;
  padding: 0 0 92px;
}

body[data-view="product"] .tabbar {
  display: none;
}

body[data-view="login"] {
  background:
    radial-gradient(circle at top left, rgba(243, 227, 218, .86), rgba(243, 227, 218, 0) 36%),
    linear-gradient(180deg, #f8fbff, #f4f8fb 48%, #f4f8fb);
}

body[data-view="login"] .app-shell {
  padding: 0;
}

body[data-view="login"] .tabbar {
  display: none;
}

.top-safe {
  padding-top: calc(14px + env(safe-area-inset-top));
}

.searchbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: calc(12px + env(safe-area-inset-top)) 2px 10px;
  background: rgba(255, 249, 246, .9);
  backdrop-filter: blur(16px);
}

.searchbar input {
  width: 100%;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 0 15px 0 36px;
  outline: none;
  background: #f6efea
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b8aaa3' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E")
    no-repeat 12px 50%;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .46);
}

.searchbar .mini-btn,
.back-btn {
  flex: 0 0 auto;
  height: 36px;
  min-width: 42px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #c18d7d, #9b665d);
  box-shadow: 0 8px 18px rgba(151, 96, 84, .18);
}

.home-head {
  margin: 0 -2px;
}

.home-header {
  position: fixed;
  top: 0;
  left: max(0px, calc((100vw - 520px) / 2));
  right: max(0px, calc((100vw - 520px) / 2));
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 15px 12px;
  background: linear-gradient(180deg, rgba(250, 246, 242, .96), rgba(250, 246, 242, .58), rgba(250, 246, 242, 0));
  backdrop-filter: blur(12px);
}

.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.header-brand-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 12px;
  color: #fff7f2;
  background: #2f2421;
  font-size: 16px;
  font-weight: 800;
  line-height: 34px;
  text-align: center;
  box-shadow: 0 12px 22px rgba(47, 36, 33, .16);
}

.header-brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.header-brand-copy b {
  overflow: hidden;
  color: #4e3a33;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-brand-copy small {
  overflow: hidden;
  color: #a58e84;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 118px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff7f2;
  background: linear-gradient(135deg, #172033, #7f5c51);
  box-shadow: 0 12px 24px rgba(92, 66, 58, .18);
}

.header-search b {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
}

.header-search-icon {
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23fff7f2' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-spacer {
  height: calc(56px + env(safe-area-inset-top));
}

.hero-wrap {
  display: flex;
  gap: 12px;
  padding: 16px 0 0;
}

.hero-panel {
  flex: 1;
  min-width: 0;
  min-height: 258px;
  padding: 22px 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 34%),
    linear-gradient(160deg, #261d1b, #4a332e 58%, #8f6558);
  box-shadow: 0 24px 42px rgba(73, 54, 47, .24);
  text-align: left;
}

.hero-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255, 247, 242, .84);
  background: rgba(255, 247, 242, .14);
  font-size: 11px;
  letter-spacing: .5px;
}

.hero-title {
  display: block;
  margin-top: 18px;
  color: #fff7f2;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
}

.hero-desc {
  display: block;
  margin-top: 10px;
  color: rgba(255, 247, 242, .78);
  font-size: 13px;
  line-height: 1.7;
}

.hero-metrics {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.hero-metrics > span {
  flex: 1;
  padding: 14px 12px;
  border: 1px solid rgba(255, 247, 242, .08);
  border-radius: 20px;
  background: rgba(255, 247, 242, .08);
}

.hero-metrics b,
.hero-metrics small {
  display: block;
}

.hero-metrics b {
  color: #fff7f2;
  font-size: 24px;
  line-height: 1;
}

.hero-metrics small {
  margin-top: 6px;
  color: rgba(255, 247, 242, .72);
  font-size: 11px;
}

.hero-aside {
  width: 122px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-mini-card {
  flex: 1;
  min-height: 0;
  padding: 16px 12px;
  border-radius: 26px;
  color: #433530;
  background: #fffaf7;
  box-shadow: 0 18px 30px rgba(161, 124, 110, .12);
  text-align: left;
}

.hero-mini-card.accent {
  color: #fff7f2;
  background: linear-gradient(155deg, #efd6cd, #d3afa3);
}

.hero-mini-card small,
.hero-mini-card b {
  display: block;
}

.hero-mini-card small {
  color: #a48f86;
  font-size: 11px;
}

.hero-mini-card.accent small {
  color: #fff7f2;
}

.hero-mini-card b {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  border-radius: 18px;
  background: #efe7e1;
  box-shadow: 0 18px 38px rgba(35, 100, 170, .13);
  touch-action: pan-y;
  user-select: none;
}

.hero-track {
  display: flex;
  height: 188px;
  transition: transform .42s ease;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.98) contrast(.98);
  transform: scale(1.01);
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(30, 25, 22, .08), rgba(30, 25, 22, .46)),
    linear-gradient(90deg, rgba(35, 100, 170, .18), transparent 65%);
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.hero-copy span {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
  font-size: 11px;
}

.hero-copy h1 {
  margin: 0 0 6px;
  font-size: 29px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-copy p {
  margin: 0;
  font-size: 13px;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 6px;
}

.hero-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  transition: width .25s ease, background .25s ease;
}

.hero-dots button.active {
  width: 17px;
  background: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 10px;
  padding: 14px 10px 13px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(35, 100, 170, .07);
}

.quick-grid button {
  min-height: 70px;
  border-radius: 14px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.quick-grid i {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 7px;
  border-radius: 16px;
  color: #ff4500;
  background: linear-gradient(180deg, #fff4ee, #ffe8de);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .76), 0 8px 18px rgba(224, 105, 74, .12);
  font-size: 26px;
  line-height: 42px;
}

.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  margin: 10px 0 15px;
  padding: 0 13px;
  border-radius: 13px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(35, 100, 170, .06);
}

.notice b {
  flex: 0 0 auto;
  color: #173f7a;
  font-size: 13px;
}

.home-cate-strip {
  margin: 10px 0 15px;
  padding: 12px 0 12px 12px;
  border-radius: 16px;
  background: rgba(255, 253, 251, .9);
  box-shadow: 0 10px 28px rgba(35, 100, 170, .07);
  overflow: hidden;
}

.home-cate-strip header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 12px 10px 0;
}

.home-cate-strip header b {
  color: var(--ink);
  font-size: 15px;
}

.home-cate-strip header span {
  color: var(--muted);
  font-size: 12px;
}

.home-cate-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 12px 2px 0;
  scroll-snap-type: x proximity;
}

.home-cate-scroll::-webkit-scrollbar {
  display: none;
}

.home-cate-item {
  flex: 0 0 74px;
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 8px 7px 9px;
  border-radius: 13px;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfb, #f7efe9);
  box-shadow: inset 0 0 0 1px rgba(234, 223, 217, .58);
  scroll-snap-align: start;
}

.home-cate-item.active {
  color: var(--brand-deep);
  background: linear-gradient(180deg, #fff5ef, #f4e4dc);
  box-shadow: inset 0 0 0 1px rgba(35, 100, 170, .24), 0 8px 18px rgba(35, 100, 170, .1);
}

.home-cate-item img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: #f2ebe6;
}

.home-cate-item span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 2px 11px;
}

.section-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.section-title span {
  color: var(--muted);
  font-size: 12px;
}

.product-list {
  display: grid;
  gap: 10px;
}

.home-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.product-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--paper-strong);
  box-shadow: 0 12px 30px rgba(100, 73, 62, .075);
  border: 1px solid rgba(234, 223, 217, .5);
}

.home-product-grid .product-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(100, 73, 62, .08);
}

.home-product-grid .image-wrapper {
  border-radius: 0;
  background: #f2ebe6;
}

.home-product-grid .image-wrapper::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.home-product-grid .product-card img {
  aspect-ratio: 1;
  border-radius: 0;
}

.home-product-grid .product-info {
  padding: 9px 9px 10px;
  gap: 6px;
}

.home-product-grid .product-info h3 {
  min-height: 38px;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-grid .product-info p {
  display: none;
}

.home-product-grid .tag-row {
  min-height: 22px;
  margin: 0;
  gap: 4px;
}

.home-product-grid .tag-row span {
  padding: 3px 6px;
  font-size: 10px;
}

.home-product-grid .sales-line {
  color: #b3a49d;
  font-size: 11px;
}

.home-product-grid .price-row {
  align-items: end;
}

.home-product-grid .price {
  font-size: 16px;
}

.home-product-grid .origin {
  display: none;
}

.home-product-grid .pill-btn {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
}

.home-product-grid .pill-btn::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.image-wrapper {
  position: relative;
  align-self: start;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #efe7e1, #f8f1ec);
}

.image-wrapper::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
  pointer-events: none;
}

.product-card img,
.category-card img,
.detail-hero img,
.cart-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #efe7e1;
}

.product-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-info h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 700;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sales-line {
  color: var(--muted);
  font-size: 12px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.price {
  color: var(--accent);
  font-weight: 800;
}

.origin {
  margin-left: 4px;
  color: #b9aaa4;
  font-size: 12px;
  text-decoration: line-through;
}

.pill-btn {
  min-width: 64px;
  height: 32px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #ff7355, #c85d4e);
  box-shadow: 0 8px 18px rgba(218, 82, 60, .22);
  font-size: 13px;
}

.category-layout {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding-top: 14px;
}

.category-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.category-tabs-scroll {
  display: flex;
  gap: 8px;
  margin: 4px -12px 12px;
  padding: 2px 12px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.category-tabs button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
}

.category-tabs button.active {
  color: var(--brand-deep);
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(35, 100, 170, .08);
}

.category-tabs-scroll button {
  flex: 0 0 auto;
  min-width: 72px;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 0 0 1px rgba(35, 100, 170, .08);
}

.category-tabs-scroll button.active {
  color: #fffaf7;
  background: var(--brand-grad-deep);
  box-shadow: 0 9px 18px rgba(143, 81, 73, .16);
}

.category-browse-head {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 92% 0, rgba(255, 250, 247, .34), transparent 34%),
    linear-gradient(135deg, #172033, #173f7a 58%, #f28c28);
  color: #fffaf7;
  box-shadow: var(--shadow-soft);
}

.category-browse-head span {
  font-size: 12px;
  opacity: .75;
}

.category-browse-head h2 {
  margin: 0;
  font-size: 22px;
}

.category-browse-head p {
  margin: 0;
  font-size: 12px;
  opacity: .76;
}

.category-product-list {
  padding-bottom: 10px;
}

.category-source-shell {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 253, 251, .86);
  box-shadow: 0 14px 34px rgba(180, 146, 132, .1);
}

.category-source-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #dbc0b7, #c69f92);
  box-shadow: 0 16px 30px rgba(180, 146, 132, .16);
}

.category-source-head span {
  width: max-content;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 250, 247, .86);
  font-size: 12px;
}

.category-source-head strong {
  color: #fff;
  font-size: 22px;
}

.category-source-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
}

.category-source-caption b {
  color: #202020;
  font-size: 15px;
}

.category-source-caption span {
  color: #ae988e;
  font-size: 12px;
}

.category-source-list {
  display: grid;
  gap: 10px;
}

.category-source-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 118px;
  padding: 11px;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 22px rgba(180, 146, 132, .1);
  text-align: left;
  overflow: hidden;
}

.category-source-item.active {
  box-shadow: 0 12px 24px rgba(35, 100, 170, .16);
}

.category-source-item img {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(180deg, #f7efe9, #fffdfb);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
  transform: scale(1.03);
}

.category-source-item span {
  min-width: 0;
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 700;
}

.category-source-item i {
  padding: 6px 11px;
  border-radius: 999px;
  color: #2364aa;
  background: rgba(35, 100, 170, .1);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.category-result-title {
  margin-top: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.category-grid-full {
  padding-top: 8px;
}

.category-card {
  padding: 10px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(35, 100, 170, .07);
  border: 1px solid rgba(234, 223, 217, .5);
  text-align: center;
}

.category-card.active {
  color: var(--brand-deep);
  background: linear-gradient(180deg, #fffaf7, #f6e8e1);
  border-color: rgba(35, 100, 170, .24);
  box-shadow: 0 10px 22px rgba(143, 81, 73, .12);
}

.category-card b {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 2px 10px;
}

.page-title h1 {
  margin: 0;
  font-size: 22px;
}

.detail-page {
  min-height: 100vh;
  background: #f7f3ef;
}

.detail-topbar {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  width: min(100%, 520px);
  height: calc(44px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 0 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transform: translateX(-50%);
  transition: background .18s ease, border-color .18s ease;
}

.detail-topbar b {
  text-align: center;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 44px;
  opacity: 0;
  transition: opacity .18s ease;
}

.detail-topbar.is-visible {
  background: rgba(255, 250, 247, .96);
  border-bottom: 1px solid rgba(234, 223, 217, .78);
  backdrop-filter: blur(14px);
}

.detail-topbar.is-visible b {
  opacity: 1;
}

.detail-topbar .detail-back {
  justify-self: center;
  width: 42px;
}

.detail-topbar .detail-back:active {
  background: linear-gradient(135deg, #c18d7d, #9b665d);
}

.detail-topbar-spacer {
  display: block;
  width: 44px;
  height: 44px;
}

.round-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 8px 18px rgba(35, 100, 170, .12);
  font-size: 13px;
  font-weight: 800;
}

.detail-gallery {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  background: #eee3dc;
}

.detail-track {
  display: flex;
  transition: transform .25s ease;
}

.detail-slide {
  flex: 0 0 100%;
}

.detail-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.detail-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.detail-dots button {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
}

.detail-dots button.active {
  width: 18px;
  background: #fff;
}

.detail-price-card,
.detail-service,
.detail-spec,
.detail-comment,
.detail-content {
  margin: 10px 10px 0;
  padding: 14px;
  border-radius: 14px;
  background: var(--paper-strong);
  box-shadow: 0 10px 24px rgba(35, 100, 170, .07);
}

.detail-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.detail-price-row strong {
  color: #e23f2c;
  font-size: 27px;
}

.detail-price-row span {
  margin-left: 8px;
  color: #b9a9a0;
  font-size: 13px;
  text-decoration: line-through;
}

.detail-price-row small {
  color: var(--muted);
  font-size: 12px;
}

.detail-price-card h1 {
  margin: 10px 0 6px;
  font-size: 20px;
  line-height: 1.35;
}

.detail-price-card p,
.detail-content p,
.muted-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.detail-service,
.detail-spec {
  display: grid;
  gap: 12px;
}

.detail-service div,
.spec-line {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.detail-service b,
.spec-line b {
  color: var(--ink);
}

.spec-group {
  display: grid;
  gap: 8px;
}

.spec-group b {
  font-size: 13px;
}

.spec-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-group button {
  min-width: 58px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dfe8ef;
  border-radius: 8px;
  color: var(--ink);
  background: #fbf7f3;
  font-size: 13px;
}

.spec-group button.active {
  border-color: #e9583f;
  color: #d93227;
  background: #fff1eb;
  font-weight: 800;
}

.detail-qty {
  justify-self: end;
}

.stock-line {
  color: #a9958c;
  font-size: 12px;
  text-align: right;
}

.detail-comment article {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.detail-comment header {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 13px;
}

.detail-comment header span {
  color: #e8a23a;
  letter-spacing: 1px;
}

.detail-comment article p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.detail-content img {
  width: 100%;
  margin-top: 12px;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.detail-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  width: min(100%, 520px);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid rgba(234, 223, 217, .9);
  transform: translateX(-50%);
}

.detail-actions button {
  min-width: 0;
  height: 44px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.detail-tool {
  padding: 0;
  color: var(--brand-deep);
  background: #f7efe9;
  box-shadow: inset 0 0 0 1px rgba(162, 111, 98, .12);
  font-size: 12px;
}

.detail-cart {
  color: #173f7a;
  background: #fbe8dd;
}

.detail-buy {
  color: #fff;
  background: linear-gradient(135deg, #ef7b4f, #d93227);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.tag-row span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f6efea;
  color: var(--brand-deep);
  font-size: 12px;
}

.bottom-actions {
  position: sticky;
  bottom: 92px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.bottom-actions button {
  height: 46px;
  border-radius: 16px;
  font-weight: 700;
}

.ghost {
  color: var(--brand-deep);
  background: #f6efea;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--brand-deep));
}

.empty {
  padding: 46px 20px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--muted);
  text-align: center;
}

.load-more {
  padding: 16px 0 4px;
  color: #a9958c;
  font-size: 12px;
  text-align: center;
}

.cart-list {
  display: grid;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--paper);
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.qty {
  display: inline-grid;
  grid-template-columns: 30px 38px 30px;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.qty button {
  height: 30px;
  background: #fff8f5;
}

.qty span {
  text-align: center;
}

.cart-footer {
  position: sticky;
  bottom: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 253, 251, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.mine-head {
  margin: 0 -12px;
  padding: calc(26px + env(safe-area-inset-top)) 20px 42px;
  color: #fff;
  background: linear-gradient(135deg, #173f7a, #f28c28 52%, #2f8f6f);
}

.mine-head h1 {
  margin: 0;
  font-size: 26px;
}

.mine-card {
  margin-top: -24px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stats div {
  padding: 10px 8px;
  border-radius: 14px;
  background: #f4f8fb;
  text-align: center;
}

.stats b {
  display: block;
  font-size: 17px;
}

.menu-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.menu-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
}

.login-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: calc(32px + env(safe-area-inset-top)) 16px 24px;
}

.login-hero {
  position: relative;
  z-index: 1;
  padding: 10px 4px 12px;
}

.login-hero span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(35, 100, 170, .12);
  color: var(--brand);
  font-size: 10px;
}

.login-hero h1 {
  margin: 11px 0 0;
  color: #222;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

.login-hero p {
  margin: 9px 0 0;
  color: var(--brand);
  font-size: 12px;
}

.login-panel {
  position: relative;
  z-index: 2;
  padding: 15px 0 18px;
  border: 1px solid rgba(35, 100, 170, .08);
  border-radius: 16px;
  background: rgba(255, 253, 251, .96);
  box-shadow: 0 12px 30px rgba(180, 146, 132, .14);
  backdrop-filter: blur(10px);
}

.login-switch {
  display: flex;
  width: calc(100% - 40px);
  margin: 0 auto 15px;
  padding: 5px;
  border-radius: 999px;
  background: #f5ede8;
}

.login-switch button {
  flex: 1;
  height: 36px;
  border-radius: 999px;
  color: #907d74;
  background: transparent;
  font-size: 14px;
  transition: all .2s ease;
}

.login-switch button.active {
  color: #fffaf7;
  background: linear-gradient(135deg, #2f80ed, var(--brand));
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(35, 100, 170, .22);
}

.login-fields {
  display: grid;
  gap: 12px;
  padding: 0 20px;
}

.login-fields label {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(35, 100, 170, .08);
  border-radius: 12px;
  background: #fbf6f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.login-fields span {
  flex: 0 0 60px;
  color: #4b3b36;
  font-size: 14px;
  font-weight: 500;
}

.login-fields input {
  width: 100%;
  height: 32px;
  border: 0;
  outline: none;
  background: transparent;
  color: #4b3b36;
  font-size: 14px;
}

.agreement {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 9px 20px 0;
  color: #aa978f;
  background: transparent;
  text-align: left;
  font-size: 12px;
}

.agreement i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 8px 0 0;
  border: 1px solid #dcdfe6;
  border-radius: 50%;
  color: #fff;
  background: #fffaf7;
  font-size: 11px;
  line-height: 14px;
  text-align: center;
  font-style: normal;
}

.agreement.checked i {
  border-color: var(--brand);
  background: var(--brand);
}

.agreement span {
  line-height: 1.7;
}

.agreement b {
  color: var(--brand);
  font-weight: 500;
}

.login-submit {
  display: block;
  width: calc(100% - 40px);
  height: 46px;
  margin: 28px auto 0;
  border-radius: 23px;
  color: #fffaf7;
  background: linear-gradient(135deg, #2f80ed, var(--brand));
  box-shadow: 0 8px 15px rgba(35, 100, 170, .26);
  font-size: 16px;
  font-weight: 600;
}

.login-tip {
  margin: 16px 0 0;
  color: #a9968d;
  text-align: center;
  font-size: 13px;
}

.login-tip button {
  margin-left: 5px;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 600;
}

.form-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--paper);
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  outline: none;
  background: #fff;
}

.coupon-select {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.order-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: var(--paper);
}

.order-card header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.order-entry {
  cursor: pointer;
}

.order-entry footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  padding-top: 4px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.order-entry footer b {
  color: #c7aaa0;
  font-size: 20px;
  line-height: 1;
}

.order-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.order-card footer button {
  min-width: 78px;
  height: 32px;
  border-radius: var(--radius-control);
  color: var(--brand-deep);
  background: #f4e2dc;
  font-weight: 700;
}

.order-card footer button:disabled {
  color: #b8aaa5;
  background: #f2ece9;
}

.secondary-action {
  color: var(--brand-deep);
  background: #f4e2dc;
  box-shadow: none;
}

.order-detail-head,
.order-detail-section {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.order-detail-head {
  background:
    radial-gradient(circle at 90% 0, rgba(255, 250, 247, .24), transparent 36%),
    linear-gradient(135deg, #172033, #173f7a 58%, #f28c28);
  color: #fffaf7;
}

.order-detail-head span {
  font-size: 18px;
  font-weight: 800;
}

.order-detail-head strong {
  font-size: 13px;
  font-weight: 700;
  opacity: .86;
}

.order-detail-head p {
  margin: 0;
  font-size: 12px;
  opacity: .72;
}

.order-detail-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.order-detail-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.order-detail-item:first-of-type {
  border-top: 0;
}

.order-detail-item img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #f8efe9;
}

.order-detail-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.45;
}

.order-detail-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.order-detail-item div div,
.detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.order-detail-item b,
.detail-row b {
  color: var(--ink);
  text-align: right;
}

.detail-row.total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.detail-row.total b {
  color: #d84b38;
  font-size: 18px;
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.pay-methods .form-submit-button {
  height: 44px;
}

.pay-methods .pay-alipay {
  background: linear-gradient(135deg, #2f8fce, #1677ff);
}

.default-address-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(35, 100, 170, .12);
  border-radius: var(--radius-control);
  color: var(--ink);
  background: var(--surface-soft);
  text-align: left;
}

.default-address-toggle span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.default-address-toggle b {
  font-size: 14px;
  line-height: 1.25;
}

.default-address-toggle small {
  color: var(--muted);
  font-size: 12px;
}

.default-address-toggle i {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #e6d9d2;
  box-shadow: inset 0 0 0 1px rgba(143, 81, 73, .08);
  transition: background .2s ease;
}

.default-address-toggle i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(35, 100, 170, .18);
  content: "";
  transition: transform .2s ease;
}

.default-address-toggle.active {
  border-color: rgba(35, 100, 170, .26);
  background: #fffaf7;
}

.default-address-toggle.active i {
  background: var(--brand-grad-deep);
}

.default-address-toggle.active i::after {
  transform: translateX(20px);
}

.form-submit-button,
.address-save-button {
  height: 46px;
  margin-top: 2px;
  border-radius: var(--radius-control);
  color: #fffaf7;
  background: linear-gradient(135deg, #caa092, #9b665d);
  box-shadow: 0 10px 18px rgba(143, 81, 73, .16);
  font-size: 15px;
  font-weight: 700;
}

.form-submit-button:active,
.address-save-button:active {
  transform: translateY(1px);
  box-shadow: 0 6px 12px rgba(143, 81, 73, .14);
}

.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 118px;
  transform: translateX(-50%);
  max-width: min(280px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 14px;
  color: #fff;
  background: rgba(31, 27, 25, .86);
  font-size: 13px;
}

.tabbar {
  position: fixed;
  z-index: 10;
  left: max(14px, calc((100vw - 520px) / 2 + 14px));
  right: max(14px, calc((100vw - 520px) / 2 + 14px));
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  height: 74px;
  padding: 8px 6px env(safe-area-inset-bottom);
  border-radius: 26px;
  background: rgba(255, 250, 247, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .6);
}

.tabbar button {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 18px;
  color: var(--muted);
  background: transparent;
}

.tabbar button.active {
  color: var(--brand-deep);
  background: linear-gradient(180deg, rgba(35, 100, 170, .12), rgba(35, 100, 170, .04));
}

.tabbar .icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tabbar .icon-current {
  display: none;
}

.tabbar button.active .icon-normal {
  display: none;
}

.tabbar button.active .icon-current {
  display: block;
}

.tabbar b {
  font-size: 11px;
}

.cart-badge {
  position: absolute;
  top: 8px;
  left: 50%;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #e9382f;
  box-shadow: 0 4px 10px rgba(233, 56, 47, .25);
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  transform: translate(5px, -2px);
}

/* Visual system refinement */
:root {
  --surface: rgba(255, 255, 255, .96);
  --surface-soft: #f3f8fb;
  --brand-soft: #eaf3ff;
  --brand-grad: linear-gradient(135deg, #2f80ed, #198754);
  --brand-grad-deep: linear-gradient(135deg, #2364aa, #173f7a);
  --radius-card: 14px;
  --radius-control: 12px;
  --shadow-soft: 0 10px 26px rgba(35, 100, 170, .075);
  --shadow-pop: 0 14px 30px rgba(35, 100, 170, .12);
}

.searchbar input,
.form-card input,
.form-card textarea,
.login-fields label,
.spec-group button,
input,
textarea,
select {
  border-color: rgba(35, 100, 170, .12);
  background-color: var(--surface-soft);
}

.searchbar input:focus,
.form-card input:focus,
.form-card textarea:focus,
.login-fields label:focus-within,
.spec-group button.active {
  border-color: rgba(35, 100, 170, .46);
  box-shadow: 0 0 0 3px rgba(35, 100, 170, .08);
}

.quick-grid,
.notice,
.product-card,
.category-card,
.detail-price-card,
.detail-service,
.detail-spec,
.detail-comment,
.detail-content,
.cart-item,
.cart-footer,
.mine-card,
.menu-list button,
.form-card,
.order-card,
.empty,
.login-panel {
  border: 1px solid rgba(234, 223, 217, .62);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.home-product-grid .product-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.hero,
.tabbar,
.mine-head {
  box-shadow: var(--shadow-pop);
}

.searchbar .mini-btn,
.back-btn,
.primary,
.pill-btn,
.detail-buy,
.login-submit,
.login-switch button.active,
.sidebar button.active {
  background: var(--brand-grad-deep);
  box-shadow: 0 9px 18px rgba(143, 81, 73, .18);
}

.ghost,
.detail-tool,
.detail-cart,
.qty button,
.tag-row span,
.stats div,
.category-tabs button.active {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.quick-grid i {
  color: var(--brand-deep);
  background: linear-gradient(180deg, #fffaf7, #f4e8e2);
  box-shadow: inset 0 0 0 1px rgba(35, 100, 170, .08), 0 8px 18px rgba(35, 100, 170, .12);
}

.mine-head {
  background:
    radial-gradient(circle at 92% 0, rgba(255, 250, 247, .22), transparent 34%),
    linear-gradient(135deg, #172033, #173f7a 58%, #f28c28);
}

.detail-price-row strong,
.price {
  color: #d84b38;
}

.detail-buy {
  color: #fff;
}

.detail-cart {
  color: var(--brand-deep);
}

.detail-actions .detail-tool {
  padding: 0;
  color: var(--brand-deep);
  background: #f7efe9;
  box-shadow: inset 0 0 0 1px rgba(162, 111, 98, .12);
  font-size: 12px;
}

.detail-actions .detail-cart {
  color: #173f7a;
  background: #fbe8dd;
}

.tabbar button.active {
  background: linear-gradient(180deg, rgba(35, 100, 170, .14), rgba(35, 100, 170, .05));
}

button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    color .16s ease,
    opacity .16s ease;
}

button:active {
  transform: translateY(1px) scale(.985);
}

.searchbar .mini-btn:active,
.primary:active,
.pill-btn:active,
.login-submit:active,
.form-submit-button:active,
.address-save-button:active,
.detail-actions .detail-buy:active {
  box-shadow: 0 5px 11px rgba(143, 81, 73, .16);
  filter: saturate(.96) brightness(.98);
}

.ghost:active,
.detail-actions .detail-tool:active,
.detail-actions .detail-cart:active,
.qty button:active,
.category-tabs button:active,
.menu-list button:active,
.login-switch button:active,
.login-tip button:active,
.tabbar button:active,
.quick-grid button:active,
.hero-dots button:active,
.detail-dots button:active,
.spec-group button:active {
  box-shadow: inset 0 0 0 1px rgba(143, 81, 73, .12);
  filter: brightness(.985);
}

.back-btn:active,
.round-icon:active {
  box-shadow: 0 5px 12px rgba(92, 66, 58, .12);
}

.detail-actions .detail-tool:active {
  background: #f2e7df;
}

.detail-actions .detail-cart:active {
  background: #f7ded2;
}

.detail-actions .detail-buy:active {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }

  button:active {
    transform: none;
  }
}

.toast {
  background: rgba(48, 38, 34, .9);
  box-shadow: 0 12px 26px rgba(48, 38, 34, .18);
}

.order-card header b:not(:empty) {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
}

.order-card strong {
  line-height: 1.55;
}

.ghost[data-remove] {
  color: #b05248;
  background: #fff0ec;
}

.qty {
  background: #fffaf7;
}

.qty button {
  color: var(--brand-deep);
  font-weight: 800;
}

.qty span {
  color: #4b3b36;
  font-size: 13px;
  font-weight: 700;
}

.page-title .back-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 36px;
}

.menu-list button#logout {
  color: #b05248;
}

.menu-list button#logout b {
  color: #c7aaa0;
}

@media (max-width: 340px) {
  .product-card {
    grid-template-columns: 96px 1fr;
  }

  .category-layout {
    grid-template-columns: 82px 1fr;
  }

  .category-source-item {
    grid-template-columns: 86px minmax(0, 1fr) auto;
    min-height: 106px;
    gap: 10px;
  }

  .category-source-item img {
    width: 86px;
    height: 86px;
  }
}
