/* =========================================================================
   FULL MOON HOUSE — design system v2
   Strictly aligned to the approved visuals (homepage-full-moon-house-selected,
   product-detail-desktop, product-detail-mobile, checkout-desktop):
   ivory ground, fine vermilion keyline frames with scooped ("委角") corners,
   muted gold moon, red serif display type, gold hairline groupings.
   ========================================================================= */

:root {
  --ivory: #fbf8f1;
  --ivory-deep: #f6efe4;
  --paper: #fffefa;
  --vermilion: #b3121b;
  --deep-red: #8d1018;
  --gold: #c4943b;
  --gold-bright: #d0a94d;
  --gold-soft: #eed8ad;
  --gold-line: rgba(184, 149, 86, 0.48);
  --ink: #201a18;
  --ink-soft: #5c534e;
  --line: rgba(184, 149, 86, 0.36);
  --line-strong: rgba(179, 35, 36, 0.52);
  --frame-bg: var(--ivory);
  --ok: #1a6b3c;
  --error: #b32324;

  --font-serif: "Playfair Display", "Songti SC", "Noto Serif SC", "Noto Serif TC", "STSong", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, "PingFang SC", "PingFang TC", "Microsoft YaHei", "Microsoft JhengHei", "Noto Sans SC", "Noto Sans TC", "Segoe UI", Arial, sans-serif;

  --radius: 8px;
  --radius-lg: 14px;
  --maxw: 1280px;
  --header-h: 88px;
}

