/* ==========================================================================
   Petal & Pop — site stylesheet
   Sections: 1 tokens, 2 reset, 3 typography, 4 layout helpers, 5 header,
   6 buttons & links, 7 hero, 8 values, 9 collection, 10 craft, 11 tasting,
   12 faq, 13 footer, 14 cookie banner, 15 dialogs & toast, 16 privacy page,
   17 motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --cream: #fcf8f0;
  --cream-deep: #f6eee1;
  --paper: #fffdf8;
  --plum: #3b1f2b;
  --plum-soft: #5b3a47;
  --coral: #d9694f;
  --coral-deep: #b8482f;
  --coral-wash: #f7e2da;
  --butter: #f2ce7b;
  --butter-soft: #f9edcb;
  --sage: #97a98c;
  --sage-deep: #5f7358;
  --line: rgba(59, 31, 43, 0.14);
  --line-strong: rgba(59, 31, 43, 0.28);
  --muted: #6b5360;
  --shadow-soft: 0 18px 45px -26px rgba(59, 31, 43, 0.45);
  --shadow-lift: 0 26px 60px -30px rgba(59, 31, 43, 0.5);
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1220px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --header-height: 92px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-regular.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Reset ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { height: auto; }

button,
input,
summary { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p { margin: 0; }

address { font-style: normal; }

::selection { background: var(--butter); color: var(--plum); }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--coral-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.craft-section :focus-visible,
.site-footer :focus-visible,
.gift-art :focus-visible { outline-color: var(--butter); }

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--plum);
}

h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.2; }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--coral-deep);
}

p { color: var(--muted); }

strong { font-weight: 700; color: var(--plum); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.eyebrow-line {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: currentColor;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 4. Layout helpers -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-space { padding-block: clamp(4rem, 9vw, 7.5rem); }

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--plum);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.noscript-note {
  margin-block: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--butter-soft);
  color: var(--plum);
  font-size: 0.94rem;
}

/* 5. Announcement & header ------------------------------------------------- */
.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem var(--gutter);
  background: var(--plum);
  color: var(--cream-deep);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}
.announcement .icon { width: 0.85rem; height: 0.85rem; color: var(--butter); fill: currentColor; stroke: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(252, 248, 240, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(59, 31, 43, 0.55); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  fill: var(--coral);
  stroke: none;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand-mark circle { fill: var(--butter); }

.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--plum);
}
.brand-period { color: var(--coral); }
.brand-tagline {
  margin-top: 0.28rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.site-nav a {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--plum-soft);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.header-box { gap: 0.5rem; padding: 0.6rem 0.9rem 0.6rem 1.1rem; font-size: 0.85rem; }
.box-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--plum);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
}
.header-box.is-empty .box-count { background: rgba(59, 31, 43, 0.16); color: var(--plum); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--plum);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}
.menu-toggle span:first-child { top: 20px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateX(-50%) translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateX(-50%) translateY(-3px) rotate(-45deg); }

