:root {
  color-scheme: light;
  --ink-950: #17211c;
  --ink-800: #29372f;
  --ink-650: #46564d;
  --ink-500: #67756d;
  --jade-800: #29463b;
  --jade-700: #355b4c;
  --jade-100: #dce7df;
  --bronze-700: #765824;
  --bronze-500: #a77d36;
  --bronze-100: #eee2c9;
  --paper: #f8f5ee;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --line: #dcd8cd;
  --danger: #9c342f;
  --success: #2e6c4f;
  --shadow-sm: 0 8px 24px rgba(31, 43, 36, 0.07);
  --shadow-md: 0 20px 60px rgba(31, 43, 36, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --content: 1180px;
  --font-display: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-950);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: radial-gradient(rgba(23, 33, 28, 0.13) 0.5px, transparent 0.5px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
  z-index: -1;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid rgba(167, 125, 54, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--ink-950);
  color: white;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section { padding-block: var(--space-8); }
.section--compact { padding-block: var(--space-7); }
.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--bronze-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.25; letter-spacing: 0.01em; }
h1 { margin-bottom: var(--space-5); font-size: clamp(2.5rem, 6vw, 5.25rem); }
h2 { margin-bottom: var(--space-4); font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { margin-bottom: var(--space-2); font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin-top: 0; }
.lede { max-width: 41rem; color: var(--ink-650); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.muted { color: var(--ink-500); }
.small { font-size: 0.875rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  padding: 0.5rem 1rem;
  background: var(--ink-950);
  color: #f5efe2;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(220, 216, 205, 0.82);
  background: rgba(248, 245, 238, 0.9);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bronze-500);
  border-radius: 50%;
  color: var(--bronze-700);
  font-size: 0.95rem;
}
.site-nav { display: flex; align-items: center; gap: var(--space-6); color: var(--ink-650); font-size: 0.92rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink-950); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink-950); padding: 0.5rem; }
.mobile-shop-header, .mobile-bottom-nav { display: none; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--jade-800);
  border-radius: var(--radius-sm);
  background: var(--jade-800);
  color: white;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.button:hover { background: var(--jade-700); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.button--secondary { border-color: var(--line); background: transparent; color: var(--ink-950); }
.button--secondary:hover { background: var(--surface); }
.button--quiet { min-height: 40px; padding: 0.55rem 0.85rem; border-color: transparent; background: transparent; color: var(--ink-650); }
.button--quiet:hover { background: rgba(41, 70, 59, 0.08); box-shadow: none; }
.button--wide { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: 0.5; transform: none; box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero { padding: clamp(3.5rem, 8vw, 7.5rem) 0 var(--space-8); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.hero-copy { max-width: 650px; }
.hero-note { margin: var(--space-5) 0 0; display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-500); font-size: 0.88rem; }
.hero-note::before { content: ""; width: 22px; height: 1px; margin-top: 0.8em; flex: 0 0 auto; background: var(--bronze-500); }

.hero-art { position: relative; min-height: 560px; }
.hero-art::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  top: 8%;
  right: 4%;
  border: 1px solid rgba(118, 88, 36, 0.3);
  border-radius: 50%;
}
.hero-photo { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hero-photo--main { inset: 0 12% 10% 0; }
.hero-photo--detail { width: 45%; right: 0; bottom: 0; aspect-ratio: 0.92; border: 8px solid var(--paper); }

.photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 42%, rgba(183, 151, 87, 0.36), transparent 18%),
    radial-gradient(circle at 50% 56%, rgba(31, 62, 49, 0.6), transparent 30%),
    linear-gradient(145deg, #d8d4c4 0%, #b8bcae 48%, #e8dfcd 100%);
  color: rgba(23, 33, 28, 0.72);
}
.photo-placeholder::before {
  content: "";
  width: 45%;
  aspect-ratio: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50% 50% 44% 44%;
  box-shadow: inset 0 0 0 18px rgba(31, 62, 49, 0.08), 0 30px 55px rgba(24, 43, 35, 0.18);
  transform: translateY(-4%) rotate(-4deg);
}
.photo-placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(248, 245, 238, 0.75);
  color: var(--ink-800);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}
