:root {
  --bg: #fdfdf4;
  --warm: #f4f5d6;
  --card: #ffffff;
  --ink: #1f2913;
  --muted: #636d55;
  --soft-line: #e6e9cc;
  --yellow: #e8e82a;
  --yellow-deep: #8fae17;
  --yellow-soft: #f5f6c2;
  --deep: #17400b;
  --green: #4f810f;
  --green-ink: #3a6a0c;
  --danger: #b03a26;
  --shadow: 0 1px 3px rgba(70, 92, 10, .06), 0 16px 36px -18px rgba(70, 92, 10, .28);
  --shadow-lift: 0 2px 6px rgba(70, 92, 10, .08), 0 26px 50px -20px rgba(70, 92, 10, .38);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heb: "SBL Hebrew", "Frank Ruehl CLM", FrankRuehl, "Frank Ruhl Libre", "New Peninim MT", David, "Times New Roman", serif;
  --display: var(--sans);
  --num: var(--sans);
}
html[lang="he"] { --display: var(--heb); --sans: "Arial Hebrew", Heebo, Arial, "Segoe UI", sans-serif; --num: -apple-system, "Segoe UI", Arial, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.1; margin: 0; letter-spacing: -.028em; text-wrap: balance; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1100px, 100% - 44px); margin-inline: auto; }
.wrap.narrow { width: min(740px, 100% - 44px); }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.siman, .eyebrow { display: none; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn.small { min-height: 42px; padding: 0 16px; font-size: .94rem; border-radius: 12px; }
.btn.big { min-height: 60px; padding: 0 32px; font-size: 1.12rem; border-radius: 16px; }
.btn.gold { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(160, 175, 0, .75); }
.btn.gold:hover { background: #eeee58; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(160, 175, 0, .8); }
.btn.gold:active { transform: none; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2f4119; transform: translateY(-2px); }
.btn.ghost { background: rgba(31, 41, 19, .06); }
.btn.ghost:hover { background: rgba(31, 41, 19, .11); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.arr { display: inline-block; transition: transform .2s; }
[dir="rtl"] .arr { transform: scaleX(-1); }
.btn:hover .arr, .lv:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arr, [dir="rtl"] .lv:hover .arr { transform: scaleX(-1) translateX(4px); }
.badge { background: var(--yellow); color: var(--ink); min-width: 22px; height: 22px; padding: 0 6px; font-size: .8rem; display: inline-grid; place-items: center; border-radius: 999px; }
.link { background: none; border: 0; padding: 6px 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .93rem; }
.link:hover { color: var(--ink); }
.link.danger { color: var(--danger); }

/* Top strip + header */
.topbar { background: var(--yellow-soft); font-size: .9rem; }
.topbar-in { display: flex; align-items: center; gap: 6px 18px; padding: 7px 0; flex-wrap: wrap; }
.bsd { order: 3; font-family: var(--heb); opacity: .7; }
[dir="rtl"] .bsd { order: 0; }
.count { font-weight: 700; }
.top-phone { margin-inline-start: auto; color: var(--muted); }
.top-phone .tel { color: var(--ink); }
.tel { font-weight: 700; text-decoration: none; white-space: nowrap; unicode-bidi: isolate; direction: ltr; display: inline-block; }
.head { position: sticky; top: 0; z-index: 20; background: rgba(253, 253, 244, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.head-in { display: flex; align-items: center; gap: 10px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand-mark { width: 28px; height: 36px; flex: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text b { font: 750 1.22rem var(--display); letter-spacing: -.02em; }
html[lang="he"] .brand-text b { font-size: 1.5rem; letter-spacing: 0; }
.brand-text i { font-style: normal; font-size: .9rem; color: var(--muted); font-family: var(--heb); }
html[lang="he"] .brand-text i { font-family: var(--num); font-size: .74rem; }
.nav { display: none; gap: 28px; margin-inline-end: 14px; }
.nav a { text-decoration: none; font-size: .96rem; color: var(--muted); padding: 8px 0; }
.nav a:hover { color: var(--ink); }
@media (min-width: 920px) { .nav { display: flex; } }
@media (max-width: 560px) { .top-phone > span { display: none; } .brand-text i { display: none; } }

/* Hero */
.hero { background: radial-gradient(58% 70% at 76% 46%, #eff07c 0, rgba(239, 240, 124, .35) 42%, rgba(239, 240, 124, 0) 72%), var(--bg); }
[dir="rtl"] .hero { background: radial-gradient(58% 70% at 24% 46%, #eff07c 0, rgba(239, 240, 124, .35) 42%, rgba(239, 240, 124, 0) 72%), var(--bg); }
.shaar { padding: clamp(34px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); }
.pasuk { font: 700 clamp(1.05rem, 1.7vw, 1.3rem) var(--heb); color: #9a7a10; margin-bottom: 18px; }
[dir="ltr"] .pasuk { text-align: left; }
.hero-in { display: grid; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.05fr .95fr; } }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 31em; margin-top: 22px; }
.hero-actions { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 34px; }
.hero-call { color: var(--muted); text-decoration: none; }
.hero-call b { color: var(--ink); unicode-bidi: isolate; direction: ltr; display: inline-block; }
.ticks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.ticks li { background: rgba(255, 255, 255, .75); border-radius: 999px; padding: 6px 14px; box-shadow: 0 1px 2px rgba(70, 92, 10, .1); }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-inline-end: 8px; }

/* The esrog in its box, under the glass */
.boxart { margin: 0; }
.boxart-in { position: relative; cursor: none; touch-action: pan-y; direction: ltr; border-radius: 26px; box-shadow: 0 4px 10px rgba(70, 92, 10, .1), 0 40px 70px -30px rgba(70, 92, 10, .55); transform: rotate(1.5deg); }
.boxart-in > svg { display: block; width: 100%; height: auto; border-radius: 26px; }
.boxart figcaption { margin-top: 26px; color: var(--muted); text-align: center; font-size: 1rem; }
.loupe { position: absolute; left: 0; top: 0; width: 34%; aspect-ratio: 1; pointer-events: none; will-change: transform; filter: drop-shadow(0 16px 18px rgba(60, 40, 0, .35)); }
.loupe::after { content: ""; position: absolute; left: 82%; top: 82%; width: 52%; height: 12%; background: linear-gradient(#5a4526, #33260f); border-radius: 4px 999px 999px 4px; transform-origin: 0 50%; transform: rotate(45deg); z-index: -1; }
.lens { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 7px solid #33260f; background: #c8b372; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), inset 0 0 26px rgba(255, 255, 255, .45); }
.lens svg { position: absolute; left: 0; top: 0; max-width: none; border-radius: 0; }
.lens::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, 0) 34%); }
@media (max-width: 899px) { .boxart { max-width: 330px; margin-inline: auto; width: 100%; order: -1; } .boxart figcaption { margin-top: 16px; font-size: .92rem; } .shaar { padding-top: 22px; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }

/* Sets */
.ladder { display: grid; gap: 14px; max-width: 940px; margin-inline: auto; }
.lv {
  display: grid; grid-template-columns: 170px 1fr auto auto; gap: 6px 28px; align-items: center; width: 100%; text-align: start;
  background: var(--card); border: 0; border-radius: 22px; padding: 24px 28px; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.lv:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.lv.pop { background: linear-gradient(100deg, var(--yellow-soft), #fafbe2); box-shadow: var(--shadow), inset 0 0 0 2px var(--yellow); }
.lv.pop:hover { box-shadow: var(--shadow-lift), inset 0 0 0 2px var(--yellow); }
.lv-he { font: 700 clamp(2rem, 3.6vw, 2.7rem)/1 var(--heb); }
.lv-main b { font: 750 1.3rem var(--display); letter-spacing: -.02em; display: inline-block; margin-inline-end: 10px; }
.lv-desc { display: block; color: var(--muted); font-size: .98rem; max-width: 44ch; margin-top: 2px; }
.stamp { display: inline-block; font: 700 .74rem var(--sans); font-style: normal; background: var(--ink); color: var(--yellow); padding: 3px 10px; border-radius: 999px; vertical-align: 3px; }
html[lang="he"] .stamp { font-size: .82rem; }
.lv-price { font: 750 1.9rem/1 var(--num); letter-spacing: -.03em; text-align: end; white-space: nowrap; }
.lv-price small { display: block; font: 500 .78rem var(--sans); letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.lv .btn { pointer-events: none; }
.lv:not(.pop) .btn.gold { background: var(--yellow-soft); box-shadow: none; }
.lv:not(.pop):hover .btn.gold { background: var(--yellow); }
.lv.chin { background: transparent; box-shadow: inset 0 0 0 1.5px var(--soft-line); }
.lv.chin .lv-he { font-size: 1.7rem; }
@media (max-width: 820px) {
  .lv { grid-template-columns: 1fr auto; padding: 22px 20px; }
  .lv-main { grid-column: 1 / -1; grid-row: 2; }
  .lv .btn { grid-column: 1 / -1; width: 100%; margin-top: 12px; }
}
.noscript { padding: 20px; background: var(--card); border-radius: 16px; text-align: center; }

/* Family */
.flaxbg { background: var(--warm); overflow: hidden; }
.fam { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .fam { grid-template-columns: 1fr 1fr; } }
.fam-copy p { font-size: 1.14rem; color: var(--muted); margin: 18px 0 32px; max-width: 30em; }
.tags { list-style: none; margin: 0; padding: 10px 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.tag { position: relative; background: var(--card); border-radius: 16px; padding: 20px 18px 18px; padding-inline-start: 46px; box-shadow: var(--shadow); }
.tag::before { content: ""; position: absolute; inset-inline-start: 18px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--warm); box-shadow: inset 0 1px 2px rgba(70, 92, 10, .35); }
.tag:nth-child(1) { transform: rotate(-2.5deg); } .tag:nth-child(2) { transform: rotate(2deg) translateY(14px); }
.tag:nth-child(3) { transform: rotate(1.5deg); } .tag:nth-child(4) { transform: rotate(-2deg) translateY(12px); }
.tag b { display: block; font: 750 1.3rem/1.2 var(--display); letter-spacing: -.02em; }
html[lang="he"] .tag b { letter-spacing: 0; font-size: 1.45rem; }
.tag span { font-size: .9rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); text-align: center; }
.steps .num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow-soft); font: 750 1.4rem var(--num); margin: 0 auto 16px; }
.steps p { color: var(--muted); margin-top: 8px; }

/* Promise */
#promise { padding-top: 0; }
.vow { background: linear-gradient(140deg, #eff07c, var(--yellow-soft) 55%, #fafbe1); border-radius: 34px; padding: clamp(40px, 7vw, 84px) clamp(24px, 6vw, 80px); text-align: center; }
.kicker { font-weight: 700; color: var(--green-ink); margin-bottom: 14px; }
.vow h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.vow-text { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 30em; margin: 20px auto 0; }
.sign { margin: 22px 0 30px; color: var(--green-ink); font-weight: 600; }
#flaxUnder { opacity: .62; }
#flaxOver { opacity: .7; }

/* paper grain so the page is not flat */
body { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .34  0 0 0 0 .05  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E"); }
.flaxbg, #faq { background: none; background-color: rgba(247, 226, 150, .34); }

@media (max-width: 420px) { .head-in { gap: 6px; } .brand-text b { font-size: 1.02rem; } .brand-mark { width: 22px; height: 28px; } .head .btn.small { padding: 0 11px; font-size: .86rem; } }
.trust { margin-top: 30px; font-size: .95rem; color: var(--muted); }
.boxtag { position: absolute; top: -16px; right: 26px; background: var(--card); color: var(--ink); font-weight: 700; font-size: .95rem; padding: 9px 16px 9px 34px; border-radius: 10px; transform: rotate(5deg); box-shadow: 0 8px 18px -8px rgba(90, 65, 0, .55); pointer-events: none; }
.boxtag::before { content: ""; position: absolute; left: 13px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #e9d9a4; box-shadow: inset 0 1px 2px rgba(90, 65, 0, .5); }
.howline { max-width: 34em; margin: 44px auto 0; text-align: center; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; }

.famform label { display: block; font: 750 1.15rem var(--display); margin-bottom: 10px; }
.famrow { display: flex; gap: 10px; flex-wrap: wrap; }
.famrow input { flex: 1 1 200px; min-width: 0; min-height: 60px; background: var(--card); border: 0; border-radius: 16px; padding: 0 18px; font-size: 1.1rem; box-shadow: var(--shadow); }
.famrow input:focus { outline: none; box-shadow: var(--shadow), inset 0 0 0 2.5px var(--yellow-deep); }
.fam-copy p { margin-bottom: 26px; }
.tag.live { background: linear-gradient(120deg, #fff, var(--yellow-soft)); transition: transform .25s ease, box-shadow .25s ease; }
.tag.live b { color: var(--muted); }
.tag.live.written { transform: rotate(-2.5deg) scale(1.06); box-shadow: var(--shadow-lift); }
.tag.live.written b { color: var(--ink); }
.assure { list-style: none; padding: 0; margin: clamp(36px, 5vw, 60px) auto 0; max-width: 900px; display: grid; gap: 34px 48px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.assure li { padding-inline-start: 40px; position: relative; }
.assure li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.assure h3 { margin-bottom: 4px; }
.assure p { color: var(--muted); }
.hechsher { margin-top: 34px; text-align: center; font: 700 1.1rem var(--heb); }

/* FAQ */
#faq { background: var(--warm); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; padding: 0 22px; box-shadow: 0 1px 2px rgba(70, 92, 10, .06); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem var(--sans); color: var(--green); transition: transform .2s; flex: none; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* Closing: under the schach, at night */
.sukkah { position: relative; background-color: var(--deep); color: #f3f6e4; padding: 150px 0 110px; overflow: hidden;
  background-image: radial-gradient(1.6px 1.6px at 12% 38%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 27% 62%, #fff 50%, transparent 51%), radial-gradient(1.8px 1.8px at 44% 30%, #ffe 50%, transparent 51%), radial-gradient(1.2px 1.2px at 61% 70%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 78% 36%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 90% 60%, #ffe 50%, transparent 51%), radial-gradient(1px 1px at 6% 80%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 88%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 35% 44%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 70% 52%, #fff 50%, transparent 51%), radial-gradient(70% 90% at 50% 110%, #2c5f12 0, rgba(79, 129, 15, 0) 70%); }
.schach { position: absolute; inset: 0 0 auto 0; height: 40px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  background: linear-gradient(rgba(255, 255, 255, .2), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .25)), repeating-linear-gradient(90deg, #d2b26c 0 9px, #b3934d 9px 11px, #2a2010 11px 12px, #c7a65f 12px 20px, #a5863f 20px 22px, #2a2010 22px 24px); }
.sukkah h2 { color: #fff; }
.sukkah p { color: #c9d6b6; margin: 14px 0 34px; font-size: 1.14rem; }
.sukkah .sukkah-call { margin: 24px 0 0; font-size: 1rem; }
.sukkah .hero-call { color: #c9d6b6; } .sukkah .hero-call b { color: #fff; }

.foot { background: #11320a; color: #bccaa9; padding: 40px 0 110px; font-size: .95rem; }
.foot-in { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.foot b { color: #fff; font-size: 1.08rem; }
.foot .tel { color: var(--yellow); }
.foot-note { opacity: .75; }
@media (min-width: 761px) { .foot { padding-bottom: 40px; } }

/* Always-there order bar on phones */
.bar { display: none; }
@media (max-width: 760px) {
  .bar { position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 22px; background: var(--yellow); color: var(--ink); border: 0; border-radius: 18px; font-weight: 750; font-size: 1.06rem; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(120, 90, 0, .6); }
  .bar small { font-weight: 600; font-size: .9rem; opacity: .8; }
}

/* Dialog sheets */
dialog.sheet { border: 0; padding: 0; color: var(--ink); background: var(--bg); width: min(680px, 100%); max-width: 100%; max-height: min(92dvh, 920px); border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(40, 30, 0, .6); overflow: hidden; }
dialog.sheet[open] { display: flex; flex-direction: column; animation: rise .25s ease; }
dialog.sheet > form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
dialog.sheet::backdrop { background: rgba(60, 46, 10, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
dialog.side { margin-inline: auto 0; margin-block: 0; height: 100dvh; max-height: 100dvh; width: min(460px, 100%); border-radius: 28px 0 0 28px; }
[dir="rtl"] dialog.side { border-radius: 0 28px 28px 0; }
@media (max-width: 720px) {
  dialog.sheet { margin: auto 0 0; width: 100%; max-height: 94dvh; border-radius: 28px 28px 0 0; }
  dialog.side { height: 94dvh; border-radius: 28px 28px 0 0 !important; }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 10px; flex: none; }
.sheet-head h2 { font-size: 1.55rem; }
.x { width: 42px; height: 42px; border: 0; background: rgba(31, 41, 19, .07); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.x:hover { background: rgba(31, 41, 19, .14); }
.sheet-body { padding: 0 24px 26px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.sheet-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 24px calc(16px + env(safe-area-inset-bottom)); background: var(--card); box-shadow: 0 -10px 24px -16px rgba(70, 92, 10, .35); }
.sheet-foot:empty { display: none; }
.total { display: grid; line-height: 1.15; }
.total span { font: 750 1.8rem var(--num); letter-spacing: -.03em; }
.total small { color: var(--muted); font-size: .84rem; }

/* Form pieces */
fieldset { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
legend, .label { font: 750 1.1rem var(--display); letter-spacing: -.01em; padding: 0; margin-bottom: 4px; display: block; }
html[lang="he"] legend, html[lang="he"] .label { font-size: 1.25rem; letter-spacing: 0; }
.help { color: var(--muted); font-size: .9rem; margin-bottom: 8px; display: block; }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); margin-top: 10px; }
@media (min-width: 721px) { .opts { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt .box { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; height: 100%; background: var(--card); border-radius: 16px; padding: 13px 15px; min-height: 58px; box-shadow: inset 0 0 0 1.5px var(--soft-line); transition: box-shadow .15s, background .15s, transform .15s; }
.opt .box b { font-weight: 650; font-size: .98rem; }
.opt .box small { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.opt .box em { grid-row: 1; grid-column: 2; font-style: normal; font-weight: 650; font-size: .9rem; color: var(--muted); }
.opt:hover .box { box-shadow: inset 0 0 0 1.5px var(--yellow-deep); }
.opt input:checked + .box { background: var(--yellow-soft); box-shadow: inset 0 0 0 2.5px var(--yellow-deep); }
.opt input:checked + .box em { color: var(--ink); }
.opt input:focus-visible + .box { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }
.field { display: block; margin-top: 22px; }
.field .label small { font: 400 .85rem var(--sans); color: var(--muted); margin-inline-start: 8px; }
.field input, .field textarea { width: 100%; background: var(--card); border: 0; box-shadow: inset 0 0 0 1.5px var(--soft-line); border-radius: 14px; padding: 14px 15px; font-size: 1.05rem; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--yellow-deep); }
.field.bad input, .field.bad textarea { box-shadow: inset 0 0 0 2px var(--danger); }
.err { color: var(--danger); font-size: .9rem; margin-top: 6px; display: block; }
.grid2 { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.where { color: var(--muted); font-size: .93rem; margin-top: 12px; padding: 14px 16px; background: var(--warm); border-radius: 14px; }
.where b { color: var(--ink); }

/* Order: every set is a name tag */
.line { position: relative; margin-top: 14px; background: var(--card); border-radius: 18px; padding: 18px 18px 12px; padding-inline-start: 44px; box-shadow: var(--shadow); }
.line::before { content: ""; position: absolute; inset-inline-start: 17px; top: 25px; width: 11px; height: 11px; border-radius: 50%; background: var(--warm); box-shadow: inset 0 1px 2px rgba(70, 92, 10, .35); }
.line-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.line h3 { font-size: 1.15rem; line-height: 1.4; }
.line .who { font-weight: 650; background: var(--yellow-soft); padding: 2px 9px; border-radius: 999px; white-space: nowrap; font-size: .95rem; letter-spacing: 0; }
.line .amt { font: 750 1.15rem var(--num); white-space: nowrap; }
.line .detail { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.line-actions { display: flex; align-items: center; gap: 2px 16px; flex-wrap: wrap; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; background: rgba(31, 41, 19, .06); border-radius: 999px; margin-inline-end: auto; }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
.qty button:hover { background: var(--yellow); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.cart-foot { display: grid; gap: 12px; width: 100%; }
.cart-foot .row { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); }
.cart-foot .row span:last-child { font: 750 1.7rem var(--num); letter-spacing: -.03em; color: var(--ink); }
.sum { margin-top: 26px; background: var(--warm); border-radius: 16px; padding: 16px 18px; display: grid; gap: 6px; color: var(--muted); }
.sum div { display: flex; justify-content: space-between; }
.sum .grand { color: var(--ink); font-weight: 700; font-size: 1.1rem; margin-top: 4px; }

/* Done */
.done { text-align: center; padding: 44px 28px 34px; }
.done .seal { width: 78px; height: 78px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 20px; box-shadow: 0 0 0 12px var(--yellow-soft); }
.done h2 { margin-bottom: 8px; }
.done > p { color: var(--muted); }
.ticket { text-align: start; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; margin: 26px 0; }
.ticket small { color: var(--muted); }
.ticket .no { font: 750 1.5rem var(--num); letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ticket ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; display: grid; gap: 6px; }
.ticket li { display: flex; justify-content: space-between; gap: 12px; }
.ticket li.grand { color: var(--ink); font-weight: 700; margin-top: 6px; }
.demo { background: #fff3cd; color: #5a4500; border-radius: 12px; padding: 10px 12px; font-size: .86rem; margin-bottom: 18px; }
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.toast { position: fixed; inset-block-end: 90px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; opacity: 0; transform: translateY(12px); transition: .25s; pointer-events: none; z-index: 60; }
.toast.on { opacity: 1; transform: none; }

/* Shabbos */
.closed { position: fixed; inset: 0; z-index: 200; background: var(--deep); color: #f3f6e4; display: grid; place-items: center; text-align: center; padding: 30px; }
.closed svg { width: 90px; margin-bottom: 26px; }
.closed h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: #fff; }
.closed p { color: #c9d6b6; margin-top: 14px; font-size: 1.15rem; }
.closed .gut { color: var(--yellow); font: 700 1.7rem var(--heb); margin-top: 30px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print {
  body > *:not(#done) { display: none !important; }
  dialog#done { position: static; display: block; box-shadow: none; max-height: none; width: 100%; }
  .done-actions, .demo { display: none; }
}

/* About, in the owner's words */
.about { text-align: center; }
.about-p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted); margin-top: 18px; }
.about blockquote { margin: 40px 0 0; }
.about blockquote p { font: 700 clamp(1.5rem, 3.2vw, 2.2rem)/1.35 var(--display); letter-spacing: -.02em; text-wrap: balance; }
html[lang="he"] .about blockquote p { letter-spacing: 0; }
.about blockquote p::before { content: "\201C"; } .about blockquote p::after { content: "\201D"; }
.about blockquote footer { margin-top: 18px; color: var(--green-ink); font-weight: 600; }
.brand-text i:empty { display: none; }
.wastep { margin: 0 0 16px; font-weight: 600; color: var(--ink); }

/* ---------- guide pages (built from content/ by tools/build.py) ---------- */
.foot-guides { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; align-items: baseline; }
.foot-guides a { color: #d5e0c6; text-decoration: none; }
.foot-guides a:hover { color: #fff; text-decoration: underline; }
.guide .foot { padding-bottom: 48px; }
.guide .top-phone { margin-inline-start: auto; }
.guide-body { padding: clamp(32px, 6vw, 68px) 0 clamp(56px, 8vw, 96px); }
.crumb { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.crumb a { text-decoration: none; }
.guide-body h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.guide-body .lead { max-width: none; margin-top: 18px; }
.guide-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 46px; }
.guide-body h3 { margin-top: 26px; }
.guide-body p { margin-top: 14px; }
.guide-body ul, .guide-body ol { margin: 14px 0 0; padding-inline-start: 1.25em; }
.guide-body li { margin-top: 8px; }
.guide-body li::marker { color: var(--green); }
.guide-body a:not(.btn) { color: var(--green-ink); text-underline-offset: 3px; }
.guide-levels { list-style: none; padding: 0 !important; display: grid; gap: 10px; margin-top: 18px !important; }
.guide-levels li { background: var(--card); border-radius: 16px; padding: 16px 20px; margin: 0; box-shadow: var(--shadow); color: var(--muted); }
.guide-levels b { color: var(--ink); font-size: 1.1rem; }
.guide-levels span { font-family: var(--heb); color: var(--muted); margin-inline-start: 6px; }
.guide-levels i { font-style: normal; font-weight: 700; color: var(--ink); float: inline-end; }
.guide-cta { background: linear-gradient(140deg, #eff07c, var(--yellow-soft) 55%, #fafbe1); border-radius: 28px; padding: clamp(30px, 5vw, 48px) 26px; text-align: center; margin-top: 60px; }
.guide-cta h2 { margin-top: 0; }
.guide-cta .btn { margin-top: 22px; }
.guide-more ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.guide-more li { margin: 0; }
.guide-more a:not(.btn) { display: block; background: var(--card); border-radius: 16px; padding: 15px 20px; text-decoration: none; font-weight: 700; color: var(--ink); box-shadow: 0 1px 2px rgba(70, 92, 10, .06); }
.guide-more a:hover { box-shadow: var(--shadow); }
.guide-note { font-size: .92rem; color: var(--muted); margin-top: 34px !important; }

/* ---------- logo (img/logo.png, from "Shapiro Esrogim Logos") ---------- */
.brand-logo { display: block; height: 54px; width: auto; flex: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-logo { display: block; height: 104px; width: auto; margin-bottom: 14px; }
@media (max-width: 420px) { .brand-logo { height: 44px; } }
.about-logo { display: block; width: 150px; height: auto; margin: 0 auto 26px; }

/* ---------- Guides menu in the header ---------- */
.menu { position: relative; }
.menu-btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 12px; font-size: .94rem; font-weight: 650; background: rgba(31, 41, 19, .06); user-select: none; }
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn:hover, .menu[open] .menu-btn { background: var(--yellow-soft); }
.menu-ico { display: grid; gap: 3px; width: 15px; }
.menu-ico i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu[open] .menu-ico i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu[open] .menu-ico i:nth-child(2) { opacity: 0; }
.menu[open] .menu-ico i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu-pop { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 360px; max-height: calc(100vh - 100px); overflow: auto; background: var(--card); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lift); z-index: 40; }
.menu-h { font-size: .8rem; font-weight: 700; color: var(--green-ink); padding: 10px 12px 6px; }
.menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu-links a { text-decoration: none; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.menu-links a:hover { background: var(--yellow-soft); }
.menu-guides { display: grid; gap: 2px; }
.menu-guide { display: grid; gap: 2px; text-decoration: none; padding: 11px 12px; border-radius: 14px; text-align: start; }
.menu-guide b { font-size: 1rem; }
.menu-guide span { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.menu-guide:hover { background: var(--yellow-soft); }
.menu-guide.here { background: var(--warm); }
@media (min-width: 920px) { .menu-sec { display: none; } }
@media (max-width: 919px) {
  .menu { position: static; }
  .menu-pop { position: absolute; inset-inline: 12px; top: calc(100% + 6px); width: auto; }
}
.menu-lang { display: none; width: 100%; min-height: 48px; margin-bottom: 4px; border: 0; border-radius: 14px; background: var(--yellow-soft); font: 700 1rem var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 560px) {
  #langBtn { display: none; }
  .menu-lang { display: block; }
  .menu-btn { padding: 0 12px; }
}
.head-in { position: relative; }

/* ---------- placed orders (confirmation + "My order" drawer) ---------- */
.ticket .date { display: block; margin-top: 2px; }
.ticket li > span:first-child { display: grid; gap: 2px; }
.ticket li b { color: var(--ink); font-weight: 650; }
.ticket .who { justify-self: start; }
.ticket small.d { font-size: .86rem; }
.ticket .how { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--soft-line); font-size: .92rem; color: var(--muted); }
.view-later { color: var(--muted); font-size: .95rem; margin: -10px 0 22px; }
.empty.slim { padding: 26px 0 8px; }
.orders { margin-top: 30px; }
.orders h3 { font-size: 1.15rem; }
.orders .ticket { margin: 14px 0; box-shadow: 0 1px 2px rgba(70, 92, 10, .08); }
.orders-help { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