/* ---------------------------------------------------------------- reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vermilion); text-decoration: none; }
a:hover { color: var(--deep-red); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.22; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.fmh-skip-link:focus {
  position: fixed; left: 12px; top: 12px; z-index: 999; width: auto; height: auto;
  clip: auto; background: #fff; color: var(--ink); padding: 10px 16px;
  border: 1px solid var(--vermilion); border-radius: 6px;
}
.fmh-center { text-align: center; }
.fmh-hp { position: absolute !important; left: -9999px; }
.fmh-ok { color: var(--ok); }
.fmh-error { color: var(--error); }
.fmh-arrow { margin-left: 0.55em; font-family: var(--font-sans); }

/* ------------------------------------------------------------------ buttons */
.fmh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 50px; padding: 0.72em 2em;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 3px; border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.fmh-btn-primary { background: var(--vermilion); color: #fff; }
.fmh-btn-primary:hover { background: var(--deep-red); color: #fff; }
.fmh-btn-outline { background: transparent; color: var(--vermilion); border-color: var(--vermilion); }
.fmh-btn-outline:hover { color: var(--deep-red); border-color: var(--deep-red); background: rgba(179, 35, 36, 0.05); }
.fmh-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.fmh-btn-ghost:hover { border-color: var(--gold); }
.fmh-btn-lg { min-height: 56px; font-size: 15.5px; }
.fmh-btn-block { width: 100%; }
.fmh-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.fmh-link-underline {
  display: inline-block; color: var(--vermilion); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; font-size: 13.5px;
  border-bottom: 1.5px solid var(--vermilion); padding-bottom: 4px;
}
.fmh-link-underline:hover { color: var(--deep-red); border-color: var(--deep-red); }

/* --------------------------------------------------------------- decorative */
.fmh-eyebrow {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--vermilion);
  margin: 0 0 0.9em; min-height: 1em;
}
.fmh-eyebrow-gold { color: var(--gold); }

/* line — flower — line rule (SVG flower inside, hairlines via flex) */
.fmh-rule-flower {
  display: flex; align-items: center; gap: 16px;
  color: var(--gold); max-width: 430px; margin: 0 0 1.7em; height: 13px;
}
.fmh-rule-flower::before, .fmh-rule-flower::after {
  content: ""; flex: 1; height: 1px; background: var(--gold-line);
}
.fmh-rule-flower svg { flex: none; display: block; }
.fmh-rule-center { margin-left: auto; margin-right: auto; }
.fmh-rule-red { color: var(--vermilion); }
.fmh-rule-red::before, .fmh-rule-red::after { background: var(--line-strong); }

/* ------------------------------------------------------------------- header */
.fmh-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 243, 235, 0.97); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 149, 86, 0.28);
}
.fmh-header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 30px;
  display: flex; align-items: center; gap: 30px; min-height: var(--header-h);
}
.fmh-logo { display: flex; flex-direction: column; line-height: 1.2; color: var(--ink); }
.fmh-logo-en { font-family: var(--font-serif); font-size: 22px; letter-spacing: 0.1em; font-weight: 600; }
.fmh-logo-zh { font-size: 13px; letter-spacing: 0.6em; color: var(--ink); margin-top: 3px; }
.fmh-logo-img { max-height: 54px; width: auto; }
.fmh-nav { margin-left: auto; }
.fmh-nav-list { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.fmh-nav-list a {
  color: var(--ink); font-size: 15px; letter-spacing: 0.02em; padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.fmh-nav-list a:hover { color: var(--vermilion); border-color: var(--vermilion); }
.fmh-header-utils { display: flex; align-items: center; gap: 15px; }
.fmh-util-divider { width: 1px; height: 20px; background: var(--gold-line); }

.fmh-lang-switcher, .fmh-currency-switcher { position: relative; }
.fmh-lang-toggle, .fmh-currency-toggle {
  background: none; border: none; color: var(--ink); font-size: 14.5px;
  letter-spacing: 0.08em; padding: 8px 4px; display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;
}
.fmh-caret { width: 7px; height: 7px; border-right: 1.4px solid var(--ink); border-bottom: 1.4px solid var(--ink); transform: rotate(45deg) translateY(-2px); }
.fmh-lang-menu, .fmh-currency-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 122px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  list-style: none; margin: 0; padding: 6px; display: none; z-index: 70;
  box-shadow: 0 8px 24px rgba(32, 26, 24, 0.08);
}
.fmh-lang-switcher.is-open .fmh-lang-menu,
.fmh-currency-switcher.is-open .fmh-currency-menu { display: block; }
.fmh-lang-menu a, .fmh-currency-menu a {
  display: block; padding: 9px 12px; color: var(--ink); border-radius: 6px; font-size: 14px;
}
.fmh-lang-menu a:hover, .fmh-currency-menu a:hover { background: var(--ivory); color: var(--vermilion); }
.fmh-lang-menu [aria-current] a, .fmh-currency-menu [aria-current] a { color: var(--vermilion); font-weight: 600; }

.fmh-bag-link { position: relative; display: inline-flex; align-items: center; color: var(--ink); padding: 10px 6px; min-height: 44px; }
.fmh-bag-link:hover { color: var(--vermilion); }
.fmh-bag-count {
  position: absolute; top: 3px; right: -5px; min-width: 17px; height: 17px;
  background: var(--vermilion); color: #fff; font-size: 10.5px; font-weight: 700;
  border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.fmh-globe-btn { display: none; background: none; border: none; color: var(--ink); padding: 10px 6px; min-height: 44px; min-width: 44px; }
.fmh-globe-btn:hover { color: var(--vermilion); }
.fmh-nav-toggle { display: none; background: none; border: none; padding: 10px; min-height: 44px; min-width: 44px; }
.fmh-burger span { display: block; width: 22px; height: 1.6px; background: var(--ink); margin: 5px 0; }

/* mobile drawer */
.fmh-mobile-drawer {
  position: fixed; inset: 0; z-index: 100; background: var(--ivory); padding: 20px 24px;
  overflow-y: auto;
}
.fmh-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fmh-drawer-title { font-family: var(--font-serif); font-size: 20px; }
.fmh-drawer-close { background: none; border: none; font-size: 30px; line-height: 1; color: var(--ink); min-width: 44px; min-height: 44px; }
.fmh-drawer-list { list-style: none; margin: 0 0 22px; padding: 0; }
.fmh-drawer-list a {
  display: block; padding: 15px 2px; color: var(--ink); font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.fmh-drawer-utils { display: flex; gap: 18px; }

/* -------------------------------------------------- scooped-corner frames */
.fmh-frame {
  position: relative;
  border: 1.3px solid var(--line-strong);
  background: transparent;
  padding: 16px;
}
.fmh-frame-corner {
  position: absolute; width: 26px; height: 26px; background: var(--frame-bg); z-index: 2;
}
.fmh-fc-tl { top: -1.3px; left: -1.3px; border-right: 1.3px solid var(--line-strong); border-bottom: 1.3px solid var(--line-strong); border-bottom-right-radius: 100%; }
.fmh-fc-tr { top: -1.3px; right: -1.3px; border-left: 1.3px solid var(--line-strong); border-bottom: 1.3px solid var(--line-strong); border-bottom-left-radius: 100%; }
.fmh-fc-bl { bottom: -1.3px; left: -1.3px; border-right: 1.3px solid var(--line-strong); border-top: 1.3px solid var(--line-strong); border-top-right-radius: 100%; }
.fmh-fc-br { bottom: -1.3px; right: -1.3px; border-left: 1.3px solid var(--line-strong); border-top: 1.3px solid var(--line-strong); border-top-left-radius: 100%; }
.fmh-frame-inner {
  position: relative; overflow: hidden; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.fmh-moon-svg {
  position: absolute; top: 3%; left: 50%; transform: translateX(-50%);
  width: 76%; max-width: 580px; pointer-events: none;
}
.fmh-frame-inner > img, .fmh-still-life, .fmh-hero-placeholder { position: relative; z-index: 1; }
.fmh-hero-img, .fmh-gallery-main-img { width: 100%; object-fit: contain; }
.fmh-still-life { width: 100%; margin: 0; object-fit: contain; }
.fmh-hero-placeholder { width: 100%; aspect-ratio: 1 / 1; }
.fmh-frame-seal {
  position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 26px; background: var(--frame-bg); border: 1.3px solid var(--line-strong);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--vermilion);
}

/* --------------------------------------------------------------------- hero */
.fmh-hero { max-width: var(--maxw); margin: 0 auto; padding: 40px 30px 34px; }
.fmh-hero-grid { display: grid; grid-template-columns: minmax(0, 53fr) minmax(0, 47fr); gap: 64px; align-items: center; }
.fmh-hero-copy { padding-right: 8px; }
.fmh-hero-copy .fmh-eyebrow { text-align: center; }
.fmh-hero-copy .fmh-rule-flower { margin-left: auto; margin-right: auto; }
.fmh-hero-headline {
  font-size: clamp(2.9rem, 5.6vw, 4.8rem); color: var(--vermilion);
  letter-spacing: 0.015em; margin: 0.15em 0 0.4em; text-wrap: balance;
  text-transform: uppercase; line-height: 1.05; text-align: left;
}
.fmh-hero-sub {
  position: relative;
  font-family: var(--font-serif);
  font-size: 19px; color: var(--ink); max-width: 24em; line-height: 1.75;
  padding-left: 30px; margin-bottom: 0;
}
.fmh-hero-sub::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--gold-line);
}
.fmh-sub-flower {
  position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  color: var(--gold); background: var(--ivory); padding: 6px 0; line-height: 0;
}
.fmh-hero-ctas { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin: 2em 0 1.9em; }
.fmh-hero-ddp { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); font-size: 15px; max-width: 30em; }
.fmh-hero-ddp svg { flex: none; margin-top: 2px; }
.fmh-ddp-lines { display: flex; flex-direction: column; }
.fmh-ddp-lines strong { font-weight: 600; letter-spacing: 0.01em; }
.fmh-ddp-lines span { color: var(--ink-soft); font-size: 14px; }

