/* ==========================================================================
   main.css: אלצ׳קו בשרים, shared styles for every page
   1. Fonts            2. Tokens             3. Base & utilities
   4. Buttons & chips  5. Header & menu      6. Footer
   7. Floating actions 8. Motion, Lenis, view transitions, print
   Home sections live in home.css, legal pages in legal.css, the
   accessibility modes and widget in a11y.css (loaded last).
   ========================================================================== */

/* 1. Fonts (self-hosted, OFL; hebrew + latin subsets) ---------------------- */
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/karantina-700-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/karantina-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/karantina-400-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Karantina";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/karantina-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-100-900-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/amatic-sc-700-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/amatic-sc-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  /* Semantic tokens (shared names with a11y.css colour modes) */
  --bg: #0d0d0f;
  --bg-elev: #15161a;
  --bg-elev-2: #1f2026;
  --text: #f7f3ee;
  --text-muted: #c2bab0;
  --accent: #ce1830;          /* brand red: fills, borders, white text on top (5.5:1) */
  --accent-strong: #ff4d5e;   /* red for text and icons on dark (5.5:1 on --bg-elev) */
  --accent-ink: #ffffff;
  --champagne: #f7f471;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .24);
  --glass-bg: rgba(21, 22, 26, .66);
  --glass-border: rgba(255, 255, 255, .12);
  --focus: #f7f471;
  --success: #7fd1a8;
  --danger: #ff9c8a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -16px rgba(0, 0, 0, .7);

  /* Brand palette (from the Canva brand kit) */
  --red: #ce1830;
  --yellow: #f7f471;
  --ember: #ff6a1f;
  --coal: #15161a;
  --cream: #ded1c6;
  --gold: #ddc77b;
  --maroon: #390904;
  --ice: #a9dcff;
  --wa: #25d366;

  --font-display: "Karantina", "Heebo", system-ui, sans-serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-hand: "Amatic SC", "Heebo", system-ui, sans-serif;

  --fs-small: .9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
  --fs-h3: clamp(2rem, 1.6rem + 1.4vw, 2.9rem);
  --fs-h2: clamp(3.25rem, 2.2rem + 4.2vw, 6.5rem);
  --fs-display: clamp(4rem, 2.4rem + 7vw, 10rem);
  --fs-hand: clamp(1.75rem, 1.5rem + .9vw, 2.35rem);

  --radius-s: .75rem;
  --radius: 1.25rem;
  --radius-l: 1.75rem;
  --header-h: 4.75rem;
  --dock-h: 0px;
  --container: 84rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 4.5vw, 7.5rem);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-1: .18s;
  --dur-2: .42s;
  --z-header: 100;
  --z-float: 80;

  /* Torn ribbon edge used by price stickers and banners */
  --torn: polygon(0 6%, 4% 0, 9% 5%, 15% 0, 22% 6%, 30% 1%, 38% 5%, 46% 0, 54% 6%, 62% 1%, 70% 5%, 78% 0, 86% 6%, 93% 1%, 100% 5%, 99% 50%, 100% 95%, 95% 100%, 88% 94%, 81% 100%, 73% 95%, 65% 100%, 57% 94%, 49% 100%, 41% 95%, 33% 100%, 25% 94%, 17% 100%, 9% 95%, 3% 100%, 0 94%, 1% 50%);
}

@media (max-width: 68rem) {
  :root { --header-h: 4.25rem; }
}

@media (max-width: 47.99rem) {
  :root { --dock-h: 4.5rem; }
}

/* 3. Base & utilities ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-block: calc(var(--header-h) + 1rem) calc(var(--dock-h) + 1rem);
  overflow-x: clip;
  background-color: var(--bg);
  color-scheme: dark;
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.no-motion):not(.lenis) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg,
video,
canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .95;
  letter-spacing: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color var(--dur-1) ease;
}
a:hover { color: var(--yellow); }

/* Zero specificity, so component classes can still set their own margins */
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

