/* סבבה – עיצוב האתר (RTL) */
:root {
  --bg: #FBF7F0;
  --surface: #FFFFFF;
  --surface-2: #F3EDE2;
  --ink: #1E2128;
  --ink-2: #4A4F5A;
  --muted: #6B7180;
  --line: #E4DDD0;
  --brand: #24272D;
  --accent: #EEC83C;
  --accent-ink: #1E2128;
  --accent-2: #E2557A;
  --ok: #1F7A4D;
  --warn: #9A5B00;
  --error: #B42318;
  --focus: #0A58CA;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(30, 33, 40, .06), 0 8px 24px rgba(30, 33, 40, .07);
  --font: 'Rubik', 'Arial Hebrew', Arial, sans-serif;
  --maxw: 1180px;
  color-scheme: light;
}
html.hc { /* ניגודיות גבוהה */
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #FFFFFF; --ink: #000; --ink-2: #000; --muted: #222;
  --line: #000; --accent: #FFD400; --accent-2: #9E0038;
}
html.big-text { font-size: 118%; }
html.underline-links a { text-decoration: underline !important; }
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1rem; line-height: 1.6; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- כותרת ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.3rem; white-space: nowrap; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: var(--accent); font-size: 1.25rem; font-weight: 800; transform: rotate(-6deg); }
.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--ink-2); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent-2); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[data-n="0"] { display: none; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; }
  .main-nav { position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { padding: 12px; }
  .header-actions { margin-inline-start: auto; }
}

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(36, 39, 45, .25); }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #E3BA22; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding-inline: 4px; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 6px; }
.hero-visual { position: relative; aspect-ratio: 1 / .92; }
.hero-visual .blob { position: absolute; inset: 6% 4%; border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; background: radial-gradient(circle at 30% 30%, #FFE68A, var(--accent)); }
.hero-visual .card-img { position: absolute; width: 74%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .14)); }
.hero-visual .front { inset-inline-start: 0; top: 4%; transform: rotate(-4deg); }
.hero-visual .back { inset-inline-end: -2%; bottom: 0; transform: rotate(5deg); }
.hero-visual .tag { position: absolute; background: var(--surface); border-radius: 12px; padding: 8px 12px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow); }
.hero-visual .tag-front { top: 2%; inset-inline-end: 6%; }
.hero-visual .tag-back { bottom: 8%; inset-inline-start: 4%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* ---------- פסי תכונות ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); font-size: 1.3rem; margin-bottom: 10px; }
.feature h2, .feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

