/* =============================================================
   SFOGI — Design System v2
   RTL-first. מרווחים ומיקומים משתמשים ב-logical properties
   (margin-inline / inset-inline) כדי שהכיוון יתהפך נכון אוטומטית.
   הפלטה ניטרלית-חמה בכוונה, כדי שארבעת גווני הספה יבלטו.
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* ניטרליים חמים */
  --cream:    #FBF8F3;
  --cream-2:  #F4EDE3;
  --cream-3:  #EAE0D2;
  --line:     #E2D7C7;
  --line-2:   #D3C5B1;

  --ink:      #1E1B17;
  --ink-2:    #3A342C;
  --ink-soft: #6B6154;
  --ink-mute: #948877;
  --on-dark:  #F7F2E9;

  /* גווני המוצר האמיתיים (נדגמו מהתמונות) */
  --c-green:  #6D6530;
  --c-orange: #945625;
  --c-black:  #413D3A;
  --c-white:  #C0B1A3;

  --accent:      #A85A20;
  --accent-soft: #F3E3D4;

  /* Rubik — גרוטסק גיאומטרי עם פינות מרוככות, אותה שפה של הלוגו
     (קווים מונוליניאריים וקצוות מעוגלים). כותרות וגוף מאותה משפחה. */
  --font-head: 'Rubik', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --font-body: 'Rubik', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;

  --wrap: 1320px;
  --wrap-mid: 1040px;
  --wrap-narrow: 720px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --sh-1: 0 1px 2px rgba(30,27,23,.05), 0 3px 10px rgba(30,27,23,.045);
  --sh-2: 0 4px 14px rgba(30,27,23,.07), 0 14px 38px rgba(30,27,23,.075);
  --sh-3: 0 10px 30px rgba(30,27,23,.10), 0 30px 70px rgba(30,27,23,.12);

  --header-h: 66px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
/* sans-serif גיאומטרי דורש משקל גבוה יותר וריווח הדוק מכותרות סריפיות */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }

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

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -70px; z-index: 300;
  padding: 11px 20px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--on-dark); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.wrap        { width: min(100% - 48px, var(--wrap));        margin-inline: auto; }
.wrap-mid    { width: min(100% - 48px, var(--wrap-mid));    margin-inline: auto; }
.wrap-narrow { width: min(100% - 48px, var(--wrap-narrow)); margin-inline: auto; }
@media (max-width: 640px) { .wrap, .wrap-mid, .wrap-narrow { width: calc(100% - 32px); } }

.section        { padding-block: clamp(60px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--cream { background: var(--cream-2); }
.section--dark  { background: var(--ink); color: var(--on-dark); }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section--dark .eyebrow { color: #E0A96D; }

.h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -.02em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3rem);     letter-spacing: -.015em; }
.h3 { font-size: clamp(1.2rem, 2.1vw, 1.5rem); }
.lede { font-size: clamp(1.04rem, 1.5vw, 1.18rem); color: var(--ink-soft); margin-top: 18px; max-width: 60ch; }
.section--dark .lede { color: rgba(247,242,233,.76); }

.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .16s var(--ease), box-shadow .22s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--on-dark); }
.btn--primary:hover { background: #000; box-shadow: var(--sh-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: var(--sh-2); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #8F4A16; }
.btn--lg { padding: 18px 40px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(-5px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,243,.82);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand svg, .brand img { height: 24px; width: auto; display: block; }

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  position: relative; padding: 9px 16px; border-radius: var(--r-sm);
  font-size: 15.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a::after {
  content: ''; position: absolute; inset-inline: 16px; bottom: 5px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: inline-end;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: inline-start; }

.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  display: grid; place-items: center; position: relative;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; transition: background .2s var(--ease);
}
.icon-btn:hover { background: var(--cream-3); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; inset-block-start: 3px; inset-inline-end: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700;
  border-radius: 999px; line-height: 1;
}
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset-block: var(--header-h) 0; inset-inline-end: 0;
    width: min(330px, 84vw); flex-direction: column; gap: 2px; align-items: stretch;
    padding: 24px 18px; background: var(--cream);
    border-inline-start: 1px solid var(--line); box-shadow: var(--sh-3);
    /* מעוגן ל-inset-inline-end: ב-LTR צד ימין, ב-RTL צד שמאל — ההסתרה מתהפכת בהתאם */
    transform: translateX(100%); transition: transform .34s var(--ease-out);
    margin-inline-start: 0; overflow-y: auto;
  }
  [dir="rtl"] .nav { transform: translateX(-100%); }
  .nav.is-open { transform: translateX(0) !important; }
  .nav a { padding: 15px 14px; font-size: 17.5px; border-radius: var(--r-md); }
  .nav a:hover { background: var(--cream-2); }
  .nav a::after { display: none; }
}

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding-block: clamp(20px, 3vw, 32px) 0; }
/* המסגרת מקבלת בדיוק את יחס התמונה (1600×900), כך ש-contain ממלא אותה
   לגמרי — הספה נראית שלמה ובכל זאת אין פסים בצדדים. */
.hero-stage {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--cream-3); box-shadow: var(--sh-2);
  aspect-ratio: 16 / 9; min-height: min(62vh, 620px);
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .55s var(--ease);
}
.hero-stage img.is-active { opacity: 1; }
.hero-stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(20,17,14,.80) 0%, rgba(20,17,14,.45) 34%, rgba(20,17,14,.06) 62%);
}
.hero-body {
  position: relative; z-index: 2; width: 100%;
  padding: clamp(28px, 4vw, 56px); color: #fff;
}
.hero-body .eyebrow { color: #F0C79A; }
.hero-body .h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 20px rgba(0,0,0,.28); }
.hero-body .lede { color: rgba(255,255,255,.9); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 34px); }

/* בורר גוון על ה-Hero — מחליף את התמונה בזמן אמת */
.hero-colors { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-colors .label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.78); letter-spacing: .04em; }
.color-dots { display: flex; gap: 10px; }
.color-dot {
  width: 34px; height: 34px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255,255,255,.5); background: transparent;
  display: grid; place-items: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.color-dot i { width: 24px; height: 24px; border-radius: 50%; display: block; }
.color-dot:hover { transform: scale(1.08); }
.color-dot[aria-pressed="true"] { border-color: #fff; }

/* במובייל היחס 16:9 נמוך מדי בשביל טקסט על גבי התמונה, ולכן התמונה
   עומדת בפני עצמה (שלמה, בלי חיתוך) והטקסט יורד מתחתיה. */
@media (max-width: 760px) {
  .hero-stage {
    display: block; aspect-ratio: auto; min-height: 0;
    border-radius: var(--r-lg); background: var(--ink);
  }
  .hero-media { position: relative; inset: auto; aspect-ratio: 16 / 9; background: var(--cream-3); }
  .hero-stage::after { display: none; }
  .hero-body { padding: 26px 20px 30px; }
  .hero-body .h1 { text-shadow: none; }
}

/* פס יתרונות מתחת ל-Hero */
.usp-strip {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  margin-top: 22px; grid-template-columns: 1fr;
}
@media (min-width: 620px) { .usp-strip { grid-template-columns: repeat(2, 1fr); } }
/* שש הבטחות — שלוש בשורה, שתי שורות מלאות בלי תא ריק */
@media (min-width: 980px) { .usp-strip { grid-template-columns: repeat(3, 1fr); } }
.usp {
  background: var(--cream); padding: 20px 22px;
  display: flex; align-items: center; gap: 13px;
}
.usp svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.usp b { display: block; font-size: 14.5px; font-weight: 700; }
.usp span { font-size: 13px; color: var(--ink-mute); }

/* ---------- 7. How it works — 6 שלבים, 2×3 בדסקטופ, עמודה אחת במובייל ---------- */
.how-grid { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: 1fr; }
/* שתי תמונות בשורה גם במסכים רחבים: הכיתוב נמצא בתוך התמונה עצמה,
   ושלוש בשורה היו מקטינות אותו מדי לקריאה. */
@media (min-width: 700px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .how-grid { max-width: 1180px; margin-inline: auto; } }

.step { display: flex; flex-direction: column; margin: 0; }
/* המסגרת מקבלת את היחס המקורי של קובץ המדריך (1535x1024 = 3:2),
   כך שהתמונה מוצגת שלמה — הכיתוב שבתוכה נשאר קריא ולא נחתך דבר. */
.step-media {
  position: relative; aspect-ratio: 1535 / 1024; border-radius: var(--r-lg);
  overflow: hidden; background: var(--cream-2); box-shadow: var(--sh-1);
  width: 100%; padding: 0; border: 0; cursor: zoom-in; display: block;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.step-media:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.step-media:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.step-media img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* מספר השלב — עיגול בפינה העליונה (מתהפכת נכון ב-RTL) */
.step-num {
  position: absolute; z-index: 2;
  inset-block-start: 14px; inset-inline-start: 14px;
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--on-dark);
  font-family: var(--font-head); font-size: 16px; font-weight: 600;
  box-shadow: var(--sh-2);
}
.step-body { padding-top: 18px; }
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* שלב שעדיין אין לו תמונה — placeholder מעוצב, לא תמונה מומצאת */
.step-media--empty {
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--cream-2) 0 14px, var(--cream-3) 14px 28px);
  border: 1.5px dashed var(--line-2); box-shadow: none;
}
.step-media--empty .soon-inner svg { width: 38px; height: 38px; }

