/* לומה, חנות תאורה לדוגמה: הצבעים של דף ההדמיה (דיו חמה, חול וזהב), Heebo */
:root {
  --ink-950: #0f0c09; --ink-900: #16120e; --ink-800: #201b15; --ink-700: #2f281f;
  --on-dark: #f5eee3; --on-dark-muted: #c2b5a2;
  --sand-50: #fcf9f4; --sand-100: #f5efe5; --sand-200: #e7ddcd;
  --on-light: #1f1912; --on-light-muted: #5d5345;
  --gold-200: #f1d29b; --gold-300: #e5b86c; --gold-500: #cf9a48; --gold-ink: #85560f; --btn-text: #1b1309;
  --radius: 16px; --radius-sm: 10px; --gutter: 16px; --maxw: 1140px;
  --shadow: 0 18px 50px rgba(0,0,0,.35); --shadow-light: 0 10px 30px rgba(60,40,15,.10);
  --focus: 0 0 0 3px var(--ink-950), 0 0 0 6px var(--gold-300);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; background: var(--sand-50); color: var(--on-light);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
.sub { color: var(--on-light-muted); margin: 8px 0 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--gold-ink); }

/* כפתורים */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 0; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold-300); color: var(--btn-text); }
.btn.gold:hover { background: var(--gold-200); }
.btn.dark { background: var(--ink-900); color: var(--on-dark); }
.btn.dark:hover { background: var(--ink-700); }
.btn.line { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 2px rgba(245,238,227,.45); }
.btn.line:hover { box-shadow: inset 0 0 0 2px var(--gold-300); }

/* לוגו */
.logo { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 24px; text-decoration: none; color: var(--on-light); letter-spacing: .02em; }
.logo small { font-size: 12px; font-weight: 500; color: var(--on-light-muted); letter-spacing: .04em; }
.logo-mark { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--gold-200), var(--gold-500)); box-shadow: 0 0 14px rgba(229,184,108,.8); align-self: center; }
.logo.light, .logo.light small { color: var(--on-dark); }
.logo.light small { color: var(--on-dark-muted); }
.logo.big { font-size: 34px; }
.logo.small { font-size: 18px; }

/* פס עליון וכותרת */
.announce { background: var(--ink-900); color: var(--on-dark-muted); font-size: 13px; text-align: center; padding: 8px var(--gutter); }
.announce b { color: var(--gold-300); font-weight: 600; }
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(252,249,244,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand-200); }
.hdr-in { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.nav { display: flex; gap: 22px; margin-inline-start: 18px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--on-light-muted); }
.nav a:hover, .nav a.on { color: var(--on-light); }
.cart-btn { margin-inline-start: auto; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sand-200); background: #fff; color: var(--on-light); cursor: pointer; display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold-300); color: var(--btn-text); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.18); } }

/* באנר */
.hero { background: radial-gradient(120% 90% at 85% 10%, var(--ink-700), var(--ink-950) 60%); color: var(--on-dark); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); margin: 10px 0 14px; }
.hero .eyebrow { color: var(--gold-300); }
.hero p { color: var(--on-dark-muted); font-size: 18px; max-width: 520px; margin: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-img { margin: 0; justify-self: center; max-width: 380px; width: 100%; }
.hero-img img { width: 100%; height: auto; aspect-ratio: 720 / 1050; object-fit: cover; object-position: 50% 0; border-radius: 22px; box-shadow: var(--shadow); }
figcaption { font-size: 13px; color: var(--on-light-muted); margin-top: 8px; }
.hero figcaption { color: var(--on-dark-muted); text-align: center; }

/* איך זה עובד */
.how { padding: 56px 0 8px; }
.steps3 { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.steps3 li { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 18px 18px 18px 18px; box-shadow: var(--shadow-light); counter-increment: s; position: relative; }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink-900); color: var(--gold-300); font-weight: 800; margin-bottom: 10px; }
.steps3 b { display: block; font-size: 18px; }
.steps3 span { color: var(--on-light-muted); font-size: 15px; }