/* 6. Buttons & links ------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.button .icon { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.button:hover .icon { transform: translateX(3px); }

.button-primary { background: var(--coral); color: #fffaf4; box-shadow: 0 12px 26px -16px rgba(184, 72, 47, 0.9); }
.button-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.button-primary:active { transform: translateY(0); }

.button-outline { border-color: var(--line-strong); background: transparent; color: var(--plum); }
.button-outline:hover { border-color: var(--plum); background: rgba(59, 31, 43, 0.05); }

.button-small { padding: 0.62rem 1.1rem; font-size: 0.82rem; }

.button[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.text-link .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--coral-deep); border-color: var(--coral); }
.text-link:hover .icon { transform: translate(2px, -2px); }
.text-link-light { color: var(--butter-soft); border-color: rgba(249, 237, 203, 0.45); }
.text-link-light:hover { color: #fff; border-color: var(--butter); }

.footer-link {
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(59, 31, 43, 0.3);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-link:hover { text-decoration-color: currentColor; color: var(--coral-deep); }
.footer-link[disabled] { opacity: 0.4; cursor: not-allowed; text-decoration: none; }
.site-footer .footer-link:hover { color: var(--butter); }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--plum);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.icon-button:hover { background: rgba(59, 31, 43, 0.06); border-color: var(--line-strong); transform: rotate(90deg); }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 4.8rem) clamp(3rem, 7vw, 5.5rem);
}

.hero-eyebrow { margin-bottom: 1.4rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-description {
  max-width: 34ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2.1rem;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.flavor-dots { display: inline-flex; gap: 4px; }
.flavor-dots span { width: 9px; height: 9px; border-radius: 50%; }
.flavor-dots span:nth-child(1) { background: #d9694f; }
.flavor-dots span:nth-child(2) { background: #eeb8ac; }
.flavor-dots span:nth-child(3) { background: var(--butter); }
.flavor-dots span:nth-child(4) { background: var(--sage); }

.hero-visual { position: relative; padding-block: 1rem 2.4rem; }
.hero-image-frame {
  position: relative;
  border-radius: 320px 320px var(--radius-l) var(--radius-l);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-lift);
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

.hero-stamp {
  position: absolute;
  top: 6%;
  left: -6%;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  padding: 0.9rem;
  border-radius: 50%;
  background: var(--butter);
  color: var(--plum);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: 0 14px 30px -18px rgba(59, 31, 43, 0.7);
}
.hero-stamp .icon { width: 0.95rem; height: 0.95rem; margin-bottom: 0.15rem; fill: currentColor; stroke: none; }

.hero-image-note {
  position: absolute;
  right: -4%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-m);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.note-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--coral-wash);
  color: var(--coral-deep);
}
.note-icon .icon { width: 22px; height: 22px; }
.note-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.note-title { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--plum); }

.hero-side-note {
  position: absolute;
  right: -0.5rem;
  top: 16%;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* 8. Values strip ---------------------------------------------------------- */
.values-strip {
  padding-block: 1.6rem;
  border-block: 1px solid var(--line);
  background: rgba(246, 238, 225, 0.55);
}
.values-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-inline: 0.25rem;
  font-size: 0.88rem;
}
.value-item .icon { width: 30px; height: 30px; color: var(--sage-deep); }
.value-item > span { display: flex; flex-direction: column; }
.value-item strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; }
.value-item span span { font-size: 0.82rem; color: var(--muted); }

/* 9. Collection ------------------------------------------------------------ */
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 2rem clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-heading .eyebrow { margin-bottom: 1rem; }
.section-intro { max-width: 42ch; font-size: 1rem; line-height: 1.75; }

.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--plum-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-button span { font-size: 0.7rem; color: var(--muted); }
.filter-button:hover:not([disabled]) { border-color: var(--plum); color: var(--plum); }
.filter-button.is-active { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.filter-button.is-active span { color: rgba(252, 248, 240, 0.65); }
.filter-button[disabled] { cursor: default; }
.results-count { font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.7rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--paper);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.product-card.is-hidden { display: none; }

.product-image { position: relative; border-radius: 22px; overflow: hidden; background: var(--cream-deep); }
.product-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.92);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum-soft);
}

.product-copy { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 0.55rem 0; }
.product-category {
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.product-copy h3 { margin-bottom: 0.6rem; }
.product-description { font-size: 0.88rem; line-height: 1.6; }
.product-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.product-price strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--plum); }

.add-button {
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.78rem 1rem;
  border-color: var(--plum);
  background: transparent;
  color: var(--plum);
  font-size: 0.83rem;
}
.add-button:hover { background: var(--plum); color: var(--cream); }
.add-button.is-added { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.add-button[disabled] { opacity: 0.5; }
.add-button.is-added .icon { transform: none; }

.ingredient-details { margin-top: 0.85rem; border-top: 1px dashed var(--line-strong); }
.ingredient-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 0.7rem 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.ingredient-details summary::-webkit-details-marker { display: none; }
.ingredient-details summary .icon { width: 0.85rem; height: 0.85rem; transition: transform 0.25s var(--ease); }
.ingredient-details[open] summary .icon { transform: rotate(45deg); }
.ingredient-details > div { padding-bottom: 0.5rem; }
.ingredient-details p { font-size: 0.76rem; line-height: 1.6; color: var(--muted); }
.ingredient-details p + p { margin-top: 0.5rem; }

.collection-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-m);
  background: var(--butter-soft);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--plum-soft);
}
.collection-disclosure .icon { width: 1rem; height: 1rem; margin-top: 0.15rem; color: var(--plum); }