/* ---------- 7b. אפשרויות אספקה ---------- */
.ship-options { display: grid; gap: 10px; }
.ship-opt {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 17px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; background: transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ship-opt:hover { border-color: var(--ink-mute); }
/* .is-selected מתווסף ב-JS כגיבוי לדפדפנים בלי :has() */
.ship-opt.is-selected,
.ship-opt:has(input:checked) { border-color: var(--ink); background: var(--cream-2); }
.ship-opt:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.ship-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ship-radio {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  border: 1.8px solid var(--line-2); display: grid; place-items: center;
  transition: border-color .2s var(--ease);
}
.ship-radio::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink);
  transform: scale(0); transition: transform .2s var(--ease);
}
.ship-opt.is-selected .ship-radio,
.ship-opt:has(input:checked) .ship-radio { border-color: var(--ink); }
.ship-opt.is-selected .ship-radio::after,
.ship-opt:has(input:checked) .ship-radio::after { transform: scale(1); }
.ship-text { flex: 1; min-width: 0; }
.ship-title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ship-title b { font-size: 15px; font-weight: 600; }
.ship-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.ship-price--free { color: #47713A; }
.ship-detail { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.ship-note { font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; }

/* ---------- 8. Feature cards ---------- */
.features { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.section--cream .feature { background: #fff; border-color: transparent; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.feature-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { font-size: 14.8px; color: var(--ink-soft); }

/* ---------- 9. Product cards ---------- */
.product-grid {
  display: grid; gap: clamp(22px, 2.6vw, 36px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
.card { display: flex; flex-direction: column; height: 100%; }
.card-media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg);
  overflow: hidden; background: var(--cream-3); margin-bottom: 18px;
  display: block;
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .4s var(--ease), transform .7s var(--ease);
}
.card-media img.is-active { opacity: 1; }
.card:hover .card-media img.is-active { transform: scale(1.04); }

.card-badge {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 3;
  padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--ink); color: var(--cream);
}
.card-badge--sale { background: var(--accent); color: #fff; }
.card-badge--soon { background: rgba(251,248,243,.94); color: var(--ink-soft); }

.card-title { font-size: 1.28rem; margin-bottom: 3px; }
.card-tagline { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 12px; }
.card-desc { font-size: 14.6px; color: var(--ink-soft); margin-bottom: 16px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }

/* נקודות גוון על כרטיס — מחליפות את תמונת הכרטיס */
.card-colors { display: flex; gap: 8px; margin-bottom: 14px; }
.card-color {
  width: 22px; height: 22px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; background: transparent; display: grid; place-items: center;
  transition: border-color .18s var(--ease);
}
.card-color i { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(30,27,23,.16); }
.card-color[aria-pressed="true"] { border-color: var(--ink); }

/* כרטיס "בקרוב" — placeholder מעוצב, בלי תמונת מוצר מזויפת */
.card--soon .card-media {
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--cream-2) 0 14px, var(--cream-3) 14px 28px);
  border: 1.5px dashed var(--line-2);
}
.soon-inner { text-align: center; padding: 26px; }
.soon-inner svg { width: 42px; height: 42px; color: var(--ink-mute); margin-bottom: 14px; }
.soon-inner span { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--ink-soft); }
.soon-inner small { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 5px; }

.price { display: flex; align-items: baseline; gap: 9px; font-family: var(--font-head); }
.price-now { font-size: 1.32rem; }
.price-was { font-size: .95rem; color: var(--ink-mute); text-decoration: line-through; }

/* ---------- 10. Colour showcase (4 גוונים) ---------- */
.swatch-grid { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .swatch-grid { grid-template-columns: repeat(4, 1fr); } }
.swatch-card { border-radius: var(--r-lg); overflow: hidden; background: var(--cream-3); box-shadow: var(--sh-1); }
.swatch-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.swatch-card .meta { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--cream); }
.swatch-card .chip-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(30,27,23,.14); }
.swatch-card .meta b { font-size: 14.5px; font-weight: 600; }

/* ---------- 11. Trust ---------- */
.trust { display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: 15px; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.trust-item h3 { font-size: 1.06rem; margin-bottom: 5px; }
.trust-item p { font-size: 14.6px; color: var(--ink-soft); }

/* ---------- 12. Testimonials ---------- */
/* רצועה נגללת ולא גריד: מספר העדויות משתנה עם הזמן, וגריד של שלוש
   עמודות משאיר שורה אחרונה יתומה בכל מספר שאינו מתחלק ב-3.
   proximity ולא mandatory — mandatory נאבק בגלילה ידנית ארוכה. */
.testimonials {
  display: flex; gap: clamp(18px, 2.4vw, 28px);
  overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity; scroll-padding-inline-start: 2px;
  padding-block-end: 10px; -webkit-overflow-scrolling: touch;
}
.testimonials > * { scroll-snap-align: start; }
.testimonials::-webkit-scrollbar { height: 6px; }
.testimonials::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.tcard {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column;
  flex: 0 0 min(86%, 380px);
}
/* בלי פוטר הכרטיס מסתיים מיד אחרי הציטוט, ולכן הריווח התחתון קטן יותר */
.tcard--anon { padding-block-end: 26px; }
.section--cream .tcard { background: #fff; border-color: transparent; }
.tcard .quote-mark { font-family: var(--font-head); font-size: 2.8rem; line-height: .8; color: var(--line-2); margin-bottom: 14px; }
.tcard blockquote { margin: 0; font-size: 15.6px; color: var(--ink-soft); flex: 1; }
.tcard footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.tavatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--cream-2); border: 1.5px dashed var(--line-2); color: var(--ink-mute);
}
.tavatar svg { width: 19px; height: 19px; }
.tname { font-weight: 700; font-size: 14.5px; }
.tmeta { font-size: 12.5px; color: var(--ink-mute); }
.ph-tag {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11px; font-weight: 700; margin-bottom: 14px;
}