section { scroll-margin-top: 80px; }
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- גלריה ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.g-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.g-card figure { margin: 0; background: radial-gradient(circle at 50% 40%, #fff, var(--surface-2)); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.g-card figure img { width: 100%; height: 100%; object-fit: contain; }
.g-card .g-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.g-card .g-title { font-weight: 700; }
.g-card .g-meta { color: var(--muted); font-size: .9rem; flex: 1; }
.g-card .badge { align-self: flex-start; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.badge-accent { background: #FFF2C2; color: #6A5000; }
.disclaimer { color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* ---------- המעצב ---------- */
.designer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.preview-panel { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.preview-stage { position: relative; border-radius: var(--radius-sm); background:
  radial-gradient(circle at 50% 35%, #fff 0, #fff 30%, transparent 70%),
  repeating-linear-gradient(45deg, var(--surface-2) 0 10px, #F7F2E9 10px 20px); min-height: 230px; display: grid; place-items: center; padding: 18px; perspective: 900px; }
.flip { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; position: relative; display: grid; }
.flip.is-back { transform: rotateY(180deg); }
.flip .face { grid-area: 1 / 1; backface-visibility: hidden; display: grid; place-items: center; }
.flip .face.back { transform: rotateY(180deg); }
.flip svg { width: 100%; height: auto; max-height: 220px; overflow: visible; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.seg button { border: 0; background: transparent; font: inherit; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--ink-2); font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.dims { color: var(--muted); font-size: .9rem; }
.price-box { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 4px; }
.price-row { display: flex; justify-content: space-between; color: var(--ink-2); font-size: .95rem; }
.price-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 1.4rem; margin-top: 6px; }
.price-note { color: var(--muted); font-size: .82rem; }
.add-row { display: flex; gap: 10px; margin-top: 14px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty input { width: 42px; text-align: center; border: 0; font: inherit; font-weight: 700; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-row .btn { flex: 1; }
.added-msg { margin-top: 10px; color: var(--ok); font-weight: 600; min-height: 1.4em; }

.controls { display: grid; gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step > legend, .step-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; margin-bottom: 12px; padding: 0; }
fieldset.step { margin: 0; min-width: 0; }
fieldset.step > legend { float: right; width: 100%; }
fieldset.step > legend + * { clear: both; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--accent); display: grid; place-items: center; font-size: .85rem; flex: none; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.hint { color: var(--muted); font-size: .85rem; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink);
}
.input:hover { border-color: #C9C0B0; }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(10, 88, 202, .25); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input.name-input { font-size: 1.35rem; font-weight: 700; }
.err { color: var(--error); font-size: .88rem; min-height: 0; }
.counter { font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip small { font-weight: 400; opacity: .8; }

.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.font-opt > span { flex-direction: column; align-items: stretch; width: 100%; min-height: 70px; text-align: center; justify-content: center; }
.font-opt .sample { font-size: 1.35rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font-opt .fname { font-size: .78rem; font-weight: 500; opacity: .75; }
.font-opt .he-badge { font-size: .7rem; font-weight: 700; color: var(--ok); }
.font-opt input:checked + span .he-badge { color: #9EF0C2; }

.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.icon-opt > span { flex-direction: column; width: 100%; min-height: 84px; justify-content: center; font-size: .8rem; text-align: center; }
.icon-opt svg { width: 34px; height: 34px; }

.name-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer; }
.pick:hover { border-color: var(--ink-2); }
.pick[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.mat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mat-code { font-size: 1.9rem; font-weight: 900; letter-spacing: .02em; direction: ltr; }
.mat p { margin: 0; color: var(--ink-2); }
.mat-specs { margin: 0; display: grid; gap: 8px; }
.mat-specs > div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.mat-specs dt { color: var(--muted); font-size: .88rem; }
.mat-specs dd { margin: 0; font-weight: 600; font-size: .95rem; }
@media (max-width: 700px) { .materials { grid-template-columns: 1fr; } }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .15); cursor: pointer; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .15); }
.swatch input:checked + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.color-row { display: grid; gap: 8px; margin-bottom: 14px; }
.color-row:last-child { margin-bottom: 0; }
.color-row .label output { font-weight: 400; color: var(--muted); margin-inline-start: 6px; }

.switch-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: 15px; background: #C9C2B5; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { inset-inline-start: 25px; }
.switch input:focus-visible + .track { outline: 3px solid var(--focus); outline-offset: 2px; }
.back-fields { display: grid; gap: 12px; margin-top: 14px; }
.back-fields[hidden] { display: none; }
.callout { border-radius: 14px; padding: 12px 14px; background: #FFF6DB; border: 1px solid #F1DC94; color: #5A4500; font-size: .9rem; }
.callout-info { background: #EAF3FF; border-color: #BCD6F7; color: #123B6E; }

@media (max-width: 960px) {
  .designer { grid-template-columns: 1fr; }
  .preview-panel { position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 5; padding: 8px 12px 10px; border-radius: 0 0 var(--radius) var(--radius); margin-inline: -16px; border-inline: 0; border-top: 0; box-shadow: 0 10px 24px rgba(30, 33, 40, .10); }
  .preview-stage { min-height: 0; padding: 8px 6px; }
  .flip svg { max-height: 104px; }
  .preview-toolbar { margin-top: 8px; flex-wrap: nowrap; }
  .seg button { padding: 6px 12px; font-size: .9rem; }
  .dims { font-size: .8rem; }
  .preview-panel .buy-block { display: none; }
  /* פס קנייה קבוע בתחתית המסך */
  .mobile-buy { display: grid !important; position: fixed; z-index: 45; inset: auto 0 0 0; grid-template-columns: auto 1fr; gap: 10px; align-items: center; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; background: var(--surface); box-shadow: 0 -10px 30px rgba(30, 33, 40, .14);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mobile-buy .price-box { margin: 0; padding: 0; border: 0; gap: 0; }
  .mobile-buy .price-row, .mobile-buy .price-note { display: none; }
  .mobile-buy .price-total { margin: 0; font-size: 1.25rem; flex-direction: column; gap: 0; line-height: 1.15; }
  .mobile-buy .price-total > span:first-child { font-size: .72rem; font-weight: 600; color: var(--muted); }
  .mobile-buy .add-row { margin: 0; gap: 8px; }
  .mobile-buy .qty button { width: 36px; height: 48px; }
  .mobile-buy .qty input { width: 30px; }
  .mobile-buy .add-row .btn { padding-inline: 12px; }
  .mobile-buy .added-msg { grid-column: 1 / -1; margin: 0; font-size: .88rem; min-height: 0; }
  .mobile-buy .added-msg:empty { display: none; }
  body.has-buybar { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  body.has-buybar .a11y-panel { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  body.has-buybar .cookie-bar { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}
.mobile-buy { display: none; }

/* ---------- איך זה עובד ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.how { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.how::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; inset-inline-end: 20px; font-size: 3rem; font-weight: 800; color: var(--surface-2); line-height: 1; }
.how p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.emergency { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--brand); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.emergency p { color: #D7D9DE; }
.emergency > * { min-width: 0; }
.emergency img { width: 100%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .35)); }
.emergency ul { padding-inline-start: 20px; color: #D7D9DE; }
@media (max-width: 760px) { .emergency { grid-template-columns: 1fr; } }

/* ---------- שאלות נפוצות ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 16px; color: var(--ink-2); }

/* ---------- פוטר ---------- */
.site-footer { background: #17191E; color: #C9CCD3; padding: 48px 0 24px; margin-top: 40px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.biz-details { font-style: normal; display: grid; gap: 4px; }
.footer-bottom { border-top: 1px solid #2D3038; margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #9DA1AA; }
.todo { background: #FFE58A; color: #4A3800; padding: 0 6px; border-radius: 4px; font-weight: 700; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- תפריט נגישות ---------- */
.a11y-panel { position: fixed; z-index: 90; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline-end: max(16px, env(safe-area-inset-left, 0px)); }
.a11y-toggle { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #0A58CA; color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(10, 88, 202, .35); display: grid; place-items: center; }
.a11y-toggle svg { width: 28px; height: 28px; }
.a11y-menu { position: absolute; bottom: 62px; inset-inline-end: 0; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px; display: grid; gap: 6px; }
.a11y-menu[hidden] { display: none; }
.a11y-menu h2 { font-size: 1rem; margin: 2px 4px 6px; }
.a11y-menu button, .a11y-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .92rem; cursor: pointer; text-align: start; color: var(--ink); text-decoration: none; }
.a11y-menu button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- באנר עוגיות ---------- */
.cookie-bar { position: fixed; z-index: 80; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline: 16px 84px; max-width: 720px; margin-inline-end: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; gap: 14px; align-items: center; font-size: .92rem; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar[hidden] { display: none; }
@media (max-width: 600px) { .a11y-toggle { width: 46px; height: 46px; } .cookie-bar { inset-inline: 8px 76px; flex-direction: column; align-items: stretch; } }

/* ---------- עגלה וקופה ---------- */
.page-head { padding: 36px 0 12px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .thumb { background: var(--surface-2); border-radius: 12px; padding: 8px; }
.cart-item .thumb svg { width: 100%; height: auto; }
.cart-item .ci-title { font-weight: 700; }
.cart-item .ci-meta { color: var(--muted); font-size: .85rem; }
.cart-item .ci-side { text-align: end; display: grid; gap: 6px; justify-items: end; }
@media (max-width: 560px) { .cart-item { grid-template-columns: 96px 1fr; } .cart-item .ci-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.req { color: var(--error); }
.ship-opts { display: grid; gap: 10px; }
.ship-opt { position: relative; }
.ship-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ship-opt .box { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.ship-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-2); }
.ship-opt input:checked + .box { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ship-opt input:checked + .box .radio { border: 6px solid var(--ink); }
.ship-opt input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.ship-opt input:disabled + .box { opacity: .5; cursor: not-allowed; }
.ship-opt .s-name { font-weight: 700; }
.ship-opt .s-desc { color: var(--muted); font-size: .85rem; }
.ship-opt .s-price { font-weight: 800; font-size: 1.1rem; }
.summary { position: sticky; top: 88px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); }
.sum-total { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 8px; border-top: 2px solid var(--ink); font-weight: 800; font-size: 1.35rem; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .92rem; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.empty-cart { text-align: center; padding: 40px 10px; }
.weight-note { color: var(--muted); font-size: .85rem; margin-top: 6px; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

.confirm { max-width: 820px; margin: 0 auto; }
.confirm .ok-icon { width: 64px; height: 64px; border-radius: 50%; background: #DDF4E7; color: var(--ok); display: grid; place-items: center; font-size: 2rem; margin-bottom: 12px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc-table th, .doc-table td { text-align: start; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { width: 38%; color: var(--ink-2); font-weight: 600; }
.params { direction: ltr; text-align: left; background: #17191E; color: #E7E9EE; padding: 14px; border-radius: 12px; font-size: .8rem; overflow-x: auto; white-space: pre; }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- עמודים משפטיים ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 36px 0 60px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; padding-top: .4em; border-top: 1px solid var(--line); }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ol, .legal ul { padding-inline-start: 1.4em; }
.legal li { margin-bottom: .45em; }
.legal .updated { color: var(--muted); }
.legal .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.legal .toc ol { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; background: var(--surface); }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.legal th { background: var(--surface-2); }
.legal .box { background: #FFF6DB; border: 1px solid #F1DC94; border-radius: 14px; padding: 14px 16px; }

@media print {
  .site-header, .site-footer, .a11y-panel, .cookie-bar, .send-row, .no-print { display: none !important; }
  body { background: #fff; }
}

/* גלריה בשתי עמודות בטלפון */
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g-card .g-body { padding: 10px 10px 12px; gap: 4px; }
  .g-card .g-title { font-size: .95rem; }
  .g-card .g-meta { font-size: .8rem; line-height: 1.35; }
  .g-card .btn { min-height: 40px; padding: 8px 10px; font-size: .9rem; border-width: 1.5px; }
  .g-card .badge { font-size: .72rem; padding: 2px 8px; }
}

/* שליחת הזמנה */
.submit-status { min-height: 1.2em; margin: 10px 0 0; font-weight: 500; color: var(--ink); }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* תשלום דרך עמוד קבוע של Grow: הסכום ומספר ההזמנה שהלקוח מקליד שם */
.pay-box { display: grid; gap: 8px; max-width: 460px; margin: 14px auto 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: start; }
.pay-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; }
.pay-row span { color: var(--ink-2); }
.pay-row strong { font-size: 1.2rem; letter-spacing: .02em; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; }

/* ---------- כתובת: רשימת הצעות (יישוב / רחוב) ---------- */
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-3 > :first-child { grid-column: 1 / -1; } }
.ac { position: relative; }
.ac-list { position: absolute; inset-inline: 0; top: calc(100% + 4px); z-index: 30; margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 264px; overflow-y: auto; }
.ac-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.ac-list li:hover, .ac-list li[aria-selected="true"] { background: var(--surface-2); }
.addr-note { margin: -2px 0 12px; }
.addr-note:empty { display: none; }

/* ---------- מידע נוסף שנפתח רק למי שרוצה ---------- */
details.more { margin-top: 12px; }
details.more > summary { cursor: pointer; color: var(--ink-2); font-size: .9rem; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: '+'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .8rem; line-height: 1; }
details.more[open] > summary::before { content: '−'; }
details.more > :not(summary) { margin-top: 10px; }
.ship-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF6DB; border: 1px solid #F1DC94; color: #5A4500; font-size: .9rem; }
.legal-line { margin: 8px 0 0; }
.added-msg { color: var(--ink-2); }

/* ---------- אחרי ההזמנה: כרטיס קטן ודיסקרטי ---------- */
.pay-card { max-width: 440px; margin: 32px auto 12px; padding: 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.pay-card h1 { font-size: 1.4rem; margin: 6px 0 4px; }
.pay-card .ok-icon, .confirm .ok-icon { width: 44px; height: 44px; font-size: 1.3rem; margin: 0 auto 4px; background: var(--accent); color: var(--brand); }
.pay-card .pay-box { margin: 12px 0; }
.pay-card .hint { margin: 8px 0 0; }
.copy-btn { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: .82rem; color: var(--ink-2); cursor: pointer; min-height: 32px; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.doc-more { max-width: 820px; margin: 8px auto 0; }
.doc-more > summary { display: flex; justify-content: center; }
.back-line { text-align: center; margin: 16px 0 40px; }

/* ---------- חלון "נוסף לעגלה" ---------- */
.cart-modal { width: min(420px, calc(100vw - 32px)); border: 0; border-radius: var(--radius); padding: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.cart-modal::backdrop { background: rgba(30, 33, 40, .45); }
.cm-head { display: flex; align-items: center; gap: 10px; }
.cm-head h2 { margin: 0; font-size: 1.3rem; }
.ok-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--brand); display: grid; place-items: center; font-weight: 800; flex: none; }
.cm-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: center; margin: 14px 0 8px; }
.cm-thumb { background: var(--surface-2); border-radius: 12px; padding: 6px; }
.cm-thumb svg { width: 100%; height: auto; display: block; }
.cm-sum { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.cm-actions { display: grid; gap: 8px; }
#confirm-view:focus { outline: none; }
details.doc-more > summary { display: flex; justify-content: center; }
.grid-2 > .field, .grid-3 > .field { align-content: start; }

/* ===== רעיונות ושימושים (קישורים לעמודי נושא) ===== */
.ideas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.idea-card { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.idea-card:hover, .idea-card:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.idea-card img { width: 100%; height: auto; border-radius: 12px; background: var(--surface-2); }
.idea-title { font-weight: 700; font-size: 1.05rem; }
.idea-text { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .ideas { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ===== עמודי נושא ===== */
.topic-hero { padding: 36px 0 8px; }
.topic-hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: inherit; }
.topic-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.topic-grid > * { min-width: 0; }
.topic-grid img { width: 100%; height: auto; }
.topic-body { max-width: 72ch; }
.topic-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-top: 1.4em; }
.topic-body p, .topic-body li { color: var(--ink-2); font-size: 1.04rem; line-height: 1.7; }
.topic-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.topic-shots figure { margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.topic-shots img { width: 100%; height: auto; display: block; }
.topic-shots figcaption { font-size: .88rem; color: var(--muted); padding: 8px 10px; }
.topic-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.idea-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; list-style: none; }
.idea-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.idea-list strong { color: var(--ink); }
@media (max-width: 860px) {
  .topic-grid { grid-template-columns: 1fr; }
  .topic-shots { grid-template-columns: 1fr 1fr; }
  .idea-list { grid-template-columns: 1fr; }
}
