/* שפירא מקס — sister-brand green DNA, higher-contrast Max accents */
:root {
  --ink: #14241f;
  --ink-soft: #2f4a40;
  --muted: #4d6359;
  --paper: #eef5f1;
  --paper-warm: #fff8ef;
  --surface: #ffffff;
  --brand: #1e3f35;
  --brand-deep: #132820;
  --brand-soft: #d7ebe3;
  --brand-glow: #2a6b54;
  --brand-teal: #3a9eae;
  --brand-mint: #6fbfb0;
  /* Logo מקס + primary marketing CTAs — warmer tangerine orange */
  --accent: #f07a1f;
  --accent-deep: #d46512;
  --accent-soft: #ffe5cc;
  /* Sister coral kept as kinship cue, not the Max accent */
  --coral: #e85d3c;
  --wa: #22c55e;
  --line: rgba(20, 36, 31, 0.14);
  --shadow: 0 8px 28px rgba(19, 40, 32, 0.14);
  --shadow-lift: 0 14px 36px rgba(19, 40, 32, 0.18);
  --radius: 0.65rem;
  --radius-lg: 0.85rem;
  --font: "Heebo", "Segoe UI", Tahoma, sans-serif;
  --display: "Rubik", "Heebo", sans-serif;
  --section-space: clamp(2rem, 4vw, 3.25rem);
  --header-h: 0px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  min-height: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
  padding-bottom: 5rem;
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 480px at 100% -8%, rgba(58, 158, 174, 0.22), transparent 58%),
    radial-gradient(900px 420px at -8% 4%, rgba(240, 122, 31, 0.16), transparent 52%),
    radial-gradient(700px 360px at 70% 28%, rgba(30, 63, 53, 0.12), transparent 55%),
    linear-gradient(180deg, #dcebe4 0%, var(--paper) 36%, #e8f1ec 100%);
  background-attachment: fixed;
}

/* Soft grain — atmosphere without flat fill */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body > * { position: relative; z-index: 1; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { inset-inline-start: 0; }

.announce-bar {
  background: linear-gradient(105deg, #0f1f19 0%, var(--brand-deep) 28%, var(--brand) 72%, #245647 100%);
  color: #f2faf6;
  text-align: center;
  font-size: .92rem;
  padding: .5rem 1rem;
  letter-spacing: 0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px) saturate(1.15);
  background: rgba(238, 245, 241, 0.92);
  border-bottom: 1px solid rgba(30, 63, 53, 0.08);
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 252, 247, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(19, 40, 32, 0.1);
}

.header-row {
  display: flex;
  gap: .65rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.header-tools {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-inline-start: auto;
  flex: 0 0 auto;
}
.navbar-brand.brand {
  margin-inline: 0;
  order: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  min-height: 2.75rem;
  padding: .35rem 0;
  transition: transform .25s ease;
}
.brand:hover { transform: translateY(-1px); color: inherit; }
.brand-mark {
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--brand-deep);
}
.brand-max {
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--accent);
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s ease;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: .35rem;
  bottom: .15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.navbar .nav-link:hover { color: var(--brand); }
.navbar .nav-link:hover::after { transform: scaleX(1); }

.navbar-toggler {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-lg);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(76, 172, 188, 0.22);
}

.header-search {
  min-width: min(100%, 220px);
  margin-inline: .5rem;
  gap: .4rem;
  align-items: stretch;
}
.header-search .form-control {
  border-radius: var(--radius-lg);
  border-color: var(--line);
  background: var(--surface);
  min-height: 2.75rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header-search .form-control:focus {
  border-color: rgba(76, 172, 188, 0.55);
  box-shadow: 0 0 0 3px rgba(76, 172, 188, 0.18);
}
.header-search-btn {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-lg);
}
.header-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--brand-deep) !important;
  font-size: 1.1rem;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
  color: var(--brand-deep) !important;
  transition: transform .2s ease, background .2s ease;
}
.cart-link:hover {
  transform: translateY(-1px);
  background: #d5ebe4;
}
.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 .25rem;
  box-shadow: 0 2px 6px rgba(212, 101, 18, 0.4);
}