/* מוצרים */
.shop { padding: 48px 0 24px; }
.shop-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--sand-200); background: #fff; color: var(--on-light-muted); font: inherit; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.chips button.on { background: var(--ink-900); border-color: var(--ink-900); color: var(--on-dark); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.card { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-light); transform: translateY(-2px); }
.card-img { position: relative; background: #fff; aspect-ratio: 1; padding: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--ink-900); color: var(--gold-300); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card-body { padding: 12px 14px 16px; border-top: 1px solid var(--sand-100); }
.card-type { font-size: 13px; color: var(--on-light-muted); }
.card-name { font-weight: 700; font-size: 16px; margin: 2px 0 6px; }
.card-price { font-weight: 800; font-size: 17px; }
.card-price small { font-weight: 500; font-size: 13px; color: var(--on-light-muted); }

/* השראה */
.insp { padding: 40px 0 64px; }
.insp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.insp-row a { text-decoration: none; }
.insp-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.insp-row span { display: block; font-size: 14px; font-weight: 600; margin-top: 8px; }

/* עמוד מוצר */
#product { padding: 18px 0 64px; }
.crumbs { font-size: 14px; color: var(--on-light-muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.pdp-main { background: #fff; border: 1px solid var(--sand-200); border-radius: 20px; aspect-ratio: 1; padding: 28px; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pdp-thumbs button { width: 74px; height: 74px; border-radius: 12px; border: 2px solid var(--sand-200); background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.pdp-thumbs button.on { border-color: var(--gold-ink); } /* 6:1 על לבן. הזהב הבהיר היה 2.5:1 */
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 8px; }
.pdp-price { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.pdp-price small { font-size: 15px; font-weight: 500; color: var(--on-light-muted); }
.pdp-desc { color: var(--on-light-muted); font-size: 17px; margin: 20px 0 14px; }
.pdp-specs { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp-specs li { background: var(--sand-100); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 14px; }
.pdp-specs b { display: block; font-size: 15px; }

/* הכפתור של ההדמיה: הדבר הכי בולט בעמוד */
.viz-btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: start; border: 0; cursor: pointer; font: inherit;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-950)); color: var(--on-dark); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 0 0 1px rgba(229,184,108,.35), 0 12px 28px rgba(22,18,14,.25); transition: transform .15s, box-shadow .15s; }
.viz-btn:hover { box-shadow: 0 0 0 2px var(--gold-300), 0 14px 32px rgba(22,18,14,.3); }
.viz-btn:active { transform: scale(.99); }
.viz-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-300); color: var(--btn-text); display: grid; place-items: center; }
.viz-ic svg { width: 26px; height: 26px; }
.viz-t b { display: block; font-size: 19px; color: var(--gold-200); }
.viz-t small { color: var(--on-dark-muted); font-size: 14px; }
.pdp-buy { display: flex; gap: 10px; margin-top: 12px; }
.pdp-buy .btn { flex: 1; border-radius: 14px; }
.qty { display: flex; align-items: center; border: 1px solid var(--sand-200); background: #fff; border-radius: 14px; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--on-light); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.pdp-perks { list-style: none; padding: 0; margin: 18px 0 0; color: var(--on-light-muted); font-size: 14px; }
.pdp-perks li { padding: 4px 0; }
.pdp-perks li::before { content: "✓"; color: var(--gold-ink); font-weight: 800; margin-inline-end: 8px; }
.pdp-insp { margin-top: 48px; }
.pdp-insp figure { margin: 18px 0 0; max-width: 520px; }
.pdp-insp img { width: 100%; border-radius: 20px; }

/* כותרת תחתונה */
.ftr { background: var(--ink-900); color: var(--on-dark-muted); padding: 30px 0; font-size: 14px; }
.ftr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ftr p { margin: 0; }
.ftr p + p { margin-top: 6px; }

/* סל */
.drawer-bg { position: fixed; inset: 0; background: rgba(15,12,9,.45); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(400px, 100%); background: var(--sand-50); z-index: 41; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--sand-200); font-size: 18px; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sand-100); font-size: 16px; cursor: pointer; color: var(--on-light); }
.drawer-body { flex: 1; overflow: auto; padding: 12px 16px; }
.drawer-empty { color: var(--on-light-muted); text-align: center; margin-top: 40px; }
.line-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--sand-200); border-radius: 14px; padding: 10px; margin-bottom: 10px; }
.line-item img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.line-item .t { flex: 1; min-width: 0; }
.line-item .n { font-weight: 700; font-size: 15px; }
.line-item .d { font-size: 13px; color: var(--on-light-muted); }
.line-item .tag { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--gold-ink); background: #fbf0df; border-radius: 999px; padding: 1px 8px; }
.line-item .p { font-weight: 800; }
.line-item .rm { border: 0; background: none; color: var(--on-light-muted); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.drawer-ft { border-top: 1px solid var(--sand-200); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
.drawer-sum { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 10px; }
.drawer-ft .btn { width: 100%; }

/* חלון ההדמיה */
.viz { position: fixed; inset: 0; z-index: 60; background: var(--sand-50); display: flex; flex-direction: column; height: 100dvh; }
.viz-bar { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); background: var(--ink-900); color: var(--on-dark); }
.viz-bar .logo { color: var(--on-dark); }
.viz-title { color: var(--gold-200); font-weight: 600; font-size: 15px; }
.viz-bar .x { margin-inline-start: auto; background: var(--ink-700); color: var(--on-dark); }
.viz-body { position: relative; flex: 1; }
.viz-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--sand-50); }
.viz-load { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; justify-items: center; color: var(--on-light-muted); }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--sand-200); border-top-color: var(--gold-500); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* קוד גישה */
.gate { position: fixed; inset: 0; z-index: 80; background: radial-gradient(120% 90% at 85% 10%, var(--ink-700), var(--ink-950) 60%); display: grid; place-items: center; padding: var(--gutter); }
.gate-card { width: min(380px, 100%); text-align: center; color: var(--on-dark); }
.gate-card .logo, .gate-card .logo small { color: var(--on-dark); }
.gate-card p { color: var(--on-dark-muted); }
.gate-card form { display: flex; gap: 8px; margin-top: 16px; }
.gate-card input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--ink-700); background: var(--ink-800); color: var(--on-dark); font: inherit; font-size: 17px; padding: 0 18px; text-align: center; }
.gate-msg { min-height: 24px; margin-top: 10px; color: var(--gold-200); font-size: 14px; }

