*,*::before,*::after{box-sizing:border-box}
html{color-scheme:light}
body{margin:0;background:#fff;font-family:"Assistant","Arial Hebrew",Arial,sans-serif}
img{max-width:100%}
[hidden]{display:none!important}

/* Layout: full-bleed photo hero with nav over it, then four illustrated category discs,
   an about band, three tall black feature cards, and a grey footer. Follows the Figma frame (1440px). */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --mist: #f6f6f5;
  --fire: #c93000;
  --wine: #b3263a;
  --ash: #d9d9d9;
  --disc: rgba(112, 108, 97, 0.25);
  --font: "Assistant", "Arial Hebrew", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.5; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }
.page { width: 100%; overflow-x: clip; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(520px, 54vw); color: #fff; background: #222 url("assets/hero.jpg") center / cover no-repeat; box-shadow: 0 4px 4px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,0) 45%); pointer-events: none; }
.topbar { --h1: clamp(34px, 4.4vw, 62px); position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) auto minmax(0, 1.15fr); align-items: start; padding: 28px clamp(16px, 2.6vw, 37px) 0; gap: 16px; }
.brand { grid-column: 2; grid-row: 1; justify-self: center; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 0; }
.brand-name { margin: 0; white-space: nowrap; font-size: var(--h1); font-weight: 800; line-height: 1; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.brand .rule { width: 64%; height: 4px; background: var(--wine); border-radius: 2px; }
.brand .sub { font-size: clamp(13px, 1.2vw, 17px); letter-spacing: .14em; font-weight: 700; opacity: .92; }
.tools { grid-column: 3; grid-row: 1; justify-self: start; display: flex; align-items: center; align-self: start; height: var(--h1); gap: 12px; padding-top: 0; }
.search { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 6px; width: clamp(120px, 12vw, 190px); }
.search input { background: none; border: 0; color: #fff; font: inherit; font-size: 15px; width: 100%; min-width: 0; }
.search input::placeholder { color: rgba(255,255,255,.72); }
.search input:focus-visible { outline: none; }
.search:focus-within { border-bottom-color: #fff; }
.icon-btn { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; display: grid; place-items: center; }
.icon-btn svg, .search svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search svg { width: 22px; height: 22px; flex: none; }
.nav { position: relative; grid-column: 1; grid-row: 1; align-self: start; height: var(--h1); display: flex; align-items: center; padding-top: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px clamp(12px, 1.4vw, 22px); }
.nav a { color: #fff; text-decoration: none; font-size: clamp(15px, 1.2vw, 18px); white-space: nowrap; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--fire); }
.hero-spacer { flex: 1; }
.cta { position: relative; align-self: center; margin-bottom: clamp(40px, 7vw, 100px); display: inline-flex; align-items: center; justify-content: center; min-width: 170px; min-height: 46px; padding: 6px 28px; background: var(--fire); color: #fff; font-weight: 700; font-size: 20px; text-decoration: none; border: 1px solid #fff; border-radius: 30px; transition: transform .15s, background .15s; }
.cta:hover { background: #e03500; transform: translateY(-2px); }

/* ---------- categories ---------- */
.cats { background: var(--paper); padding: clamp(48px, 7vw, 100px) clamp(16px, 8vw, 120px) clamp(48px, 6vw, 80px); }
.cats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; gap: 22px; min-width: 0; }
.disc { position: relative; width: clamp(120px, 14.1vw, 203px); aspect-ratio: 1; border: 4px solid var(--ink); border-radius: 50%; background: var(--disc); transition: transform .2s; }
.disc img { position: absolute; left: 50%; top: 50%; width: var(--w, 80%); height: auto; transform: translate(-50%, -52%); }
.cat:hover .disc { transform: scale(1.04); }
.cat-title { margin: 0; font-size: clamp(22px, 2.8vw, 40px); line-height: 1.05; font-weight: 400; }
.cat-title b { display: block; font-weight: 800; }
.cat-title .dash { display: block; }

/* ---------- about ---------- */
.about { background: var(--mist); padding: clamp(28px, 4.4vw, 64px) clamp(16px, 4.4vw, 64px); }
.about-card { background: rgba(255,255,255,.2); border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(20px, 2.2vw, 29px) clamp(20px, 2.2vw, 29px); }
.about-text { min-width: 0; padding-inline: clamp(0px, 1vw, 16px); }
.about-text h2 { margin: 0 0 18px; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; font-weight: 800; text-wrap: balance; }
.about-text .about-lead { font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; }
.about-text p { margin: 0 0 14px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 62ch; }
.frame { border: 1px solid var(--ink); border-radius: 20px; padding: 29px 19px 29px 19px; min-width: 0; }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 684 / 454; object-fit: cover; border-radius: 4px; }

/* ---------- feature cards ---------- */
.features { background: var(--paper); padding: clamp(24px, 4.4vw, 64px) clamp(16px, 4.4vw, 64px); }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3.3vw, 22px); }
.feature { display: flex; flex-direction: column; height: 100%; background: #000; color: #fff; text-decoration: none; min-width: 0; }
.feature img { display: block; width: 100%; aspect-ratio: 431 / 486; object-fit: cover; }
.feature-title { margin: 0; padding: clamp(28px, 4.5vw, 60px) 16px clamp(28px, 4.5vw, 70px); text-align: center; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; font-weight: 400; }
.feature-title b { display: block; font-weight: 800; }
.feature:hover .feature-title b { color: var(--fire); }

/* ---------- footer ---------- */
.footer { background: var(--ash); margin-top: clamp(24px, 4.4vw, 64px); padding: clamp(28px, 4vw, 42px) clamp(16px, 3.6vw, 51px) 24px; }
.social { display: flex; justify-content: center; gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); }
.social a { width: 46px; height: 46px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; text-decoration: none; }
.social a:hover { background: var(--ink); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1000px; margin-inline: auto; }
.cols h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 18px; }
.cols .plain li { font-weight: 700; }
.cols .links li { font-weight: 700; }
.cols .links a { text-decoration: underline; text-underline-offset: 3px; }
.cols .links li::marker { content: "• "; }
.cols .links { padding-inline-start: 22px; list-style: disc; }
.credit { margin: 36px 0 0; text-align: center; font-weight: 700; font-size: 16px; }
.credit span { color: #a80000; }

/* ---------- narrow screens ---------- */
@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr; justify-items: center; padding-top: 20px; row-gap: 14px; }
  .brand { grid-column: 1; grid-row: 1; padding-top: 0; }
  .tools { grid-column: 1; grid-row: 2; justify-self: center; padding-top: 0; height: auto; }
  .nav { grid-column: 1; grid-row: 3; padding-top: 0; height: auto; }
  .nav ul { justify-content: center; flex-wrap: wrap; }
  .cats ul { grid-template-columns: repeat(2, 1fr); }
  .about-card { grid-template-columns: 1fr; }
  .about-card .frame { order: 2; }
  .features ul { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .cols { grid-template-columns: 1fr; text-align: center; }
  .cols .links { list-style: none; padding-inline-start: 0; }
  .cols .links li::marker { content: ""; }
}
@media (max-width: 480px) {
  .frame { padding: 14px 10px; }
  .search { width: 100%; }
  .tools { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* לוגו */
.brand-mark { width: clamp(44px, 4.6vw, 70px); height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
.footer-logo { display: block; width: clamp(120px, 14vw, 170px); height: auto; margin: 0 auto 24px; }
.social a svg { display: block; }

.social a { text-decoration: none; }
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; background: #0f7a3d; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.wa-float:hover { background: #0b6632; }
.wa-float:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
@media (max-width: 480px) { .wa-float { padding: 12px; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* אייקונים וחיפוש: צמודים לשמאל, כ-10% מקצה המסך (יחסי לכל רוחב) */
@media (min-width: 961px) { .tools { justify-self: end; margin-inline-end: 7.4vw; } }
.wa-float[hidden], .social a[hidden] { display: none !important; }

/* ---------- טלפון וטאבלט: סרגל קומפקטי על התמונה + תפריט צד ---------- */
.menu-btn, .m-drawer, .m-scrim { display: none; }
@media (max-width: 960px) {
  .topbar { --h1: 26px; background: transparent; padding: 12px 12px 10px; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; row-gap: 0; align-items: center; justify-items: stretch; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; grid-column: 1; grid-row: 1; align-items: center; gap: 6px; background: rgba(0,0,0,.45); color: #fff; border: 2px solid rgba(255,255,255,.85); border-radius: 12px; padding: 4px 10px; min-height: 46px; font: inherit; font-size: 16px; white-space: nowrap; font-weight: 700; cursor: pointer; }
  .menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
  .brand { grid-column: 2; grid-row: 1; flex-direction: row; justify-content: center; gap: 6px; justify-self: center; min-width: 0; overflow: hidden; }
  .brand .rule, .brand .sub { display: none; }
  .brand-mark { width: 30px; flex: none; }
  .brand-name { font-size: clamp(18px, 5.2vw, 28px); text-shadow: none; }
  .brand-name, .brand-mark { filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
  .tools { grid-column: 3; grid-row: 1; width: auto; height: auto; justify-self: end; gap: 0; flex-direction: row; }
  .icon-btn { padding: 6px; }
  .icon-btn svg { width: 26px; height: 26px; }
  .tools .icon-btn[aria-label="מועדפים"] { display: none; }
  .hero { min-height: 440px; }
  .hero::before { display: block; background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.35) 22%, rgba(0,0,0,0) 40%); }
  .cta { margin-bottom: 36px; }

  .m-scrim { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.55); }
  .m-scrim[hidden] { display: none; }
  .m-drawer { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; inset-inline-start: auto; right: 0; z-index: 71; width: min(320px, 86vw); background: #141414; color: #fff; padding: 14px 16px calc(20px + env(safe-area-inset-bottom, 0px)); overflow: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: -8px 0 30px rgba(0,0,0,.5); }
  .m-drawer.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .m-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
  .m-close { background: none; color: #fff; border: 2px solid rgba(255,255,255,.7); border-radius: 12px; width: 48px; height: 48px; font-size: 22px; cursor: pointer; }
  .m-search .search { width: 100%; border-bottom: 2px solid rgba(255,255,255,.6); margin-bottom: 8px; }
  .m-search .search input { font-size: 18px; }
  .m-drawer nav ul { list-style: none; margin: 0; padding: 0; }
  .m-drawer nav a { display: flex; align-items: center; min-height: 56px; color: #fff; text-decoration: none; font-size: 21px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.18); padding-inline: 4px; }
  .m-drawer nav a[aria-current] { color: #ffb199; }
  .m-contact { margin-top: auto; padding-top: 20px; }
  .m-contact a { display: block; text-align: center; background: var(--fire); color: #fff; font-weight: 800; font-size: 19px; text-decoration: none; border-radius: 30px; padding: 14px; }
  body.m-lock { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .m-drawer { transition: none !important; } }

/* שמונה קישורים בשורה אחת במחשב */
@media (min-width: 961px) {
  .nav ul { flex-wrap: nowrap; gap: 4px clamp(8px, 1vw, 20px); }
  .nav a { font-size: clamp(13px, 1.15vw, 18px); }
}

/* טלפון: כרטיסי הקישורים קטנים, שניים בשורה והשלישי לרוחב, עם הכותרת על גבי התמונה */
@media (max-width: 760px) {
  .features { padding-block: 20px; }
  .features ul { grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  .features li:nth-child(3) { grid-column: 1 / -1; }
  .feature { position: relative; overflow: hidden; border-radius: 12px; }
  .feature img { aspect-ratio: 1 / 1; object-position: center 40%; }
  .features li:nth-child(2) img { object-position: center 100%; transform: scale(1.4); transform-origin: 100% 100%; }
  .features li:nth-child(3) img { aspect-ratio: 3 / 2; object-position: center bottom; }
  .feature-title { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 10px 10px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.88) 70%); font-size: 12.5px; line-height: 1.2; text-align: start; }
  .feature-title b { font-size: 18px; line-height: 1.1; }
  .feature-title br, .feature-title .ft-dash { display: none; }
}

/* טלפון: בלי התמונה בבלוק "הקצבייה שלנו" (בדף הראשי בלבד) */
@media (max-width: 760px) {
  .frame--desktop-only { display: none; }
}

/* טקסט "הקצבייה שלנו": נוסח מלא במחשב, נוסח קצר בטלפון */
.about-mobile, .m-only { display: none; }
@media (max-width: 760px) {
  .about-desktop, .d-only { display: none; }
  .about-mobile { display: block; }
  .m-only { display: inline; }
}

/* mobile hero: wider crop of the photo, CTA inside the picture */
@media (max-width: 760px) {
  .hero:not(.hero--page) { background: #2a2b2c url("assets/hero.jpg") center / cover no-repeat; min-height: 75vw; }
  .hero:not(.hero--page)::before { display: block; background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,0) 30%); }
  .hero:not(.hero--page) .cta { margin-bottom: 22px; }
}

/* mobile top bar: logo above the store name, like desktop */
@media (max-width: 960px) {
  .brand { flex-direction: column; gap: 3px; overflow: visible; }
  .topbar { align-items: center; }
  .brand-mark { width: 34px; }
  .brand-name { font-size: 19px; }
}

/* category dash: tighten the gaps (shop.css has a generic .dash dashboard rule that adds padding) */
.cat-title .dash { padding: 0; line-height: 1.5; }
@media (min-width: 761px) { .cat-title .dash { line-height: 1.2; } }

/* mobile: magnifier button next to the cart opens a search bar under the top bar */
.search-btn { display: none; }
.m-sbar { display: none; }
@media (max-width: 960px) {
  .search-btn { display: grid; }
  .topbar { position: relative; z-index: 5; }
  .m-sbar:not([hidden]) { display: block; position: absolute; inset-inline: 12px; top: calc(100% + 2px); z-index: 30; background: rgba(0,0,0,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.55); border-radius: 14px; padding: 12px 14px 8px; }
  .m-sbar .search { width: 100%; color: #fff; border-bottom: 2px solid #fff; }
  .m-sbar .search input { font-size: 18px; color: #fff; }
  .m-sbar .search input::placeholder { color: rgba(255,255,255,.85); }
  .m-sbar .search svg { color: #fff; }
  .m-sbar .ss-list { top: calc(100% + 8px); inset-inline: -14px; width: auto; max-width: none; }
}

/* ---------- kashrut: strip under the hero + homepage section ---------- */
.k-strip { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: var(--mist); border-bottom: 1px solid #e3e3e0; color: var(--ink); font-size: 16px; font-weight: 800; text-align: center; }
.k-strip img { width: 30px; height: 30px; flex: none; mix-blend-mode: multiply; }
@media (max-width: 760px) {
  .k-strip { font-size: 14px; gap: 8px; padding: 7px 12px; }
  .k-strip img { width: 26px; height: 26px; }
}

/* about page: kashrut paragraph */
.about-k { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: center; margin: clamp(20px, 3vw, 36px) auto 0; max-width: 1180px; padding: clamp(24px, 3.4vw, 48px); background: #fff; border: 1px solid var(--ink); border-radius: 20px; }
.ak-seal { display: grid; place-items: center; width: clamp(120px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--ink), 0 0 0 7px #fff, 0 0 0 8px rgba(0,0,0,.25); }
.ak-seal img { width: 88%; height: auto; border-radius: 50%; mix-blend-mode: multiply; }
.ak-text h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.15; text-wrap: balance; }
.ak-rule { display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--wine); margin: 10px 0 14px; }
.ak-text p { margin: 0 0 12px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: #222; max-width: 70ch; }
.ak-text p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .about-k { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ak-text p { text-align: start; }
  .ak-rule { margin-inline: auto; }
}

.ak-wrap { background: var(--mist); padding: clamp(28px, 4.4vw, 64px) clamp(16px, 4.4vw, 64px); }
.ak-wrap .about-k { margin-top: 0; }
