/* ==========================================================================
   FU LUXE BLOOM · 福乐丝绽
   Complete stylesheet — luxury soft-luxe theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Italiana&family=Inter:wght@300;400;500;600&family=Noto+Serif+SC:wght@300;400;500;600&display=swap');

/* ---------- TOKENS ---------- */
:root {
  --bg:           #faf6f1;
  --bg-soft:      #fdf9f3;
  --bg-warm:      #f4ecdd;
  --bg-paper:     #fffaf2;
  --bg-deep:      #1d1812;

  --surface:      rgba(255, 252, 246, 0.92);
  --surface-soft: rgba(255, 250, 240, 0.78);
  --surface-glass: rgba(255, 252, 246, 0.72);
  --surface-strong: #fffaf2;

  --text:         #2a1f1a;
  --text-soft:    #5a4a40;
  --text-faint:   #9b8a78;
  --text-on-dark: rgba(255, 252, 245, 0.92);

  --line:         rgba(75, 53, 30, 0.10);
  --line-strong:  rgba(75, 53, 30, 0.20);
  --line-gold:    rgba(184, 147, 90, 0.32);

  --gold:         #b8935a;
  --gold-deep:    #8a6a3d;
  --gold-soft:    #d4b87a;
  --gold-pale:    #f3e8cf;
  --gold-mist:    #faf3e2;

  --rose:         #d4a5a5;
  --success:      #6f7a5c;
  --danger:       #a4513b;

  --shadow-xs: 0 2px 8px rgba(60, 40, 18, 0.04);
  --shadow-sm: 0 8px 24px rgba(60, 40, 18, 0.06);
  --shadow-md: 0 22px 56px rgba(60, 40, 18, 0.09);
  --shadow-lg: 0 32px 90px rgba(60, 40, 18, 0.13);
  --shadow-gold: 0 14px 30px rgba(184, 147, 90, 0.22);

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --wrap:        min(1180px, calc(100% - 48px));
  --wrap-wide:   min(1280px, calc(100% - 48px));
  --wrap-narrow: min(900px, calc(100% - 48px));

  --font-display: 'Italiana', 'Cormorant Garamond', 'Playfair Display', serif;
  --font-serif:   'Cormorant Garamond', 'Playfair Display', serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-cn:      'Noto Serif SC', serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; min-height: 100vh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ---------- BODY THEME ---------- */
body.theme-soft-luxe {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.005em;
  line-height: 1.6;
  background:
    radial-gradient(1100px 540px at 10% -8%, rgba(255, 252, 246, 0.95), transparent 65%),
    radial-gradient(900px 500px at 100% 0%, rgba(243, 232, 207, 0.45), transparent 60%),
    radial-gradient(800px 460px at 50% 110%, rgba(184, 147, 90, 0.12), transparent 60%),
    linear-gradient(180deg, #fdf9f3 0%, #faf6f1 50%, #f4ecdd 100%);
  background-attachment: fixed;
}

/* Subtle paper grain */
body.theme-soft-luxe::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.55 0 0 0 0 0.35 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.announcement, .site-header, main, .site-footer,
.drawer-backdrop, .mobile-drawer, .cart-drawer-backdrop, .cart-drawer,
.float-whatsapp, .toast { position: relative; z-index: 2; }

/* Ensure header stays above hero content */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ---------- LAYOUT WRAPS ---------- */
.section-wrap { width: var(--wrap); margin: 0 auto; }
.section-wrap--wide { width: var(--wrap-wide); }
.section-wrap--narrow { width: var(--wrap-narrow); }
.section-pad { padding: 80px 0; }
@media (max-width: 768px) { .section-pad { padding: 56px 0; } }

/* ---------- ANNOUNCEMENT ---------- */
.announcement {
  background: var(--text);
  color: var(--bg-soft);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.72rem;
  font-family: var(--font-body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
}
.announcement strong { color: var(--gold); font-weight: 500; }

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-gold);
}
.site-header--light { background: rgba(250, 246, 241, 0.88); }

.header-brand-row {
  display: flex;
  justify-content: center;
  padding: 18px 24px 8px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 24px 18px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
}
.brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 400;
}
.brand-sub, .brand-sub:lang(zh) {
  font-family: var(--font-cn);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--text-soft);
  font-weight: 300;
}

.header-nav-inline {
  display: inline-flex;
  gap: 28px;
  align-items: center;
}
.header-nav-inline a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.3s;
}
.header-nav-inline a:hover { color: var(--gold-deep); }

.header-actions { display: inline-flex; gap: 8px; align-items: center; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.icon-pill {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.icon-pill svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-pill:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--bg-soft);
}

.cart-icon-pill { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--gold-deep);
  color: #fff;
  font-size: 10px; font-weight: 600;
  display: grid; place-items: center;
  font-family: var(--font-body);
}

