/* ==========================================================================
   健筍王 HBS · Immersive scroll-driven product showcase
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;300;400&family=Noto+Sans+TC:wght@300;400;500&family=Inter:wght@400;500;600&display=swap');

:root {
  /* -- Palette: grounded in the forest photography, not a generic dark+neon default -- */
  --ink: #07100c;          /* base background — near-black, green undertone */
  --ink-deep: #040805;     /* deepest layer — footer, vignette floor */
  --moss: #16241b;         /* elevated panel base / glass tint source */
  --moss-soft: #1d2f22;
  --fern: #7fa87c;         /* desaturated bamboo green accent */
  --gold: #c9a15c;         /* sunbeam glow accent */
  --gold-soft: #e2c98d;
  --paper: #ede9df;        /* primary text — warm off-white, not pure white */
  --paper-dim: rgba(237, 233, 223, 0.64);
  --paper-faint: rgba(237, 233, 223, 0.38);

  --glass-bg: rgba(15, 23, 18, 0.46);
  --glass-bg-strong: rgba(8, 13, 10, 0.66);
  --glass-border: rgba(237, 233, 223, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.06);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: 'Noto Serif TC', 'Songti TC', serif;
  --font-body: 'Noto Sans TC', 'PingFang TC', sans-serif;
  --font-utility: 'Inter', 'Noto Sans TC', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* hidden 屬性一律隱藏（避免被後面的 display 規則蓋過） */
[hidden] { display: none !important; }

html { background: var(--ink); scroll-behavior: auto; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; height: 100vh; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 1.5px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 20px 50px -20px rgba(0, 0, 0, 0.65);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }
.reveal-delay-5.in-view { transition-delay: 0.4s; }

/* -- 背景改為單色系：移除環境光暈（大範圍 blur + screen 混合在深色上會出現色帶／破圖感） -- */
.bg-glow { display: none; }

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s var(--ease-out);
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  color: var(--paper);
  margin-bottom: 28px;
}
.preloader-bar {
  width: 220px;
  height: 1px;
  background: rgba(237, 233, 223, 0.15);
  margin: 0 auto 14px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--fern), var(--gold-soft));
  transition: width 0.25s var(--ease-soft);
}
.preloader-pct {
  font-family: var(--font-utility);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--paper-faint);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1160px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  transition: box-shadow 0.4s var(--ease-out);
}
.navbar-logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  color: var(--paper);
}
.navbar-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.navbar-links a {
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  transition: color 0.3s var(--ease-out);
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold-soft);
  transition: width 0.35s var(--ease-out);
}
.navbar-links a:hover { color: var(--paper); }
.navbar-links a:hover::after { width: 100%; }

.btn-pill {
  font-family: var(--font-utility);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(237, 233, 223, 0.06);
  color: var(--paper);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.btn-pill:hover {
  background: rgba(237, 233, 223, 0.14);
  border-color: rgba(237, 233, 223, 0.28);
  transform: translateY(-1px);
}

/* ==========================================================================
   Floating right-side glass card
   ========================================================================== */
.floating-card {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 258px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.6s var(--ease-out);
}
.floating-card.is-visible { opacity: 1; }
.floating-card.is-hidden { opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(16px); }
.floating-card-index {
  font-family: var(--font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--fern);
  margin-bottom: 12px;
  transition: opacity 0.4s var(--ease-out);
}
.floating-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 10px;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.floating-card-desc {
  font-size: 0.86rem;
  color: var(--paper-dim);
  line-height: 1.7;
  margin-bottom: 18px;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.floating-card-progress {
  height: 2px;
  background: rgba(237, 233, 223, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.floating-card-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--fern), var(--gold-soft));
}

/* ==========================================================================
   Hero — scroll-driven frame sequence
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
#frameCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.86) contrast(1.06) brightness(0.82);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 8, 5, 0.75) 0%, rgba(4, 8, 5, 0.05) 26%, rgba(4, 8, 5, 0.05) 62%, rgba(4, 8, 5, 0.92) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(4, 8, 5, 0.35) 100%);
  pointer-events: none;
}
.hero-captions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.caption {
  position: absolute;
  max-width: 720px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}
.caption.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.caption .eyebrow { display: block; margin-bottom: 18px; }
.caption h1, .caption h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  color: var(--paper);
  margin-bottom: 18px;
}
.caption p {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--paper-dim);
  max-width: 480px;
  margin: 0 auto;
}
.caption .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: opacity 0.5s var(--ease-out);
}
.scroll-hint span {
  font-family: var(--font-utility);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--paper-faint);
  text-transform: uppercase;
}
.scroll-hint-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: '';
  position: absolute;
  top: -34px;
  left: 0;
  width: 100%;
  height: 34px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  animation: hint-fall 1.8s ease-in-out infinite;
}
@keyframes hint-fall {
  0% { transform: translateY(0); }
  100% { transform: translateY(68px); }
}

/* ==========================================================================
   Intro section
   ========================================================================== */
.intro {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(100px, 16vw, 200px) 24px clamp(80px, 12vw, 140px);
  text-align: center;
}
.intro h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: 0.03em;
  margin: 20px 0 26px;
  color: var(--paper);
}
.intro-text {
  font-size: 1rem;
  color: var(--paper-dim);
  line-height: 1.9;
}

