/* ==========================================================================
   Hartfield Flowers — shared stylesheet
   Palette and type taken from the Figma "Final Layout" page.
   ========================================================================== */

:root {
  --cream: #F5EAC7;
  --cream-2: #EFE2BC;
  --olive: #A08D52;
  --olive-2: #8C7A45;
  --rose: #AA5F59;
  --rose-deep: #944945;
  --ink: #3E3218;
  --ink-soft: rgba(62, 50, 24, .72);
  --line: rgba(62, 50, 24, .22);

  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;  /* display */
  --f-body: 'Crimson Pro', Georgia, 'Times New Roman', serif;            /* body */
  --f-sc: 'Cormorant SC', Georgia, 'Times New Roman', serif;             /* structure */
  --f-voice: 'IM Fell English SC', Georgia, 'Times New Roman', serif;    /* voice / logo */

  --wrap: 1480px;
  --gutter: clamp(16px, 4vw, 72px);
  --radius: 10px;
  --header-h: 150px;
  --shadow: 0 10px 30px rgba(62, 50, 24, .14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
main { flex: 1 0 auto; width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.panel :focus-visible, .summary :focus-visible, .drawer :focus-visible { outline-color: var(--cream); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(32px, 4vw, 56px); }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.15; margin: 0; }
.page-title {
  font-family: var(--f-sc);
  font-weight: 600;
  font-size: clamp(34px, 3vw, 48px);
  color: var(--rose);
  margin: 0 0 22px;
}
.lede {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  margin: 0 0 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--rose);
  color: var(--cream);
  font-family: var(--f-display);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 500;
  line-height: 1;
  padding: 16px 44px;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(62, 50, 24, .16);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(62, 50, 24, .2); }
.btn:active { transform: translateY(0); }
.btn-sm { font-size: 18px; padding: 10px 22px; border-radius: 6px; }
.btn b { font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter) 4px;
  max-width: var(--wrap);
  margin-inline: auto;
}
.header-left, .header-right { display: flex; align-items: center; gap: 12px; }
.header-right { justify-self: end; }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0;
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
  transition: transform .2s ease, background .2s ease;
}
.icon-btn:hover { transform: translateY(-1px); background: rgba(62, 50, 24, .06); }
.icon-btn svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 12px; line-height: 18px; text-align: center;
}
.cart-count[hidden] { display: none; }
.wordmark {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--f-voice);
  font-size: clamp(24px, 2.7vw, 41px);
  line-height: 1;
  white-space: nowrap;
}
.wordmark img { height: clamp(40px, 4.1vw, 64px); width: auto; opacity: .9; }
.primary-nav {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 var(--gutter) 8px;
}
.primary-nav ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  list-style: none; margin: 0; padding: 0;
  gap: 4px clamp(14px, 3.4vw, 64px);
}
.primary-nav a {
  display: inline-block;
  font-family: var(--f-sc);
  font-weight: 600;
  font-size: clamp(17px, 1.35vw, 22px);
  color: var(--ink);
  text-decoration: none;
  padding: 2px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.primary-nav a:hover { border-color: var(--line); }
.primary-nav a.is-active { border-color: var(--ink); }
.nav-leaf { height: 40px; width: auto; opacity: .85; }

/* ---------- drawer (hamburger menu) ---------- */
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(440px, 88vw);
  background: var(--olive);
  color: var(--cream);
  z-index: 80;
  padding: 22px 32px 32px;
  display: flex; flex-direction: column;
  transform: translateX(-102%);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 12px 0 40px rgba(62, 50, 24, .25);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.drawer .icon-btn { color: var(--cream); }
.drawer .icon-btn:hover { background: rgba(245, 234, 199, .12); }
.drawer ul { list-style: disc; margin: 0; padding-left: 28px; display: grid; gap: 14px; }
.drawer li::marker { color: var(--cream); }
.drawer a {
  font-family: var(--f-sc);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--cream);
  text-decoration: none;
}
.drawer a:hover { text-decoration: underline; text-underline-offset: 6px; }
.drawer-foot { margin-top: auto; padding-top: 32px; font-family: var(--f-voice); font-size: 22px; opacity: .85; }
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(62, 50, 24, .38);
  z-index: 70;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--rose);
  color: var(--cream);
  padding: clamp(28px, 3vw, 44px) var(--gutter) 24px;
  margin-top: auto;
}
.site-footer .inner { max-width: var(--wrap); margin-inline: auto; }
.footer-title { font-family: var(--f-sc); font-weight: 600; font-size: clamp(34px, 3vw, 48px); margin: 0 0 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 12px clamp(36px, 7vw, 140px);
  font-family: var(--f-display);
  font-size: clamp(20px, 1.6vw, 26px);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-legal { margin: 34px 0 0; font-family: var(--f-display); font-size: clamp(16px, 1.3vw, 22px); opacity: .9; }

/* ---------- intro overlay (index) ----------
   Full-screen splash that sits above the site. Pressing "shop" parts the two
   halves and reveals the main page underneath. Shown once per session. */
.hero {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.intro-done .hero { display: none; }
.intro-open body { overflow: hidden; }
.hero-brand, .hero-copy {
  transition: transform .95s cubic-bezier(.76, 0, .24, 1), opacity .95s ease;
  will-change: transform;
}
.hero.is-leaving .hero-brand { transform: translateX(-100%); }
.hero.is-leaving .hero-copy { transform: translateX(100%); }
.hero.is-leaving .hero-brand img, .hero.is-leaving .hero-brand h1,
.hero.is-leaving .hero-copy p, .hero.is-leaving .hero-copy .btn { animation: none; opacity: 1; }
.hero-copy .btn { position: relative; }
.hero-copy .btn::after {
  content: ""; position: absolute; inset: -6px; border-radius: 12px;
  border: 1px solid rgba(170, 95, 89, .45); opacity: 0; transition: opacity .3s ease, inset .3s ease;
}
.hero-copy .btn:hover::after { opacity: 1; inset: -10px; }
/* the site underneath eases in as the intro parts */
.is-revealed main { animation: settle .9s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle {
  from { opacity: .4; }
  to { opacity: 1; }
}
.hero-brand {
  background: var(--olive);
  color: var(--cream);
  display: grid; place-content: center; justify-items: center;
  text-align: center;
  padding: 48px 32px;
}
.hero-brand img { width: min(380px, 62%); margin-bottom: 8px; animation: rise 1.1s ease both; }
.hero-brand h1 {
  font-family: var(--f-voice);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 78px);
  line-height: 1;
  animation: rise 1.1s .15s ease both;
}
.hero-copy {
  background: var(--cream);
  display: grid; place-content: center; justify-items: center;
  gap: clamp(28px, 4vw, 64px);
  text-align: center;
  padding: 48px 32px;
}
.hero-copy p {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 78px);
  line-height: 1.15;
  max-width: 12ch;
  margin: 0;
  animation: rise 1.1s .25s ease both;
}
.hero-copy .btn { animation: rise 1.1s .4s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- showcase (index) ---------- */
/* Figma: cards in the left ~41% column, olive panel fills the right ~59%
   edge to edge, block is one screen tall under the header. */
.showcase {
  display: grid;
  scroll-margin-top: var(--header-h);
  grid-template-columns: 41.5fr 58.5fr;
  min-height: calc(100svh - var(--header-h));
}
.tile-stack {
  display: grid;
  align-content: center;
  gap: clamp(28px, 9vh, 110px);
  padding: clamp(28px, 6vh, 64px) clamp(20px, 4.5vw, 86px) clamp(28px, 6vh, 64px) clamp(20px, 4.5vw, 86px);
}
.tile-card {
  display: block;
  background: var(--rose);
  color: var(--cream);
  border-radius: 12px;
  padding: clamp(28px, 3.5vw, 52px) 28px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.tile-card:hover { transform: translateY(-4px); background: var(--rose-deep); box-shadow: 0 18px 40px rgba(62, 50, 24, .22); }
.tile-card h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 2.6vw, 42px); margin-bottom: 8px; }
.tile-card p { font-family: var(--f-display); font-size: clamp(20px, 1.5vw, 26px); margin: 0; }
.chapter {
  position: relative;
  background: var(--olive);
  color: var(--cream);
  padding: clamp(28px, 5vh, 56px) clamp(24px, 6vw, 120px);
  text-align: center;
  overflow: hidden;
  display: grid; justify-items: center;
  /* Definite height (one screen under the header) so the middle row is the
     leftover space and the bouquet fills it without stretching the panel. */
  height: calc(100svh - var(--header-h));
  grid-template-rows: auto minmax(0, 1fr) auto;   /* heading / bouquet fills / paragraph */
  gap: clamp(20px, 4vh, 44px);
  text-decoration: none;
}
.chapter .corner { position: absolute; width: clamp(80px, 12%, 150px); opacity: .9; pointer-events: none; }
.chapter .corner.tl { top: 0; left: 0; }
.chapter .corner.tr { top: 0; right: 0; }
.chapter .corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.chapter .corner.br { bottom: 0; right: 0; transform: scaleY(-1); }
.chapter h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 2.4vw, 46px); }
.chapter h2 b, .chapter p b { font-weight: 700; }
.chapter img.bouquet {
  width: auto; height: 100%; min-height: 0;
  max-width: 62%; max-height: 100%;
  object-fit: contain; align-self: center;
}
.chapter p { font-family: var(--f-display); font-size: clamp(22px, 1.9vw, 36px); line-height: 1.3; margin: 0; max-width: 24ch; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(110px, 12vw, 170px);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-grid > * { border-radius: 8px; overflow: hidden; }
.span-2 { grid-column: span 2; }
.tall { grid-row: span 2; }
.gallery-cta { text-align: center; padding-top: clamp(28px, 3vw, 48px); }
.explore-tile {
  display: grid; place-items: center;
  background: var(--rose);
  color: var(--cream);
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 28px);
  text-align: center;
  text-decoration: none;
  padding: 16px;
  position: relative;
  transition: background .25s ease;
}
.explore-tile::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(245, 234, 199, .5); border-radius: 6px;
}
.explore-tile:hover { background: var(--rose-deep); }