/* Burger menu */
.burger {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  position: relative;
}
.burger::before, .burger::after {
  content: '';
  position: absolute;
  left: 0; width: 22px; height: 1.5px;
  background: var(--text);
}
.burger::before { top: -7px; }
.burger::after { top: 7px; }

.xmark {
  position: relative;
  width: 22px; height: 22px;
}
.xmark::before, .xmark::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; width: 22px; height: 1.5px;
  background: var(--text);
}
.xmark::before { transform: rotate(45deg); }
.xmark::after { transform: rotate(-45deg); }

/* ---------- MOBILE DRAWER ---------- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(42, 31, 26, 0.45);
  backdrop-filter: blur(2px);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-backdrop:not([hidden]) { opacity: 1; }

.mobile-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg);
  z-index: 60;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line-gold);
}
.mobile-drawer[aria-hidden="false"] { transform: translateX(0); }
.mobile-drawer--light { background: var(--bg); }

.drawer-top { padding: 16px; }
.drawer-brand-block {
  text-align: center;
  padding: 16px 24px 32px;
  border-bottom: 1px solid var(--line);
}
.drawer-nav { padding: 28px 24px; flex: 1; overflow-y: auto; }
.drawer-links { display: grid; gap: 8px; }
.drawer-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s;
}
.drawer-links a:hover { color: var(--gold-deep); }
.navlink { display: block; }
.drawer-cta {
  display: block;
  margin-top: 28px;
  padding: 14px 24px;
  background: var(--text);
  color: var(--bg-soft);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all 0.3s;
}
.drawer-cta:hover { background: var(--gold-deep); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn.primary {
  background: linear-gradient(180deg, #3a2a22 0%, #2a1f1a 100%);
  color: var(--bg-soft);
  border-color: var(--text);
  box-shadow: 0 8px 22px rgba(42, 31, 26, 0.18);
}
.btn.primary:hover {
  background: linear-gradient(180deg, #b8935a 0%, #8a6a3d 100%);
  border-color: var(--gold-deep);
  letter-spacing: 0.28em;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(184, 147, 90, 0.32);
}
.btn.dark {
  background: var(--text);
  color: var(--bg-soft);
  border-color: var(--text);
}
.btn.dark:hover { transform: translateY(-2px); }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
}
.btn.ghost:hover {
  background: var(--gold-deep);
  color: var(--bg-soft);
  letter-spacing: 0.28em;
}
.btn.gold-outline {
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  background: transparent;
}
.btn.gold-outline:hover {
  background: var(--gold-mist);
  letter-spacing: 0.28em;
}
.btn.small { min-height: 38px; padding: 8px 18px; font-size: 0.7rem; }
.btn.block { width: 100%; }

/* ---------- SECTION HEADERS ---------- */
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 16px;
  position: relative;
}
.section-head--center .section-kicker {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.005em;
}
.section-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

.section-copy {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-top: 16px;
  max-width: 720px;
}
.section-copy--center { margin-left: auto; margin-right: auto; }