/* ---------- 13. Forms ---------- */
.field {
  width: 100%; padding: 15px 20px; background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 999px; font-size: 16px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field:focus { outline: none; border-color: var(--accent); background: #fff; }
textarea.field { border-radius: var(--r-md); resize: vertical; min-height: 140px; }
.section--dark .field { background: rgba(247,242,233,.07); border-color: rgba(247,242,233,.2); color: var(--on-dark); }
.section--dark .field::placeholder { color: rgba(247,242,233,.48); }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 14px; }
.section--dark .form-note { color: rgba(247,242,233,.5); }
.news-form { display: flex; gap: 10px; max-width: 480px; margin: 28px auto 0; flex-wrap: wrap; }
.news-form input { flex: 1 1 230px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 580px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 6vw, 84px) 30px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 44px; border-bottom: 1px solid rgba(247,242,233,.13); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }
.footer-brand svg, .footer-brand img { height: 24px; width: auto; margin-bottom: 18px; display: block; }
.footer-brand p { font-size: 14.5px; color: rgba(247,242,233,.66); max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #E0A96D; margin-bottom: 16px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 14.5px; color: rgba(247,242,233,.72); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--on-dark); }
.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(247,242,233,.2); color: rgba(247,242,233,.8);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.socials a:hover { background: rgba(247,242,233,.1); color: var(--on-dark); border-color: transparent; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 26px; }
.footer-bottom p { font-size: 13px; color: rgba(247,242,233,.52); }
.pay-row { display: flex; align-items: center; gap: 9px; }
.pay-row svg { height: 26px; width: auto; opacity: .8; }

/* ---------- 15. Page head / breadcrumbs ---------- */
.page-head { padding-block: clamp(32px, 4.5vw, 60px) clamp(20px, 3vw, 32px); }
.crumbs { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin-inline: 7px; }

/* ---------- 16. Shop toolbar ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
  padding-bottom: 26px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
.toolbar-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar-label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; font-size: 14.2px; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--ink-mute); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(30,27,23,.18); }
.select {
  padding: 10px 18px; padding-inline-end: 40px; border: 1.5px solid var(--line);
  border-radius: 999px; background-color: transparent; font-size: 14.2px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6154' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 16px center;
}
[dir="ltr"] .select { background-position: right 16px center; }
.select:focus { outline: none; border-color: var(--accent); }
.result-count { font-size: 13.5px; color: var(--ink-mute); margin-inline-start: auto; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-soft); }

/* ---------- 17. Product detail ---------- */
.pdp { display: grid; gap: clamp(28px, 4vw, 60px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .pdp { grid-template-columns: 1.08fr .92fr; } }
@media (min-width: 980px) { .pdp-info { position: sticky; top: calc(var(--header-h) + 30px); } }

.gallery-main {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg);
  overflow: hidden; background: var(--cream-3); box-shadow: var(--sh-1); cursor: zoom-in;
}
.gallery-main img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-main img.is-active { opacity: 1; }
.zoom-hint {
  position: absolute; z-index: 3; inset-block-end: 16px; inset-inline-end: 16px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(251,248,243,.92); backdrop-filter: blur(6px); color: var(--ink);
  box-shadow: var(--sh-1); pointer-events: none;
}
.zoom-hint svg { width: 18px; height: 18px; }

.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb {
  flex: 0 0 84px; aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid transparent; background: var(--cream-3); cursor: pointer; padding: 0;
  opacity: .68; transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }

.pdp-title { font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 6px; }
.pdp-tagline { color: var(--ink-mute); font-size: 15px; }
.pdp-price { margin: 22px 0 6px; }
.pdp-price .price-now { font-size: 1.95rem; }
.pdp-price .price-was { font-size: 1.05rem; }
.vat-note { font-size: 13px; color: var(--ink-mute); }

.stock-line { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 14.5px; font-weight: 600; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; }
.stock--in { color: #47713A; } .stock--in .stock-dot { background: #5C9147; }
.stock--low { color: var(--accent); } .stock--low .stock-dot { background: var(--accent); }
.stock--preorder { color: var(--ink-soft); } .stock--preorder .stock-dot { background: var(--ink-mute); }
.pdp-desc { margin-top: 22px; color: var(--ink-soft); font-size: 16px; }

.opt-block { margin-top: 32px; }
.opt-head { display: flex; align-items: baseline; gap: 9px; margin-bottom: 14px; }
.opt-label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.opt-value { font-size: 14.6px; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  position: relative; width: 50px; height: 50px; padding: 0; border-radius: 50%;
  border: 2px solid transparent; background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.swatch i { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(30,27,23,.14); }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }

.qty-row { display: flex; gap: 12px; align-items: center; margin-top: 30px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.qty button {
  width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent;
  cursor: pointer; font-size: 19px; line-height: 1; color: var(--ink-soft); transition: background .2s var(--ease);
}
.qty button:hover { background: var(--cream-2); }
.qty input { width: 42px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-assure { display: grid; gap: 13px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.pdp-assure li { display: flex; gap: 12px; align-items: center; font-size: 14.6px; color: var(--ink-soft); }
.pdp-assure svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }

/* סרגל קנייה דביק במובייל */
.buy-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(251,248,243,.95); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(30,27,23,.09);
  transform: translateY(110%); transition: transform .3s var(--ease-out);
}
.buy-bar.is-show { transform: translateY(0); }
.buy-bar .bb-info { flex: 1; min-width: 0; }
.buy-bar .bb-name { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar .bb-price { font-family: var(--font-head); font-size: 1.05rem; }
.buy-bar .btn { padding: 13px 26px; }
@media (max-width: 979px) { .buy-bar { display: flex; } }

/* ---------- 18. Tabs ---------- */
.tabs { margin-top: clamp(52px, 6vw, 88px); }
.tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  padding: 15px 22px; border: 0; background: transparent; cursor: pointer;
  font-size: 15.5px; font-weight: 600; color: var(--ink-mute);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--ink-soft); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabpanel { padding-top: 32px; max-width: 800px; }
.tabpanel[hidden] { display: none; }
.tabpanel p + p { margin-top: 15px; }
.tabpanel h4 { font-family: var(--font-body); font-weight: 700; font-size: 15.5px; margin: 24px 0 8px; }
.spec-table { width: 100%; }
.spec-table th, .spec-table td { text-align: start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table th { font-weight: 600; color: var(--ink-soft); width: 48%; }
.todo-flag {
  display: inline-block; margin-inline-start: 8px; padding: 2px 8px; border-radius: 5px;
  background: var(--accent-soft); color: var(--accent); font-size: 10.5px; font-weight: 700; vertical-align: middle;
}

/* ---------- 19. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px;
  background: rgba(20,17,14,.92); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 820px); max-height: 88vh; border-radius: var(--r-md); object-fit: contain; }
.lightbox-close {
  position: absolute; inset-block-start: 20px; inset-inline-end: 20px;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(251,248,243,.16); color: var(--cream); cursor: pointer; display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(251,248,243,.28); }
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- 20. Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(20,17,14,.45);
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 160;
  width: min(420px, 92vw); display: flex; flex-direction: column;
  background: var(--cream); box-shadow: var(--sh-3);
  /* כמו התפריט — מעוגן ל-inset-inline-end, ולכן ההסתרה מתהפכת ב-RTL */
  transform: translateX(100%); transition: transform .34s var(--ease-out);
}
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.is-open { transform: translateX(0) !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.drawer-foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream-2); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.drawer-total .label { font-size: 14.5px; color: var(--ink-soft); }
.drawer-total .amount { font-family: var(--font-head); font-size: 1.42rem; }
.cart-empty { text-align: center; padding: 60px 16px; color: var(--ink-mute); }
.cart-empty svg { width: 44px; height: 44px; margin: 0 auto 16px; opacity: .45; }
.cart-item { display: flex; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; margin-bottom: 0; }
.cart-item-img { flex: 0 0 70px; aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; background: var(--cream-3); }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; background: var(--cream-2); }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item h3 { font-size: 15px; margin-bottom: 3px; }
.ci-meta { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 9px; }
.ci-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-price { font-weight: 700; font-size: 14.5px; }
.ci-remove { border: 0; background: transparent; color: var(--ink-mute); cursor: pointer; font-size: 12.5px; text-decoration: underline; padding: 0; }
.ci-remove:hover { color: var(--ink); }
.demo-note {
  display: flex; gap: 9px; align-items: flex-start; padding: 12px 14px; margin-bottom: 18px;
  background: var(--accent-soft); border-radius: var(--r-sm); font-size: 12.5px; color: #8F4A16;
}
.demo-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }

/* ---------- 21. Toast ---------- */
.toast {
  position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 400;
  padding: 15px 24px; border-radius: 999px; background: var(--ink); color: var(--on-dark);
  font-size: 14.5px; font-weight: 600; box-shadow: var(--sh-3);
  transform: translateY(130%); opacity: 0;
  transition: transform .34s var(--ease-out), opacity .34s var(--ease);
}
.toast.is-show { transform: translateY(0); opacity: 1; }
@media (max-width: 979px) { .toast { inset-block-end: 92px; } }

/* ---------- 22. About / Contact ---------- */
.split { display: grid; gap: clamp(30px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); background: var(--cream-3); }
.split-media img { width: 100%; height: auto; }
.prose { color: var(--ink-soft); font-size: 16.5px; }
.prose p + p { margin-top: 16px; }
.values { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value-num { font-family: var(--font-head); font-size: 2.1rem; color: var(--line-2); margin-bottom: 10px; }
.contact-grid { display: grid; gap: clamp(32px, 5vw, 60px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }
.info-card { background: var(--cream-2); border-radius: var(--r-lg); padding: 32px 30px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item + .info-item { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.info-item svg { width: 21px; height: 21px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.info-item p, .info-item a { font-size: 14.5px; color: var(--ink-soft); }
.info-item a:hover { color: var(--ink); text-decoration: underline; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-size: 1.1rem; text-align: start; color: var(--ink);
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-mute); transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { padding-bottom: 24px; color: var(--ink-soft); font-size: 15.5px; max-width: 660px; }
.faq-a[hidden] { display: none; }

/* ---------- 23. Checkout ---------- */
.co-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.co-header .header-inner { justify-content: space-between; }
.co-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.co-secure svg { width: 17px; height: 17px; color: #47713A; }

.co-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.co-step { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-mute); }
.co-step b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-3); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.co-step.is-active { color: var(--ink); font-weight: 600; }
.co-step.is-active b { background: var(--ink); color: var(--on-dark); }
.co-step-sep { width: 22px; height: 1px; background: var(--line-2); }

.co-grid { display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .co-grid { grid-template-columns: 1.25fr .75fr; } }
@media (min-width: 940px) { .co-summary { position: sticky; top: 24px; } }

.co-block { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.co-block:last-child { border-bottom: 0; }
.co-block > h2 { font-size: 1.22rem; margin-bottom: 6px; }
.co-block > .co-hint { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 18px; }

/* כרטיס בחירה גנרי (אספקה / תשלום) */
.pick { display: grid; gap: 10px; }
.pick-opt {
  display: flex; align-items: flex-start; gap: 13px; padding: 15px 17px;
  border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pick-opt:hover { border-color: var(--ink-mute); }
.pick-opt.is-selected { border-color: var(--ink); background: var(--cream-2); }
.pick-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pick-radio {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  border: 1.8px solid var(--line-2); display: grid; place-items: center;
}
.pick-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink); transform: scale(0); transition: transform .2s var(--ease); }
.pick-opt.is-selected .pick-radio { border-color: var(--ink); }
.pick-opt.is-selected .pick-radio::after { transform: scale(1); }
.pick-body { flex: 1; min-width: 0; }
.pick-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pick-row b { font-size: 15px; font-weight: 600; }
.pick-price { margin-inline-start: auto; font-size: 14px; font-weight: 700; }
.pick-price--free { color: #47713A; }
.pick-detail { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }
.pick-note { font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; }
.pick-logos { display: flex; gap: 6px; margin-inline-start: auto; }
.pick-logos svg { height: 22px; width: auto; }

/* פאנל שנפתח מתחת לאפשרות נבחרת */
.pick-panel { padding: 16px 17px 4px; border-radius: var(--r-md); background: var(--cream-2); margin-top: -2px; }
.pick-panel[hidden] { display: none; }

/* סיכום הזמנה */
.co-summary-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--cream); overflow: hidden; }
.co-summary-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.co-summary-head h2 { font-size: 1.1rem; }
.co-items { padding: 18px 20px; display: grid; gap: 16px; }
.co-item { display: flex; gap: 13px; }
.co-item-img { position: relative; flex: 0 0 62px; aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; background: var(--cream-3); }
.co-item-img img { width: 100%; height: 100%; object-fit: contain; background: var(--cream-2); }
.co-item-qty {
  position: absolute; inset-block-start: -6px; inset-inline-end: -6px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: var(--on-dark); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.co-item-body { flex: 1; min-width: 0; }
.co-item-body h3 { font-size: 14.5px; margin-bottom: 2px; }
.co-item-body p { font-size: 12.5px; color: var(--ink-mute); }
.co-item-price { font-size: 14px; font-weight: 700; white-space: nowrap; }

.co-coupon { display: flex; gap: 8px; padding: 0 20px 18px; }
.co-coupon .field { padding: 11px 16px; font-size: 14.5px; }
.co-coupon .btn { padding: 11px 20px; font-size: 14.5px; }
.co-coupon-msg { padding: 0 20px 14px; font-size: 13px; }
.co-coupon-msg.ok { color: #47713A; }
.co-coupon-msg.err { color: #B4402B; }

.co-totals { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.co-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.co-line span:first-child { color: var(--ink-soft); }
.co-line--discount span:last-child { color: #47713A; }
.co-line--total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.co-line--total span:last-child { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; }
.co-vat { font-size: 12px; color: var(--ink-mute); }

.co-trust { padding: 16px 20px; background: var(--cream-2); display: grid; gap: 10px; }
.co-trust li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-soft); }
.co-trust svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

/* פס הודעה (דמו / שגיאה) */
.notice {
  display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px;
  border-radius: var(--r-md); font-size: 13.5px; margin-bottom: 26px;
}
.notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.notice--warn { background: var(--accent-soft); color: #8F4A16; }
.notice--info { background: var(--cream-2); color: var(--ink-soft); }

/* מצייני שדה חובה / שגיאה */
.field.is-invalid { border-color: #C0553C; background: #FDF4F1; }
.field-err { font-size: 12.5px; color: #B4402B; margin-top: 6px; }
.field-err[hidden] { display: none; }
.req { color: #B4402B; }

/* פס התקדמות למשלוח חינם */
.ship-bar { padding: 14px 20px; border-top: 1px solid var(--line); }
.ship-bar-txt { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.ship-bar-track { height: 6px; border-radius: 999px; background: var(--cream-3); overflow: hidden; }
.ship-bar-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width .4s var(--ease); }

/* ---------- 24. WhatsApp floating button ---------- */
.wa-float {
  position: fixed; z-index: 95;
  inset-block-end: 22px; inset-inline-start: 22px;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 999px;
  background: #25D366; color: #fff; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 6px 22px rgba(37,211,102,.38);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,.46); }
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.wa-float .wa-label { display: none; }
@media (min-width: 900px) { .wa-float .wa-label { display: inline; } }
@media (max-width: 979px) { .wa-float { inset-block-end: 84px; padding: 13px; } }

/* ---------- 25. Reviews ---------- */
.rating { display: inline-flex; align-items: center; gap: 7px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; color: #F5C518; }
.rating-txt { font-size: 13.5px; color: var(--ink-soft); }
.rating-txt a { text-decoration: underline; }

/* ---------- 26. Fit helper ---------- */
.fit-box { margin-top: 26px; padding: 18px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-md); }
.fit-box h3 { font-size: 1rem; margin-bottom: 4px; }
.fit-box p { font-size: 13.5px; color: var(--ink-soft); }
.fit-row { display: flex; gap: 10px; margin-top: 13px; flex-wrap: wrap; }
.fit-row .field { flex: 1 1 120px; padding: 11px 16px; font-size: 14.5px; }
.fit-result { margin-top: 12px; font-size: 14px; font-weight: 600; }
.fit-result.ok { color: #47713A; }
.fit-result.no { color: #B4402B; }

/* ---------- 27. מתג שפה ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--cream-3); }
.lang-btn {
  min-width: 34px; padding: 5px 10px; border: 0; border-radius: 999px;
  background: transparent; font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.site-footer .lang-switch { background: rgba(247,242,233,.1); }
.site-footer .lang-btn { color: rgba(247,242,233,.72); }
.site-footer .lang-btn[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }

/* ---------- 28. גלריה / תצוגת 360° ---------- */
/* התמונות נשמרות ביחס המקורי שלהן: contain על רקע רך, כך שהספה
   לעולם לא נחתכת ולא נמתחת — גם כשיחסי המקור שונים בין הגוונים. */
.gallery-main { background: var(--cream-2); cursor: zoom-in; }
.gallery-main img { object-fit: contain; }
.thumb img { object-fit: contain; background: var(--cream-2); }
.card-media img { object-fit: contain; background: var(--cream-2); }
.swatch-card img { object-fit: contain; background: var(--cream-2); }
.split-media img { object-fit: contain; background: var(--cream-2); }

.gallery-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.gtab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.gtab svg { width: 17px; height: 17px; }
.gtab:hover { border-color: var(--ink-mute); color: var(--ink); }
.gtab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.spin-stage {
  position: relative; aspect-ratio: 1200 / 580; border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream-2); box-shadow: var(--sh-1);
  cursor: grab; user-select: none; -webkit-user-select: none;
  /* גרירה אנכית ממשיכה לגלול את העמוד; רק גרירה אופקית מסובבת */
  touch-action: pan-y;
}
.spin-stage.is-dragging { cursor: grabbing; }
.spin-stage:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.spin-track { position: absolute; inset: 0; transition: transform .18s var(--ease); transform-origin: center; }
.spin-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .12s linear;
  pointer-events: none; -webkit-user-drag: none;
}
.spin-frame.is-active { opacity: 1; }

.spin-loading {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; gap: 12px;
  align-content: center; background: var(--cream-2); color: var(--ink-soft); font-size: 14px;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.spin-loading.is-hidden { opacity: 0; visibility: hidden; }
.spin-spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--line-2); border-top-color: var(--ink);
  animation: spin-rot .8s linear infinite;
}
@keyframes spin-rot { to { transform: rotate(360deg); } }

.spin-hint {
  position: absolute; z-index: 2; inset-block-end: 14px; inset-inline-start: 50%;
  transform: translateX(50%);
  padding: 7px 15px; border-radius: 999px; background: rgba(30,27,23,.72); color: #fff;
  font-size: 12.5px; pointer-events: none; transition: opacity .3s var(--ease);
}
[dir="ltr"] .spin-hint { transform: translateX(-50%); }
.spin-hint.is-hidden { opacity: 0; }

.spin-bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.spin-btn {
  min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.spin-btn:hover { border-color: var(--ink); color: var(--ink); }
.spin-label { margin-inline-start: auto; font-size: 13.5px; color: var(--ink-mute); }

/* תרשים מידות בלשונית המפרט */
.size-chart { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--cream-2); }
.size-chart img { width: 100%; height: auto; display: block; }
.size-chart figcaption { padding: 10px 14px; font-size: 13px; color: var(--ink-mute); }

@media (max-width: 640px) {
  .spin-stage { aspect-ratio: 1200 / 620; }
  .spin-btn { min-width: 44px; height: 44px; }   /* יעד מגע נוח */
  .gtab { padding: 11px 16px; }
}

/* ---------- 29. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   שיפורי המרה (ניתוח מתחרים) — תגיות, דירוג, תצוגה מהירה,
   סקשן טכנולוגיה והשוואת גודל. הכול logical properties כדי
   שה-RTL יתהפך נכון בלי כללים כפולים.
   ============================================================ */

body.no-scroll { overflow: hidden; }

/* --- תגיות מאפיין על הכרטיס --- */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--cream-2);
  font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2);
}

/* --- דירוג כוכבים (מוצג רק כשיש ביקורות אמיתיות) --- */
.rating { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13.5px; }
.stars { display: inline-flex; gap: 1px; letter-spacing: 1px; }
.star { color: var(--line-2); font-size: 15px; line-height: 1; }
.star.is-on { color: #D99A2B; }
.rating b { font-weight: 700; }
.rating-count { color: var(--ink-mute); }

/* --- חיסכון לצד המחיר --- */
.price-save {
  margin-inline-start: 8px; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: #8F4A16;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}

/* --- כפתור תצוגה מהירה --- */
.card { position: relative; }
.qv-open {
  position: absolute; inset-inline: 14px; top: calc(50% - 60px);
  z-index: 3; padding: 11px 16px; border: 0; border-radius: 999px;
  background: rgba(251,248,243,.94); color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  box-shadow: var(--sh-2);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.card:hover .qv-open, .card:focus-within .qv-open { opacity: 1; transform: none; pointer-events: auto; }
.qv-open:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: none) { .qv-open { display: none; } }

/* --- מודאל התצוגה המהירה --- */
.qv {
  position: fixed; inset: 0; z-index: 220; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(20,17,14,.62); backdrop-filter: blur(3px);
}
.qv.is-open { display: flex; }
.qv-panel {
  position: relative; width: min(880px, 100%); max-height: 88vh; overflow: auto;
  display: grid; gap: clamp(18px, 3vw, 30px); grid-template-columns: 1fr;
  padding: clamp(20px, 3vw, 30px);
  background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--sh-3);
}
@media (min-width: 760px) { .qv-panel { grid-template-columns: 42% 1fr; align-items: start; } }
.qv-close {
  position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--cream-2); cursor: pointer;
}
.qv-close svg { width: 19px; height: 19px; }
.qv-media { border-radius: var(--r-md); overflow: hidden; background: var(--cream-2); }
.qv-media img { width: 100%; aspect-ratio: 4/5; object-fit: contain; background: var(--cream-2); }
.qv-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.qv-body .card-tagline { margin-top: 4px; }
.qv-colors { display: flex; gap: 10px; margin-top: 18px; }
.qv-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.qv-link { display: inline-block; margin-top: 14px; font-size: 14px; text-decoration: underline; color: var(--ink-soft); }

/* --- סקשן הטכנולוגיה --- */
.why-grid { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: 1fr; }
@media (min-width: 820px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--cream-2);
}
.why-card h3 { margin: 16px 0 10px; font-size: 1.22rem; }
.why-card p { color: var(--ink-soft); font-size: 15.5px; }

/* --- השוואת גודל --- */
.size-block {
  display: grid; gap: clamp(20px, 3vw, 34px); align-items: center;
  margin-top: clamp(34px, 4vw, 54px); padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--cream);
}
/* הכיתוב והטבלה יושבים זה מעל זה בעמודה אחת, והתמונה נפרסת על שתי
   השורות שלצידם. בלי זה עמודת הכיתוב נשארה ריקה כמעט לכל גובהה.
   display:contents מפרק את מיכל הביניים כדי שהתמונה והטבלה יהפכו
   בעצמן לפריטי הרשת. */
.size-block { align-items: start; }
@media (min-width: 900px) {
  .size-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "copy photo" "table photo";
    align-content: start;
  }
  .size-block > [data-size-compare] { display: contents; }
  .size-block .size-copy    { grid-area: copy; }
  .size-block .size-photo   { grid-area: photo; align-self: center; margin: 0; }
  .size-block .size-compare { grid-area: table; }
}
.size-block .h3 { margin-top: 4px; }
.size-block .form-note { margin-top: 12px; }
.size-compare { width: 100%; font-size: 15px; }
.size-compare th, .size-compare td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); }
.size-compare thead th {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); border-bottom-color: var(--line-2);
}
.size-compare tbody th { font-weight: 600; color: var(--ink-soft); }
.size-compare tbody td { font-weight: 600; }
.size-compare tr:last-child th, .size-compare tr:last-child td { border-bottom: 0; }
.size-compare thead th:nth-child(3), .size-compare tbody td:nth-child(3) { color: var(--accent); }
/* --- תצלום־על בסקשן המידות --- */
/* .size-shot הישן הוסר: aspect-ratio 1/1 כפה ריבוע על שרטוט ביחס 1.29,
   ומשם הגיעו 110 הפיקסלים של חלל מת. הכלל הפעיל נמצא בהמשך הקובץ. */

/* --- באנר אווירה --- */
.life-band {
  display: grid; gap: clamp(20px, 3vw, 38px); align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--cream-2); overflow: hidden;
}
@media (min-width: 900px) { .life-band { grid-template-columns: 1.15fr 1fr; } }
.life-media { background: var(--cream-3); aspect-ratio: 1 / 1; }
.life-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.life-copy { padding: clamp(24px, 3vw, 46px); }
.life-copy .btn { margin-top: clamp(20px, 2.4vw, 30px); }
@media (min-width: 900px) { .life-copy { padding-inline-start: 0; } }
/* --- Placeholder לתמונה שעדיין לא הועלתה ---
   מופיע במקום תמונה שבורה ומציג את שם הקובץ שחסר. */
.img-missing {
  position: absolute; inset: 0; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--cream-2) 0 10px, var(--cream-3) 10px 20px);
  color: var(--ink-mute);
}
.img-missing svg { width: 30px; height: 30px; opacity: .55; }
.img-missing code {
  font-size: 11.5px; line-height: 1.4; word-break: break-all;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(251,248,243,.86); color: var(--ink-soft);
}
/* מיכלים ללא position משלהם צריכים אותו כדי שה-placeholder ימלא אותם */
.size-shot, .life-media, .qv-media, .swatch-card, .step-media { position: relative; }
.has-missing { min-height: 120px; }
/* --- פס בד ---
   המקור ביחס 3:1 בדיוק וגם המסגרת, ולכן contain ממלא אותה
   לגמרי: בלי חיתוך ובלי פסים בצדדים. */
