/* Ner Shava Candles Corp. — site styles
   Light, polished, modern ("Sprout" house style): white ground, big bold
   type, pill buttons, soft rounded cards. Burgundy + gold stay as the brand
   accents; the darkness is gone. */

:root {
  --ink:            #33241f;
  --ink-soft:       #6b5a53;
  --ink-faint:      #99897f;
  --burgundy:       #5c1a22;
  --burgundy-deep:  #45141a;
  --burgundy-dark:  #290a0f;
  --gold:           #b8912f;
  --gold-bright:    #d4a843;
  --gold-light:     #e3c567;
  --gold-pale:      #f6ecd2;
  --gold-tint:      #fbf6e8;
  --cream:          #faf7f1;
  --cream-2:        #f3ede2;
  --paper:          #ffffff;
  --line:           rgba(92, 26, 34, .1);
  --line-strong:    rgba(92, 26, 34, .2);

  --sans:    "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hebrew:  "Frank Ruhl Libre", Georgia, serif;

  --wrap: 1180px;
  --head-h: 121px;   /* announcement bar + logo/nav row */
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(51, 36, 31, .04), 0 10px 30px -12px rgba(51, 36, 31, .12);
  --shadow-lg: 0 2px 6px rgba(51, 36, 31, .05), 0 28px 60px -24px rgba(51, 36, 31, .18);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* Product media boxes. The image is absolutely positioned inside a box of
   definite size — a percentage height on a static grid/flex child does not
   resolve, so a tall candle would otherwise blow straight out of its tile.
   Each box sets its own --pad; object-fit letterboxes whatever shape it gets. */
.coll-media, .card-media, .product-media, .cart-item-media { position: relative; --pad: 1rem; }
.coll-media > img, .card-media > img, .product-media > img, .cart-item-media > img {
  position: absolute; top: var(--pad); left: var(--pad);
  width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad));
  object-fit: contain; mix-blend-mode: multiply;
}
a { color: var(--burgundy); text-decoration-color: rgba(92, 26, 34, .3); text-underline-offset: 3px; }
a:hover { color: var(--burgundy-deep); text-decoration-color: currentColor; }

h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.12; color: var(--burgundy); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 1.8rem; }
.quiet { color: var(--ink-soft); }
.fineprint { font-size: .82rem; line-height: 1.55; }
.ar { text-align: right; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--burgundy); color: #fff;
  padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

.eyebrow {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 .7rem;
}
.eyebrow a { color: inherit; }
.eyebrow.gold { color: var(--gold); }

.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; font-weight: 500; }
.center .lede, .lede.center { margin-inline: auto; max-width: 62ch; }

/* ── buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 1.8rem; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-bright); color: #3a2408; border-color: var(--gold-bright); box-shadow: 0 10px 24px -10px rgba(212, 168, 67, .55); }
.btn-gold:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-outline { background: #fff; color: var(--burgundy); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.btn-ghost { background: #fff; color: var(--burgundy); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.btn-pill { background: var(--gold-bright); color: #3a2408; border-color: var(--gold-bright); padding: 1.05rem 2.2rem; box-shadow: 0 12px 28px -10px rgba(212, 168, 67, .6); }
.btn-pill:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-pill-outline { background: #fff; color: var(--burgundy); border-color: var(--line-strong); padding: 1.05rem 2.2rem; }
.btn-pill-outline:hover { border-color: var(--burgundy); }
.btn-sm { padding: .6rem 1.1rem; font-size: .72rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ── header ────────────────────────────────────────────────────────────── */

.site-head { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 1px 12px rgba(51, 36, 31, .04); }

.head-bar { background: var(--burgundy); color: var(--gold-pale); font-size: .76rem; letter-spacing: .04em; font-weight: 500; }
.head-bar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.head-bar a { color: var(--gold-pale); text-decoration: none; }
.head-bar a:hover { color: #fff; text-decoration: underline; }
.head-bar-contact { display: flex; gap: 1.2rem; }

.head-main { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.28rem; letter-spacing: .04em; color: var(--burgundy); text-transform: uppercase; }
.brand-sub { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: .32rem; font-weight: 700; }

.nav { display: flex; gap: 1.5rem; }
.nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: .35rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }

.head-actions { display: flex; align-items: center; gap: .6rem; }
.cart-link { position: relative; display: flex; align-items: center; padding: .55rem; color: var(--burgundy); background: var(--gold-tint); border-radius: 999px; }
.cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--burgundy); color: #fff;
  font-size: .66rem; font-weight: 700; display: grid; place-items: center;
}
.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 21px; height: 2px; border-radius: 2px; background: var(--burgundy); margin: 4px 0; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--line); background: var(--cream); }
.mobile-nav a { padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

/* ── hero ──────────────────────────────────────────────────────────────── */

.hero { background: var(--paper); }
.hero-banner { position: relative; }
.hero-stage { display: grid; min-height: calc(100svh - var(--head-h) - 1px); align-content: center; }

.hslide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(1.6rem, 4vw, 4rem);
  padding: clamp(1.4rem, 3vw, 2.5rem) 0;
  opacity: 0; visibility: hidden; transition: opacity .55s ease;
}
.hslide.is-on { opacity: 1; visibility: visible; }

/* The scene photograph, in a rounded frame, still drifting slowly inward. */
.hslide-photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 6 / 5; box-shadow: var(--shadow-lg); background: var(--cream);
}
.hslide-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hslide.is-on .hslide-photo img { animation: kenburns 26s ease-out both; }
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.22); }
}

.hslide-copy { max-width: 34rem; }
.hslide-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold-tint); border: 1px solid var(--gold-pale); color: var(--burgundy);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: 999px;
}
.chip::before { content: "✦"; color: var(--gold); }
.hslide-heb {
  font-family: var(--hebrew); font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.1; margin: 0 0 .4rem;
  color: var(--gold); direction: rtl; text-align: left;
}
.hslide-en {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.08; margin: 0 0 .7rem; color: var(--burgundy);
}
.hslide-sub {
  color: var(--ink-soft); font-size: clamp(.98rem, 1.4vw, 1.12rem); font-weight: 500;
  line-height: 1.6; margin: 0 0 1.7rem; max-width: 44ch;
}
.hslide-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }

.hero-dots { position: absolute; left: 0; bottom: clamp(.4rem, 1.5vw, 1rem); display: flex; gap: .55rem; z-index: 3; }
.hdot {
  flex: 0 0 auto;
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: #fff; transition: background .2s, transform .2s;
}
.hdot:hover { background: var(--gold-pale); }
.hdot.is-on { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.center-cta { justify-content: center; }

/* ── trust strip ───────────────────────────────────────────────────────── */

.trust { background: var(--gold-tint); border-block: 1px solid var(--gold-pale); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-in > div {
  padding: 1.5rem .75rem; text-align: center;
  border-left: 1px solid var(--gold-pale);
}
.trust-in > div:first-child { border-left: 0; }
.trust-in strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--burgundy); letter-spacing: .02em; }
.trust-in span { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; margin-top: .35rem; color: var(--ink-soft); font-weight: 600; }

/* ── bands ─────────────────────────────────────────────────────────────── */

.band-cream { background: var(--cream); border-block: 1px solid var(--line); }
.band-dark { background: var(--cream); border-block: 1px solid var(--line); color: var(--ink); }
.band-dark h2, .band-dark h3 { color: var(--burgundy); }
.band-dark p { color: var(--ink-soft); }