.toast { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 90; background: var(--ink-900); color: var(--on-dark);
  padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow); font-size: 15px; max-width: calc(100% - 32px); text-align: center; }
.toast:empty { padding: 0; box-shadow: none; } /* נשארת בדף גם כשהיא ריקה, כדי שקורא מסך יקריא את ההודעה כשהיא מגיעה */

/* מסגרת המיקוד גם בכפתורים שיש להם צל משלהם (בלי זה היא נעלמה בכפתור ההדמיה) */
.btn.line:focus-visible, .viz-btn:focus-visible, .card:focus-visible { box-shadow: var(--focus); }

/* טלפון */
@media (max-width: 900px) {
  .nav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .insp-row { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .hero-in { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; padding-bottom: 36px; }
  .hero p { font-size: 16px; }
  .hero-img { max-width: 300px; }
  .steps3 { grid-template-columns: 1fr; }
  .how { padding-top: 36px; }
  .announce { font-size: 12px; }
  .announce b { display: block; }
  .card-body { padding: 10px 10px 12px; }
  .card-name { font-size: 15px; }
  .pdp-main { padding: 16px; }
}

/* פחות תנועה (הגדרת נגישות במכשיר): בלי מעברים, אנימציות וגלילה חלקה. גלגל הטעינה נשאר כסימן עומד ליד "טוען…" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:active, .viz-btn:active, .card:hover { transform: none; }
}