::selection { background: var(--yellow); color: #121212; }

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

[id] { scroll-margin-block-start: calc(var(--header-h) + 1rem); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  z-index: 3000;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #121212;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; color: #121212; }

main:focus { outline: none; }

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

.ltr { direction: ltr; unicode-bidi: isolate; }
.nowrap { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Global film grain (decorative) */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("../img/texture/grain.webp");
  background-size: 128px 128px;
}

/* Handwritten eyebrow label, like the tagline under the logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  color: var(--yellow);
  font-family: var(--font-hand);
  font-size: var(--fs-hand);
  font-weight: 700;
  line-height: 1.05;
}
.eyebrow .icon { width: 1.6rem; height: 1.6rem; stroke-width: 1.6; }

/* Yellow marker stroke behind a word (the brand highlighter) */
.marker {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.marker-stroke {
  position: absolute;
  inset-inline: -.12em;
  inset-block-end: -.02em;
  z-index: -1;
  width: calc(100% + .24em);
  height: .42em;
  overflow: visible;
  color: var(--yellow);
  pointer-events: none;
}
.marker-stroke path {
  fill: none;
  stroke: currentColor;
  stroke-width: 14;
  stroke-linecap: round;
  opacity: .92;
}

/* Red torn banner behind a word, like the price ribbons in the posts */
.ribbon-word {
  display: inline-block;
  padding: .02em .28em .04em;
  background: var(--accent);
  color: var(--accent-ink);
  clip-path: var(--torn);
  transform: rotate(-2deg);
}

/* Black marble slab (procedural texture) */
.marble {
  background-color: #0c0c0e;
  background-image: url("../img/texture/marble.webp");
  background-size: cover;
  background-position: center;
}

/* 4. Buttons & chips -------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease, box-shadow var(--dur-2) ease;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn:active { transform: scale(.97); }

.btn-red {
  background-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 32px -14px rgba(206, 24, 48, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-red:hover { background-color: #e01e38; color: var(--accent-ink); box-shadow: 0 18px 40px -14px rgba(255, 77, 94, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-red::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform .9s var(--ease-out);
}
.btn-red:hover::before { transform: translateX(-120%); }

/* White pill with red text: the "להזמנה לחצו כאן" button from the posts */
.btn-pill {
  background-color: #fff;
  color: var(--accent);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .8);
}
.btn-pill:hover { background-color: var(--yellow); color: #121212; }

.btn-ghost {
  border-color: var(--line-strong);
  background-color: rgba(255, 255, 255, .04);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--text); background-color: rgba(255, 255, 255, .08); color: var(--text); }

.btn-sm { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-lg { min-height: 3.75rem; padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn .icon--wa { color: var(--wa); }
.btn-red .icon--wa,
.btn-pill .icon--wa { color: currentColor; }

/* Live open/closed status */
.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.25rem;
  padding: .35rem .95rem .35rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(13, 13, 15, .55);
  color: var(--text);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.status-dot {
  position: relative;
  flex: none;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--text-muted);
}
[data-status][data-state="open"] .status-dot { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); }
[data-status][data-state="closed"] .status-dot { background: var(--accent-strong); }
html.js-motion [data-status][data-state="open"] .status-dot { animation: pulse-dot 2.2s ease-out infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); }
  70% { box-shadow: 0 0 0 .55rem rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

/* 5. Header & mobile menu ---------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease-out), background-color .35s ease, border-color .35s ease;
  view-transition-name: site-header;
}
.site-header.is-scrolled {
  background-color: rgba(12, 12, 14, .8);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.site-header.is-hidden { transform: translateY(-105%); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  border-radius: .5rem;
  view-transition-name: brand;
}
.brand img {
  width: auto;
  height: clamp(2.6rem, 2.2rem + 1.2vw, 3.3rem);
}

/* Logo artwork: the white version on dark surfaces, the colour version only in
   the light accessibility mode and in print (the hidden image is lazy loaded). */
.logo-for-light { display: none; }

.site-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.75rem, 1.5vw, 1.6rem); }
.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: .4rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .4s var(--ease-out);
}
.nav-list a:hover { color: var(--text); }
.nav-list a:hover::after,
.nav-list a[aria-current]::after { transform: scaleX(1); }

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