.photo-placeholder--dark { background: radial-gradient(circle at 50% 48%, #69786c, transparent 27%), linear-gradient(150deg, #1f3029, #849083); }
.photo-placeholder--sand { background: radial-gradient(circle at 50% 48%, #b99a61, transparent 28%), linear-gradient(150deg, #ddc89f, #8b6b3c); }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255, 253, 248, 0.6); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: var(--space-5) var(--space-6); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: var(--space-1); font-family: var(--font-display); font-size: 1.05rem; }
.trust-item span { color: var(--ink-500); font-size: 0.86rem; }

.category-section { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.category-heading h2 { margin: 0; font-family: var(--font-body); font-size: 1.15rem; }
.category-heading span { color: var(--ink-500); font-size: 0.78rem; }
.category-list { display: grid; grid-template-columns: repeat(9, 1fr); gap: var(--space-2); }
.category-item { min-width: 0; display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-2); border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--ink-650); cursor: pointer; font-size: 0.82rem; }
.category-item:hover { background: rgba(41, 70, 59, 0.06); color: var(--ink-950); }
.category-item[aria-pressed="true"] { border-color: rgba(53, 91, 76, 0.24); background: var(--jade-100); color: var(--jade-800); font-weight: 800; }
.category-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(118, 88, 36, 0.28); border-radius: 50%; background: var(--paper); color: var(--bronze-700); font-family: var(--font-display); font-size: 1.05rem; }
.category-item[aria-pressed="true"] .category-icon { border-color: var(--jade-700); background: var(--surface); color: var(--jade-700); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--space-6); margin-bottom: var(--space-6); }
.section-heading > div { max-width: 680px; }
.section-heading h2 { margin-bottom: var(--space-2); }
.text-link { color: var(--jade-700); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(53, 91, 76, 0.3); text-underline-offset: 0.25em; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-card__image { aspect-ratio: 0.92; overflow: hidden; border-radius: var(--radius-md); background: var(--surface); }
.product-card__image .photo-placeholder { min-height: 100%; transition: transform 300ms ease; }
.product-card:hover .photo-placeholder { transform: scale(1.018); }
.product-card__body { padding: var(--space-4) var(--space-1) 0; }
.product-card__meta { display: flex; justify-content: space-between; gap: var(--space-3); color: var(--ink-500); font-size: 0.78rem; }
.product-card__body h3 { margin: var(--space-2) 0 var(--space-1); }
.price { color: var(--ink-950); font-weight: 800; letter-spacing: 0.02em; }
.sample-label { color: var(--bronze-700); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; }
.product-card__bottom { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.product-stock { color: var(--ink-500); font-size: 0.72rem; white-space: nowrap; }
.product-result-count { flex: 0 0 auto; color: var(--ink-500); font-size: 0.86rem; }
.product-empty { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-8) var(--space-4); border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; }
.product-empty[hidden] { display: none; }
.product-empty span { color: var(--ink-500); }
.product-card[hidden] { display: none !important; }

.process { background: var(--ink-950); color: #f8f5ee; }
.process .eyebrow { color: #cfad70; }
.process .lede { color: #bac4bd; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: var(--space-7); background: rgba(255, 255, 255, 0.16); }
.process-step { min-height: 210px; padding: var(--space-6); background: var(--ink-950); }
.process-step__number { display: block; margin-bottom: var(--space-6); color: #cfad70; font-family: var(--font-display); font-size: 0.95rem; }
.process-step p { color: #bac4bd; }

.site-footer { padding: var(--space-7) 0 var(--space-5); border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-7); }
.footer-title { margin-bottom: var(--space-3); font-family: var(--font-display); font-size: 1.2rem; }
.footer-links { display: grid; gap: var(--space-2); color: var(--ink-650); font-size: 0.9rem; }
.footer-bottom { margin-top: var(--space-7); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-500); font-size: 0.8rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-5) 0; color: var(--ink-500); font-size: 0.82rem; }
.breadcrumbs span::before { content: "/"; margin-right: var(--space-2); color: var(--line); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--space-3); }
.gallery-thumbs { display: grid; align-content: start; gap: var(--space-2); }
.gallery-thumb { aspect-ratio: 1; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; overflow: hidden; cursor: pointer; }
.gallery-thumb[aria-current="true"] { border-color: var(--bronze-500); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--bronze-500); }
.gallery-thumb .photo-placeholder { min-height: 100%; }
.gallery-main { position: relative; min-height: 660px; overflow: hidden; border-radius: var(--radius-md); background: var(--surface); }
.gallery-main .photo-placeholder { min-height: 660px; }
.zoom-button { position: absolute; right: var(--space-4); bottom: var(--space-4); }
.product-info { position: sticky; top: 112px; }
.product-info h1 { margin: var(--space-3) 0; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.product-price { margin-bottom: var(--space-5); font-size: 1.35rem; font-weight: 800; }
.status-line { display: flex; align-items: center; gap: var(--space-2); color: var(--success); font-size: 0.88rem; font-weight: 750; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.spec-list { margin: var(--space-5) 0; border-block: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 6rem 1fr; gap: var(--space-4); padding: 0.72rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--ink-500); }
.spec-row dd { margin: 0; }
.form-field { display: grid; gap: 0.45rem; }
.form-field label, .field-label { font-size: 0.88rem; font-weight: 750; }
.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  border: 1px solid #c9c4b8;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--ink-950);
}
textarea.form-control { min-height: 118px; resize: vertical; }
.form-control:focus { border-color: var(--jade-700); outline: 3px solid rgba(53, 91, 76, 0.13); }
.purchase-note { margin-top: var(--space-3); color: var(--ink-500); font-size: 0.82rem; }
.detail-stack { margin-top: var(--space-6); border-top: 1px solid var(--line); }
.detail-stack details { border-bottom: 1px solid var(--line); }
.detail-stack summary { padding: var(--space-4) 0; cursor: pointer; font-weight: 750; }
.detail-stack details p { padding-right: var(--space-4); color: var(--ink-650); font-size: 0.9rem; }
.mobile-order-bar { display: none; }

dialog {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-950);
  box-shadow: var(--shadow-md);
}
dialog::backdrop { background: rgba(10, 16, 13, 0.76); backdrop-filter: blur(4px); }
.dialog-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--line); }
.dialog-body { padding: var(--space-5); }
.zoom-stage { height: min(70vh, 740px); }
.zoom-stage .photo-placeholder { min-height: 100%; }