.about-stats {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.about-stats li {
  font-size: 0.82rem;
  color: var(--paper-dim);
  padding: 10px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: rgba(237, 233, 223, 0.04);
}
.about-stats li span {
  display: block;
  font-family: var(--font-utility);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  margin-bottom: 4px;
}
.about-stats li span.about-stat-value {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  color: inherit;
  margin-bottom: 0;
}

/* ==========================================================================
   Bento grid
   ========================================================================== */
.grid-section {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px clamp(100px, 12vw, 160px);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bento-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(237, 233, 223, 0.22); }
.bento-card.span-2 { grid-column: span 2; grid-row: span 2; min-height: 464px; }

.bento-card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: auto;
  color: var(--gold-soft);
}
.bento-card-icon svg { width: 100%; height: 100%; }
.bento-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 10px;
}
.bento-card p {
  font-size: 0.88rem;
  color: var(--paper-dim);
  line-height: 1.7;
}
.bento-card.featured {
  background-size: cover;
  background-position: center;
  color: var(--paper);
  justify-content: flex-end;
  padding: 40px;
}
.bento-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 8, 5, 0.92) 0%, rgba(4, 8, 5, 0.25) 55%, rgba(4, 8, 5, 0.15) 100%);
  filter: saturate(0.86) contrast(1.06);
}
.bento-card.featured > * { position: relative; z-index: 1; }
.bento-card.featured .eyebrow { margin-bottom: 14px; }
.bento-card.featured h3 { font-size: 1.7rem; margin-bottom: 12px; }
.bento-card.featured p { max-width: 320px; }

/* ==========================================================================
   Products & pricing
   ========================================================================== */
.products-section {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px clamp(100px, 12vw, 160px);
}
.products-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(48px, 6vw, 68px);
}
.products-heading h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: 0.03em;
  color: var(--paper);
  margin: 18px 0 16px;
}
.products-subtitle {
  font-size: 0.94rem;
  color: var(--paper-dim);
  line-height: 1.8;
}
.products-subtitle strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(237, 233, 223, 0.22); }
.product-tag {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--font-utility);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fern);
  padding: 5px 12px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
}
.product-card .bento-card-icon { margin-bottom: 26px; }
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--paper);
  margin-bottom: 10px;
  padding-right: 56px;
}
.product-card p {
  font-size: 0.86rem;
  color: var(--paper-dim);
  line-height: 1.7;
  flex-grow: 1;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}
.price-row .price {
  font-family: var(--font-utility);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--paper);
}
.price-row .price small {
  font-size: 0.72rem;
  font-weight: 500;
  margin-right: 1px;
}
.price-row .price-unit {
  font-size: 0.76rem;
  color: var(--paper-faint);
  flex-grow: 1;
}
.price-cta {
  padding: 8px 18px;
  font-size: 0.72rem;
}

.products-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.78rem;
  color: var(--paper-faint);
}

/* ==========================================================================
   Quote section
   ========================================================================== */