/* photo placeholder — swap for real images later */
.photo-ph {
  position: relative;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #E7D9AE, #D7C48D);
  border: 1px solid rgba(62, 50, 24, .18);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--f-sc);
  font-weight: 600;
  font-size: clamp(15px, 1.3vw, 21px);
  text-align: center;
  padding: 12px;
}
.photo-ph::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px dashed rgba(62, 50, 24, .4);
  border-radius: 6px; pointer-events: none;
}

/* ---------- about ---------- */
.about-copy {
  max-width: 1180px; margin-inline: auto;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.35;
}
.about-copy p { margin: 0 0 1.2em; text-wrap: balance; }
.divider { display: block; width: min(460px, 70%); margin: clamp(24px, 4vw, 48px) auto 0; }

/* ---------- signature bouquets ---------- */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.pick {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(20px, 2.5vw, 36px);
  border-block: 1px solid var(--line);
}
.pick-img { aspect-ratio: 400 / 380; }
.pick-tag {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--rose);
  text-decoration: underline; text-underline-offset: 4px;
  margin: 0 0 12px;
}
.pick h2 { font-family: var(--f-sc); font-weight: 600; font-size: clamp(30px, 2.6vw, 40px); text-align: center; margin-bottom: 14px; }
.pick p.desc { font-family: var(--f-display); font-size: clamp(18px, 1.4vw, 23px); text-align: center; max-width: 60ch; margin: 0 auto 28px; line-height: 1.4; }
.pick-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-size: clamp(18px, 1.5vw, 24px); }
.sizes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-block: clamp(16px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
}
.sizes > div { text-align: center; padding: 0 clamp(12px, 2vw, 32px); border-left: 1px solid var(--line); }
.sizes > div:first-child { border-left: 0; }
.sizes h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2vw, 30px); margin-bottom: 6px; }
.sizes p { font-family: var(--f-display); font-size: clamp(17px, 1.4vw, 22px); margin: 0 0 8px; line-height: 1.3; }
.products {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 72px);
  padding-block: clamp(28px, 4vw, 56px);
}
.product { text-align: center; display: grid; gap: 10px; justify-items: center; }
.product .photo-ph { aspect-ratio: 1; }
.product h3 { font-family: var(--f-sc); font-weight: 600; font-size: clamp(22px, 1.9vw, 30px); }
.product p { font-family: var(--f-display); font-size: clamp(17px, 1.4vw, 22px); margin: 0; line-height: 1.3; max-width: 34ch; }
.product .price { margin-top: 4px; }
.product-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.select-plain {
  font-family: var(--f-display); font-size: 18px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px;
}

