:root {
  --ink: #1c1a18;
  --muted: #756e66;
  --gold: #bb8645;
  --gold-deep: #8c5a25;
  --gold-soft: #f3dfbc;
  --paper: #fffdfa;
  --cream: #faf6ef;
  --line: #e9e1d7;
  --red: #b83b34;
  --green: #4c7a5c;
  --shadow: 0 10px 30px rgba(73, 50, 27, .07);
  --radius: 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 15px/1.6 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
body.checkout-body { background: #f8f6f2; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #d3a25e;
  outline-offset: 2px;
}
img { display: block; max-width: 100%; }
.container { width: min(1150px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); padding: 10px 14px; color: #fff; background: #201e1c; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.muted { color: var(--muted); }
.price { color: var(--red); font-family: Georgia, serif; font-variant-numeric: tabular-nums; }

.promo-bar {
  position: relative; height: 35px; display: flex; align-items: center; justify-content: center; gap: 12px;
  color: #ead9c5; background: #191715; font-size: 12px;
}
.promo-bar a { padding: 3px 13px; border-radius: var(--radius); color: #4d351d; background: #f2d59e; }
.site-header { height: 70px; color: #fff; background: #0f0e0d; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-brand { position: relative; width: 150px; height: 50px; flex: 0 0 150px; overflow: hidden; }
.site-brand::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/reference.png") -38px -41px / 1195px 1316px no-repeat;
}
.site-brand-image {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 50px;
  object-fit: contain;
  background: #0f0e0d;
}
.main-nav { display: flex; align-items: center; gap: 22px; flex: 1; min-width: 0; }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 70px; color: #eee9e3; white-space: nowrap; font-size: 14px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #e7bd7c; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: #e7bd7c;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.account-entry { position: relative; display: flex; align-items: center; gap: 10px; }
.icon-link {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0;
  color: #fff; background: transparent; border-radius: 50%;
}
.icon-link:hover { background: rgba(255,255,255,.08); }
.icon-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; color: #5a3b17; background: #e9bd77; font-size: 10px; line-height: 17px; text-align: center;
}
.header-account-pill {
  max-width: 120px;
  padding: 6px 10px;
  overflow: hidden;
  border: 1px solid rgba(233, 189, 119, .35);
  border-radius: 999px;
  color: #f0e1c9;
  background: rgba(255,255,255,.04);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.account-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 280px;
  padding: 16px;
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(20, 14, 10, .18);
}
.account-popover-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-deep);
  font: 600 10px Georgia, serif;
  letter-spacing: 1.2px;
}
.account-popover strong {
  display: block;
  margin-bottom: 4px;
  font: 700 18px "DFKai-SB", serif;
}
.account-popover p { margin: 0; }
.account-popover-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.account-action-button {
  min-height: 42px;
  justify-content: center;
}
.account-logout-button {
  margin-top: 12px;
  padding-left: 0;
  color: var(--red);
}
.account-logout-button:hover { color: var(--red); }
.mobile-menu { display: none; }

