/* ─── Prositive Components CSS ─── */

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 48px;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; min-height: 36px; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  height: 55px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo img,
.site-logo-link .custom-logo,
.site-header .custom-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.header-nav a:hover,
.header-nav .current-menu-item > a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Topbar */
.site-topbar {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  padding: .45rem 0;
  text-align: center;
}
.site-topbar a { color: rgba(255,255,255,.9); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  /* FIX 2026-07-22 (Opus): היה 28x24 — מתחת לסף המגע 44px. */
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 800;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0;
}
.mobile-overlay.open { display: flex; }

.mobile-overlay nav ul {
  display: flex;
  flex-direction: column;
}
.mobile-overlay nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-overlay .mobile-cta { margin-top: 2rem; }

.header-contact-icons {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.header-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
.header-icon-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 1024px) { .hamburger { display: flex; } }
@media (max-width: 1024px) { .header-nav, .nav-cta, .header-actions .btn, .header-contact-icons, .sa-header-search:not(.sa-header-search--mobile) { display: none; } }

/* Header with topbar offset */
body.has-topbar { padding-top: calc(var(--header-h) + 38px); }
body:not(.has-topbar) { padding-top: var(--header-h); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 768px) { .hero { min-height: 80vh; } }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(0,0,0,.65) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-content p  { font-size: 1.15rem; opacity: .9; margin-bottom: 2rem; max-width: 54ch; margin-inline: auto; }
.hero-actions     { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Hero split (text + image side by side) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 85vh;
}
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split .hero-image { order: -1; }
}
.hero-image img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; }

/* ══════════════════════════════
   TRUST BAR
══════════════════════════════ */
.trust-bar {
  padding: 1.5rem 0;
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-muted);
}
.trust-item .icon { font-size: 1.4rem; }