/* ---------- HERO ---------- */
.hero-frame { padding: 24px 0 60px; }
.hero-board {
  position: relative;
  padding: 48px 0;
}
.hero-shell {
  display: grid;
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy { display: grid; gap: 20px; }

.hero-mark {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hero-mark::before, .hero-mark::after {
  content: '✦';
  margin: 0 1.2rem;
  color: var(--rose);
  font-size: 0.85rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.005em;
  color: var(--text);
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

.hero-lead {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

/* CN tagline elements (custom from index.html inline) */
.home-hero-cn {
  font-family: var(--font-cn);
  letter-spacing: 0.5em;
  color: var(--text-soft);
  font-size: 1.05rem;
  font-weight: 300;
}
.home-tagline-cn {
  font-family: var(--font-cn);
  letter-spacing: 0.2em;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 300;
}
.home-product-cn {
  font-family: var(--font-cn);
  letter-spacing: 0.3em;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 300;
  margin: 4px 0 14px;
}
.home-philosophy-cn {
  font-family: var(--font-cn);
  letter-spacing: 0.15em;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  margin-top: 14px;
}

/* Bespoke section Chinese block */
.bespoke-cn-block {
  margin: 24px auto 0;
  max-width: 700px;
  padding: 24px 32px;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  position: relative;
}
.bespoke-cn-block::before,
.bespoke-cn-block::after {
  content: "✦";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 0.7rem;
  background: var(--gold-mist, #fdf9f3);
  padding: 0 12px;
  letter-spacing: 0;
}
.bespoke-cn-block::before { top: -8px; }
.bespoke-cn-block::after { bottom: -8px; }

.bespoke-cn-title {
  font-family: var(--font-cn);
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  margin: 0 0 16px;
  text-align: center;
}
.bespoke-cn-body {
  font-family: var(--font-cn);
  letter-spacing: 0.08em;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2.1;
  margin: 0 0 12px;
  text-align: center;
}
.bespoke-cn-body:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .bespoke-cn-block { padding: 20px 18px; }
  .bespoke-cn-title { font-size: 0.95rem; letter-spacing: 0.15em; }
  .bespoke-cn-body { font-size: 0.88rem; line-height: 1.95; }
  .bespoke-cn-body br { display: none; }
}

/* Enquiry section Chinese accents */
.enquiry-cn-tagline {
  font-family: var(--font-cn);
  letter-spacing: 0.32em;
  color: var(--gold-deep);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 6px 0 14px;
  text-align: center;
}
.enquiry-cn-body {
  font-family: var(--font-cn);
  letter-spacing: 0.1em;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
  margin: 4px 0 0;
  text-align: center;
}
@media (max-width: 700px) {
  .enquiry-cn-tagline { font-size: 0.92rem; letter-spacing: 0.2em; }
  .enquiry-cn-body { font-size: 0.85rem; }
}

/* Builder pages: bilingual hero & step labels */
.builder-cn-tagline {
  font-family: var(--font-cn);
  letter-spacing: 0.32em;
  color: var(--gold-deep);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 6px 0 14px;
}
.builder-cn-body {
  font-family: var(--font-cn);
  letter-spacing: 0.08em;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.95;
  margin: 8px 0 0;
  max-width: 46ch;
}

/* Chinese accent on step labels (e.g., "Choose your tier · 选择档次") */
.step-cn {
  font-family: var(--font-cn);
  font-size: 0.85em;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-left: 4px;
}

/* Chinese accent on occasion chips (small caption below the English) */
.chip-cn {
  display: inline-block;
  font-family: var(--font-cn);
  font-size: 0.7em;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-left: 6px;
  font-weight: 300;
}
.occasion-chip.is-selected .chip-cn {
  color: rgba(253, 249, 243, 0.7);
}

@media (max-width: 700px) {
  .builder-cn-tagline { font-size: 0.92rem; letter-spacing: 0.2em; }
  .builder-cn-body { font-size: 0.85rem; }
  .step-cn { font-size: 0.78em; letter-spacing: 0.08em; }
}

/* Chinese subtitle on hero titles (cart, terms, privacy, payment-success) */
.cn-subtitle {
  display: block;
  font-family: var(--font-cn);
  font-size: 0.5em;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  font-weight: 300;
  margin-top: 12px;
  font-style: normal;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .cn-subtitle { font-size: 0.55em; letter-spacing: 0.15em; margin-top: 8px; }
}

/* ---------- COLLECTION GRID ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .collection-grid { grid-template-columns: 1fr; gap: 28px; } }

.collection-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s, box-shadow 0.4s;
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.collection-card-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.collection-card-media::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}
.collection-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.collection-card-body {
  padding: 28px;
  display: grid; gap: 12px;
  text-align: center;
}
.collection-card-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
}
.collection-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
}
.collection-card-body h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}
.collection-card-body p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.collection-card-body .btn { margin-top: 8px; align-self: center; }

/* ---------- GLASS CARDS ---------- */
.glass {
  background: var(--surface-glass);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
}

/* ---------- CUSTOM (BESPOKE) SECTION ---------- */
.custom-section { background: var(--gold-mist); }
.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .custom-grid { grid-template-columns: 1fr; gap: 36px; } }
.custom-copy { display: grid; gap: 16px; }
.custom-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}
.custom-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}
.custom-copy p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.custom-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.custom-visual::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.custom-visual img {
  width: 100%; height: 100%;
  object-fit: cover; aspect-ratio: 4/5;
}

.feature-list { display: grid; gap: 8px; padding-left: 0; }
.feature-list li {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}
.feature-list li::before {
  content: '✦';
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}

.feature-row-soft {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-family: var(--font-serif);
  color: var(--text-soft);
}
.feature-dot-soft {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.feature-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 80px;
  padding: 60px 24px 28px;
  background: var(--text);
  color: rgba(253, 249, 243, 0.7);
  border-top: 1px solid var(--line-gold);
}
.site-footer--dark { background: var(--text); }

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(184, 147, 90, 0.18);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.footer-brand-block { display: grid; gap: 12px; align-content: start; }
.footer-brand-block .brand-title { color: var(--gold); align-self: start; }
.footer-brand-block .brand-sub { color: rgba(253, 249, 243, 0.5); }
.footer-brand-block p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(253, 249, 243, 0.55);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(253, 249, 243, 0.6);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 249, 243, 0.4);
}

/* ---------- FLOATING WHATSAPP ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: var(--radius-pill);
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  z-index: 80;
  transition: transform 0.3s;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 90px; right: 24px;
  padding: 14px 20px;
  background: var(--text);
  color: var(--bg-soft);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--gold); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- CART DRAWER ---------- */