.quote-section {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(80px, 14vw, 160px) 24px;
  text-align: center;
}
.quote-glow { display: none; }
.quote-section blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.quote-attribution {
  margin-top: 28px;
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--paper-faint);
  text-transform: uppercase;
}

/* ==========================================================================
   CTA section
   ========================================================================== */
.cta-section {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px clamp(100px, 14vw, 180px);
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 36px;
  color: var(--paper);
}
.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary, .btn-ghost {
  font-family: var(--font-utility);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  color: var(--ink-deep);
  font-weight: 600;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--glass-border);
  color: var(--paper);
  background: rgba(237, 233, 223, 0.04);
}
.btn-ghost:hover { border-color: rgba(237, 233, 223, 0.3); transform: translateY(-2px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 24px clamp(24px, 4vw, 40px);
  margin-inline: auto;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 60px) clamp(28px, 6vw, 56px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
}
.footer-brand .navbar-logo { display: block; margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.86rem;
  color: var(--paper-dim);
  max-width: 240px;
  line-height: 1.8;
}
.footer-col h4 {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--paper-dim);
  transition: color 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--paper); }

.footer-newsletter p {
  font-size: 0.86rem;
  color: var(--paper-dim);
  margin-bottom: 16px;
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(4, 8, 5, 0.3);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--paper);
}
.newsletter-form input::placeholder { color: var(--paper-faint); }
.newsletter-form button {
  padding: 12px 20px;
  font-family: var(--font-utility);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--ink-deep);
  background: var(--gold-soft);
  transition: background 0.3s var(--ease-out);
}
.newsletter-form button:hover { background: var(--paper); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: var(--paper-faint);
}
.footer-legal { display: flex; gap: 24px; list-style: none; }
.footer-legal a { font-size: 0.76rem; color: var(--paper-faint); }
.footer-legal a:hover { color: var(--paper-dim); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .floating-card { display: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 2; grid-row: span 1; min-height: 320px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

@media (max-width: 720px) {
  .navbar-links { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .navbar { padding: 12px 18px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .caption .cta-row { flex-direction: column; align-items: center; }
  .caption h1, .caption h2 { font-size: 2rem; letter-spacing: 0.03em; }
}

@media (prefers-reduced-motion: reduce) {
  .glow-fern, .glow-gold, .scroll-hint-line::after { animation: none; }
  .reveal, .caption, .floating-card, .bento-card { transition: none; }
}

/* ==========================================================================
   Navbar brand lockup (logo + 品牌名)
   ========================================================================== */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.navbar-brand-text .brand-zh {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--paper);
}
.navbar-brand-text .brand-en {
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--gold-soft);
}

/* ==========================================================================
   Product cards — photo-led
   ========================================================================== */
.product-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.product-card:focus-visible { border-color: var(--gold-soft); }
.product-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--moss);
  overflow: hidden;
}
.product-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-card-photo img { transform: scale(1.04); }
.product-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 8, 5, 0.5), transparent 45%);
}
.product-card .product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  z-index: 1;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(8px);
}
.product-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}
.product-card-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--paper);
  margin-bottom: 8px;
  padding: 0;
}
.product-card-body p {
  font-size: 0.85rem;
  color: var(--paper-dim);
  line-height: 1.7;
  flex-grow: 1;
}
.product-card .price-row {
  margin-top: 18px;
  padding-top: 16px;
  flex-wrap: wrap;
  row-gap: 12px;
}
.product-card .price-row .price-unit { flex-grow: 1; white-space: nowrap; }
.product-card .price-cta {
  cursor: pointer;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================================
   Product modal
   ========================================================================== */
body.modal-open { overflow: hidden; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 4, 0.72);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 0;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-gallery {
  padding: 24px;
  background: var(--ink-deep);
}
.modal-gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--moss);
}
.modal-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.modal-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.modal-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  opacity: 0.6;
  transition: opacity 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb.is-active { opacity: 1; border-color: var(--gold-soft); }