/* ══════════════════════════════
   CARDS
══════════════════════════════ */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card p  { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* Service card with image */
.card-service {
  overflow: hidden;
  padding: 0;
}
.card-service-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card-service:hover .card-service-img img { transform: scale(1.05); }
.card-service-body { padding: 1.5rem; }
.card-service-body h3 { margin-bottom: .5rem; }
.card-service-body p  { font-size: .88rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info { font-size: .85rem; }
.author-name { font-weight: 700; }
.author-title { color: var(--text-muted); }

/* ══════════════════════════════
   FORMS (CF7)
══════════════════════════════ */
.wpcf7-form .form-row { margin-bottom: 1.25rem; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  transition: border-color .2s;
  direction: rtl;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.wpcf7 textarea { min-height: 120px; resize: vertical; }

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 2.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  min-height: 48px;
}
.wpcf7 input[type="submit"]:hover { background: var(--primary-hover); transform: translateY(-2px); }

.wpcf7-not-valid-tip { font-size: .8rem; color: #ef4444; margin-top: .25rem; }
.wpcf7-response-output { margin-top: 1rem; padding: .75rem 1rem; border-radius: var(--radius); font-size: .9rem; }
.wpcf7-mail-sent-ok { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.wpcf7-validation-errors { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-col h4,
.footer-title {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-logo img,
.footer-logo-link .custom-logo { height: 44px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); display: block; }
.footer-col p    { font-size: .88rem; line-height: 1.8; }

.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a  {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  padding: 1.25rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

/* ══════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════ */
/* עודכן 2026-07-22 (Opus): הכפתור היה 54px עם הילה ירוקה רחבה, ישב על התוכן
   ולא היה לו סימון פוקוס. כאן: קטן יותר (48px — עדיין מעל סף המגע 44),
   צל עדין במקום הילה, שקיפות במנוחה ומלא במגע/פוקוס, טבעת פוקוס נראית,
   וכיבוד prefers-reduced-motion.
   ⛔ ה-bottom נשאר 1.5rem בספציפיות נמוכה (0-1-0) במכוון, כדי ש-
      `body.has-sticky-buy .whatsapp-float { bottom: 96px }` ב-styles/sapir.css
      (0-2-0) ימשיך לנצח בעמודי מוצר. אין להעלות כאן ספציפיות על bottom.
   ⛔ נשאר left פיזי ולא inset-inline-start — הכפתור ממוקם בפינה השמאלית
      התחתונה בכל האתר, מעבר ללוגי היה מזיז אותו ימינה ב-RTL. */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: .85;
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
  /* bottom הוסר מהמעבר 2026-07-23 (dedupe) — bottom מחושב מחדש ברציפות בגלילה
     (footer.php reposition()); הנפשה עליו תמיד נראית כפיגור/רעד, לא כחלקות. */
  transition: transform .25s ease, opacity .2s ease;
}
@media (hover: hover) {
  .whatsapp-float:hover { transform: scale(1.06); opacity: 1; }
}
.whatsapp-float:focus-visible {
  opacity: 1;
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(42,28,22,.55);
}
.whatsapp-float:active { opacity: 1; }
.whatsapp-float svg   { width: 24px; height: 24px; fill: #fff; }

/* נגישות — ביטול תנועה למי שביקש זאת במערכת ההפעלה */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float:hover { transform: none; }
}

/* ══════════════════════════════
   COOKIE CONSENT
══════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: #1e293b;
  color: rgba(255,255,255,.8);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  font-size: .82rem;
  flex-wrap: nowrap;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-bar p { flex: 1; min-width: 0; margin: 0; }
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar a { color: var(--primary); text-decoration: underline; }
.cookie-bar-close {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .35rem .85rem;
  font-size: .8rem;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-bar-close:hover { background: rgba(255,255,255,.2); }
@media (max-width: 480px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; padding: 1rem; gap: .75rem; }
  .cookie-bar .btn { width: 100%; }
}

/* ══════════════════════════════
   BREADCRUMBS
══════════════════════════════ */
.breadcrumbs {
  font-size: .82rem;
  color: var(--text-muted);
  padding: .75rem 0;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin-inline: .4rem; }

/* ══════════════════════════════
   404 PAGE
══════════════════════════════ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.page-404 .code-big {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: .15;
  margin-bottom: -1rem;
}
.page-404 h1 { margin-bottom: 1rem; }
.page-404 p  { color: var(--text-muted); margin-bottom: 2rem; margin-inline: auto; }

/* ══════════════════════════════
   ABOUT SECTION (two-col)
══════════════════════════════ */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .about-two-col { grid-template-columns: 1fr; gap: 2rem; } }

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-image.portrait img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  max-width: 320px;
  margin-inline: auto;
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { margin-bottom: 1rem; color: var(--text-muted); }

/* ══════════════════════════════
   STATS / NUMBERS
══════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

/* ══════════════════════════════
   CTA BAND
══════════════════════════════ */
.cta-band {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 5rem 1rem;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,.7); margin: 0 auto 2rem; }

/* ══════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════ */
.page-hero {
  background: var(--bg-muted);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: .5rem; }
.page-hero .page-desc { color: var(--text-muted); max-width: 56ch; }
.page-hero--short { padding: 2.5rem 0 2rem; }

/* ══════════════════════════════
   TWO-COL (about, product hero)
══════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col--wide-text { grid-template-columns: 2fr 3fr; }
.two-col--no-image  { grid-template-columns: 1fr; max-width: 72ch; margin-inline: auto; }

@media (max-width: 768px) {
  .two-col,
  .two-col--wide-text { grid-template-columns: 1fr; gap: 2rem; }
}

.two-col-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.two-col-image.portrait img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  max-width: 320px;
  margin-inline: auto;
}

.two-col-content .label { display: inline-block; margin-bottom: .75rem; }
.two-col-content h1,
.two-col-content h2 { margin-bottom: 1rem; }
.two-col-content p,
.two-col-text { color: var(--text-muted); margin-bottom: 1rem; }

/* ══════════════════════════════
   CTA BAND (structured)
══════════════════════════════ */
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-text h2 { margin-bottom: .5rem; }
.cta-band-text p  { margin-bottom: 0; }
@media (max-width: 640px) {
  .cta-band-inner { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.contact-info-item strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: .2rem; }
.contact-info-item a,
.contact-info-item span { font-size: 1rem; color: var(--text); }
.contact-info-item a:hover { color: var(--primary); }

.contact-map { margin-top: 2rem; }

/* ══════════════════════════════
   FAQ (details/summary)
══════════════════════════════ */
.faq-list { max-width: 760px; margin-inline: auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-question {
  list-style: none;
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════
   PRODUCT — price display
══════════════════════════════ */
.product-price-display {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  margin: 1.5rem 0;
  background: var(--bg-soft);
  padding: .75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.price-label { color: var(--text-muted); font-size: .9rem; }
.price-value  { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: .75rem 0;
}
.card-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary);
  color: #fff;
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  margin-bottom: .75rem;
}

/* ══════════════════════════════
   NOT FOUND (404)
══════════════════════════════ */
.not-found-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.not-found-inner { max-width: 520px; margin-inline: auto; }
.not-found-code {
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  opacity: .15;
  margin-bottom: -1.5rem;
}
.not-found-actions { flex-wrap: wrap; }

/* ══════════════════════════════
   LANDING PAGE
══════════════════════════════ */
.landing-page .site-header { display: none; }
.landing-page .mobile-overlay { display: none; }

.landing-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.landing-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-phone-btn { min-height: 40px; padding: .5rem 1.5rem; }

.landing-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  padding-top: var(--header-h);
  background-size: cover;
  background-position: center;
  position: relative;
}
.landing-hero--image .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 100%);
  z-index: 0;
}
.landing-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.landing-hero-inner h1 { color: #fff; margin-bottom: 1rem; }
.landing-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  margin: 0 auto 2rem;
  max-width: 60ch;
}
.landing-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.landing-cta-main {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  min-height: 54px;
}
.landing-trust-note {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 1rem;
}

/* Landing form section */
.landing-form-section { padding-block: 5rem; }
.landing-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .landing-form-wrap { grid-template-columns: 1fr; gap: 2rem; } }

.landing-form-text h2 { color: #fff; }
.landing-form-text p  { color: rgba(255,255,255,.75); }
.landing-form-bullets {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.landing-form-bullets li { color: rgba(255,255,255,.85); font-size: .95rem; }

.landing-form-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.landing-form-or {
  text-align: center;
  color: var(--text-muted);
  font-size: .88rem;
  margin-top: 1.25rem;
}
.landing-form-or a { color: var(--primary); font-weight: 600; }

/* Landing footer minimal */
.landing-footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  padding: 1.5rem 0;
}
.landing-footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.landing-footer a { color: rgba(255,255,255,.6); }
.landing-footer a:hover { color: rgba(255,255,255,.9); }

/* ══════════════════════════════
   GENERIC CONTENT (WordPress editor)
══════════════════════════════ */
.generic-content {
  max-width: 72ch;
  margin-inline: auto;
  line-height: 1.8;
}
.generic-content h2,
.generic-content h3 { margin: 2rem 0 1rem; }
.generic-content p  { margin-bottom: 1rem; color: var(--text-muted); }
.generic-content ul,
.generic-content ol { padding-inline-start: 1.5rem; margin-bottom: 1rem; }
.generic-content li { margin-bottom: .4rem; color: var(--text-muted); }
.generic-content a:not(.btn)  { color: var(--primary); text-decoration: underline; }
.generic-content img { border-radius: var(--radius-lg); margin-block: 1.5rem; }

/* ══════════════════════════════
   BREADCRUMBS BAR
══════════════════════════════ */
.breadcrumbs-wrap {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--text-muted);
  padding: .6rem 0;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }

/* ══════════════════════════════
   HEADER — nav item class inject
══════════════════════════════ */
.nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-link  { font-size: .93rem; font-weight: 500; transition: color .2s; }

/* Mobile nav list */
.mobile-nav-list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-list li a {
  display: block;
  padding: .85rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.mobile-nav-list li a:hover { background: rgba(255,255,255,.08); }

/* is-visible for cookie bar (JS class) */
.cookie-bar.is-visible { transform: translateY(0); }

/* ══════════════════════════════
   BRIDGE RULES — template aliases
══════════════════════════════ */

/* Standalone label (used in hero + two-col outside .section-header) */
.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

/* Hero: overlay div + fallback bg when no image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(0,0,0,.65) 100%);
  z-index: 0;
}
.hero--image { background-size: cover; background-position: center; }
.hero:not(.hero--image) {
  background: linear-gradient(135deg, #0f172a 0%, var(--primary, #2563eb) 100%);
}

/* Trust items container */
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item { flex-direction: column; align-items: center; text-align: center; }
.trust-item-number { font-size: 1.6rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.trust-item-label  { font-size: .82rem; color: var(--text-muted); display: block; margin-top: .25rem; }

/* Card body / title / text aliases */
.card-body       { padding: 1.5rem; }
.card-title      { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.card-text       { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.card-image-wrap { aspect-ratio: 16/9; overflow: hidden; }
.card-image      { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-image { transform: scale(1.05); }

/* Testimonial field aliases */
.testimonial-quote  { font-size: .95rem; line-height: 1.75; color: var(--text); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-meta   { font-size: .85rem; }
.testimonial-name   { font-weight: 700; display: block; }
.testimonial-role   { color: var(--text-muted); font-size: .8rem; display: block; }

/* ══════════════════════════════
   WOOCOMMERCE — product gallery
══════════════════════════════ */
.wc-product-wrap {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
  direction: ltr;
}
@media (max-width: 768px) {
  .wc-product-wrap { grid-template-columns: 1fr; direction: rtl; }
}

.wc-gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.wc-gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.wc-gallery-thumbs img {
  width: 72px;
  height: 72px;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.wc-gallery-thumbs img.active,
.wc-gallery-thumbs img:hover { border-color: var(--primary); }


/* FIX 2026-07-22 (Opus): נקודות הקרוסלה נמדדו 3x3 (dynamicBullets מקטין ל-33%).
   מרחיב אזור לחיצה ל-44px בלי לשנות שום דבר ויזואלית — הנקודה נשארת בדיוק כפי שאושרה. */
.swiper-pagination-bullet { position: relative; }
.swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.swiper-pagination { min-height: 44px; display: flex; align-items: center; justify-content: center; }


/* ══════════════════════════════
   הדר מובייל — לוגו במרכז אופטי (2026-07-22, Opus)
   ══════════════════════════════
   הבעיה: ב-‎≤1024px נשארים בהדר שלושה אלמנטים בלבד (לוגו · אייקונים · המבורגר)
   ב-flex עם space-between, ולכן הלוגו נדחק לקצה ונראה מעוך.

   הפתרון: גריד בן שלוש עמודות ‎1fr auto 1fr. נבחר על פני מרכוז אבסולוטי כי
   העמודות הצדדיות שוות תמיד — המרכז נשאר מרכז ההדר גם אם רוחב האייקונים
   משתנה (באדג' עגלה דו-ספרתי, אייקון שנוסף/מוסר). מרכוז אבסולוטי היה
   מרכז ביחס להדר אבל היה מתנגש באייקונים בלי שהדפדפן ידע על כך.

   ⛔ חוק "HEADER FIT" ב-styles/sapir.css מוגבל ל-‎≥1025px — לא נגענו בו ולא
      הרחבנו את הטווח שלו. הבלוק הזה חי כולו ב-‎≤1024px, הדסקטופ לא מושפע.
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: 1fr minmax(0, auto) 1fr;
    align-items: center;
    gap: var(--sp-2);
  }

  /* ב-RTL עמודה 1 היא הימנית. המבורגר ימין · לוגו מרכז · עגלה+אינסטגרם שמאל */
  .site-header .header-inner .hamburger        { grid-column: 1; justify-self: start; }
  .site-header .header-inner .site-logo-link   { grid-column: 2; justify-self: center; min-width: 0; }
  .site-header .header-inner .sa-header-tools  { grid-column: 3; justify-self: end; }

  /* ביטול ה-margin:auto מ-styles/pages/header-tools.css (0-3-0) — בגריד הוא
     מיותר ורק גונב רוחב מהלוגו. ספציפיות 0-4-0 מנצחת בלי לגעת בסדר הטעינה. */
  .site-header .container.header-inner .sa-header-tools {
    margin-inline-start: 0;
    margin-inline-end: 0;
  }

  /* הלוגו מקבל תקרה אמיתית ומתכווץ במקום לגלוש. 42px גובה ≈ 128px רוחב
     ביחס התמונה 1237x407 — נכנס בנוחות ב-375 וב-414. */
  .site-header .header-inner .site-logo-link { display: flex; justify-content: center; }
  .site-header .custom-logo,
  .site-logo-link .custom-logo {
    max-height: 42px;
    height: auto;
    max-width: 100%;
  }

  /* הפחתת משקל ויזואלי לאייקונים: העיגול יורד, שטח המגע 44x44 נשאר.
     מוגבל ל-‎≤1024px כדי לא לשנות את הדסקטופ. */
  .site-header .sa-header-tools .sa-header-tool {
    border-color: transparent;
    background: transparent;
  }
  .site-header .sa-header-tools .sa-header-tool:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-color: transparent;
  }
}

/* מסכים צרים (320-400) — הלוגו יורד עוד מדרגה כדי שלא ייגע באייקונים.
   ב-320px: רוחב פנימי 288 · אייקונים 92 · המבורגר 44 → נשאר ללוגו כ-104px. */
@media (max-width: 400px) {
  .site-header .custom-logo,
  .site-logo-link .custom-logo { max-height: 34px; }
  .site-header .header-inner { gap: var(--sp-1); }
}


/* ═══════════════════════════════════════════════════════════
   תקן הקרוסלות של האתר — ‎.sa-carousel‎ (22.7.2026)
   ───────────────────────────────────────────────────────────
   הלקוחה הגדירה את ההתנהגות הרצויה מול הקרוסלות של עמוד הספרים:
   "זורם חלק, זז לאט מעצמו, מושך את העין, הופך לסמן-יד בדסקטופ,
    וזורם חלק לשני הכיוונים. זו קרוסלה."
   מכאן ואילך — כל קרוסלה חדשה באתר הזה ובאתרים הבאים נבנית לפי התקן הזה.

   ⛔ חוק ברזל — הפעלה לפי מחלקה בלבד, אף פעם לא סלקטור גלובלי.
      אין ולא יהיה כלל על ‎.swiper‎ עירום או על ‎[class*=track]‎ וכדומה.
      סלקטור קרוסלה גלובלי כבר שבר את האתר פעם אחת כששתי קרוסלות
      התקיימו יחד באותו עמוד. לכל קרוסלה יש מחלקה ייחודית משלה
      (‎.sa-cake-track‎ · ‎.sa-related-track‎ · ‎.food-swiper‎ · ‎.reviews-swiper‎),
      ומחלקת התקן ‎.sa-carousel‎ מתווספת לצידה — לא במקומה.
      כל כלל עיצוב ספציפי לקרוסלה נכתב תחת המחלקה הייחודית שלה.

   ───────────────────────────────────────────────────────────
   התקן, שתי מימושים — אותה התנהגות:

   א. קרוסלת סוויפר (עמוד הספרים, הספר) — קונפיג הייחוס:
      slidesPerView: 'auto', spaceBetween: 16,
      loop: true, grabCursor: true, speed: 4200,
      freeMode: { enabled: true, momentum: true, momentumRatio: 0.6 },
      keyboard: { enabled: true, onlyInViewport: true },
      autoplay: { delay: 1, disableOnInteraction: false, pauseOnMouseEnter: true }
      + חובה: אם ‎matchMedia('(prefers-reduced-motion: reduce)').matches‎
        מעבירים ‎autoplay: false‎ (או ‎swiper.autoplay.stop()‎ מיד אחרי היצירה).
      + חובה: ניווט ועימוד עם סלקטור מלא ומקונן —
        ‎'.MY-swiper .swiper-button-next'‎ ולא ‎'.swiper-button-next'‎.

   ב. קרוסלת גלילה מקורית (דף הבית, בלוק "עוד תוכן") — ‎.sa-carousel‎:
      אותה התנהגות בלי סוויפר, על מסלול ‎overflow-x: auto‎ רגיל.
      הסקריפט ‎sa-carousel‎ (מוטבע בקבצי התבנית שמשתמשים בו) נותן:
        · הנעה אוטומטית איטית ורציפה (ברירת מחדל ‎0.6px‎ לפריים ≈ ‎36px‎ לשנייה)
        · לולאה אינסופית — שכפול חד-פעמי של הפריטים והחזרת הגלילה לאפס
        · עצירה בריחוף, במיקוד, בגרירה ובנגיעה — וחידוש כשעוזבים
        · גרירה חופשית לשני הכיוונים עם תנופה (momentum) אחרי השחרור
        · מקלדת: חצים · Home · End · ‎tabindex=0‎ על המסלול
        · ‎prefers-reduced-motion: reduce‎ → ההנעה האוטומטית לא מופעלת כלל

   מאפייני נתונים על אלמנט המסלול:
      class="sa-carousel"        — הצטרפות לתקן (חובה)
      data-sa-loop="1"           — לשכפל פריטים ליצירת לולאה
      data-sa-speed="0.6"        — פיקסלים לפריים; ‎0‎ מכבה הנעה אוטומטית
      tabindex="0" role="group" aria-label="…"  — נגישות (חובה)
   ═══════════════════════════════════════════════════════════ */

.sa-carousel {
  /* גלילה חופשית לשני הכיוונים — בלי הצמדה קשיחה שעוצרת את הזרימה */
  scroll-snap-type: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
}

/* ביטול ההצמדה גם על הפריטים עצמם, בלי לגעת בעיצוב שלהם */
.sa-carousel > * { scroll-snap-align: none; }

/* סמן יד — בדסקטופ בלבד. במגע אין סמן, ו-‎grab‎ שם רק מבלבל. */
@media (hover: hover) and (pointer: fine) {
  .sa-carousel { cursor: grab; }
  .sa-carousel.is-sa-dragging { cursor: grabbing; }
}

/* בזמן גרירה — בלי גלילה חלקה (היא נלחמת בגרירה) ובלי בחירת טקסט */
.sa-carousel.is-sa-dragging {
  scroll-behavior: auto;
  user-select: none;
  -webkit-user-select: none;
}
/* מונע גרירת תמונה מובנית של הדפדפן שגונבת את אירוע הגרירה */
.sa-carousel.is-sa-dragging img,
.sa-carousel.is-sa-dragging a { pointer-events: none; }

/* מיקוד מקלדת גלוי — המסלול הוא ‎tabindex=0‎ */
.sa-carousel:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: var(--radius, 12px);
}

/* פריטים משוכפלים ללולאה — נסתרים מקוראי מסך, נראים לעין */
.sa-carousel [data-sa-clone] { pointer-events: auto; }

/* ⛔ דרישת נגישות קשיחה: העדפת תנועה מופחתת מכבה את ההנעה.
   הסקריפט לא מפעיל את הלולאה בכלל; כאן מבטלים גם את הגלילה החלקה. */
@media (prefers-reduced-motion: reduce) {
  .sa-carousel { scroll-behavior: auto; }
  .sa-carousel > * { transition: none; }
}