.cart-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(42, 31, 26, 0.45);
  backdrop-filter: blur(2px);
  z-index: 70;
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--bg-soft);
  border-left: 1px solid var(--line-gold);
  z-index: 75;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
}
.cart-drawer[aria-hidden="false"] { transform: translateX(0); }

.cart-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-drawer-head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  text-transform: uppercase;
}
.cart-drawer-head .count {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: none;
  letter-spacing: 0.05em;
  margin-left: 8px;
}
.cart-drawer-body {
  flex: 1; overflow-y: auto;
  padding: 20px 24px;
  display: grid; gap: 16px;
}
.cart-drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-strong);
  display: grid; gap: 12px;
}
.cart-drawer-subtotal {
  display: flex; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.cart-drawer-subtotal .amount { font-weight: 500; color: var(--gold-deep); }
.ship-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-style: italic;
}

/* ---------- CART PAGE ---------- */
.cart-page { padding: 40px 0 80px; }
.cart-page-head {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 24px;
}
.cart-page-body { padding: 0 24px; }

.cart-layout-soft {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 900px) { .cart-layout-soft { grid-template-columns: 1fr; } }

.cart-left-soft, .cart-right-soft { display: grid; gap: 20px; align-content: start; }

.cart-card-soft {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.cart-card-head-soft {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.cart-title-soft {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text);
}

.cart-summary-soft {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid; gap: 14px;
  position: sticky; top: 100px;
}

.summary-row-soft {
  display: flex; justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-soft);
}
.summary-row-total-soft {
  display: flex; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.summary-total { color: var(--gold-deep); }

.cart-pay-btn-soft { width: 100%; margin-top: 8px; }

/* Fulfillment toggle (delivery vs pickup) */
.fulfillment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 1100px) {
  .fulfillment-toggle { grid-template-columns: 1fr; }
}

.fulfillment-option {
  cursor: pointer;
  display: block;
  position: relative;
}
.fulfillment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fulfillment-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 16px;
  background: var(--surface-strong);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.25s;
  position: relative;
  min-height: 140px;
}
.fulfillment-option:hover .fulfillment-card {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.fulfillment-option input[type="radio"]:checked + .fulfillment-card {
  border-color: var(--gold-deep);
  background: var(--gold-mist);
  box-shadow: var(--shadow-gold);
}
.fulfillment-option input[type="radio"]:focus-visible + .fulfillment-card {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.fulfillment-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line-gold);
  color: var(--gold-deep);
  flex-shrink: 0;
}
.fulfillment-icon svg { width: 18px; height: 18px; }

.fulfillment-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
}
.fulfillment-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.2;
  text-transform: none;
}
.fulfillment-desc {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.45;
  font-style: italic;
}
.fulfillment-price {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
.fulfillment-price strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  text-transform: none;
}

/* Item specs (read-only chips) showing customer's customisation */
.item-specs {
  display: grid;
  gap: 4px;
  margin: 10px 0;
  padding: 12px 14px;
  background: rgba(184, 147, 90, 0.06);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  line-height: 1.5;
}
.spec-key {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  min-width: 80px;
  flex-shrink: 0;
}
.spec-val {
  color: var(--text-soft);
  flex: 1;
}

/* Helper note above schedule fields */
.schedule-helper-note {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--text-soft);
  font-style: italic;
  margin: 0;
  padding: 10px 14px;
  background: rgba(184, 147, 90, 0.05);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

/* Hide the Secure payment via badges row entirely */
.pay-methods { display: none !important; }

.checkout-form-soft {
  display: grid;
  gap: 20px;
}

/* Each step is now a stacked block, not a 2-col grid */
.checkout-group-soft {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.4);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
}

/* Reset auto-grid on direct div children (was causing alignment issues) */
.checkout-group-soft > div { display: block; }
.checkout-group-soft > div.grid2-soft,
.checkout-group-soft > div.info-box-soft,
.checkout-group-soft > div.checkout-step,
.checkout-group-soft > div.fulfillment-toggle {
  display: grid;
}
.checkout-group-soft > div.info-box-soft { display: block; }

/* Standardize all label captions */
.checkout-group-soft label {
  display: grid;
  gap: 6px;
}
.checkout-group-soft label > span:first-child {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.checkout-step {
  display: flex !important;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-gold);
}
.checkout-step .num {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--gold-mist);
  border: 1px solid var(--line-gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.checkout-step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 2px 0 0;
  text-transform: none;
}
.checkout-step .meta-label-soft {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.checkout-note-soft {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-style: italic;
  font-family: var(--font-serif);
  text-align: center;
  margin-top: 4px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="search"], input[type="password"],
textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-gold);
  background: rgba(255, 252, 246, 0.7);
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: rgba(255, 252, 246, 0.95);
}