.modal-detail { padding: 40px 36px 34px; }
.modal-detail .product-tag {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}
.modal-detail h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--paper);
  margin-bottom: 12px;
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--paper-dim);
  line-height: 1.8;
  margin-bottom: 18px;
}
.modal-spec {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(237, 233, 223, 0.04);
  border: 1px solid var(--glass-border);
}
.modal-spec li {
  font-size: 0.8rem;
  color: var(--paper-dim);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.modal-spec li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fern);
}
.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}
.modal-price-row .price {
  font-family: var(--font-utility);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--paper);
}
.modal-price-row .price small { font-size: 0.72rem; font-weight: 500; margin-right: 1px; }
.modal-price-row .price-unit { font-size: 0.8rem; color: var(--paper-faint); }

.modal-qty {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.modal-qty-label { font-size: 0.82rem; color: var(--paper-dim); }
.modal-qty-min { font-size: 0.72rem; color: var(--gold-soft); }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-stepper button {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  color: var(--paper);
  background: rgba(237, 233, 223, 0.05);
}
.qty-stepper button:hover { background: rgba(237, 233, 223, 0.14); }
.qty-stepper input {
  width: 52px;
  height: 38px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-utility);
  font-size: 0.9rem;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper-sm button { width: 30px; height: 30px; font-size: 0.95rem; }
.qty-stepper-sm input { width: 40px; height: 30px; font-size: 0.82rem; }

.modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}
.modal-actions .btn-primary { border: none; cursor: pointer; }
.modal-subtotal { font-size: 0.85rem; color: var(--paper-dim); }
.modal-hint { font-size: 0.72rem; color: var(--paper-faint); line-height: 1.6; }

/* ==========================================================================
   Order panel (訂購單)
   ========================================================================== */
.order-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 180;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  color: var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.7);
}
.order-fab[hidden] { display: none; }
.order-fab svg { width: 24px; height: 24px; }
.order-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 181;
  width: min(400px, calc(100vw - 48px));
  max-height: min(70vh, 560px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.order-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.order-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--glass-border);
}
.order-panel-head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--paper);
}
.order-panel-close { width: 30px; height: 30px; color: var(--paper-dim); display: flex; align-items: center; justify-content: center; }
.order-panel-close svg { width: 16px; height: 16px; }
.order-panel-close:hover { color: var(--paper); }
.order-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}
.order-panel-empty { font-size: 0.82rem; color: var(--paper-faint); padding: 20px 0; text-align: center; }
.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
}
.order-row:last-child { border-bottom: none; }
.order-row-info { display: flex; flex-direction: column; gap: 2px; }
.order-row-title { font-size: 0.86rem; color: var(--paper); }
.order-row-meta { font-size: 0.7rem; color: var(--paper-faint); }
.order-row-sub { font-family: var(--font-utility); font-size: 0.8rem; color: var(--paper-dim); text-align: right; }
.order-row-del { color: var(--paper-faint); font-size: 1rem; width: 24px; height: 24px; }
.order-row-del:hover { color: var(--paper); }
.order-panel-foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--glass-border);
}
.order-panel-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.order-panel-total span:first-child { font-size: 0.82rem; color: var(--paper-dim); }
.order-panel-total .price { font-family: var(--font-utility); font-size: 1.2rem; font-weight: 600; color: var(--paper); }
.order-panel-total .price small { font-size: 0.68rem; margin-right: 1px; }
.order-panel-foot .btn-primary { width: 100%; text-align: center; border: none; cursor: pointer; }
.order-panel-note { font-size: 0.68rem; color: var(--paper-faint); line-height: 1.6; margin-top: 10px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 110px) 24px clamp(80px, 12vw, 140px);
}
.faq-heading { text-align: center; margin-bottom: clamp(32px, 5vw, 52px); }
.faq-heading h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--paper);
  margin-top: 16px;
}
.faq-item {
  border-bottom: 1px solid var(--glass-border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--paper);
}
.faq-q:hover { color: var(--gold-soft); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--paper-faint);
  transition: transform 0.35s var(--ease-out);
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--gold-soft); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a-inner {
  padding: 0 4px 24px;
  font-size: 0.88rem;
  color: var(--paper-dim);
  line-height: 1.85;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 24px clamp(90px, 12vw, 150px);
}
.contact-inner {
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--paper);
  margin: 16px 0 14px;
}
.contact-note {
  font-size: 0.88rem;
  color: var(--paper-dim);
  line-height: 1.8;
  margin-bottom: 26px;
}
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.contact-details li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}
.contact-label {
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-faint);
  flex-shrink: 0;
  min-width: 64px;
}
.contact-value {
  font-size: 0.98rem;
  color: var(--paper);
}
a.contact-value:hover { color: var(--gold-soft); }
.contact-links-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.contact-links-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-dim);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.contact-links-row a:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.contact-links-row svg { width: 20px; height: 20px; }