.cart-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease;
}
.cart-btn:hover { border-color: var(--text); background: rgba(255, 255, 255, .08); }
.cart-btn .icon { width: 1.35rem; height: 1.35rem; }
.cart-count {
  position: absolute;
  inset-block-start: -.3rem;
  inset-inline-end: -.3rem;
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .3rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #121212;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
}
.cart-count:empty,
.cart-count[data-n="0"] { display: none; }
.cart-btn.is-bump { animation: bump .5s var(--ease-spring); }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.18) rotate(-6deg); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}
.menu-toggle-lines { display: grid; gap: 5px; width: 1.2rem; }
.menu-toggle-lines span { display: block; height: 2px; border-radius: 2px; background: var(--text); }
.menu-toggle-lines span:nth-child(2) { width: 70%; justify-self: end; }

@media (max-width: 68rem) {
  .site-nav,
  .header-cta { display: none; }
  .header-actions { margin-inline-start: auto; }
  .menu-toggle { display: grid; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: #0b0b0d;
  background-image: radial-gradient(60rem 30rem at 100% 100%, rgba(206, 24, 48, .28), transparent 60%), url("../img/texture/marble-800.webp");
  background-size: auto, cover;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--header-h) - 1rem); }
.mobile-menu-top img { height: 2.6rem; width: auto; }
.menu-close {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}
.mobile-nav-list { display: grid; gap: .1rem; }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.6rem;
  padding-block: .25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 3vw, 3.4rem);
  line-height: 1;
  text-decoration: none;
}
.mobile-nav-list a:hover { color: var(--yellow); }
.mobile-nav-list .icon { width: 1.5rem; height: 1.5rem; color: var(--accent-strong); }
.mobile-menu-actions { display: grid; gap: .65rem; margin-top: auto; }
.mobile-menu-meta { margin: 0; color: var(--text-muted); font-size: var(--fs-small); text-align: center; }
html.menu-open { overflow: hidden; }