/* ---------- DELIVERY / PAY ---------- */
.delivery-paper-section { padding: 16px 0; }
.delivery-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
}
.paper-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}
.paper-delivery-wrap { padding: 16px 0; }
.paper-floral-ring {
  position: absolute; inset: 8px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.pay-mark {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}
.pay-methods {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 10px;
}

/* ---------- TIER (CAKE TIERS) ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
@media (max-width: 700px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.tier-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.tier-card.is-selected {
  border-color: var(--gold-deep);
  background: var(--gold-mist);
  box-shadow: var(--shadow-gold);
}
.tier-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tier-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 6px;
}
.tier-blurb {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ---------- OCCASION CHIPS ---------- */
.occasion-grid {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.occasion-chip {
  padding: 10px 18px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s;
}
.occasion-chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.occasion-chip.is-selected {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg-soft);
}

/* ---------- MONEY (BUILDER) PAGE ---------- */
.money-page { padding: 40px 0 80px; }
.money-hero {
  text-align: center;
  padding: 24px 24px 56px;
}
.money-hero-card {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .money-hero-card { grid-template-columns: 1fr; padding: 28px; } }
.money-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.money-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.money-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  text-align: left;
}
.money-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

/* Consistent left-aligned hero text (all 3 product pages) */
.money-hero-card .section-kicker { text-align: left; margin-left: 0; }
.money-hero-copy {
  margin: 16px 0 0;
  text-align: left;
  max-width: none;
}
.money-hero-cn-tagline {
  text-align: left;
  margin: 10px 0 0;
}
.money-hero-cn-body {
  text-align: left;
  margin: 12px 0 0;
  max-width: none;
}
.money-hero-card .hero-actions {
  justify-content: flex-start;
}
@media (max-width: 800px) {
  .money-hero-title { text-align: center; }
  .money-hero-card .section-kicker { text-align: center; }
  .money-hero-copy,
  .money-hero-cn-tagline,
  .money-hero-cn-body { text-align: center; }
  .money-hero-card .hero-actions { justify-content: center; }
}

.money-builder { padding: 0 24px; }
.money-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .money-layout { grid-template-columns: 1fr; } }

.money-form-col, .money-summary-col { display: grid; gap: 20px; align-content: start; }

.money-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.money-summary-card {
  background: var(--surface-strong);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky; top: 100px;
  display: grid; gap: 14px;
}
.money-summary-actions {
  display: grid; gap: 8px;
  margin-top: 8px;
}

.money-info {
  background: var(--gold-mist);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.money-info strong {
  color: var(--gold-deep);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ---------- PRODUCT PAGE ---------- */
.product-page { padding: 24px 0 80px; }

.product-hero-band {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 24px;
}
.breadcrumb a { color: var(--gold-deep); }

.product-section { padding: 40px 0; }
.product-section--editorial { padding: 56px 0; }

.product-layout-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 0 24px;
}
@media (max-width: 900px) { .product-layout-editorial { grid-template-columns: 1fr; gap: 32px; } }

.product-visual-column, .product-copy-column { display: grid; gap: 20px; }

.editorial-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-gallery-card { padding: 16px; }
.gallery-main-editorial {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-warm);
}
.gallery-main-editorial::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.gallery-main-editorial img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs-editorial {
  display: flex; gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery-thumbs-editorial img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s;
}
.gallery-thumbs-editorial img:hover,
.gallery-thumbs-editorial img.is-selected { border-color: var(--gold-deep); }