.contact-form-wrap {
  border-left: 1px solid var(--glass-border);
  padding-left: clamp(0px, 4vw, 48px);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--paper);
  margin-bottom: 8px;
}
.contact-form-note {
  font-size: 0.76rem;
  color: var(--paper-faint);
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label span {
  font-size: 0.74rem;
  color: var(--paper-dim);
}
.contact-form label span em { color: var(--gold-soft); font-style: normal; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(4, 8, 5, 0.45);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.88rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold-soft); }
.contact-form .btn-primary {
  margin-top: 4px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}
.contact-form-status {
  font-size: 0.74rem;
  color: var(--gold-soft);
  line-height: 1.6;
  min-height: 1em;
}

/* ==========================================================================
   Footer additions
   ========================================================================== */
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-lockup img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.footer-brand-lockup span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-brand-lockup .brand-zh {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--paper);
}
.footer-brand-lockup .brand-en {
  font-family: var(--font-utility);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold-soft);
}
.footer-shopee p {
  font-size: 0.84rem;
  color: var(--paper-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-shopee .btn-pill { display: inline-block; }

/* ==========================================================================
   Responsive — new components
   ========================================================================== */
@media (max-width: 900px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-gallery { padding: 20px; }
  .modal-gallery-main { aspect-ratio: 16 / 10; }
  .modal-detail { padding: 28px 24px 30px; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-form-wrap { border-left: none; border-top: 1px solid var(--glass-border); padding-left: 0; padding-top: 32px; }
}

@media (max-width: 720px) {
  .navbar-brand-text .brand-zh { font-size: 0.9rem; }
  .navbar-brand-logo { width: 30px; height: 30px; }
  .order-fab { right: 16px; bottom: 16px; }
  .order-panel { right: 16px; bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card-photo img,
  .faq-chevron,
  .order-panel { transition: none; }
}

/* ==========================================================================
   Subpages — checkout / thank-you
   ========================================================================== */
body.subpage { overflow-x: hidden; }
.subpage-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--glass-border);
}

.checkout {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) 24px clamp(80px, 12vw, 120px);
}
.checkout > h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--paper);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.checkout-empty {
  text-align: center;
  padding: 60px 0;
}
.checkout-empty p { color: var(--paper-dim); margin-bottom: 20px; }
.checkout-empty .btn-primary { display: inline-block; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.checkout-summary,
.checkout-form-wrap {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
}
.checkout-summary { position: sticky; top: 84px; }
.checkout-summary h2,
.checkout-form-wrap h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--paper);
  margin-bottom: 18px;
}

.checkout-items { display: flex; flex-direction: column; }
.checkout-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
}
.checkout-item:first-child { padding-top: 0; }
.checkout-item-main { display: flex; flex-direction: column; gap: 3px; }
.checkout-item-title { font-size: 0.92rem; color: var(--paper); }
.checkout-item-meta { font-size: 0.74rem; color: var(--paper-faint); }
.checkout-item-meta .warn { color: var(--gold-soft); font-style: normal; }
.checkout-item-sub { font-family: var(--font-utility); font-size: 0.85rem; color: var(--paper-dim); white-space: nowrap; }

.checkout-totals { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.checkout-totals > div { display: flex; align-items: baseline; justify-content: space-between; }
.checkout-totals dt { font-size: 0.84rem; color: var(--paper-dim); }
.checkout-totals dd { font-family: var(--font-utility); font-size: 0.9rem; color: var(--paper); }
.checkout-grand { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--glass-border); }
.checkout-grand dt { font-size: 0.95rem; color: var(--paper); }
.checkout-grand dd { font-size: 1.3rem; font-weight: 600; color: var(--gold-soft); }
.checkout-note { margin-top: 14px; font-size: 0.74rem; color: var(--paper-faint); line-height: 1.7; }