/* --------------------------------------------------------------- early bird */
.fmh-earlybird-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.fmh-earlybird-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 13px 30px;
  display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap;
}
.fmh-earlybird-label { font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--vermilion); font-weight: 600; }
.fmh-countdown { display: inline-flex; gap: 16px; }
.fmh-cd-cell { display: inline-flex; flex-direction: column; align-items: center; min-width: 44px; }
.fmh-cd-cell b { font-family: var(--font-serif); font-size: 23px; color: var(--vermilion); font-variant-numeric: tabular-nums; }
.fmh-cd-cell i { font-style: normal; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

/* ----------------------------------------------------------------- sections */
.fmh-section { max-width: var(--maxw); margin: 0 auto; padding: 62px 30px; }
.fmh-section-title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: 0.14em; text-transform: uppercase; }
.fmh-section-sub { color: var(--ink-soft); margin-top: -0.6em; }
.fmh-collection .fmh-section-title, .fmh-faq-summary .fmh-section-title { text-align: center; }
.fmh-collection .fmh-section-sub { text-align: center; }
.fmh-collection-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; margin-top: 34px; align-items: start; }
.fmh-collection-name { font-size: 1.7rem; color: var(--vermilion); letter-spacing: 0.04em; }
.fmh-collection-spec { letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; color: var(--ink-soft); }
.fmh-collection-price { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); }
.fmh-collection-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fmh-feature { text-align: center; padding-top: 6px; }
.fmh-feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border: 1px solid var(--gold-line); border-radius: 50%;
}
.fmh-feature-title { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 14px 0 6px; }
.fmh-feature-text { font-size: 14px; color: var(--ink-soft); margin: 0; }

.fmh-global { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; text-align: center; }
.fmh-global-inner { max-width: 640px; margin: 0 auto; }
.fmh-global-note { color: var(--ink-soft); }

.fmh-corporate-inner {
  position: relative;
  border: 1.3px solid var(--line-strong);
  padding: 42px 48px; display: flex; align-items: center; justify-content: space-between; gap: 38px;
}
.fmh-corporate-inner p { max-width: 44em; margin: 0; }

.fmh-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fmh-review { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; font-size: 15px; }
.fmh-review footer { color: var(--ink-soft); margin-top: 10px; font-size: 13px; }

.fmh-faq-list { max-width: 780px; margin: 0 auto; }
.fmh-faq-item { border-bottom: 1px solid var(--line); }
.fmh-faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 2px; position: relative;
  font-weight: 600; font-size: 16px;
}
.fmh-faq-item summary::-webkit-details-marker { display: none; }
.fmh-faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 20px; font-weight: 400;
}
.fmh-faq-item[open] summary::after { content: "−"; }
.fmh-faq-answer { padding: 0 2px 18px; color: var(--ink-soft); }