/* —— Full-bleed hero: cancel .container gutters (no 100vw → no mobile sideways scroll) —— */
.hero {
  --hero-pad: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  display: grid;
  gap: 1.35rem;
  align-items: center;
  width: auto;
  max-width: none;
  margin-inline: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
  margin-block: -1rem 1.25rem;
  padding: clamp(1.75rem, 5vw, 3.25rem) max(var(--hero-pad), calc(var(--bs-gutter-x, 1.5rem) / 2 + .35rem));
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  background:
    linear-gradient(125deg, rgba(15, 31, 25, 0.94) 0%, rgba(30, 63, 53, 0.86) 40%, rgba(30, 63, 53, 0.62) 100%),
    radial-gradient(ellipse 80% 70% at 15% 40%, rgba(58, 158, 174, 0.28), transparent 55%);
  color: #f4faf7;
  animation: hero-in .75s cubic-bezier(.22, 1, .36, 1) both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 16, 13, 0.72) 0%, rgba(8, 16, 13, 0.45) 42%, rgba(8, 16, 13, 0.28) 100%),
    radial-gradient(circle at 85% 18%, rgba(240, 122, 31, 0.34), transparent 42%);
}
.hero.has-visual {
  min-height: min(72vh, 560px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero.has-visual {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
  }
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: hero-ken 14s ease-in-out alternate both;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}
.hero-kicker {
  font-weight: 700;
  color: var(--brand-mint);
  letter-spacing: .03em;
  font-size: .95rem;
  animation: rise .6s ease .08s both;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.1rem);
  line-height: 1.02;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
  animation: rise .65s ease .14s both;
}
.hero h1 .brand-mark-inline {
  color: #fff;
}
.hero h1 .brand-max-inline {
  color: #ff9a3d;
}
.hero p {
  font-size: 1.12rem;
  color: rgba(238, 247, 243, 0.9);
  max-width: 32rem;
  margin: 0;
  line-height: 1.55;
  animation: rise .65s ease .22s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: rise .65s ease .3s both;
}
.hero .btn-brand {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--accent-deep);
  --bs-btn-hover-border-color: var(--accent-deep);
  --bs-btn-hover-color: #fff;
  box-shadow: 0 8px 22px rgba(240, 122, 31, 0.4);
}
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.34);
  color: #fff;
  border-color: #fff;
}

/* Secondary brand CTA — sister green */
.btn-brand {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-deep);
  --bs-btn-hover-border-color: var(--brand-deep);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: .7rem 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-brand:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* Warm orange accent CTA (logo kinship) */
.btn-accent {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-deep);
  --bs-btn-hover-border-color: var(--accent-deep);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: .7rem 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(240, 122, 31, 0.32);
  color: #fff;
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  color: var(--brand-deep);
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: .7rem 1.25rem;
  transition: transform .2s ease, background .2s ease;
}
.btn-ghost:hover { transform: translateY(-1px); background: #fff; }
.btn-wa {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: transform .2s ease, filter .2s ease;
}
.btn-wa:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin: var(--section-space) 0 1rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin: 0;
  color: var(--brand-deep);
}
.section-link {
  font-weight: 700;
  color: var(--brand-teal);
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: .35rem;
}
.section-link:hover { color: var(--brand); }

.cat-strip {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cat-strip::-webkit-scrollbar { height: 6px; }
.cat-strip::-webkit-scrollbar-thumb {
  background: rgba(36, 72, 61, 0.25);
  border-radius: 999px;
}
.cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  scroll-snap-align: start;
  padding: .7rem 1.05rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 63, 53, 0.16);
  border-bottom: 2px solid rgba(30, 63, 53, 0.28);
  font-weight: 650;
  color: var(--brand-deep);
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.cat-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 158, 174, .55);
  border-bottom-color: var(--accent);
  background: #fff;
  color: var(--brand-deep);
}
.cat-strip--wrap {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
  scroll-snap-type: none;
}