.fabric-band {
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3 / 1; background: var(--cream-2);
  box-shadow: var(--sh-1); position: relative;
}
.fabric-band img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* --- קרוסלת הבד ---
   המקורות ביחס 3:1 בדיוק, וכך גם השקופית, ולכן contain ממלא
   אותה לגמרי: בלי חיתוך ובלי פסים. */
.fab-head { margin: clamp(30px, 3.6vw, 46px) 0 16px; }
.fab-head .form-note { margin-top: 6px; max-width: 62ch; }

.fabric-band { position: relative; }
.fab-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
}
.fab-track::-webkit-scrollbar { display: none; }
.fab-slide {
  flex: 0 0 100%; margin: 0; scroll-snap-align: center;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream-2); box-shadow: var(--sh-1); position: relative;
}
.fab-slide img { width: 100%; aspect-ratio: 3 / 1; object-fit: contain; display: block; }
.fab-slide figcaption {
  position: absolute; inset-inline-start: 16px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(251,248,243,.92); font-size: 13.5px; font-weight: 700;
}
.fab-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(251,248,243,.94); box-shadow: var(--sh-2); color: var(--ink);
}
.fab-nav svg { width: 20px; height: 20px; }
.fab-nav--prev { inset-inline-start: 12px; }
.fab-nav--next { inset-inline-end: 12px; }
.fab-nav--next svg { transform: scaleX(-1); }
[dir="ltr"] .fab-nav--prev svg { transform: scaleX(-1); }
[dir="ltr"] .fab-nav--next svg { transform: none; }
.fab-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.fab-dot {
  width: 30px; height: 30px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--line-2); background: transparent; display: grid; place-items: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.fab-dot i { width: 20px; height: 20px; border-radius: 50%; display: block; }