/* 6. Footer ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  padding-block: clamp(4rem, 3rem + 4vw, 6rem) calc(2rem + var(--dock-h));
  border-top: 1px solid var(--line);
  background-color: #0a0a0c;
  background-image: linear-gradient(180deg, rgba(10, 10, 12, .9), rgba(10, 10, 12, .97)), url("../img/texture/marble-800.webp");
  background-size: cover;
  overflow: clip;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer-brand img { width: min(15rem, 70%); height: auto; }
.footer-brand p { margin-top: 1.25rem; color: var(--text-muted); max-width: 26rem; }
.footer-col h2 {
  margin-bottom: 1rem;
  color: var(--yellow);
  font-family: var(--font-hand);
  font-size: 1.9rem;
  line-height: 1;
}
.footer-links { display: grid; gap: .15rem; }
.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: var(--fs-small);
  text-align: start;
  text-decoration: none;
}
.footer-links a:hover,
.footer-links button:hover { color: var(--text); }
.footer-links li { color: var(--text-muted); font-size: var(--fs-small); }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .3rem; border-bottom: 1px dashed var(--line); }
.footer-hours li span:last-child { color: var(--text); white-space: nowrap; }

.social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.social a {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease, transform var(--dur-2) var(--ease-spring);
}
.social a:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.social .icon { width: 1.25rem; height: 1.25rem; }

.footer-wordmark {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5rem, 2rem + 16vw, 17rem);
  line-height: .8;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.legal-links a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--text-muted); }
.legal-links a:hover,
.legal-links a[aria-current="page"] { color: var(--text); }
.credit a {
  color: var(--text);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  background-image: linear-gradient(var(--accent-strong), var(--accent-strong));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease-out), color var(--dur-1) ease;
}
.credit a:hover { color: var(--yellow); background-size: 100% 2px; }

@media (max-width: 64rem) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 36rem) {
  /* Phones: navigation and contact side by side, opening hours full width below */
  .footer-grid { gap: 2rem 1.25rem; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h2 { font-size: 1.7rem; }
  .footer-links a,
  .footer-links button { align-items: flex-start; line-height: 1.4; padding-block: .55rem; min-height: 2.75rem; }
  .footer-links .icon { margin-top: .1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* 7. Floating actions --------------------------------------------------------- */
.fab-wa {
  position: fixed;
  z-index: var(--z-float);
  bottom: max(16px, env(safe-area-inset-bottom));
  inset-inline-end: 16px;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--wa);
  color: #0b3b1e;
  box-shadow: 0 14px 32px -12px rgba(37, 211, 102, .7);
  transition: transform var(--dur-2) var(--ease-spring);
}
.fab-wa:hover { color: #0b3b1e; transform: scale(1.06); }
.fab-wa svg { width: 1.9rem; height: 1.9rem; fill: currentColor; }
.fab-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  opacity: 0;
}
html.js-motion .fab-wa::before { animation: ring 2.8s ease-out 3s infinite; }
@keyframes ring {
  0% { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}
.fab-tip {
  position: absolute;
  inset-inline-end: calc(100% + 12px);
  top: 50%;
  padding: .45rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: .75rem;
  background: var(--bg-elev-2);
  color: var(--text);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-1) ease, visibility var(--dur-1) ease;
}
.fab-wa:hover .fab-tip,
.fab-wa:focus-visible .fab-tip { opacity: 1; visibility: visible; }

.fab-cart {
  position: fixed;
  z-index: var(--z-float);
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 4.4rem);
  inset-inline-end: 16px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .5rem 1rem .5rem .85rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: 0 14px 32px -14px rgba(206, 24, 48, .9);
  transform: translateY(1rem) scale(.9);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur-2) var(--ease-spring), opacity var(--dur-1) ease, visibility var(--dur-1) ease;
}
.fab-cart.is-visible { transform: none; opacity: 1; visibility: visible; }
.fab-cart .icon { width: 1.3rem; height: 1.3rem; }
.fab-cart .cart-count { position: static; }

/* Mobile action dock */
.dock { display: none; }
@media (max-width: 47.99rem) {
  .fab-wa,
  .fab-cart { display: none; }
  .dock {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: var(--z-float);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: var(--dock-h);
    padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(12, 12, 14, .9);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
  }
  .dock a,
  .dock button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-height: 3.5rem;
    padding: .25rem;
    border: 0;
    border-radius: .9rem;
    background: transparent;
    color: var(--text);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
  }
  .dock .icon { width: 1.5rem; height: 1.5rem; }
  .dock .dock-wa .icon { color: var(--wa); }
  .dock .dock-primary { background: var(--accent); color: var(--accent-ink); }
  .dock .cart-count { inset-block-start: .15rem; inset-inline-end: calc(50% - 1.6rem); }
  html .a11y-root { --a11y-bottom: calc(var(--dock-h) + 12px + env(safe-area-inset-bottom)); }
}

/* Toast (visual); the same text is announced through a separate live region */
.toast {
  position: fixed;
  z-index: 1200;
  inset-inline: 0;
  bottom: calc(var(--dock-h) + 1.25rem + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.toast-inner {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  max-width: calc(100vw - 2rem);
  padding: .75rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev-2);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
  transform: translateY(1rem);
  opacity: 0;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) ease;
}
.toast-inner .icon { color: var(--success); }
.toast.is-visible .toast-inner { transform: none; opacity: 1; }

/* 8. Motion, Lenis, view transitions, print ------------------------------------ */
html.lenis,
html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .28s; }

@media (prefers-reduced-motion: reduce) {
  .status-dot,
  .fab-wa::before { animation: none !important; }
}

@media print {
  .logo-for-dark { display: none !important; }
  .logo-for-light { display: block !important; }
  .grain, .decor, .fab-wa, .fab-cart, .dock, .site-header, .mobile-menu, .toast, .a11y-root { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