/* Home: categories collapsed by default */
.home-cats {
  margin-block: .25rem var(--section-space);
  scroll-margin-bottom: 5rem;
}
.home-cats .section-head {
  margin-top: var(--section-space);
  margin-bottom: .65rem;
}
.home-cats-actions {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.cats-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(240, 122, 31, 0.45);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: .88rem;
  font-family: inherit;
  border-radius: 999px;
  padding: .45rem .9rem;
  min-height: 2.75rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cats-toggle:hover {
  background: #ffd9b3;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.cats-toggle-icon {
  font-size: .95rem;
  line-height: 1;
  transition: transform .22s ease;
}
.home-cats:not(.is-collapsed) .cats-toggle-icon {
  transform: rotate(180deg);
}
.home-cats-preview {
  display: flex;
  flex-direction: row;
  gap: .45rem;
  overflow-x: auto;
  padding-bottom: .2rem;
  /* clear FAB on inline-end (visual left in RTL) */
  padding-inline-end: 4.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  direction: rtl;
}
.home-cats-preview::-webkit-scrollbar { display: none; }
.home-cats:not(.is-collapsed) .home-cats-preview {
  display: none;
}
.cat-chip--compact {
  padding: .45rem .75rem;
  font-size: .9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.88);
}
.cat-chip--more {
  border-style: dashed;
  border-color: rgba(240, 122, 31, 0.5);
  border-bottom-style: dashed;
  border-bottom-color: rgba(240, 122, 31, 0.5);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.cat-chip--more:hover {
  border-color: var(--accent);
  border-bottom-color: var(--accent);
  background: #ffd9b3;
  color: var(--accent-deep);
}
.home-cats-panel[hidden] { display: none !important; }
.home-cats-panel {
  animation: rise .35s ease both;
}

/* Home: featured products carousel */
.home-featured .section-head {
  margin-bottom: .85rem;
}
.carousel-head-actions {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.carousel-nav {
  display: inline-flex;
  gap: .35rem;
}
.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 63, 53, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-deep);
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.carousel-btn:hover:not(:disabled) {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: translateY(-1px);
}
.carousel-btn:disabled {
  opacity: .35;
  cursor: default;
}
.product-carousel {
  display: flex;
  flex-direction: row;
  gap: .85rem;
  overflow-x: auto;
  padding: .15rem .1rem .65rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  direction: rtl;
}
.product-carousel::-webkit-scrollbar { height: 6px; }
.product-carousel::-webkit-scrollbar-thumb {
  background: rgba(240, 122, 31, 0.45);
  border-radius: 999px;
}
.product-tile--carousel {
  flex: 0 0 min(72vw, 220px);
  scroll-snap-align: start;
  max-width: 240px;
}
@media (min-width: 576px) {
  .product-tile--carousel { flex-basis: min(46vw, 220px); }
}
@media (min-width: 900px) {
  .product-tile--carousel { flex-basis: 220px; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1rem;
}
@media (min-width: 576px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
.product-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
  animation: fade-up .6s ease both;
  animation-play-state: paused;
}
.product-tile.is-inview { animation-play-state: running; }
.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(76, 172, 188, 0.35);
}
.product-tile .media {
  overflow: hidden;
  background: #edf3f0;
}
.product-tile img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: #edf3f0;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  display: block;
}
.product-tile:hover img { transform: scale(1.05); }
.product-tile .body {
  padding: .85rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.product-tile .name {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.product-tile .price {
  font-family: var(--display);
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 1.12rem;
  margin-top: auto;
}

.product-detail {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .product-detail { grid-template-columns: 1.05fr .95fr; align-items: start; }
}
.product-detail h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--brand-deep);
}
.gallery {
  display: grid;
  gap: .75rem;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f3f7f5;
  transition: opacity .25s ease;
}
.gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .15rem;
  direction: rtl;
}
.gallery-thumbs button {
  border: 2px solid var(--line);
  background: #fff;
  padding: 0;
  border-radius: .5rem;
  overflow: hidden;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  transition: border-color .2s ease, transform .2s ease;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  border-color: var(--brand-teal);
  transform: translateY(-1px);
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.product-actions .btn-wa,
.product-actions .btn-brand {
  min-height: 2.85rem;
}
.product-qty {
  max-width: 7rem;
  min-height: 2.75rem;
}
.product-buy .form-select,
.product-order-form .form-control {
  min-height: 2.75rem;
}
@media (max-width: 575.98px) {
  .product-actions { flex-direction: column; }
  .product-actions .btn,
  .product-actions form,
  .product-actions form .btn {
    width: 100%;
  }
  .product-actions--sticky {
    position: fixed;
    inset-inline: .65rem;
    bottom: max(.65rem, env(safe-area-inset-bottom, 0px));
    z-index: 55;
    margin: 0;
    padding: .65rem .7rem;
    background: rgba(238, 245, 241, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 28px rgba(19, 40, 32, 0.16);
    backdrop-filter: blur(10px);
  }
  body:has(.product-actions--sticky) {
    padding-bottom: 8.5rem;
  }
  /* FAB above the fixed dual CTA stack (WA + add-to-cart ≈ 8rem tall) */
  body:has(.product-actions--sticky) .fab-wa {
    inset-inline-start: auto;
    inset-inline-end: 1.1rem;
    bottom: max(9.5rem, calc(env(safe-area-inset-bottom, 0px) + 8.5rem));
  }
}

.price-lg {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}
.sold-out-badge {
  display: inline-block;
  margin: 0;
  padding: .35rem .75rem;
  font-weight: 600;
  font-size: .95rem;
  color: #5c3a2e;
  background: #f3e4dc;
  border-radius: .35rem;
}
.tile-sold-out {
  margin-top: .25rem;
  font-size: .8rem;
  font-weight: 600;
  color: #8a4b32;
}

.cart-table img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: .4rem;
  background: #edf3f0;
}
.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.cart-qty-input {
  width: 4.5rem;
  text-align: center;
  min-height: 2.75rem;
  font-size: 1rem; /* iOS: avoid zoom on focus */
}
.cart-qty-btn,
.cart-remove-btn {
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: .45rem .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-page {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .65rem;
}
.search-form .form-control,
.search-form .btn {
  min-height: 2.75rem;
  font-size: 1rem;
}
.product-buy .form-control,
.product-buy .form-select,
.header-search .form-control {
  font-size: 1rem;
}
.cart-total-row {
  border-top: 1px solid var(--line);
}
.cart-total-label,
.cart-total-value {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-deep);
  vertical-align: middle;
}
.cart-total-label {
  text-align: start;
}
.cart-total-value {
  text-align: end;
  white-space: nowrap;
}
.checkout-panel,
.cart-wa-panel {
  scroll-margin-top: 6rem;
}
.cart-wa-panel {
  max-width: 46rem;
  margin-top: .5rem;
}
.checkout-panel .btn-wa,
.cart-wa-panel .btn-wa,
.checkout-submit {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.cart-sticky-cta {
  display: none;
}
.cta-hint {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 1rem;
}
.privacy-hint {
  font-size: .85rem;
  color: var(--muted);
  margin: .75rem 0 0;
  text-align: center;
}
.product-order-form .cta-hint {
  margin-top: .35rem;
}
@media (max-width: 767.98px) {
  .checkout-panel .btn-wa,
  .cart-wa-panel .btn-wa { width: 100%; }
  .cart-table thead { display: none; }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .85rem;
    margin-bottom: .75rem;
  }
  .cart-table td {
    border: 0;
    padding: .25rem 0;
  }
  .cart-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: .15rem;
  }
  .cart-table tfoot tr.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: transparent;
    border: 0;
    padding: .35rem 0 .85rem;
    margin: 0;
  }
  .cart-table tfoot td {
    display: block;
    width: auto;
    padding: 0;
  }
  .cart-sticky-cta {
    position: fixed;
    inset-inline: max(.65rem, env(safe-area-inset-inline-start, 0px))
      max(.65rem, env(safe-area-inset-inline-end, 0px));
    /* Clear home-indicator + leave room so FAB sits above the bar */
    bottom: max(1rem, calc(env(safe-area-inset-bottom, 0px) + .35rem));
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    padding: .7rem .85rem;
    /* FAB sits on inline-end (visual left); keep WA button clear */
    padding-inline-end: 4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 252, 247, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(19, 40, 32, 0.16);
    backdrop-filter: blur(10px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .cart-sticky-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }
  .cart-sticky-total {
    display: grid;
    gap: .1rem;
    color: var(--muted);
    font-size: .82rem;
  }
  .cart-sticky-total strong {
    color: var(--brand-deep);
    font-family: var(--display);
    font-size: 1.15rem;
  }
  .cart-sticky-cta .btn-wa {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 2.75rem; /* 44px touch target at 16px root */
    padding-inline: .95rem;
  }
  body:has(.cart-sticky-cta) {
    padding-bottom: max(7.75rem, calc(env(safe-area-inset-bottom, 0px) + 6.5rem));
  }
  body:has(.cart-sticky-cta) .fab-wa {
    inset-inline-start: auto;
    inset-inline-end: max(1.1rem, env(safe-area-inset-inline-end, 0px));
    bottom: max(5.85rem, calc(env(safe-area-inset-bottom, 0px) + 4.85rem));
  }
}