.product-details-card { padding: 32px; display: grid; gap: 18px; }
.product-title-editorial {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}
.product-badges-editorial {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.status-pill-soft {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--gold-mist);
  border: 1px solid var(--line-gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.product-meta-grid-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.product-meta-card-editorial {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.meta-label-soft {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.meta-value-soft {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}

.product-copy-editorial { display: grid; gap: 12px; }
.product-copy-editorial p {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}
.product-feature-list-editorial { display: grid; gap: 6px; }

.product-cta-soft {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.product-note-soft {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--text-faint);
  font-style: italic;
  padding: 12px;
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.product-extra-band { padding: 56px 0; background: var(--gold-mist); }

/* ---------- ADDONS ---------- */
.addons-head-soft {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text);
}
.addon-list-soft { display: grid; gap: 10px; }
.addon, .addon-row-soft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-paper);
  transition: border-color 0.3s;
}
.addon-row-soft:hover { border-color: var(--gold); }
.addon-copy-soft { display: grid; gap: 4px; flex: 1; }
.addon-copy-soft strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.addon-copy-soft span {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--text-soft);
}
.addon-action-soft { flex-shrink: 0; }

/* ---------- INFO BOX / CHECK ---------- */
.info-box-soft {
  background: var(--gold-mist);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.info-box-soft:empty { display: none; }
.info-box-soft strong {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
}

/* Checkout terms agreement row */
.checkout-group-soft .terms-row-soft {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  cursor: pointer;
  margin: 0;
}

.check-soft {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.check-soft input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}
.check-soft svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px;
  max-height: 14px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.check-soft:has(input:checked) {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.check-soft:has(input:checked) svg {
  opacity: 1;
}

/* Fallback for browsers without :has() */
.check-soft input[type="checkbox"]:checked ~ svg,
.check-soft input[type="checkbox"]:checked + svg {
  opacity: 1;
}

.terms-text-soft {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.terms-text-soft a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.summary-line {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.summary-line:last-child { border-bottom: 0; }
.summary-line .label { color: var(--text-faint); letter-spacing: 0.05em; }
.summary-line .value { color: var(--text); font-weight: 500; }

/* ---------- STORY PAGE ---------- */
.story-page { padding: 24px 0 80px; }

.story-hero { padding: 32px 0 56px; }
.story-hero-shell {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 24px;
}
@media (max-width: 900px) { .story-hero-shell { grid-template-columns: 1fr; gap: 28px; } }
.story-hero-main { display: grid; gap: 18px; }
.story-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.005em;
  color: var(--text);
}
.story-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}
.story-lead {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-soft);
  font-style: italic;
}
.story-hero-side {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.story-hero-side::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.story-hero-side img { width: 100%; height: 100%; object-fit: cover; }

.story-section { padding: 56px 0; }
.story-section-soft { padding: 56px 0; background: var(--gold-mist); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 24px;
}
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; } }
.story-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: grid; gap: 12px;
}
.story-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
}
.story-card p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.story-card-large { grid-column: 1 / -1; }

.story-pillars { padding: 0 24px; }
.story-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .story-steps { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: grid; gap: 14px;
}
.pillar-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.pillar-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
}
.pillar-card p {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* Intro grid (story page) */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 24px;
  align-items: center;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-copy { display: grid; gap: 14px; }
.intro-copy p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.8;
}
.intro-collage, .intro-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.intro-photo, .intro-photo-sm, .intro-photo-lg {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.intro-photo img, .intro-photo-sm img, .intro-photo-lg img {
  width: 100%; height: 100%; object-fit: cover;
}
.intro-photo-lg { grid-column: span 2; aspect-ratio: 16/10; }
.intro-photo, .intro-photo-sm { aspect-ratio: 1; }

/* Swatches */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 0 24px;
}
.swatch-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  display: grid; gap: 10px;
}
.swatch-dots {
  display: flex; justify-content: center; gap: 6px;
}
.swatch-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.swatch-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- TERMS PAGE ---------- */
.terms-page { padding: 24px 0 80px; }
.terms-hero { padding: 40px 0 32px; }
.terms-hero-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  display: grid; gap: 16px;
}
@media (max-width: 600px) { .terms-hero-card { padding: 32px 24px; } }

/* Inline info grid blocks in terms/privacy — stack on mobile */
@media (max-width: 700px) {
  .terms-block > div[style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
.terms-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
.terms-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

.terms-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 0 24px;
  align-items: start;
}
@media (max-width: 900px) { .terms-layout { grid-template-columns: 1fr; } }

/* Force sidebar to LEFT, main content to RIGHT (regardless of HTML order) */
.terms-layout > .terms-side-card { grid-column: 1; }
.terms-layout > .terms-main-card { grid-column: 2; }
@media (max-width: 900px) {
  .terms-layout > .terms-side-card,
  .terms-layout > .terms-main-card { grid-column: 1; }
}

.terms-main-card, .terms-side-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.terms-side-card { position: sticky; top: 100px; }

.terms-content { display: grid; gap: 28px; }
.terms-block { display: grid; gap: 12px; }
.terms-block h2, .terms-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
}
.terms-block h2 { font-size: 1.6rem; letter-spacing: 0.01em; }
.terms-block h3 { font-size: 1.2rem; letter-spacing: 0.05em; }
.terms-block p, .terms-text-soft {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
}
.terms-row-soft {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.terms-row-soft:last-child { border-bottom: 0; }

.terms-side-list { display: grid; gap: 8px; }
.terms-side-list a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.3s;
}
.terms-side-list a:hover { color: var(--gold-deep); }
.terms-side-note {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--text-faint);
  font-style: italic;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.terms-footer-note {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-faint);
  margin-top: 32px;
  padding: 0 24px;
}

/* ---------- GRID 2 SOFT ---------- */
.grid2-soft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .grid2-soft { grid-template-columns: 1fr; } }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible, .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback so content shows even without JS */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
.reveal { animation: revealFallback 0.01s 1.5s forwards; }
@keyframes revealFallback {
  to { opacity: 1; transform: none; }
}