.fmh-newsletter-section { text-align: center; }
.fmh-newsletter-inner { max-width: 560px; margin: 0 auto; }
.fmh-newsletter-row { display: flex; gap: 10px; margin-bottom: 12px; }
.fmh-newsletter-row input[type="email"] { flex: 1; }
.fmh-consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); text-align: left; }
.fmh-consent-label input { margin-top: 4px; min-width: 16px; min-height: 16px; accent-color: var(--vermilion); }

/* -------------------------------------------------------------------- forms */
input[type="text"], input[type="email"], input[type="number"], input[type="date"],
input[type="tel"], input[type="password"], select, textarea {
  width: 100%; padding: 12px 15px; font-size: 16px; font-family: var(--font-sans);
  color: var(--ink); background: #fff; border: 1px solid var(--gold-line);
  border-radius: 7px; min-height: 50px;
}
textarea { min-height: 96px; }
input:focus, select:focus, textarea:focus { border-color: var(--vermilion); outline: none; box-shadow: 0 0 0 1px var(--vermilion); }
input::placeholder, textarea::placeholder { color: #a89f93; }
label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.fmh-field { margin-bottom: 18px; }
.fmh-field label { display: block; margin-bottom: 7px; }
.fmh-control-label {
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--vermilion); }

/* ------------------------------------------------------------ product page */
.fmh-product-layout {
  max-width: var(--maxw); margin: 0 auto; padding: 42px 30px 24px;
  display: grid; grid-template-columns: minmax(0, 53fr) minmax(0, 47fr); gap: 64px; align-items: start;
}
.fmh-product-gallery { position: sticky; top: calc(var(--header-h) + 18px); }
.fmh-gallery-thumbs { display: flex; gap: 12px; list-style: none; margin: 22px 0 0; padding: 0; }
.fmh-thumb {
  border: 1px solid var(--gold-line); border-radius: 4px; background: #fff; padding: 3px;
  min-width: 64px; min-height: 64px;
}
.fmh-thumb.is-active { border-color: var(--vermilion); }
.fmh-thumb img { border-radius: 2px; width: 56px; height: 56px; object-fit: cover; }