/* ---------- custom bouquets ----------
   Figma: copy + message box on the left, photo fills the right side to the
   edge of the page. */
.custom { display: grid; grid-template-columns: 44fr 56fr; align-items: start; }
.custom-copy {
  display: grid; gap: 24px;
  padding: 0 clamp(20px, 3vw, 56px) clamp(24px, 4vw, 56px) var(--gutter);
  max-width: 760px;
  justify-self: end;
  width: 100%;
}
.custom-copy p { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.3; text-align: center; margin: 0; }
.custom-copy p b { font-weight: 700; }
.custom-copy p a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.custom-copy .page-title { text-align: left; margin-bottom: 0; }
.custom-img { align-self: stretch; min-height: clamp(420px, 60vh, 760px); }
.custom-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- panels & forms ---------- */
.panel {
  background: var(--rose);
  color: var(--cream);
  border-radius: 10px;
  padding: 20px 26px 24px;
}
.panel-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2vw, 34px); margin: 0 0 12px; }
.form-title { font-family: var(--f-sc); font-weight: 600; font-size: clamp(22px, 1.7vw, 28px); margin: 0 0 10px; }
.form-block { margin-bottom: 26px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { font-family: var(--f-display); font-size: clamp(20px, 1.5vw, 24px); line-height: 1.1; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--cream);
  color: var(--ink);
  border: 0; border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--f-body); font-size: 18px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E3218' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.checks { display: flex; gap: 24px 56px; flex-wrap: wrap; margin: 6px 0 26px; }
