/* =========================================================
   VERSION A — WEB (DESKTOP)
   Store-accurate, dense, signage-forward.
   Target width: ~1280px. Responsive down to ~960px.
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Rubik', 'Heebo', system-ui, sans-serif;
  color: #1a1410;
  direction: rtl;
  background: #fffaf0;
  min-height: 100vh;
}

/* =========================================================
   TOP STRIP (above-sign info bar)
   ========================================================= */
.top-strip {
  background: #1a1410;
  color: #ffde00;
  font-size: 13px;
  font-weight: 600;
}
.top-strip .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 48px 8px 24px;  /* extra right padding nudges the RTL text left */
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-strip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5ec24a;
  box-shadow: 0 0 6px #5ec24a;
  display: inline-block;
  margin-inline-end: 6px;
}
.top-strip .dot.closed { background: #9a8f80; box-shadow: 0 0 6px rgba(154,143,128,0.5); }
.top-strip .sep { color: #5e5040; }
.top-strip a { color: inherit; text-decoration: none; }

/* =========================================================
   THE SIGN — full-width red banner
   ========================================================= */
.sign-bar {
  background: #c8181e;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.08) 100%);
  border-bottom: 4px solid #8a0d12;
  position: relative;
}
.sign-bar::before, .sign-bar::after {
  content: '';
  position: absolute;
  top: 14px;
  width: 10px; height: 10px;
  background: radial-gradient(circle, #aaa 30%, #555 80%);
  border-radius: 50%;
}
.sign-bar::before { left: 24px; }
.sign-bar::after { right: 24px; }
.sign-bar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 60px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sign-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 0.95;
  color: #ffde00;
  letter-spacing: -2px;
  -webkit-text-stroke: 2px #000;
  text-shadow:
    5px 5px 0 rgba(0,0,0,0.85),
    -1px -1px 0 rgba(0,0,0,0.6);
  margin: 0;
}
.sign-bar .phone-pill {
  background: #ffde00;
  color: #000;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.5px;
  border: 2px solid #000;
}
.sign-bar .addr-block {
  color: #ffde00;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
  text-align: left;
}
.sign-bar .addr-block .l1 { font-size: 18px; font-weight: 900; }
.sign-bar .addr-block .l2 { opacity: 0.9; font-size: 13px; margin-top: 2px; }

/* =========================================================
   YELLOW NAV STRIP (categories + cart)
   ========================================================= */
.nav-strip {
  background: #ffde00;
  border-bottom: 3px solid #000;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-strip .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.nav-chip {
  background: transparent;
  border: none;
  border-left: 1.5px solid #1a1410;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  color: #1a1410;
  display: flex; align-items: center; gap: 6px;
  transition: background 0.08s;
}
.nav-chip:first-child { border-right: 1.5px solid #1a1410; }
.nav-chip:hover { background: rgba(0,0,0,0.08); }
.nav-chip.active {
  background: #c8181e;
  color: #ffde00;
}
.nav-spacer { flex: 1; }
.nav-cart {
  background: #c8181e;
  color: #ffde00;
  border: none;
  border-left: 1.5px solid #1a1410;
  padding: 10px 20px; /* was 14px — keeps the count badge from stretching the nav-bar height */
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  display: flex; align-items: center; gap: 8px;
  position: relative;
}
.nav-cart:hover { background: #a31317; }
.nav-cart .cart-badge {
  background: #ffde00;
  color: #c8181e;
  font-size: 12px;
  font-weight: 900;
  min-width: 22px; height: 22px;
  border-radius: 11px;
  padding: 0 6px;
  display: grid; place-items: center;
  border: 1.5px solid #000;
}

/* -------------------- Cart-button "bump" reaction -------------------- */
.nav-cart .cart-ic { display: inline-block; transform-origin: 60% 70%; }
.nav-cart::after { content:''; position:absolute; inset:0; pointer-events:none; z-index:-1; }

.nav-cart.bump            { animation: cartBump 0.5s cubic-bezier(.34,1.56,.64,1); }
.nav-cart.bump::after     { animation: cartRing 0.55s ease-out; }
.nav-cart.bump .cart-ic   { animation: cartIcKick 0.5s ease; }
.nav-cart.bump .cart-badge{ animation: badgePop 0.5s cubic-bezier(.34,1.7,.64,1); transform-origin:center; }

@keyframes cartBump {
  0%{transform:scale(1) rotate(0);} 35%{transform:scale(1.07) rotate(-2deg);}
  65%{transform:scale(.985) rotate(1deg);} 100%{transform:scale(1) rotate(0);}
}
@keyframes cartRing {
  0%{box-shadow:0 0 0 0 rgba(200,24,30,.8);} 100%{box-shadow:0 0 0 10px rgba(200,24,30,0);}
}
@keyframes cartIcKick {
  0%,100%{transform:rotate(0);} 30%{transform:rotate(-9deg) scale(1.08);} 60%{transform:rotate(5deg);}
}
@keyframes badgePop {
  0%{transform:scale(.5);} 60%{transform:scale(1.25);} 100%{transform:scale(1);}
}

@media (prefers-reduced-motion: reduce) {
  .nav-cart.bump, .nav-cart.bump::after,
  .nav-cart.bump .cart-ic, .nav-cart.bump .cart-badge { animation: none; }
}

/* =========================================================
   HERO STRIP (storefront photo + tagline)
   ========================================================= */
.hero-strip {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  background-color: #1a1410;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.7) 100%);
}
.hero-strip .inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 60px;
  width: 100%;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-strip h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  margin: 0 0 8px;
  text-wrap: pretty;
  max-width: 600px;
}
.hero-strip .blurb {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.95;
}
.hero-strip .est-badge {
  background: #ffde00;
  color: #1a1410;
  padding: 12px 24px;
  font-weight: 900;
  font-size: 20px;
  border: 3px solid #1a1410;
  transform: rotate(-3deg);
  box-shadow: 4px 4px 0 #1a1410;
  white-space: nowrap;
}

/* =========================================================
   QUICK STATS STRIP
   ========================================================= */
.quick-stats {
  background: #1a1410;
  border-bottom: 3px solid #ffde00;
}
.quick-stats .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: #ffde00;
}
.quick-stats .stat {
  display: flex; align-items: center; gap: 14px;
}
.quick-stats .stat .icon {
  width: 44px; height: 44px;
  background: #ffde00;
  color: #c8181e;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 4px;
  border: 2px solid #ffde00;
}
.quick-stats .stat .lbl { font-size: 11px; opacity: 0.7; font-weight: 600; }
.quick-stats .stat .val { font-size: 16px; font-weight: 900; }

/* =========================================================
   CATEGORY ROW (under stats — sticker chips)
   ========================================================= */
.section-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 60px;
}
.section-shell.tight { padding-top: 16px; padding-bottom: 16px; }

.cat-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 2px dashed #c8181e;
  margin-bottom: 24px;
}
.cat-chip {
  background: #fff;
  border: 2px solid #1a1410;
  padding: 9px 18px;
  font-weight: 800;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #1a1410;
  font-family: inherit;
  transition: transform 0.05s;
}
.cat-chip:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 #1a1410; }
.cat-chip.active { background: #c8181e; color: #ffde00; }

/* eco / natural product tags (badges on cards + filter chips) */
.tag-badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 2px; }
.tag-badge { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 3px; border: 1.5px solid #1a1410; line-height: 1.5; }
.tag-badge.eco { background: #2ea44f; color: #fff; }
.tag-badge.natural { background: #1f6fd0; color: #fff; }
/* eco/natural chips are ALWAYS coloured (green / blue) — that's their identity, not a hover state */
.cat-chip.tag-chip.eco { background: #2ea44f; color: #fff; }
.cat-chip.tag-chip.natural { background: #1f6fd0; color: #fff; }
.cat-chip.tag-chip.eco.active { background: #1e7a39; }      /* darker when it's the active filter */
.cat-chip.tag-chip.natural.active { background: #15539e; }

/* out-of-stock (לא במלאי) */
.oos-badge { position: absolute; top: 10px; left: 10px; background: #1a1410; color: #fff; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 3px; border: 1.5px solid #fff; box-shadow: 2px 2px 0 rgba(0,0,0,.3); z-index: 3; }
.product-card.is-oos .ph { filter: grayscale(0.45); opacity: 0.78; }
.add-btn.oos { background: #e6e0d4; color: #9a8e7d; cursor: not-allowed; box-shadow: none; }
.oos-note { background: #fff3f3; border: 2px solid #c8181e; color: #c8181e; font-weight: 800; text-align: center; padding: 14px; border-radius: 6px; }

/* sub-category chips (secondary row under the active category) */
.subcat-row { display: flex; flex-wrap: wrap; gap: 9px; margin: -8px 0 22px; }
.subcat-chip {
  background: #fff; border: 1.5px dashed #1a1410; color: #1a1410;
  padding: 6px 15px; font-weight: 700; font-size: 13px; border-radius: 22px;
  cursor: pointer; font-family: inherit; transition: transform 0.05s;
}
.subcat-chip:hover { transform: translate(1px, 1px); }
.subcat-chip.active { background: #1a1410; color: #ffde00; border-style: solid; }

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
  color: #c8181e;
  letter-spacing: -1px;
}
.section-head h2 .accent {
  background: #ffde00;
  padding: 0 8px;
  color: #1a1410;
  display: inline-block;
  transform: rotate(-1deg);
  margin-inline-start: 4px;
}
.section-head .count {
  font-size: 14px;
  font-weight: 600;
  color: #6b5e4f;
}

/* =========================================================
   PRODUCT GRID
   ========================================================= */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  background: #fff;
  border: 2px solid #1a1410;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 4px 4px 0 #1a1410;
  transition: transform 0.08s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translate(1px, 1px); box-shadow: 3px 3px 0 #1a1410; }
.product-card .ph {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: #f3ede0;
  position: relative;
  border-bottom: 2px solid #1a1410;
}
.product-card .info {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card .name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  min-height: 38px;
  text-wrap: pretty;
}
.product-card .sub {
  font-size: 12px;
  color: #6b5e4f;
  margin-bottom: 8px;
}
.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.price-tag {
  background: #ffde00;
  border: 2px solid #1a1410;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 18px;
  color: #1a1410;
  box-shadow: 2px 2px 0 #1a1410;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.price-tag .nis { font-size: 13px; font-weight: 700; }
.price-tag.old {
  background: transparent;
  border: none;
  box-shadow: none;
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  padding: 0;
}
.add-btn {
  background: #c8181e;
  color: #ffde00;
  border: 2px solid #1a1410;
  padding: 8px 14px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 2px 2px 0 #1a1410;
}
.add-btn:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 #1a1410; }

.sale-burst {
  position: absolute;
  top: 12px; left: 12px;
  width: 64px; height: 64px;
  background: #ffde00;
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 900;
  color: #c8181e;
  border: 2px solid #1a1410;
  transform: rotate(-12deg);
  clip-path: polygon(50% 0%, 61% 16%, 79% 9%, 80% 28%, 96% 35%, 86% 50%, 96% 65%, 80% 72%, 79% 91%, 61% 84%, 50% 100%, 39% 84%, 21% 91%, 20% 72%, 4% 65%, 14% 50%, 4% 35%, 20% 28%, 21% 9%, 39% 16%);
}

/* =========================================================
   ABOUT BAND (between sections)
   ========================================================= */
.about-band {
  background: #fffaf0;
  border-top: 3px dashed #c8181e;
  border-bottom: 3px dashed #c8181e;
  margin-top: 40px;
}
.about-band .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-band .img-stack {
  position: relative;
  height: 340px;
}
.about-band .img-stack .a-img {
  position: absolute;
  border: 3px solid #1a1410;
  box-shadow: 5px 5px 0 #1a1410;
  background-size: cover; background-position: center;
}
.about-band .img-stack .a-img.big {
  inset: 0 60px 40px 0;
  transform: rotate(-2deg);
}
.about-band .img-stack .a-img.small {
  width: 200px; height: 200px;
  bottom: 0; left: 0;
  transform: rotate(4deg);
}
.about-band h3 {
  font-size: 16px;
  color: #c8181e;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.about-band h2 {
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.05;
  letter-spacing: -1px;
}
.about-band p {
  font-size: 17px;
  line-height: 1.6;
  color: #2a2218;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.about-band .badges {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.about-band .badge {
  background: #1a1410;
  color: #ffde00;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #1a1410;
  color: #ffde00;
  margin-top: 60px;
}
.footer .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 60px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer .sign-mini {
  font-weight: 900;
  font-size: 28px;
  color: #ffde00;
  -webkit-text-stroke: 1px #000;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
  margin-bottom: 12px;
}
.footer p { font-size: 14px; line-height: 1.6; opacity: 0.85; margin: 0; }
.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffde00;
  margin: 0 0 12px;
  font-weight: 800;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; font-size: 14px; color: #fff; opacity: 0.8; }
.footer .copy {
  border-top: 1px solid #3a2f25;
  margin-top: 32px;
  padding: 16px 60px;
  max-width: 1280px;
  margin-inline: auto;
  font-size: 12px;
  opacity: 0.6;
  text-align: center;
}

/* =========================================================
   PRODUCT DETAIL (modal-style overlay)
   ========================================================= */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,20,16,0.7);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  overflow-y: auto;
}

/* Yellow wipe when returning from the cart to the store — softens the blunt route change */
#route-fade {
  position: fixed; inset: 0; opacity: 0; pointer-events: none; z-index: 9999;
  background:
    radial-gradient(circle at center, #ffde00 0%, #ffde00 9%, rgba(255,222,0,0) 24%),     /* denser solid core */
    radial-gradient(circle, #ffde00 4px, rgba(255,222,0,0) 8.5px) 0 0 / 18px 18px;        /* soft dots: big in center, shrink toward the sides under the mask */
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 18%, rgba(0,0,0,0) 72%);
          mask-image: radial-gradient(circle at center, #000 0%, #000 18%, rgba(0,0,0,0) 72%);
}
#route-fade.on { animation: routeFade 0.4s ease; }
@keyframes routeFade { 0% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #route-fade.on { animation: none; } }

.pd-modal {
  background: #fffaf0;
  border: 3px solid #1a1410;
  border-radius: 6px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.5);
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
/* Fade the popup out after "הוסף לסל" — the brief hold lets the cart button's bump show */
.pd-overlay.closing { animation: pdOverlayOut 0.3s ease forwards; pointer-events: none; }
.pd-overlay.closing .pd-modal { animation: pdModalOut 0.3s ease forwards; }
@keyframes pdOverlayOut { to { opacity: 0; } }
@keyframes pdModalOut { to { opacity: 0; transform: translateY(10px) scale(0.985); } }
@media (prefers-reduced-motion: reduce) {
  .pd-overlay.closing, .pd-overlay.closing .pd-modal { animation: none; opacity: 0; }
}
.pd-modal .close-x {
  position: absolute;
  top: -16px; left: -16px;
  width: 44px; height: 44px;
  background: #ffde00;
  border: 2.5px solid #1a1410;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 3px 3px 0 #1a1410;
  z-index: 1;
}
.pd-modal .pd-image {
  background-size: cover;
  background-position: center;
  background-color: #f3ede0;
  border-left: 2px solid #1a1410;
  min-height: 480px;
  position: relative;
}
.pd-modal .pd-image .sale-burst { top: 20px; left: 20px; width: 80px; height: 80px; font-size: 16px; }
.pd-modal .pd-body { padding: 36px 40px; }
.pd-modal .pd-body h1 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.1;
}
.pd-modal .pd-body .pd-sub {
  color: #6b5e4f;
  font-size: 15px;
  margin-bottom: 22px;
}
.pd-price-block {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0;
  border-top: 2px dashed #1a1410;
  border-bottom: 2px dashed #1a1410;
  margin-bottom: 20px;
}
.pd-price-block .price-tag { font-size: 28px; padding: 6px 14px; }
.pd-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #2a2218;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.pd-actions {
  display: flex; gap: 12px; align-items: stretch;
}
.qty-stepper {
  display: flex; align-items: stretch;
  border: 2px solid #1a1410;
  border-radius: 3px;
  background: #fff;
  box-shadow: 2px 2px 0 #1a1410;
}
.qty-stepper button {
  background: transparent;
  border: none;
  width: 44px;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
}
.qty-stepper .qty-val {
  display: grid; place-items: center;
  min-width: 40px;
  font-weight: 800;
  font-size: 18px;
}
.btn-primary {
  flex: 1;
  background: #c8181e;
  color: #ffde00;
  border: 2px solid #1a1410;
  border-radius: 3px;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #1a1410;
  padding: 12px 20px;
  font-family: inherit;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}
.btn-primary:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 #1a1410; }
.btn-secondary {
  background: #ffde00;
  color: #1a1410;
  border: 2px solid #1a1410;
  border-radius: 3px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 18px;
  font-family: inherit;
  box-shadow: 2px 2px 0 #1a1410;
}
.btn-ghost {
  background: transparent;
  border: 2px solid #1a1410;
  color: #1a1410;
  border-radius: 3px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 18px;
  font-family: inherit;
}

/* =========================================================
   CART / CHECKOUT — split layout (items + summary card)
   ========================================================= */
.split-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 2px solid #1a1410;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 4px 4px 0 #1a1410;
}
.panel h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 900;
  color: #c8181e;
  border-bottom: 2px dashed #1a1410;
  padding-bottom: 12px;
}
.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed #ddd1bb;
}
.cart-row:last-of-type { border-bottom: none; }
.cart-row .thumb {
  width: 80px; height: 80px;
  border: 1.5px solid #1a1410;
  border-radius: 3px;
  background-size: cover; background-position: center;
  background-color: #f3ede0;
}
.cart-row .meta b { font-size: 15px; display: block; }
.cart-row .meta span { font-size: 12px; color: #6b5e4f; }
.cart-row .mini-qty {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800;
}
.cart-row .mini-qty button {
  width: 28px; height: 28px;
  border: 1.5px solid #1a1410;
  background: #fff;
  border-radius: 3px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
}
.cart-row .ci-price { font-weight: 900; font-size: 16px; }
.cart-row .remove {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #6b5e4f;
  padding: 6px;
}
.cart-row .remove:hover { color: #c8181e; }

/* Sidebar summary */
.sidebar {
  background: #1a1410;
  color: #ffde00;
  padding: 24px;
  border-radius: 4px;
  position: sticky;
  top: 84px;
  border: 2px solid #1a1410;
}
.sidebar h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
}
.sidebar .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.sidebar .row.total { border-top: 1px dashed #ffde00; margin-top: 8px; padding-top: 12px; font-size: 22px; font-weight: 900; }
.sidebar .checkout-btn {
  width: 100%;
  background: #ffde00;
  color: #1a1410;
  border: 2px solid #1a1410;
  border-radius: 3px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  padding: 14px;
  margin-top: 16px;
  font-family: inherit;
  box-shadow: 3px 3px 0 #000;
}
.sidebar .checkout-btn:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 #000; }

/* Checkout fields */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}
.field label .req { color: #c8181e; }
.field label .opt { color: #6b5e4f; font-weight: 600; font-size: 11px; margin-inline-start: 4px; }
.field input, .field textarea {
  width: 100%;
  border: 2px solid #1a1410;
  border-radius: 3px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  direction: rtl;
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: 2px 2px 0 #c8181e; }

.method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.method-card {
  border: 2px solid #1a1410;
  background: #fff;
  border-radius: 3px;
  padding: 16px;
  cursor: pointer;
  text-align: center;
  box-shadow: 3px 3px 0 #1a1410;
}
.method-card.active { background: #ffde00; }
.method-card .m-icon { font-size: 30px; }
.method-card .m-label { font-size: 15px; font-weight: 900; margin-top: 4px; }
.method-card .m-note { font-size: 11px; color: #6b5e4f; }

/* =========================================================
   CONFIRMATION
   ========================================================= */
.confirm-shell {
  max-width: 720px;
  margin: 80px auto;
  padding: 60px;
  text-align: center;
  background: #fff;
  border: 3px solid #1a1410;
  box-shadow: 6px 6px 0 #1a1410;
}
.confirm-badge {
  width: 120px; height: 120px;
  margin: 0 auto 24px;
  background: #ffde00;
  border: 4px solid #1a1410;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 64px;
  box-shadow: 5px 5px 0 #1a1410;
}
.confirm-shell h1 {
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 8px;
  color: #c8181e;
  letter-spacing: -1px;
}
.confirm-shell .id-pill {
  display: inline-block;
  background: #1a1410;
  color: #ffde00;
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 800;
  margin: 10px 0 24px;
  font-size: 16px;
}
.confirm-shell .blurb {
  color: #2a2218;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.confirm-shell .b-row {
  display: flex; gap: 12px; justify-content: center;
}
.confirm-shell .sms-sim {
  text-align: right;
  background: #fff;
  border: 2px solid #1a1410;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 auto 24px;
  max-width: 460px;
  box-shadow: 4px 4px 0 #1a1410;
}
.confirm-shell .sms-sim .sms-head {
  font-size: 13px; font-weight: 800; color: #6b5e4f;
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.confirm-shell .sms-sim .sms-ic { font-size: 16px; }
.confirm-shell .sms-sim .sms-bubble {
  background: #e8f6ea; border: 1.5px solid #1a1410;
  border-radius: 4px 14px 14px 14px; padding: 11px 13px;
  font-size: 14px; font-weight: 600; line-height: 1.45; color: #1a1410;
}
.confirm-shell .sms-sim .sms-link {
  display: block; margin-top: 6px; color: #c8181e;
  font-weight: 800; word-break: break-all; text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 80px 30px;
  color: #6b5e4f;
}
.empty-state .e-emoji { font-size: 72px; margin-bottom: 14px; opacity: 0.6; }
.empty-state h3 { margin: 0 0 8px; font-size: 24px; color: #1a1410; }
.empty-state .btn-primary { margin-top: 20px; min-width: 200px; }

/* =========================================================
   MULTI-BUY PROMOS (מבצעים מיוחדים — "כמות במחיר")
   ========================================================= */
.promo-badge { position: absolute; right: 8px; bottom: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; z-index: 4; }
.promo-chip { background: #0d9488; color: #fff; border: 2px solid #1a1410; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 800; box-shadow: 2px 2px 0 #1a1410; white-space: nowrap; }
.flyer-card .promo-badge.flyer { top: 6px; right: 6px; bottom: auto; }
.flyer-card .promo-chip { font-size: 10px; padding: 1px 6px; box-shadow: 1px 1px 0 #1a1410; }
.promo-deals { margin: 14px 0; border: 2px solid #1a1410; border-radius: 8px; padding: 10px 14px; background: #e6fffb; box-shadow: 3px 3px 0 #1a1410; }
.promo-deals .ttl { font-weight: 900; color: #0d8378; margin-bottom: 6px; font-size: 14px; }
.promo-deals .deal { font-size: 15px; font-weight: 700; color: #1a1410; padding: 2px 0; }
.promo-deals .deal b { color: #0d8378; }
.promo-applied { display: inline-block; background: #0d9488; color: #fff; border-radius: 5px; padding: 1px 7px; font-size: 11px; font-weight: 800; margin-top: 3px; width: fit-content; }
.sidebar .row.promo-save { color: #34d399; font-weight: 800; }
.cart-row .thumb { position: relative; }
.cart-burst { position: absolute; top: 3px; left: 3px; width: 44px; height: 44px; background: #ffde00; color: #c8181e; border: 2px solid #1a1410; display: grid; place-items: center; font-size: 11px; font-weight: 900; transform: rotate(-12deg); z-index: 5; clip-path: polygon(50% 0%, 61% 16%, 79% 9%, 80% 28%, 96% 35%, 86% 50%, 96% 65%, 80% 72%, 79% 91%, 61% 84%, 50% 100%, 39% 84%, 21% 91%, 20% 72%, 4% 65%, 14% 50%, 4% 35%, 20% 28%, 21% 9%, 39% 16%); }

/* =========================================================
   FLYER HERO (variant 2 — no storefront photo)
   Sticker-board, like the paper flyer hung on the shop door.
   ========================================================= */
.hero-flyer {
  background: #ffde00;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0,0,0,0.06) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(200,24,30,0.10) 0%, transparent 30%);
  border-bottom: 4px solid #1a1410;
  position: relative;
  overflow: hidden;
}
.hero-flyer .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 60px 80px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.hero-flyer .copy { position: relative; z-index: 2; }
.hero-flyer .eyebrow-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1410;
  color: #ffde00;
  padding: 8px 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 3px;
  margin-bottom: 22px;
  transform: rotate(-2deg);
}
.hero-flyer .eyebrow-stamp::before {
  content: '★';
  color: #c8181e;
  font-size: 16px;
}
.hero-flyer h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 96px;
  line-height: 0.88;
  letter-spacing: -3.5px;
  color: #1a1410;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hero-flyer h1 .underline {
  background: #c8181e;
  color: #ffde00;
  padding: 0 12px 4px;
  display: inline-block;
  -webkit-text-stroke: 0;
}
.hero-flyer .blurb {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: #2a2218;
  margin: 0 0 28px;
  max-width: 480px;
  text-wrap: pretty;
}
.hero-flyer .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-flyer .cta-big {
  background: #c8181e;
  color: #ffde00;
  border: 3px solid #1a1410;
  border-radius: 4px;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  padding: 16px 28px;
  font-family: inherit;
  box-shadow: 5px 5px 0 #1a1410;
  display: inline-flex; align-items: center; gap: 10px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
  transition: transform 0.05s;
}
.hero-flyer .cta-big:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 #1a1410; }
.hero-flyer .cta-ghost {
  background: transparent;
  color: #1a1410;
  border: 3px solid #1a1410;
  border-radius: 4px;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  padding: 16px 24px;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
}
/* Manual-list CTA: stacked under the buy/call row, spanning the same width as that row (Locked #8 web). */
.hero-flyer .cta-stack { display: inline-flex; flex-direction: column; align-items: stretch; gap: 14px; }
.hero-flyer .cta-list {
  background: #1a1410;
  color: #ffde00;
  border: 3px solid #1a1410;
  border-radius: 4px;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  padding: 16px 28px;
  font-family: inherit;
  box-shadow: 5px 5px 0 #c8181e;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.05s, box-shadow 0.05s;
}
.hero-flyer .cta-list:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 #c8181e; }

/* The sticker board side */
.sticker-board {
  position: relative;
  height: 460px;
  z-index: 1;
}
.sticker-board::before {
  /* "torn-tape" corner accents */
  content: '';
  position: absolute;
  top: 0; right: 30px;
  width: 60px; height: 22px;
  background: rgba(0,0,0,0.12);
  transform: rotate(-15deg);
}
.sticker-board::after {
  content: '';
  position: absolute;
  bottom: 30px; left: 0;
  width: 70px; height: 22px;
  background: rgba(0,0,0,0.12);
  transform: rotate(8deg);
}

.flyer-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 3px solid #1a1410;
  border-radius: 4px;
  box-shadow: 5px 5px 0 #1a1410, 0 12px 22px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.15s;
}
.flyer-card:hover { transform: translate(-2px, -4px) rotate(0deg) scale(1.04) !important; }
.flyer-card .photo {
  flex: 1 1 auto;
  min-height: 40px;
  background-size: cover;
  background-position: center;
  background-color: #f3ede0;
  border-bottom: 3px solid #1a1410;
}
.flyer-card .label {
  padding: 10px 12px 12px;
  background: #fff;
}
.flyer-card .label .nm {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 4px;
  min-height: 30px;
}
.flyer-card .label .pricetag {
  background: #ffde00;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 4px 9px;
  border: 2px solid #1a1410;
  border-radius: 3px;
  font-weight: 900;
  font-size: 18px;
  color: #1a1410;
  box-shadow: 2px 2px 0 #1a1410;
}
.flyer-card .label .pricetag .nis { font-size: 12px; }
.vat-note { font-size: 11px; font-weight: 600; color: #6b5e4f; display: inline-block; margin-inline-start: 6px; vertical-align: middle; }
.flyer-card .label .vat-note { font-size: 10px; margin-inline-start: 5px; }
.sidebar .vat-note { color: rgba(255,255,255,0.55); }
.flyer-card .label .strike {
  text-decoration: line-through;
  color: #888;
  font-size: 13px;
  margin-inline-start: 6px;
}
.flyer-card .tape {
  position: absolute;
  background: rgba(255, 246, 199, 0.85);
  border: 1px dashed rgba(0,0,0,0.18);
  width: 60px; height: 16px;
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
}

/* Position each card on the board */
.flyer-card.c1 {
  top: 0; right: 0;
  width: 190px;
  transform: rotate(4deg);
}
.flyer-card.c2 {
  top: 60px; left: 40px;
  width: 200px;
  transform: rotate(-5deg);
  z-index: 2;
}
.flyer-card.c3 {
  bottom: 0; right: 70px;
  width: 200px;
  transform: rotate(-2deg);
  z-index: 1;
}
.flyer-card.c4 {
  bottom: 30px; left: 0;
  width: 180px;
  transform: rotate(6deg);
}

/* Big sale starburst floating on the board */
.board-burst {
  position: absolute;
  top: 200px; right: -10px;
  width: 110px; height: 110px;
  background: #c8181e;
  color: #ffde00;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 16px;
  text-align: center;
  line-height: 1.05;
  border: 3px solid #1a1410;
  transform: rotate(-15deg);
  box-shadow: 4px 4px 0 #1a1410;
  z-index: 3;
  clip-path: polygon(50% 0%, 61% 16%, 79% 9%, 80% 28%, 96% 35%, 86% 50%, 96% 65%, 80% 72%, 79% 91%, 61% 84%, 50% 100%, 39% 84%, 21% 91%, 20% 72%, 4% 65%, 14% 50%, 4% 35%, 20% 28%, 21% 9%, 39% 16%);
}
.board-burst .big { font-size: 26px; display: block; line-height: 1; }

/* Ribbon under hero */
.hero-ribbon {
  background: #1a1410;
  color: #ffde00;
  border-bottom: 4px solid #ffde00;
}
.hero-ribbon .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 60px;
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 800;
  font-size: 14px;
  overflow: hidden;
}
.hero-ribbon .ribbon-item {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.hero-ribbon .ribbon-item .ic {
  background: #ffde00;
  color: #c8181e;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 14px;
}
.hero-ribbon .sep {
  width: 6px; height: 6px;
  background: #c8181e;
  border-radius: 50%;
}

@media (max-width: 1000px) {
  .hero-flyer .inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-flyer h1 { font-size: 64px; }
  .sticker-board { height: 380px; }
}
