/* LOVEMATCH 愛調味 — shop styles */
:root {
  --red: #E23B22;
  --red-hot: #C92F1A;
  --orange: #F25C2A;
  --wine: #7A1220;
  --wine-deep: #4A0A14;
  --magenta: #E01B6A;
  --gold: #E8C547;
  --gold-bright: #F0C419;
  --cream: #FFF6EE;
  --cream-2: #F3E4D4;
  --paper: #FFFBF7;
  --ink: #2A0D12;
  --ink-soft: #5C3036;
  --muted: #8A5A62;
  --line: rgba(42, 13, 18, 0.12);
  --header-h: 4.35rem;
  --page: 72rem;
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --shadow: 0 18px 50px rgba(122, 18, 32, 0.14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-serif: "Noto Serif TC", "Noto Serif CJK TC", "Noto Serif CJK HK", "Source Han Serif TC", "Songti TC", serif;
  --font-sans: "Noto Sans TC", "Noto Sans CJK TC", "Noto Sans CJK HK", "PingFang HK", "Hiragino Sans CNS", "Microsoft JhengHei", sans-serif;
  --focus: 2px solid var(--gold-bright);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(42, 13, 18, 0.035) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, .logo-zh, .hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 100;
  background: var(--wine);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 246, 238, 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--wine);
}
.logo-zh {
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.logo-heart {
  color: var(--red);
  font-size: 0.85em;
  transform: translateY(1px);
}
.logo-en {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.logo-wave {
  width: 100%;
  height: 6px;
  color: var(--gold);
  display: block;
  margin-top: 0.12rem;
}
.site-nav {
  display: flex;
  justify-content: center;
  gap: 0.2rem 1.5rem;
}
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--wine); }
.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  justify-self: end;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; }
.nav-toggle-bar::before { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle-bar::after { transform: translate(-50%, calc(-50% + 6px)); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.cart-btn {
  position: relative;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--wine);
  transition: background 0.2s, transform 0.2s var(--ease);
}
.cart-btn:hover { background: var(--cream-2); }
.cart-btn svg { width: 1.25rem; height: 1.25rem; }
.cart-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.cart-badge[hidden] { display: none !important; }
.cart-btn.pop { animation: cart-pop 0.45s var(--ease); }
@keyframes cart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@media (max-width: 800px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav-toggle { display: block; grid-column: 2; justify-self: end; }
  .cart-btn { grid-column: 3; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255, 246, 238, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
}

/* ---------- Layout ---------- */
.main { min-height: calc(100vh - var(--header-h)); }
.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.85rem;
}
.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36rem;
}
.gold-rule {
  width: 3.2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--orange));
  border-radius: 3px;
  margin: 1rem 0 1.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0.7rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(226, 59, 34, 0.28);
}
.btn-primary:hover { background: var(--red-hot); }
.btn-wine {
  background: var(--wine);
  color: var(--cream);
}
.btn-wine:hover { background: var(--wine-deep); }
.btn-ghost {
  background: transparent;
  color: var(--wine);
  border-color: rgba(122, 18, 32, 0.28);
}
.btn-ghost:hover { background: rgba(122, 18, 32, 0.06); }
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 246, 238, 0.45);
}
.btn-ghost-light:hover { background: rgba(255, 246, 238, 0.1); }
.btn-ig {
  background: #fff;
  color: var(--wine);
  border-color: rgba(122, 18, 32, 0.12);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: linear-gradient(165deg, #E01B6A 0%, #9B1430 48%, #7A1220 100%);
  color: var(--cream);
}
.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}
.hero-copy .eyebrow { color: var(--gold); }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  margin: 0 0 0.35rem;
}
.hero-title .heart {
  font-size: 0.72em;
  margin-left: 0.12em;
}
.hero-en {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-tag {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.35;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-copy .lede { color: rgba(255, 246, 238, 0.86); }
.hero-price {
  margin: 1.4rem 0 1.6rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-bright);
}
.hero-price strong {
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-left: 0.35rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-art { aspect-ratio: 1 / 1; min-height: 0; max-height: 28rem; }
  .hero-copy { padding: 1.85rem 1.25rem 2.2rem; }
}
@media (max-width: 640px) {
  .hero-title, .hero-en { display: none; }
  .hero-tag { font-size: 1.85rem; margin-bottom: 0.75rem; }
  .hero-price { margin: 1rem 0 1.2rem; }
  .hero-price strong { display: block; margin-left: 0; margin-top: 0.15rem; }
}

/* ---------- Featured / product split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #f0dcc8;
}
.price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--wine);
  letter-spacing: 0.04em;
  margin: 0.4rem 0 1rem;
}
.price small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-left: 0.35rem;
}
.product-kicker {
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 14rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--wine);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease);
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-width: none;
  z-index: -2;
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(42,13,18,0.08) 15%, rgba(74, 10, 20, 0.55) 48%, rgba(74, 10, 20, 0.9) 100%);
}
.cat-card.soon {
  background: linear-gradient(160deg, #8A2030, #4A0A14);
  color: var(--cream);
}
.cat-card.soon::after { display: none; }
.cat-card h3 {
  font-size: 1.55rem;
  letter-spacing: 0.12em;
}
.cat-card p { font-size: 0.88rem; opacity: 0.88; margin-top: 0.25rem; }
.badge-soon {
  align-self: flex-start;
  margin-bottom: auto;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(232, 197, 71, 0.7);
  color: var(--gold);
  border-radius: 999px;
}
@media (max-width: 800px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 11rem; }
}

/* ---------- Brand strip ---------- */
.brand-strip {
  background: linear-gradient(180deg, #fff8f1 0%, #f7e4d6 100%);
  overflow: hidden;
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: end;
  gap: 1rem;
}
.brand-grid .portrait {
  justify-self: center;
  width: min(100%, 16rem);
  filter: drop-shadow(0 18px 24px rgba(42,13,18,0.16));
}
.brand-grid .copy {
  text-align: center;
  padding: 2rem 0 3rem;
}
.quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.5;
  color: var(--wine);
}
@media (max-width: 800px) {
  .brand-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "copy copy" "o x";
  }
  .brand-grid .copy { grid-area: copy; padding-bottom: 0.5rem; }
  .brand-grid .portrait { width: min(100%, 12rem); }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
}
.step-num {
  width: 2.2rem; height: 2.2rem;
  border-radius: 999px;
  background: var(--wine);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Shop ---------- */
.page-hero {
  padding: 3rem 0 1.5rem;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 2rem;
}
.filter-btn {
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--wine); color: var(--wine); }
.filter-btn.is-active {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: #f0dcc8;
  overflow: hidden;
  position: relative;
}
.product-card .thumb picture,
.product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.product-card .thumb img {
  object-fit: cover;
  object-position: center;
  max-width: none;
}
.product-card .body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-card h2 { font-size: 1.35rem; }
.product-card .meta { color: var(--ink-soft); font-size: 0.92rem; }
.product-card .card-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--wine);
  margin-top: 0.35rem;
}
.product-card .body .btn { margin-top: auto; align-self: flex-start; }
.product-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.product-card.featured .thumb { aspect-ratio: 1400 / 1248; min-height: 0; }
.product-card.featured.portrait { grid-template-columns: 0.85fr 1.15fr; }
.product-card.featured.portrait .thumb { aspect-ratio: 790 / 987; background: #fff6ee; }
.product-card.featured .body { justify-content: center; padding: 1.8rem; }
@media (max-width: 800px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card.featured,
  .product-card.featured.portrait { grid-template-columns: 1fr; }
  .product-card.featured .thumb { aspect-ratio: 1 / 1; }
  .product-card.featured.portrait .thumb { aspect-ratio: 790 / 987; }
}
.empty-state {
  display: none;
  text-align: center;
  padding: 3.5rem 1.2rem;
  background: var(--paper);
  border: 1px dashed rgba(122, 18, 32, 0.25);
  border-radius: var(--radius);
}
.empty-state.is-visible { display: block; }
.empty-state h2 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.empty-state p { color: var(--ink-soft); max-width: 30rem; margin: 0 auto 1.4rem; }

/* ---------- Product page ---------- */
.crumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.crumb a { color: var(--wine); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-bottom: 4rem;
}
.product-gallery img {
  width: 100%;
  border-radius: var(--radius);
  background: #f0dcc8;
  box-shadow: var(--shadow);
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.1rem 0 1.2rem;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}
.qty-ctrl button {
  width: 2.5rem; height: 2.5rem;
  border: 0; background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--wine);
}
.qty-ctrl input {
  width: 2.6rem;
  border: 0;
  text-align: center;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-ctrl input::-webkit-outer-spin-button,
.qty-ctrl input::-webkit-inner-spin-button { appearance: none; }
.fine-print { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1rem; }
.story-block { margin-top: 2rem; }
.story-block h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.story-block p + p { margin-top: 0.8rem; }
.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.related a {
  text-decoration: none;
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.related a img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.related a span { display: block; padding: 0.8rem 1rem 1rem; font-family: var(--font-serif); }
@media (max-width: 800px) {
  .product-layout { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .product-gallery picture { display: block; }
  .product-gallery img {
    max-height: 22rem;
    height: 22rem;
    object-fit: cover;
    object-position: center 42%;
  }
}

/* ---------- About ---------- */
.about-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}
.about-hero .lede { margin: 0 auto; }
.couple-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 1rem auto 0;
  max-width: 28rem;
}
.couple-stage img {
  width: 46%;
  filter: drop-shadow(0 14px 20px rgba(42,13,18,0.14));
}
.prose {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 0 3rem;
}
.prose p + p { margin-top: 1rem; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 0.7rem; }
.pullquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--wine);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 1.6rem 0;
}