.check { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 24px); cursor: pointer; }
.check span { text-decoration: underline; text-underline-offset: 5px; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--olive); }
.pay-row { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 14px; align-items: end; }
.btn-pay {
  background: var(--rose-deep);
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 6px;
  padding: 11px 16px;
  font-family: var(--f-display); font-size: 19px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.btn-pay:hover { background: #7f3d3a; transform: translateY(-1px); }
.form-note { font-family: var(--f-body); font-size: 15px; color: var(--ink-soft); margin: 10px 0 0; }
.message-form { display: grid; gap: 12px; }
.message-form .actions { display: flex; justify-content: flex-end; }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--cream); border-radius: 6px;
  padding: 8px 20px; font-family: var(--f-display); font-size: 19px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-ghost:hover { background: var(--cream); color: var(--rose); }

/* ---------- cart ---------- */
.cart-head { text-align: center; }
.cart-head h1 { font-family: var(--f-voice); font-weight: 400; font-size: clamp(38px, 4vw, 64px); }
.cart-head img { width: min(420px, 70%); margin: 6px auto 0; }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-top: clamp(16px, 2vw, 28px);
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  font-family: var(--f-sc); font-weight: 600; font-size: clamp(18px, 1.5vw, 24px);
  text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line);
}
.cart-table th:not(:first-child), .cart-table td:not(:first-child) { text-align: center; }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(18px, 1.5vw, 22px); vertical-align: middle; }
.cart-item { display: flex; gap: 16px; align-items: center; }
.cart-thumb { width: 96px; height: 96px; flex: none; }
.cart-thumb .photo-ph { font-size: 11px; padding: 6px; }
.cart-thumb .photo-ph::after { inset: 4px; }
.cart-name { font-family: var(--f-display); font-size: clamp(19px, 1.5vw, 23px); }
.cart-meta { font-family: var(--f-body); font-size: 14px; color: var(--ink-soft); display: grid; gap: 1px; }
.remove { font-family: var(--f-body); font-size: 14px; color: var(--rose); background: none; border: 0; padding: 0; margin-top: 6px; cursor: pointer; text-decoration: underline; }
.qty { display: inline-flex; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; }
.qty button { width: 30px; height: 30px; background: none; border: 0; font-family: var(--f-body); font-size: 18px; cursor: pointer; }
.qty button:hover { background: rgba(62, 50, 24, .08); }
.qty output { min-width: 34px; display: grid; place-items: center; border-inline: 1px solid var(--ink); font-family: var(--f-body); font-size: 15px; }
.cart-empty { text-align: center; padding: clamp(28px, 4vw, 56px) 0; font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); display: grid; gap: 18px; justify-items: center; }
.note-panel { margin-top: 24px; }
.note-panel textarea { min-height: 84px; }
.summary {
  background: var(--rose);
  color: var(--cream);
  border-radius: 12px;
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 34px);
  position: sticky;
  top: calc(var(--header-h) + 16px);
  box-shadow: var(--shadow);
}
.summary h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 2.5vw, 40px); margin-bottom: 18px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-display); font-size: clamp(21px, 1.8vw, 27px); padding: 7px 0; }
.summary .row.total { border-top: 1px solid var(--cream); margin-top: 8px; padding-top: 14px; }
.summary .hint { font-family: var(--f-body); font-size: 14px; opacity: .85; margin: 6px 0 0; }
.btn-checkout {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 24px;
  width: 100%; margin-top: 20px;
  background: var(--rose-deep);
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 8px;
  padding: 16px 22px;
  font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 25px);
  white-space: nowrap;
  text-decoration: none;
  transition: background .25s ease;
}
.btn-checkout .arrow { margin-left: auto; width: 60px; height: 2px; background: var(--cream); position: relative; transition: transform .3s ease; }
.btn-checkout .arrow::after {
  content: ""; position: absolute; right: 0; top: -6px; width: 12px; height: 12px;
  border-top: 2px solid var(--cream); border-right: 2px solid var(--cream); transform: rotate(45deg);
}
.btn-checkout::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(245, 234, 199, .38) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-checkout:hover { background: #7f3d3a; animation: pulse .9s ease; }
.btn-checkout:hover::before { animation: sheen .9s ease forwards; }
.btn-checkout:hover .arrow { transform: translateX(8px); }
.btn-checkout[aria-disabled="true"] { opacity: .55; pointer-events: none; }
@keyframes sheen { to { transform: translateX(120%); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 234, 199, 0); }
  40% { box-shadow: 0 0 0 7px rgba(245, 234, 199, .45); }
}

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.checkout-lines { list-style: none; margin: 0 0 12px; padding: 0; font-family: var(--f-display); font-size: 19px; display: grid; gap: 6px; }
.checkout-lines li { display: flex; justify-content: space-between; gap: 12px; }
.checkout-lines li.total { border-top: 1px solid var(--cream); padding-top: 8px; margin-top: 4px; font-weight: 600; }