/* 10. Craft ---------------------------------------------------------------- */
.craft-section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--plum);
  color: var(--cream-deep);
  overflow: hidden;
}
.craft-section::before {
  content: "";
  position: absolute;
  inset: auto -8% -40% 32%;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 105, 79, 0.28), transparent 68%);
  pointer-events: none;
}
.craft-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.craft-visual { position: relative; }
.craft-visual img {
  width: 100%;
  border-radius: var(--radius-m) var(--radius-m) 160px var(--radius-m);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65);
}
.craft-caption {
  position: absolute;
  right: -1rem;
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 260px;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-m);
  background: var(--butter);
  color: var(--plum);
  font-size: 0.78rem;
  line-height: 1.45;
}
.caption-number { flex: none; font-family: var(--font-display); font-size: 1rem; white-space: nowrap; }
.craft-caption .icon { width: 1rem; height: 1rem; margin-left: auto; fill: currentColor; stroke: none; }

.craft-copy .eyebrow { color: var(--butter); }
.craft-copy h2 { color: var(--cream); }
.craft-copy h2 em { color: var(--butter); }
.craft-intro { margin-top: 1.2rem; max-width: 46ch; color: rgba(252, 248, 240, 0.76); font-size: 1rem; line-height: 1.7; }

.craft-steps { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.craft-steps li { display: flex; gap: 1.1rem; padding-top: 1.4rem; border-top: 1px solid rgba(252, 248, 240, 0.18); }
.craft-steps li:first-child { border-top: 0; padding-top: 0; }
.step-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--butter);
  letter-spacing: 0.08em;
}
.craft-steps h3 { color: var(--cream); margin-bottom: 0.35rem; }
.craft-steps p { font-size: 0.9rem; line-height: 1.65; color: rgba(252, 248, 240, 0.7); }
.craft-copy .text-link { margin-top: 1.9rem; }