.order-shell { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: var(--space-7); align-items: start; }
.order-card, .summary-card, .admin-panel { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.order-card { padding: clamp(1.25rem, 4vw, 2.5rem); }
.order-card h1 { font-size: clamp(2rem, 4vw, 3rem); }
.form-section { padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.form-section:first-of-type { border-top: 0; }
.form-section h2 { font-family: var(--font-body); font-size: 1.08rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-grid .span-2 { grid-column: 1 / -1; }
.choice-list { display: grid; gap: var(--space-3); }
.choice-card { display: flex; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--jade-700); box-shadow: 0 0 0 2px rgba(53, 91, 76, 0.12); }
.choice-card input { margin-top: 0.35rem; }
.summary-card { position: sticky; top: 108px; padding: var(--space-5); }
.summary-product { display: grid; grid-template-columns: 92px 1fr; gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.summary-product .photo-placeholder { min-height: 92px; border-radius: var(--radius-sm); }
.summary-line { display: flex; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); font-size: 0.9rem; }
.summary-line--total { margin-top: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 800; }
.preview-banner { margin-bottom: var(--space-5); padding: var(--space-3) var(--space-4); border: 1px solid #dfbd7b; border-radius: var(--radius-sm); background: #fff7e7; color: #67491d; font-size: 0.86rem; }
.success-content { max-width: 560px; text-align: center; padding: var(--space-7); }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto var(--space-5); border-radius: 50%; background: var(--jade-100); color: var(--success); font-size: 1.6rem; }

.admin-body { background: #f0f1ed; }
.admin-header { border-bottom: 1px solid #d6dad4; background: #fbfcf9; }
.admin-header__inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.admin-shell { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.admin-sidebar { padding: var(--space-6) var(--space-4); border-right: 1px solid #d6dad4; background: #fbfcf9; }
.admin-nav { display: grid; gap: var(--space-1); }
.admin-nav a { padding: 0.62rem 0.75rem; border-radius: var(--radius-sm); color: var(--ink-650); font-size: 0.9rem; }
.admin-nav a[aria-current="page"] { background: var(--jade-100); color: var(--jade-800); font-weight: 800; }
.admin-main { min-width: 0; padding: var(--space-7); }
.admin-main__inner { width: min(100%, 1160px); margin-inline: auto; }
.admin-titlebar { display: flex; align-items: end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-6); }
.admin-titlebar h1 { margin-bottom: var(--space-1); font-family: var(--font-body); font-size: clamp(1.8rem, 3vw, 2.45rem); }
.quota-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-bottom: var(--space-5); }
.quota-card { padding: var(--space-5); border: 1px solid #d6dad4; border-radius: var(--radius-md); background: #fbfcf9; }
.quota-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.quota-card strong { display: block; margin: var(--space-2) 0; font-size: 1.45rem; }
.meter { height: 7px; overflow: hidden; border-radius: 99px; background: #e2e5e0; }
.meter > span { display: block; width: var(--meter, 0%); height: 100%; border-radius: inherit; background: var(--jade-700); }
.admin-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-5); align-items: start; }
.admin-panel { box-shadow: none; background: #fbfcf9; }
.admin-panel__head { padding: var(--space-5); border-bottom: 1px solid #dfe2dd; }
.admin-panel__head h2 { margin-bottom: var(--space-1); font-family: var(--font-body); font-size: 1.08rem; }
.admin-panel__body { padding: var(--space-5); }
.dropzone { min-height: 280px; display: grid; place-items: center; padding: var(--space-6); border: 1.5px dashed #9ea9a2; border-radius: var(--radius-md); background: #f5f7f3; text-align: center; transition: background-color 150ms ease, border-color 150ms ease; }
.dropzone[data-dragging="true"] { border-color: var(--jade-700); background: var(--jade-100); }
.dropzone-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto var(--space-4); border-radius: 50%; background: white; color: var(--jade-700); box-shadow: var(--shadow-sm); font-size: 1.5rem; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.queue { margin-top: var(--space-5); }
.queue-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.queue-list { display: grid; gap: var(--space-2); }
.queue-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding: var(--space-3); border: 1px solid #dfe2dd; border-radius: var(--radius-sm); background: white; }
.queue-thumb { width: 42px; height: 42px; overflow: hidden; border-radius: 6px; background: var(--jade-100); object-fit: cover; }
.queue-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; font-size: 0.88rem; }
.queue-meta { color: var(--ink-500); font-size: 0.76rem; }
.status-text { color: var(--bronze-700); font-size: 0.76rem; font-weight: 750; }
.empty-state { padding: var(--space-6); border: 1px dashed #cdd2cc; border-radius: var(--radius-sm); text-align: center; color: var(--ink-500); font-size: 0.88rem; }
.guard-list { display: grid; gap: var(--space-3); }
.guard-item { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 0.86rem; }
.guard-check { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--jade-100); color: var(--success); font-size: 0.72rem; font-weight: 900; }
.guard-value { display: block; color: var(--ink-500); font-size: 0.78rem; }
.admin-mobile-nav { display: none; }

@media (max-width: 980px) {
  .hero-grid, .product-layout, .order-shell { grid-template-columns: 1fr; }
  .hero-art { min-height: 480px; }
  .product-info, .summary-card { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-mobile-nav { display: flex; gap: var(--space-2); overflow-x: auto; padding: var(--space-3) var(--space-5); border-bottom: 1px solid #d6dad4; background: #fbfcf9; }
  .admin-mobile-nav a { white-space: nowrap; font-size: 0.85rem; }
  .admin-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --space-8: 3.5rem; }
  .store-home { padding-bottom: 68px; background: #f1f2ef; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .store-home .announcement, .store-home .site-header { display: none; }
  .mobile-shop-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    gap: var(--space-3);
    padding: var(--space-3) 14px;
    border-bottom: 1px solid rgba(23, 33, 28, 0.1);
    background: var(--jade-800);
    color: white;
    box-shadow: 0 4px 18px rgba(23, 33, 28, 0.16);
  }
  .mobile-shop-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
  .mobile-shop-header .brand { color: white; font-family: var(--font-body); font-size: 0.95rem; }
  .mobile-shop-header .brand-mark { width: 32px; height: 32px; border-color: rgba(255, 255, 255, 0.6); color: white; }
  .mobile-cart { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; font-weight: 800; }
  .mobile-cart__count { position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px; display: grid; place-items: center; border: 2px solid var(--jade-800); border-radius: 99px; background: #fff4dc; color: var(--jade-800); font-size: 0.65rem; }
  .mobile-search { height: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); padding-left: var(--space-3); border-radius: var(--radius-sm); background: white; color: var(--ink-500); }
  .mobile-search input { min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink-950); }
  .mobile-search button { height: 32px; margin-right: 6px; padding-inline: 0.8rem; border: 0; border-radius: 6px; background: var(--bronze-100); color: var(--bronze-700); font-size: 0.78rem; font-weight: 800; }
  .announcement { font-size: 0.75rem; }
  .header-inner { min-height: 64px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: var(--space-3) 14px var(--space-5); border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; padding: 0 var(--space-3); }
  .store-home .hero { padding: 12px 0; }
  .store-home .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(110px, 0.8fr); gap: 0; min-height: 220px; overflow: hidden; border-radius: var(--radius-md); background: var(--ink-950); box-shadow: var(--shadow-sm); }
  .store-home .hero-copy { z-index: 2; padding: var(--space-5) 0 var(--space-5) var(--space-5); color: white; }
  .store-home .hero .eyebrow { margin-bottom: var(--space-2); color: #d5b97f; font-size: 0.65rem; }
  .store-home .hero h1 { margin-bottom: var(--space-3); font-size: clamp(1.65rem, 8vw, 2.2rem); line-height: 1.25; }
  .store-home .hero .lede { display: -webkit-box; margin-bottom: var(--space-4); overflow: hidden; color: #d6ded9; font-size: 0.82rem; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .store-home .hero .button { min-height: 40px; padding: 0.6rem 0.9rem; border-color: #f4ebda; background: #f4ebda; color: var(--ink-950); font-size: 0.82rem; }
  .store-home .hero .button--secondary, .store-home .hero-note { display: none; }
  .store-home .hero-art { min-height: 220px; }
  .store-home .hero-art::before { display: none; }
  .store-home .hero-photo--main { inset: 0; border-radius: 0; box-shadow: none; }
  .store-home .hero-photo--main .photo-placeholder { min-height: 220px; }
  .store-home .hero-photo--detail { display: none; }
  .category-section { padding: var(--space-4) 0; }
  .category-section .container { width: 100%; }
  .category-heading { padding: 0 14px; margin-bottom: var(--space-3); }
  .category-heading h2 { font-size: 1rem; }
  .category-list { display: flex; gap: 0; overflow-x: auto; padding: 0 8px var(--space-2); scroll-snap-type: x proximity; scrollbar-width: none; }
  .category-list::-webkit-scrollbar { display: none; }
  .category-item { width: 82px; flex: 0 0 82px; scroll-snap-align: start; font-size: 0.72rem; }
  .category-icon { width: 46px; height: 46px; }
  .trust-strip { margin-top: 0; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item { padding: var(--space-3) var(--space-2); border-right: 1px solid var(--line); border-bottom: 0; text-align: center; }
  .trust-item:last-child { border-right: 0; }
  .trust-item strong { margin: 0; font-family: var(--font-body); font-size: 0.74rem; }
  .trust-item span { display: none; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: var(--space-3); }
  .store-home #products { padding-block: var(--space-5); }
  .product-section-heading { display: flex; align-items: center; padding: 0 2px; margin-bottom: var(--space-3); }
  .product-section-heading > div { min-width: 0; }
  .product-section-heading .eyebrow, .product-section-heading .lede { display: none; }
  .product-section-heading h2 { margin: 0; font-family: var(--font-body); font-size: 1.05rem; }
  .product-result-count { font-size: 0.74rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-card { overflow: hidden; border: 1px solid #e0e2de; border-radius: var(--radius-sm); background: white; box-shadow: 0 2px 8px rgba(31, 43, 36, 0.04); }
  .product-card__image { aspect-ratio: 1; border-radius: 0; }
  .product-card__body { padding: var(--space-3); }
  .product-card__meta { font-size: 0.66rem; }
  .product-card__body h3 { min-height: 2.7em; margin: 0.35rem 0 0.5rem; overflow: hidden; font-family: var(--font-body); font-size: 0.88rem; line-height: 1.35; }
  .product-card__bottom { display: grid; gap: 0; }
  .product-card .price { color: var(--danger); font-size: 0.92rem; }
  .product-stock { font-size: 0.65rem; text-align: right; }
  .sample-label { font-size: 0.62rem; }
  .store-home .process { display: none; }
  .store-home #about { padding-block: var(--space-6); background: var(--surface); }
  .store-home #about .eyebrow { display: none; }
  .store-home #about h2 { font-family: var(--font-body); font-size: 1.05rem; }
  .store-home #about .lede { font-size: 0.84rem; }
  .store-home .site-footer { display: none; }
  .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 62px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #d8dbd6; background: rgba(255, 255, 255, 0.97); box-shadow: 0 -6px 18px rgba(31, 43, 36, 0.08); backdrop-filter: blur(12px); }
  .mobile-bottom-nav a { display: grid; justify-items: center; align-content: center; gap: 1px; color: var(--ink-500); font-size: 0.68rem; }
  .mobile-bottom-nav a > span:first-child { font-size: 1.15rem; line-height: 1; }
  .mobile-bottom-nav a[aria-current="page"] { color: var(--jade-700); font-weight: 800; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main { grid-row: 1; min-height: 480px; }
  .gallery-main .photo-placeholder { min-height: 480px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); grid-row: 2; }
  .mobile-order-bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 14px; border-top: 1px solid var(--line); background: rgba(248, 245, 238, 0.96); backdrop-filter: blur(14px); }
  .mobile-order-bar .button { min-width: 145px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .order-card { border-inline: 0; border-radius: 0; box-shadow: none; }
  .admin-main { padding: var(--space-5) 14px; }
  .admin-titlebar { display: block; }
  .admin-titlebar .button { margin-top: var(--space-3); }
  .quota-grid { grid-template-columns: 1fr; }
  .queue-item { grid-template-columns: 42px minmax(0, 1fr); }
  .queue-item .status-text { grid-column: 2; }
}

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