/* ---------- UTILITIES ---------- */
.js-year { font-variant-numeric: tabular-nums; }
.label { color: var(--text-faint); }
.value { color: var(--text); }
.amount { font-weight: 500; }
.count { color: var(--text-faint); font-size: 0.85rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 768px) {
  .header-nav-inline { display: none; }
  .header-brand-row { padding: 14px 16px 6px; }
  .header-inner { padding: 4px 16px 14px; }
  .brand-title { font-size: 1.2rem; }
  .brand-sub { font-size: 0.7rem; }
  .section-pad { padding: 48px 0; }
  .featured-gallery { grid-template-columns: 1fr !important; }
  .featured-gallery > div:nth-child(2) { grid-template-rows: auto !important; grid-template-columns: 1fr 1fr; display: grid !important; }
}

/* =========================================================
   FIXES — appended
   ---------------------------------------------------------
   1) Cart quantity selector — soft luxe pill
   2) .fulfillment-price overlap fix on narrow widths
   3) .grid2-soft label alignment so two columns stay even
      when one caption wraps
   4) .swatch-card cursor + hover + selected states
   ========================================================= */

/* ---------- 1. Cart quantity selector ---------- */
.qty-wrap {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  background: var(--bg-paper);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 4px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 6px 18px -10px rgba(75, 53, 30, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.qty-wrap:hover {
  border-color: rgba(184, 147, 90, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 10px 24px -12px rgba(138, 106, 61, 0.35);
}
.qty-btn {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border: 0;
  background: transparent;
  color: var(--gold-deep);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.qty-btn:hover:not(:disabled) {
  background: var(--gold-mist);
  color: var(--text);
}
.qty-btn:active:not(:disabled) {
  background: var(--gold-pale);
  transform: scale(0.94);
}
.qty-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg-paper), 0 0 0 4px rgba(184, 147, 90, 0.55);
}
.qty-btn:disabled {
  color: rgba(138, 106, 61, 0.32);
  cursor: not-allowed;
}
.qty-num {
  min-width: 40px;
  display: inline-grid; place-items: center;
  padding: 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
}
.qty-num::before,
.qty-num::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line);
}
.qty-num::before { left: 0; }
.qty-num::after  { right: 0; }

@media (max-width: 480px) {
  .qty-wrap { height: 40px; padding: 3px; }
  .qty-btn  { width: 32px; height: 32px; font-size: 16px; }
  .qty-num  { min-width: 34px; font-size: 16px; padding: 0 8px; }
}

/* ---------- 2. Fulfillment card — fix "Calculated next" overlap ----------
   Original .fulfillment-price was absolutely positioned at top-right with
   white-space:nowrap. On narrow viewports the long bilingual label
   ("Calculated next · 下一步计算") overflowed the icon/title area.
   Fix: switch to inline flow inside the card. The card already uses
   flex-direction:column, so the label sits cleanly under the body text
   and never collides with the icon. */
.fulfillment-card {
  /* widen footer space so the price label has room beneath body */
  padding-bottom: 14px;
}
.fulfillment-price {
  position: static;          /* was absolute */
  top: auto; right: auto;
  margin-top: 4px;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--gold-mist);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.fulfillment-price strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  text-transform: none;
}
.fulfillment-option input[type="radio"]:checked + .fulfillment-card .fulfillment-price {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(184, 147, 90, 0.5);
}

/* ---------- 3. Grid2 label alignment ----------
   When one caption wraps to 2 lines (e.g. "PREFERRED TIME SLOT · 时间段")
   and the other is short ("PICK-UP DATE · 自取日期"), the two inputs
   below it end up at different vertical positions. Reserve enough
   line height for two-line captions so columns stay aligned. */
.grid2-soft > label > span:first-child {
  min-height: calc(2 * 0.7rem * 1.4); /* 2 lines at body size with leading */
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

/* On wider screens where two-column layout applies, ensure label spans
   align to the same baseline regardless of CN-subtitle length. */
@media (min-width: 601px) {
  .grid2-soft > label > span:first-child {
    align-items: flex-end;
  }
}

/* ---------- 4. Swatch (theme palette) interactions ---------- */
.swatch-card {
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.swatch-card:hover {
  border-color: var(--gold);
  background: var(--gold-mist);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(138, 106, 61, 0.4);
}
.swatch-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.swatch-card.is-selected {
  border-color: var(--gold-deep);
  background: var(--gold-mist);
  box-shadow:
    0 0 0 1px var(--gold-deep) inset,
    0 8px 22px -14px rgba(138, 106, 61, 0.5);
}
.swatch-card.is-selected::after {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--gold-deep)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fffaf2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>")
    center / 12px no-repeat;
}

/* ---------- 5. Cart item card (post-deselect rendering) ----------
   Styles the .item rows rendered by cart.js — thumb, name, price,
   meta tags, optional note textarea, and the right rail (qty + remove). */
#cartItems {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
#cartItems:empty {
  display: none;
}