/* 11. Tasting -------------------------------------------------------------- */
.tasting-section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.tasting-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4vw, 3.4rem);
  border: 1px solid rgba(59, 31, 43, 0.1);
  border-radius: var(--radius-l);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 253, 248, 0.85), transparent 52%),
    linear-gradient(135deg, var(--butter-soft), #f4dc9d 55%, #efd08a);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.gift-art { display: grid; place-items: center; }
.gift-illustration { width: 100%; max-width: 430px; height: auto; }

.gift-shadow { fill: rgba(59, 31, 43, 0.14); }
.gift-back, .gift-flap-back, .gift-flap-right { fill: #fdf4e0; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.gift-flap-back { fill: #f8e6c4; }
.gift-flap-right { fill: #fff9ec; }
.gift-tissue { fill: #f2b8a5; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.gift-stick { stroke: var(--plum); stroke-width: 5; stroke-linecap: round; fill: none; }
.gift-pop-pink { fill: #e5826a; stroke: var(--plum); stroke-width: 2.5; }
.gift-pop-yellow { fill: var(--butter); stroke: var(--plum); stroke-width: 2.5; }
.gift-pop-orange { fill: #eda45f; stroke: var(--plum); stroke-width: 2.5; }
.gift-swirl { fill: none; stroke: #fff7e6; stroke-width: 3.5; stroke-linecap: round; }
.gift-caramel { fill: #d99a4e; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.gift-front-left { fill: #f3b39c; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.gift-front-right { fill: #ef9f86; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.gift-flap-front { fill: #fdeed4; stroke: var(--plum); stroke-width: 2; stroke-linejoin: round; }
.gift-flower path { fill: var(--plum); }
.gift-flower circle { fill: var(--butter); }
.gift-spark { fill: var(--plum); opacity: 0.55; }

.tasting-copy .eyebrow { color: var(--coral-deep); margin-bottom: 0.9rem; }
.tasting-copy h2 { margin-bottom: 1.1rem; }
.tasting-copy p { max-width: 46ch; font-size: 0.98rem; line-height: 1.7; color: var(--plum-soft); }
.tasting-copy .button { margin-top: 1.6rem; }
.tasting-copy .button[disabled] { opacity: 0.55; }
.tasting-small { display: block; margin-top: 0.9rem; font-size: 0.78rem; color: rgba(59, 31, 43, 0.66); }

/* 12. FAQ ------------------------------------------------------------------ */
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  border-top: 1px solid var(--line);
}
.faq-intro { position: sticky; top: calc(var(--header-height) + 2rem); }
.faq-intro h2 { margin-bottom: 1.1rem; }
.faq-intro p { font-size: 0.95rem; line-height: 1.7; }
.faq-intro .text-link { margin-top: 1.5rem; }

.faq-list { display: grid; gap: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--plum);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq-list details[open] summary .icon { transform: rotate(45deg); background: var(--butter); border-color: var(--butter); }
.faq-list summary:hover .icon { background: var(--butter-soft); }
.faq-answer { padding-bottom: 1.5rem; padding-right: clamp(0rem, 4vw, 3rem); }
.faq-answer p { font-size: 0.92rem; line-height: 1.75; }

/* 13. Footer --------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--plum);
  color: rgba(252, 248, 240, 0.78);
  font-size: 0.9rem;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: 2.5rem clamp(2rem, 4vw, 4rem);
  padding-bottom: 2.5rem;
}
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand-tagline { color: rgba(252, 248, 240, 0.55); }
.site-footer .brand-mark { fill: var(--coral); }
.footer-brand-column p { margin-top: 1.2rem; max-width: 32ch; color: rgba(252, 248, 240, 0.72); line-height: 1.7; }
.footer-signoff {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--butter);
}
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; }
.footer-column h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(252, 248, 240, 0.5);
}
.footer-column a { text-decoration: none; color: rgba(252, 248, 240, 0.85); transition: color 0.2s var(--ease); }
.footer-column a:hover { color: var(--butter); }
.footer-contact address { color: rgba(252, 248, 240, 0.72); line-height: 1.6; }
.contact-note { font-size: 0.76rem; line-height: 1.6; color: rgba(252, 248, 240, 0.45); }

.footer-demo {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(252, 248, 240, 0.16);
  border-bottom: 1px solid rgba(252, 248, 240, 0.16);
}
.footer-demo .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: var(--butter); }
.footer-demo p { font-size: 0.78rem; line-height: 1.65; color: rgba(252, 248, 240, 0.6); max-width: 92ch; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2rem;
  font-size: 0.78rem;
  color: rgba(252, 248, 240, 0.55);
}
.footer-bottom > div { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.footer-bottom a { text-decoration: none; color: rgba(252, 248, 240, 0.75); }
.footer-bottom a:hover { color: var(--butter); }
.footer-bottom .footer-link { color: rgba(252, 248, 240, 0.75); font-size: 0.78rem; }
.back-top { display: inline-flex; align-items: center; gap: 0.35rem; }
.back-top .icon { width: 0.9rem; height: 0.9rem; }

/* 14. Cookie banner -------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  z-index: 120;
  width: min(1080px, calc(100% - 2rem));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--paper);
  box-shadow: 0 24px 60px -24px rgba(59, 31, 43, 0.45);
  animation: banner-in 0.5s var(--ease) both;
}
@keyframes banner-in {
  from { opacity: 0; transform: translateX(-50%) translateY(18px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-banner-copy { display: flex; align-items: flex-start; gap: 0.9rem; flex: 1 1 420px; }
.cookie-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--butter-soft);
  color: var(--coral-deep);
}
.cookie-symbol .icon { width: 24px; height: 24px; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.cookie-banner p { font-size: 0.8rem; line-height: 1.55; max-width: 62ch; }
.cookie-banner p a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.cookie-banner-actions > div { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-banner-actions .button { padding: 0.72rem 1.15rem; font-size: 0.82rem; }
.cookie-manage {
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--plum-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-manage:hover { color: var(--coral-deep); }

/* 15. Dialogs & toast ------------------------------------------------------ */
dialog {
  width: min(560px, calc(100% - 2rem));
  max-height: calc(100vh - 3rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--paper);
  color: var(--plum);
  box-shadow: 0 40px 90px -40px rgba(59, 31, 43, 0.7);
  overflow: hidden;
}
dialog:not([open]) { display: none !important; }
dialog::backdrop { background: rgba(45, 23, 33, 0.55); backdrop-filter: blur(3px); }
dialog[open] { animation: dialog-in 0.35s var(--ease) both; }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tasting-dialog { width: min(520px, calc(100% - 2rem)); display: flex; flex-direction: column; }
.tasting-dialog[open] { display: flex; }

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.6rem 1rem;
  border-bottom: 1px solid var(--line);
}
.drawer-header .eyebrow { margin-bottom: 0.4rem; }
.drawer-header h2 { font-size: 1.85rem; }
.title-dot { color: var(--coral); }

.drawer-body { padding: 1.3rem 1.6rem 1rem; overflow-y: auto; }
.drawer-intro { font-size: 0.86rem; color: var(--muted); }

.tasting-empty { padding: 1.6rem 0 1rem; text-align: center; }
.empty-icon { width: 72px; height: 72px; margin: 0 auto 1rem; fill: none; stroke: var(--sage-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tasting-empty h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.tasting-empty p { font-size: 0.88rem; max-width: 34ch; margin: 0 auto 1.4rem; }

.tasting-items { display: grid; }
.tasting-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.tasting-item:first-child { padding-top: 0.4rem; }
.item-name { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
.item-meta { display: block; font-size: 0.76rem; color: var(--muted); }
.item-price { font-size: 0.85rem; font-weight: 600; text-align: right; color: var(--plum); }
.quantity-control {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
}
.qty-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--plum);
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.qty-button:hover:not([disabled]) { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.qty-button[disabled] { opacity: 0.35; cursor: not-allowed; }
.qty-value { min-width: 2ch; text-align: center; font-size: 0.86rem; font-weight: 700; }
.remove-item {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.76rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.remove-item:hover { color: var(--coral-deep); }

.quantity-note { margin-top: 0.9rem; font-size: 0.74rem; line-height: 1.55; color: var(--muted); }

.clear-confirmation {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--cream-deep);
}
.clear-confirmation p { font-size: 0.84rem; color: var(--plum); margin-bottom: 0.7rem; }
.clear-confirmation div { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.drawer-footer {
  padding: 1.1rem 1.6rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.tasting-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.tasting-total > span { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tasting-total small { font-size: 0.66rem; }
#tasting-total { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; }
.drawer-disclaimer { margin-top: 0.35rem; font-size: 0.74rem; color: var(--muted); }
.download-button { width: 100%; margin-top: 1rem; }
.drawer-secondary { display: flex; justify-content: center; gap: 1.4rem; margin-top: 0.9rem; }
.drawer-secondary .footer-link { font-size: 0.8rem; }
.drawer-status { margin-top: 0.7rem; font-size: 0.78rem; font-weight: 600; color: var(--sage-deep); min-height: 1.1em; }
.drawer-status.is-error { color: var(--coral-deep); }
.storage-note { margin-top: 0.5rem; font-size: 0.7rem; line-height: 1.55; color: var(--muted); }

.cookie-dialog { width: min(600px, calc(100% - 2rem)); padding: 1.7rem clamp(1.2rem, 4vw, 2rem) 1.8rem; overflow-y: auto; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.dialog-heading .eyebrow { margin-bottom: 0; }
.cookie-dialog h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 0.8rem; }
.cookie-dialog-intro { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.4rem; }
.preference-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.preference-row h3, .preference-row label strong { font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; color: var(--plum); }
.preference-row p { font-size: 0.78rem; line-height: 1.6; margin-top: 0.25rem; max-width: 46ch; }
.always-on {
  flex: none;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--sage);
  color: #24301f;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.switch { position: relative; flex: none; display: inline-block; width: 50px; height: 28px; cursor: pointer; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch-track {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: rgba(59, 31, 43, 0.22);
  transition: background-color 0.25s var(--ease);
  pointer-events: none;
}
.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(59, 31, 43, 0.35);
  transition: transform 0.25s var(--ease);
}
.switch input:checked + .switch-track { background: var(--sage-deep); }
.switch input:checked + .switch-track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--coral-deep); outline-offset: 3px; }
.cookie-fallback-note { margin-top: 1.1rem; font-size: 0.76rem; line-height: 1.6; color: var(--muted); }
.cookie-fallback-note a { color: var(--coral-deep); }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.cookie-dialog-actions .button { flex: 1 1 180px; }
.cookie-choice-status { margin-top: 0.9rem; font-size: 0.8rem; font-weight: 600; color: var(--sage-deep); min-height: 1.1em; }

.toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: min(420px, calc(100% - 2.4rem));
  padding: 0.8rem 0.9rem 0.8rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--plum);
  color: var(--cream);
  font-size: 0.84rem;
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.6);
  animation: toast-in 0.35s var(--ease) both;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast .icon { color: var(--butter); }
.toast-action {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--butter);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toast-close { width: 30px; height: 30px; flex: none; border-color: rgba(252, 248, 240, 0.3); color: var(--cream); }
.toast-close:hover { background: rgba(252, 248, 240, 0.12); border-color: rgba(252, 248, 240, 0.5); }
.toast-close .icon { width: 0.9rem; height: 0.9rem; }

/* 16. Privacy page --------------------------------------------------------- */
.privacy-hero {
  max-width: 900px;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}
.privacy-back { margin-bottom: 1.8rem; }
.privacy-hero .eyebrow { display: block; }
.privacy-hero h1 { margin-bottom: 1.2rem; }
.privacy-hero > p { max-width: 56ch; font-size: clamp(0.98rem, 1.3vw, 1.1rem); line-height: 1.7; }
.privacy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.privacy-toc {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}
.privacy-toc .eyebrow { margin-bottom: 0.9rem; font-size: 0.68rem; }
.privacy-toc nav { display: grid; gap: 0.55rem; }
.privacy-toc nav a {
  font-size: 0.83rem;
  color: var(--plum-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.privacy-toc nav a:hover { color: var(--coral-deep); border-color: var(--line-strong); }
.privacy-toc nav a.is-current { color: var(--coral-deep); border-color: var(--coral-line, var(--line-strong)); font-weight: 600; }
.privacy-toc .button { width: 100%; margin-top: 1.3rem; }

.privacy-content > section { padding-block: clamp(1.6rem, 3vw, 2.2rem); border-bottom: 1px solid var(--line); }
.privacy-content > section:first-child { padding-top: 0; }
.privacy-content > section:last-child { border-bottom: 0; }
.privacy-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 1rem;
  color: var(--plum);
}
.privacy-content h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.privacy-content p { font-size: 0.94rem; line-height: 1.78; margin-bottom: 0.9rem; }
.privacy-content p:last-child { margin-bottom: 0; }
.privacy-content ul { display: grid; gap: 0.6rem; margin: 0 0 1rem; }
.privacy-content ul li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}
.privacy-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}
.privacy-content a { color: var(--coral-deep); text-underline-offset: 3px; }
.privacy-content .text-link { color: var(--plum); margin-top: 0.5rem; }
.privacy-content code {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: var(--cream-deep);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.85em;
  color: var(--plum);
}

.cookie-table-wrap {
  margin-bottom: 1.2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}
.cookie-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.84rem; }
.cookie-table caption { padding: 0.9rem 1rem 0; text-align: left; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cookie-table th, .cookie-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cookie-table thead th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--cream-deep); }
.cookie-table tbody th { font-weight: 600; color: var(--plum); white-space: nowrap; }
.cookie-table tbody th span { display: block; margin-top: 0.2rem; font-size: 0.68rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cookie-table td { color: var(--muted); line-height: 1.6; }
.cookie-table tbody tr:last-child th, .cookie-table tbody tr:last-child td { border-bottom: 0; }

.privacy-callout {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: var(--radius-m);
  background: var(--butter-soft);
}
.privacy-callout p { color: var(--plum-soft); }

/* 17. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .product-card:hover { transform: none; }
  .product-card:hover .product-image img { transform: none; }
  .button:hover { transform: none; }
}

@media print {
  .announcement, .site-header, .cookie-banner, .toast, dialog, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .craft-section, .tasting-banner { color: #000; background: #fff; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 2.5rem; }
  .hero-stamp { width: 104px; height: 104px; font-size: 0.64rem; left: -3%; }
  .hero-image-note { right: -2%; }
}

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: 0.75rem; row-gap: 0.35rem; }
  .site-nav {
    order: 3;
    width: 100%;
    gap: 1.25rem;
    overflow-x: auto;
    padding-block: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; font-size: 0.84rem; }

  .js-enabled .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem var(--gutter) 1.2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(59, 31, 43, 0.6);
    overflow: visible;
  }
  .js-enabled .site-nav.is-open { display: flex; }
  .js-enabled .site-nav a {
    width: 100%;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .js-enabled .site-nav a::after { display: none; }
  .js-enabled .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }

  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero-copy { max-width: 34rem; }
  .hero-visual { order: -1; max-width: 560px; width: 100%; margin-inline: auto; }
  .hero-image-frame img { aspect-ratio: 5 / 4; }
  .hero-image-frame { border-radius: 240px 240px var(--radius-l) var(--radius-l); }
  .hero-stamp { left: 1%; top: 8%; width: 96px; height: 96px; font-size: 0.6rem; }
  .hero-image-note { right: 1%; bottom: 8%; padding: 0.75rem 1rem; }
  .hero-side-note { display: none; }
  .hero-description { max-width: none; }

  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .section-intro { max-width: 52ch; }

  .craft-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .craft-visual { max-width: 560px; }
  .craft-visual img { aspect-ratio: 4 / 3; border-radius: var(--radius-m) var(--radius-m) 140px var(--radius-m); }
  .craft-caption { right: 0; bottom: -1rem; max-width: 240px; }

  .tasting-banner { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; text-align: left; }
  .gift-art { max-width: 380px; margin-inline: auto; }

  .faq-section { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .faq-intro { position: static; }

  .privacy-layout { grid-template-columns: minmax(0, 1fr); }
  .privacy-toc { position: static; }
  .privacy-toc nav { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .privacy-toc .button { width: auto; }
}

@media (max-width: 820px) {
  .values-inner { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .value-item { padding-bottom: 1.1rem; border-bottom: 1px dashed var(--line); }
  .value-item:last-child { padding-bottom: 0; border-bottom: 0; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-column { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --header-height: 76px; }
  .announcement { font-size: 0.62rem; letter-spacing: 0.12em; gap: 0.5rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.3rem; }
  .brand-tagline { font-size: 0.54rem; letter-spacing: 0.2em; }
  .header-box { padding: 0.5rem 0.6rem 0.5rem 0.8rem; font-size: 0.78rem; }
  .box-label { display: none; }
  .header-box { padding-left: 0.75rem; }
  .header-box .icon { width: 1.05rem; height: 1.05rem; }
  .box-count { min-width: 1.75rem; height: 1.75rem; font-size: 0.78rem; }

  .hero { padding-block: 1.5rem 2.5rem; }
  .hero-buttons { gap: 1rem; }
  .hero-buttons .button { flex: 1 1 100%; }
  .hero-footnote { margin-top: 1.8rem; font-size: 0.78rem; }
  .hero-stamp { width: 84px; height: 84px; font-size: 0.54rem; padding: 0.6rem; }
  .hero-image-note { padding: 0.65rem 0.85rem; gap: 0.6rem; }
  .note-icon { width: 34px; height: 34px; }
  .note-title { font-size: 0.92rem; }
  .note-eyebrow { font-size: 0.54rem; }

  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .collection-toolbar { align-items: flex-start; flex-direction: column; }
  .results-count { order: -1; }

  .tasting-banner { padding: 1.5rem 1.15rem 1.7rem; }
  .tasting-copy .button { width: 100%; }

  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    width: auto;
    transform: none;
    padding: 1rem;
    animation-name: banner-in-mobile;
  }
  @keyframes banner-in-mobile {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .cookie-banner-copy { gap: 0.7rem; }
  .cookie-symbol { width: 34px; height: 34px; }
  .cookie-symbol .icon { width: 20px; height: 20px; }
  .cookie-banner h2 { font-size: 1rem; }
  .cookie-banner-actions { width: 100%; flex-direction: column-reverse; align-items: stretch; gap: 0.6rem; }
  .cookie-banner-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner-actions .button { width: 100%; padding-inline: 0.7rem; text-align: center; }
  .cookie-manage { align-self: center; }

  .toast { left: 0.6rem; right: 0.6rem; max-width: none; border-radius: var(--radius-m); }

  dialog { width: calc(100% - 1.2rem); max-height: calc(100dvh - 1.6rem); border-radius: var(--radius-m); }
  .tasting-dialog { width: calc(100% - 1.2rem); }
  .drawer-header { padding: 1.15rem 1.15rem 0.9rem; }
  .drawer-body { padding: 1.1rem 1.15rem 0.9rem; }
  .drawer-footer { padding: 1rem 1.15rem 1.2rem; }
  .cookie-dialog { padding: 1.3rem 1.15rem 1.5rem; }
  .cookie-dialog-actions { flex-direction: column; }
  .cookie-dialog-actions .button { flex: 1 1 auto; }

  .privacy-toc nav { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .hero-image-note { position: static; margin-top: 1rem; display: inline-flex; }
  .hero-visual { padding-bottom: 0; }
  .hero-stamp { top: 4%; }
  .craft-caption { position: static; margin-top: 1rem; max-width: none; }
  .craft-visual img { aspect-ratio: 1 / 1; }
  .drawer-secondary { flex-direction: column; gap: 0.75rem; align-items: center; }
}

@media (forced-colors: active) {
  .button, .filter-button, .icon-button, .product-card, dialog { border: 1px solid CanvasText; }
  .hero-stamp, .cookie-symbol, .always-on { border: 1px solid CanvasText; }
}

/* Dialog scroll lock (added by script) */
html.has-dialog,
html.has-dialog body { overflow: hidden; }

/* Stacked cookie table on narrow screens */
@media (max-width: 620px) {
  .cookie-table-wrap { overflow-x: visible; border: 0; background: none; }
  .cookie-table { display: block; width: 100%; min-width: 0; }
  .cookie-table caption { display: block; width: 100%; padding: 0 0 0.6rem; }
  .cookie-table thead { display: none; }
  .cookie-table tbody, .cookie-table tr, .cookie-table th, .cookie-table td { display: block; width: 100%; }
  .cookie-table tbody tr {
    margin-bottom: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--paper);
  }
  .cookie-table tbody th { white-space: normal; border-bottom: 0; padding: 0 0 0.5rem; }
  .cookie-table td {
    padding: 0.55rem 0 0;
    border-top: 1px dashed var(--line);
  }
  .cookie-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum);
  }
  .cookie-table tbody tr:last-child th, .cookie-table tbody tr:last-child td { border-bottom: 0; }
}