.checkout-form { display: flex; flex-direction: column; gap: 15px; }
.checkout-form label { display: flex; flex-direction: column; gap: 6px; }
.checkout-form label > span { font-size: 0.76rem; color: var(--paper-dim); }
.checkout-form label > span em { color: var(--gold-soft); font-style: normal; }
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(4, 8, 5, 0.45);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
}
.checkout-form input:focus,
.checkout-form textarea:focus { outline: none; border-color: var(--gold-soft); }

.checkout-delivery {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.checkout-delivery legend { font-size: 0.76rem; color: var(--paper-dim); padding: 0 4px; }
.checkout-delivery legend em { color: var(--gold-soft); font-style: normal; }
.checkout-delivery .radio { flex-direction: row; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--paper); cursor: pointer; }
.checkout-delivery input[type="radio"] { width: auto; accent-color: var(--gold-soft); }

.checkout-form .btn-primary { margin-top: 6px; border: none; cursor: pointer; text-align: center; }
.checkout-form .btn-primary:disabled { opacity: 0.55; cursor: default; }
.checkout-status { font-size: 0.8rem; color: var(--gold-soft); min-height: 1em; line-height: 1.6; }
.checkout-status.is-error { color: #e0a3a3; }
.checkout-legal { font-size: 0.7rem; color: var(--paper-faint); line-height: 1.7; }

/* thank-you */
.thankyou { max-width: 720px; }
.thankyou-card { border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 56px); text-align: center; }
.thankyou-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-utility);
  border: 1px solid var(--glass-border);
  color: var(--paper-dim);
}
.thankyou-icon.is-ok { color: var(--ink-deep); background: linear-gradient(120deg, var(--gold-soft), var(--gold)); border: none; }
.thankyou-icon.is-warn { color: #e0a3a3; border-color: #e0a3a3; }
.thankyou-card h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--paper);
  margin-bottom: 12px;
}
.thankyou-lead { font-size: 0.9rem; color: var(--paper-dim); line-height: 1.8; margin-bottom: 24px; }
.thankyou-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin: 0 auto 20px;
  max-width: 440px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(237, 233, 223, 0.04);
  border: 1px solid var(--glass-border);
}
.thankyou-meta > div { display: flex; justify-content: space-between; gap: 16px; }
.thankyou-meta dt { font-size: 0.76rem; color: var(--paper-faint); }
.thankyou-meta dd { font-size: 0.82rem; color: var(--paper); text-align: right; }
.thankyou .checkout-items,
.thankyou .checkout-totals { max-width: 440px; margin-left: auto; margin-right: auto; text-align: left; }
.thankyou-payinfo {
  max-width: 440px;
  margin: 20px auto 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-soft);
  background: rgba(226, 201, 141, 0.06);
  text-align: left;
}
.thankyou-payinfo h3 { font-size: 0.82rem; color: var(--gold-soft); margin-bottom: 10px; font-family: var(--font-utility); letter-spacing: 0.06em; }
.thankyou-payinfo p { display: flex; justify-content: space-between; gap: 16px; font-size: 0.84rem; padding: 4px 0; }
.thankyou-payinfo p span { color: var(--paper-dim); }
.thankyou-payinfo p b { color: var(--paper); font-weight: 600; }
.thankyou-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.thankyou-actions .btn-primary, .thankyou-actions .btn-ghost { display: inline-block; }

@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

/* ==========================================================================
   Policy page
   ========================================================================== */
.policy { max-width: 820px; }
.policy-updated { font-size: 0.8rem; color: var(--paper-faint); margin: -12px 0 24px; }
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.policy-nav a {
  font-family: var(--font-utility);
  font-size: 0.78rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  color: var(--paper-dim);
  background: rgba(237, 233, 223, 0.04);
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.policy-nav a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.policy-section {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 20px;
  scroll-margin-top: 84px;
}
.policy-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.policy-section ol { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.policy-section li { font-size: 0.88rem; color: var(--paper-dim); line-height: 1.85; }
.policy-section li strong { color: var(--paper); font-weight: 600; }
.policy-section ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.policy-section ul li { margin: 2px 0; }