/* ---------- Order page ---------- */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 4rem;
}
.order-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.order-box h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.order-lines { display: grid; gap: 0.75rem; }
.order-line {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
}
.order-line img {
  width: 4.2rem; height: 4.2rem;
  object-fit: cover;
  border-radius: 0.6rem;
  background: #f0dcc8;
}
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.order-total strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--wine);
}
.order-empty { color: var(--ink-soft); }
@media (max-width: 800px) {
  .order-layout { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #7A1220 0%, #4A0A14 100%);
  color: var(--cream);
  padding: 3.2rem 0 2rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand .logo-zh { font-size: 1.6rem; color: var(--gold-bright); }
.footer-brand .logo-en { color: var(--gold); }
.footer-brand p { margin-top: 0.8rem; color: rgba(255,246,238,0.82); max-width: 22rem; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-links, .footer-meta { display: grid; gap: 0.4rem; }
.footer-bottom {
  max-width: var(--page);
  margin: 2rem auto 0;
  padding: 1.2rem 1.25rem 0;
  border-top: 1px solid rgba(255,246,238,0.12);
  color: rgba(255,246,238,0.62);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- Cart drawer ---------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 13, 18, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 60;
}
.cart-backdrop.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(26.5rem, 100vw);
  background: var(--cream);
  z-index: 61;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(42,13,18,0.18);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 1.35rem; }
.icon-btn {
  width: 2.5rem; height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  color: var(--ink);
}
.icon-btn:hover { background: var(--cream-2); }
.cart-body {
  flex: 1;
  overflow: auto;
  padding: 1.15rem 1.25rem;
}
.cart-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 4.5rem;
  object-fit: cover;
  border-radius: 0.6rem;
  background: #f0dcc8;
  max-width: none;
}
.cart-item > div { flex: 1; min-width: 0; }
.cart-item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.cart-item .meta { font-size: 0.88rem; color: var(--ink-soft); }
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cart-item .line-price {
  white-space: nowrap;
  font-weight: 600;
  color: var(--wine);
  margin: 0.25rem 0 0;
  font-size: 0.98rem;
}
.cart-item-row .qty-ctrl { flex-shrink: 0; }
.cart-remove {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.82rem;
  padding: 0;
}
.cart-foot {
  padding: 1.15rem 1.25rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  gap: 0.7rem;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.cart-total strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--wine);
}
.cart-empty {
  text-align: center;
  padding: 2.5rem 0.5rem;
  color: var(--ink-soft);
}
body.cart-open { overflow: hidden; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 120%);
  background: var(--wine);
  color: var(--cream);
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  z-index: 80;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Misc ---------- */
.ig-band {
  text-align: center;
  padding: 3.5rem 1.25rem 4rem;
  background: linear-gradient(180deg, #E01B6A 0%, #7A1220 100%);
  color: #fff;
}
.ig-band h2 { color: var(--gold-bright); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6rem; }
.ig-band p { max-width: 32rem; margin: 0 auto 1.4rem; color: rgba(255,246,238,0.88); }

.message-preview {
  white-space: pre-wrap;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0.8rem 0 1rem;
}

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