/* Leni Flowers: storefront styles
   Look: greenhouse ivory ground, deep stem-green ink, tulip pink for actions, arch-framed flower photos.
   Type: Rubik for everything (soft and round), headings in heavier weights. Served from /fonts.
   Mobile first where it matters; breakpoints at 1080 (menu), 960 (two columns) and 760 (phone). */

/* ---------- Fonts (self-hosted, no outside requests) ---------- */
@font-face { font-family: "Rubik"; src: url(/fonts/rubik-hebrew.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; src: url(/fonts/rubik-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  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; }

:root {
  --ground: #F6F6F1;
  --ground-2: #EEF2EB;
  --surface: #FFFFFF;
  --ink: #1C3324;
  --ink-soft: #55675A;
  --ink-faint: #647469;   /* lightest grey allowed for text: 4.5:1 contrast (accessibility standard) */
  --tulip: #B42B5C;
  --tulip-dark: #8E1F47;
  --blush: #F6E2E8;
  --blush-soft: #FCF3F6;
  --leaf: #3F7D52;
  --leaf-pale: #E6EFE5;
  --line: #E0E5DC;
  --line-strong: #C7D0C4;
  --danger: #A61B1B;
  --wa: #128C4A;
  --display: "Rubik", "Segoe UI", Arial, sans-serif;
  --body: "Rubik", "Segoe UI", Arial, sans-serif;
  --arch: 999px 999px 18px 18px;
  --wrap: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(28,51,36,.06), 0 2px 8px rgba(28,51,36,.05);
  --shadow: 0 10px 30px rgba(28,51,36,.10);
  --shadow-lg: 0 24px 60px rgba(28,51,36,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); scroll-behavior: smooth; }
html.has-drawer { overflow: hidden; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.7 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tulip-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--tulip); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0 0 .45em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
h3 { font-size: 1.12rem; font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
li { text-wrap: pretty; }
strong, b { font-weight: 600; }
svg { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 2.5px solid var(--tulip); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
main { min-height: 50vh; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.danger-text { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
ul.plain { list-style: none; padding: 0; margin: 0; }
.link-center { display: block; text-align: center; margin-top: 14px; }
::selection { background: var(--blush); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .6em 1.5em;
  background: var(--tulip); color: #fff; border: 1.5px solid var(--tulip); border-radius: 999px;
  font: 500 1rem/1.2 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: var(--tulip-dark); border-color: var(--tulip-dark); color: #fff; box-shadow: 0 6px 18px rgba(180,43,92,.22); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #0e7a40; border-color: #0e7a40; box-shadow: 0 6px 18px rgba(18,140,74,.22); }
.btn-lg { min-height: 54px; padding-inline: 1.9em; font-size: 1.05rem; }
.btn-small { min-height: 38px; padding: .3em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #7f1414; border-color: #7f1414; }
.link-btn { background: none; border: 0; padding: 0; color: var(--tulip-dark); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #E8EFE9; font-size: .84rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.announce { margin: 0; letter-spacing: .01em; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { color: #E8EFE9; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }
.topbar-links svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; view-transition-name: site-header; transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(28,51,36,.08); }
.site-header { transition: box-shadow .25s var(--ease), transform .3s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.header-row { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-he { font: 600 1.5rem/1 var(--display); letter-spacing: -.01em; }
.brand-en { font: 500 .62rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--leaf); margin-top: 5px; }
.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a { position: relative; display: flex; align-items: center; height: var(--header-h); padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; white-space: nowrap; }
.nav-list > li > a::before { content: ""; position: absolute; inset-inline: 12px; bottom: 18px; height: 1.5px; background: var(--tulip); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-list > li > a:hover::before, .nav-list > li:focus-within > a::before { transform: scaleX(1); }
.has-sub > a::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-start: 8px; margin-top: -4px; opacity: .6; }
.sub { position: absolute; inset-inline-start: 0; top: calc(100% - 8px); min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 40;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--leaf-pale); }
.sub .sub-all { color: var(--tulip-dark); font-weight: 500; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; padding-top: 11px; }
.header-actions { display: flex; align-items: center; gap: 2px; flex: none; margin-inline-start: auto; }
.main-nav + .header-actions { margin-inline-start: 0; }
.icon-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background .2s; }
.icon-link:hover { background: var(--leaf-pale); color: var(--ink); }
.icon-link svg { width: 24px; height: 24px; }
.admin-link { font-weight: 500; font-size: .9rem; color: var(--ink); text-decoration: none; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 99px; margin-inline-end: 6px; }
.admin-link:hover { background: var(--ink); color: #fff; }
.cart-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--tulip); color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center; line-height: 1; border: 2px solid #fff; }
.cart-count[hidden] { display: none; }
.cart-count.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; cursor: pointer; place-items: center; margin-inline-start: -8px; }
.menu-toggle:hover { background: var(--leaf-pale); }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; inset-inline-start: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; width: 14px; }

/* ---------- Side panels (<dialog>) ---------- */
dialog.drawer { position: fixed; inset: 0 0 0 auto; inset-inline-start: auto; inset-inline-end: 0; margin: 0; padding: 0; border: 0;
  width: min(440px, 92vw); max-width: none; height: 100dvh; max-height: none; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.drawer[open] { display: flex; flex-direction: column; animation: drawer-in-end .32s var(--ease); }
dialog.drawer-menu { inset-inline-end: auto; inset-inline-start: 0; width: min(360px, 88vw); }
dialog.drawer-menu[open] { animation-name: drawer-in-start; }
dialog.drawer.is-closing { animation: drawer-out-end .22s ease-in forwards; }
dialog.drawer-menu.is-closing { animation-name: drawer-out-start; }
dialog.drawer::backdrop { background: rgba(18,32,23,.42); backdrop-filter: blur(2px); animation: fade-in .3s ease; }
dialog.drawer.is-closing::backdrop { animation: fade-out .22s ease forwards; }
/* RTL: the end side is the left edge */
@keyframes drawer-in-end { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes drawer-out-end { to { transform: translateX(-100%); } }
@keyframes drawer-in-start { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out-start { to { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 14px 14px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-head h2 { margin: 0; font-size: 1.3rem; }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--ink); }
.drawer-close:hover { background: var(--leaf-pale); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.drawer-content { display: flex; flex-direction: column; min-height: 100%; }
.drawer-note { margin: 14px 20px 0; padding: 10px 14px; border-radius: 12px; font-weight: 500; animation: fade-in .3s ease; }
.drawer-note.ok { background: var(--leaf-pale); }
.drawer-note.err { background: #FCEBEB; color: var(--danger); }
/* The same item added again: a gentle heads-up, and its line glows for a moment */
.drawer-note.again { background: #FFF4D6; color: var(--ink); font-weight: 400; }
.cart-line.is-bumped { background: #FFF8E6; border-radius: 12px; box-shadow: 0 0 0 6px #FFF8E6; animation: bump 1.6s var(--ease); }
.cart-line.is-bumped .qty-val { color: var(--tulip-dark); font-weight: 700; }
@keyframes bump { 0%, 40% { box-shadow: 0 0 0 6px #FFE7A3; background: #FFE7A3; } 100% { box-shadow: 0 0 0 6px #FFF8E6; background: #FFF8E6; } }
@media (prefers-reduced-motion: reduce) { .cart-line.is-bumped { animation: none; } }
.drawer-empty { padding: 48px 24px; text-align: center; color: var(--ink-soft); }
.cart-list.drawer-lines { padding: 4px 20px; flex: 1; }
.drawer-lines .cart-line { grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; }
.drawer-lines .cart-line h3 { font-size: .98rem; }
.drawer-foot { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
.drawer-foot .sum-row { margin: 10px 0 14px; font-size: 1.05rem; }
.drawer-links { display: flex; justify-content: space-between; margin-top: 12px; font-size: .92rem; }
.drawer-links .link-btn { color: var(--ink-soft); }
.drawer-body.is-busy { opacity: .6; }
.drawer-loading { display: flex; justify-content: center; gap: 8px; padding: 64px 0; }
.drawer-loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); animation: dot 1s ease-in-out infinite; }
.drawer-loading span:nth-child(2) { animation-delay: .15s; } .drawer-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-6px); background: var(--tulip); } }
.delivery-info.drawer-content { padding: 20px; min-height: 0; }
/* phone menu */
.m-nav, .m-links, .m-sub { list-style: none; margin: 0; padding: 0; }
.m-nav { padding: 8px 20px; }
.m-nav > li { border-bottom: 1px solid var(--line); }
.m-nav > li > a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font: 500 1.2rem/1.3 var(--display); }
.m-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 14px; }
.m-sub a { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.m-links { padding: 14px 20px; }
.m-links a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--ink); text-decoration: none; }
.m-links svg { width: 20px; height: 20px; color: var(--leaf); }
.m-contact { display: flex; gap: 10px; padding: 8px 20px 28px; margin-top: auto; }
.m-contact .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { padding: clamp(14px, 2.5vw, 36px) 0 clamp(20px, 3vw, 40px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700; margin-bottom: .2em; line-height: 1.15; text-wrap: balance; }
/* the shop's three values under the title (owner, Nov 2026) */
.hero-values { margin: 0 0 .7em; font-size: clamp(1.22rem, 1.9vw, 1.5rem); font-weight: 600; color: var(--tulip); letter-spacing: .02em; }
.hero-values span { color: var(--ink-soft); margin-inline: .25em; }
.hero .lead { text-wrap: balance; }   /* two even lines on a phone, never one lonely word */
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.next-delivery { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 8px 18px; font-size: .95rem; box-shadow: var(--shadow-sm); }
.next-delivery .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(63,125,82,.16); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 7px rgba(63,125,82,.06); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-art { position: relative; display: block; justify-self: center; width: min(100%, 360px); }
.hero-img { position: relative; z-index: 1; display: block; border-radius: var(--arch); aspect-ratio: 4 / 5; overflow: hidden; background: var(--ground-2); box-shadow: var(--shadow); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-art:hover img { transform: scale(1.03); }
.section-title { margin-bottom: 22px; }

/* ---------- Category tiles ---------- */
.cat-tiles-wrap { margin-bottom: 56px; }
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-tiles a { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.ct-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--ground-2); margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.ct-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tiles a:hover img { transform: scale(1.05); }
.ct-name { font-weight: 500; font-size: 1rem; }
.swipe-hint { display: none; }

/* ---------- Promises / promos / how ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--line); margin-block: 0 64px; }
.promises > div { padding: 24px 26px; }
.promises > div + div { border-inline-start: 1px solid var(--line); }
.promises h2 { font-size: 1.12rem; margin-bottom: .3em; }
.promises p { margin: 0; color: var(--ink-soft); }
.shop-section { margin-bottom: 64px; }
/* home: the chosen bouquets first, then the promises, then the categories (owner, Nov 2026) */
.home-featured { margin-bottom: 40px; }
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 64px; }
.promo { border-radius: 28px; padding: 34px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.promo h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.promo .btn, .promo .promo-actions { margin-top: auto; }
.promo-sub { background: var(--leaf-pale); }
.promo-events { background: var(--blush); }
.promo p { color: var(--ink-soft); max-width: 46ch; }
.promo-actions, .contact-buttons, .callout-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.how { margin-bottom: 64px; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.how-steps li { counter-increment: step; position: relative; padding-top: 58px; }
.how-steps li::before { content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--ink); color: var(--ink); font: 500 1.1rem var(--display); }
.how-steps h3 { font-size: 1.12rem; }
.how-steps p { color: var(--ink-soft); }
.reminder-promo, .custom-callout { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px 34px; margin-bottom: 56px; box-shadow: var(--shadow-sm); }
.callout-text { flex: 1 1 420px; min-width: 0; }
.callout-text h2 { margin-bottom: .25em; }
.reminder-promo p, .custom-callout p { margin: 0; color: var(--ink-soft); text-wrap: balance; }
.keep { display: inline-block; }
.nowrap { white-space: nowrap; }

/* ---------- Product grid ---------- */
.product-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; }
.product-card a { display: block; text-decoration: none; color: var(--ink); }
.pc-img { position: relative; background: var(--ground-2); border-radius: var(--arch); aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--arch); transition: transform .6s var(--ease); }
.product-card a:hover .pc-img { box-shadow: var(--shadow); }
.product-card a:hover .pc-img img { transform: scale(1.04); }
/* Labels on a product picture: one shape for all, a color per meaning (product label / sale / sold out) */
.badges { position: absolute; top: 20%; inset-inline-start: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; line-height: 1.2;
  background: var(--leaf); color: #fff; box-shadow: 0 4px 14px rgba(38, 34, 30, .18); white-space: nowrap; }
.badge-sale { background: var(--tulip); color: #fff; }
.badge-out { background: #26221E; color: #fff; }.pc-out { color: var(--ink-soft); font-weight: 500; }
.tag-out { font-size: .9rem; font-weight: 500; color: var(--tulip-dark); background: #FBEAEE; padding: 6px 12px; border-radius: 999px; align-self: center; }
.pdp.is-soldout #pdp-price { color: var(--ink-soft); }
s.was { color: var(--ink-soft); font-weight: 400; font-size: .82em; text-decoration-thickness: 1px; margin-inline-end: 2px; }
.now { color: var(--tulip-dark); font-weight: 600; font-size: 1.12em; }
.qty-note { margin: 8px 0 0; color: var(--tulip-dark); font-weight: 500; font-size: .92rem; }
.qty-note:empty { display: none; }
.qty-left { font-size: .82rem; color: var(--tulip-dark); font-weight: 500; }
.cl-details .saved, .sum-lines .saved { color: var(--leaf); font-weight: 500; }
/* the frequency choice sits in the same white box as the add-ons ("להוסיף לכל משלוח"), the green "how it works" inside it */
.freq-pick { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px; margin: 0 0 20px; background: var(--surface); }
.freq-pick legend { font: 500 1rem var(--body); padding: 0 6px; }
.freq-pick .sub-how { margin-bottom: 0; }
.freq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.freq-opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .2s var(--ease), background .2s var(--ease); }
.freq-opt input { position: absolute; opacity: 0; pointer-events: none; }
.freq-opt:has(input:checked) { border-color: var(--tulip); background: var(--blush-soft); box-shadow: 0 0 0 3px rgba(180,43,92,.08); }
.freq-opt:has(input:focus-visible) { outline: 2px solid var(--tulip); outline-offset: 2px; }
.freq-name { font-weight: 500; }
.freq-meta { font-size: .85rem; color: var(--ink-soft); }
.freq-opt:has(input[data-weekly]) .freq-meta { color: var(--leaf); font-weight: 500; }
.soldout-box { background: var(--ground-2); border: 1px solid var(--line); padding: 16px 18px; border-radius: 16px; margin-top: 16px; }
.soldout-box p { margin: 0 0 12px; }
.product-card h3 { font: 500 1.02rem/1.35 var(--body); margin-bottom: .2em; }
.pc-short { color: var(--ink-soft); font-size: .92rem; margin-bottom: .4em; line-height: 1.5; }
.pc-price { font-weight: 500; color: var(--tulip-dark); margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pc-sizes { font-weight: 400; font-size: .82rem; color: var(--ink-faint); }

/* ---------- Page heads, crumbs, chips ---------- */
.page-head { padding-block: 28px 14px; }
.page-head h1 { margin-bottom: .25em; }
.crumbs { font-size: .86rem; color: var(--ink-faint); margin-block: 18px 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--tulip-dark); text-decoration: underline; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }   /* room for the chosen chip's ring */
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 7px 18px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .94rem; transition: all .2s; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current="page"] { background: var(--blush-soft); color: var(--tulip-dark); border-color: var(--tulip); box-shadow: 0 0 0 3px rgba(180,43,92,.08); }
.sort-form label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .94rem; }
.sort-form select { width: auto; margin: 0; min-height: 40px; padding-block: 6px; }

/* ---------- Product page ---------- */
/* Desktop: picture on the side, sized so all of it fits on screen and stays there while the details scroll */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "media head" "media sizes" "media info";
  grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 80px); align-items: start; margin-bottom: 72px; }
.pdp-head { grid-area: head; }
.pdp-info { grid-area: info; min-width: 0; }
.pdp-media { grid-area: media; margin: 0; position: sticky; top: calc(var(--header-h) + 20px); justify-self: center;
  width: min(100%, calc((100svh - var(--header-h) - 70px) * .8)); }
.pdp-img-wrap { position: relative; border-radius: var(--arch); overflow: hidden; background: var(--ground-2); box-shadow: var(--shadow); }
.pdp-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--arch); transition: opacity .2s var(--ease); view-transition-name: product-hero; }
.pdp-media img.is-swapping { opacity: .35; }
.pdp-media figcaption { font-size: .875rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }  /* 14px vs 16px text */
.pdp-head h1 { margin-bottom: .2em; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; font: 500 1.65rem/1 var(--body); color: var(--tulip-dark); margin-bottom: .6em; font-variant-numeric: tabular-nums; }
#pdp-price .now { font-size: 1em; }   /* same height with or without a discount: nothing below moves */
.pdp-quote { font-size: 1.15rem; }
.pdp-size-name { font: 400 .98rem var(--body); color: var(--ink-soft); }
.pdp-head .lead { font-size: 1.06rem; margin-bottom: 0; }
.size-picker { grid-area: sizes; border: 0; padding: 0; margin: 26px 0 6px; background: none; min-width: 0; }
.size-picker legend { font: 500 1rem var(--body); margin-bottom: 12px; padding: 0; }
.size-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.size-n2 .size-list { grid-template-columns: repeat(2, 1fr); }
.size-n3 .size-list { grid-template-columns: repeat(3, 1fr); }
.size-opt { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
  padding: 14px 8px 12px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--surface); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease); }
.size-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size-opt:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.size-opt:has(input:checked) { border-color: var(--tulip); background: var(--blush-soft); box-shadow: 0 0 0 3px rgba(180,43,92,.08); }
.size-opt:has(input:focus-visible) { outline: 2.5px solid var(--tulip); outline-offset: 3px; }
.size-opt.is-out { opacity: .45; cursor: not-allowed; }
.size-text { display: flex; flex-direction: column; gap: 2px; }
.size-bar { display: flex; align-items: flex-end; height: 46px; width: 24px; margin-bottom: 6px; }
.size-bar span { display: block; width: 100%; background: var(--leaf-pale); border: 1.5px solid var(--leaf); border-radius: 12px 12px 4px 4px; transition: background .2s, border-color .2s; }
.size-opt:has(input:checked) .size-bar span { background: var(--tulip); border-color: var(--tulip); }
.h2 { height: 20%; } .h3 { height: 30%; } .h4 { height: 40%; } .h5 { height: 50%; } .h6 { height: 60%; } .h7 { height: 70%; } .h8 { height: 80%; } .h9 { height: 90%; } .h10 { height: 100%; }
.size-name { font-weight: 500; line-height: 1.25; }
.size-meta { font-size: .8rem; color: var(--ink-soft); line-height: 1.3; }
.size-price { font-weight: 500; color: var(--tulip-dark); font-variant-numeric: tabular-nums; margin-top: 2px; }
.pdp-form { margin-top: 20px; }
/* other choices (e.g. color) in the same white box as the add-ons and the frequency */
.opt-select { margin: 0 0 20px; padding: 10px 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.opt-select legend { font: 500 1rem var(--body); padding: 0 6px; }
.opt-select select { max-width: 320px; margin-top: 4px; }
.addons { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 6px; margin: 0 0 20px; background: var(--surface); }
.addons legend { font: 500 1rem var(--body); padding: 0 6px; }
.addon-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.addon-title { font-weight: 500; width: 100%; font-size: .94rem; }
.chip-radio { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: .94rem; cursor: pointer; background: var(--surface); transition: all .2s; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio:hover { border-color: var(--ink); }
.chip-radio:has(input:checked) { border-color: var(--tulip); background: var(--blush-soft); color: var(--tulip-dark); }
.chip-radio:has(input:focus-visible) { outline: 2.5px solid var(--tulip); outline-offset: 2px; }
.chip-size { font-size: .82rem; color: var(--ink-soft); }
.chip-price { color: var(--ink-soft); font-size: .88rem; font-variant-numeric: tabular-nums; }
.addon-check { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; font-weight: 400; }
/* a line only between add-ons (one add-on alone, e.g. just a candle, has none) */
:is(.addon-check, .addon-group) + .addon-check { border-top: 1px solid var(--line); }
.addon-check input { width: 20px; height: 20px; accent-color: var(--tulip); flex: none; margin: 0; }
.addon-check img { width: 36px; height: 45px; object-fit: cover; border-radius: 18px 18px 5px 5px; background: var(--ground-2); }
.addon-check span:first-of-type { flex: 1; }
.addons > .muted { margin: 6px 0 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--tulip); flex: none; }
.qty, .stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 99px; overflow: hidden; background: var(--surface); flex: none; }
.qty input, .stepper input { width: 44px; min-height: 48px !important; margin: 0 !important; border: 0 !important; text-align: center; border-radius: 0 !important; padding: 0 !important; -moz-appearance: textfield; font-weight: 500; background: transparent !important; box-shadow: none !important; }
.qty input::-webkit-inner-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-btn { width: 42px; height: 48px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); transition: background .15s; }
.qty-btn:hover { background: var(--leaf-pale); }
.buy-bar { display: flex; align-items: center; gap: 12px; padding: 4px 0 0; }
/* The buy button may wrap to two lines (e.g. when the browser translates the page and the words get longer);
   the price never gets cut off */
.btn-buy { flex: 1; min-width: 0; flex-wrap: wrap; column-gap: .35em; row-gap: 0; white-space: normal; text-align: center; line-height: 1.25; padding-block: .45em; }
.buy-total { font-weight: 400; opacity: .92; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Browser translation (Chrome/Google adds these classes to <html>): let every button wrap instead of spilling out */
html.translated-ltr .btn, html.translated-rtl .btn { white-space: normal; text-align: center; height: auto; }
html.translated-ltr .buy-bar, html.translated-rtl .buy-bar { flex-wrap: wrap; }
.pdp-perks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: .88rem; color: var(--ink-soft); }
.pdp-perks span::before { content: "✓"; color: var(--leaf); margin-inline-end: 6px; font-weight: 600; }
.pdp-details { margin-top: 28px; }
.pdp-details details { border-top: 1px solid var(--line); }
.pdp-details details:last-child { border-bottom: 1px solid var(--line); }
.pdp-details summary { font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: "+"; font: 300 1.5rem/1 var(--body); color: var(--ink-soft); transition: transform .25s var(--ease); }
.pdp-details details[open] summary::after { transform: rotate(45deg); }
.pdp-details details > :not(summary) { margin: 0 0 16px; color: var(--ink-soft); }
.pdp-details details p + p { margin-top: -6px; }
.seasonal { background: var(--leaf-pale); border-radius: 12px; padding: 10px 14px; font-size: .9rem; color: var(--ink) !important; }
.out-note { background: var(--leaf-pale); padding: 14px 18px; border-radius: 14px; margin-top: 20px; }
.inquiry-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 22px 0; }
.inquiry-form h2 { font-size: 1.2rem; }
.pdp-single .pdp-info .contact-buttons { margin-top: 24px; }
.related { padding-top: 40px; margin-bottom: 72px; }   /* no line: the page already has one above */
.related .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Forms ---------- */
label { display: block; font-weight: 500; font-size: .95rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 11px 15px; font: 400 1rem var(--body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
select { appearance: none; -webkit-appearance: none; padding-inline-end: 15px; padding-inline-start: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-soft) 50%);
  background-position: 18px 50%, 23px 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #A3AEA5; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,51,36,.08); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); background: #FFF8F8; }
/* a required checkbox (the terms) left empty: the whole line gets the same pink frame as other fields */
.consents .check { padding: 8px 10px; margin-inline: -10px; border: 1px solid transparent; border-radius: 12px; transition: background .2s, border-color .2s; }
.consents .check:has(input[aria-invalid="true"]) { border-color: var(--danger); background: #FFF8F8; }
.field-error { display: block; color: var(--danger); font-size: .86rem; font-weight: 500; margin-top: 5px; }
.field-error:empty { display: none; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 10px; margin: 0 0 18px; background: var(--surface); min-width: 0; }
legend { font: 600 1.15rem var(--display); padding: 0 8px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 .88rem var(--body); margin-inline-end: 8px; vertical-align: 3px; }
.fieldset-like { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 18px; background: var(--surface); }
.fieldset-like summary { font-weight: 500; cursor: pointer; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; margin-bottom: 12px; }
.grid2 > * { min-width: 0; }
.span2 { grid-column: 1 / -1; }
.stack > * + * { margin-top: 16px; }
.error { color: var(--danger); font-weight: 500; }
.form-errors { background: #FCEBEB; border: 1px solid #EBC3C3; border-radius: 16px; padding: 14px 20px; margin-bottom: 20px; color: var(--danger); font-weight: 500; }
.form-errors ul { margin: 0; padding-inline-start: 20px; }
.counter { display: block; text-align: end; }
.flash { width: min(var(--wrap), 100% - 40px); margin: 18px auto 0; padding: 12px 18px; border-radius: 14px; font-weight: 500; animation: fade-in .4s ease; }
.flash-ok { background: var(--leaf-pale); color: var(--ink); }
.flash-error { background: #FCEBEB; color: var(--danger); }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; margin-bottom: 72px; box-shadow: var(--shadow-sm); }
.contact-buttons.big { margin-bottom: 24px; }

/* ---------- Bag & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; margin-bottom: 72px; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 6px; }
.cl-img img { border-radius: 48px 48px 10px 10px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ground-2); }
.cart-line h3 { font: 500 1.05rem/1.35 var(--body); margin-bottom: .15em; }
.cart-line h3 a { color: var(--ink); text-decoration: none; }
.cart-line h3 a:hover { color: var(--tulip-dark); }
.cl-details { color: var(--ink-soft); font-size: .88rem; margin: 0 0 10px; line-height: 1.5; }
/* Add-ons under their bouquet: small picture, name, price, joined by a thin line on the side */
ul.cl-extras { display: grid; gap: 6px; margin: 2px 0 12px; padding: 0; padding-inline-start: 10px; border-inline-start: 2px solid var(--leaf-pale); }
ul.cl-extras > li { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; font-size: .9rem; color: var(--ink); }
ul.cl-extras img { width: 34px; height: 42px; flex: none; object-fit: cover; border-radius: 17px 17px 5px 5px; background: var(--ground-2); aspect-ratio: auto; }
.cl-x-plus { width: 34px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 17px 17px 5px 5px; background: var(--leaf-pale); color: var(--leaf); font-weight: 600; }
.cl-x-name { flex: 1; min-width: 0; }
.cl-x-price { color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-lines ul.cl-extras, .rows ul.cl-extras { margin: 8px 0 2px; }
/* In the bag the picture stays on the side; add-ons and the quantity use the full width next to it */
.cart-line .cl-img { grid-row: 1 / span 3; }
.cart-line > ul.cl-extras, .cart-line > .cl-qty { grid-column: 2 / -1; }
.cart-line > ul.cl-extras { margin: -6px 0 0; }
.cl-total { font-weight: 500; margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-qty { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.qty-mini { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1.05rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.qty-mini:hover:not(:disabled) { border-color: var(--ink); background: var(--leaf-pale); }
.qty-mini:disabled { opacity: .4; cursor: default; }
.qty-val { min-width: 28px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.line-remove { margin-inline-start: 12px; font-size: .86rem; color: var(--ink-soft); }
.cart-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.free-bar { margin: 14px 0; }
.free-bar p { margin: 0 0 8px; font-size: .92rem; }
.free-track { display: block; height: 6px; border-radius: 99px; background: var(--ground-2); overflow: hidden; }
.free-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--tulip), var(--leaf)); border-radius: 99px; transition: width .5s var(--ease); }
.w0{width:0}.w5{width:5%}.w10{width:10%}.w15{width:15%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w35{width:35%}.w40{width:40%}.w45{width:45%}.w50{width:50%}
.w55{width:55%}.w60{width:60%}.w65{width:65%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w85{width:85%}.w90{width:90%}.w95{width:95%}.w100{width:100%}
.empty-state { text-align: center; padding-block: 72px; }
.empty-state .lead { margin-inline: auto; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin-bottom: 72px; }
.order-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.order-summary h2 { font-size: 1.25rem; }
.sum-details summary { cursor: pointer; color: var(--ink-soft); font-size: .92rem; padding: 4px 0 8px; list-style: none; display: flex; justify-content: space-between; }
.sum-details summary::-webkit-details-marker { display: none; }
.sum-details summary::after { content: "הצגה"; color: var(--tulip-dark); text-decoration: underline; text-underline-offset: 3px; }
.sum-details[open] summary::after { content: "הסתרה"; }
.sum-lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.sum-lines img { border-radius: 24px 24px 6px 6px; aspect-ratio: 4 / 5; object-fit: cover; }
.sum-lines strong { font-weight: 500; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.sum-row strong { font-weight: 600; }
.sum-total { font: 500 1.25rem var(--body); border-top: 1.5px solid var(--ink); padding-top: 12px; margin-top: 14px; }
.consents label { font-weight: 400; }
.consents { background: transparent; border-style: dashed; padding: 14px 18px 4px; }
.consents label { font-size: .9rem; }
.more-field { margin: 4px 0 10px; }
.more-field summary { cursor: pointer; color: var(--tulip-dark); font-size: .92rem; width: fit-content; }
.more-field[open] summary { margin-bottom: 8px; }
.occasion-pick { margin-bottom: 14px; max-width: 360px; }
.slot-eta { margin: 12px 0 0; padding: 9px 14px; background: var(--leaf-pale); border-radius: 12px; font-weight: 400; font-size: .93rem; }
.slot-eta:empty { display: none; }
.slot-eta.is-far { background: #FFF1CC; }
.eta-warn { display: block; font-weight: 600; color: #8A5A00; margin-top: 2px; }
.free-tag { display: inline-block; vertical-align: 3px; margin-inline-start: 6px; padding: 2px 10px; border-radius: 99px; background: var(--blush); color: var(--tulip-dark); font: 500 .75rem var(--body); }
.card-nudge { margin: 10px 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--blush-soft); border: 1px solid var(--blush); }
.card-nudge p { margin: 0 0 8px; font-size: .93rem; }
.card-nudge.is-asking { border-color: var(--tulip); box-shadow: 0 0 0 4px rgba(180,43,92,.1); animation: fade-in .3s ease; }
.card-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.idea-chip { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 .88rem/1.35 var(--body); cursor: pointer; text-align: start; transition: all .15s; }
.idea-from { color: var(--tulip-dark); font-weight: 500; white-space: nowrap; }
.idea-chip:hover { border-color: var(--tulip); color: var(--tulip-dark); }
.slot-label.is-enhanced select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.slot-picker { margin-top: 8px; }
.day-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin-inline: -2px; scroll-snap-type: x proximity; }
.day-chips::-webkit-scrollbar { display: none; }
.day-chip { flex: 0 0 auto; min-width: 74px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 10px; border: 1px solid var(--line-strong);
  border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; scroll-snap-align: start; transition: all .18s var(--ease); }
.day-chip:hover:not(:disabled) { border-color: var(--ink); }
.day-chip[aria-pressed="true"] { border-color: var(--tulip); background: var(--blush-soft); box-shadow: 0 0 0 3px rgba(180,43,92,.08); }
.day-chip:disabled { opacity: .45; cursor: not-allowed; background: var(--ground); }
.dc-name { font-weight: 500; font-size: .95rem; }
.dc-date { font-size: .82rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.dc-full { font-size: .72rem; color: var(--danger); }
.win-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 8px; }
.win-chip { padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); font: 500 .95rem var(--body); color: var(--ink); cursor: pointer; transition: all .18s var(--ease); font-variant-numeric: tabular-nums; }
.win-chip:hover { border-color: var(--ink); }
/* every "chosen" look on the site is the same soft pink: sizes, day, time, category, options */
.win-chip[aria-pressed="true"] { border-color: var(--tulip); background: var(--blush-soft); color: var(--tulip-dark); box-shadow: 0 0 0 3px rgba(180,43,92,.08); }
.order-detail dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; }
.order-detail dt { font-weight: 500; }
.order-detail dd { margin: 0; }
.tracker { list-style: none; display: flex; padding: 0; margin: 22px 0 6px; counter-reset: t; }
.tracker li { flex: 1; position: relative; text-align: center; font-size: .88rem; color: var(--ink-faint); padding-top: 30px; }
.tracker li::before { content: ""; position: absolute; top: 10px; inset-inline: 0; height: 2px; background: var(--line); }
.tracker li:first-child::before { inset-inline-start: 50%; }
.tracker li:last-child::before { inset-inline-end: 50%; }
.tracker .dot { position: absolute; top: 3px; inset-inline-start: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); z-index: 1; }
.tracker .done, .tracker .now { color: var(--ink); }
.tracker .done::before, .tracker .now::before { background: var(--leaf); }
.tracker .now::before { background: linear-gradient(to left, var(--leaf) 50%, var(--line) 50%); }
.tracker li:first-child.now::before { background: var(--line); }
.tracker .done .dot { background: var(--leaf); border-color: var(--leaf); }
.tracker .now .dot { background: var(--tulip); border-color: var(--tulip); box-shadow: 0 0 0 5px rgba(180,43,92,.14); }
.tracker .now { font-weight: 500; }
.pay-box { margin: 18px 0 6px; padding: 16px 18px; border-radius: 16px; background: #FFF6E0; border: 1px solid #E7CB82; }
.pay-box.is-declined { background: #FCEBEB; border-color: #E8B4B4; }
.pay-box p { margin: 0 0 12px; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gone-note { background: #FCEBEB; color: var(--danger); border-radius: 12px; padding: 10px 14px; font-weight: 500; margin: 10px 0; }
.drawer-note .gone-note { margin: 0; padding: 0; background: none; }
.updates { margin: 24px 0 8px; }
.updates h2 { font-size: 1.15rem; }
.update-list li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.upd-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upd-body strong { font-weight: 500; }
.update-list li:first-child .upd-body strong { font-weight: 700; }
.upd-note { margin: 0; color: var(--ink-soft); font-size: .94rem; }
/* the tracking page: save or share its link */
.keep-link { background: var(--ground-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 20px 0 12px; }
.keep-link h2 { font-size: 1.05rem; margin: 0 0 4px; }
.keep-link p { margin: 0 0 10px; }
.keep-link p:last-child { margin: 0; }
.keep-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.is-copied { border-color: var(--leaf) !important; color: var(--leaf) !important; }
.update-list time { color: var(--ink-soft); min-width: 92px; font-variant-numeric: tabular-nums; font-size: .9rem; }
.demo-pay { background: var(--surface); border: 1.5px dashed var(--tulip); border-radius: 24px; padding: 26px; margin-bottom: 72px; }
.demo-pay form { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Delivery areas ---------- */
.delivery-info { margin-bottom: 28px; }
.zone-list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.zone-city { font-weight: 500; }
.zone-fee { margin-inline-start: auto; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.free-note { margin: 14px 0; padding: 10px 14px; background: var(--leaf-pale); border-radius: 12px; font-weight: 500; }
.delivery-times { margin: 0 0 14px; display: grid; gap: 8px; }
.delivery-times div { display: flex; gap: 12px; }
.delivery-times dt { font-weight: 500; min-width: 84px; }
.same-day-note { background: var(--leaf-pale); border-radius: 12px; padding: 10px 14px; margin: 12px 0; }
.delivery-times dd { margin: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- Auth & account ---------- */
.auth { max-width: 460px; padding-block: 48px 72px; }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--ink-soft); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.code-input { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; }
.account section { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; margin-bottom: 20px; }
.rows li { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rows li > :first-child { flex: 1; min-width: 140px; }
.tag { display: inline-block; padding: 2px 12px; border-radius: 99px; background: var(--leaf-pale); font-size: .84rem; font-weight: 500; white-space: nowrap; }
.tag-new, .tag-pending_payment, .pay-unpaid { background: #FFF1CC; }
.tag-rejected, .tag-canceled { background: #F3E1E1; }
.tag-out_for_delivery { background: #DDEBFA; }
.inline-form { align-items: end; margin-top: 14px; }

/* ---------- About & legal ---------- */
/* the about page uses the home hero layout (.hero, .hero-grid, .hero-art) */
.about-hero { margin-bottom: clamp(32px, 5vw, 72px); }
.about-text p { font-size: 1.1rem; }
.about-text h2 { margin-top: 1.1em; }
.about-text .contact-buttons { margin-top: 18px; }
.legal { padding-bottom: 72px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.5em; }
.legal table { width: 100%; border-collapse: collapse; background: var(--surface); }
.legal th, .legal td { text-align: start; padding: 10px; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #DCE6DE; padding-top: 56px; margin-top: 32px; font-size: .95rem; }
.site-footer a, .site-footer .link-btn { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.site-footer h2 { font: 500 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #9FB4A5; margin-bottom: 14px; }
.site-footer .footer-brand { font: 600 1.6rem/1 var(--display) !important; letter-spacing: 0; text-transform: none; color: #fff; }
.site-footer li { margin-bottom: 8px; }
.footer-links { margin-top: -4px; }
.social { display: flex; gap: 8px; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.social a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.legal-line { border-top: 1px solid rgba(255,255,255,.14); padding-block: 18px 96px; font-size: .84rem; color: #A9BBAE; }
.legal-line p { margin: 0 0 4px; }
/* the town pages (src/towns), quietly at the very bottom */
.legal-line .towns-line { margin-top: 10px; }
.site-footer .towns-line a { color: inherit; }

/* ---------- Floating WhatsApp ---------- */
.float-wa { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 25; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 500; padding: 12px 20px; border-radius: 99px; box-shadow: 0 10px 28px rgba(18,140,74,.3);
  transition: transform .2s var(--ease), background .2s; }
.float-wa:hover { color: #fff; background: #0e7a40; transform: translateY(-2px); }
body:has(#checkout-form) .float-wa { display: none; }
.float-wa svg { width: 24px; height: 24px; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; inset-inline: 20px; bottom: 20px; z-index: 50; max-width: 540px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow-lg); animation: fade-in .4s ease; }
.cookie-banner h2 { font-size: 1.2rem; }
.cookie-banner p { font-size: .93rem; }
.cookie-banner fieldset { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; background: none; }
.cookie-banner fieldset label { font-weight: 400; display: flex; gap: 6px; align-items: center; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner[hidden] { display: none; }

/* ---------- Menu collapses into the side menu ---------- */
@media (max-width: 1120px) {
  .main-nav, .only-wide { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-inline-start: auto !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .checkout, .cart-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 32px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-art { width: min(100%, 340px); }
  .cart-summary, .order-summary { position: static; }
  .order-summary { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how-steps, .promises, .promo-row { grid-template-columns: 1fr; }
  .promises > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  /* product: picture beside the sizes, details below */
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "media sizes" "info info"; grid-template-rows: auto; column-gap: 24px; }
  .pdp-media { position: static; width: 100%; }
  .pdp-head { margin-bottom: 16px; }
  .size-picker { margin: 0; align-self: center; }
  .size-list, .size-n2 .size-list, .size-n3 .size-list { grid-template-columns: 1fr; gap: 8px; }
  .size-opt { flex-direction: row; text-align: start; align-items: center; gap: 12px; padding: 12px 16px; }
  .size-bar { height: 34px; width: 16px; margin: 0; }
  .size-text { flex: 1; }
  .pdp-single { grid-template-columns: 1fr; grid-template-areas: "head" "media" "info"; }
  .pdp-single .pdp-media { width: min(100%, 420px, 52vh); }
  .pdp-form { margin-top: 24px; }
  body:has(.buy-bar) .float-wa { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  body { font-size: .98rem; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .topbar-row { justify-content: center; min-height: 32px; }
  .topbar-links { display: none; }
  .announce { font-size: .76rem; text-align: center; }
  .header-row { gap: 6px; }
  .brand { position: absolute; inset-inline-start: 50%; transform: translateX(50%); }
  .brand img { width: 32px; height: 32px; }
  .brand-he { font-size: 1.5rem; }
  .brand-en { font-size: .55rem; margin-top: 4px; }
  .header-row { position: relative; }
  .admin-link { display: none; }
  .hero { padding-top: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 18px; }
  .hero h1 { font-size: clamp(1.55rem, 7.4vw, 2rem); }
  .hero .lead { font-size: 1.02rem; }
  .hero-art { order: -1; width: 100%; }
  .hero-img { aspect-ratio: 16 / 9; border-radius: 160px 160px 22px 22px; }
  .hero-img img { object-position: 50% 35%; }
  .hero-cta .btn { flex: 1; padding-inline: 1em; }
  .cat-tiles-wrap { margin-bottom: 48px; }
  .cat-tiles { display: flex; overflow-x: auto; gap: 12px; margin-inline: -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tiles li { flex: 0 0 28.5%; scroll-snap-align: start; }   /* about 3.3 in sight: the next one peeks out */
  /* a soft fade on the side the row continues to, and a short hint; both go once the row was moved */
  .cat-scroll { position: relative; }
  .cat-scroll::after { content: ''; position: absolute; top: 0; bottom: 6px; left: -16px; width: 48px; pointer-events: none;
    background: linear-gradient(to right, var(--ground), transparent); transition: opacity .3s; }
  .cat-scroll.is-end::after { opacity: 0; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; font-size: .85rem; color: var(--ink-soft); transition: opacity .4s; }
  .swipe-arrow { display: inline-block; animation: swipe-nudge 1.6s var(--ease) infinite; }
  .cat-scroll.is-moved + .swipe-hint { opacity: 0; }
  @keyframes swipe-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
  @media (prefers-reduced-motion: reduce) { .swipe-arrow { animation: none; } }
  .ct-name { font-size: .9rem; }
  .promises { margin-bottom: 30px; }
  .promises > div { padding: 18px 4px; }
  .promises h2 { font-size: 1.08rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .product-card h3 { font-size: .95rem; }
  .pc-img { margin-bottom: 10px; }
  .pc-short { display: none; }
  .pc-price { font-size: .94rem; }
  .badges { inset-inline-start: 8px; gap: 4px; }
  .badge { font-size: .74rem; padding: 4px 10px; }
  .shop-section, .promo-row, .how { margin-bottom: 48px; }
  .home-featured { margin-bottom: 26px; }
  .how-steps { gap: 20px; }
  .how-steps li { padding: 4px 60px 0 0; min-height: 44px; }
  .how-steps h3 { font-size: 1.08rem; margin-bottom: .2em; }
  .how-steps p { margin: 0; }
  .promo { padding: 26px 24px; border-radius: 24px; }
  .toolbar { flex-direction: column; align-items: stretch; margin-bottom: 20px; }
  /* the chips slide to the screen edges, and the first/last one shows whole (border and ring) at both ends */
  .chips { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .sort-form label { justify-content: flex-end; }
  .page-head { padding-block: 20px 8px; }
  .crumbs { margin-block: 12px 10px; font-size: .82rem; }
  /* product */
  .pdp { column-gap: 14px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); margin-bottom: 40px; }
  .pdp-head h1 { font-size: 1.6rem; }
  .pdp-head .lead { font-size: .95rem; }
  .pdp-price { font-size: 1.4rem; margin-bottom: .35em; }
  .pdp-head { margin-bottom: 14px; }
  .pdp-media figcaption { font-size: .8125rem; margin-top: 6px; line-height: 1.35; }  /* 13px on phones, never smaller */
  .size-picker legend { font-size: .92rem; margin-bottom: 8px; }
  .size-list { gap: 7px; }
  .size-opt { padding: 9px 11px; gap: 8px; border-radius: 14px; flex-wrap: wrap; }
  .size-bar { display: none; }
  .size-name { font-size: .9rem; }
  .size-meta { font-size: .72rem; }
  .size-price { font-size: .9rem; margin: 0; }
  .pdp-single { grid-template-columns: 1fr; }
  .pdp-single .pdp-media { width: min(78%, 46vh); }
  .related { padding-top: 32px; margin-bottom: 48px; }
  .related .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 26; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(28,51,36,.08); }
  .buy-bar .qty input { width: 34px; }
  .buy-bar .qty-btn { width: 36px; }
  .btn-buy { padding-inline: 1em; }
  body:has(.buy-bar) .float-wa, body:has(form[data-validate]) .float-wa { display: none; }
  body:has(.buy-bar) .site-footer { padding-bottom: 110px; }
  .pdp-perks { font-size: .82rem; }
  .float-wa { padding: 13px; bottom: 16px; inset-inline-start: 16px; }
  .float-wa span { display: none; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  fieldset { padding: 16px 16px 8px; }
  legend { font-size: 1.3rem; }
  .cart-line { grid-template-columns: 72px 1fr auto; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > section:first-child { grid-column: 1 / -1; }
  .reminder-promo, .custom-callout { padding: 22px; border-radius: 22px; }
  .callout-text { flex-basis: 100%; }
  .callout-actions .btn, .reminder-promo > .btn { flex: 1; }
  .card-form { padding: 20px 18px; }
  .cookie-banner { inset-inline: 10px; bottom: 10px; padding: 16px 18px; }
}
@media (max-width: 330px) {
  .pdp { grid-template-columns: 1fr; grid-template-areas: "head" "media" "sizes" "info"; }
  .pdp-media { width: min(78%, 40vh); }
  .size-picker { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .topbar, .site-footer, .cookie-banner, .admin-nav, .no-print, .float-wa, dialog { display: none !important; }
  body { background: #fff; }
}

.preview-code { background: #FFF6E0; border: 1px solid #E7CB82; border-radius: 12px; padding: 10px 14px; margin-top: 16px; }

/* Checkout when signed in with a phone: the verified number, with "החלפת מספר" next to it */
.locked-phone { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.locked-phone > label { font-weight: 500; }
.lp-row { display: flex; gap: 8px; align-items: center; }
.lp-row input { flex: 1; min-width: 0; background: var(--ground-2) !important; color: var(--ink-soft); }
.locked-phone small { font-size: .82rem; line-height: 1.45; }

/* What was ordered (order page, admin order page and board): picture, name ×qty, details, add-ons under it */
.item-list { display: grid; margin: 0 0 12px; }
.item-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ir-img { width: 64px; height: 80px; object-fit: cover; border-radius: 32px 32px 8px 8px; background: var(--ground-2); display: block; }
.ir-info { min-width: 0; }
.ir-name { margin: 0 0 2px; line-height: 1.35; }
.ir-name strong { font-weight: 500; }
.ir-qty { display: inline-block; margin-inline-start: 4px; padding: 0 8px; border-radius: 99px; background: var(--blush-soft); color: var(--tulip-dark); font-weight: 700; font-size: .9rem; }
.ir-details { margin: 0 0 6px; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }
.ir-total { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-row .ir-img { grid-row: 1 / span 2; }
.item-row > ul.cl-extras { grid-column: 2 / -1; margin: -4px 0 0; }
.item-list.is-small .item-row { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 8px 0; }
.item-list.is-small .ir-img { width: 44px; height: 55px; border-radius: 22px 22px 6px 6px; }
.item-list.is-small .ir-name { font-size: .92rem; }
.item-list.is-small ul.cl-extras img, .item-list.is-small .cl-x-plus { width: 28px; height: 35px; }
.item-list.is-small ul.cl-extras > li { font-size: .84rem; }
.cl-x-price b { color: var(--tulip-dark); }

/* Delivery as a line in the order (car instead of a picture) */
.ir-icon { display: grid; place-items: center; font-size: 1.7rem; background: #EAF1FB; }
.item-list.is-small .ir-icon { font-size: 1.2rem; }
.ir-delivery .ir-details { margin: 0; }
.order-total { margin: 4px 0 18px; font-size: 1.1rem; }

/* "Something changed" notice (order page / admin), bottom of the screen */
.live-toast { position: fixed; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; margin-inline: auto; max-width: 420px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px;
  background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: fade-in .3s ease; }
.live-toast.is-new { background: var(--tulip); }
.live-toast .btn { background: #fff; color: var(--ink); border-color: #fff; }

/* The customer's subscription page */
.sub-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin: 8px 0 18px; }
.sub-big { font-size: 1.1rem; margin: 0 0 6px; }
.sub-box .note { background: #FFF6E0; border-radius: 12px; padding: 8px 12px; margin: 10px 0; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sub-link { background: var(--blush-soft); border-color: rgba(180,43,92,.25); }
.phone-check-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 14px 0 10px; }
/* a line's price: paid price big, full price struck through above it */
.cl-total, .ir-total, .sum-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.cl-total .was, .ir-total .was, .sum-price .was { margin: 0; }
.freq-note { margin: 8px 0 0; }
/* subscription sizes: the struck price sits above the price and keeps its place even when empty (no jumping rows) */
.size-price.is-fixed { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; }
.size-price.is-fixed .was { margin: 0; }
.size-price .is-ghost { visibility: hidden; }
.size-price .now.is-plain { color: inherit; font-weight: inherit; font-size: inherit; }
/* inside the size boxes the price to pay looks the same with or without a discount (only the struck price is extra) */
.size-price .now { font-size: 1em; font-weight: 500; color: inherit; }
/* how a subscription works, right under the frequency choice */
.sub-how { list-style: none; margin: 12px 0 0; padding: 12px 14px; display: grid; gap: 7px; background: var(--ground-2); border-radius: 14px; font-size: .9rem; color: var(--ink); }
.sub-how li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.sub-how span { flex: none; }
.sub-first { margin: 10px 0 0; padding: 10px 12px; background: var(--ground-2); border-radius: 12px; line-height: 1.5; }
/* reminders need marketing consent: say so clearly and point to the checkbox */
.consent-needed { background: #FFF6E0; border: 1px solid #E7CB82; border-radius: 12px; padding: 10px 12px; margin: 8px 0 12px; }
.consent-ok { color: var(--leaf); font-weight: 500; margin: 4px 0 12px; }
#marketing-consent:target, #checkout-marketing:target { outline: 3px solid var(--tulip); outline-offset: 4px; border-radius: 8px; }
.sub-dates { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 10px; font-size: 1.05rem; }
.sub-dates dt { color: var(--ink-soft); }
.sub-dates dd { margin: 0; }
/* "יש לי קוד הטבה": small and quiet, at the bottom of the order summary */
.coupon-box { margin-top: 10px; font-size: .92rem; }
.coupon-box summary { cursor: pointer; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .05em; }
.sum-discount { color: var(--leaf); font-weight: 500; }
.sum-discount .link-btn { font-size: .85rem; margin-inline-start: 6px; }

/* Checkout: the address wasn't found on our map. A friendly note, not an error: check it, or continue as is. */
.addr-note { background: #FFF6E0; border: 1px solid #E7CB82; border-radius: 16px; padding: 14px 20px; margin-bottom: 20px; }
.addr-note p { margin: 0 0 8px; }
.addr-note .btn { margin-top: 4px; }
/* Checkout: no greeting written yet. A quiet line above the send button, not a stop. */
.card-status { margin: 0 0 10px; text-align: center; color: var(--ink-soft); }

/* checkout: a code that didn't work is said right under the code box */
.coupon-error { margin: 6px 0 0; color: var(--danger); font-weight: 600; font-size: .9rem; }
.coupon-box input[aria-invalid="true"] { border-color: var(--danger); }
.coupon-one { margin: 6px 0 0; }
/* the address note sits right under the address it is about */
fieldset .addr-note { margin: 12px 0 8px; scroll-margin-top: 90px; }
input[data-address][aria-invalid="true"] { border-color: #D9A23B; background: #FFFBF0; }

/* shipping areas: one line per ring (name, its places, one price) */
.zone-list .zone-city { display: flex; flex-direction: column; gap: 2px; }
.zone-places { color: var(--ink-soft); font-size: .85rem; line-height: 1.4; }
.zone-list .zone-fee { white-space: nowrap; flex: none; }

/* Preview site: the password page (src/lib/preview.js) */
.preview-gate { padding-block: 12vh 40px; max-width: 420px; }
.preview-gate h1 { font-size: 1.5rem; margin-bottom: .4em; }
.preview-gate form { display: grid; gap: 16px; margin-top: 20px; }

/* The news bar at the top: several messages (holidays, the shop's messages) take turns, one at a time */
.news-bar { position: relative; display: grid; align-items: center; min-width: 0; flex: 1 1 auto; padding-inline-end: 30px; }
.news-bar .announce { grid-area: 1 / 1; opacity: 0; transform: translateX(-14px); transition: opacity .45s ease, transform .45s ease; pointer-events: none;
  padding-block: 4px; line-height: 1.35; text-wrap: balance; }   /* a long message wraps (all share one cell: the bar is as tall as the longest) */
.news-bar .announce.is-on { opacity: 1; transform: none; pointer-events: auto; }
.news-pause { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #E8EFE9; font-size: .72rem; line-height: 1; cursor: pointer; opacity: .75; }
.news-pause:hover, .news-pause:focus-visible { opacity: 1; background: rgba(255,255,255,.12); }
@media (max-width: 760px) { .news-bar { justify-items: center; padding-inline: 26px; } .news-bar .announce { text-align: center; } }
@media (prefers-reduced-motion: reduce) { .news-bar .announce { transition: none; transform: none; } }

/* Orders paused (src/services/pause.js): the note instead of "add to order" / "to checkout" */
.pause-box { border-color: var(--tulip); }
.pause-box.is-small { margin-top: 8px; padding: 12px 14px; }
.pause-box.is-small p { margin-bottom: 8px; }
.away-days { color: var(--ink-soft); margin: 6px 0 0; }

/* Checkout: city live search (public/js/site.js); the real select stays hidden under it */
.city-search { position: relative; }
.city-search input { margin-bottom: 0; }
.city-list { position: absolute; inset-inline: 0; top: calc(100% + 4px); z-index: 30; margin: 0; padding: 4px 0; list-style: none;
  max-height: 264px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.city-list li { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 11px 14px; cursor: pointer; font-weight: 400; }
.city-list li small { margin-inline-start: auto; color: var(--ink-soft); font-size: .85rem; white-space: nowrap; }
.city-list li[aria-selected="true"], .city-list li[role=option]:hover { background: var(--blush-soft); }
.city-list .city-none { cursor: default; color: var(--ink-soft); font-size: .92rem; }
.city-list .city-group { display: flex; gap: 10px; min-height: 0; padding: 10px 14px 4px; cursor: default; font-weight: 500; font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.city-list .city-group:first-child { border-top: 0; }
.city-list .city-group ~ [role=option] { padding-inline-start: 22px; }

/* ---------- Town pages: "משלוח פרחים בכפר סבא" (src/towns) ---------- */
.town { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-bottom: 12px; }
.town-text h1 { margin-bottom: .3em; }
.town-text .lead { margin-bottom: 1em; }
.town-text p { max-width: 62ch; }
.town-text .btn { margin-top: 8px; }
.town-facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.town-facts h2 { font-size: 1.1rem; margin: 0 0 10px; }
.town-facts li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.town-facts li:last-child { border-bottom: 0; margin-bottom: 8px; }
.town-more { text-align: center; margin-top: 18px; }
.town-others { padding-block: 10px 36px; }
.town-others h2 { font-size: 1.05rem; margin: 0 0 8px; }
.town-others ul { display: flex; flex-wrap: wrap; gap: 8px; }
.town-others a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--ink); }
.town-others a:hover, .town-others a:focus-visible { border-color: var(--tulip); color: var(--tulip-dark); }
@media (max-width: 800px) { .town { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