.breadcrumb { padding: 18px 0 14px; color: #a29990; font-size: 12px; }
.breadcrumb span { margin: 0 7px; }
.page-title { margin: 12px 0 24px; font: 700 32px/1.25 "DFKai-SB", "Noto Serif TC", serif; text-wrap: balance; }
.page-subtitle { margin: -16px 0 28px; color: var(--muted); }

.home-hero {
  position: relative; height: 264px; overflow: hidden; color: #fff; background: #120f0c;
}
.home-hero-inner {
  position: relative; height: 100%;
}
.home-hero-media,
.home-hero-media img {
  display: block; width: 100%; height: 100%;
}
.home-hero-media img { object-fit: cover; object-position: center; }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 112px; background: linear-gradient(transparent, rgba(0,0,0,.34)); pointer-events: none; }
.hero-panels {
  position: absolute; inset: auto 0 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; padding: 0 40px 28px; pointer-events: none;
}
.hero-panel {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 236px; pointer-events: none;
}
.hero-panel.men { align-items: flex-start; text-align: left; }
.hero-panel.women { align-items: flex-end; text-align: right; }
.hero-copy { color: #fffdf8; text-shadow: 0 4px 18px rgba(0,0,0,.28); }
.hero-copy h2 { margin: 0 0 16px; font: 400 30px/1.12 "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif; letter-spacing: 2px; }
.hero-meta, .hero-desc { margin: 0; font-weight: 300; line-height: 1.6; letter-spacing: 1px; }
.hero-meta { font-size: 15px; }
.hero-desc { font-size: 15px; margin-top: 6px; }
.hero-link {
  min-width: 146px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 20px; border: 0; border-radius: 8px;
  font-size: 14px; font-weight: 400; letter-spacing: 1px; pointer-events: auto;}
.hero-link.men { color: #4a3319; background: #e6cdac; }
.hero-link.women { color: #fff; background: #d29ca5; }
.hero-link span { display: inline; }
.hero-link b { display: inline; font-weight: normal; }
.section { padding: 52px 0; }
.section.soft { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font: 700 24px/1.25 "DFKai-SB", "Noto Serif TC", serif; text-wrap: balance; }
.section-heading p { margin: 6px 0 0; color: var(--muted); }
.text-link { color: var(--gold-deep); }
.featured-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.store-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.store-pagination-pages {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.store-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--gold-deep);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.store-pagination-link:hover:not(.disabled):not(.active) {
  border-color: var(--gold);
  background: rgba(196, 164, 110, 0.08);
}
.store-pagination-link.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}
.store-pagination-link.disabled {
  opacity: .38;
  pointer-events: none;
}
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-art { aspect-ratio: 1; background-color: #090807; background-image: url("assets/reference.png"); background-size: 1840% auto; background-repeat: no-repeat; }
.product-art.art-xuanwu { background-position: 4.4% 59.5%; }
.product-art.art-yaojin { background-position: 10.7% 59.5%; }
.product-art.art-pink { background-position: 23.3% 59.5%; }
.product-art.art-blackgold { background-position: 29.6% 59.5%; filter: brightness(.83) saturate(.8); }
.product-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 15px; }
.product-copy h3 { margin: 0 0 4px; overflow: hidden; font: 700 18px/1.35 "DFKai-SB", serif; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.product-copy h3 a { color: inherit; }
.product-copy p { margin: 0 0 6px; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.7; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.product-copy p.line-clamp-tooltip,
.catalog-card-copy > p.line-clamp-tooltip {
  display: block;
  overflow: visible;
}
.product-copy p.line-clamp-tooltip > span,
.catalog-card-copy > p.line-clamp-tooltip > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.line-clamp-tooltip {
  position: relative;
  cursor: help;
  outline: none;
}
.line-clamp-tooltip::before,
.line-clamp-tooltip::after {
  position: absolute;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 6;
}
.line-clamp-tooltip::before {
  content: "";
  bottom: calc(100% + 4px);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(23, 20, 17, .96) transparent transparent;
}
.line-clamp-tooltip::after {
  content: attr(data-full-text);
  bottom: calc(100% + 10px);
  max-width: min(280px, calc(100vw - 48px));
  min-width: 180px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(23, 20, 17, .96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  font-size: 12px;
  line-height: 1.6;
  white-space: normal;
}
.line-clamp-tooltip:focus-visible::before,
.line-clamp-tooltip:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .line-clamp-tooltip:hover::before,
  .line-clamp-tooltip:hover::after {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-foot { min-height: 44px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 2px; }
.product-foot strong { font-size: 21px; }
.mini-add { width: 44px; height: 44px; border: 1px solid #dec7a7; border-radius: 50%; color: var(--gold-deep); background: #fff9ef; font-size: 20px; transition: background-color .18s ease, border-color .18s ease; }
.mini-add:hover { border-color: #ba8342; background: #f8ead1; }

.need-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.need-item { padding: 22px 16px; border: 1px solid var(--line); background: #fff; text-align: center; }
.need-item b { display: block; margin-bottom: 5px; font: 700 16px "DFKai-SB", serif; }
.need-item span { color: var(--muted); font-size: 12px; }
.need-mark { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 12px; border: 1px solid #d4ad78; border-radius: 50%; color: var(--gold-deep); }
.story-banner { display: block; overflow: hidden; background: #171411; }
.story-banner img { width: 100%; height: auto; display: block; }
.story-stack { display: grid; gap: 18px; }
.story-band { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 264px; overflow: hidden; background: #171411; color: #fff; }
.story-band-women { background: #28191b; }
.story-band:hover { box-shadow: var(--shadow); }
.story-art { min-width: 0; background-image: url("assets/reference.png"); background-size: 1195px 1316px; background-repeat: no-repeat; }
.story-art-men { background-position: 0 -104px; }
.story-art-women { background-position: 100% -104px; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.story-copy h2 { margin: 0 0 14px; font: 700 28px "DFKai-SB", serif; }
.story-copy p { color: #cfc4b6; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 5px 18px rgba(73, 50, 27, .045); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { margin: 0; font: 700 18px "DFKai-SB", serif; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; padding-bottom: 60px; }
.cart-row { display: grid; grid-template-columns: 44px 88px minmax(180px, 1fr) 128px 104px 72px; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row-unavailable .cart-thumb { opacity: 1; }
.cart-selector { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.cart-selector-unavailable { cursor: default; }
.cart-check { width: 18px; height: 18px; accent-color: var(--gold-deep); }
.cart-selector-unavailable .cart-check { display: none; }
.cart-selector-minus {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  background: #f2f2f2;
  box-sizing: border-box;
  font-size: 0;
  color: transparent;
}
.cart-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 4px;
  background: #080706 url("assets/reference.png") -45px -481px / 1195px 1316px no-repeat;
}
.cart-thumb-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  font-weight: 400;
}
[data-cart-items] .cart-row:nth-child(2) .cart-thumb { background-position: -116px -745px; }
[data-cart-items] .cart-row:nth-child(3) .cart-thumb { background-position: -189px -745px; }
[data-cart-items] .cart-row:nth-child(4) .cart-thumb { background-position: -260px -745px; }
.cart-info { min-width: 0; }
.cart-info h3 { margin: 0 0 5px; font: 700 18px/1.35 "DFKai-SB", serif; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.cart-info p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-status-note { margin-top: 6px !important; color: #9c8c7a !important; }
.qty-stepper { display: inline-grid; grid-template-columns: 40px 44px 40px; }
.qty-stepper button, .qty-stepper input { height: 40px; border: 1px solid var(--line); background: #fff; text-align: center; }
.qty-stepper input { width: 44px; border-left: 0; border-right: 0; font-variant-numeric: tabular-nums; }
.qty-stepper input:focus,
.qty-stepper input:focus-visible {
  outline: none;
  box-shadow: none;
}
.link-button { min-width: 44px; min-height: 44px; border: 0; color: var(--red); background: transparent; }
.link-button:hover { color: var(--red); }
.summary { position: sticky; top: 18px; padding: 20px; }
.summary h2 { margin: 0 0 18px; font: 700 20px "DFKai-SB", serif; }
.summary-line { display: flex; justify-content: space-between; margin: 10px 0; font-variant-numeric: tabular-nums; }
.summary-total { display: flex; align-items: end; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.summary-total strong { font-size: 28px; }
.coupon-entry { margin: 14px 0 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coupon-entry > label { display: block; margin-bottom: 7px; font-weight: 600; }
.coupon-entry > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.coupon-entry input { min-width: 0; height: 42px; padding: 8px 10px; border: 1px solid #ddd4c9; border-radius: 4px; text-transform: uppercase; }
.coupon-entry button { min-height: 42px; padding: 0 14px; }
.coupon-entry p { min-height: 17px; margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.coupon-entry p.success { color: var(--red); }
.coupon-entry p.error { color: var(--red); }
.primary, .secondary, .danger {
  min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
.primary { border: 0; color: #fff; background: #211f1d; }
.primary.gold { color: #5b3c18; background: linear-gradient(90deg, #e9bd76, #f4dca8); }
.secondary { border: 1px solid #dac9b5; color: #65441f; background: #fff; }
.danger { border: 1px solid #e4b8b4; color: var(--red); background: #fff; }
.primary:hover { background: #34302c; }
.primary[aria-disabled="true"]:hover { background: #211f1d; }
.primary.gold:hover { background: #efd194; }
.primary.gold[aria-disabled="true"]:hover { background: linear-gradient(90deg, #e9bd76, #f4dca8); }
.secondary:hover { border-color: #bb8645; background: #fffaf2; }
.secondary[aria-disabled="true"]:hover { border-color: #dac9b5; background: #fff; }
.danger:hover { border-color: var(--red); background: #fff7f6; }
.danger[aria-disabled="true"]:hover { border-color: #e4b8b4; background: #fff; }
.primary:active, .secondary:active, .danger:active { opacity: .82; }
.primary:disabled, .secondary:disabled, .danger:disabled { cursor: not-allowed; opacity: .48; }
.primary[aria-disabled="true"] { opacity: .48; cursor: not-allowed; }
.full { width: 100%; }
.summary .primary { min-height: 48px; margin-top: 18px; }
.security-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.empty-state { display: none; padding: 70px 24px; text-align: center; }
.empty-state.show { display: block; }
.empty-state h2 { font: 700 22px "DFKai-SB", serif; }

.checkout-stack { display: grid; gap: 16px; }
.checkout-section { padding: 20px; }
.checkout-section h2 { margin: 0 0 17px; font: 700 19px "DFKai-SB", serif; }
.guest-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid #ead2ac; background: #fff8eb; }
.guest-notice p { margin: 0; }
.guest-notice .secondary { flex: 0 0 auto; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.delivery-fields, .payment-fields, .invoice-fields { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.field-note { margin: 0; color: var(--muted); font-size: 13px; }
.field { display: grid; align-content: start; gap: 6px; }
.field.full-span { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; min-height: 46px; padding: 10px 12px; border: 1px solid #ddd4c9; border-radius: 4px; color: var(--ink); background: #fff;
}
.field input:disabled, .field select:disabled { color: #9b938b; background: #f4f1ed; cursor: not-allowed; }
.field textarea { height: auto; min-height: 82px; resize: vertical; }
.field small { color: var(--muted); }
.optional-title { font: 400 12px "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) 126px; gap: 8px; }
.choice-list { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 4px; cursor: pointer;
}
.choice:has(input:checked) { border-color: #b87c38; background: #fffaf1; }
.choice input { accent-color: var(--gold-deep); }
.choice span { flex: 1; }
.choice small { color: var(--muted); }
.choice .payment-mark { flex: 0 0 auto; min-width: 58px; padding: 5px 8px; border: 1px solid #dfd3c6; border-radius: 4px; color: #78522a; background: #fff; font: 700 11px Georgia, serif; text-align: center; }
.bank-transfer { margin-top: 14px; padding: 18px; border: 1px solid #dfc28f; border-radius: 5px; background: #fff9ee; }
.bank-transfer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bank-transfer-head h2 { margin: 0; }
.bank-transfer-head span { color: var(--red); font-size: 12px; }
.bank-transfer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 14px; align-items: start; }
.bank-transfer dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0; border: 1px solid #eadfce; background: #eadfce; }
.bank-transfer dl div { padding: 10px 12px; background: #fff; }
.bank-transfer dt { color: var(--muted); font-size: 11px; }
.bank-transfer dd { margin: 2px 0 0; color: #4d351d; font-weight: 700; font-variant-numeric: tabular-nums; }
.bank-transfer-qr { box-sizing: border-box; display: grid; align-content: start; gap: 6px; justify-items: center; margin-top: 14px; padding: 12px 12px 8px; border: 1px solid #eadfce; background: #fff; }
.bank-transfer-qr span { color: var(--muted); font-size: 11px; }
.bank-transfer-qr img { display: block; width: 100%; max-width: 124px; aspect-ratio: 1; object-fit: contain; }
.bank-transfer > p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.order-mini { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-mini:first-child { padding-top: 0; }
.order-mini b { display: inline-block; line-height: 1.35; }
.order-mini-art { width: 72px; height: 72px; border-radius: 4px; background: #080706 url("assets/reference.png") -46px -490px / 1195px 1316px no-repeat; }
[data-checkout-items] .order-mini:nth-child(2) .order-mini-art { background-position: -116px -745px; }
[data-checkout-items] .order-mini:nth-child(3) .order-mini-art { background-position: -189px -745px; }
[data-checkout-items] .order-mini:nth-child(4) .order-mini-art { background-position: -260px -745px; }
.terms { display: flex; gap: 9px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.terms input { accent-color: var(--gold-deep); }
.success-box { display: none; padding: 48px 28px; text-align: center; }
.success-box.show { display: block; }
.checkout-empty { margin-bottom: 60px; }
.proof-upload { max-width: 620px; margin: 24px auto; padding: 20px; border: 1px solid #dfc28f; border-radius: 5px; background: #fff9ee; text-align: left; }
.proof-upload--result { width: 100%; max-width: 860px; box-sizing: border-box; }
.proof-upload h2 { margin: 0 0 5px; font: 700 18px "DFKai-SB", serif; }
.proof-upload > p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.proof-bank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 14px 0; border: 1px solid #eadfce; background: #eadfce; }
.proof-bank div { padding: 9px 11px; background: #fff; }
.proof-bank dt { color: var(--muted); font-size: 11px; }
.proof-bank dd { margin: 2px 0 0; color: #4d351d; font-weight: 700; font-variant-numeric: tabular-nums; }
.proof-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.proof-row input[type="file"] { min-width: 0; padding: 9px; border: 1px dashed #ceb28a; border-radius: 4px; background: #fff; }
.proof-status { min-height: 22px; margin: 10px 0 0 !important; color: var(--green) !important; }
.proof-status.error { color: var(--red) !important; }
.payment-proof-upload { display: grid; gap: 14px; }
.payment-proof-upload--result { width: 100%; max-width: 860px; box-sizing: border-box; gap: 12px; padding: 16px; }
.payment-proof-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.payment-proof-head h2 { margin-bottom: 6px; }
.payment-proof-meta, .payment-proof-link { text-align: left; }
.payment-proof-return { margin-top: 0; }
.payment-proof-result-copy { display: grid; gap: 4px; }
.payment-proof-helper { margin: 0 !important; color: var(--muted); font-size: 12px; text-align: left; }
.payment-proof-result-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; margin-top: 4px; }
.payment-proof-result-actions .full { width: 100%; margin: 0; }
.payment-proof-upload--result .transfer-proof-dialog-upload-list { margin-top: -4px; }
.payment-proof-upload--result .transfer-proof-dialog-upload-item strong,
.payment-proof-upload--result .transfer-proof-dialog-upload-item small { display: none; }
.payment-proof-result-upload { align-items: flex-start; }
.payment-proof-upload--result .transfer-proof-dialog-upload-list { order: 1; }
.payment-proof-upload--result [data-checkout-proof-trigger] { order: 2; }
.payment-proof-upload--result .payment-proof-result-copy { order: 3; flex: 0 0 100%; }
.success-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 15px; border: 1px solid #80a58a; border-radius: 50%; color: var(--green); font-size: 28px; }

.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding-bottom: 60px; }
.guest-orders-layout { grid-template-columns: minmax(0, 1fr); }
.account-nav { padding: 12px; }
.account-nav a { display: block; padding: 12px 14px; border-radius: 4px; }
.account-nav a:hover, .account-nav a.active { color: #69451e; background: #fbf2e5; }
.account-page { padding-bottom: 72px; }
.account-profile { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 4px 0 26px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.account-avatar { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: #f1d7aa; background: #211d19; font: 700 24px "DFKai-SB", serif; }
.account-kicker { color: var(--gold-deep); font: 600 10px Georgia, serif; letter-spacing: 1.2px; }
.account-profile h1 { margin: 4px 0; font: 700 28px "DFKai-SB", serif; }
.account-profile p { margin: 0; color: var(--muted); }
.account-profile-action { display: flex; align-items: center; gap: 10px; }
.account-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); background: #fff; }
.account-tabs button { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; color: var(--muted); background: transparent; }
.account-tabs button:last-child { border-right: 0; }
.account-tabs button.active { border-bottom-color: var(--gold-deep); color: var(--ink); background: #fffaf2; }
.account-tabs b { min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #78522a; background: #f5e8d5; font-size: 11px; }
.account-panel { min-height: 420px; padding-top: 26px; }
.account-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.account-panel-head h2 { margin: 0 0 4px; font: 700 23px "DFKai-SB", serif; }
.account-panel-head p { margin: 0; color: var(--muted); }
.account-empty { display: none; min-height: 270px; place-content: center; justify-items: center; padding: 40px 20px; border: 1px solid var(--line); text-align: center; background: #fff; }
.account-empty.show { display: grid; }
.account-empty.account-empty-loading { gap: 10px; }
.account-empty.account-empty-loading::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 2px solid #eadfce;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: account-loading-spin .8s linear infinite;
}
.account-empty h3 { margin: 0 0 7px; font: 700 20px "DFKai-SB", serif; }
.account-empty p { margin: 0 0 18px; color: var(--muted); }
@keyframes account-loading-spin {
  to { transform: rotate(360deg); }
}
.account-favorites { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.account-favorites .product-card { position: relative; }
.account-favorite-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #b8423d;
  background: #fff4f2;
  box-shadow: 0 3px 10px rgba(0,0,0,.14);
  font-size: 20px;
}
.account-favorite-remove:disabled {
  opacity: .6;
  cursor: wait;
}
.account-coupons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.account-coupon { display: grid; grid-template-columns: 135px minmax(0, 1fr); min-height: 150px; overflow: hidden; border: 1px solid #e3cfad; background: #fff; }
.account-coupon-value { display: grid; place-content: center; text-align: center; color: #fff; background: #9b6531; }
.account-coupon-value strong { font: 700 31px Georgia, serif; }
.account-coupon-value small { color: #f1dfc8; }
.account-coupon-copy { display: grid; align-content: center; padding: 18px; }
.account-coupon-copy h3 { margin: 0 0 7px; font: 700 18px "DFKai-SB", serif; }
.account-coupon-copy p { margin: 3px 0; color: var(--muted); font-size: 12px; }
.account-coupon-copy code { color: #6d4a26; font: 700 13px Consolas, monospace; }
.coupon-state { justify-self: start; margin-top: 9px; padding: 4px 8px; color: #48674e; background: #edf5ee; font-size: 11px; }
.account-coupon.used, .account-coupon.expired { filter: grayscale(.65); opacity: .72; }
.account-coupon.used .coupon-state, .account-coupon.expired .coupon-state { color: #716b65; background: #eeeae6; }
.account-coupon-panel { box-sizing: border-box; width: 100%; padding: 18px 16px !important; }
.account-coupon-panel .account-panel-head { align-items: center; }
.account-coupon-panel .account-panel-head h3 { margin: 0 0 8px; font: 700 18px "DFKai-SB", serif; }
.account-coupon-panel .account-panel-head p { white-space: nowrap; }
.order-detail-grid.account-coupon-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  align-items: start;
}
.order-detail-grid.account-coupon-grid section,
.order-detail-grid.account-coupon-grid dl {
  width: 100%;
  min-width: 0;
}
.order-detail-grid.account-coupon-grid dl {
  margin: 0;
}
.order-detail-grid.account-coupon-grid dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #eee7de;
}
.order-detail-grid.account-coupon-grid dt,
.order-detail-grid.account-coupon-grid dd {
  margin: 0;
  white-space: nowrap;
}
.order-detail-grid.account-coupon-grid dt {
  color: var(--muted);
}
.order-detail-grid.account-coupon-grid dd {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.account-order-filters { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 4px; }
.account-order-filters button { min-width: max-content; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 19px; color: var(--muted); background: #fff; }
.account-order-filters button.active { border-color: #b9833f; color: #67441f; background: #fff8ed; }
.account-form { padding: 22px; }
.account-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.address-grid { display: grid; gap: 12px; }
.address-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.address-card h3 { margin: 7px 0 4px; font: 700 17px "DFKai-SB", serif; }
.address-card p { margin: 0; color: var(--muted); }
.address-card > div:last-child { display: flex; align-items: center; gap: 10px; }
.address-label { padding: 4px 8px; color: #7a5127; background: #f7ead8; font-size: 11px; }
.address-form { margin-top: 14px; }
.account-review-list { display: grid; gap: 12px; }
.account-review-item { display: grid; grid-template-columns: 230px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px; border: 1px solid var(--line); background: #fff; }
.account-review-product { display: flex; align-items: center; gap: 12px; }
.account-review-product small { display: block; margin-top: 4px; color: var(--muted); }
.account-review-art { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 4px; background: #080706 url("assets/reference.png") -46px -490px / 1195px 1316px no-repeat; }
.account-review-item p { margin: 5px 0; }
.account-review-feed { display: grid; gap: 18px; }
.account-review-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #e6edf5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.account-review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.account-review-stars { display: inline-flex; gap: 2px; color: #e4e7ec; font-size: 13px; line-height: 1; }
.account-review-stars .filled { color: #f3b649; }
.account-review-time { color: #a0a8b6; font-size: 12px; font-weight: 600; }
.account-review-content {
  margin: 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
}
.account-review-media { display: flex; flex-wrap: wrap; gap: 8px; }
.account-review-media-item {
  position: relative;
  width: 64px;
  height: 64px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: #f5f7fb;
  box-shadow: inset 0 0 0 1px #e3eaf3;
}
.account-review-media-item img,
.account-review-media-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.account-review-media-kind {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: rgba(17, 24, 39, .78);
}
.account-review-reply {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f5f7fb;
}
.account-review-reply-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-review-reply-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5a6473;
  font-size: 12px;
  font-weight: 700;
}
.account-review-reply-badge::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.25 4.75h11.5a1.5 1.5 0 0 1 1.5 1.5v6.5a1.5 1.5 0 0 1-1.5 1.5H9.8l-3.7 2.8v-2.8H4.25a1.5 1.5 0 0 1-1.5-1.5v-6.5a1.5 1.5 0 0 1 1.5-1.5Z' fill='%23fff' stroke='%235e8dff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M6.4 8.1h2.9M6.4 10.6h5.2' stroke='%235e8dff' stroke-width='1.35' stroke-linecap='round'/%3E%3Ccircle cx='15.35' cy='5.2' r='2.05' fill='%23ff5d5d'/%3E%3C/svg%3E");
}
.account-review-reply-head time { color: #a0a8b6; font-size: 12px; }
.account-review-reply p {
  margin: 0;
  color: #475467;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.account-review-product-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  color: inherit;
  background: #f7f8fa;
}
.account-review-product-card:hover { background: #f1f4f8; }
.account-review-product-thumb {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 14px;
  background: #eef2f7;
}
.account-review-product-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.account-review-product-copy { min-width: 0; }
.account-review-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.account-review-product-copy small {
  display: block;
  margin-top: 4px;
  color: #9aa3b2;
  font-size: 11px;
}
.order-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 22px; overflow-x: auto; }
.tab { padding: 8px 0; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; white-space: nowrap; }
.tab.active { border-color: var(--gold-deep); color: var(--ink); }
.order-card { margin: 16px; border: 1px solid var(--line); border-radius: 5px; }
.order-head { display: flex; justify-content: space-between; padding: 11px 14px; background: var(--cream); font-size: 12px; }
.order-head-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-body { display: grid; grid-template-columns: 80px 1fr 120px 120px; gap: 14px; align-items: center; padding: 16px; }
.order-art { width: 80px; height: 80px; border-radius: 4px; background: #080706 url("assets/reference.png") -46px -486px / 1195px 1316px no-repeat; }
.order-actions { display: grid; gap: 8px; }
.order-actions button { min-height: 40px; padding: 0 12px; }
.order-actions .order-action-refund { border-color: #d8c7a6; color: #6d4a26; background: #fffaf1; }
.order-actions .order-action-refund:hover { background: #fdf2df; }
.order-actions .order-action-refund-detail { border-color: #d8c7a6; color: #6d4a26; background: #fffaf1; }
.order-actions .order-action-refund-detail:hover { background: #fdf2df; }
.order-status { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 4px; color: #6a451f; background: #fbf0df; font-weight: 600; }
.order-status-inline { min-height: 28px; padding: 0 10px; font-size: 12px; }
.order-detail { padding: 14px 16px 16px; border-top: 1px solid var(--line); background: #fffdfa; font-size: 13px; }
.order-detail p { margin: 6px 0; }
.order-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 22px; }
.order-detail-grid h3 { margin: 0 0 10px; font: 700 15px "DFKai-SB", serif; }
.order-detail-grid dl { margin: 0; }
.order-detail-grid dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #eee7de; }
.order-detail-grid dt { color: var(--muted); }
.order-detail-grid dd { margin: 0; text-align: right; }
.order-inline-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.reviews-modal.customer-review-modal { width: min(500px, calc(100% - 32px)); height: min(750px, calc(100dvh - 96px)); max-height: calc(100dvh - 96px); padding: 0; border: 0; border-radius: 18px; flex-direction: column; overflow: hidden; background: #fff; box-shadow: 0 18px 48px rgba(15, 23, 42, .16); }
.reviews-modal.customer-review-modal[open] { display: flex; }
.customer-review-modal::backdrop { background: rgba(98, 106, 120, .46); backdrop-filter: blur(2px); }
.customer-review-modal .lightbox-head { min-height: 60px; padding: 0 18px; border-bottom: 1px solid #e3e7ee; background: #fff; }
.customer-review-modal .lightbox-head h2 { margin: 0; color: #1f2937; font: 700 15px/1.3 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.customer-review-modal .lightbox-close { width: 34px; height: 34px; border-radius: 50%; color: #a8b3c4; background: transparent; font-size: 26px; line-height: 1; }
.customer-review-modal .lightbox-close:hover { color: #6b7280; background: #f4f7fb; }
.customer-review-form { flex: 1 1 auto; min-height: 0; display: grid; gap: 16px; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 14px; font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; background: #fff; }
.customer-review-order { color: #94a3b8; font-size: 12px; font-weight: 600; }
.customer-review-field { gap: 10px; margin: 0; }
.customer-review-field > label,
.customer-review-field-head label { color: #1f2937; font-size: 13px; font-weight: 700; }
.customer-review-field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-review-field-head span { color: #94a3b8; font-size: 12px; font-weight: 600; }
.customer-review-product { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #dce3ec; border-radius: 14px; background: #fff; }
.customer-review-product strong { display: block; margin-top: 0; color: #111827; font-size: 13px; font-weight: 700; line-height: 1.45; }
.customer-review-product .muted { margin: 3px 0 0; color: #94a3b8; font-size: 12px; }
.customer-review-art { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; background: #080706 center/cover no-repeat; }
.customer-review-rating-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.customer-review-stars { display: flex; gap: 6px; }
.customer-review-stars button { width: 32px; height: 32px; border: 1px solid #f0bc57; border-radius: 50%; color: #f0bc57; background: #fff; font-size: 15px; line-height: 1; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.customer-review-stars button.active { color: #fff; background: #f3b649; }
.customer-review-stars button:hover { transform: translateY(-1px); }
.customer-review-rating-text { color: #99a6b8; font-size: 12px; font-weight: 600; }
.customer-review-form textarea { width: 100%; min-height: 96px; padding: 12px 14px; border: 1px solid #d9e1eb; border-radius: 12px; color: #111827; background: #fff; font: 500 13px/1.65 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; resize: vertical; }
.customer-review-form textarea::placeholder { color: #a3acb9; }
.customer-review-upload { display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: flex-start; }
.customer-review-upload-trigger { order: 2; width: 80px; min-width: 80px; min-height: 80px; display: grid; align-content: center; justify-items: center; gap: 0; padding: 0; border: 1px dashed #cad5e3; border-radius: 14px; color: #8fa0b8; background: #fff; box-shadow: none; cursor: pointer; text-align: center; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.customer-review-upload-trigger:hover { border-color: #94a9c5; color: #5f7391; background: #fff; transform: none; box-shadow: none; }
.customer-review-upload-trigger.is-full { display: none; }
.customer-review-upload-trigger strong,
.customer-review-upload-trigger small { display: none; }
.customer-review-upload-plus { color: #93a3ba; font-size: 28px; font-weight: 300; line-height: 1; transform: translateY(-1px); }
.customer-review-upload-copy { order: 3; flex: 0 0 100%; display: grid; gap: 2px; margin-top: 0; }
.customer-review-upload-copy small,
.customer-review-upload-copy span { display: block; }
.customer-review-upload-copy small { color: #7c8ca3; font-size: 11px; font-weight: 600; }
.customer-review-upload-copy span { color: #7c8ca3; font-size: 11px; line-height: 1.45; }
.customer-review-upload-list { order: 1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.customer-review-upload-item { min-width: 0; display: grid; gap: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.customer-review-upload-item.customer-review-upload-empty { align-content: center; min-height: 64px; border-style: dashed; background: #fff; box-shadow: none; cursor: pointer; text-align: center; }
.customer-review-upload-item.customer-review-upload-empty:hover { border-color: #b7c3d6; background: #f7fafc; }
.customer-review-upload-empty strong { color: #64748b; font-size: 14px; font-weight: 800; line-height: 1.4; }
.customer-review-upload-empty small { color: #94a3b8; font-size: 12px; font-weight: 600; line-height: 1.5; }
.customer-review-upload-empty .customer-review-upload-plus { margin: 0 auto 2px; color: #94a3b8; font-size: 36px; transform: none; }
.customer-review-upload-preview { position: relative; width: 80px; height: 80px; overflow: hidden; border-radius: 14px; border: 1px solid #dfe7f1; background: #f6f9fc; }
.customer-review-upload-preview img,
.customer-review-upload-preview video { width: 100%; height: 100%; padding: 0; object-fit: cover; display: block; background: transparent; }
.customer-review-upload-kind { position: absolute; left: 4px; bottom: 4px; display: inline-flex; align-items: center; min-height: 16px; padding: 0 5px; border-radius: 999px; color: #fff; background: rgba(51, 65, 85, .84); font-size: 9px; font-weight: 700; letter-spacing: .2px; }
.customer-review-upload-status { position: absolute; right: 4px; bottom: 4px; display: inline-flex; align-items: center; min-height: 16px; padding: 0 6px; border-radius: 999px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .2px; }
.customer-review-upload-status.uploading { background: rgba(59, 130, 246, .92); }
.customer-review-upload-status.uploaded { background: rgba(22, 163, 74, .92); }
.customer-review-upload-status.failed { background: rgba(220, 38, 38, .92); }
.customer-review-upload-item--failed .customer-review-upload-preview { border-color: #f3b4b4; }
.customer-review-upload-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(31, 41, 55, .9); box-shadow: 0 3px 8px rgba(15, 23, 42, .16); font-size: 13px; line-height: 1; }
.customer-review-upload-remove:hover { background: rgba(30, 41, 59, .94); }
.customer-review-upload-meta { min-width: 0; }
.customer-review-upload-meta strong,
.customer-review-upload-meta small { display: block; }
.customer-review-upload-meta strong { overflow: hidden; color: #334155; font-size: 12px; font-weight: 800; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.customer-review-upload-meta small { margin-top: 0; color: #8ea0b5; font-size: 11px; font-weight: 700; }
.customer-review-upload-item .customer-review-upload-meta { display: none; }
.customer-review-anonymous { margin-top: -2px; color: #556070; font-size: 12px; font-weight: 500; }
.customer-review-actions { position: sticky; bottom: 0; display: flex; gap: 8px; margin: 0 -18px -14px; padding: 12px 18px 14px; border-top: 1px solid #e3eaf3; background: rgba(255, 255, 255, .98); backdrop-filter: blur(6px); }
.customer-review-actions button { flex: 1; min-height: 38px; border-radius: 10px; font: 700 13px/1 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.customer-review-actions .secondary { border-color: #dbe4ef; color: #0f172a; background: #fff; }
.customer-review-actions .primary { border: 0; color: #fff; background: #5c6475; }
.storefront-refund-dialog { width: min(548px, calc(100% - 32px)) !important; max-height: calc(100dvh - 72px) !important; border-radius: 22px !important; overflow: hidden !important; background: #fff !important; box-shadow: 0 24px 60px rgba(15, 23, 42, .18) !important; }
.storefront-refund-dialog > div:first-child { padding: 0 24px !important; min-height: 72px; border-bottom-color: #e5ebf4 !important; }
.storefront-refund-dialog > div:first-child strong { color: #111827; font: 700 17px/1.3 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif !important; }
.storefront-refund-dialog > div:first-child button { width: 34px; height: 34px; border-radius: 50%; color: #99a7bb; }
.storefront-refund-dialog > div:first-child button:hover { color: #6b7280; background: #f4f7fb; }
.storefront-refund-dialog-body { padding: 20px 22px !important; background: #f8f5ee; }
.refund-dialog { display: grid; gap: 16px; font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.refund-dialog-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid #e1cfad; border-radius: 10px; background: #fffaf1; }
.refund-dialog-card strong { color: #5f4523; font-size: 18px; font-weight: 800; }
.refund-dialog-card--stacked { align-items: flex-start; justify-content: center; flex-direction: column; }
.refund-dialog-card--order { padding: 14px 18px; border-color: #e1cfad; border-radius: 10px; background: #fffaf1; }
.refund-dialog-card--order strong { font-size: 16px; line-height: 1.4; }
.refund-dialog-card--amount strong { color: #7b2d20; font-size: 17px; }
.refund-dialog-label { color: #9a825f; font-size: 12px; font-weight: 700; }
.refund-dialog-amount { color: #7b2d20; }
.refund-dialog-field { gap: 10px; margin: 0; }
.refund-dialog-field > span { color: #5f4523; font-size: 14px; font-weight: 700; }
.refund-dialog-field textarea { width: 100%; min-height: 114px; padding: 14px 16px; border: 1px solid #dbc7a6; border-radius: 10px; color: #4b3520; background: #fff; font: 500 14px/1.6 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; resize: vertical; }
.refund-dialog-field textarea::placeholder { color: #b59d7d; }
.refund-dialog-actions { display: flex; gap: 12px; }
.refund-dialog-actions--single { margin-top: 6px; }
.refund-dialog-button { flex: 1; min-height: 50px; border-radius: 14px; font: 700 15px/1 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.refund-dialog-button.secondary { border-color: #d8c7a6; color: #6d4a26; background: #fffaf1; }
.refund-dialog-button.secondary:hover { background: #fdf2df; }
.refund-dialog-button--primary { border: 0; color: #fff; background: #1f1b18; }
.refund-dialog-button--primary:hover { background: #2b2521; }
.refund-detail-dialog { gap: 18px; }
.refund-detail-dialog .refund-dialog-actions { margin-top: 2px; }
.refund-detail-dialog .refund-dialog-button.secondary { border-color: #d8c7a6; color: #6d4a26; background: #fffaf1; }
.refund-detail-dialog .refund-dialog-button.secondary:hover { background: #fdf2df; }
.order-actions .order-action-transfer-proof { border-color: #d8c7a6; color: #6d4a26; background: #fffaf1; }
.order-actions .order-action-transfer-proof:hover { background: #fdf2df; }
.storefront-transfer-proof-dialog { width: min(720px, calc(100% - 32px)) !important; max-height: calc(100dvh - 72px) !important; border-radius: 22px !important; overflow: hidden !important; background: #fff !important; box-shadow: 0 24px 60px rgba(15, 23, 42, .18) !important; }
.storefront-transfer-proof-dialog > div:first-child { padding: 0 24px !important; min-height: 72px; border-bottom-color: #e5ebf4 !important; }
.storefront-transfer-proof-dialog > div:first-child strong { color: #111827; font: 700 17px/1.3 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif !important; }
.storefront-transfer-proof-dialog > div:first-child button { width: 34px; height: 34px; border-radius: 50%; color: #99a7bb; }
.storefront-transfer-proof-dialog > div:first-child button:hover { color: #6b7280; background: #f4f7fb; }
.storefront-transfer-proof-dialog-body { padding: 20px 22px !important; background: #f8f5ee; }
.transfer-proof-dialog { display: grid; gap: 16px; font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.transfer-proof-dialog-card { max-width: none; margin: 0; border-color: #e1cfad; border-radius: 10px; background: #fffaf1; }
.transfer-proof-dialog-card h2 { margin-bottom: 12px; font: 700 18px "DFKai-SB", serif; }
.transfer-proof-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.transfer-proof-dialog-head .muted { margin: 0; }
.transfer-proof-dialog-card .bank-transfer-qr { margin-top: 14px; }
.transfer-proof-dialog-copy { min-width: 98px; }
.transfer-proof-dialog-upload { display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: flex-start; }
.transfer-proof-dialog-picker {
  order: 2;
  width: 80px;
  min-width: 80px;
  min-height: 80px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  padding: 0;
  border: 1px dashed #cad5e3;
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
}
.transfer-proof-dialog-picker:hover { border-color: #94a9c5; color: #5f7391; background: #fff; }
.transfer-proof-dialog-picker.is-full { display: none; }
.transfer-proof-dialog-picker.disabled { opacity: .48; cursor: not-allowed; }
.transfer-proof-dialog-placeholder { display: grid; justify-items: center; gap: 0; color: #8fa0b8; }
.transfer-proof-dialog-placeholder b { color: #93a3ba; font-size: 28px; font-weight: 300; line-height: 1; transform: translateY(-1px); }
.transfer-proof-dialog-placeholder span { color: #7c8ca3; font-size: 11px; font-weight: 600; line-height: 1.45; }
.transfer-proof-dialog-upload-list { order: 1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.transfer-proof-dialog-upload-item { min-width: 0; display: grid; gap: 0; }
.transfer-proof-dialog-upload-thumb { position: relative; width: 80px; height: 80px; overflow: hidden; border: 1px solid #dfe7f1; border-radius: 14px; background: #f6f9fc; }
.transfer-proof-dialog-upload-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.transfer-proof-dialog-upload-badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.transfer-proof-dialog-upload-badge.uploading { background: rgba(37, 99, 235, .92); }
.transfer-proof-dialog-upload-badge.uploaded { background: rgba(22, 163, 74, .92); }
.transfer-proof-dialog-upload-badge.failed { background: rgba(220, 38, 38, .92); }
.transfer-proof-dialog-upload-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(31, 41, 55, .9);
  font-size: 13px;
  line-height: 1;
}
.transfer-proof-dialog-upload-item strong,
.transfer-proof-dialog-upload-item small { display: none; }
.transfer-proof-dialog-upload-item.is-failed .transfer-proof-dialog-upload-thumb { border-color: #e8b9b9; }
.transfer-proof-dialog-upload-copy { order: 3; flex: 0 0 100%; display: grid; gap: 2px; margin-top: 0; }
.transfer-proof-dialog-upload-copy small,
.transfer-proof-dialog-upload-copy span { display: block; }
.transfer-proof-dialog-upload-copy small { color: #7c8ca3; font-size: 11px; font-weight: 600; }
.transfer-proof-dialog-upload-copy span { color: #7c8ca3; font-size: 11px; line-height: 1.45; }
.transfer-proof-dialog-meta, .transfer-proof-dialog-link { margin: 0 !important; text-align: left; }
.transfer-proof-dialog-return { margin-top: 10px; }
.refund-timeline { display: grid; gap: 0; padding-left: 12px; }
.refund-timeline-item { position: relative; padding: 0 0 14px 28px; }
.refund-timeline-item:last-child { padding-bottom: 0; }
.refund-timeline-item::before { content: ""; position: absolute; top: 14px; left: 6px; bottom: -4px; width: 2px; background: #e7d8bf; }
.refund-timeline-item:last-child::before { display: none; }
.refund-timeline-dot { position: absolute; top: 16px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #d4c1a2; border: 0; box-shadow: none; }
.refund-timeline-dot--decision { background: #cb7766; }
.refund-timeline-panel { padding: 16px 16px 14px; border: 1px solid #e1cfad; border-radius: 10px; background: #fffaf1; }
.refund-timeline-title { display: block; margin-bottom: 14px; color: #5f4523; font-size: 15px; font-weight: 800; }
.refund-timeline-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; }
.refund-timeline-row + .refund-timeline-row { margin-top: 12px; }
.refund-timeline-row span,
.refund-timeline-block span { color: #8a7356; font-size: 13px; font-weight: 500; }
.refund-timeline-row b { color: #4b3520; font-size: 13px; font-weight: 800; text-align: right; }
.refund-timeline-divider { height: 1px; margin: 12px 0; background: #eadbc3; }
.refund-timeline-block { display: grid; gap: 8px; }
.refund-timeline-block p { margin: 0; color: #4b3520; font-size: 13px; font-weight: 700; line-height: 1.65; word-break: break-word; }
.refund-timeline-panel--pending { background: #fffaf1; }
.refund-timeline-panel--approved { border-color: #d7e5cf; background: #f4faef; }
.refund-timeline-panel--approved .refund-timeline-title { color: #1d6f42; }
.refund-timeline-panel--rejected { border-color: #ebccc2; background: #fcf1ed; }
.refund-timeline-panel--rejected .refund-timeline-title { color: #8d3e31; }
@media (max-width: 640px) {
  .storefront-refund-dialog-body { padding: 18px 16px !important; }
  .storefront-transfer-proof-dialog-body { padding: 18px 16px !important; }
  .transfer-proof-dialog-head { flex-direction: column; align-items: stretch; }
  .payment-proof-result-actions { grid-template-columns: 1fr; }
  .refund-timeline { padding-left: 8px; }
  .refund-timeline-item { padding-left: 22px; }
  .refund-timeline-row { flex-direction: column; align-items: flex-start; }
  .refund-timeline-row b { text-align: left; }
}
.order-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 4px; border-top: 2px solid #e5ddd3; }
.order-progress span { position: relative; padding-top: 12px; color: var(--muted); text-align: center; font-size: 12px; }
.order-progress span::before { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #d3cbc2; transform: translateX(-50%); }
.order-progress span.done { color: #765026; }
.order-progress span.done::before { background: #b9833f; }
.order-proof { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.order-proof input { min-width: 0; padding: 8px; border: 1px dashed #ceb28a; background: #fff; }
.guest-query { padding: 20px; margin-bottom: 18px; background: #fff9ef; }
.guest-query [data-guest-message].error { color: var(--red); }
.inline-form { display: grid; grid-template-columns: minmax(210px, .9fr) minmax(300px, 1.2fr) auto; gap: 12px; align-items: end; }

.catalog-intro { padding: 0 0 34px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #faf6ef 0 62%, #f4ede3 62%); }
.catalog-intro h1, .search-head h1 { margin: 4px 0 8px; font: 700 34px/1.25 "DFKai-SB", "Noto Serif TC", serif; }
.catalog-intro p { max-width: 620px; margin: 0; color: var(--muted); }
.catalog-kicker { color: var(--gold-deep); font: 600 11px/1.4 Georgia, serif; letter-spacing: 1.4px; }
.catalog-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding-top: 34px; padding-bottom: 68px; }
.catalog-filter { align-self: start; position: sticky; top: 18px; }
.filter-block { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-block h2 { margin: 0 0 10px; font: 700 17px "DFKai-SB", serif; }
.filter-block a { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 5px 9px; border: 1px solid transparent; border-radius: 4px; color: var(--muted); }
.filter-block a::after { content: "›"; opacity: .45; }
.filter-block a:hover, .filter-block a.active { color: #5f3d1b; background: #fbf2e5; }
.filter-block a.active { border-color: #e0c29a; }
.filter-note { padding: 18px; border: 1px solid #ead7bb; background: #fff9ee; }
.filter-note strong { display: block; font: 700 16px "DFKai-SB", serif; }
.filter-note p { margin: 7px 0 10px; color: var(--muted); font-size: 13px; }
.filter-note a { color: var(--gold-deep); font-weight: 600; }
.catalog-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.catalog-toolbar p { margin: 0; color: var(--muted); }
.catalog-toolbar label { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.catalog-toolbar select { min-height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; }
.mobile-filter-row { display: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.catalog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.catalog-favorite { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #554a40; background: rgba(255,255,255,.9); box-shadow: 0 3px 10px rgba(0,0,0,.14); font-size: 20px; }
.catalog-favorite[aria-pressed="true"] { color: #b8423d; background: #fff4f2; }
.catalog-art { display: block; aspect-ratio: 1; background-color: #090807; background-size: cover; background-position: center; background-repeat: no-repeat; }
.catalog-art.art-xuanwu { background-position: 4.4% 59.5%; }
.catalog-art.art-yaojin { background-position: 10.7% 59.5%; }
.catalog-art.art-ink { background-position: 17% 59.5%; }
.catalog-art.art-blackgold { background-position: 29.6% 59.5%; filter: brightness(.83) saturate(.8); }
.catalog-art.art-pink { background-position: 23.3% 59.5%; }
.catalog-art.art-moon { background-position: 17% 59.5%; filter: brightness(1.15) saturate(.72); }
.catalog-art.art-rose { background-position: 23.3% 59.5%; filter: saturate(1.16); }
.catalog-art.art-jade { background-position: 10.7% 59.5%; filter: hue-rotate(55deg) saturate(.7); }
.catalog-card-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 15px; }
.catalog-meta { display: flex; gap: 8px; margin-bottom: 7px; color: #95734e; font-size: 11px; }
.catalog-meta span + span::before { content: "·"; margin-right: 8px; color: #c9b7a2; }
.catalog-card h2 { margin: 0 0 4px; overflow: hidden; font: 700 18px/1.35 "DFKai-SB", serif; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.catalog-card h2 a { color: inherit; }
.catalog-card-copy > p { margin: 0 0 6px; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.65; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.catalog-card-foot { min-height: 44px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 2px; }
.catalog-card-foot .price { font-size: 21px; }

.search-head { padding: 54px 0 42px; color: #fff; background: #171411; }
.search-head h1 { color: #fff; }
.search-head .catalog-kicker { color: #d9b177; }
.search-head-inner { max-width: 820px; }
.search-box { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 7px 7px 16px; border: 1px solid #bda98d; border-radius: 6px; background: #fff; }
.search-box svg { width: 22px; height: 22px; fill: none; stroke: #746b62; stroke-width: 1.8; stroke-linecap: round; }
.search-box input { width: 100%; min-width: 0; min-height: 44px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.search-box button { min-width: 92px; }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; color: #c9bfb3; font-size: 12px; }
.popular-searches button { min-height: 36px; padding: 0 13px; border: 1px solid #514b45; border-radius: 18px; color: #ece4da; background: transparent; }
.popular-searches button:hover { border-color: #caa46f; color: #f4d6a7; }
.search-results { padding-top: 42px; padding-bottom: 68px; }
.search-result-head { align-items: center; }

.product-page { padding-bottom: 52px; }
.product-entry-hero {
  margin-bottom: 24px;
}
.product-grid {
  display: grid;
  grid-template-columns: 400px minmax(390px, 1fr) 258px;
  gap: 36px;
  align-items: start;
}
.gallery-panel { overflow: hidden; border-radius: 5px; background: #080706; box-shadow: var(--shadow); }
.main-photo {
  position: relative;
  height: 320px;
  background-color: #080706;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: opacity .16s ease;
}
.main-photo-trigger {
  position: absolute;
  inset: 0;
  border: 0;
  color: transparent;
  cursor: zoom-in;
  background: transparent;
}
.main-photo-trigger:focus-visible {
  outline: 2px solid #d9b36a;
  outline-offset: 2px;
}
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 7px 14px 10px; }
.thumb {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #15110d;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.thumb.active { border-color: #e7c08c; }
.effects { margin-top: 0; padding: 14px 14px 16px; background: var(--cream); border-radius: 0 0 5px 5px; }
.section-label { margin: 0 0 10px; font: 700 15px "DFKai-SB", serif; }
.effect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(82px, 82px)); justify-content: start; gap: 7px; }
.effect {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background-color: #15110d;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.effect:hover { box-shadow: 0 0 0 2px #d5a45d; }
.effect span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px 4px 5px;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 7, 6, .82));
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 2px #000;
}
.product-info { padding-top: 8px; }
.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px 12px;
}
.title-row h1 { margin: 0; font: 700 26px "DFKai-SB", serif; line-height: 1.25; }
.tag { margin-left: 9px; padding: 5px 12px; border-radius: 14px; color: #a46b25; background: #fbecd7; font-size: 12px; vertical-align: middle; }
.favorite {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  align-self: flex-start;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px 12px;
  color: #666;
  background: #fff;
}
.favorite.active { color: var(--red); border-color: #e6b5b1; }
.subtitle { margin: 5px 0 10px; color: #5f5b56; }
.price-row { display: flex; align-items: center; gap: 10px; }
.price-row .price { font-size: 31px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 13px;
  padding: 11px 0;
  border-top: 1px solid #eee9e2;
  border-bottom: 1px solid #eee9e2;
}
.stat { text-align: center; border-right: 1px solid #eee9e2; }
.stat:last-child { border: 0; }
.stat small { color: #a59c91; }
.stat strong { display: block; color: #664123; font-size: 18px; }
.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 11px 8px;
  border-radius: 5px;
  background: #fcf8f3;
}
.promise { text-align: center; font-size: 11px; color: #8a7765; }
.promise b { display: block; color: #3e3934; font-size: 12px; }
.option-title { margin: 17px 0 7px; font-weight: 600; }
.product-options { grid-template-columns: repeat(3, 1fr); gap: 9px; }
.product-option {
  position: relative;
  min-height: 84px;
  padding: 11px 6px;
  border: 1px solid #e3ddd5;
  border-radius: 5px;
  background: #fff;
  text-align: center;
}
.product-option strong, .product-option span, .product-option small { display: block; }
.product-option span { margin: 3px 0; font-size: 16px; }
.product-option small { color: #8b847c; font-size: 10px; }
.product-option.active { border: 1.5px solid #b9413a; background: #fffdfa; }
.product-option.active::after {
  content: "熱門";
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 2px 6px;
  color: #fff;
  background: #c34640;
  font-size: 9px;
}
.qty { display: flex; align-items: center; gap: 0; margin: 10px 0 18px; }
.qty button, .qty input { width: 40px; height: 40px; border: 1px solid #e4ddd5; background: #fff; text-align: center; }
.qty input { border-left: 0; border-right: 0; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-actions button { min-height: 46px; border-radius: 5px; font-size: 15px; }
.add { border: 0; color: #60431e; background: linear-gradient(90deg, #f0ca85, #f7dfae); }
.buy { border: 0; color: #fff; background: #211f1d; }
.shipping { margin: 8px 0 0; color: #9a8f83; text-align: center; font-size: 11px; }
.side { display: grid; gap: 10px; }
.side-card { padding: 13px; border: 1px solid #eee5da; border-radius: 5px; background: #fff; }
.lottery { border-color: #efd6b0; background: linear-gradient(135deg, #fffdfa, #fff8ee); }
.side h2 { margin: 0 0 8px; font: 700 17px "DFKai-SB", serif; }
.lottery-row { display: flex; align-items: center; gap: 12px; }
.gift {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  background: url("assets/reference.png") -932px -470px / 1195px 1316px no-repeat;
}
.lottery button { width: 100%; border: 0; border-radius: 5px; padding: 8px; color: #69451e; background: #f2d49f; }
.coupon { background: #fff8f2; }
.coupon strong { color: var(--red); font: 700 28px Georgia, serif; }
.coupon button { float: right; margin-top: 5px; border: 1px solid #dfaaa3; border-radius: 5px; padding: 7px 11px; color: #b54b44; background: #fff; }
.lottery-coupon strong { font-size: 21px; white-space: nowrap; display: block; }
.lottery-coupon .coupon-note { margin: 6px 0 0; color: #8e7357; font-size: 12px; }
.lottery-coupon button { float: none; width: 100%; margin-top: 12px; border: 0; color: #6f491f; background: #f3d59f; }
.reviews h2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.reviews h2 button { min-height: 34px; padding: 0 4px; border: 0; color: #8c5a25; background: transparent; font: 12px sans-serif; }
.review { padding: 11px 0; border-top: 1px solid #eee8e1; }
.stars { color: #f0a11d; letter-spacing: 1px; }
.review p { margin: 5px 0; font-size: 12px; }
.review small { color: #92887d; }
.review-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.review-meta small { flex: 1; }
.avatar {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 50%;
}
.avatar-initial {
  display: grid;
  place-items: center;
  color: #704a22;
  background: #f3e1c5;
  font-size: 13px;
  font-weight: 700;
}
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.detail-card {
  height: 100%;
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #fffdfa 0%, #fff 100%);
  border: 1px solid #efe2d0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(125, 88, 43, 0.08);
}
.detail-visual-shell {
  width: min(100%, 136px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  background: #F7F1E8;
  border: 1px solid #f0e2d1;
}
.detail-visual {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  object-fit: contain;
}
.detail-copy {
  min-width: 0;
  width: 100%;
  margin-top: 18px;
  text-align: center;
}
.detail-copy h3 {
  margin: 0;
  color: #2e241d;
  font: 700 20px "DFKai-SB", serif;
  letter-spacing: 0.08em;
}
.detail-divider {
  width: min(100%, 180px);
  height: 20px;
  margin: 10px auto 12px;
  display: block;
  background-image: url('/storefront/assets/wenli.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.detail-copy p {
  margin: 0;
  color: #4f4640;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}
.service-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 13px; padding: 15px 0; border-top: 1px solid #eee8e0; }
.service { text-align: center; border-right: 1px solid #eee7df; }
.service:last-child { border: 0; }
.service b { display: block; }
.service small { color: #9b9288; }
.effect-lightbox {
  width: min(620px, calc(100% - 36px));
  padding: 0;
  border: 1px solid #4a4037;
  border-radius: 6px;
  color: #fff;
  background: #151311;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}
.effect-lightbox::backdrop { background: rgba(8, 7, 6, .78); backdrop-filter: blur(3px); }
.lightbox-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 20px;
  border-bottom: 1px solid #39332d;
}
.lightbox-head h2 { margin: 0; font: 700 18px "DFKai-SB", serif; }
.lightbox-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .52);
  font-size: 26px;
  line-height: 1;
}
.lightbox-close:hover { background: #8c5a25; }
.lightbox-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #080706; }
.effect-large { position: absolute; inset: 0; background-repeat: no-repeat; }
.lightbox-caption { margin: 0; padding: 13px 20px 16px; color: #d7c9b8; text-align: center; }
.reviews-modal {
  width: min(760px, calc(100% - 36px));
  max-height: min(760px, calc(100dvh - 36px));
  padding: 0;
  border: 1px solid #ded4c8;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}
.reviews-modal::backdrop { background: rgba(18, 15, 12, .7); backdrop-filter: blur(3px); }
.reviews-modal .lightbox-head { position: sticky; top: 0; z-index: 3; color: var(--ink); background: #fff; border-color: var(--line); }
.reviews-modal .lightbox-close { color: var(--ink); background: #f4eee6; }
.reviews-modal .lightbox-close:hover { color: #fff; background: #8c5a25; }
.lottery-result-modal {
  width: min(380px, calc(100% - 28px));
  padding: 0;
  border: 1px solid #d8c5ab;
  border-radius: 6px;
  color: var(--ink);
  background: #fffdfa;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}
.lottery-result-modal::backdrop { background: rgba(14, 12, 10, .72); backdrop-filter: blur(3px); }
.lottery-modal-head { min-height: 46px; padding: 0 8px 0 14px; color: #fff; background: #211d19; border-bottom: 0; }
.lottery-modal-head h2 { font: 700 15px "DFKai-SB", serif; }
.lottery-modal-head .lightbox-close { width: 34px; height: 34px; color: #fff; background: transparent; font-size: 22px; }
.lottery-result-body { display: grid; justify-items: center; gap: 10px; padding: 18px 22px 22px; text-align: center; }
.lottery-result-icon {
  position: relative;
  width: 56px;
  height: 62px;
  overflow: hidden;
}
.lottery-result-icon::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -6px;
  width: 70px;
  height: 70px;
  background: url("assets/reference.png") -924px -463px / 1195px 1316px no-repeat;
}
.lottery-result-kicker { margin: 0; color: #9a7a54; font-size: 12px; }
.lottery-result-body h3 { margin: 0; font: 700 24px "DFKai-SB", serif; }
.lottery-result-copy { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.lottery-prize-card { width: 100%; max-width: 168px; display: grid; gap: 4px; padding: 14px 12px; border: 1px dashed #d8b486; background: linear-gradient(180deg, #fff, #fff6eb); }
.lottery-prize-card small, .lottery-prize-card span { color: #8f785f; font-size: 11px; }
.lottery-prize-card strong { color: var(--red); font: 700 36px/1 Georgia, serif; }
.lottery-result-meta { width: 100%; margin: 0; display: grid; gap: 6px; }
.lottery-result-meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.lottery-result-meta dt { color: var(--muted); }
.lottery-result-meta dd { margin: 0; font-weight: 600; }
.lottery-result-action { width: 100%; min-height: 42px; }
.reviews-overview { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 24px; background: #fcf8f2; border-bottom: 1px solid var(--line); }
.rating-total { display: grid; align-content: center; justify-items: center; border-right: 1px solid var(--line); }
.rating-total strong { color: var(--red); font: 700 42px/1 Georgia, serif; }
.rating-total .stars { margin: 7px 0 2px; }
.rating-total small { color: var(--muted); }
.rating-bars { display: grid; gap: 6px; align-content: center; }
.rating-bars-empty { place-items: center start; }
.rating-row { display: grid; grid-template-columns: 34px 1fr 36px; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.rating-track { height: 6px; overflow: hidden; border-radius: 3px; background: #e9e2da; }
.rating-track i { display: block; height: 100%; background: #c7893f; }
.reviews-list { padding: 0 24px 10px; overflow: auto; }
.modal-review { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.modal-review:last-child { border-bottom: 0; }
.modal-review-body { min-width: 0; display: grid; gap: 6px; }
.review-initial {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #704a22;
  background: #f3e1c5;
  font-weight: 700;
}
.modal-review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-review-head b { color: #1f2937; }
.modal-review-head small,
.modal-review-source,
.modal-review p { color: var(--muted); }
.modal-review-meta-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.modal-review-spec { color: #64748b; font-size: 12px; }
.modal-review-source { display: block; font-size: 12px; }
.modal-review p { margin: 0; line-height: 1.7; }
.modal-review-media { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.modal-review-media-item {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dde6f0;
  border-radius: 10px;
  background: #f5f7fb;
  cursor: zoom-in;
  appearance: none;
}
.modal-review-media-item img,
.modal-review-media-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #f5f7fb;
}
.modal-review-media-kind {
  position: absolute;
  left: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: rgba(51, 65, 85, .84);
  font-size: 9px;
  font-weight: 700;
}
.review-media-lightbox { width: min(900px, calc(100% - 32px)); background: #080706; }
.review-media-lightbox-stage {
  display: grid;
  place-items: center;
  min-height: min(72dvh, 680px);
  aspect-ratio: auto;
}
.review-media-lightbox-image,
.review-media-lightbox-video {
  width: 100%;
  max-width: 100%;
  max-height: min(72dvh, 680px);
  display: none;
  object-fit: contain;
  background: #080706;
}
.review-media-lightbox.is-image .review-media-lightbox-image,
.review-media-lightbox.is-video .review-media-lightbox-video { display: block; }
.modal-review-reply {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f8fb;
}
.modal-review-reply b { color: #475569; font-size: 12px; }
.modal-review-reply p { color: #64748b; font-size: 12px; line-height: 1.65; }
.mobile-buy { display: none; }

.auth-shell { min-height: calc(100dvh - 105px); display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-art { min-width: 0; display: grid; grid-template-rows: 264px 1fr; overflow: hidden; color: #fff; background: #120f0c; }
.auth-art-media { min-height: 0; background: #120f0c url("assets/reference.png") center -126px / 1450px 1597px no-repeat; }
.auth-story { width: min(560px, calc(100% - 80px)); align-self: center; justify-self: center; padding: 40px 0 52px; }
.auth-story-kicker { color: #d2a564; font: 600 11px Georgia, serif; letter-spacing: 1.5px; }
.auth-story h2 { max-width: 500px; margin: 10px 0 14px; color: #f2dfbf; font: 700 34px/1.3 "DFKai-SB", serif; }
.auth-story p { max-width: 520px; margin: 0; color: #bfb3a5; font-size: 15px; }
.auth-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; padding-top: 22px; border-top: 1px solid #3b342e; }
.auth-values span { padding: 0 18px; border-right: 1px solid #3b342e; color: #958a7e; font-size: 12px; }
.auth-values span:first-child { padding-left: 0; }
.auth-values span:last-child { border-right: 0; }
.auth-values b { display: block; margin-bottom: 3px; color: #e5d3b6; font-size: 14px; }
.auth-panel { display: grid; place-items: center; padding: 50px 30px; background: var(--cream); }
.auth-card { width: min(440px, 100%); padding: 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 6px; font: 700 28px "DFKai-SB", serif; text-wrap: balance; }
.auth-heading { text-align: center; }
.auth-eyebrow { display: block; margin-bottom: 7px; color: var(--gold-deep); font: 600 10px Georgia, serif; letter-spacing: 1.2px; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); margin: 24px 0 20px; border-bottom: 1px solid var(--line); }
.auth-tabs button { min-height: 46px; padding: 11px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; }
.auth-tabs button.active { border-color: var(--gold-deep); color: var(--ink); }
.auth-form { display: grid; gap: 15px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field-link { min-height: 32px; padding: 0; border: 0; color: var(--gold-deep); background: transparent; font-size: 12px; }
.password-row { position: relative; }
.password-row input { padding-right: 62px; }
.password-toggle { position: absolute; top: 1px; right: 1px; bottom: 1px; min-width: 56px; border: 0; color: var(--gold-deep); background: transparent; font-size: 12px; }
.auth-terms { margin-top: 0; }
.form-message { min-height: 22px; margin: -3px 0 0; color: var(--green); font-size: 13px; }
.form-message.error { color: var(--red); }
.auth-submit { min-height: 48px; }
.auth-helper {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #ead2ac;
  background: #fff8eb;
}
.auth-helper b { color: #60431e; }
.auth-helper p { margin: 0; font-size: 13px; }
.auth-helper-back { justify-self: start; font-size: 13px; }
.guest-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: #a69d94; font-size: 12px; }
.guest-divider::before, .guest-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.guest-checkout { min-height: 46px; }
.auth-order-link { margin: 18px 0 0; text-align: center; font-size: 13px; }

.mobile-bottom-nav { display: none; }

.policy-hero {
  padding: 44px 0 30px;
  background: linear-gradient(180deg, #f5f5f5, #efefef);
}
.policy-title {
  margin: 10px 0 8px;
  color: #13233f;
  font: 700 32px/1.25 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
.policy-subtitle {
  margin: 0;
  color: #6b7a8d;
  font-size: 13px;
}
.policy-shell {
  padding: 28px 0 56px;
  background: #efefef;
}
.policy-card {
  padding: 34px 28px;
  border: 1px solid #e1e5eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 41, 55, .06);
}
.policy-section-title {
  margin-bottom: 20px;
  color: #23334c;
  font: 700 16px/1.5 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
.policy-content {
  color: #425268;
  line-height: 2;
  white-space: pre-wrap;
}
.policy-switches,
.site-info-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.policy-switches a,
.site-info-switches a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #d6dde7;
  border-radius: 999px;
  color: #5c6b7f;
  background: #fff;
}
.policy-switches a.active,
.site-info-switches a.active {
  border-color: #13233f;
  color: #13233f;
  background: #eef3f9;
}
.site-footer { padding: 34px 0; color: #bfb4a7; background: #181614; }
.footer-grid { display: grid; grid-template-columns: 1.15fr minmax(0, 2.2fr); gap: 36px; }
.footer-brand h3,
.footer-group h3 { margin: 0 0 10px; color: #fff; font: 700 16px "DFKai-SB", serif; }
.footer-brand small,
.footer-group a,
.footer-link-button {
  display: block;
  margin: 6px 0;
}
.footer-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-group a,
.footer-link-button {
  color: #bfb4a7;
  font: inherit;
}
.footer-group a:hover,
.footer-group a[aria-current="page"],
.footer-link-button:hover {
  color: #fff;
}
.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.site-info-modal {
  width: min(760px, calc(100% - 36px));
  max-height: min(760px, calc(100dvh - 36px));
  padding: 0;
  border: 1px solid #ded4c8;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.site-info-modal::backdrop { background: rgba(18, 15, 12, .7); backdrop-filter: blur(3px); }
.site-info-modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #13233f;
  background: #fff;
  border-color: #e5eaf1;
}
.site-info-modal-head h2 {
  font: 700 26px/1.3 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
.site-info-modal-body { padding: 26px 28px 30px; background: #f7f8fa; }
.site-info-copy { color: #425268; }
.site-info-copy p { margin: 0 0 18px; line-height: 1.9; }
.site-info-summary {
  margin-bottom: 18px;
  color: #6b7a8d;
  font-size: 13px;
}
.site-info-card,
.site-info-content {
  padding: 24px;
  border: 1px solid #e1e5eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 41, 55, .05);
}
.site-info-card small {
  display: block;
  margin-bottom: 10px;
  color: #6b7a8d;
  font-size: 12px;
}
.site-info-card a {
  color: #13233f;
  font-size: 24px;
  font-weight: 700;
  word-break: break-word;
}
.site-info-content { white-space: pre-wrap; line-height: 2; }
.toast {
  position: fixed; left: 50%; bottom: calc(25px + env(safe-area-inset-bottom)); z-index: 50; transform: translate(-50%, 18px); opacity: 0;
  width: max-content; max-width: min(calc(100vw - 32px), 560px); padding: 11px 18px; border-radius: 8px; color: #fff;
  background: rgba(32, 30, 28, .96); line-height: 1.5; text-align: center; white-space: normal; overflow-wrap: anywhere;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18); transition: transform .2s ease, opacity .2s ease; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .mobile-menu { display: grid; }
  .featured-products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 400px 1fr; gap: 25px; }
  .side { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .detail-card { padding: 24px 18px 20px; }
  .detail-copy h3 { font-size: 20px; }
  .detail-copy p { font-size: 14px; line-height: 1.9; }
  .need-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-row { grid-template-columns: 44px 80px minmax(160px, 1fr) 128px 72px; }
  .cart-row > .line-total { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: flex; overflow-x: auto; }
  .account-favorites { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-tabs { grid-template-columns: repeat(3, 1fr); }
  .order-detail-grid { grid-template-columns: 1fr 1fr; }
  .order-detail-grid.account-coupon-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .account-review-card { padding: 18px; border-radius: 20px; }
  .account-review-item { grid-template-columns: 200px minmax(0, 1fr); }
  .account-review-item > button { grid-column: 2; justify-self: start; }
  .order-body { grid-template-columns: 72px 1fr 100px; }
  .order-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
  .order-head { align-items: flex-start; gap: 12px; }
  .catalog-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .container { width: min(calc(100% - 28px), 1150px); }
  .promo-bar { padding: 0 8px; font-size: 10px; }
  .promo-bar a { display: none; }
  .site-header { height: 60px; }
  .site-brand { width: 145px; flex-basis: 145px; }
  .account-profile { grid-template-columns: 56px minmax(0, 1fr); gap: 13px; }
  .account-avatar { width: 56px; height: 56px; }
  .account-profile h1 { font-size: 23px; }
  .account-profile-action { grid-column: 1 / -1; }
  .account-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .account-tabs button { min-height: 52px; gap: 5px; font-size: 12px; }
  .account-panel { min-height: 360px; padding-top: 22px; }
  .account-panel-head { align-items: flex-start; }
  .account-panel-head p { font-size: 12px; }
  .account-review-card { gap: 12px; padding: 16px; border-radius: 18px; }
  .account-review-media-item { width: 60px; height: 60px; border-radius: 10px; }
  .account-review-product-card { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .account-review-product-thumb { width: 52px; height: 52px; border-radius: 12px; }
  .account-review-reply { padding: 11px 12px; border-radius: 14px; }
  .account-favorites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .account-coupons { grid-template-columns: 1fr; }
  .account-coupon { grid-template-columns: 108px minmax(0, 1fr); }
  .account-review-item { grid-template-columns: 1fr; }
  .account-review-item > button { grid-column: auto; }
  .address-card { align-items: flex-start; flex-direction: column; }
  .order-head { flex-direction: column; }
  .order-actions { justify-content: flex-start; flex-wrap: wrap; }
  .reviews-modal.customer-review-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 16px; }
  .customer-review-modal .lightbox-head { min-height: 56px; padding: 0 16px; }
  .customer-review-modal .lightbox-head h2 { font-size: 15px; }
  .customer-review-form { gap: 14px; padding: 14px 16px 12px; }
  .customer-review-order { font-size: 12px; }
  .customer-review-field > label,
  .customer-review-field-head label,
  .customer-review-rating-text { font-size: 12px; }
  .customer-review-product { padding: 10px; border-radius: 12px; }
  .customer-review-product strong { font-size: 13px; }
  .customer-review-art { width: 56px; height: 56px; flex-basis: 56px; border-radius: 10px; }
  .customer-review-stars { gap: 6px; }
  .customer-review-stars button { width: 30px; height: 30px; font-size: 14px; }
  .customer-review-form textarea { min-height: 90px; padding: 12px; border-radius: 10px; font-size: 13px; }
  .customer-review-upload { gap: 8px; }
  .customer-review-upload-trigger { width: 72px; min-width: 72px; min-height: 72px; border-radius: 12px; }
  .customer-review-upload-plus { font-size: 26px; }
  .customer-review-upload-list { gap: 8px; }
  .customer-review-upload-preview { width: 72px; height: 72px; border-radius: 12px; }
  .customer-review-actions { margin: 0 -16px -12px; padding: 12px 16px 14px; gap: 8px; }
  .customer-review-actions button { min-height: 38px; border-radius: 10px; font-size: 13px; }
  .header-actions .icon-link[aria-label="搜尋商品"] { display: none; }
  .header-account-pill { display: none; }
  .product-grid { display: block; }
  .gallery-panel { margin: 0 auto; max-width: 400px; }
  .product-info { padding-top: 22px; }
  .title-row h1 { font-size: 23px; }
  .side { grid-template-columns: 1fr; margin-top: 20px; }
  .detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .detail-card { padding: 22px 16px 18px; border-radius: 16px; }
  .detail-visual-shell { width: min(100%, 136px); padding: 0; }
  .detail-copy { margin-top: 16px; }
  .detail-copy h3 { font-size: 20px; }
  .detail-copy p { font-size: 14px; line-height: 1.85; }
  .service-strip { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .service { border: 0; }
  .effect-lightbox { width: calc(100% - 24px); }
  .lightbox-stage { aspect-ratio: 1; }
  .reviews-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .reviews-overview { grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 14px; }
  .rating-total strong { font-size: 34px; }
  .reviews-list { padding-left: 16px; padding-right: 16px; }
  .mobile-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .09);
  }
  .mobile-buy button { height: 46px; border: 0; border-radius: 5px; }
  .home-hero { height: 190px; }
  .hero-panels { gap: 8px; padding: 0 16px 14px; }
  .hero-panel { gap: 10px; max-width: 44%; }
  .hero-copy { display: none; }
  .hero-link { min-width: 0; width: 100%; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 12px; }
  .section { padding: 36px 0; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading .text-link { flex: 0 0 auto; }
  .featured-products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .store-pagination { gap: 8px; margin-top: 22px; }
  .store-pagination-pages { gap: 8px; }
  .store-pagination-link { min-width: 36px; height: 36px; padding: 0 12px; font-size: 14px; }
  .product-art { height: auto; }
  .product-copy { padding: 12px; }
  .need-grid { grid-template-columns: 1fr 1fr; }
  .story-band { grid-template-columns: 1fr; }
  .story-art { min-height: 220px; }
  .story-copy { padding: 30px 22px; }
  .page-title { font-size: 25px; }
  body { font-size: 16px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .cart-row { grid-template-columns: 18px 80px 1fr 44px; gap: 0 16px; padding: 16px 20px; align-items: start; }
  .cart-row > .cart-selector { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; justify-self: center; margin-top: -21px; }
  .cart-row > .cart-thumb { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .cart-row > .cart-info { grid-column: 3; grid-row: 1; align-self: start; padding-bottom: 12px; }
  .cart-info h3 { font-size: 15px; margin-bottom: 4px; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; max-height: 42px; text-overflow: ellipsis; white-space: normal; word-break: break-word; }
  .cart-row > .link-button { grid-column: 4; grid-row: 1; align-self: start; justify-self: end; width: 44px; height: 44px; margin: -12px -12px 0 0; padding: 0; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a8b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6'/%3E%3Cpath d='M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E") no-repeat center / 19px 19px; }
  .cart-row > .qty-stepper { grid-column: 3; grid-row: 2; justify-self: start; align-self: start; grid-template-columns: 32px 40px 32px; }
  .cart-row > .qty-stepper button, .cart-row > .qty-stepper input { height: 32px; }
  .cart-row > .qty-stepper input { width: 40px; }
  .cart-thumb { width: 80px; height: 80px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full-span { grid-column: auto; }
  .guest-notice { align-items: flex-start; flex-direction: column; }
  .bank-transfer-layout { grid-template-columns: 1fr; }
  .bank-transfer dl, .proof-bank { grid-template-columns: 1fr; }
  .proof-row, .order-proof { grid-template-columns: 1fr; }
  .inline-form { grid-template-columns: 1fr; }
  .code-row { grid-template-columns: minmax(0, 1fr) 118px; }
  .tabs { gap: 17px; }
  .order-toolbar { align-items: flex-start; flex-direction: column; }
  .order-body { grid-template-columns: 68px 1fr; }
  .order-body > .price { grid-column: 2; }
  .order-actions { justify-content: flex-start; }
  .order-actions button { min-height: 44px; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .account-coupon-panel .account-panel-head p,
  .order-detail-grid.account-coupon-grid dt,
  .order-detail-grid.account-coupon-grid dd { white-space: normal; }
  .order-detail-grid.account-coupon-grid { grid-template-columns: 1fr; }
  .order-detail-grid.account-coupon-grid dl div { grid-template-columns: 72px minmax(0, 1fr); }
  .order-progress { overflow-x: auto; grid-template-columns: repeat(4, minmax(92px, 1fr)); }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-art { min-height: 150px; display: block; }
  .auth-art-media { min-height: 150px; background-size: 880px auto; background-position: center -76px; }
  .auth-story { display: none; }
  .catalog-toolbar { margin-bottom: 14px; }
  .catalog-toolbar select { max-width: 145px; }
  .catalog-grid { gap: 10px; }
  .catalog-card-copy { padding: 12px; }
  .catalog-card h2 { font-size: 17px; }
  .catalog-card-copy > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; }
  .catalog-meta { font-size: 10px; }
  .catalog-card-foot .price { font-size: 18px; }
  .catalog-card-foot .mini-add { width: 42px; height: 42px; }
  .search-head { padding: 36px 0 30px; }
  .search-box { grid-template-columns: 22px minmax(0, 1fr); padding: 6px 12px; }
  .search-box button { grid-column: 1 / -1; width: 100%; }
  .popular-searches { gap: 7px; }
  .search-results { padding-top: 30px; padding-bottom: 40px; }
  .search-result-head { align-items: flex-start; }
  .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: calc(62px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 5px 5px env(safe-area-inset-bottom); border-top: 1px solid #ded6cc; background: rgba(255,253,250,.97); box-shadow: 0 -5px 18px rgba(40,30,20,.07); }
  .mobile-bottom-nav a { min-width: 0; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #777069; font-size: 10px; }
  .mobile-bottom-nav a[aria-current="page"] { color: var(--gold-deep); }
  .mobile-nav-icon { position: relative; width: 25px; height: 25px; display: grid; place-items: center; }
  .mobile-nav-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-nav-icon b { position: absolute; top: -4px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; color: #fff; background: var(--red); font-size: 9px; line-height: 16px; }
  .policy-title { font-size: 28px; }
  .policy-card,
  .site-info-modal-body { padding: 22px 18px; }
  .site-info-modal-head h2 { font-size: 22px; }
  .site-info-card a { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-group { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 22px), 1150px); }
  .account-favorites { grid-template-columns: 1fr; }
  .featured-products-grid, .catalog-grid { gap: 8px; }
  .main-photo { height: min(320px, calc((100vw - 32px) * .8)); }
  .thumbs { padding-left: 8px; padding-right: 8px; gap: 5px; }
  .product-options { gap: 5px; }
  .product-option { padding-left: 2px; padding-right: 2px; }
  .reviews-overview { grid-template-columns: 1fr; }
  .rating-total { padding-bottom: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-card-copy { padding: 10px; }
  .catalog-card h2 { font-size: 16px; }
  .catalog-card-foot .price { font-size: 16px; }
  .catalog-toolbar label { font-size: 0; }
  .auth-card { padding-left: 17px; padding-right: 17px; }
  .footer-group { grid-template-columns: 1fr; }
  .site-info-modal,
  .policy-card { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