.fmh-product-buy .fmh-eyebrow { text-align: center; letter-spacing: 0.26em; }
.fmh-product-buy .fmh-rule-flower { margin-left: auto; margin-right: auto; }
.fmh-product-title {
  font-size: clamp(2.1rem, 3.4vw, 3.1rem); color: var(--vermilion);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; margin-bottom: 0.25em;
}
.fmh-product-subtitle { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); margin: 0 0 0.6em; }
.fmh-product-spec { letter-spacing: 0.18em; text-transform: uppercase; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.fmh-product-tagline { font-family: var(--font-serif); font-size: 16.5px; color: var(--ink); max-width: 34em; }

/* --- tier selector: individually framed gift-box tiers */
.fmh-tiers { border: none; margin: 30px 0 0; padding: 0; }
.fmh-tiers legend { margin-bottom: 14px; }
.fmh-tiers-box { display: grid; gap: 14px; }
.fmh-tier {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 94px; padding: 16px 22px; cursor: pointer; background: transparent;
  border: 1px solid var(--gold-line); border-radius: 17px; position: relative;
}
.fmh-tier.is-selected { border-color: var(--gold); background: var(--paper); }
.fmh-tier input { order: 4; flex: none; width: 21px; height: 21px; margin: 0 0 0 16px; accent-color: var(--vermilion); }
.fmh-tier-badge {
  display: inline-flex;
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-bright); color: #fff;
  font-family: var(--font-serif); font-size: 18px; font-weight: 600;
  align-items: center; justify-content: center; flex: none;
}
.fmh-tier-name { display: flex; flex-direction: column; }
.fmh-tier-qty { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 14.5px; }
.fmh-tier-pieces { font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.14em; text-transform: uppercase; margin: 3px 0 0; }
.fmh-tier-price { margin-left: auto; text-align: right; white-space: nowrap; letter-spacing: 0.06em; }
.fmh-tier-price del { color: var(--ink-soft); font-size: 13px; margin-right: 6px; }
.fmh-tier-price strong { font-family: var(--font-sans); font-weight: 600; font-size: 16.5px; letter-spacing: 0.08em; }
.fmh-tier-price small { color: var(--ink-soft); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.fmh-qty-stepper { margin: 14px 0 4px; }
.fmh-stepper-row { display: flex; gap: 8px; align-items: stretch; max-width: 220px; margin-top: 8px; }
.fmh-step { width: 50px; border: 1px solid var(--gold-line); background: #fff; border-radius: 6px; font-size: 20px; color: var(--ink); }
.fmh-step:hover { border-color: var(--vermilion); color: var(--vermilion); }
.fmh-stepper-row input { text-align: center; }

.fmh-corporate-callout {
  border: 1px solid var(--gold); border-radius: 6px; background: var(--paper);
  padding: 16px 18px; margin: 14px 0;
}
.fmh-corporate-callout p { margin: 0 0 12px; font-size: 14.5px; }

/* --- gift card: desktop = two framed options; mobile = switch row */
.fmh-gift { border: none; margin: 30px 0 0; padding: 0; }
.fmh-gift legend { margin-bottom: 14px; }
.fmh-info { color: var(--gold); cursor: help; margin-left: 8px; font-style: normal; border: 1px solid var(--gold-line); border-radius: 50%; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; vertical-align: 2px; }
.fmh-gift-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fmh-gift-option {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--gold); border-radius: 4px; padding: 15px 10px; cursor: pointer;
  background: transparent; font-weight: 600; font-size: 13.5px; text-align: center;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.fmh-gift-option input { position: absolute; opacity: 0; }
.fmh-gift-option span { display: inline-flex; align-items: center; gap: 10px; }
.fmh-gift-option span::before {
  content: ""; width: 14px; height: 14px; border: 1.4px solid var(--gold); border-radius: 50%; flex: none;
}
.fmh-gift-option.is-selected { color: var(--deep-red); }
.fmh-gift-option.is-selected span::before {
  border-color: var(--vermilion);
  background: radial-gradient(circle, var(--vermilion) 3.8px, transparent 4.4px);
}
.fmh-gift-switchrow {
  display: none;
  border: 1px solid var(--gold-line); border-radius: 8px; padding: 16px 18px;
  align-items: center; gap: 16px; cursor: pointer;
}
.fmh-gift-switchrow svg { flex: none; }
.fmh-gift-switch-copy { flex: 1; display: flex; flex-direction: column; }
.fmh-gift-switch-copy strong { font-family: var(--font-serif); font-weight: 600; font-size: 16.5px; letter-spacing: 0.01em; text-transform: none; }
.fmh-gift-switch-copy span { color: var(--ink-soft); font-size: 14px; }
.fmh-switch {
  flex: none; width: 54px; height: 30px; border-radius: 15px; background: #cfc8bc; position: relative;
  transition: background 0.18s ease;
}
.fmh-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px;
  background: #fff; border-radius: 50%; transition: left 0.18s ease;
  box-shadow: 0 1px 3px rgba(32, 26, 24, 0.25);
}
.fmh-gift-switchrow.is-on .fmh-switch { background: var(--vermilion); }
.fmh-gift-switchrow.is-on .fmh-switch::after { left: 27px; }

.fmh-gift-fields { border-left: 2px solid var(--gold-soft); padding: 14px 0 2px 18px; margin-top: 16px; }
.fmh-gift-counter { font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 0; }
.fmh-gift-counter .is-over { color: var(--error); font-weight: 700; }

.fmh-destination { margin: 28px 0 0; }
.fmh-destination-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; margin-top: 12px; }
.fmh-destination-result { min-height: 1.4em; font-size: 14.5px; margin: 8px 0 0; }
.fmh-destination-result.is-ok { color: var(--ok); }
.fmh-destination-result.is-bad { color: var(--error); }
.fmh-destination-standalone { max-width: 560px; margin: 30px 0; }

/* --- meta: two gold-icon cells (Delivered Duty Paid | Estimated Delivery) */
.fmh-buy-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; gap: 10px;
}
.fmh-meta-cell { display: flex; align-items: center; gap: 13px; }
.fmh-meta-cell + .fmh-meta-cell { border-left: 1px solid var(--line); padding-left: 20px; }
.fmh-meta-cell svg { flex: none; }
.fmh-meta-cell-copy { display: flex; flex-direction: column; }
.fmh-meta-cell-copy strong { font-family: var(--font-serif); font-weight: 600; font-size: 15.5px; }
.fmh-meta-cell-copy span { color: var(--ink-soft); font-size: 13px; border-bottom: 1px solid var(--gold-line); padding-bottom: 3px; max-width: max-content; }
.fmh-buy-stock { color: var(--deep-red); font-weight: 600; font-size: 14px; margin: 10px 0 0; }

.fmh-buy-total {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 20px; padding: 18px 0;
}
.fmh-buy-total-label { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.fmh-buy-total-value b { font-family: var(--font-serif); font-size: 27px; font-weight: 600; }
.fmh-approx-slot .fmh-approx, .fmh-approx { color: var(--ink-soft); font-size: 14px; margin-left: 8px; }
.fmh-corporate-hint { font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; }
.fmh-unavailable {
  border: 1px solid var(--line-strong); background: var(--paper);
  padding: 22px; margin-top: 22px;
}
.fmh-preview-notice { margin: 12px 0 0; color: var(--deep-red); font-size: 13.5px; text-align: center; }
.fmh-label-disclaimer { font-size: 13.5px; color: var(--ink-soft); max-width: 720px; margin: 18px auto 0; text-align: center; }
.fmh-product-food .fmh-section-title { text-align: center; }
.fmh-food-accordion { max-width: 780px; margin: 0 auto; }

/* sticky mobile buy bar — full-width red CTA with bag icon */
.fmh-sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 235, 0.97); border-top: 1px solid var(--line);
}
.fmh-sticky-buy .fmh-btn { width: 100%; min-height: 56px; letter-spacing: 0.3em; }

