/* ===================================================================
   Tal's Bakery — premium boutique bakery, patisserie & cafe demo
   Visual identity: warm ivory + deep wine/burgundy + buttery gold on
   espresso-brown text; deep espresso dark mode with warm oven-glow gold.
   Editorial serif headlines. Deliberately distinct from the bicycle,
   candy, pet-store, and nuts demos' palettes, layouts and interactions.
   =================================================================== */

:root {
  --bg: #FAF3E9;
  --surface: #FFFFFF;
  --surface-soft: #F5EBDC;
  --ink: #2B1A14;
  --text: #2B1A14;
  --muted: #8A7A6D;
  --line: #E9DDC8;
  --line-strong: #D9C7A8;
  --wine: #7A2438;
  --wine-deep: #5E1B2A;
  --butter: #C98F1E;
  --butter-glow: rgba(201, 143, 30, 0.3);
  --on-accent: #FBF3E6;
  --shadow: 0 28px 64px rgba(43, 26, 20, 0.16);
  --shadow-soft: 0 12px 28px rgba(43, 26, 20, 0.1);
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
  --font-display: "David Libre", Georgia, "Times New Roman", serif;
  --font-body: "Alef", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #221510;
  --surface: #2E1F17;
  --surface-soft: #38271C;
  --ink: #120B07;
  --text: #F6ECE0;
  --muted: #C2AC9B;
  --line: #3D2C1F;
  --line-strong: #4E3A28;
  --wine: #C24E68;
  --wine-deep: #D97088;
  --butter: #F0C550;
  --butter-glow: rgba(240, 197, 80, 0.22);
  --on-accent: #241609;
  --shadow: 0 34px 78px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--butter) 35%, transparent); color: var(--wine-deep); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; inset-inline-start: 1rem; top: 0; z-index: 1000;
  padding: 0.75rem 1.1rem; background: var(--wine); color: var(--on-accent); font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); transform: translateY(-120%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); position: relative; }
[id] { scroll-margin-top: 92px; }

h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin-top: 0; }
p { margin-top: 0; }
h1 { margin-bottom: 1.3rem; font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 700; line-height: 1.14; }
h2 { margin-bottom: 1rem; font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.22; }
h3 { font-size: 1.15rem; font-weight: 700; font-family: var(--font-body); }

.eyebrow { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1rem; color: var(--wine-deep); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
[dir="ltr"] .eyebrow { letter-spacing: 0.08em; text-transform: uppercase; }
[dir="rtl"] .eyebrow, [dir="rtl"] .footer-col h3, [dir="rtl"] .bb-category-label, [dir="rtl"] .bb-tray-title, [dir="rtl"] .workshop-meta { letter-spacing: 0; }
.eyebrow > span:first-child { width: 26px; height: 2px; flex: none; background: var(--butter); }
.eyebrow-light { color: var(--butter); }
.eyebrow-light > span:first-child { background: var(--butter); }

.section-head { max-width: 700px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 600px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.7rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-size: 0.92rem; font-weight: 700; transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine); color: var(--on-accent); box-shadow: 0 12px 26px color-mix(in srgb, var(--wine) 35%, transparent); }
.btn-primary:hover { background: var(--wine-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--wine); background: var(--surface); }
.btn-light { background: var(--surface); color: var(--wine-deep); box-shadow: var(--shadow-soft); }
.btn-light:hover { background: var(--surface-soft); }
.btn-lg { min-height: 56px; padding-inline: 1.7rem; font-size: 0.98rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); backdrop-filter: blur(16px) saturate(140%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 30px; color: var(--wine); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.brand-text i { font-style: normal; font-size: 0.63rem; color: var(--muted); font-weight: 400; }

.desktop-nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.5vw, 1.7rem); margin-inline: auto; }
.desktop-nav a { position: relative; font-size: 0.85rem; font-weight: 700; color: var(--muted); transition: color 0.2s ease; }
.desktop-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 2px; background: var(--wine); border-radius: 1px; transform: scaleX(0); transition: transform 0.2s ease; }
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-switch { display: flex; align-items: center; gap: 0.28rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); padding: 0.4rem; }
.lang-switch .lang-on { color: var(--wine-deep); }
.lang-switch .lang-div { color: var(--line-strong); }