/* Virtual keyboard — tuck FAB / sticky bars so they don't cover inputs */
body.keyboard-open .fab-wa,
body.keyboard-open .cart-sticky-cta,
body.keyboard-open .product-actions--sticky {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* Hide unused owner-review chrome if any leftover markup appears */
.owner-review { display: none !important; }

.static-page {
  max-width: 46rem;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(4px);
}
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 5rem;
  background: linear-gradient(180deg, transparent, rgba(36, 72, 61, 0.1));
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand-deep);
  margin-bottom: .5rem;
}
.footer-brand .brand-max { font-size: inherit; }
.footer-heading {
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--brand);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .15rem; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: .25rem;
}
.footer-copy {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.fab-wa {
  position: fixed;
  /* RTL end = visual left — avoids covering right-aligned Hebrew price/title */
  inset-inline-end: 1.1rem;
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
  z-index: 60;
  animation: fab-in .55s ease .4s both;
  transition: transform .2s ease, box-shadow .2s ease;
}
/* Home: lift FAB above category chip strip so first-viewport chips stay tappable */
body:has(.home-cats) .fab-wa {
  bottom: max(5.25rem, calc(env(safe-area-inset-bottom, 0px) + 4.25rem));
}
.fab-wa:hover {
  color: #fff !important;
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
}

@keyframes hero-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hero-ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes fab-in {
  from { opacity: 0; transform: translateY(12px) scale(.92); }
  to { opacity: 1; transform: none; }
}

.product-tile:nth-child(1) { animation-delay: .04s; }
.product-tile:nth-child(2) { animation-delay: .08s; }
.product-tile:nth-child(3) { animation-delay: .12s; }
.product-tile:nth-child(4) { animation-delay: .16s; }
.product-tile:nth-child(5) { animation-delay: .2s; }
.product-tile:nth-child(6) { animation-delay: .24s; }
.product-tile:nth-child(7) { animation-delay: .28s; }
.product-tile:nth-child(8) { animation-delay: .32s; }

@media (max-width: 991.98px) {
  .header-row {
    row-gap: .35rem;
  }
  /* Closed chrome: brand at inline-start, tools (search/cart/menu) at inline-end */
  .navbar-brand.brand {
    order: 1;
  }
  .header-tools {
    order: 2;
  }
  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    order: 3;
  }
  .header-search {
    width: 100%;
    margin: .55rem 0 .15rem;
    min-width: 0;
  }
  .header-search .form-control {
    flex: 1 1 auto;
    min-width: 0;
  }
  .cart-link { margin-top: 0; }
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  /* Home: drop top container padding so hero owns the first viewport */
  .site-main > .container:has(> .hero) {
    padding-top: 0;
  }
  .hero {
    /* Fill first viewport under announce+header — no .home-cats / featured above the fold */
    --hero-stack: calc(6.5rem + env(safe-area-inset-top, 0px));
    min-height: calc(100svh - var(--hero-stack));
    min-height: calc(100dvh - var(--hero-stack));
    margin-block: 0 1.5rem;
    gap: 1rem;
    padding-block: clamp(1.5rem, 4.5vh, 2.5rem);
  }
  .hero.has-visual {
    min-height: calc(100svh - var(--hero-stack));
    min-height: calc(100dvh - var(--hero-stack));
  }
  .hero::after {
    background:
      linear-gradient(105deg, rgba(8, 16, 13, 0.82) 0%, rgba(8, 16, 13, 0.55) 45%, rgba(8, 16, 13, 0.38) 100%),
      radial-gradient(circle at 85% 18%, rgba(240, 122, 31, 0.34), transparent 42%);
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
    min-height: 2.85rem; /* ≥44px */
    justify-content: center;
  }
  .home-cats,
  .home-featured {
    scroll-margin-top: 5.5rem;
  }
  .section-head {
    align-items: center;
    gap: .55rem;
  }
  .home-cats-actions,
  .carousel-head-actions {
    width: 100%;
    justify-content: space-between;
  }
  .cat-chip,
  .cat-chip--compact,
  .cat-chip--more {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
  .product-carousel {
    margin-inline: calc(-1 * var(--bs-gutter-x, 1.5rem) / 4);
    padding-inline: calc(var(--bs-gutter-x, 1.5rem) / 4);
  }
  .gallery-thumbs button {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
  }
  .product-buy .form-select,
  .product-buy .form-control {
    min-height: 2.75rem;
  }
  .announce-bar {
    font-size: .82rem;
    padding: .45rem .75rem;
    line-height: 1.35;
  }
}

@media (max-width: 430px) {
  .container {
    --bs-gutter-x: 1rem;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }
  .hero p {
    font-size: 1.02rem;
  }
  .product-tile--carousel {
    flex-basis: min(78vw, 220px);
  }
}

@media (max-width: 390px) {
  .brand-mark,
  .brand-max {
    font-size: 1.35rem;
  }
  .cart-sticky-cta {
    gap: .45rem;
    padding: .65rem .7rem;
    padding-inline-end: 3.85rem;
  }
  .cart-sticky-cta .btn-wa {
    padding-inline: .65rem;
    font-size: .9rem;
  }
  .cart-sticky-total strong {
    font-size: 1.05rem;
  }
  .fab-wa {
    width: 3.15rem;
    height: 3.15rem;
    inset-inline-end: max(.75rem, env(safe-area-inset-inline-end, 0px));
  }
  .product-tile--carousel {
    flex-basis: min(76vw, 210px);
  }
  .announce-bar {
    font-size: .78rem;
    padding-inline: .55rem;
  }
}

@media (max-width: 375px) {
  .brand-mark,
  .brand-max {
    font-size: 1.28rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.55rem);
  }
  .hero p {
    font-size: .98rem;
  }
  .cart-sticky-cta .btn-wa {
    padding-inline: .55rem;
    font-size: .86rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero,
  .hero-kicker,
  .hero h1,
  .hero p,
  .hero-actions,
  .hero-visual img,
  .product-tile,
  .fab-wa,
  .brand,
  .btn-brand,
  .btn-accent,
  .btn-ghost,
  .btn-wa,
  .cat-chip,
  .cart-link,
  .cats-toggle,
  .carousel-btn,
  .home-cats-panel,
  .navbar .nav-link::after {
    animation: none !important;
    transition: none !important;
  }
  .product-tile:hover,
  .product-tile:hover img {
    transform: none;
  }
  .hero-visual img { transform: none; }
}

/* —— Blog (Hebrew RTL, storefront green + warm orange) —— */
.blog-index-head,
.blog-post-head {
  margin-bottom: 1.5rem;
}
.blog-kicker,
.blog-cta-kicker {
  color: var(--brand-glow);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .35rem;
}
.blog-index h1,
.blog-post-head h1 {
  font-family: var(--display);
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.25;
  margin-bottom: .65rem;
}
.blog-lede {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 0;
}
.blog-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.blog-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), var(--paper-warm));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.2rem;
  transition: border-color .2s ease, transform .2s ease;
}
.blog-card:hover {
  border-color: var(--brand-mint);
  transform: translateY(-2px);
}
.blog-date {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .2rem;
}
.blog-cat {
  font-size: .85rem;
  color: var(--brand-glow);
  font-weight: 600;
  margin-bottom: .35rem;
}
.blog-card-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  line-height: 1.35;
}
.blog-card-title a { color: var(--brand-deep); }
.blog-card-title a:hover { color: var(--accent-deep); }
.blog-excerpt {
  color: var(--muted);
  margin-bottom: .75rem;
  font-size: .95rem;
}
.blog-read {
  font-weight: 700;
  color: var(--accent-deep);
}
.blog-crumb {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.blog-body {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--brand-deep);
}
.blog-body p { margin-bottom: 1rem; }
.blog-product-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(30, 63, 53, .94), rgba(36, 86, 71, .9)),
    var(--brand);
  color: #f4faf7;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .blog-product-cta {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}
