:root {
  --ink: #281f1d;
  --muted: #766b67;
  --line: #e7ded8;
  --paper: #fbf8f4;
  --card: #fffdfb;
  --accent: #8f3530;
  --accent-dark: #6f2824;
  --accent-soft: #f4e4df;
  --green: #416954;
  --shadow: 0 18px 60px rgba(59, 37, 31, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(143, 53, 48, 0.11), transparent 31rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.5;
}
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(143, 53, 48, 0.22);
  outline-offset: 2px;
}
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(231, 222, 216, 0.85);
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: blur(18px);
}
.campaign-banner {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d9c9be;
  border-radius: 14px;
  padding: 10px 14px;
  color: #5b4538;
  background: #fff9f3;
  font-size: 13px;
}
.campaign-banner.closed { border-color: #efc2bf; color: #8a2f2b; background: #fff0ef; }
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  font-family: "Songti SC", SimSun, serif;
  font-size: 20px;
}
.brand strong { display: block; font-size: 17px; letter-spacing: .05em; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.history-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--card);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}
.history-button span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 11px;
}
.cart-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 11px 10px 17px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}
.cart-badge {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  margin-left: 8px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  align-items: end;
  gap: 72px;
  padding: 76px 0 62px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.hero-copy > p:last-child { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.steps li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.steps span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.catalog-section { padding: 58px 0 130px; }
.catalog-heading {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 470px);
  gap: 42px;
  align-items: end;
}
.catalog-heading h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 34px; font-weight: 600; }
.catalog-meta { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.search-wrap label { display: block; margin: 0 0 7px; color: var(--muted); font-size: 12px; }
.search-box {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 251, .85);
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(143, 53, 48, .08); }
.search-box svg { width: 19px; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-width: 1.8; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box button { border: 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 12px; }
.filter-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}
.chip:hover, .chip.active { border-color: var(--ink); color: #fff; background: var(--ink); }
.sort-control { display: flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; font-size: 12px; }
.sort-control select { border: 0; border-bottom: 1px solid var(--line); padding: 7px 23px 7px 4px; background: transparent; color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(59, 37, 31, .09); }
.product-image-wrap { position: relative; aspect-ratio: 1.05; overflow: hidden; background: #f1ece7; }
.product-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image { transform: scale(1.025); }
.product-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #a2938c; font-family: "Songti SC", SimSun, serif; font-size: 28px; }
.stock-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(40, 31, 29, .78);
  backdrop-filter: blur(8px);
  font-size: 11px;
}
.product-body { padding: 16px; }
.product-topline { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.product-name { margin: 0; font-size: 16px; line-height: 1.35; }
.product-price { color: var(--accent); white-space: nowrap; font-size: 18px; font-weight: 800; }
.product-price small { display: block; margin-bottom: 1px; color: var(--muted); font-size: 10px; font-weight: 600; text-align: right; }
.product-price b { font-size: inherit; }
.product-color { margin: 6px 0 0; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-info { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.product-info span:first-child { width: 100%; color: #4e4643; }
.product-actions { display: grid; gap: 8px; margin-top: 15px; }
.select-button, .detail-link {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.select-button:hover { color: #fff; background: var(--ink); }
.select-button:disabled { opacity: .5; cursor: not-allowed; color: var(--muted); background: #f1ece8; }
.detail-link { border-color: var(--line); color: var(--accent); }
.detail-link:hover { border-color: var(--accent); background: #fff7f4; }
.empty-state { padding: 90px 20px; text-align: center; }
.empty-state h3 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 28px; }
.empty-state p { color: var(--muted); }
.empty-state button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; }
.pagination { display: flex; justify-content: center; gap: 8px; padding-top: 42px; }
.page-button {
  min-width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  cursor: pointer;
}
.page-button.current { border-color: var(--ink); color: #fff; background: var(--ink); }
.page-button:disabled { opacity: .4; cursor: not-allowed; }

.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(29, 22, 20, .48); backdrop-filter: blur(3px); }
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  width: min(820px, calc(100% - 32px));
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: rgba(255, 253, 250, .96);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(29, 22, 20, .1);
}
.back-button:hover { border-color: var(--accent); color: var(--accent); }
.modal-product { display: grid; grid-template-columns: minmax(260px, .92fr) 1.1fr; }
.modal-visual { min-height: 500px; background: #f1ece7; }
.modal-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.modal-content { padding: 42px 38px 36px; }
.modal-content h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 31px; font-weight: 600; }
.modal-color { margin: 7px 0 0; color: var(--muted); }
.modal-price { margin-top: 18px; color: var(--accent); font-size: 27px; font-weight: 800; }
.modal-price small { margin-right: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
.modal-detail-link { display: inline-block; margin: -11px 0 22px; color: var(--accent); font-size: 13px; font-weight: 750; text-underline-offset: 3px; }
.modal-details { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 13px 0 24px; color: var(--muted); font-size: 12px; }
.field-label { display: block; margin: 0 0 9px; font-size: 13px; font-weight: 800; }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-button {
  min-width: 58px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 10px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}
.size-button small { display: block; margin-top: 1px; color: var(--muted); font-size: 9px; }
.size-button.active { border-color: var(--accent); color: #fff; background: var(--accent); }
.size-button.active small { color: #f8dcda; }
.quantity-row { display: flex; align-items: center; justify-content: space-between; margin-top: 23px; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.quantity-control button { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.quantity-control input { width: 48px; border: 0; outline: 0; background: transparent; text-align: center; font-weight: 700; }
.primary-button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-weight: 800;
}
.primary-button:hover { background: var(--accent-dark); }
.modal-add { margin-top: 19px; }

.history-modal { width: min(720px, calc(100% - 32px)); padding: 26px; }
.history-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.history-header h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 28px; font-weight: 600; }
.history-note { margin: 15px 0; color: var(--muted); font-size: 12px; }
.history-items { display: grid; gap: 12px; }
.history-record { border: 1px solid var(--line); border-radius: 16px; padding: 15px; background: #fffdfa; }
.history-record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.history-record-head > div { display: grid; gap: 3px; }
.history-record-head > div:last-child { justify-items: end; }
.history-record-head span { color: var(--muted); font-size: 11px; }
.history-record-head b { font-size: 12px; }
.history-record-head > div:last-child strong { color: var(--accent); font-size: 18px; }
.history-record details { margin-top: 12px; }
.history-record summary { color: var(--accent); cursor: pointer; font-size: 12px; font-weight: 750; }
.history-lines { display: grid; gap: 8px; margin-top: 10px; }
.history-lines > div { display: grid; gap: 2px; border-top: 1px dashed var(--line); padding-top: 8px; font-size: 11px; }
.history-lines > div span:last-child { color: var(--muted); }
.history-empty { display: grid; justify-items: center; gap: 5px; padding: 55px 20px; color: var(--muted); text-align: center; }
.history-empty strong { color: var(--ink); font-family: "Songti SC", SimSun, serif; font-size: 23px; }
.history-empty span { font-size: 12px; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(470px, 100%);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: var(--card);
  box-shadow: -20px 0 70px rgba(29, 22, 20, .18);
  transform: translateX(105%);
  transition: transform .25s ease;
}
.cart-panel.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 27px; font-weight: 600; }
.cart-selection { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; border-bottom: 1px solid var(--line); background: #fffdfa; color: var(--muted); font-size: 11px; }
.cart-selection label { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 750; cursor: pointer; }
.cart-selection input, .cart-line-select input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.cart-items { overflow-y: auto; padding: 8px 24px; }
.cart-item { display: grid; grid-template-columns: 24px 64px 1fr auto; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item.unselected { opacity: .58; }
.cart-line-select { display: flex; align-items: flex-start; justify-content: center; padding-top: 5px; }
.cart-thumb { width: 64px; height: 70px; border-radius: 12px; object-fit: cover; background: #f1ece7; }
.cart-item h3 { margin: 1px 0 4px; font-size: 14px; }
.cart-item p { margin: 2px 0; color: var(--muted); font-size: 11px; }
.cart-line-price { margin-top: 7px !important; color: var(--accent) !important; font-weight: 800; }
.cart-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-actions button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.cart-qty { display: flex; align-items: center; gap: 6px; }
.cart-qty button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 16px; }
.cart-qty input { width: 38px; border: 0; text-align: center; font-weight: 700; }
.cart-empty { align-self: center; padding: 40px; text-align: center; color: var(--muted); }
.cart-empty p { margin: 0 0 5px; color: var(--ink); font-family: "Songti SC", SimSun, serif; font-size: 25px; }
.cart-empty span { font-size: 12px; }
.cart-footer { max-height: 58vh; overflow-y: auto; padding: 18px 24px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffdfa; }
.cart-totals { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart-totals span { color: var(--muted); font-size: 13px; }
.cart-totals strong { color: var(--ink); font-size: 19px; }
.cart-totals small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; }
.cart-totals b { color: var(--ink); }
.address-book { margin: 0 0 14px; padding: 12px; border-radius: 13px; background: #f5efeb; }
.address-book > label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.address-book select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; color: var(--ink); }
.address-book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.address-book-actions button { min-height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; }
.address-book-actions button:disabled { opacity: .45; cursor: not-allowed; }
.name-field { display: block; margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.name-field input { width: 100%; height: 45px; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; color: var(--ink); }
.shipping-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 8px; }
.shipping-fields .wide { grid-column: 1 / -1; }
.address-hint { margin: -3px 0 11px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-error { min-height: 18px; margin: -4px 0 7px; color: #b12f2a; font-size: 12px; }
.cart-footer > .primary-button + .primary-button { margin-top: 8px; color: var(--accent); background: #f7e9e4; }
.order-success { min-height: 18px; margin: 8px 0 0; color: #24663d; text-align: center; font-size: 12px; }
.privacy-note { margin: 9px 0 0; color: var(--muted); text-align: center; font-size: 10px; }
.mobile-summary { display: none; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 70;
  max-width: calc(100% - 32px);
  transform: translate(-50%, 20px);
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  font-size: 13px;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { gap: 40px; }
}

@media (max-width: 760px) {
  .header-inner, main { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 66px; }
  .brand small { display: none; }
  .header-actions { gap: 6px; }
  .history-button { min-height: 40px; padding: 7px 9px; font-size: 11px; }
  .history-button span { min-width: 19px; height: 19px; margin-left: 3px; font-size: 10px; }
  .cart-button { padding: 9px 10px 9px 13px; font-size: 13px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding: 48px 0 40px; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero-copy > p:last-child { font-size: 15px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 8px; }
  .steps li { min-height: 0; display: block; padding: 11px 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 11px; }
  .steps span { margin-bottom: 7px; }
  .catalog-section { padding: 40px 0 112px; }
  .catalog-heading { grid-template-columns: 1fr; gap: 20px; }
  .filter-row { align-items: start; flex-direction: column; }
  .chips { flex-wrap: nowrap; width: calc(100vw - 28px); overflow-x: auto; padding: 0 14px 4px; margin-left: -14px; scrollbar-width: none; }
  .chip { flex: none; }
  .sort-control { align-self: flex-end; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 20px; }
  .product-card { border-radius: 17px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 14px; }
  .product-price { font-size: 16px; }
  .product-info span:not(:first-child) { display: none; }
  .product-actions { margin-top: 11px; }
  .select-button, .detail-link { padding: 9px 8px; font-size: 12px; }
  .stock-pill { bottom: 7px; right: 7px; }
  .modal { width: 100%; max-height: 92dvh; top: auto; bottom: 0; transform: translateX(-50%); border-radius: 26px 26px 0 0; }
  .modal-product { display: block; }
  .modal-visual { min-height: 0; aspect-ratio: 1.45; }
  .modal-content { padding: 24px 20px max(28px, env(safe-area-inset-bottom)); }
  .modal-content h2 { font-size: 27px; }
  .modal-close { top: 12px; left: 12px; right: auto; }
  .history-modal { padding: 20px 18px max(24px, env(safe-area-inset-bottom)); }
  .history-header { align-items: flex-start; }
  .history-header h2 { font-size: 25px; }
  .history-record-head { gap: 10px; }
  .cart-header, .cart-items, .cart-footer { padding-left: 18px; padding-right: 18px; }
  .cart-selection { padding-left: 18px; padding-right: 18px; }
  .cart-item { grid-template-columns: 22px 54px 1fr; }
  .cart-thumb { width: 54px; height: 62px; }
  .cart-actions { grid-column: 2 / -1; flex-direction: row; align-items: center; }
  .mobile-summary { position: fixed; left: 14px; right: 14px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 25; display: block; }
  .mobile-summary button { width: 100%; height: 53px; display: flex; align-items: center; gap: 14px; border: 0; border-radius: 16px; padding: 0 18px; color: #fff; background: var(--ink); box-shadow: 0 10px 35px rgba(29, 22, 20, .25); cursor: pointer; }
  .mobile-summary span { font-size: 12px; }
  .mobile-summary b { margin-left: auto; font-size: 13px; }
  .toast { bottom: 78px; }
}

@media (max-width: 370px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image-wrap { aspect-ratio: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