.theme-toggle { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); transition: border-color 0.2s ease, transform 0.2s ease; }
.theme-toggle:hover { border-color: var(--wine); transform: rotate(-12deg); }
.theme-toggle .icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.theme-toggle .icon-moon { display: none; fill: currentColor; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.menu-toggle span { width: 17px; height: 1.5px; background: var(--text); transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { position: absolute; top: 100%; inset-inline: 0; z-index: 99; height: calc(100svh - 78px); overflow-y: auto; background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav { display: flex; flex-direction: column; padding-block: 1.25rem 2.25rem; }
.mobile-nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.4rem, 6vw, 1.9rem); font-weight: 700; font-family: var(--font-display); }
.mobile-nav .mobile-whatsapp { margin-top: 1.4rem; width: 100%; }

/* ---------- Shared pastry illustration language ---------- */
.pbody { fill: url(#gradCroissant); }
.players path { stroke: #A9701F; stroke-width: 2.5; opacity: 0.4; stroke-linecap: round; fill: none; }
#pastry-cheesecake .pbody { fill: url(#gradCheesecake); }
#pastry-cheesecake .pcrust { fill: #C79A5B; }
#pastry-cheesecake .ptopping-berry { fill: var(--wine); }
#pastry-tiramisu .pbody { fill: url(#gradTiramisu); }
#pastry-tiramisu .player-div { stroke: #A8815A; stroke-width: 1.5; opacity: 0.35; }
#pastry-tiramisu .pcocoa circle { fill: #4A2E1C; opacity: 0.7; }
#pastry-brownie .pbody { fill: url(#gradBrownie); }
#pastry-brownie .pgloss { fill: #fff; opacity: 0.08; }
#pastry-brownie .pwalnut ellipse { fill: #8A6136; }
#pastry-pistachio-croissant .ptopping-line { fill: none; stroke: #7C9A4A; stroke-width: 3.5; stroke-linecap: round; }
#pastry-pistachio-croissant .ptopping-dots circle { fill: #7C9A4A; }
#pastry-almond-croissant .ptopping-almond ellipse { fill: #EAD9B0; }
#pastry-almond-croissant .ptopping-dots circle { fill: #fff; opacity: 0.85; }
#pastry-chocolate-croissant .pchoc-stripe { fill: #4A2E1C; }

/* Icon glyphs (craft strip, theme toggle) */
#icon-flour circle { fill: #EFE2C6; stroke: #C7A96E; stroke-width: 2; }
#icon-flour .dots circle { fill: #C7A96E; stroke: none; }
#icon-dough path { fill: #E9D2A1; }
#icon-shape path { stroke: var(--wine); stroke-width: 3; }
#icon-oven rect { fill: none; stroke: currentColor; stroke-width: 3; }
#icon-oven .door { fill: color-mix(in srgb, var(--butter) 30%, transparent); stroke: currentColor; stroke-width: 2; }
#icon-oven .knob { fill: currentColor; stroke: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(7.5rem, 13vw, 10.5rem) 0 clamp(4rem, 8vw, 6.5rem); background: radial-gradient(circle at 88% 12%, var(--butter-glow) 0, transparent 40%), var(--bg); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-desc { max-width: 540px; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }
.hero-note { display: flex; align-items: center; gap: 0.6rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--butter); flex: none; }

.hero-visual { position: relative; min-height: 380px; isolation: isolate; }
.hero-shelf { position: absolute; inset: auto 6% 10% 6%; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 12%, transparent); filter: blur(4px); }
.hero-pastry { position: absolute; filter: drop-shadow(0 18px 26px rgba(43, 26, 20, 0.22)); }
.hero-visual { min-height: 420px; }
.hero-visual::before {
  content: ""; position: absolute; left: 50%; top: 46%; z-index: -1; width: min(92%, 440px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); background: radial-gradient(circle, var(--butter-glow) 0%, transparent 68%);
}
.hero-stand { position: absolute; left: 8%; right: 8%; bottom: 22%; height: 16px; border-radius: 50%; background: linear-gradient(var(--surface), var(--surface-soft)); box-shadow: 0 2px 0 var(--line-strong), 0 18px 30px -12px rgba(43, 26, 20, 0.35); }
.hero-stand span { position: absolute; left: 50%; top: 14px; width: 18%; height: 70px; transform: translateX(-50%); border-radius: 0 0 40% 40% / 0 0 18% 18%; background: linear-gradient(90deg, var(--surface-soft), var(--surface) 45%, var(--surface-soft)); box-shadow: 0 1px 0 var(--line-strong); clip-path: polygon(34% 0, 66% 0, 60% 72%, 100% 88%, 100% 100%, 0 100%, 0 88%, 40% 72%); }
.hero-shelf { inset: auto 14% 7% 14%; }
.hero-pastry-1 { width: 44%; bottom: calc(22% + 6px); inset-inline-start: 28%; z-index: 2; }
.hero-pastry-2 { width: 32%; bottom: calc(22% + 4px); inset-inline-end: 9%; z-index: 1; }
.hero-pastry-3 { width: 32%; bottom: calc(22% + 4px); inset-inline-start: 9%; z-index: 1; }
@keyframes hero-float { to { transform: translateY(-12px) rotate(2deg); } }

/* ---------- Pastry case (signature shelf) ---------- */
.case-stage { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.shelf-widget { display: flex; align-items: center; gap: 0.75rem; width: 100%; position: relative; }
.case-spotlight { position: absolute; top: -40px; left: 50%; width: 480px; max-width: 90%; height: 280px; transform: translateX(-50%); background: radial-gradient(ellipse at center, var(--butter-glow) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.shelf-nav { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); transition: border-color 0.2s ease, background-color 0.2s ease; }
.shelf-nav:hover { border-color: var(--wine); background: var(--surface-soft); }
.shelf-nav .icon-chevron { width: 18px; height: 18px; }
.shelf-prev .icon-chevron { transform: scaleX(-1); }
[dir="rtl"] .shelf-prev .icon-chevron { transform: scaleX(1); }
[dir="rtl"] .shelf-next .icon-chevron { transform: scaleX(-1); }

.shelf-track {
  position: relative; z-index: 1; display: flex; gap: 1.5rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 1.5rem 42%;
  scrollbar-width: none; flex: 1; cursor: grab;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shelf-track.no-snap { scroll-snap-type: none; }
.shelf-tab {
  scroll-snap-align: center; flex: none; width: 140px; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0.55; transform: scale(0.8); transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.shelf-tab svg { width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(43, 26, 20, 0.16)); }
.shelf-tab[aria-selected="true"] { opacity: 1; transform: scale(1.18); }
.shelf-tab[aria-selected="true"] svg { filter: drop-shadow(0 20px 28px rgba(43, 26, 20, 0.26)); }
.shelf-tab .tab-name { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-align: center; }
.shelf-tab[aria-selected="true"] .tab-name { color: var(--wine-deep); }
.shelf-tab.glaze-shine svg { position: relative; }
.shelf-tab[aria-selected="true"].glaze-shine { animation: glaze-sweep 1.4s ease-out; }
@keyframes glaze-sweep { 0% { filter: brightness(1.35) drop-shadow(0 20px 28px rgba(43,26,20,0.26)); } 100% { filter: brightness(1) drop-shadow(0 20px 28px rgba(43,26,20,0.26)); } }

.shelf-hint { color: var(--muted); font-size: 0.78rem; text-align: center; max-width: 40ch; }

.pastry-info { margin-top: clamp(2rem, 4vw, 3rem); max-width: 640px; margin-inline: auto; text-align: center; }
.pi-visual { width: clamp(140px, 22vw, 190px); margin: 0 auto 1.25rem; filter: drop-shadow(0 18px 30px rgba(43, 26, 20, 0.22)); }
.pi-visual-svg { width: 100%; height: auto; display: block; }
/* The selected pastry's signature detail settles into place: a real inline
   clone (not a <use> reference), so the reveal keyframes actually apply -
   see the comment in renderPastryInfo(). Reduced motion adds .is-revealed
   immediately with no transition, so nothing ever depends on the animation
   itself to become visible. */
.pi-visual-svg .players path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.pi-visual-svg.is-revealed .players path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s ease-out 0.15s; }
.pi-visual-svg .ptopping-dots circle,
.pi-visual-svg .ptopping-almond ellipse,
.pi-visual-svg .pcocoa circle,
.pi-visual-svg .pwalnut ellipse {
  transform-box: fill-box; transform-origin: center; transform: scale(0);
}
.pi-visual-svg.is-revealed .ptopping-dots circle,
.pi-visual-svg.is-revealed .ptopping-almond ellipse,
.pi-visual-svg.is-revealed .pcocoa circle,
.pi-visual-svg.is-revealed .pwalnut ellipse {
  transform: scale(1); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pi-visual-svg .ptopping-dots circle:nth-child(1), .pi-visual-svg .ptopping-almond ellipse:nth-child(1) { transition-delay: 0.22s; }
.pi-visual-svg .ptopping-dots circle:nth-child(2), .pi-visual-svg .ptopping-almond ellipse:nth-child(2) { transition-delay: 0.28s; }
.pi-visual-svg .ptopping-dots circle:nth-child(3), .pi-visual-svg .ptopping-almond ellipse:nth-child(3) { transition-delay: 0.34s; }
.pi-visual-svg .ptopping-dots circle:nth-child(4), .pi-visual-svg .ptopping-almond ellipse:nth-child(4) { transition-delay: 0.4s; }
.pi-visual-svg .ptopping-dots circle:nth-child(5) { transition-delay: 0.46s; }
.pi-visual-svg .pcocoa circle:nth-child(3n) { transition-delay: 0.24s; }
.pi-visual-svg .pcocoa circle:nth-child(3n+1) { transition-delay: 0.32s; }
.pi-visual-svg .pcocoa circle:nth-child(3n+2) { transition-delay: 0.4s; }
.pi-visual-svg .ptopping-berry { transform-box: fill-box; transform-origin: 50% 0%; transform: translateY(-14px) scale(0.6); opacity: 0; }
.pi-visual-svg.is-revealed .ptopping-berry { transform: translateY(0) scale(1); opacity: 1; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s, opacity 0.3s ease 0.2s; }
.pi-visual-svg .pchoc-stripe { transform-box: fill-box; transform-origin: 0% 50%; transform: scaleX(0); }
.pi-visual-svg.is-revealed .pchoc-stripe { transform: scaleX(1); transition: transform 0.4s ease-out 0.18s; }
.pastry-info h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.5rem; }
.pastry-info .pi-price { display: inline-block; margin-bottom: 0.9rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--surface-soft); color: var(--wine-deep); font-weight: 700; font-size: 0.85rem; }
.pastry-info p.pi-desc { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 0.8rem; }
.pi-pairing { color: var(--text); font-size: 0.9rem; }
.pi-pairing strong { color: var(--wine-deep); }
.pairing-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-inline-start: 0.5rem; color: var(--wine-deep); font-weight: 700; }

/* ---------- Fresh from the oven ---------- */
.fresh-oven { --on-accent: #FBF3E6; background: #5E1B2A; color: var(--on-accent); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.fresh-oven-inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; }
.oven-glow { position: absolute; inset-inline-start: -60px; top: 50%; width: 220px; height: 220px; transform: translateY(-50%); background: radial-gradient(circle, var(--butter-glow) 0%, transparent 70%); pointer-events: none; }
.oven-icon { position: relative; width: 74px; height: 74px; flex: none; color: var(--butter); }
.fresh-oven h2 { color: var(--on-accent); margin-bottom: 0.4rem; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.fresh-oven p:not(.eyebrow) { color: color-mix(in srgb, var(--on-accent) 72%, transparent); margin: 0; max-width: 520px; }

/* ---------- Dish grid (breakfast + menu items share this) ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); }
.dish-card { display: flex; flex-direction: column; padding: 1.35rem 0 1.4rem; border-bottom: 1px solid var(--line-strong); }
.dish-top { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.4rem; }
.dish-top h3 { margin: 0; }
.dish-leader { flex: 1; min-width: 1.5rem; height: 0; border-bottom: 2px dotted var(--line-strong); transform: translateY(-0.28em); }
.dish-top h3, .dish-top b { font-family: var(--font-display); font-size: 1.28rem; }
.dish-price { flex: none; color: var(--wine-deep); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish-card p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.dish-pairing { margin-top: 0.45rem; font-size: 0.78rem; color: var(--wine-deep); font-weight: 600; }
.dish-pairing a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Build your breakfast ---------- */
.build-breakfast { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--surface-soft); }
.bb-heading { max-width: 560px; margin-bottom: 1.75rem; }
.bb-heading h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.bb-body { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.bb-category { margin-bottom: 1.25rem; }
.bb-category:last-child { margin-bottom: 0; }
.bb-category-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.bb-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bb-chip { padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.85rem; font-weight: 600; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.bb-chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--on-accent); }
.bb-tray { padding: 1.5rem; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); min-height: 180px; }
.bb-tray-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.bb-tray-items { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.bb-tray { border-top: 4px solid var(--wine); }
.bb-tray-item { display: flex; align-items: baseline; gap: 0.5rem; font-size: 0.92rem; }
.bb-tray-label { color: var(--muted); }
.bb-tray-value { color: var(--muted); font-weight: 700; }
.bb-tray-item.is-set .bb-tray-value { color: var(--wine-deep); }
.bb-tray-note { color: var(--muted); font-size: 0.78rem; margin: 0; }

/* ---------- Menu filters ---------- */
.menu-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-chip { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.85rem; font-weight: 700; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.filter-chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--on-accent); }

/* ---------- Cakes table ---------- */
.cake-table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.cake-table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 480px; }
.cake-table th, .cake-table td { padding: 1rem 1.25rem; text-align: start; border-bottom: 1px solid var(--line); }
.cake-table thead th { font-family: var(--font-display); font-size: 0.95rem; color: var(--muted); font-weight: 700; background: var(--surface-soft); }
.cake-table thead th:first-child { color: var(--text); }
.cake-table tbody td:first-child { font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.cake-table td.price-cell { color: var(--wine-deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.cake-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Coffee / drinks ---------- */
.drink-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.2rem); border-radius: var(--radius-lg);
  --on-accent: #FBF3E6; --butter: #F0C550;
  background: #5E1B2A; color: var(--on-accent);
  box-shadow: inset 0 0 0 8px #5E1B2A, inset 0 0 0 9px color-mix(in srgb, var(--butter) 55%, transparent), var(--shadow);
}
.drink-card { display: flex; align-items: baseline; gap: 0.6rem; padding-block: 0.8rem; border-bottom: 1px solid color-mix(in srgb, var(--on-accent) 14%, transparent); }
.drink-card b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.drink-card .dish-leader { border-color: color-mix(in srgb, var(--on-accent) 30%, transparent); }
.drink-card span { color: var(--butter); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }

/* ---------- Gift boxes ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.gift-card { padding: clamp(1.5rem, 2.4vw, 2rem); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); min-height: 160px; display: flex; flex-direction: column; justify-content: flex-end; }
.gift-card h3 { font-family: var(--font-display); margin-bottom: 0.5rem; font-size: 1.08rem; }
.gift-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ---------- Workshops ---------- */
.workshop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.workshop-card { padding: clamp(1.6rem, 2.6vw, 2.2rem); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-accent); }
.workshop-card h3 { font-family: var(--font-display); color: var(--on-accent); font-size: 1.3rem; margin-bottom: 0.5rem; }
.workshop-meta { display: flex; gap: 1rem; margin-bottom: 0.8rem; font-size: 0.76rem; color: var(--butter); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.workshop-card p.wdesc { color: color-mix(in srgb, var(--on-accent) 75%, transparent); font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.25rem; }

/* ---------- Craft strip ---------- */
.craft-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; position: relative; }
.craft-strip::before { content: ""; position: absolute; top: 26px; inset-inline: 10%; height: 1px; background: var(--line-strong); z-index: 0; }
.craft-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
.craft-step svg { width: 52px; height: 52px; padding: 10px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--wine); }
.craft-step h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.craft-step p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }

/* ---------- Connected culinary world ---------- */
.connected-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.connected-card { padding: clamp(1.5rem, 2.4vw, 2rem); border-radius: var(--radius-md); background: var(--surface-soft); border: 1px solid var(--line); }
.connected-card b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.5rem; }
.connected-card p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); }
.faq-heading { align-self: start; }
.faq-list { padding: 0.6rem clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-strong); }
.faq-list details { border-bottom: 1px dashed var(--line-strong); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { display: grid; grid-template-columns: 1fr 26px; align-items: center; gap: 1rem; min-height: 72px; padding-block: 1rem; cursor: pointer; list-style: none; }
.faq-list summary strong { font-family: var(--font-display); font-size: 1.14rem !important; font-weight: 700 !important; }
.faq-list details[open] summary strong { color: var(--wine-deep); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span.q-num { color: var(--wine-deep); font-size: 0.78rem; font-weight: 700; }
.faq-list summary strong { font-size: 1.02rem; font-weight: 650; }
.faq-list summary i { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--wine); color: var(--wine); font-style: normal; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details > p { max-width: 640px; margin: -0.25rem 0 1.4rem; color: var(--muted); font-size: 0.96rem; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-card { position: relative; text-align: center; max-width: 760px; margin-inline: auto; padding: clamp(2.8rem, 6vw, 4.8rem) clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 10px var(--surface), inset 0 0 0 11px color-mix(in srgb, var(--wine) 40%, transparent), var(--shadow); }
.contact-card .eyebrow { justify-content: center; color: var(--wine-deep); }
.contact-card .eyebrow > span:first-child { background: var(--butter); }
.contact-card h2 { color: var(--wine-deep); font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.contact-card p:not(.eyebrow) { color: var(--muted); max-width: 480px; margin: 0 auto 2rem; }
.contact-card .btn-light { background: var(--wine); color: var(--on-accent); box-shadow: 0 12px 26px color-mix(in srgb, var(--wine) 35%, transparent); }
.contact-card .btn-light:hover { background: var(--wine-deep); }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.contact-email { margin: 0; font-size: 0.85rem; color: var(--muted); }
.contact-email a { text-decoration: underline; text-underline-offset: 3px; color: var(--wine-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; background: var(--ink); color: var(--on-accent); }
.footer-inner { display: grid; grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(140px, 0.6fr)); gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand-mark { color: var(--butter); }
.footer-brand b { color: var(--on-accent); }
.footer-brand p { max-width: 320px; margin: 1.1rem 0 0; color: color-mix(in srgb, var(--on-accent) 62%, transparent); font-size: 0.88rem; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; }
.footer-col h3 { margin: 0 0 0.4rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: color-mix(in srgb, var(--on-accent) 45%, transparent); }
.footer-col a { color: color-mix(in srgb, var(--on-accent) 78%, transparent); font-size: 0.86rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--butter); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--on-accent) 14%, transparent); }
.footer-bottom p { margin: 0; color: color-mix(in srgb, var(--on-accent) 48%, transparent); font-size: 0.72rem; }
.footer-bottom .credit a { color: var(--butter); font-weight: 700; }

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp { position: fixed; inset-inline-end: 1.1rem; bottom: 1.1rem; z-index: 80; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1E9E56; color: #fff; box-shadow: 0 14px 34px rgba(15, 90, 50, 0.35); font-weight: 800; font-size: 0.95rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 42px rgba(15, 90, 50, 0.42); }
.floating-whatsapp .wa-icon { width: 26px; height: 26px; }
#emailLink, .footer-col a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-whatsapp { display: none; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .connected-grid { grid-template-columns: 1fr; }
  .craft-strip { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; text-align: center; margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { min-height: 320px; }
  .bb-body { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .fresh-oven-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .craft-strip { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .craft-strip::before { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 2.5rem), var(--container)); }
  .header-inner { height: 66px; }
  .mobile-menu { height: calc(100svh - 66px); }
  html { scroll-padding-top: 74px; }
  [id] { scroll-margin-top: 74px; }
  .hero { padding-top: 7.6rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .dish-grid, .gift-grid, .drink-grid { grid-template-columns: 1fr; }
  .dish-top h3, .dish-top b { font-size: 1.15rem; }
  .gift-card { min-height: 0; }
  .hero-visual { min-height: 280px; }
  .faq-list { box-shadow: none; }
  .footer-bottom { padding-bottom: 4.5rem; }
  .craft-strip { grid-template-columns: repeat(2, 1fr); }
  .shelf-track { padding: 1.5rem 30%; }
  .shelf-tab { width: 110px; }
  .contact-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand-text i { display: none; }
  .header-actions { gap: 0.35rem; }
  .lang-switch { padding: 0.4rem 0.2rem; }
}

/* Dark mode: always-dark surfaces keep light text (--on-accent turns dark in dark mode) */
:root[data-theme="dark"] .workshop-card, :root[data-theme="dark"] .site-footer { --on-accent: #F6ECE0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}
