/* =====================================================
   הגדרות כלליות — צבעים ופונטים
   ===================================================== */
:root {
  --cta: #0AA2E0;          /* תכלת לכפתורים */
  --cta-hover: #088BC2;
  --ink: #2E3438;          /* צבע טקסט ראשי */
  --ink-soft: #5F676D;
  --line: #E3E7EA;
  --bg-soft: #F5F7F8;

  /* צבעי קוביות הקטגוריות */
  --c-protein: #8E6E55;
  --c-creatine: #D9773A;
  --c-vitamins: #3B8A66;
  --c-men: #4F5DA8;

  --font: "Heebo", "Arial Hebrew", Arial, sans-serif;
  --wrap: 1140px;
  --hero-h: clamp(420px, 62vh, 560px);
  --tile: 134px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

/* שדות הסינון מוסתרים ויזואלית, אבל נגישים למקלדת */
.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =====================================================
   כותרת עליונה (שקופה מעל תמונת ה-Hero)
   ===================================================== */
.site-header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
.logo {
  color: #FFFFFF;
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
  align-items: center;
}
.nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* =====================================================
   אזור Hero — תמונת רקע + שכבת הכהיה
   ===================================================== */
.hero {
  position: relative;
  min-height: var(--hero-h);
  display: grid;
  place-items: center;
  text-align: center;
  color: #FFFFFF;
  padding: 110px 20px 150px;

  /* שכבה 1: הכהיה | שכבה 2: התמונה שלכם | שכבה 3: רקע גיבוי אם אין תמונה */
  background:
    linear-gradient(rgba(20, 28, 34, .52), rgba(20, 28, 34, .58)),
    url("hero.jpg") center / cover no-repeat,
    radial-gradient(circle at 30% 40%, #6B7C84 0%, #3A4A52 45%, #1E2A30 100%);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 5.6vw, 3.6rem);
  line-height: 1.12;
  font-weight: 400;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero h1 b { font-weight: 800; }
.hero p {
  margin: 0 auto 28px;
  max-width: 34em;
  font-size: 1.1rem;
  opacity: .9;
}

/* =====================================================
   כפתור תכלת
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--cta);
  color: #FFFFFF;
  font: 700 1.05rem/1 var(--font);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 22px -10px rgba(10, 162, 224, .8);
  transition: background-color .2s, transform .15s;
}
.btn:hover { background: var(--cta-hover); }
.btn:active { transform: scale(.97); }
.btn:focus-visible, .buy:focus-visible, .nav a:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--cta);
}

/* =====================================================
   סרגל קטגוריות — קוביות צבעוניות בתחתית ה-Hero
   ===================================================== */
.cat-band {
  position: relative;
  margin-top: calc(var(--tile) * -1);
  background: rgba(30, 40, 46, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tiles {
  display: flex;
  justify-content: center;
  max-width: var(--wrap);
  margin-inline: auto;
}
.tile {
  flex: 0 0 var(--tile);
  height: var(--tile);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
  cursor: pointer;
  background: var(--tc);
  border: 2px solid transparent;
  transition: filter .2s, transform .2s;
  text-decoration: none;
}
.tile:hover { filter: brightness(1.12); }
.tile svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s;
}
.tile:hover svg { transform: translateY(-3px); }

.t-protein   { --tc: var(--c-protein); }
.t-creatine  { --tc: var(--c-creatine); }
.t-vitamins  { --tc: var(--c-vitamins); }
.t-men { --tc: var(--c-men); }
.t-all       { --tc: #2B3238; }
.t-all .mini {
  background: #FFFFFF;
  color: #2B3238;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .9rem;
}

/* =====================================================
   אזור התוכן — כותרת + רשת מוצרים
   ===================================================== */
.picks { padding: 72px 0 88px; }
.picks-head { text-align: center; margin-bottom: 40px; }
.picks-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}
.picks-head p { margin: 0; color: var(--ink-soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: 0 16px 34px -18px rgba(30, 40, 46, .35);
  transform: translateY(-4px);
}
.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  padding: 18px;
}
.card-img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--cta);
  color: #FFFFFF;
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.tag {
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--tc);
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.meta b { color: var(--ink); }
.card p {
  margin: 0 0 18px;
  font-size: .97rem;
  color: var(--ink-soft);
}
.buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--cta);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s;
}
.buy:hover { background: var(--cta-hover); }
.buy-note {
  margin: 6px 0 0;
  text-align: center;
  font-size: .74rem;
  color: #8A9297;
}

.empty {
  display: none;
  text-align: center;
  padding: 40px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
}


/* =====================================================
   פוטר
   ===================================================== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.site-footer p { margin: 0 0 6px; max-width: 60ch; }
.site-footer .brand { font-weight: 800; font-size: 1.3rem; color: var(--ink); }

/* =====================================================
   מובייל
   ===================================================== */
@media (max-width: 860px) {
  :root { --tile: 112px; }

  .nav { gap: 18px; }
  .nav .hide-sm { display: none; }

  /* הקוביות הופכות לשורה נגללת הצידה */
  .tiles {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
  .tile svg { width: 36px; height: 36px; }

  .hero { padding-bottom: calc(var(--tile) + 40px); }
}

@media (max-width: 520px) {
  .logo { font-size: 1.6rem; }
  .nav a { font-size: .88rem; }
  .picks { padding: 52px 0 64px; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .card { flex-direction: row; }
  .card-img { width: 38%; aspect-ratio: auto; padding: 12px; }
  .card-body { padding: 14px 16px 16px; }
  .card p { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* =====================================================
   קובייה של הדף הנוכחי
   ===================================================== */
.tile[aria-current="page"] {
  border-color: #FFFFFF;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35);
}
.tile:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: -6px;
}

/* =====================================================
   דף הבית — רשימת ההמלצות (מובילה לדפי הקטגוריות)
   ===================================================== */
.rec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.rec {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FFFFFF;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.rec:hover {
  box-shadow: 0 16px 34px -18px rgba(30, 40, 46, .35);
  transform: translateY(-3px);
  border-color: transparent;
}
.rec-icon {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  background: var(--tc);
  color: #FFFFFF;
  display: grid;
  place-items: center;
}
.rec-icon svg {
  width: 48px; height: 48px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.rec h3 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.rec p { margin: 0 0 10px; color: var(--ink-soft); font-size: .97rem; }
.rec .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--cta);
}
.rec .go::after { content: "←"; transition: transform .2s; }
.rec:hover .go::after { transform: translateX(-4px); }
.rec .count { color: var(--ink-soft); font-weight: 500; font-size: .88rem; margin-inline-start: 6px; }

@media (max-width: 760px) {
  .rec-list { grid-template-columns: 1fr; gap: 14px; }
  .rec { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .rec-icon { width: 72px; height: 72px; }
  .rec-icon svg { width: 38px; height: 38px; }
}

/* =====================================================
   דף קטגוריה
   ===================================================== */
.hero.hero-cat {
  min-height: 0;
  padding-top: 120px;
  padding-bottom: calc(var(--tile) + 48px);
  background:
    linear-gradient(color-mix(in srgb, var(--tc) 72%, rgba(20, 28, 34, .5)), color-mix(in srgb, var(--tc) 82%, rgba(20, 28, 34, .7))),
    url("hero.jpg") center / cover no-repeat,
    var(--tc);
}
.crumbs {
  font-size: .9rem;
  margin-bottom: 10px;
  opacity: .9;
}
.crumbs a { color: #FFFFFF; }
.back {
  display: inline-block;
  margin-top: 40px;
  font-weight: 700;
  color: var(--cta);
  text-decoration: none;
}
.back:hover { text-decoration: underline; }


/* טקסט ארוך בקובייה נשבר לשתי שורות מאוזנות */
.tile { padding-inline: 12px; line-height: 1.25; text-wrap: balance; }
.t-all .mini { white-space: nowrap; padding-inline: 12px; }
  

/* =====================================================
   דף הבית — המלצות מגובות מחקר
   ===================================================== */
.science { padding: 72px 0 88px; }
.science-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.science-head h2 { margin: 0 0 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.science-head p { margin: 0; color: var(--ink-soft); }
.sci-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sci {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-top: 6px solid var(--tc);
  border-radius: 14px;
  padding: 24px 24px 22px;
  background: #FFFFFF;
}
.sci-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sci-icon { flex: none; width: 56px; height: 56px; border-radius: 10px; background: var(--tc); color: #FFFFFF; display: grid; place-items: center; }
.sci-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sci h3 { margin: 0; font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.sci ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.sci li { position: relative; padding-inline-start: 26px; line-height: 1.55; }
.sci li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .42em;
  width: 14px; height: 14px; border-radius: 50%;
  background: color-mix(in srgb, var(--tc) 22%, #FFFFFF);
  box-shadow: inset 0 0 0 4px var(--tc);
}
.sci .practice {
  margin: 0 0 16px; padding: 12px 14px;
  background: var(--bg-soft); border-radius: 10px; font-size: .95rem;
}
.sci .practice b { color: var(--ink); }
.sci .src { margin: 0 0 16px; font-size: .82rem; color: #7A8389; }
.sci .src a { color: inherit; }
.sci .more { margin-top: auto; align-self: flex-start; min-height: 42px; padding: 0 22px; font-size: .95rem; }
.sci .sub { padding: 12px 0; border-top: 1px solid var(--line); }
.sci .sci-top + .sub { border-top: 0; padding-top: 0; }
.sci .sub h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; color: var(--tc); }
.sci .sub p { margin: 0 0 6px; line-height: 1.6; }
.sci .sub .src { margin: 0; }
.sci .sub + .practice { margin-top: 6px; }
/* פסקת שיווק לכל מוצר */
.pitch {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 10px;
  border-inline-start: 4px solid var(--tc);
  background: color-mix(in srgb, var(--tc) 8%, #FFFFFF);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
}
.sci .sub .pitch { margin: 6px 0 10px; font-size: .98rem; }
.quality {
  margin: 0 0 16px; padding: 12px 14px;
  background: var(--bg-soft); border-radius: 10px;
  font-size: .95rem; line-height: 1.6;
}
.quality b { display: block; margin-bottom: 2px; color: var(--ink); }
.sci .sub .quality { margin: 0 0 6px; }
/* כפתור הפניה לקטגוריה */
.sci .more {
  margin-top: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1.5px solid var(--tc);
  background: color-mix(in srgb, var(--tc) 7%, #FFFFFF);
  color: var(--tc);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .15s;
}
.sci .more::after {
  content: "←";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tc);
  color: #FFFFFF;
  font-size: 1rem;
  transition: transform .2s;
}
.sci .more:hover { background: var(--tc); color: #FFFFFF; }
.sci .more:hover::after { background: #FFFFFF; color: var(--tc); transform: translateX(-4px); }
.sci .more:active { transform: scale(.98); }
.sci .more:focus-visible { outline: 3px solid var(--tc); outline-offset: 3px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cta) 12%, #FFFFFF);
  color: var(--cta);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.sci-note { margin: 28px auto 0; max-width: 720px; text-align: center; font-size: .85rem; color: #7A8389; }
@media (max-width: 820px) {
  .sci-grid { grid-template-columns: 1fr; gap: 18px; }
  .sci { padding: 20px 18px 18px; }
}

/* תמונת מוצר אמיתית: רקע לבן שמתאים לתמונה */
.card-img:has(img[src^="data:image/avif"]),
.card-img:has(img[src$=".jpg"]), .card-img:has(img[src$=".png"]),
.card-img:has(img[src$=".webp"]), .card-img:has(img[src$=".avif"]) {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}


/* =====================================================
   עיצוב נקי — שכבת עדכון כללית (גוברת על ההגדרות שלמעלה)
   ===================================================== */
:root {
  --ink: #1F2428;
  --ink-soft: #5E6770;
  --line: #ECEEF1;
  --bg-soft: #F7F8FA;
  --cta: #1597D4;
  --cta-hover: #0F84BB;
}
body { -webkit-font-smoothing: antialiased; }

/* כותרת עליונה */
.site-header .bar { border-bottom-color: rgba(255, 255, 255, .14); }
.logo { font-weight: 800; letter-spacing: -0.01em; }

/* כפתורי הניווט: אותו גובה, אותו פונט ואותה צורה לשלושתם.
   לכולם מסגרת לבנה דקה ועגולה */
.nav { gap: 6px; }
.nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1;
  opacity: 1;
  transition: background-color .2s, border-color .2s, color .2s;
}
.nav a:hover { text-decoration: none; color: #FFFFFF; background: rgba(255, 255, 255, .10); }
.nav a { border-color: rgba(255, 255, 255, .32); }
.nav a:hover { border-color: rgba(255, 255, 255, .55); }

@media (max-width: 640px) {
  .site-header .bar { gap: 14px; }
  /* בטלפון הטקסט הארוך של המדריך עובר לשתי שורות */
  .nav .deal {
    height: auto;
    min-height: 36px;
    padding: 6px 14px;
    max-width: 190px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    font-size: .78rem;
  }
}

/* Hero: רקע אחיד ורגוע */
.hero {
  background:
    linear-gradient(rgba(24, 30, 35, .62), rgba(24, 30, 35, .70)),
    url("hero.jpg") center / cover no-repeat,
    #232B31;
}
.hero h1 { font-weight: 300; letter-spacing: -0.02em; text-shadow: none; }
.hero h1 b { font-weight: 700; }
.hero p { opacity: .82; font-weight: 300; }

/* ריבועי הקטגוריות: מרווח קטן, פינות מעוגלות, בלי מסגרות */
.cat-band { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tiles { gap: 12px; padding-inline: 20px; }
.tile {
  border-radius: 16px;
  border: 0;
  font-weight: 600;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45);
  transition: transform .2s, filter .2s;
}
.tile:hover { filter: none; transform: translateY(-3px); }
.tile svg { stroke-width: 1.4; }
.tile[aria-current="page"] { border: 0; box-shadow: 0 0 0 3px #FFFFFF, 0 10px 24px -14px rgba(0, 0, 0, .45); }

/* אזור ההמלצות בדף הבית */
.science { padding: 88px 0 96px; }
.science-head { margin-bottom: 48px; }
.science-head h2 { font-weight: 700; letter-spacing: -0.02em; }
.eyebrow {
  display: block;
  background: none;
  padding: 0;
  margin-bottom: 6px;
  color: #3B8A66;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0;
}
.sci-grid { gap: 28px; }
/* זרימה לפי עמודות: ויטמינים מעל קריאטין, טיפוח מעל חלבון.
   כך כרטיס ארוך נמצא ליד כרטיס ארוך וקצר ליד קצר, בלי שטח ריק */
@media (min-width: 821px) {
  .sci-grid { grid-auto-flow: column; grid-template-rows: auto auto; }
}
.sci {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 30px 28px;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}
.sci-top { margin-bottom: 18px; }
.sci-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: color-mix(in srgb, var(--tc) 12%, #FFFFFF);
  color: var(--tc);
}
.sci-icon svg { width: 28px; height: 28px; }
.sci h3 { font-size: 1.25rem; font-weight: 700; }
.pitch {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}
.sci .sub .pitch { margin: 4px 0 12px; }
.pitch b { color: var(--ink); font-weight: 700; }
.quality {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink-soft);
}
.quality b { color: var(--tc); font-size: .85rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 4px; }
.sci .sub { padding: 18px 0; }
.sci .sub h4 { color: var(--ink); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sci .sub h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); }
.sci .more {
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 600;
  border-radius: 14px;
  min-height: 54px;
  margin-top: auto;
}
.sci .more::after {
  background: color-mix(in srgb, var(--tc) 12%, #FFFFFF);
  color: var(--tc);
}
.sci .more:hover { background: var(--bg-soft); color: var(--ink); border-color: color-mix(in srgb, var(--tc) 35%, var(--line)); }
.sci .more:hover::after { background: var(--tc); color: #FFFFFF; }
.sci-note { color: #8A939B; }

/* דפי קטגוריה */
.hero.hero-cat {
  background:
    linear-gradient(color-mix(in srgb, var(--tc) 88%, #000 12%), color-mix(in srgb, var(--tc) 88%, #000 12%)),
    var(--tc);
}
.crumbs { opacity: .8; }
.picks { padding: 80px 0 96px; }
.picks-head h2 { font-weight: 700; letter-spacing: -0.02em; }
.grid { gap: 28px; }
/* הכרטיסים ממורכזים, בלי עמודות ריקות בצד */
@media (min-width: 521px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); justify-content: center; }
}
.card {
  border-radius: 20px;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(16, 24, 32, .35); }
.card-img, .card-img:has(img[src^="data:image/avif"]) { background: #FFFFFF; border-bottom: 1px solid var(--line); padding: 22px; }
.card-body { padding: 20px 22px 22px; }
.tag {
  background: color-mix(in srgb, var(--tc) 12%, #FFFFFF);
  color: var(--tc);
  border-radius: 999px;
  padding: 3px 12px;
  font-weight: 700;
}
.badge { background: var(--ink); font-weight: 600; }
.card h3 { font-weight: 700; }
.meta { color: #7A838B; }
.card p { color: var(--ink-soft); }
.buy { border-radius: 12px; font-weight: 600; min-height: 48px; }
.back { font-weight: 600; }

/* פוטר */
.site-footer { background: #FFFFFF; border-top: 1px solid var(--line); }


/* הריבועים יושבים על קו התפר בין ה-Hero לתוכן */
.cat-band { transform: translateY(50%); position: relative; z-index: 2; }
.hero { min-height: 0; padding-top: 150px; padding-bottom: calc(var(--tile) / 2 + 80px); }
.hero.hero-cat { padding-top: 130px; padding-bottom: calc(var(--tile) / 2 + 64px); }
.cat-band + section { padding-top: calc(var(--tile) / 2 + 72px); }

@media (max-width: 860px) {
  .tiles { gap: 10px; padding: 6px 16px 18px; margin-bottom: -18px; }
}
/* בטלפון ארבעת הריבועים נכנסים במלואם לרוחב המסך, בלי גלילה הצידה ובלי ריבוע חתוך */
@media (max-width: 560px) {
  :root { --tile: 100px; }
  .tiles { overflow-x: visible; justify-content: stretch; gap: 8px; padding-inline: 12px; }
  .tile {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 4px;
    gap: 6px;
    font-size: .74rem;
    line-height: 1.2;
    border-radius: 14px;
  }
  .tile svg { width: 28px; height: 28px; }
}
@media (max-width: 520px) {
  .sci { padding: 22px 18px 20px; border-radius: 16px; }
  .card { border-radius: 16px; }
}