/* ---------- account ---------- */
.auth-form { max-width: 560px; margin: 0 auto; display: grid; gap: 12px; padding: 26px 30px 30px; }
.auth-form[hidden] { display: none; }
.auth-form .panel-title { margin-bottom: 4px; }
.auth-form .field { margin-bottom: 4px; }
.auth-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  font-family: var(--f-display); font-size: 19px;
}
.auth-row a { color: var(--cream); text-underline-offset: 4px; }
.check-sm { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.check-sm input { width: 18px; height: 18px; margin: 0; accent-color: var(--olive); }
.auth-form .btn-ghost { justify-self: center; padding: 10px 44px; margin-top: 6px; }
.auth-switch { text-align: center; font-family: var(--f-display); font-size: 19px; margin: 6px 0 0; }
.auth-switch a { color: var(--cream); text-underline-offset: 4px; }

/* ---------- shells ---------- */
.shell { text-align: center; padding-block: clamp(48px, 8vw, 120px); }
.shell p { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); margin: 0; }
.legal h2 { font-family: var(--f-sc); font-weight: 600; font-size: clamp(26px, 2.2vw, 34px); margin: 32px 0 8px; }
.legal p { font-family: var(--f-display); font-size: clamp(19px, 1.5vw, 23px); max-width: 80ch; }