.fab-dot[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.08); }

/* --- פס הבד בכרטיס הגוון ובעמוד המוצר --- */
.swatch-fabric {
  width: 100%; aspect-ratio: 3 / 1; object-fit: contain;
  background: var(--cream-2); display: block; border-top: 1px solid var(--line);
}
.pdp-fabric { margin: 14px 0 0; position: relative; }
.pdp-fabric img {
  width: 100%; aspect-ratio: 3 / 1; object-fit: contain;
  border-radius: var(--r-sm); background: var(--cream-2); display: block;
}
.pdp-fabric figcaption { margin-top: 7px; font-size: 13px; color: var(--ink-mute); }

/* --- שרטוט המידות בעמוד המוצר --- */
.size-shot { margin: 22px 0 0; padding: 18px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--cream); }
.size-shot h2 { font-size: 1.1rem; margin-bottom: 12px; }
.size-shot img { width: 100%; height: auto; object-fit: contain; display: block; }
/* --- הצילום שמלווה את בלוק המידות --- */
.size-photo { margin: 0 0 18px; border-radius: var(--r-md); overflow: hidden;
  background: var(--cream-2); position: relative; }
.size-photo img { width: auto; max-width: 100%; max-height: 440px; height: auto;
  object-fit: contain; display: block; margin-inline: auto; }