/* ── split ─────────────────────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-body blockquote {
  margin: 1.8rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--gold);
  background: var(--gold-tint); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem; font-weight: 600; color: var(--burgundy); font-style: italic;
}
.split-body blockquote cite { display: block; font-style: normal; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: .7rem; font-weight: 700; }
.prose p { font-size: 1.06rem; line-height: 1.75; color: var(--ink-soft); font-weight: 500; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.four > div {
  background: linear-gradient(180deg, #fff 0%, #fdfaf3 100%);
  border: 1px solid rgba(92, 26, 34, .09); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(51, 36, 31, .05), 0 10px 22px -10px rgba(51, 36, 31, .12), 0 26px 48px -26px rgba(92, 26, 34, .16);
}
.four h3 { font-size: 1rem; margin-bottom: .4rem; }
.four p { font-size: .92rem; color: var(--ink-soft); }

/* ── collections ───────────────────────────────────────────────────────── */

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.section > .collection-grid:first-child, .section > .grid:first-child { margin-top: 0; }
.coll {
  position: relative; overflow: hidden;
  display: flex; gap: 1.1rem; align-items: center; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, #fff 0%, #fdfaf3 100%);
  border: 1px solid rgba(92, 26, 34, .09); border-radius: var(--radius);
  padding: 1.15rem; transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 1px 2px rgba(51, 36, 31, .05), 0 8px 18px -8px rgba(51, 36, 31, .12), 0 22px 44px -24px rgba(92, 26, 34, .16);
}
.coll::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.coll:hover { border-color: var(--gold-light); transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(51, 36, 31, .06), 0 14px 28px -10px rgba(51, 36, 31, .16), 0 34px 64px -28px rgba(92, 26, 34, .24); }
.coll:hover::before { transform: scaleX(1); }
.coll:hover .coll-go { color: var(--burgundy); }
.coll-media {
  --pad: .5rem; flex: 0 0 84px; height: 84px; border-radius: var(--radius);
  background: radial-gradient(130% 110% at 50% 0%, #fff 0%, var(--cream) 55%, #efe6d4 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -12px 20px -16px rgba(92, 26, 34, .18);
}
.coll-body { display: flex; flex-direction: column; min-width: 0; }
.coll-count { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; font-weight: 700; }
.coll-name { font-size: 1.05rem; font-weight: 700; color: var(--burgundy); line-height: 1.2; }
.coll-blurb { font-size: .85rem; color: var(--ink-soft); margin-top: .3rem; line-height: 1.45; }
.coll-go { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: .6rem; font-weight: 700; }
.collection-grid.lg .coll-media { flex-basis: 104px; height: 104px; }

/* ── product grid ──────────────────────────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; margin-top: 2.5rem; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #fdfaf3 100%);
  border: 1px solid rgba(92, 26, 34, .09); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 1px 2px rgba(51, 36, 31, .05), 0 8px 18px -8px rgba(51, 36, 31, .12), 0 22px 44px -24px rgba(92, 26, 34, .16);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.card:hover { border-color: var(--gold-light); transform: translateY(-5px);
  box-shadow: 0 2px 4px rgba(51, 36, 31, .06), 0 16px 30px -10px rgba(51, 36, 31, .17), 0 38px 70px -28px rgba(92, 26, 34, .26); }
.card:hover::before { transform: scaleX(1); }
.card-media {
  --pad: 1.5rem; aspect-ratio: 1;
  background: radial-gradient(130% 110% at 50% 0%, #fff 0%, var(--cream) 55%, #efe6d4 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -16px 26px -20px rgba(92, 26, 34, .16);
}
.card-body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; gap: .3rem; }
.card-title { font-size: .98rem; margin: 0; line-height: 1.3; font-weight: 700; }
.card-title a { text-decoration: none; color: var(--ink); }
.card-title a:hover { color: var(--burgundy); }
.card-unit { font-size: .78rem; color: var(--ink-faint); margin: 0; }
.card-foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.price { font-size: 1.18rem; font-weight: 800; color: var(--burgundy); }

/* ── page head ─────────────────────────────────────────────────────────── */

.page-head { background: var(--cream); border-bottom: 1px solid var(--line); padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.page-head.slim { padding: 2.2rem 0; }
.page-head h1 { margin-bottom: .35rem; }
.page-head .lede { max-width: 64ch; }
.head-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }

/* ── product page ──────────────────────────────────────────────────────── */

.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; align-items: start; }
.product-media { --pad: clamp(2rem, 5vw, 3.5rem); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); aspect-ratio: 1; position: sticky; top: 130px; }
.product-body h1 { margin-bottom: .3rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.product-blurb { font-size: 1.12rem; color: var(--ink-soft); font-weight: 500; }
.product-price { font-size: 2rem; font-weight: 800; color: var(--burgundy); margin: .8rem 0 1.4rem; }
.product-price span { font-size: .8rem; color: var(--ink-faint); letter-spacing: .04em; margin-left: .5rem; font-weight: 600; }
.add-form { display: flex; gap: .8rem; align-items: flex-end; margin-bottom: 1.8rem; flex-wrap: wrap; }
.qty { display: flex; flex-direction: column; gap: .35rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.qty input { width: 84px; padding: .82rem .7rem; border: 1px solid var(--line-strong); border-radius: 999px; font: inherit; text-align: center; background: #fff; }
.product-desc { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); font-weight: 500; }
.specs { border-top: 1px solid var(--line); margin: 1.8rem 0 0; padding-top: 1.2rem; }
.specs > div { display: flex; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs dt { flex: 0 0 150px; color: var(--ink-faint); margin: 0; font-weight: 600; }
.specs dd { margin: 0; }
.product-note { margin-top: 1.6rem; font-size: .9rem; color: var(--ink-soft); }

/* ── reasons ───────────────────────────────────────────────────────────── */

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; }
.reason {
  background: linear-gradient(180deg, #fff 0%, #fdfaf3 100%);
  border: 1px solid rgba(92, 26, 34, .09); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: 0 1px 2px rgba(51, 36, 31, .05), 0 10px 22px -10px rgba(51, 36, 31, .12), 0 26px 48px -26px rgba(92, 26, 34, .16);
  transition: transform .2s, box-shadow .2s;
}
.reason:hover { transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(51, 36, 31, .06), 0 16px 30px -12px rgba(51, 36, 31, .16), 0 36px 64px -28px rgba(92, 26, 34, .22); }
.reason-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  background: var(--gold-tint); border: 1px solid var(--gold-pale); color: var(--gold);
  font-size: .8rem; font-weight: 800; margin-bottom: .8rem;
}
.reason h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.reason p { font-size: .92rem; margin: 0; color: var(--ink-soft); }
.reasons.light .reason-num { color: var(--gold); }
.reasons.light p { color: var(--ink-soft); }

.pull { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; font-style: italic; color: var(--burgundy); margin: 0 0 2rem; line-height: 1.35; letter-spacing: -.01em; }

/* ── wholesale band ────────────────────────────────────────────────────── */

.wholesale-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.wholesale-band img { max-height: 320px; width: auto; margin-inline: auto; mix-blend-mode: multiply; }

.steps { padding-left: 1.1rem; margin: 1rem 0 1.8rem; }
.steps li { margin-bottom: .8rem; padding-left: .3rem; }
.callout { background: var(--gold-tint); border: 1px solid var(--gold-pale); border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; }
.callout-big { font-size: 1.8rem; font-weight: 800; margin: 0 0 .2rem; }
.callout-big a { text-decoration: none; }

.contact-list { list-style: none; padding: 0; margin: 1rem 0 1.8rem; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-list strong { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; padding-top: .18rem; }

/* ── faq ───────────────────────────────────────────────────────────────── */

.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 1.4rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-size: 1.05rem; font-weight: 700; color: var(--burgundy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--gold); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.3rem; margin: 0; color: var(--ink-soft); max-width: 68ch; }

/* ── cart ──────────────────────────────────────────────────────────────── */

.cart-root { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.cart-root.empty { display: block; text-align: center; padding: 3rem 0; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.cart-item-media { --pad: .6rem; background: var(--cream); border-radius: var(--radius); height: 92px; }
.cart-item h3 { font-size: 1rem; margin: 0 0 .15rem; }
.cart-item h3 a { text-decoration: none; color: var(--ink); }
.cart-item .unit { font-size: .82rem; color: var(--ink-faint); }
.cart-controls { display: flex; align-items: center; gap: .9rem; margin-top: .5rem; }
.cart-controls input { width: 64px; padding: .45rem; border: 1px solid var(--line-strong); border-radius: 999px; font: inherit; text-align: center; }
.cart-remove { background: none; border: 0; color: var(--ink-faint); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-remove:hover { color: var(--burgundy); }
.cart-line-total { font-size: 1.1rem; font-weight: 800; color: var(--burgundy); white-space: nowrap; }

.cart-summary, .wh-summary { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 130px; }
.cart-summary h3, .wh-summary h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.order-line { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .93rem; }
.order-line small { color: var(--ink-faint); }
.order-line.total { border-top: 1px solid var(--line-strong); margin-top: .6rem; padding-top: .8rem; font-size: 1.2rem; font-weight: 800; color: var(--burgundy); }
.cart-summary .btn, .wh-actions .btn { width: 100%; margin-top: 1rem; }
.ship-note { font-size: .82rem; color: var(--ink-soft); margin-top: .8rem; }

.order-summary { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: left; max-width: 460px; margin: 2rem auto 0; }
.order-done img { margin: 0 auto 1.5rem; }

/* ── forms ─────────────────────────────────────────────────────────────── */

.form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.2rem; }
.form label { display: flex; flex-direction: column; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem; letter-spacing: normal; text-transform: none; font-weight: 500;
  color: var(--ink); padding: .8rem 1rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: #fff; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.form .btn { align-self: flex-start; }
.req { color: var(--gold); }
.checks { display: flex; flex-direction: column; gap: .6rem; }
.check { flex-direction: row !important; align-items: center; gap: .55rem !important; text-transform: none !important; letter-spacing: normal !important; font-size: .92rem !important; font-weight: 500 !important; color: var(--ink) !important; }
.check input { width: auto; }

.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-size: .93rem; border: 1px solid; }
.notice.ok { background: #f2f8f1; border-color: #cfe4cb; color: #2f5c2a; }
.notice.bad { background: #fdf2f2; border-color: #f0d0d0; color: #8d2b2b; }
.notice.warn { background: #fdf8ec; border-color: #ecdcb0; color: #7a5c14; }

.auth-card { max-width: 420px; margin: clamp(2rem, 6vw, 4rem) auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.6rem; }

/* ── tables ────────────────────────────────────────────────────────────── */

.table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: .92rem; }
.table th { text-align: left; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--line-strong); }
.table td { padding: .85rem .8rem .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tfoot td { border-bottom: 0; }
.table.compact td, .table.compact th { padding-block: .6rem; }
.msg { max-width: 40ch; font-size: .88rem; color: var(--ink-soft); white-space: pre-wrap; }

.pill { display: inline-block; padding: .18rem .6rem; border-radius: 20px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: var(--cream-2); color: var(--ink-soft); font-weight: 700; }
.pill-paid, .pill-approved, .pill-shipped { background: #e6f2e4; color: #2f5c2a; }
.pill-pending, .pill-unpaid, .pill-New { background: #fdf1dd; color: #8a6414; }
.pill-cancelled, .pill-rejected { background: #f8e6e6; color: #8d2b2b; }
.pill-terms, .pill-processing { background: #e7eef7; color: #2c4f7c; }

/* ── wholesale portal ──────────────────────────────────────────────────── */

.wholesale-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.wh-group { margin-top: 2rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line-strong); font-size: 1.05rem; }
.wh-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.wh-table th { text-align: left; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; padding: .6rem .7rem .6rem 0; }
.wh-table td { padding: .7rem .7rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.wh-table input { width: 70px; padding: .45rem; border: 1px solid var(--line-strong); border-radius: 999px; font: inherit; text-align: center; }
.wh-side { position: sticky; top: 130px; }
.wh-actions { display: flex; flex-direction: column; }

/* ── footer ────────────────────────────────────────────────────────────── */

.site-foot { background: var(--cream); color: var(--ink-soft); margin-top: 0; font-size: .9rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.site-foot h3 { color: var(--burgundy); font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 800; margin-bottom: 1rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.site-foot a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.site-foot a:hover { color: var(--burgundy); text-decoration: underline; }
.foot-name { font-weight: 800; font-size: .95rem; letter-spacing: .05em; color: var(--burgundy); text-transform: uppercase; margin: 1rem 0 .5rem; }
.foot-quiet { color: var(--ink-faint); font-size: .85rem; }
.foot-contact li { line-height: 1.45; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-faint); }
.foot-base p { margin: 0; }

/* ── admin ─────────────────────────────────────────────────────────────── */

body.admin { background: #f7f5f1; font-size: 15px; }
.admin-head { background: var(--burgundy-deep); color: #faf5ea; position: sticky; top: 0; z-index: 50; }
.admin-head-in { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; flex-wrap: wrap; }
.admin-brand { display: flex; align-items: center; gap: .5rem; color: #faf5ea; text-decoration: none; font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-right: auto; }
.admin-head nav { display: flex; gap: 1.3rem; }
.admin-head nav a { color: rgba(250, 245, 234, .75); text-decoration: none; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.admin-head nav a:hover, .admin-head nav a.on { color: var(--gold-light); }
.admin-head .btn-outline { color: #faf5ea; background: transparent; border-color: rgba(242, 227, 180, .4); }
.admin-head .btn-outline:hover { background: #faf5ea; color: var(--burgundy-deep); }
.admin-main { padding: 2.2rem 0 4rem; }
.admin-topline { display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.admin-topline h1 { margin: 0; font-size: 1.9rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.4rem; font-weight: 800; color: var(--burgundy); line-height: 1; }
.stat span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.push-right { margin-left: auto; }
.toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.sorter { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 0; font-size: .76rem; }
.sorter .quiet { letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
.sorter a { text-decoration: none; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 20px; color: var(--ink-soft); background: #fff; }
.sorter a.on { background: var(--burgundy); color: #faf5ea; border-color: var(--burgundy); }
.filters .ghosty { border-style: dashed; }
.row-thumb { width: 46px; height: 46px; object-fit: contain; background: var(--cream); border-radius: var(--radius); padding: 3px; }
.btn-danger { background: transparent; color: #8d2b2b; border-color: #e2bcbc; }
.btn-danger:hover { background: #8d2b2b; color: #fff; border-color: #8d2b2b; }
.btn-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.form input[type="file"] { padding: .55rem; background: var(--cream); cursor: pointer; }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .5rem; }
.filters a { font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 20px; color: var(--ink-soft); background: #fff; font-weight: 600; }
.filters a.on { background: var(--burgundy); color: #faf5ea; border-color: var(--burgundy); }
.admin-cols { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.panel h3 { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); margin: 1.2rem 0 .5rem; }
.panel h3:first-child { margin-top: 0; }
.admin-thumb { background: var(--cream); border-radius: var(--radius); padding: 1rem; max-height: 200px; width: auto; margin-inline: auto; }
.crumb { font-size: .85rem; margin-bottom: .6rem; }
.rowform summary { list-style: none; display: inline-flex; }
.rowform summary::-webkit-details-marker { display: none; }
.rowform[open] > summary { margin-bottom: .8rem; }
.rowform .form { min-width: 320px; }
form.inline { display: inline; }
form.inline select { padding: .3rem .5rem; border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-size: .82rem; }
body.admin .table { background: #fff; }
body.admin .table th, body.admin .table td { padding-left: .8rem; }

/* ── responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .four { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .admin-cols, .wholesale-layout, .cart-root { grid-template-columns: 1fr; }
  .wh-side, .cart-summary, .product-media { position: static; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: block; }
  .mobile-nav[data-open] { display: flex; }
  .head-bar-in { font-size: .72rem; }
  .head-bar-in > span:first-child { display: none; }
  .head-bar-contact { margin-inline: auto; }
  .split, .two-col, .product, .wholesale-band { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .wholesale-band img { max-height: 220px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .trust-in > div:nth-child(odd) { border-left: 0; }
  .trust-in > div:nth-child(n+3) { border-top: 1px solid var(--gold-pale); }

  .hero-stage { min-height: 0; }
  .hslide { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; padding-block: 1.4rem 2.6rem; }
  .hslide-photo { aspect-ratio: 4 / 3; }
  .hslide-copy { max-width: none; }
  .hslide-chips, .hslide-ctas { justify-content: center; }
  .hslide-heb { text-align: center; }
  .hslide-sub { margin-inline: auto; }
  .hero-dots { left: 50%; transform: translateX(-50%); bottom: .9rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid, .collection-grid, .four, .reasons { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cart-item { grid-template-columns: 68px 1fr; }
  .cart-item-media { height: 68px; }
  .cart-line-total { grid-column: 2; }
  .specs dt { flex-basis: 110px; }
  .contact-list li { grid-template-columns: 1fr; gap: .1rem; }

  /* stacked data tables */
  .table thead, .wh-table thead { display: none; }
  .table tr, .wh-table tr { display: block; border-bottom: 1px solid var(--line-strong); padding: .8rem 0; }
  .table td, .wh-table td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .3rem 0; text-align: right; }
  .table td::before, .wh-table td::before {
    content: attr(data-label); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-faint); text-align: left; flex: 0 0 auto;
  }
  .table td > *, .wh-table td > * { text-align: right; }
  .rowform .form { min-width: 0; }
}

/* ── Yiddish / RTL ─────────────────────────────────────────────────────── */

.lang-toggle {
  border: 1px solid rgba(246, 236, 210, .5); border-radius: 999px;
  padding: .12rem .7rem; font-weight: 700;
}

/* Hebrew-script headlines: Manrope has no Hebrew glyphs, so give Yiddish
   pages the Frank Ruhl display face instead of a system fallback. */
body.yi h1, body.yi h2, body.yi h3,
body.yi .hslide-en, body.yi .brand-name, body.yi .coll-name, body.yi .card-title,
body.yi .callout-big, body.yi .pull, body.yi .faq summary {
  font-family: var(--hebrew); letter-spacing: 0; font-weight: 900;
}
body.yi { line-height: 1.75; }
body.yi .hslide-heb { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

[dir="rtl"] .hslide-heb { text-align: right; }
[dir="rtl"] .split-body blockquote {
  border-left: 0; border-right: 3px solid var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
}
[dir="rtl"] .faq summary { padding: 1.15rem 0 1.15rem 2.5rem; }
[dir="rtl"] .faq summary::after { right: auto; left: .4rem; }
[dir="rtl"] .contact-list strong { text-align: right; }
[dir="rtl"] .specs dt { text-align: right; }
[dir="rtl"] .hero-dots { left: auto; right: 0; }
[dir="rtl"] .push-right { margin-left: 0; margin-right: auto; }
[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }

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