/* ---------- page transitions ----------
   Modern browsers: cross-document view transitions (header stays put, content
   crossfades and drifts). Others: app.js fades the page out on link click and
   the .page-enter animation fades the new page in. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.site-footer { view-transition-name: site-footer; }
::view-transition-old(root) { animation: 320ms cubic-bezier(.4, 0, .6, 1) both vt-out; }
::view-transition-new(root) { animation: 520ms 80ms cubic-bezier(.2, .7, .2, 1) both vt-in; }
::view-transition-old(site-header), ::view-transition-new(site-header),
::view-transition-old(site-footer), ::view-transition-new(site-footer) { animation: none; mix-blend-mode: normal; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

body.page-leave main { opacity: 0; transform: translateY(-8px); transition: opacity .28s cubic-bezier(.4, 0, .6, 1), transform .28s cubic-bezier(.4, 0, .6, 1); }
body.page-enter main { animation: page-in .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- toast & reveal ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--ink); color: var(--cream);
  padding: 12px 24px; border-radius: 999px;
  font-family: var(--f-display); font-size: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90; max-width: min(90vw, 560px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .products { gap: 28px; }
  .pay-row { grid-template-columns: 1fr 1fr; }
  .pay-row .btn-pay { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .primary-nav, .wordmark img { display: none; }
  .header-bar { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 16px; gap: 8px; }
  .header-left, .header-right { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn svg { width: 27px; height: 27px; }
  .wordmark { justify-self: center; font-size: clamp(17px, 5.2vw, 30px); }
  :root { --header-h: 60px; }
  .showcase, .custom, .checkout, .cart-layout { grid-template-columns: 1fr; }
  .custom-copy { max-width: none; padding: 0 var(--gutter) 24px; }
  .custom-img { min-height: 0; }
  .custom-img img { height: auto; }
  .summary { position: static; }
  .pick { grid-template-columns: 1fr; }
  .pick-img { max-width: 400px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, max-content); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: 56fr 44fr; }
  .hero-brand, .hero-copy { padding: 24px 20px; gap: 20px; }
  .hero-brand img { width: min(220px, 48%); }
  .hero-brand h1 { font-size: clamp(26px, 8.4vw, 40px); }
  .hero-copy p { font-size: clamp(30px, 9vw, 44px); max-width: 14ch; }
  .hero.is-leaving .hero-brand { transform: translateY(-100%); }
  .hero.is-leaving .hero-copy { transform: translateY(100%); }
  .products, .sizes { grid-template-columns: 1fr; }
  .sizes > div { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0; }
  .sizes > div:first-child { border-top: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { display: block; padding: 0; border: 0; text-align: left !important; }
  .cart-table td.col-product { grid-column: 1 / -1; }
  .cart-table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--f-sc); font-size: 13px; opacity: .7; margin-bottom: 2px; }
  .btn { padding: 14px 30px; }
  .drawer { width: 100vw; }
  .showcase { min-height: 0; }
  .chapter { padding-top: 64px; padding-bottom: 64px; }
  .chapter .corner { width: 64px; opacity: .55; }
  .chapter { height: auto; grid-template-rows: auto auto auto; }
  .chapter img.bouquet { width: min(320px, 70%); height: auto; max-width: 70%; }
  .tile-stack { gap: 28px; padding: 28px 20px; }
}