/* ---------- 21. Legal pages ---------- */
/* עמודת טקסט צרה בכוונה. שורה ארוכה במסמך משפטי היא שורה שלא נקראת. */
.legal { max-width: 74ch; margin-inline: auto; font-size: 15.6px; color: var(--ink-soft); }
.legal-updated { font-size: 13.5px; color: var(--ink-mute); margin: 0 0 22px; }

.legal-warn {
  background: #FFF6E0; border: 1px solid #E9D08C; border-radius: var(--r-md);
  padding: 16px 18px; margin-bottom: 30px; color: #6B4E12;
}
.legal-warn strong { display: block; font-size: 15px; margin-bottom: 4px; }
.legal-warn p { margin: 0; font-size: 14.2px; }

.legal-toc {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 40px;
}
.legal-toc ol { margin: 0; padding-inline-start: 20px; columns: 2; column-gap: 30px; }
@media (max-width: 700px) { .legal-toc ol { columns: 1; } }
.legal-toc li { margin-bottom: 7px; break-inside: avoid; font-size: 14.5px; }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }

/* scroll-margin כדי שקישור עוגן לא יסתיר את הכותרת מתחת לכותרת הדביקה */
.legal-sec { margin-bottom: 38px; scroll-margin-top: 90px; }
.legal-sec h2 { margin: 0 0 12px; color: var(--ink); }
.legal-sub { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.legal-sec p { margin: 0 0 11px; line-height: 1.75; }

/* שדה שטרם הושלם. חייב להיות בולט — תקנון עם חור באמצע שפורסם
   בטעות הוא בעיה משפטית, לא בעיה ויזואלית. */
.legal-todo {
  background: #FFE9A8; color: #6B4E12; padding: 1px 6px;
  border-radius: 4px; font-weight: 600; box-decoration-break: clone;
}

/* ---------- 22. Reviews & star ratings ---------- */
/* שתי שכבות כוכבים זו על זו. השכבה המלאה נחתכת ברוחב באחוזים,
   ולכן 4.5 מצויר כחצי כוכב ולא מעוגל. inset-inline-start ולא left,
   כדי שהמילוי יתחיל מהצד הנכון גם ב-RTL וגם ב-LTR. */
.stars2 { position: relative; display: inline-block; line-height: 0; direction: ltr; }
.stars2-bg, .stars2-fg { display: flex; gap: 2px; }
.stars2-bg { color: var(--line-2); }
.stars2-fg {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  overflow: hidden; color: #F5C518;
}
/* flex-shrink: 0 הוא הליבה כאן. שכבת המילוי היא מיכל flex ברוחב מוגבל
   באחוזים, וכוכב שמותר לו להתכווץ פשוט נדחס — במקום שהשכבה תיחתך
   באמצע הכוכב. בלי השורה הזו חמשת הכוכבים עולים זה על זה. */
.stars2 .star {
  display: inline-flex; flex: 0 0 auto;
  /* color: inherit גובר על .star { color: var(--line-2) } מהדירוג הישן.
     הצהרת צבע מפורשת על האלמנט מנצחת ירושה מההורה, ולכן בלי זה
     ה-SVG מקבל אפור גם כששכבת המילוי צהובה. */
  color: inherit;
}
.stars2 svg { width: 17px; height: 17px; fill: currentColor; display: block; }

.rev-summary {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 14px; font-size: 15px;
}
.rev-summary b { font-size: 18px; }
/* .rev-count ולא span: שכבת הכוכבים המלאה היא גם span,
   וסלקטור על האלמנט גבר על הצבע שלה והופך אותה לאפורה. */
.rev-summary .rev-count { color: var(--ink-mute); font-size: 14px; }
.rev-nodata, .rev-thanks {
  font-size: 14.5px; color: var(--ink-mute); margin-top: 14px; text-align: center;
}
.rev-thanks {
  background: #EAF5EC; border: 1px solid #BFDCC6; color: #2E5C39;
  border-radius: var(--r-md); padding: 16px 20px; max-width: 620px;
  margin-inline: auto; margin-top: 34px;
}

.tcard-stars { margin-bottom: 12px; }
/* כרטיס לדוגמה — מסומן בבירור. הכרטיס עצמו עמום מעט כדי שההבדל
   בין ביקורת אמיתית לדוגמה יהיה ברור גם במבט חטוף. */
.tcard--demo { opacity: .82; border-style: dashed; }
.ph-tag {
  align-self: flex-start; background: #FFE9A8; color: #6B4E12;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 99px; margin-bottom: 12px;
}

/* ---------- טופס הוספת ביקורת ---------- */
.rev-form {
  max-width: 620px; margin: 40px auto 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
}
.section--cream .rev-form { background: var(--cream-2, #fff); }
.rev-form h3 { margin: 0 0 6px; }
.rev-form-sub { margin: 0 0 22px; font-size: 14px; color: var(--ink-mute); }
.rev-rate { border: 0; padding: 0; margin: 0 0 18px; }
.rev-rate legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }

/* בורר הכוכבים. הכוכבים מרונדרים מ-5 ל-1, ולכן ~ תופס את כל
   הכוכבים שאחרי הנבחר בקוד — כלומר אלה שלפניו ויזואלית. */
.rev-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rev-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.rev-stars label { cursor: pointer; line-height: 0; color: var(--line-2); transition: color .12s; }
.rev-stars svg { width: 30px; height: 30px; fill: currentColor; display: block; }
.rev-stars label.is-on,
.rev-stars label.is-hot { color: #F5C518; }
.rev-stars input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.rev-form .btn { margin-top: 8px; }
.rev-form .form-note { margin-top: 12px; }

/* =============================================================
   עמוד מוצר — שיפורי תצוגה (העיצוב המקורי נשמר)
   ============================================================= */
/* פחות רווח ריק מעל הגלריה — יותר מהתמונה נראה במסך הראשון */
.page-head--pdp { padding-block: 14px 0; }
.page-head--pdp .crumbs { margin-bottom: 4px; }

/* העמודות לא מתרחבות מעבר למסך בגלל שורת התמונות הקטנות —
   השורה נגללת בתוך העמודה, כמו שתוכננה */
.pdp { grid-template-columns: minmax(0, 1fr); }

/* ---------- אזור המוצר — לפי המפרט ----------
   1630px מסך → 1320px תוכן: תמונה ראשית 565×700 (≈42% מרוחב התוכן),
   טור תמונות ממוזערות 76px משמאלה (רווח 20px), ופרטי המוצר מימין
   (רווח 40px). התמונה מוצגת במלואה (contain) על רקע בהיר. */
.pdp-gallery .gallery-main {
  border-radius: 12px; background: var(--cream-2); aspect-ratio: 565 / 700;
}
.pdp-gallery .gallery-main img { object-fit: contain; }

@media (min-width: 980px) {
  /* התמונות בעמודה הראשונה: בעברית (RTL) היא מימין, באנגלית (LTR)
     משמאל — הכיוון מתהפך לבד עם שפת העמוד. פרטי המוצר בעמודה השנייה. */
  .pdp {
    grid-template-columns: calc(42.8% + 96px) minmax(0, 1fr);
    column-gap: 40px;
  }
  /* שורה 1: התמונות. שורה 2: המידע הנוסף, מתחת לתמונות — ממלא את
     החלל שליד האספקה ו"האם זה ייכנס". פרטי המוצר לאורך שתי השורות. */
  .pdp { grid-template-rows: auto 1fr; row-gap: 0; }
  .pdp-gallery { grid-column: 1; grid-row: 1; }
  .pdp-info    { grid-column: 2; grid-row: 1 / span 2; }
  .pdp-more    { grid-column: 1; grid-row: 2; align-self: start; }

  /* בתוך אזור התמונות: הטור הממוזער בצד החיצוני, התמונה הראשית
     פונה אל פרטי המוצר */
  #galleryPhotos {
    display: grid; align-items: start; column-gap: 20px;
    grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "thumbs main";
  }
  #galleryPhotos .gallery-main { grid-area: main; }
  #galleryPhotos .thumbs {
    grid-area: thumbs; flex-direction: column; gap: 10px; margin: 0; padding: 0;
    overflow-x: hidden; overflow-y: auto; scrollbar-width: thin;
    /* גובה הטור = גובה התמונה הראשית */
    max-height: calc((min(var(--wrap), 100vw - 48px) * .428) * 700 / 565);
  }
  #galleryPhotos .thumb { flex: 0 0 auto; width: 76px; }

  /* עמודת הפרטים: מרווחים קומפקטיים כדי שכפתור ההוספה לסל יופיע
     במסך הראשון */
  .pdp-info { top: calc(var(--header-h) + 16px); }
  .pdp-info .pdp-price { margin-top: 14px; }
  .pdp-info .pdp-desc  { margin-top: 14px; }
  .pdp-info .opt-block { margin-top: 22px; }
  .pdp-info .qty-row   { margin-top: 22px; }
}

/* פס הבד ליד נקודות הצבע — פס דק במקום מלבן גבוה, הוא מראה מרקם
   ולא צריך יותר. מרווח זהה בכל המסכים. */
.pdp-info .pdp-fabric { margin-top: 12px; }
.pdp-info .pdp-fabric img { aspect-ratio: auto; height: 84px; object-fit: cover; }
.pdp-info .pdp-fabric figcaption { margin-top: 5px; }

/* display:grid גובר על hidden — מחזירים את ההסתרה במעבר לתצוגת 3D */
#galleryPhotos[hidden] { display: none !important; }

/* התפריט והעגלה הסגורים יושבים מחוץ למסך. בלי זה, כרום באנדרואיד
   מקטין את כל העמוד כדי להכיל אותם. */
html, body { overflow-x: clip; }

/* =============================================================
   חלון "נוסף לסל" — נבנה על חלון התצוגה המהירה (.qv), כך שהמראה זהה:
   תמונה גדולה בצד אחד, פרטים בצד השני, כפתור סגירה עגול ורקע מטושטש.
   כאן רק מה שייחודי לתוכן שלו.
   ============================================================= */
.qv--added .qv-panel { animation: qv-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes qv-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
/* בטלפון התמונה קטנה יותר, כדי שהכפתורים יופיעו בלי לגלול */
@media (max-width: 759px) {
  .qv--added .qv-media img { aspect-ratio: auto; height: min(34vh, 300px); }
}
.added-status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #3F6B32;
}
.added-check {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: #E3EDDC; color: #3F6B32;
}
.added-check svg { width: 14px; height: 14px; }
.qv--added.is-open .added-check { animation: added-pop .45s cubic-bezier(.2,.9,.3,1.4) .1s both; }
@keyframes added-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.added-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin-top: 14px; font-size: 14px; color: var(--ink-soft);
}
.added-item-color { display: inline-flex; align-items: center; gap: 7px; }
.added-item-color i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.added-sum { font-size: 14px; color: var(--ink-soft); }
.added-sum small { color: var(--ink-mute); font-size: 13px; }
.added-sum b { color: var(--ink); margin-inline-start: 4px; }

