@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1f2937;
  --muted: #5b6470;
  --brand: #1f7a7a;        /* ניגודיות 5:1 על לבן: מתאים לטקסט וכפתורים */
  --brand-dark: #165c5c;
  --brand-light: #7dd3d3;
  --cream: #f9f6f1;
  --line: #e5e1d8;
  --sale: #b42318;
  --footer: #111827;
  --focus: #0b3d91;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.25; font-weight: 400; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 300; }
h3 { font-size: 1.0625rem; font-weight: 500; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: var(--brand); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
main:focus { outline: none; }

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }
.pre { white-space: pre-line; }

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

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -4rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* באנר עליון */
.banner { background: var(--brand-dark); color: #fff; text-align: center; padding: .55rem 1rem; font-size: .95rem; }

/* כותרת האתר */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 2.5rem; min-height: 5rem; flex-wrap: wrap; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 64px; width: auto; object-fit: contain; }
.nav-list { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.nav-list a { color: #374151; text-decoration: none; font-weight: 500; padding: .5rem 0; display: inline-block; }
.nav-list a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.nav-list .nav-sale { color: var(--sale); font-weight: 700; }

/* כפתורים */
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  padding: .9rem 2rem; border-radius: 999px; font-weight: 500; font-size: 1.05rem;
  border: 2px solid var(--brand); cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.85); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* דף הבית: hero */
.hero { position: relative; min-height: clamp(460px, 78vh, 760px); display: grid; align-items: center; color: #fff; background: #2b3a39; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,.62), rgba(0,0,0,.32) 55%, rgba(0,0,0,.1)); }
.hero-content { position: relative; padding-block: 4rem; }
.hero-content h1 { max-width: 14ch; line-height: 1.15; margin-bottom: .5em; font-size: clamp(2.4rem, 6vw, 4rem); }
.hero-content h1 span { display: block; font-weight: 500; color: var(--brand-light); }
.hero-content p { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 300; max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-toggle {
  position: absolute; inset-block-end: 1rem; inset-inline-end: 1rem;
  background: rgba(0,0,0,.65); color: #fff; border: 1px solid rgba(255,255,255,.7);
  padding: .5rem .9rem; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer;
}

.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-alt { background: var(--cream); }
.section-title { margin-bottom: .3em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head .muted { margin: 0; }
.more-link { font-weight: 500; }

.page-head { background: var(--cream); padding-block: 2.5rem; }
.page-head h1 { margin: 0; }

.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 2rem; }

/* קולקציות בעיגולים */
.section > .container > .section-title { margin-bottom: 2.5rem; }
.rooms { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 4rem; }
.room-circle { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); }
.room-img {
  width: clamp(140px, 18vw, 192px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--cream); border: 4px solid var(--room-color, var(--line)); transition: transform .3s;
}
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-circle:hover .room-img { transform: scale(1.04); }
.room-name { font-size: 1.15rem; font-weight: 500; }
.room-circle:hover .room-name { text-decoration: underline; text-underline-offset: 4px; }

/* כרטיסי מוצר */
.card { transition: transform .3s; }
.card:hover { transform: translateY(-4px); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 1; background: var(--cream); border-radius: var(--radius); overflow: hidden; margin-bottom: .9rem; }
.section-alt .card-media { background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-cat { display: block; font-size: .85rem; color: var(--brand); font-weight: 500; }
.card-title { margin: .1rem 0 .3rem; font-size: 1.05rem; }
.card-link:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.badge { position: absolute; top: .75rem; inset-inline-start: .75rem; padding: .15rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 500; color: #fff; }
.badge-sale { background: var(--sale); }
.sold-out { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.4); color: #fff; font-weight: 500; }

.price { margin: 0; display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.price-now { font-weight: 600; }
.price-was { color: var(--muted); font-size: .95em; }
.price-large { font-size: 1.6rem; margin-block: .5rem; }
.stock-note { margin: .25rem 0 0; color: var(--sale); font-size: .95rem; }
.stock-note.in-stock { color: #1e6b3a; }

/* סינון */
.filters { margin-bottom: 1.5rem; }
.filter-label { font-size: .95rem; font-weight: 500; color: var(--muted); margin: 1rem 0 .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .35rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; background: #fff; }
.chips a:hover { border-color: var(--brand); }
.chips a[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* בלוג */
.post-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: box-shadow .3s; height: 100%; }
.post-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.post-card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.post-media { aspect-ratio: 16 / 9; background: var(--cream); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.5rem; }
.post-body h3 { font-size: 1.25rem; }
.post-body p { color: var(--muted); margin: 0; }
.post-card a:hover h3 { color: var(--brand); }
.post-hero { width: 100%; border-radius: 16px; margin-bottom: 1.5rem; }

/* שאלות נפוצות ומדיניות */
.faq-item { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.faq-item summary { cursor: pointer; font-weight: 500; font-size: 1.1rem; }
.faq-item div { margin-top: .75rem; color: var(--muted); }
.policy h2 { font-size: 1.4rem; margin-top: 1.8em; font-weight: 500; }
.policy ul { list-style: disc; padding-inline-start: 1.5rem; margin-bottom: 1em; }
.policy li.ql-indent-1 { margin-inline-start: 1.5rem; }

.breadcrumb { font-size: .95rem; color: var(--muted); margin-bottom: 1.25rem; }

/* דף מוצר */
.product { display: grid; gap: 2rem; }
@media (min-width: 860px) { .product { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; } }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.gallery-empty { aspect-ratio: 1; background: var(--cream); border-radius: var(--radius); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .75rem; margin-top: .75rem; }
.thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.description { margin: 1.25rem 0; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 1.25rem 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.related { margin-top: 4rem; }

/* תחתית */
.site-footer { background: var(--footer); color: #d1d5db; padding-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo { height: 64px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-about p { max-width: 36ch; }
.footer-title { font-size: 1rem; color: #fff; font-weight: 500; margin: 0 0 1rem; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer a { color: #d1d5db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid nav ul + .footer-title { margin-top: 1.75rem; }
.social { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.copyright { border-top: 1px solid #1f2937; margin: 0; padding: 1.5rem 1rem; text-align: center; font-size: .9rem; color: #9ca3af; }

@media (max-width: 720px) {
  .header-row { gap: .5rem 1.5rem; padding-block: .5rem; }
  .nav-list { gap: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ===== עמודי תוכן: הסיפור שלנו, שירות לקוחות ===== */
.story { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.story-img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); object-fit: cover; }
.story-text p { margin-bottom: 1.25rem; }
.story-lead { font-size: 1.2rem; font-weight: 500; color: var(--brand); }
.story-end { border-top: 1px solid var(--line); padding-top: 1.5rem; color: var(--muted); }

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.contact-details { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 0 0 1.5rem; }
.contact-details dt { color: var(--muted); }
.contact-details dd { margin: 0; }

.form .field { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 500; margin-bottom: .35rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid #8a929c; border-radius: 10px; font: inherit; color: var(--ink); background: #fff;
}
.form .has-error input, .form .has-error textarea { border-color: var(--sale); }
.field-error { color: var(--sale); font-size: .92rem; margin: .3rem 0 0; font-weight: 500; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.25rem; }
.notice-ok { background: #e8f5ee; border: 1px solid #b7dcc6; color: #14532d; }
.notice-error { background: #fdecea; border: 1px solid #f3b5ae; color: #7a1c14; }
.btn-small { padding: .5rem 1.25rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #8a929c; }
.btn-ghost:hover { background: #eef0f2; border-color: var(--ink); color: var(--ink); }

/* ===== כפתור וואטסאפ צף ===== */
.whatsapp-fab {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: #128c4a; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); background: #0f7a41; color: #fff; }

/* ===== הודעת עוגיות ===== */
.cookie-banner {
  position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 70; max-width: 880px; margin-inline: auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2); padding: 1.1rem 1.25rem; display: flex; gap: 1rem 1.5rem; align-items: center; flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 360px; font-size: .95rem; }
.cookie-actions { display: flex; gap: .6rem; }

/* ===== תפריט נגישות ===== */
.a11y-toggle {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 2px solid #fff; background: #0b3d91; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.a11y-toggle:hover { background: #082d6b; }
.a11y-panel {
  position: fixed; right: 1.25rem; bottom: 5.25rem; z-index: 65; width: min(280px, calc(100vw - 2.5rem));
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; box-shadow: 0 8px 30px rgba(0,0,0,.25);
  display: grid; gap: .5rem;
}
.a11y-panel[hidden] { display: none; }
.a11y-title { font-size: 1.1rem; font-weight: 500; margin: 0 0 .25rem; }
.a11y-option { font: inherit; text-align: start; padding: .6rem .8rem; border: 1px solid #8a929c; border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.a11y-option:hover:not(:disabled) { background: #eef0f2; }
.a11y-option:disabled { opacity: .5; cursor: not-allowed; }
.a11y-option[aria-pressed="true"] { background: #0b3d91; color: #fff; border-color: #0b3d91; }
.a11y-link { font-size: .95rem; padding-top: .25rem; }

html.a11y-size-m1 { font-size: 87.5%; }
html.a11y-size-1 { font-size: 112.5%; }
html.a11y-size-2 { font-size: 125%; }
html.a11y-size-3 { font-size: 150%; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; background: rgba(255, 235, 59, .35); }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

html.a11y-contrast { --ink: #fff; --muted: #f0f0f0; --brand: #ffeb3b; --brand-dark: #ffd600; --cream: #000; --line: #fff; --sale: #ff8a80; --footer: #000; }
html.a11y-contrast body, html.a11y-contrast .site-header, html.a11y-contrast .section-alt, html.a11y-contrast .page-head,
html.a11y-contrast .card-media, html.a11y-contrast .site-footer, html.a11y-contrast .cookie-banner, html.a11y-contrast .a11y-panel,
html.a11y-contrast .post-card, html.a11y-contrast .banner { background: #000 !important; color: #fff !important; }
html.a11y-contrast a, html.a11y-contrast .more-link { color: #ffeb3b !important; }
html.a11y-contrast .btn, html.a11y-contrast .chips a[aria-current="true"] { background: #ffeb3b !important; color: #000 !important; border-color: #ffeb3b !important; }
html.a11y-contrast .btn-ghost, html.a11y-contrast .a11y-option { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .a11y-option[aria-pressed="true"] { background: #ffeb3b !important; color: #000 !important; }
html.a11y-contrast .form input, html.a11y-contrast .form textarea { background: #000; color: #fff; border-color: #fff; }
html.a11y-contrast .hero-overlay { background: rgba(0,0,0,.75); }
html.a11y-contrast .site-header, html.a11y-contrast .site-footer { border-color: #fff; }