/* ---------------------------------------------------------- generic pages */
.fmh-page { max-width: var(--maxw); margin: 0 auto; padding: 48px 30px 70px; }
.fmh-narrow { max-width: 880px; }
.fmh-page-header { text-align: center; margin-bottom: 36px; }
.fmh-page-header .fmh-rule-flower { margin-left: auto; margin-right: auto; }
.fmh-page-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--vermilion); letter-spacing: 0.06em; text-transform: uppercase; }
.fmh-page-lede { max-width: 44em; margin: 0 auto; color: var(--ink-soft); }
.fmh-prose { font-size: 16px; }
.fmh-prose h2 { font-size: 1.4rem; margin-top: 1.8em; letter-spacing: 0.05em; }
.fmh-prose h3 { font-size: 1.12rem; margin-top: 1.5em; }
.fmh-callout {
  border: 1px solid var(--gold); background: var(--paper);
  padding: 20px 24px; margin-bottom: 28px;
}
.fmh-callout p:last-child { margin-bottom: 0; }
.fmh-policy-notice {
  border: 1px solid var(--line-strong); background: #fdf6f3;
  color: var(--deep-red); padding: 12px 16px; margin-bottom: 18px; font-size: 14.5px;
}
.fmh-policy-meta { color: var(--ink-soft); font-size: 14px; letter-spacing: 0.04em; }
.fmh-form-banner { border: 1px solid currentColor; padding: 14px 18px; margin-bottom: 22px; }

/* corporate page */
.fmh-corp-points { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 40px; padding: 0; }
.fmh-corp-points li { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14.5px; }
.fmh-corp-points li::before { content: "◦"; color: var(--gold); margin-right: 8px; }
.fmh-corp-form-wrap { position: relative; border: 1.3px solid var(--line-strong); padding: 40px 46px; }
.fmh-corp-min { color: var(--ink-soft); margin-top: -6px; }
.fmh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 18px 0 6px; }
.fmh-field-wide { grid-column: 1 / -1; }
.fmh-corp-form .fmh-btn { margin-top: 18px; }

/* contact */
.fmh-contact-card { border: 1.3px solid var(--line-strong); padding: 32px 36px; margin-bottom: 30px; }
.fmh-contact-channels { list-style: none; margin: 0; padding: 0; }
.fmh-contact-channels li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.fmh-contact-channels li:last-child { border-bottom: none; }
.fmh-channel-label { min-width: 112px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.fmh-wechat-copy { background: none; border: 1px dashed var(--line-strong); border-radius: 5px; padding: 6px 12px; color: var(--ink); font-size: 15px; }
.fmh-wechat-qr img { border: 1px solid var(--line); border-radius: 6px; }

/* tracking */
.fmh-tracking-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-bottom: 26px; }
.fmh-tracking-form .fmh-field { margin: 0; }
.fmh-tracking-result { border: 1.3px solid var(--line-strong); padding: 28px 32px; }
.fmh-track-grid { display: grid; grid-template-columns: 190px 1fr; gap: 8px 18px; margin: 0; }
.fmh-track-grid dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; align-self: baseline; }
.fmh-track-grid dd { margin: 0; }
.fmh-note { color: var(--ink-soft); font-size: 13.5px; margin-top: 16px; }

/* ------------------------------------------------------------- woocommerce */
.fmh-notices-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: 1px solid var(--line-strong); background: var(--paper);
  padding: 14px 18px !important; margin: 16px 0; color: var(--ink); list-style: none;
}
.woocommerce-error { border-color: var(--error); color: var(--deep-red); }
.woocommerce-error li { margin: 4px 0; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }

.woocommerce { max-width: var(--maxw); margin: 0 auto; padding: 30px 30px 70px; }
.woocommerce table.shop_table {
  border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; width: 100%;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: middle;
}
.woocommerce table.shop_table tr:last-child > * { border-bottom: none; }
.woocommerce .cart_totals { border: 1px solid var(--gold); padding: 26px 28px; background: var(--paper); }
.woocommerce .cart_totals h2 { font-size: 1.1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.fmh-included-row td, .fmh-included-row th { color: var(--ok); font-size: 14px; }
.fmh-tier-note-row td { color: var(--ink-soft); }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #place_order {
  background: var(--vermilion); color: #fff; border: none; border-radius: 3px;
  min-height: 50px; padding: 0.72em 2em; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce #place_order:hover { background: var(--deep-red); color: #fff; }
.woocommerce a.checkout-button { display: block; text-align: center; font-size: 15.5px; }

/* ---- checkout layout: framed form (left) + gold summary card (right) ---- */
.fmh-checkout-grid { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 44px; align-items: start; }
.fmh-checkout-frame { position: relative; border: 1.3px solid var(--line-strong); padding: 42px 46px 34px; }
.fmh-checkout-head { text-align: center; margin-bottom: 26px; }
.fmh-checkout-head .fmh-rule-flower { max-width: 200px; margin: 0 auto 1em; }
.fmh-checkout-title { font-size: 1.5rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.fmh-checkout-subtitle { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.fmh-checkout-note {
  border: 1px solid var(--gold); background: var(--paper);
  padding: 13px 17px; margin-bottom: 20px; font-size: 14px;
}
.fmh-destination-status { padding: 12px 16px; margin-bottom: 18px; font-size: 14.5px; border: 1px solid var(--line); }
.fmh-destination-status.is-ok { border-color: var(--ok); color: var(--ok); }
.fmh-destination-status.is-bad { border-color: var(--error); color: var(--deep-red); }
.woocommerce-checkout .col2-set { width: 100%; float: none; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { line-height: 1.6; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, #order_review_heading {
  font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.fmh-checkout-features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  border: 1px solid var(--line); padding: 18px 20px; margin-top: 26px;
}
.fmh-checkout-feature { display: flex; gap: 12px; align-items: center; }
.fmh-checkout-feature + .fmh-checkout-feature { border-left: 1px solid var(--line); padding-left: 16px; }
.fmh-checkout-feature svg { flex: none; }
.fmh-checkout-feature-copy { display: flex; flex-direction: column; font-size: 12.5px; }
.fmh-checkout-feature-copy strong { font-family: var(--font-serif); font-size: 14px; font-weight: 600; }
.fmh-checkout-feature-copy span { color: var(--ink-soft); }

.fmh-summary-card { border: 1px solid var(--gold); background: var(--paper); padding: 30px 30px 26px; }
.fmh-summary-head { text-align: center; margin-bottom: 20px; }
.fmh-summary-head .fmh-rule-flower { max-width: 180px; margin: 0 auto; }
.fmh-summary-title { font-size: 1.2rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.7em; }
.fmh-summary-card table.shop_table { border: none; }
.fmh-summary-card table.shop_table th, .fmh-summary-card table.shop_table td { padding: 12px 4px; background: transparent; }
.fmh-summary-card .order-total th, .fmh-summary-card .order-total td {
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.18em; font-size: 15px;
  border-top: 1px solid var(--gold-line); border-bottom: none;
}
.fmh-summary-card .order-total .amount { color: var(--ink); font-family: var(--font-serif); font-size: 21px; letter-spacing: 0.02em; }
.fmh-included-badge {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--gold-line); padding: 13px 16px; margin: 10px 0; font-size: 13px;
}
.fmh-included-badge svg { flex: none; }
.fmh-included-badge strong { display: block; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12.5px; }
.fmh-included-badge span { color: var(--ink-soft); }
.fmh-aud-charge-note {
  border: 1px solid var(--gold); background: transparent;
  padding: 12px 16px; margin: 0 0 16px; font-size: 14px;
}
.fmh-payment-note { font-size: 13.5px; color: var(--ink-soft); }
.fmh-terms-consent { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.fmh-terms-consent .fmh-consent-label { margin-bottom: 12px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.fmh-terms-version { color: var(--ink-soft); }
#place_order { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; letter-spacing: 0.22em; }
#place_order::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><rect x="4" y="10" width="16" height="11" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/></svg>') center / contain no-repeat;
}
.fmh-thankyou-extra { border: 1.3px solid var(--line-strong); padding: 22px 26px; margin: 22px 0; }
.fmh-alert { color: var(--deep-red); font-weight: 600; }

/* ------------------------------------------------------------------- footer */
.fmh-footer { border-top: 1px solid var(--line-strong); background: var(--ivory-deep); margin-top: 40px; }
.fmh-footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 54px 30px 30px;
  display: grid; grid-template-columns: 1.3fr 1fr 0.9fr 1.2fr; gap: 40px;
}
.fmh-footer-heading { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.fmh-footer-entity { font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; }
.fmh-footer-links { list-style: none; margin: 0; padding: 0; }
.fmh-footer-links a { color: var(--ink); font-size: 14.5px; display: inline-block; padding: 4px 0; }
.fmh-footer-links a:hover { color: var(--vermilion); }
.fmh-footer .fmh-contact-channels li { border: none; padding: 4px 0; }
.fmh-footer .fmh-channel-label { min-width: 86px; }
.fmh-footer-social a { color: var(--ink); margin-right: 10px; }
.fmh-footer-bottom { border-top: 1px solid var(--line); }
.fmh-footer-bottom p { max-width: var(--maxw); margin: 0 auto; padding: 18px 30px; font-size: 13px; color: var(--ink-soft); }

/* ---------------------------------------------------------- consent banner */
.fmh-consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 720px; margin: 0 auto; background: #fff;
  border: 1.3px solid var(--line-strong);
  padding: 22px 26px; box-shadow: 0 12px 40px rgba(32, 26, 24, 0.14);
}
.fmh-consent-text { font-size: 14.5px; margin-bottom: 12px; }
.fmh-consent-choices { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14px; }
.fmh-consent-choices label { display: flex; gap: 6px; align-items: center; font-weight: 400; letter-spacing: 0; text-transform: none; }
.fmh-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .fmh-hero-grid, .fmh-collection-grid { grid-template-columns: 1fr; gap: 38px; }
  .fmh-product-layout { grid-template-columns: 1fr; gap: 38px; }
  .fmh-product-gallery { position: static; }
  .fmh-checkout-grid { grid-template-columns: 1fr; }
  .fmh-footer-inner { grid-template-columns: 1fr 1fr; }
  .fmh-corp-points { grid-template-columns: 1fr 1fr; }
  .fmh-collection-features { grid-template-columns: repeat(3, 1fr); }
  .fmh-reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .fmh-nav { display: none; }
  .fmh-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .fmh-globe-btn { display: inline-flex; align-items: center; justify-content: center; }
  .fmh-header .fmh-lang-switcher, .fmh-header .fmh-currency-switcher, .fmh-util-divider { display: none; }
  .fmh-header-inner { padding: 12px 18px; gap: 8px; min-height: 70px; }
  .fmh-hero { padding: 26px 18px 18px; }
  .fmh-hero-headline { font-size: clamp(2.1rem, 9vw, 2.8rem); text-align: left; }
  .fmh-hero-copy .fmh-eyebrow { text-align: left; }
  .fmh-hero-copy .fmh-rule-flower { margin-left: 0; }
  .fmh-section, .fmh-page, .woocommerce { padding-left: 18px; padding-right: 18px; }
  .fmh-section { padding-top: 42px; padding-bottom: 42px; }
  .fmh-corporate-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .fmh-form-grid { grid-template-columns: 1fr; }
  .fmh-corp-form-wrap { padding: 26px 20px; }
  .fmh-corp-points { grid-template-columns: 1fr; }
  .fmh-collection-features { grid-template-columns: 1fr; }
  .fmh-tracking-form { grid-template-columns: 1fr; }
  .fmh-track-grid { grid-template-columns: 1fr; gap: 2px 0; }
  .fmh-track-grid dt { margin-top: 12px; }
  .fmh-destination-row { grid-template-columns: 1fr; }
  .fmh-footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 38px 18px 24px; }
  .fmh-newsletter-row { flex-direction: column; }
  .fmh-consent-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .fmh-consent-actions { justify-content: stretch; }
  .fmh-consent-actions .fmh-btn { flex: 1; }

  /* product page — mobile per the approved visual */
  .fmh-product-buy { text-align: center; }
  .fmh-product-title { text-transform: none; font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .fmh-product-buy .fmh-tiers, .fmh-product-buy .fmh-gift, .fmh-product-buy .fmh-destination { text-align: left; }
  .fmh-tiers legend { text-align: center; width: 100%; }
  .fmh-tiers-box { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .fmh-tier {
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
    border: 1px solid var(--gold) !important; border-radius: 10px; padding: 16px 8px 14px;
    text-align: center; background: transparent;
  }
  .fmh-tier.is-selected { background: var(--paper); box-shadow: inset 0 0 0 1px var(--gold); }
  .fmh-tier input { position: static; order: initial; width: 17px; height: 17px; margin: 1px 0 0; }
  .fmh-tier-badge { display: inline-flex; }
  .fmh-tier-name { align-items: center; }
  .fmh-tier-qty { font-size: 13px; letter-spacing: 0.1em; }
  .fmh-tier-pieces { margin: 2px 0 0; font-size: 10.5px; }
  .fmh-tier-price { text-align: center; border-top: 1px solid var(--line); padding-top: 8px; width: 80%; }
  .fmh-tier-price strong { font-size: 14.5px; }
  .fmh-gift-toggle { display: none; }
  .fmh-gift-switchrow { display: flex; }
  .fmh-buy-meta { padding-top: 18px; }
  .fmh-meta-cell { flex-direction: row; }
  .fmh-sticky-buy[hidden] { display: none; }
  .fmh-sticky-buy:not([hidden]) { display: block; }
  .fmh-product-layout { padding-bottom: 96px; }
  .fmh-checkout-frame { padding: 26px 20px; }
  .fmh-checkout-features { grid-template-columns: 1fr; }
  .fmh-checkout-feature + .fmh-checkout-feature { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 12px; }
  .fmh-summary-card { padding: 22px 18px; }
}
@media (min-width: 769px) {
  .fmh-sticky-buy { display: none !important; }
  .fmh-mobile-drawer { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