.added-actions { display: grid; gap: 10px; margin-top: 18px; }
.added-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.added-go svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.added-go:hover svg { transform: translateX(-3px); }
[dir="ltr"] .added-go:hover svg { transform: translateX(3px); }
.added-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.added-actions-row .btn { padding-inline: 10px; font-size: 14.5px; }
.added-trust { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--ink-mute); }

.added-recs { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.added-recs h3 { font-size: 15px; margin: 0 0 10px; color: var(--ink); }
.added-rec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.added-rec {
  display: grid; gap: 5px; padding: 5px 5px 8px; border-radius: 12px; font-size: 13px; color: var(--ink);
  transition: background .2s var(--ease);
}
.added-rec:hover { background: var(--cream-2); }
.added-rec-img { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.added-rec-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.added-rec-name { font-weight: 600; line-height: 1.3; padding-inline: 2px; }
.added-rec-price { color: var(--ink-soft); padding-inline: 2px; }
@media (prefers-reduced-motion: reduce) {
  .qv--added .qv-panel, .qv--added.is-open .added-check { animation: none; }
}

/* שורת המידות מתחת לשם המוצר */
.pdp-dims {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  margin: 14px 0 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--cream-2); font-size: 14px; color: var(--ink-soft);
}
.pdp-dims svg { width: 22px; height: 22px; color: var(--ink-soft); }
.pdp-dims div { display: inline-flex; gap: 5px; align-items: baseline; }
.pdp-dims dt { color: var(--ink-mute); font-size: 13px; }
.pdp-dims dd { margin: 0; font-weight: 700; color: var(--ink); font-size: 15px; }
.pdp-dims-unit { color: var(--ink-mute); font-size: 13px; }

/* מוצרים נוספים בעמוד המוצר — קרוב לאזור המוצר */
.pdp-related { padding-top: clamp(36px, 5vw, 64px); }

/* =============================================================
   מידע נוסף בעמוד המוצר — כותרות שנפתחות בלחיצה (details/summary)
   ============================================================= */
.pdp-more { margin-top: clamp(40px, 5vw, 64px); max-width: 860px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font-family: var(--font-display, inherit); font-size: 1.15rem; font-weight: 600; color: var(--ink);
}
.acc-head::-webkit-details-marker { display: none; }
.acc-head::after {
  content: ""; flex-shrink: 0; width: 11px; height: 11px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease);
}
.acc[open] > .acc-head::after { transform: translateY(2px) rotate(-135deg); }
.acc-head:hover { color: var(--ink-soft); }
.acc-head:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.acc-body { padding: 0 2px 26px; color: var(--ink-soft); }
.acc-body p + p { margin-top: 15px; }
.acc-body h4 { font-family: var(--font-body); font-weight: 700; font-size: 15.5px; color: var(--ink); margin: 20px 0 8px; }
.acc-body h4:first-of-type { margin-top: 4px; }
.acc-lede { margin-bottom: 16px; }
.acc[open] > .acc-body { animation: acc-in .3s var(--ease); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acc[open] > .acc-body { animation: none; } .acc-head::after { transition: none; } }

/* בזמן החלפת שפה העגלה והתפריט קופצים לצד השני בלי לחצות את המסך */
.dir-switching .drawer, .dir-switching .nav { transition: none !important; }

/* המידע הנוסף בתוך אזור המוצר — קומפקטי יותר */
.pdp-more { margin-top: 8px; max-width: none; }
.pdp .acc-head { padding: 15px 2px; font-size: 1.02rem; }
.pdp .acc-body { padding-bottom: 20px; font-size: 15px; }
@media (min-width: 980px) { .pdp-more { margin-top: 24px; } }
/* בטלפון: אחרי פרטי המוצר, עם רווח */
@media (max-width: 979px) { .pdp-more { margin-top: 12px; } }

/* פיצוי על שורת המידות — כפתור ההוספה לסל נשאר במסך הראשון */
@media (min-width: 980px) {
  .pdp-info .pdp-dims { margin-top: 10px; padding: 7px 12px; }
  .pdp-info .stock-line { margin-top: 12px; }
  .pdp-info .opt-block { margin-top: 18px; }
  .pdp-info .qty-row { margin-top: 16px; }
  .pdp-info .pdp-fabric img { height: 68px; }
}

