/* ==========================================================
   מזמרת הארץ
   Mobile-first stylesheet
   ========================================================== */

:root {
  --cream: #fbf7ef;
  --paper: #ffffff;
  --ink: #1f2a22;
  --ink-soft: #55615a;
  --line: #e9e2d3;
  --gold: #c9a54c;
  --gold-soft: #f4ead0;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --danger: #c0392b;

  /* track colors – overridden per track */
  --brand: #2f6b3f;
  --brand-dark: #1d4529;
  --brand-soft: #e6f0e4;
  --brand-ink: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(31, 42, 34, .06), 0 2px 8px rgba(31, 42, 34, .05);
  --shadow: 0 10px 30px -10px rgba(31, 42, 34, .25);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Frank Ruhl Libre", "Heebo", Georgia, serif;
  --topbar-h: 116px;
}

body.track-a { --brand: #2f6b3f; --brand-dark: #1d4529; --brand-soft: #e6f0e4; }
body.track-b { --brand: #7a2e45; --brand-dark: #521c2d; --brand-soft: #f5e6ea; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 44px; height: 44px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; color: var(--brand-dark); }
.brand__sub { font-size: .75rem; color: var(--ink-soft); font-weight: 500; letter-spacing: .02em; margin-top: 3px; }
.brand--xl .brand__mark { width: 88px; height: 88px; }
.brand--xl .brand__name { font-size: 2.6rem; color: #fff; }
.brand--xl .brand__sub { font-size: .95rem; color: rgba(255,255,255,.85); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: rgba(255,255,255,.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.3em;
  border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { font-size: 1.25em; }
.btn--lg { min-height: 54px; font-size: 1.05rem; padding: .7em 1.6em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px -6px var(--brand); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--glass { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.26); }
.btn--ghost { background: transparent; color: var(--brand); border: 1.5px solid currentColor; }
.btn--wa { background: var(--wa); color: #063a1c; }
.btn--wa:hover { background: #1ebe5a; }
.btn--pay { background: var(--ink); color: #fff; }
.btn--pay:hover { background: #000; }
.btn--pay.is-disabled { opacity: .45; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream); display: grid; place-items: center; }
.icon-btn svg { font-size: 1.3rem; }
.icon-btn--light { background: rgba(255,255,255,.9); }

/* ==========================================================
   GATE – kashrut track selection
   ========================================================== */
.gate { position: fixed; inset: 0; z-index: 50; overflow-y: auto; color: #fff; display: flex; }
.gate__bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 32, 20, .78) 0%, rgba(15, 32, 20, .88) 60%, rgba(15, 32, 20, .96) 100%),
    url("assets/img/site/hero.jpg") center / cover no-repeat;
}
.gate__inner { margin: auto; width: 100%; max-width: 860px; padding: 40px 16px calc(32px + env(safe-area-inset-bottom)); text-align: center; display: flex; flex-direction: column; align-items: center; }
.gate__title { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1.2; margin: 18px 0 8px; }
.gate__title span { display: block; font-size: 1.15rem; font-family: var(--font); font-weight: 500; color: var(--gold-soft); margin-top: 6px; }
.gate__lead { margin: 0 0 24px; color: rgba(255,255,255,.8); }
.gate__choices { display: grid; gap: 14px; width: 100%; }
.gate__foot { margin: 26px 0 0; font-size: .9rem; color: rgba(255,255,255,.6); }

.choice {
  --c: #2f6b3f;
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 100%; padding: 22px 20px 18px;
  background: rgba(255,255,255,.97); color: var(--ink);
  border: 0; border-radius: 22px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  border-top: 6px solid var(--c);
  transition: transform .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.choice--b { --c: #7a2e45; }
.choice:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -18px rgba(0,0,0,.7); }
.choice:active { transform: scale(.98); }
.choice__seal { font-size: 2.6rem; color: var(--c); line-height: 0; }
.choice__name { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--c); }
.choice__desc { font-size: .92rem; color: var(--ink-soft); max-width: 30ch; }
.choice__cta { margin-top: 8px; background: var(--c); color: #fff; font-weight: 700; padding: .55em 1.4em; border-radius: 999px; }

/* phones: both kashrut options fit on the first screen without scrolling */
@media (max-width: 639px) {
  .gate__inner { padding-top: calc(52px + env(safe-area-inset-top)); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .gate .gate__emblem { width: 118px; height: 118px; }
  .gate .gate__tag { margin-top: 8px; font-size: 1rem; }
  .gate__title { font-size: 1.5rem; margin: 10px 0 4px; }
  .gate__title span { font-size: 1rem; margin-top: 4px; }
  .gate__lead { font-size: .88rem; margin-bottom: 14px; }
  .gate__choices { gap: 10px; }
  .choice {
    display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center;
    padding: 12px 16px; text-align: start; border-radius: 18px;
    border-top: 0; border-inline-start: 6px solid var(--c);
  }
  .choice__seal { grid-row: 1 / span 3; font-size: 2.2rem; }
  .choice__name { font-size: 1.25rem; line-height: 1.2; }
  .choice__desc { font-size: .8rem; line-height: 1.4; max-width: none; }
  .choice__cta { justify-self: start; margin-top: 6px; padding: .35em 1.1em; font-size: .88rem; }
  .gate__foot { margin-top: 16px; }
}

/* ==========================================================
   TOP BAR
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { max-width: 1180px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 10px; }
.topbar .brand { margin-inline-end: auto; }
.track-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand); color: #fff; border: 0;
  padding: 7px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  white-space: nowrap;
}
.track-pill__dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.track-pill__icon { font-size: 1rem; opacity: .85; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brand-dark); }
.cart-btn svg { font-size: 1.45rem; }
.cart-btn__count { position: absolute; top: -4px; left: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }

.topbar__inner { flex-wrap: wrap; }
.subnav { order: 99; flex: 0 0 calc(100% + 32px); display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 0; margin: 0 -16px; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: .88rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.subnav a:hover { color: var(--brand); border-color: var(--brand); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; color: #fff; overflow: hidden; padding: 56px 0 0; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: url("assets/img/site/hero.jpg") center / cover no-repeat; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 55%, var(--brand-dark) 100%); }
.hero__content { max-width: 1180px; margin: 0 auto; padding: 0 16px 36px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); padding: 5px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero__title { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1.08; margin: 16px 0 12px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero__lead { font-size: 1.08rem; max-width: 36ch; margin: 0 0 24px; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn { flex: 1 1 200px; }
.perks { list-style: none; margin: 0; padding: 14px 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--brand-dark); }
.perks li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .78rem; line-height: 1.25; color: rgba(255,255,255,.92); }
.perks svg { font-size: 1.6rem; color: var(--gold); }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 56px 0; }
.section__head { text-align: center; margin-bottom: 26px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--brand); background: var(--brand-soft); padding: 3px 12px; border-radius: 999px; }
.section__title { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1.15; margin: 10px 0 8px; color: var(--ink); }
.section__lead { color: var(--ink-soft); margin: 0 auto; max-width: 52ch; }

/* ---------- Kashrut ---------- */
.kashrut { background: linear-gradient(180deg, var(--brand-soft), var(--cream)); }
.kashrut__grid { display: grid; gap: 26px; align-items: center; }
.kashrut__cert {
  position: relative; display: block; width: 100%; max-width: 340px; margin: 0 auto;
  padding: 10px; background: #fff; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); transform: rotate(-1.5deg);
  transition: transform .25s ease;
}
.kashrut__cert:hover { transform: rotate(0) scale(1.02); }
.kashrut__cert img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 3/4; object-fit: contain; background: #fffdf7; }
.kashrut__zoom { position: absolute; bottom: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.kashrut__text { text-align: center; }
.kashrut__text > p { color: var(--ink-soft); margin: 0 auto 18px; max-width: 48ch; }
.kashrut__sep { display: flex; gap: 12px; align-items: flex-start; text-align: start; background: #fff; border: 1.5px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 16px; }
.kashrut__sep svg { font-size: 1.8rem; color: var(--brand); margin-top: 2px; }
.kashrut__sep p { margin: 0; font-size: .95rem; }

/* ---------- Catalog ---------- */
.cats {
  position: sticky; top: var(--topbar-h); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 16px; margin-bottom: 18px;
  background: rgba(251, 247, 239, .94); backdrop-filter: blur(10px);
  justify-content: flex-start;
}
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: all .15s ease; }
.cat[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px -4px var(--brand); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid #f0eadc;
  animation: rise .45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.card__media { position: relative; aspect-ratio: 1; background: var(--brand-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #2b2210; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.card--box .card__badge { background: var(--brand); color: #fff; }
.card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-weight: 800; font-size: 1rem; margin: 0; line-height: 1.25; }
.card__desc { font-size: .78rem; color: var(--ink-soft); margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 4px; }
.card__price strong { font-size: 1.2rem; font-weight: 800; color: var(--brand-dark); }
.card__price span { font-size: .78rem; color: var(--ink-soft); }
.card__soldout { position: absolute; inset: 0; background: rgba(255,255,255,.6); display: grid; place-items: center; font-weight: 800; color: var(--ink); }

.add-btn { margin-top: 8px; width: 100%; min-height: 42px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.add-btn svg { font-size: 1.1rem; }
.stepper { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; background: var(--brand-soft); border-radius: 12px; min-height: 42px; padding: 3px; }
.stepper button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #fff; color: var(--brand-dark); font-size: 1.3rem; font-weight: 700; line-height: 1; box-shadow: var(--shadow-sm); }
.stepper output { font-weight: 800; color: var(--brand-dark); font-size: .95rem; text-align: center; }

.grid--boxes .card--box { grid-column: span 2; flex-direction: row; }
.grid--boxes .card--box .card__media { width: 42%; aspect-ratio: auto; min-height: 170px; }
.grid--boxes .card--box .card__desc { -webkit-line-clamp: 4; }

/* ---------- Delivery ---------- */
.delivery { background: #fff; }
.zones { display: grid; gap: 12px; }
.zone { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--cream); position: relative; overflow: hidden; }
.zone::before { content: ""; position: absolute; inset-block: 0; right: 0; width: 5px; background: var(--brand); }
.zone__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.zone__day { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--brand-dark); }
.zone__hours { font-size: .85rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 4px; direction: ltr; }
.zone__areas { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.zone__areas li { background: #fff; border: 1px solid var(--line); font-size: .86rem; padding: 3px 11px; border-radius: 999px; }
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.fee { background: var(--brand); color: #fff; border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.fee strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.fee span { font-size: .75rem; opacity: .9; }
.zones__note { text-align: center; color: var(--ink-soft); margin: 18px 0 0; font-size: .95rem; }

/* ---------- Terms ---------- */
.terms__list { counter-reset: t; list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 10px; }
.terms__list li { counter-increment: t; position: relative; background: #fff; border-radius: var(--radius-sm); padding: 12px 16px 12px 16px; padding-inline-start: 52px; box-shadow: var(--shadow-sm); }
.terms__list li::before { content: counter(t); position: absolute; right: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px auto 0; max-width: 760px; }
.step { display: flex; align-items: center; gap: 10px; background: var(--brand-dark); color: #fff; padding: 12px; border-radius: var(--radius-sm); font-size: .88rem; line-height: 1.3; }
.step b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #2b2210; }

/* ---------- About ---------- */
.about { background: #fff; }
.about__grid { display: grid; gap: 24px; align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.about__quote { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--brand); margin: 0 0 10px; }
.about__quote small { font-family: var(--font); font-size: .78rem; color: var(--ink-soft); font-weight: 400; white-space: nowrap; }
.about__quote + .about__meaning { margin: -4px 0 14px; font-weight: 600; color: var(--ink-soft); }
.about__text p { color: var(--ink-soft); }
.about__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-dark); color: rgba(255,255,255,.85); padding: 36px 0 calc(120px + env(safe-area-inset-bottom)); text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__track { margin: 0; font-size: .92rem; }
.footer__copy { margin: 0; font-size: .8rem; color: rgba(255,255,255,.6); }

/* ==========================================================
   FLOATING ELEMENTS
   ========================================================== */
.wa-float {
  position: fixed; z-index: 60; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  height: 58px; min-width: 58px; padding: 0 16px;
  border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(18, 140, 75, .65);
  transition: transform .2s ease, bottom .3s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.wa-float svg { font-size: 1.9rem; }
.wa-float__label { display: none; }
.wa-float:hover { transform: translateY(-2px); }
body.has-cart-bar .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }

.cart-bar { position: fixed; z-index: 35; inset-inline: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--cream) 60%, rgba(251,247,239,0)); }
.cart-bar__btn { width: 100%; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 18px; border: 0; border-radius: 18px; background: var(--brand); color: #fff; box-shadow: 0 12px 28px -10px var(--brand-dark); font-size: .95rem; }
.cart-bar__btn strong { font-size: 1.15rem; }
.cart-bar__go { margin-inline-start: auto; font-weight: 700; }

.toast { position: fixed; z-index: 70; left: 50%; top: calc(var(--topbar-h) + 12px); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: all .3s ease; white-space: nowrap; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   DIALOGS
   ========================================================== */
dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(15, 25, 18, .55); backdrop-filter: blur(3px); }

.drawer { margin: 0; margin-inline-start: auto; height: 100dvh; max-height: 100dvh; width: 100%; max-width: 480px; background: var(--cream); }
.drawer[open] { animation: slide .3s ease; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.drawer__track { font-size: .78rem; font-weight: 700; background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; }
.drawer__head .icon-btn { margin-inline-start: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer__hint { margin: 0; text-align: center; font-size: .78rem; color: var(--ink-soft); }

.cart-empty { text-align: center; padding: 40px 0; color: var(--ink-soft); }
.cart-empty img { margin: 0 auto 10px; opacity: .85; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 8px; box-shadow: var(--shadow-sm); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-item__name { font-weight: 700; line-height: 1.2; }
.cart-item__meta { font-size: .8rem; color: var(--ink-soft); }
.cart-item__total { font-weight: 800; color: var(--brand-dark); text-align: left; }
.cart-item .stepper { grid-column: 2 / 4; margin: 0; min-height: 38px; }
.cart-item .stepper button { width: 32px; height: 32px; }
.cart-summary { margin: 14px 0; background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.cart-summary:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: .95rem; }
.sum-row--total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; font-size: 1.1rem; color: var(--brand-dark); }
.sum-note { font-size: .8rem; color: var(--ink-soft); margin: 6px 0 0; }
.sum-warn { font-size: .85rem; color: var(--danger); font-weight: 700; margin: 6px 0 0; }
.progress { height: 6px; background: var(--brand-soft); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--brand); border-radius: inherit; transition: width .3s ease; }

.order-form { display: grid; gap: 10px; }
.order-form h3 { margin: 6px 0 0; font-size: 1.05rem; }
.order-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.order-form input, .order-form select, .order-form textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  width: 100%; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.order-form .invalid { border-color: var(--danger); }
.form-error { color: var(--danger); font-weight: 700; font-size: .88rem; margin: 0; min-height: 1em; }

.lightbox { background: transparent; max-width: 96vw; max-height: 96dvh; overflow: visible; }
.lightbox img { max-width: 96vw; max-height: 92dvh; border-radius: 12px; background: #fff; }
.lightbox .icon-btn { position: absolute; top: -14px; left: -10px; }

.modal { border-radius: 22px; width: min(92vw, 420px); }
.modal__box { padding: 22px; }
.modal__box h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.4rem; }
.modal__box p { margin: 0 0 18px; color: var(--ink-soft); }
.modal__actions { display: grid; gap: 8px; }

/* ==========================================================
   LARGER SCREENS
   ========================================================== */
@media (min-width: 640px) {
  .gate__choices { grid-template-columns: 1fr 1fr; gap: 18px; }
  .choice { padding: 30px 22px 22px; }
  .gate__title { font-size: 2.4rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .grid--boxes .card--box { grid-column: span 3; }
  .zones { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { flex-direction: column; text-align: center; }
  .wa-float__label { display: inline; }
}
@media (min-width: 900px) {
  :root { --topbar-h: 86px; }
  .topbar__inner { padding: 10px 24px; }
  .topbar__inner { flex-wrap: nowrap; }
  .topbar .brand { margin-inline-end: 0; }
  .subnav { order: 0; flex: 1 1 auto; min-width: 0; padding: 0; margin: 0; align-items: center; justify-content: center; }
  .subnav a { background: transparent; border-color: transparent; font-size: .95rem; }
  .hero { padding-top: 110px; }
  .hero__content { padding-bottom: 80px; }
  .hero__title { font-size: 4.2rem; }
  .hero__lead { font-size: 1.25rem; }
  .hero__actions .btn { flex: 0 0 auto; }
  .perks { max-width: 1180px; margin: 0 auto; border-radius: 22px 22px 0 0; padding: 18px 24px; }
  .perks li { flex-direction: row; justify-content: center; text-align: start; font-size: .92rem; }
  .perks li br { display: none; }
  .section { padding: 84px 0; }
  .section__title { font-size: 2.6rem; }
  .kashrut__grid { grid-template-columns: 380px 1fr; gap: 56px; }
  .kashrut__text { text-align: start; }
  .kashrut__text > p { margin-inline: 0; }
  .cats { justify-content: center; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .grid--boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--boxes .card--box { grid-column: span 1; }
  .zones { grid-template-columns: repeat(4, 1fr); }
  .fees { max-width: 640px; margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid--boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--boxes .card--box { flex-direction: column; }
  .grid--boxes .card--box .card__media { width: 100%; aspect-ratio: 4/3; min-height: 0; }
}

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

/* catalog groups */
.group + .group { margin-top: 34px; }
.group__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin: 0 0 14px; color: var(--brand-dark); }
.group__title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--line)); }

/* kashrut section without an uploaded certificate */
.kashrut.no-cert .kashrut__grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.kashrut.no-cert .kashrut__text { text-align: center; }
.kashrut.no-cert .kashrut__text > p { margin-inline: auto; }

/* ==========================================================
   WEEKLY DEAL
   ========================================================== */
.deal { padding: 28px 0 8px; }
.deal__card {
  position: relative; display: grid; overflow: hidden;
  background: linear-gradient(135deg, #fff8e6 0%, #fff 55%);
  border: 2px solid var(--gold); border-radius: 24px;
  box-shadow: 0 18px 40px -22px rgba(120, 90, 20, .55);
}
.deal__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.deal__media img { width: 100%; height: 100%; object-fit: cover; }
.deal__burst {
  position: absolute; top: 14px; left: 14px;
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1;
  background: #d6452a; color: #fff; transform: rotate(-12deg);
  box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 10px 20px -6px rgba(0,0,0,.45);
}
.deal__burst b { font-size: 1.6rem; font-weight: 800; direction: ltr; }
.deal__burst small { font-size: .8rem; font-weight: 700; margin-top: 3px; }
.deal__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.deal__eyebrow {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  background: #d6452a; color: #fff; font-weight: 800; font-size: .9rem;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .02em;
}
.deal__eyebrow svg { font-size: 1.05rem; }
.deal__title { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1.1; margin: 2px 0 0; color: var(--ink); }
.deal__text { margin: 0; color: var(--ink-soft); }
.deal__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.deal__price strong { font-size: 2.3rem; font-weight: 800; color: #c0392b; line-height: 1; }
.deal__unit { font-weight: 700; color: var(--ink-soft); }
.deal__price s { color: var(--ink-soft); font-size: 1.1rem; opacity: .8; }
.deal__ctl .add-btn, .deal__ctl .stepper { min-height: 50px; font-size: 1.05rem; margin-top: 4px; }
.deal__ctl .add-btn { background: #d6452a; }
.deal__valid { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.subnav a.subnav__deal { background: #d6452a; border-color: #d6452a; color: #fff; font-weight: 700; }

.card__badge--sale { background: #d6452a; color: #fff; }
.card--sale { border-color: #f1c9bf; }
.card--sale .card__price strong { color: #c0392b; }
.card__price s { font-size: .8rem; color: var(--ink-soft); margin-inline-start: auto; }
.cart-item__sale { background: #d6452a; color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; }

@media (min-width: 760px) {
  .deal { padding-top: 48px; }
  .deal__card { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .deal__media { aspect-ratio: auto; min-height: 340px; }
  .deal__media img { position: absolute; inset: 0; }
  .deal__body { padding: 32px 34px; justify-content: center; gap: 12px; }
  .deal__title { font-size: 2.6rem; }
  .deal__price strong { font-size: 2.9rem; }
  .deal__ctl { max-width: 320px; }
  .deal__burst { width: 100px; height: 100px; top: 20px; left: 20px; }
  .deal__burst b { font-size: 1.9rem; }
}

/* full emblem on the entry screen */
.gate__emblem { width: 200px; height: 200px; direction: ltr; filter: drop-shadow(0 14px 28px rgba(0,0,0,.45)); }
@media (min-width: 640px) { .gate__emblem { width: 240px; height: 240px; } }

/* full emblem used as the site mark */
.brand__mark { width: 58px; height: 58px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.footer .brand { flex-direction: column; gap: 8px; }
.footer .brand__mark { width: 112px; height: 112px; }
.footer .brand__text { align-items: center; }
.cart-empty img { width: 120px; height: 120px; }
@media (min-width: 900px) { .topbar .brand__mark { width: 66px; height: 66px; } }
.topbar .brand__name { white-space: nowrap; }
@media (max-width: 420px) {
  .topbar__inner { gap: 8px; padding-inline: 12px; }
  .subnav { flex-basis: calc(100% + 24px); margin: 0 -12px; padding: 0 12px; }
  .topbar .brand { gap: 7px; }
  .topbar .brand__name { font-size: 1.15rem; }
  .topbar .brand__sub { font-size: .7rem; }
  .track-pill { padding: 6px 10px; font-size: .78rem; gap: 4px; }
  .cart-btn { width: 42px; height: 42px; }
}

/* ==========================================================
   בס״ד · BOUTIQUE TAGLINE · ABOUT · LEGAL LINKS
   ========================================================== */
.bsd { font-family: var(--font-display); font-weight: 700; font-size: .72rem; line-height: 1; color: var(--gold); letter-spacing: .02em; margin-bottom: 3px; }
.bsd--gate { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 16px; font-size: .9rem; color: var(--gold-soft); }
.gate__inner { position: relative; }
.gate__tag { margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--gold-soft); letter-spacing: .02em; }
.gate__tag::before, .gate__tag::after { content: "◆"; font-size: .6em; color: var(--gold); margin: 0 10px; vertical-align: middle; }
.gate__legal { margin-top: 10px; font-size: .8rem; color: rgba(255,255,255,.6); }
.gate__legal a { color: rgba(255,255,255,.75); }
.topbar .brand__sub { white-space: nowrap; }
.footer .bsd { color: var(--gold); }

.about__body p { margin: 0 0 12px; color: var(--ink-soft); }
.about__closing { margin: 4px 0 0; font-weight: 800; font-size: 1.08rem; color: var(--brand-dark) !important; }

.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .88rem; }
.footer__legal a { color: #fff; text-underline-offset: 3px; }

.order-form label.order-form__agree { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; font-size: .85rem; font-weight: 500; }
.order-form__agree input { width: 20px !important; height: 20px; min-height: 0 !important; margin: 2px 0 0; padding: 0 !important; flex: none; accent-color: var(--brand); }
.order-form__agree.invalid, .order-form__agree:has(input.invalid) { color: var(--danger); }

.skip-link { position: absolute; top: -100px; right: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ==========================================================
   ACCESSIBILITY MENU (a11y.js)
   ========================================================== */
.a11y { position: fixed; z-index: 90; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); font-size: 16px; transition: bottom .3s ease; }
body.has-cart-bar .a11y { bottom: calc(88px + env(safe-area-inset-bottom)); }
.a11y__btn { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; background: #1a5fd6; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.45); }
.a11y__btn svg { font-size: 30px; }
.a11y__btn:hover { background: #134aa8; }
.a11y__panel { position: absolute; bottom: 66px; right: 0; width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow-y: auto; background: #fff; color: #111; border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.45); padding: 14px; text-align: start; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; color: #1a5fd6; }
.a11y__close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #eef2fa; font-size: 16px; }
.a11y__size { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #eef2fa; border-radius: 12px; padding: 6px; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.a11y__size button { width: 44px; height: 40px; border-radius: 10px; border: 0; background: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__opt { min-height: 48px; padding: 8px; border-radius: 12px; border: 2px solid #dfe5f1; background: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; }
.a11y__opt[aria-pressed="true"] { background: #1a5fd6; border-color: #1a5fd6; color: #fff; }
.a11y__reset { width: 100%; margin-top: 10px; min-height: 42px; border-radius: 12px; border: 0; background: #222; color: #fff; font-weight: 700; font-size: 14px; }
.a11y__link { display: block; margin-top: 10px; text-align: center; font-size: 14px; font-weight: 700; color: #1a5fd6; }

/* modes */
html.a11y-gray { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed #ffbf00; outline-offset: 2px; }
html.a11y-font, html.a11y-font * { font-family: Arial, "Heebo", sans-serif !important; letter-spacing: .02em; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-7 1 4 8-3 1-4-8-5 5z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-contrast body { --cream: #fff; --paper: #fff; --ink: #000; --ink-soft: #000; --line: #000; --brand: #000; --brand-dark: #000; --brand-soft: #fff; --gold: #ffbf00; background: #fff; color: #000; }
html.a11y-contrast a:not(.btn):not(.wa-float):not(.a11y__link) { color: #0000ee; text-decoration: underline; }
html.a11y-contrast .card, html.a11y-contrast .zone, html.a11y-contrast .terms__list li, html.a11y-contrast .choice { border: 2px solid #000 !important; }
html.a11y-contrast .hero__media::after, html.a11y-contrast .gate__bg::after { background: rgba(0,0,0,.82) !important; }
html.a11y-contrast :focus-visible { outline: 4px solid #ffbf00 !important; }

/* ==========================================================
   LEGAL PAGES (terms / privacy / accessibility)
   ========================================================== */
.legal-top { background: var(--brand-dark); color: #fff; }
.legal-top__inner { max-width: 880px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.legal-top .brand__name { color: #fff; }
.legal-top .brand__sub { color: rgba(255,255,255,.75); }
.legal-top__back { color: #fff; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.legal { max-width: 880px; margin: 0 auto; padding: 28px 16px 120px; }
.legal h1 { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1.15; margin: 8px 0 4px; color: var(--brand-dark); }
.legal__updated { color: var(--ink-soft); font-size: .88rem; margin: 0 0 22px; }
.legal__toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 26px; }
.legal__toc ol { margin: 6px 0 0; padding-inline-start: 22px; columns: 2 220px; }
.legal h2 { font-size: 1.3rem; color: var(--brand-dark); margin: 30px 0 8px; scroll-margin-top: 16px; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-inline-start: 22px; }
.legal li + li { margin-top: 4px; }
.legal__box { background: var(--brand-soft); border-inline-start: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 16px; margin: 14px 0; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 10px 0; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
.legal-foot { background: var(--brand-dark); color: rgba(255,255,255,.8); text-align: center; padding: 22px 16px calc(100px + env(safe-area-inset-bottom)); font-size: .85rem; }
.legal-foot a { color: #fff; margin: 0 8px; }
html.a11y-contrast .footer a, html.a11y-contrast .footer .linklike, html.a11y-contrast .legal-top a, html.a11y-contrast .legal-foot a, html.a11y-contrast .gate a { color: #ffbf00 !important; }

/* ==========================================================
   LANGUAGE (Hebrew / English)
   ========================================================== */
html.i18n-pending body { visibility: hidden; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  height: 38px; padding: 0 11px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--brand-dark);
  font-weight: 800; font-size: .82rem; letter-spacing: .02em;
}
.lang-btn svg { font-size: 1.05rem; }
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }
.lang-btn--gate {
  position: absolute; top: calc(8px + env(safe-area-inset-top)); left: 16px;
  height: 40px; padding: 0 14px; font-size: .9rem;
  background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px);
}
.lang-btn--gate:hover { background: rgba(255,255,255,.26); color: #fff; border-color: #fff; }
/* inline (not flex) so the globe + word sit on the same baseline as the text and links around them */
.linklike.lang-link { display: inline; white-space: nowrap; }
.linklike.lang-link svg { font-size: 1em; vertical-align: -0.14em; margin-inline-end: 4px; }
.legal-top .lang-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.legal-top__actions { display: flex; align-items: center; gap: 12px; }

/* English uses a left-to-right layout – mirror every physical position */
[dir="ltr"] .bsd--gate { right: auto; left: 16px; }
[dir="ltr"] .lang-btn--gate { left: auto; right: 16px; }
[dir="ltr"] .cart-btn__count { left: auto; right: -4px; }
[dir="ltr"] .kashrut__zoom { left: auto; right: 18px; }
[dir="ltr"] .card__badge { right: auto; left: 10px; }
[dir="ltr"] .zone::before { right: auto; left: 0; }
[dir="ltr"] .terms__list li::before { right: auto; left: 14px; }
[dir="ltr"] .wa-float { left: auto; right: 16px; }
[dir="ltr"] .a11y { right: auto; left: 16px; }
[dir="ltr"] .a11y__panel { right: auto; left: 0; }
[dir="ltr"] .cart-item__total { text-align: right; }
[dir="ltr"] .lightbox .icon-btn { left: auto; right: -10px; }
[dir="ltr"] .deal__burst { left: auto; right: 14px; }
[dir="ltr"] .skip-link { right: auto; left: 12px; }
[dir="ltr"] .drawer[open] { animation-name: slide-ltr; }
@keyframes slide-ltr { from { transform: translateX(100%); } to { transform: none; } }
@media (min-width: 760px) { [dir="ltr"] .deal__burst { right: 20px; } }
[dir="ltr"] .hero__title, [dir="ltr"] .gate__title, [dir="ltr"] .section__title, [dir="ltr"] .deal__title { letter-spacing: -.01em; }
[dir="ltr"] .brand__name { letter-spacing: 0; }

/* ==========================================================
   BOX CONTENTS + NOTES
   ========================================================== */
.box-contents { margin: 6px 0 2px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.box-contents summary {
  list-style: none; cursor: pointer; padding: 8px 12px; font-weight: 800; font-size: .88rem; color: var(--brand-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.box-contents summary::-webkit-details-marker { display: none; }
.box-contents summary::after { content: "+"; font-size: 1.15rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.box-contents[open] summary::after { transform: rotate(45deg); }
.box-contents ul { margin: 0; padding: 0 12px 8px; padding-inline-start: 30px; font-size: .86rem; color: var(--ink); }
.box-contents li { margin: 2px 0; }
.box-contents li::marker { color: var(--brand); }
.box-contents__note, .box-contents__tip { margin: 0; padding: 0 12px 8px; font-size: .76rem; color: var(--ink-soft); line-height: 1.45; }
.box-contents__tip { font-weight: 700; color: var(--brand); }
.grid--boxes .card--box .card__desc { -webkit-line-clamp: 3; }

.cart-item__note { grid-column: 1 / -1; display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.cart-item__note textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); width: 100%; resize: vertical;
  padding: 9px 11px; border-radius: 10px; border: 1.5px dashed var(--line); background: var(--cream);
}
.cart-item__note textarea:focus { outline: none; border-style: solid; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); background: #fff; }

/* ==========================================================
   DELIVERY METHOD (customer must choose)
   ========================================================== */
.ship { border: 0; margin: 0 0 6px; padding: 0; min-width: 0; display: grid; gap: 8px; }
.ship legend { padding: 0; margin-bottom: 8px; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.ship__opt {
  position: relative; display: flex !important; flex-direction: row !important; align-items: center; gap: 12px !important;
  padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ship__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ship__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; flex: none; }
.ship__icon svg { font-size: 1.4rem; }
.ship__body { display: grid; gap: 2px; flex: 1; text-align: start; }
.ship__body strong { color: var(--ink); font-size: 1rem; }
.ship__body small { color: var(--ink-soft); font-weight: 500; font-size: .8rem; }
.ship__check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.ship__opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(47,107,63,.12); }
.ship__opt:has(input:checked) .ship__check { border-color: var(--brand); background: var(--brand); }
.ship__opt:has(input:checked) .ship__check::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.ship__opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.ship__hint { margin: 0; font-size: .8rem; font-weight: 700; color: var(--brand); }
.ship.is-chosen .ship__hint { display: none; }
.ship.invalid .ship__opt { border-color: var(--danger); animation: shake .35s ease; }
.ship.invalid .ship__hint { color: var(--danger); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.sum-pending { color: var(--brand); font-weight: 700; font-size: .88rem; }
.legal__lang-note { font-size: .86rem; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }

/* language button: in the top bar on larger screens, first chip in the nav row on phones */
.topbar .brand, .topbar .brand__text { min-width: 0; }
.subnav__lang {
  flex: none; display: none; align-items: center; gap: 5px;
  font: inherit; font-size: .88rem; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  background: var(--brand-dark); color: #fff; border: 1px solid var(--brand-dark);
}
.subnav__lang svg { font-size: 1rem; }
@media (max-width: 640px) {
  .topbar .lang-btn { display: none; }
  .subnav__lang { display: inline-flex; }
}
/* phones: the brand gives way so the track button and cart always stay on the first row */
@media (max-width: 640px) {
  .topbar .brand { flex: 1 1 0; }
  .topbar .brand__sub { white-space: normal; }
}
@media (max-width: 480px) {
  [dir="ltr"] .topbar .brand__name { font-size: 1.04rem; }
  [dir="ltr"] .topbar .brand__sub { font-size: .62rem; }
}
@media (min-width: 900px) {
  .topbar__inner { max-width: 1320px; }
  .subnav { gap: 2px; }
  .subnav a { padding: 5px 10px; font-size: .92rem; }
}

/* order form honeypot (hidden from people) + card-hold note */
.hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.sum-hold { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--gold-soft); color: #5a4512; font-size: .8rem; font-weight: 600; line-height: 1.45; }
.fees.fees--two { grid-template-columns: repeat(2, 1fr); max-width: 460px; margin-inline: auto; }