.item {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 18px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.item:hover {
  border-color: var(--line-gold);
  box-shadow: 0 8px 24px -18px rgba(75, 53, 30, 0.3);
}

/* Thumbnail */
.item .thumb {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--gold-mist);
  border: 1px solid var(--line-gold);
  position: relative;
}
.item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item .thumb:empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, var(--line-gold) 48% 52%, transparent 52%);
  opacity: 0.4;
}

/* Name + price */
.item .iname {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 4px;
}
.item .iprice {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin: 0 0 10px;
}

/* Meta tag pills (lead time, badge) */
.item .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.item .meta:empty { display: none; }
.item .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--gold-mist);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  line-height: 1.4;
}

/* Optional note label */
.item .remark-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 12px 0 6px;
}

/* Note textarea — softer than full forms */
.item .item-remark {
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  resize: vertical;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.item .item-remark::placeholder {
  /* Inherits color + opacity from global ::placeholder rule.
     We only add italics here for the softer in-cart-note tone. */
  font-style: italic;
}
.item .item-remark:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: var(--bg-paper);
}

/* Right rail — qty + remove stacked */
.item .item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-top: 4px;
}

/* Remove button — minimal, not destructive-loud */
.item .remove-btn {
  border: 0;
  background: transparent;
  padding: 4px 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.item .remove-btn:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}
.item .remove-btn:focus-visible {
  outline: none;
  color: var(--gold-deep);
  border-bottom-color: var(--gold-deep);
}

/* ---------- Cart item — mobile (≤640px) ---------- */
@media (max-width: 640px) {
  .item {
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 14px;
  }
  .item > .thumb { width: 80px; height: 80px; }
  /* The unnamed middle wrapper takes the second column */
  .item > div:not(.thumb):not(.item-right) {
    min-width: 0; /* allow text to wrap inside grid */
  }
  /* Right rail spans both columns and sits at the bottom as a divider row */
  .item .item-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
  }
  .item .iname { font-size: 1.05rem; }
  .item .iprice { font-size: 1rem; }
}

/* ---------- 6. Global placeholder lightening ----------
   Make placeholder text visibly secondary across every input,
   textarea, and select-with-empty-default in the site. The default
   browser placeholder color is too dark on the cream background.
   We use a warm grey derived from --text-soft so it harmonises
   with the ink palette rather than introducing a cool grey. */
input::placeholder,
textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.5;            /* Firefox normalises this; explicit for clarity */
  font-weight: 400;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: var(--text-soft);
  opacity: 0.5;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--text-soft);
  opacity: 0.5;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: var(--text-soft);
  opacity: 0.5;
}

/* Empty/native date input — Chrome shows "dd/mm/yyyy" via a pseudo */
input[type="date"]::-webkit-datetime-edit,
input[type="date"]:not(:focus):invalid::-webkit-datetime-edit {
  color: rgba(90, 74, 64, 0.5);
}
input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  color: inherit;
}
input[type="date"]:focus::-webkit-datetime-edit,
input[type="date"]:valid::-webkit-datetime-edit {
  color: var(--text);
}

/* Select elements showing a default "Select ..." placeholder option
   (option value="" selected disabled) should also render lightly.
   Targeting the <select> itself when no real value is chosen yet.
   The :has() selector is well-supported in modern browsers; the
   :invalid fallback covers required selects. */
select:has(option[value=""]:checked) {
  color: rgba(90, 74, 64, 0.55);
}
select:required:invalid {
  color: rgba(90, 74, 64, 0.55);
}
select option {
  color: var(--text);   /* dropdown options stay full ink */
}
select option[value=""][disabled] {
  color: rgba(90, 74, 64, 0.55);
}

/* When a select has a real value selected, restore full ink. */
select:has(option:not([value=""]):checked),
select:valid {
  color: var(--text);
}

/* ---------- MOBILE BUTTON FIX ---------- */
@media (max-width: 600px) {
  .btn {
    white-space: normal;        /* allow text to wrap */
    letter-spacing: 0.15em;     /* reduce spacing so text fits */
    padding: 12px 20px;          /* tighter padding */
    font-size: 0.72rem;
    max-width: 100%;
    text-align: center;
    line-height: 1.3;
  }

  .hero-actions {
    display: flex;               /* was inline-flex — change to flex */
    width: 100%;
    flex-direction: column;      /* stack buttons vertically on mobile */
    align-items: stretch;        /* full-width buttons */
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;                 /* full-width on mobile */
  }
}

/* Extra safety — prevent any horizontal overflow */
@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* End of stylesheet */