.blog-cta-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 .4rem;
  color: #fff;
}
.blog-cta-price {
  color: #ffc48a;
  font-weight: 700;
  margin-bottom: .4rem;
}
.blog-cta-note {
  margin: 0;
  color: rgba(244, 250, 247, .85);
  font-size: .92rem;
}
.blog-product-cta-actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.blog-product-cta-actions .btn { white-space: nowrap; }
.blog-product-cta-actions .btn-brand {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, .55);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, .12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
}
.blog-back {
  margin-top: 1.5rem;
  font-weight: 600;
}
.blog-empty {
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

/* —— FAQ (PDP + category) —— */
.faq-block {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.faq-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: .85rem;
}
.faq-list {
  display: grid;
  gap: .55rem;
}
.faq-item {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .65rem .9rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-deep);
  list-style: none;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-inline-start: auto;
  color: var(--accent-deep);
  font-weight: 800;
  padding-inline-start: .5rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer {
  margin-top: .45rem;
  padding-top: .45rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}
.faq-answer a { font-weight: 600; color: var(--accent-deep); }

/* —— Category landing —— */
.category-intro {
  max-width: 42rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: .98rem;
  line-height: 1.65;
}
.category-intro p { margin-bottom: .65rem; }
.category-related {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.category-related-label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand-deep);
  width: 100%;
}
@media (min-width: 576px) {
  .category-related-label { width: auto; margin-inline-end: .25rem; }
}

/* —— Guides hub (complements /blog; shared blog-* chrome) —— */
.guide-products {
  margin: 1.75rem 0 0;
}
.guide-products-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: .75rem;
}
.guide-product-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .65rem;
}
.guide-product-link {
  display: block;
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), var(--paper-warm));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  transition: border-color .2s ease, transform .2s ease;
}
.guide-product-link:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  color: inherit;
}
.guide-product-name {
  display: block;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: .2rem;
}
.guide-product-meta {
  display: block;
  font-size: .88rem;
  color: var(--muted);
}
.guide-product-cta-hint {
  display: block;
  margin-top: .35rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent-deep);
}

/* —— Pickup / local landing —— */
.pickup-nap {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}
.pickup-nap p { margin-bottom: .35rem; }
.pickup-map iframe {
  width: 100%;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pickup-map-link {
  margin-top: .45rem;
  font-size: .9rem;
}

@media (max-width: 390px) {
  .category-intro { font-size: .94rem; }
  .faq-item summary { font-size: .95rem; }
}