/* שורת המידות — תומכת בכמה פריטים (כורסה + הדום) */
.pdp-dims { align-items: flex-start; flex-wrap: nowrap; gap: 12px; }
.pdp-dims > svg { margin-top: 1px; flex-shrink: 0; }
.pdp-dims-rows { display: grid; gap: 4px; }
.pdp-dims-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; }
.pdp-dims-name { min-width: 46px; font-weight: 600; color: var(--ink-soft); font-size: 13.5px; }
.pdp-dims .pdp-dims-rows { display: grid; gap: 3px; }
.pdp-dims .pdp-dims-row div { display: inline-flex; gap: 5px; align-items: baseline; }
@media (min-width: 980px) {
  .pdp-info .pdp-title { font-size: clamp(1.9rem, 3vw, 2.5rem); }
  .pdp-info .pdp-price { margin-top: 10px; }
  .pdp-info .pdp-desc { margin-top: 10px; }
}
@media (min-width: 980px) {
  .pdp-info .stock-line { margin-top: 8px; }
  .pdp-info .pdp-dims { margin-top: 8px; }
}

/* =============================================================
   מידות — מינימליסטי, באותה שפה של בחירת הגוון: כותרת קטנה,
   קווים דקים, בלי רקעים וצללים
   ============================================================= */
.pdp-dimbox { margin-top: 26px; }
.pdp-dimbox[hidden] { display: none; }
.pdp-dimbox .opt-head { margin-bottom: 4px; }
.dim-unit { color: var(--ink-mute); font-size: 13px; }
.dim-row {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.pdp-dimbox .opt-head + .dim-row { border-top: 1px solid var(--line); }
.dim-name { min-width: 52px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dim-vals { display: flex; flex-wrap: wrap; gap: 4px 18px; grid-column: auto; }
.dim-row:not(:has(.dim-name)) .dim-vals { grid-column: 1 / -1; }
.dim-v { display: inline-flex; align-items: baseline; gap: 6px; }
.dim-v b { font-size: 1.15rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dim-v small { font-size: 13px; color: var(--ink-mute); }
.dim-pkg {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  margin-top: 6px; font-size: 13px; color: var(--ink-soft);
}
.dim-row:has(.dim-name) .dim-pkg { padding-inline-start: calc(52px + 18px); }
.dim-pkg-label { color: var(--ink-mute); }
.dim-pkg-kg b { font-weight: 600; color: var(--ink); }
@media (max-width: 420px) {
  .dim-row { column-gap: 12px; }
  .dim-vals { gap: 4px 12px; }
  .dim-v b { font-size: 1.05rem; }
  .dim-row:has(.dim-name) .dim-pkg { padding-inline-start: 0; }
}

/* מידות בטבלת המפרט — כל מספר עם השם שלו */
.spec-dims { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.spec-dim { display: inline-flex; align-items: baseline; gap: 5px; }
.spec-dim small { font-size: 12.5px; color: var(--ink-mute); }
.spec-dim b { font-weight: 700; color: var(--ink); }
.spec-dim-unit { font-size: 12.5px; color: var(--ink-mute); }
.spec-dim-extra { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-soft); }
.qv--added .added-actions { margin-top: 14px; }
.qv--added .added-recs { margin-top: 16px; padding-top: 14px; }
.qv--added .added-meta { margin-top: 10px; }
/* בטלפון הכפתור עגול בלבד — סמל קצת גדול יותר */
@media (max-width: 979px) { .wa-float svg { width: 25px; height: 25px; } .wa-float { padding: 12px; } }

/* כפתור וואטסאפ — יחס מאוזן בין הסמל לכיתוב: הסמל כ-1.2 מגובה
   הטקסט, רווח קטן ביניהם, וריפוד מעט קטן יותר בצד של הסמל */
@media (min-width: 900px) {
  .wa-float { gap: 8px; padding-block: 12px; padding-inline: 14px 19px; font-size: 15px; line-height: 1; }
  .wa-float svg { width: 18px; height: 18px; }
  .wa-float .wa-label { line-height: 1; padding-top: 1px; }
}

/* =============================================================
   ביקורות לקוחות בעמוד המוצר
   ============================================================= */
.pdp-reviews { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.prev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.prev-head .h2 { margin-top: 6px; }
.prev-head .rev-summary { margin-top: 12px; }
.prev-form-wrap { margin-bottom: 28px; }
.prev-form-wrap[hidden] { display: none; }
.prev-form { max-width: 720px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.prev-opt { color: var(--ink-mute); font-weight: 400; }
.prev-drop { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.prev-add {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 112px; min-height: 112px; padding: 10px; border: 1.5px dashed var(--line-2); border-radius: 14px;
  background: var(--cream-2); color: var(--ink-soft); font-size: 12.5px; text-align: center; cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.prev-add:hover { border-color: var(--ink); color: var(--ink); }
.prev-add svg { width: 26px; height: 26px; }
#prevFiles:focus-visible + .prev-add { outline: 2px solid var(--ink); outline-offset: 2px; }
.prev-picked { display: contents; }
.prev-chip { position: relative; width: 112px; height: 112px; border-radius: 14px; overflow: hidden; background: var(--cream-2); }
.prev-chip img, .prev-chip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.prev-chip button {
  position: absolute; top: 6px; inset-inline-end: 6px; width: 26px; height: 26px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(30,27,23,.72); color: #fff; cursor: pointer;
}
.prev-chip button svg { width: 14px; height: 14px; }
.prev-hint { margin-top: 8px; font-size: 12.5px; color: var(--ink-mute); }

.prev-list { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .prev-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .prev-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prev-empty { color: var(--ink-soft); padding: 22px; border: 1px dashed var(--line-2); border-radius: var(--r-md); grid-column: 1 / -1; }
.prev-card {
  display: flex; flex-direction: column; gap: 12px; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.prev-card.is-new { animation: prev-new 1.4s var(--ease); }
@keyframes prev-new { 0% { box-shadow: 0 0 0 3px rgba(95,138,78,.45); } 100% { box-shadow: 0 0 0 0 rgba(95,138,78,0); } }
.prev-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prev-card-top time { font-size: 12.5px; color: var(--ink-mute); }
.prev-body { color: var(--ink-soft); line-height: 1.65; white-space: pre-line; }
.prev-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.prev-thumb {
  position: relative; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--cream-2); cursor: zoom-in;
}
.prev-thumb img, .prev-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.prev-thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.prev-play {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(30,27,23,.62); color: #fff; pointer-events: none;
}
.prev-play svg { width: 16px; height: 16px; margin-inline-start: 2px; }
[dir="rtl"] .prev-play svg { margin-inline-start: 0; margin-inline-end: 2px; transform: scaleX(1); }
.prev-author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.prev-avatar {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--cream-2); color: var(--ink); font-weight: 700;
}
.prev-author b { display: block; font-size: 14.5px; color: var(--ink); }
.prev-author small { display: block; font-size: 12.5px; color: var(--ink-mute); }

/* צפייה בתמונה/סרטון של ביקורת */
.prev-viewer {
  position: fixed; inset: 0; z-index: 240; display: none; align-items: center; justify-content: center;
  padding: 56px 16px; background: rgba(20,17,14,.9);
}
.prev-viewer.is-open { display: flex; }
.pv-stage { max-width: min(1000px, 100%); max-height: 100%; display: grid; place-items: center; }
.pv-stage img, .pv-stage video { max-width: 100%; max-height: calc(100svh - 112px); border-radius: 12px; display: block; background: #000; }
.pv-close, .pv-nav {
  position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(251,248,243,.14); color: #fff;
}
.pv-close { top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; }
.pv-close svg { width: 20px; height: 20px; }
.pv-nav { top: 50%; width: 46px; height: 46px; margin-top: -23px; font-size: 30px; line-height: 1; }
.pv-prev { inset-inline-start: 14px; }
.pv-next { inset-inline-end: 14px; }
.pv-close:hover, .pv-nav:hover { background: rgba(251,248,243,.26); }
.pv-count { position: absolute; bottom: 16px; inset-inline: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 13px; }

/* שדה מלכודת לספאם — מוסתר מבני אדם, בוטים ממלאים אותו */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* הסכמה לדיוור (חוק הספאם) */
.news-consent { flex: 1 1 100%; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: inherit; opacity: .85; text-align: start; }
.news-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; }
/* עמוד מצב הזמנה */
.order-view .co-sum { border-top: 1px solid var(--line); padding-top: 10px; }
.order-view .notice { display: block; }
