/* ============================================================
   BENJA GALLERY — style.css
   RTL | Assistant + Playfair Display | Luxury Art Gallery
   ============================================================ */

/* ---------- Lenis Smooth Scroll ---------- */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ---------- CSS Variables ---------- */
:root {
  --white:      #ffffff;
  --off-white:  #f8f6f3;
  --black:      #0d0d0d;
  --dark:       #1a1a1a;
  --mid:        #5c5c5c;
  --light:      #a8a8a8;
  --border:     #e4e0d8;
  --gold:       #b8965a;
  --gold-light: #d4b07a;
  --header-h:   76px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:      1300px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Assistant', sans-serif;
  font-weight: 400; color: var(--dark); background: var(--white);
  direction: rtl; text-align: right; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; color: inherit; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; right: 0; left: 0;
  height: var(--header-h); background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000; box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; width: 100%; padding: 0 4%;
}
.header-logo { flex: 0 0 auto; display: flex; align-items: center; }
.header-logo img { height: 50px; width: auto; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 2.5rem; flex: 0 0 auto; }
.nav-link {
  font-size: 1rem; font-weight: 500; color: var(--mid);
  letter-spacing: 0.02em; position: relative; padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--black); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* DROPDOWN */
.nav-item { position: relative; }
.nav-item .nav-link { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-item .nav-link .dropdown-arrow {
  display: inline-block; width: 10px; height: 10px;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg) translateY(-2px); transition: transform 0.3s ease; flex-shrink: 0;
}
.nav-item:hover .nav-link .dropdown-arrow,
.nav-item:focus-within .nav-link .dropdown-arrow { transform: rotate(135deg) translateY(-2px); }

.dropdown-menu {
  position: absolute; top: calc(100% + 18px); right: 50%;
  transform: translateX(50%); min-width: 200px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(228,224,216,0.7);
  box-shadow: 0 8px 32px rgba(13,13,13,0.10), 0 2px 8px rgba(13,13,13,0.06);
  opacity: 0; pointer-events: none; visibility: hidden;
  transform: translateX(50%) translateY(-6px);
  transition: opacity 0.28s cubic-bezier(0.4,0,0.2,1), transform 0.28s cubic-bezier(0.4,0,0.2,1), visibility 0.28s;
}
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu {
  opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(50%) translateY(0);
}
.dropdown-menu::before { content: ''; position: absolute; top: -18px; right: 0; left: 0; height: 18px; }
.dropdown-item {
  display: block; padding: 0.75rem 1.4rem; font-size: 0.88rem; font-weight: 500;
  color: var(--mid); letter-spacing: 0.04em; white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  border-bottom: 1px solid rgba(228,224,216,0.5); position: relative;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item::before {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0;
  width: 0; background: var(--gold); transition: width 0.22s ease;
}
.dropdown-item:hover { color: var(--black); background: rgba(184,150,90,0.06); }
.dropdown-item:hover::before { width: 2.5px; }
.dropdown-item--all {
  font-family: 'Playfair Display', serif; font-size: 0.82rem; letter-spacing: 0.1em;
  color: var(--gold); padding-top: 0.9rem; padding-bottom: 0.9rem;
  background: rgba(184,150,90,0.04);
}
.dropdown-item--all:hover { color: var(--dark); background: rgba(184,150,90,0.10); }

.header-icons { flex: 0 0 auto; display: flex; align-items: center; gap: 0.4rem; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--dark);
  transition: background var(--transition), color var(--transition);
  position: relative; text-decoration: none;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--off-white); color: var(--gold); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; left: 4px; min-width: 17px; height: 17px;
  background: var(--gold); color: var(--white); font-size: 0.62rem; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; margin-top: var(--header-h); overflow: visible; background: var(--dark); z-index: 1; }
.hero-img { width: 100%; height: auto; display: block; will-change: transform; transform-origin: top center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.10) 0%, rgba(13,13,13,0.45) 50%, rgba(13,13,13,0.68) 100%);
  pointer-events: none; z-index: 2;
}
.hero-sticky-wrapper { position: absolute; inset: 0; overflow: clip; z-index: 3; pointer-events: none; }
.hero-content {
  position: sticky; top: 50vh; transform: translateY(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 1.5rem; width: 100%; pointer-events: auto;
}
.hero-title {
  font-family: 'Playfair Display', serif; font-size: clamp(3rem,7vw,6.5rem); font-weight: 500;
  letter-spacing: 0.12em; color: var(--white); line-height: 1;
  text-shadow: 0 2px 32px rgba(0,0,0,0.5); margin-bottom: 0.6rem;
}
.hero-subtitle {
  font-size: clamp(1rem,2.2vw,1.5rem); font-weight: 300; letter-spacing: 0.28em;
  color: rgba(255,255,255,0.88); text-shadow: 0 1px 12px rgba(0,0,0,0.45); margin-bottom: 2.4rem;
}
.hero-cta {
  display: inline-block; padding: 0.75rem 2.2rem;
  border: 1.5px solid rgba(255,255,255,0.75); color: var(--white);
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.12em;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.hero-cta:hover { background: var(--gold); border-color: var(--gold); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories { background: var(--off-white); padding: 5rem 2.5rem 6rem; position: relative; z-index: 10; }
.categories-header { text-align: center; margin-bottom: 3rem; }
.categories-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 500; color: var(--black); margin-bottom: 0.6rem; letter-spacing: 0.01em;
}
.categories-subtitle { font-size: 1rem; color: var(--light); letter-spacing: 0.05em; }
.categories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: var(--max-w); margin: 0 auto; }
.category-card { position: relative; overflow: hidden; cursor: pointer; background: var(--dark); display: block; }
.category-img-wrap { overflow: hidden; aspect-ratio: 3 / 4; }
.category-img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease;
  filter: brightness(1); will-change: transform;
}
.category-card:hover .category-img { transform: scale(1.08); filter: brightness(0.9); }
.category-label {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem; pointer-events: none;
}
.category-label span {
  display: block; color: var(--white); font-family: 'Assistant', sans-serif;
  font-size: clamp(1.1rem,1.8vw,1.55rem); font-weight: 700; letter-spacing: 3px; line-height: 1.3;
  text-shadow: 0px 0px 3px rgba(0,0,0,1), 0px 0px 8px rgba(0,0,0,0.60), 0px 0px 15px rgba(0,0,0,0.40);
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), letter-spacing 0.5s cubic-bezier(0.25,0.46,0.45,0.94), text-shadow 0.5s ease;
}
.category-card:hover .category-label span {
  transform: scale(1.04); letter-spacing: 5px;
  text-shadow: 0px 0px 4px rgba(0,0,0,1), 0px 0px 12px rgba(0,0,0,0.70), 0px 0px 22px rgba(0,0,0,0.50);
}
.category-label::after {
  content: ''; display: block; width: 0; height: 1.5px;
  background: var(--gold-light); margin-top: 1rem;
  transition: width 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.category-card:hover .category-label::after { width: 40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer:not(.footer-light) {
  background: var(--black); padding: 2.5rem; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06); position: relative; z-index: 10;
}
.footer-brand {
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 400;
  letter-spacing: 0.2em; color: var(--gold); margin-bottom: 0.4rem;
}
.footer-copy { font-size: 0.82rem; color: var(--light); letter-spacing: 0.05em; }

/* ============================================================
   דפי קטגוריה
   ============================================================ */
.category-page { margin-top: var(--header-h); min-height: calc(100vh - var(--header-h)); }
.cat-banner { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 3.5rem 2.5rem 2.5rem; text-align: center; }
.cat-breadcrumb { font-size: 0.82rem; color: var(--light); letter-spacing: 0.08em; margin-bottom: 1rem; }
.cat-breadcrumb a { color: var(--gold); transition: color var(--transition); }
.cat-breadcrumb a:hover { color: var(--gold-light); }
.cat-breadcrumb span { margin: 0 0.5rem; }
.cat-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3.5rem); font-weight: 500; color: var(--black); letter-spacing: 0.02em; margin-bottom: 1rem; }
.cat-description { max-width: 560px; margin: 0 auto; font-size: 1.05rem; font-weight: 300; color: var(--mid); line-height: 1.75; }
.cat-gallery { padding: 4rem 2.5rem 6rem; max-width: var(--max-w); margin: 0 auto; }
.cat-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.gallery-placeholder {
  aspect-ratio: 3 / 4; background: var(--off-white); border: 1.5px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; color: var(--light);
  transition: border-color var(--transition), background var(--transition);
}
.gallery-placeholder:hover { border-color: var(--gold); background: #faf8f4; }
.gallery-placeholder svg { opacity: 0.4; }
.gallery-placeholder span { font-size: 0.85rem; letter-spacing: 0.05em; }

/* ============================================================
   PAGE SHELL
   ============================================================ */
.page-main { margin-top: var(--header-h); min-height: calc(100vh - var(--header-h) - 100px); }
.page-banner { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 3.5rem 2.5rem 2.5rem; text-align: center; }
.page-breadcrumb { font-size: 0.82rem; color: var(--light); letter-spacing: 0.08em; margin-bottom: 1rem; }
.page-breadcrumb a { color: var(--gold); transition: color var(--transition); }
.page-breadcrumb a:hover { color: var(--gold-light); }
.page-breadcrumb span { margin: 0 0.5rem; }
.page-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3.2rem); font-weight: 500; color: var(--black); letter-spacing: 0.02em; margin-bottom: 0.8rem; }
.page-subtitle { max-width: 520px; margin: 0 auto; font-size: 1rem; font-weight: 300; color: var(--mid); line-height: 1.7; }

/* ============================================================
   SHOP / ALL-WORKS GRID
   ============================================================ */
.shop-toolbar { max-width: var(--max-w); margin: 0 auto; padding: 2rem 2.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.shop-count { font-size: 0.9rem; color: var(--light); letter-spacing: 0.04em; }
.shop-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn { padding: 0.4rem 1.1rem; border: 1px solid var(--border); font-family: 'Assistant', sans-serif; font-size: 0.85rem; color: var(--mid); cursor: pointer; background: var(--white); transition: border-color var(--transition), color var(--transition), background var(--transition); letter-spacing: 0.04em; }
.filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--black); background: var(--off-white); }

/* גריד הגלריה — ריווח יוקרתי */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;           /* שורה: 3rem | עמודה: 2.5rem */
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2.5rem 7rem;
}

/* ── כרטיס מוצר (shop & all-works) ───────────────────────── */
.product-card { position: relative; cursor: pointer; display: block; }

/* אזור תמונה */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;          /* יחס ציור — לא ריבוע */
  background: var(--off-white);
  margin-bottom: 1.1rem;
}
/* תמונה אמיתית */
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.5s ease;
  filter: brightness(1);
  will-change: transform;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
  filter: brightness(0.92);
}

/* overlay טקסט על התמונה */
.product-img-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  pointer-events: none;
}
.product-img-overlay span {
  color: var(--white);
  font-family: 'Assistant', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.3;
  text-shadow:
    0px 0px  3px rgba(0,0,0,1.00),
    0px 0px  8px rgba(0,0,0,0.60),
    0px 0px 15px rgba(0,0,0,0.40);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity        0.4s ease,
    transform      0.4s ease,
    letter-spacing 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.product-card:hover .product-img-overlay span {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: 5px;
}
/* קו זהב מתחת לטקסט ב-overlay */
.product-img-overlay::after {
  content: '';
  display: block;
  width: 0; height: 1.5px;
  background: var(--gold-light);
  margin-top: 0.75rem;
  transition: width 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
.product-card:hover .product-img-overlay::after { width: 36px; }

/* placeholder (כשאין תמונה) */
.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--light);
  transition: background var(--transition);
}
.product-img-placeholder svg { opacity: 0.3; }
.product-card:hover .product-img-placeholder { background: #f0ece5; }

/* תג "נמכר" מעל התמונה */
.product-sold-badge {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3;
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(184,150,90,0.5);
  padding: 0.28rem 0.7rem;
  backdrop-filter: blur(4px);
}

/* אייקון מועדפים */
.product-wishlist {
  position: absolute; bottom: 1.1rem + 0.8rem; left: 0.8rem; z-index: 3;
  /* ממוקם מעל אזור הטקסט — מחוץ ל-.product-img-wrap */
  top: 0.8rem; left: auto; right: auto;
  /* override — ממוקם בתוך ה-.product-img-wrap */
  top: auto; bottom: 0.8rem; left: 0.8rem;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.88);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), color var(--transition);
  color: var(--mid);
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { color: var(--gold); }

/* מידע מתחת לתמונה */
.product-info { padding: 0 0.1rem; }
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 500; color: var(--dark);
  margin-bottom: 0.3rem; letter-spacing: 0.01em;
  line-height: 1.3;
}
.product-type {
  font-size: 0.75rem; color: var(--light);
  letter-spacing: 0.1em; margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; color: var(--gold);
  letter-spacing: 0.04em;
}
.product-price-from {
  font-size: 0.72rem; color: var(--light);
  letter-spacing: 0.06em; margin-left: 0.25rem;
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page { margin-top: var(--header-h); min-height: calc(100vh - var(--header-h)); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1400px; margin: 0 auto; min-height: calc(100vh - var(--header-h)); align-items: start; }
.product-image-col { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; background: var(--off-white); }
.product-main-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-image-col:hover .product-main-img { transform: scale(1.03); }
.product-img-placeholder-lg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; color: var(--light); background: var(--off-white); }
.product-img-placeholder-lg svg { opacity: 0.2; }
.product-img-placeholder-lg span { font-size: 0.9rem; letter-spacing: 0.08em; }
.product-info-col { padding: 4rem 4rem 6rem 3rem; overflow-y: auto; }
.product-breadcrumb { font-size: 0.78rem; color: var(--light); letter-spacing: 0.08em; margin-bottom: 2rem; }
.product-breadcrumb a { color: var(--gold); transition: color var(--transition); }
.product-breadcrumb a:hover { color: var(--gold-light); }
.product-breadcrumb span { margin: 0 0.4rem; }
.product-technique-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,150,90,0.4); padding: 0.28rem 0.8rem; margin-bottom: 1.2rem; }
.product-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 500; color: var(--black); line-height: 1.2; margin-bottom: 0.6rem; }
.product-subtitle { font-size: 0.95rem; font-weight: 300; color: var(--mid); line-height: 1.7; margin-bottom: 0.4rem; }
.product-technique-desc { font-size: 0.85rem; color: var(--light); letter-spacing: 0.04em; margin-bottom: 2rem; font-style: italic; }
.product-divider { width: 40px; height: 1px; background: var(--gold); margin-bottom: 2rem; }
.purchase-type-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.8rem; font-weight: 600; }
.purchase-type-selector { display: flex; gap: 0; margin-bottom: 2rem; border: 1px solid var(--border); overflow: hidden; }
.type-option { flex: 1; padding: 0.75rem 0.5rem; text-align: center; cursor: pointer; font-family: 'Assistant', sans-serif; font-size: 0.82rem; font-weight: 500; color: var(--mid); letter-spacing: 0.04em; background: var(--white); border-left: 1px solid var(--border); transition: all 0.25s ease; user-select: none; }
.type-option:last-child { border-left: none; }
.type-option:hover { background: var(--off-white); color: var(--dark); }
.type-option.active { background: var(--dark); color: var(--white); border-color: var(--dark); }
.type-panel { display: none; animation: fadeSlideIn 0.3s ease forwards; }
.type-panel.active { display: block; }
@keyframes fadeSlideIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.original-panel-price { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--black); letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.original-panel-note { font-size: 0.82rem; color: var(--light); letter-spacing: 0.06em; margin-bottom: 2rem; }
.sold-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.2rem; border: 1.5px solid #c9a96e; background: linear-gradient(135deg,#faf3e8 0%,#f5ead8 100%); margin-bottom: 1.5rem; }
.sold-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.sold-badge-text { font-family: 'Playfair Display', serif; font-size: 0.88rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.sold-note { font-size: 0.82rem; color: var(--mid); line-height: 1.6; margin-bottom: 1.5rem; }
.size-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.7rem; font-weight: 600; }
.size-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; margin-bottom: 1.5rem; }
.size-option { padding: 0.6rem 0.4rem; border: 1px solid var(--border); text-align: center; cursor: pointer; font-family: 'Assistant', sans-serif; font-size: 0.8rem; color: var(--mid); background: var(--white); transition: all 0.22s ease; user-select: none; }
.size-option:hover { border-color: var(--gold); color: var(--dark); }
.size-option.active { border-color: var(--dark); background: var(--dark); color: var(--white); }
.size-option .size-cm { display: block; font-size: 0.72rem; color: inherit; opacity: 0.7; margin-top: 2px; }
.size-selected-price { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--black); margin-bottom: 1.8rem; min-height: 2.5rem; transition: all 0.25s ease; }
.product-actions { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.5rem; }
.btn-buy { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; padding: 1rem 2rem; background: var(--dark); color: var(--white); font-family: 'Assistant', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; cursor: pointer; border: 1.5px solid var(--dark); transition: background var(--transition), border-color var(--transition), color var(--transition); }
.btn-buy:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); }
.btn-buy:disabled { background: var(--off-white); border-color: var(--border); color: var(--light); cursor: not-allowed; }
.btn-wishlist { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; padding: 0.85rem 2rem; background: transparent; color: var(--mid); font-family: 'Assistant', sans-serif; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.08em; cursor: pointer; border: 1px solid var(--border); transition: border-color var(--transition), color var(--transition), background var(--transition); }
.btn-wishlist:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,150,90,0.04); }
.product-meta { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.7rem; }
.product-meta-row { display: flex; justify-content: space-between; font-size: 0.84rem; }
.product-meta-key { color: var(--light); letter-spacing: 0.06em; }
.product-meta-val { color: var(--dark); font-weight: 500; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-body { max-width: var(--max-w); margin: 0 auto; padding: 5rem 2.5rem 7rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-img-frame { position: relative; aspect-ratio: 3/4; background: var(--off-white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--light); width: 100%; height: 100%; }
.about-img-placeholder svg { opacity: 0.25; }
.about-img-placeholder span { font-size: 0.85rem; letter-spacing: 0.06em; }
.about-img-caption { margin-top: 1rem; font-size: 0.82rem; color: var(--light); letter-spacing: 0.05em; text-align: center; }
.about-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.about-heading { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 500; color: var(--black); line-height: 1.2; margin-bottom: 1.8rem; }
.about-text { font-size: 1rem; font-weight: 300; color: var(--mid); line-height: 1.85; margin-bottom: 1.4rem; }
.about-divider { width: 40px; height: 1px; background: var(--gold); margin: 2rem 0; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.about-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 500; color: var(--black); margin-bottom: 0.3rem; }
.about-stat-label { font-size: 0.8rem; color: var(--light); letter-spacing: 0.08em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-body { max-width: 900px; margin: 0 auto; padding: 5rem 2.5rem 7rem; display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.contact-info-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.contact-info-heading { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 500; color: var(--black); line-height: 1.3; margin-bottom: 1.5rem; }
.contact-info-text { font-size: 0.95rem; font-weight: 300; color: var(--mid); line-height: 1.8; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--mid); }
.contact-detail-item svg { color: var(--gold); flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-label { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--mid); font-weight: 500; }
.form-input, .form-textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); background: var(--white); font-family: 'Assistant', sans-serif; font-size: 0.95rem; color: var(--dark); outline: none; transition: border-color var(--transition), box-shadow var(--transition); appearance: none; -webkit-appearance: none; border-radius: 0; direction: rtl; }
.form-input:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,90,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--light); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { display: inline-block; padding: 0.85rem 2.5rem; background: var(--dark); color: var(--white); font-family: 'Assistant', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; cursor: pointer; border: 1.5px solid var(--dark); transition: background var(--transition), border-color var(--transition), color var(--transition); margin-top: 0.5rem; }
.form-submit:hover { background: var(--gold); border-color: var(--gold); }

/* ============================================================
   LOGIN / FAVORITES / CART
   ============================================================ */
.simple-page { margin-top: var(--header-h); min-height: calc(100vh - var(--header-h) - 100px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 2rem; text-align: center; }
.simple-page-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--gold); }
.simple-page-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 500; color: var(--black); margin-bottom: 0.8rem; letter-spacing: 0.02em; }
.simple-page-text { font-size: 1rem; font-weight: 300; color: var(--mid); max-width: 380px; line-height: 1.75; margin-bottom: 2rem; }
.simple-page-cta { display: inline-block; padding: 0.75rem 2rem; border: 1.5px solid var(--dark); color: var(--dark); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.1em; transition: background var(--transition), color var(--transition); }
.simple-page-cta:hover { background: var(--dark); color: var(--white); }
.login-card { width: 100%; max-width: 380px; text-align: right; }
.login-card .form-group { margin-bottom: 1.2rem; }
.login-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; flex-wrap: wrap; gap: 0.75rem; }
.login-link { font-size: 0.85rem; color: var(--gold); transition: color var(--transition); }
.login-link:hover { color: var(--gold-light); }
.login-divider { text-align: center; font-size: 0.8rem; color: var(--light); margin: 1.5rem 0; position: relative; }
.login-divider::before { content: ''; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: var(--border); }
.login-divider span { position: relative; background: var(--white); padding: 0 0.75rem; }
.cart-empty, .favorites-empty { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-image-col { position: relative; top: auto; height: 70vw; max-height: 600px; }
  .product-info-col { padding: 2.5rem 2rem 4rem; }
}
@media (max-width: 1024px) {
  .about-body { grid-template-columns: 1fr; gap: 3rem; }
  .contact-body { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 900px) {
  .categories-grid, .cat-gallery-grid, .shop-grid {
    grid-template-columns: repeat(2,1fr); max-width: 680px; margin: 0 auto;
  }
  .shop-grid { gap: 2rem 1.5rem; padding: 2rem 1.5rem 5rem; }
  .nav { gap: 1.5rem; }
  .header-inner { padding: 0 3%; }
  .category-label span { font-size: clamp(1rem,3vw,1.3rem); letter-spacing: 2px; }
  .category-card:hover .category-label span { letter-spacing: 4px; }
  .size-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .header-inner { padding: 0 5%; }
  .categories-grid, .cat-gallery-grid, .shop-grid { grid-template-columns: 1fr; max-width: 480px; }
  .shop-grid { gap: 2.5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .purchase-type-selector { flex-direction: column; }
  .type-option { border-left: none; border-top: 1px solid var(--border); }
  .type-option:first-child { border-top: none; }
  .size-grid { grid-template-columns: repeat(2,1fr); }
}


/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — Premium Arrow Cursor System [v60 GLOBAL]
   סמן חץ שחור עם מסגרת לבנה, גלובלי לכל דפי האתר.

   ארכיטקטורת Fail-Safe קריטית:
   1. cursor: none מוחל אך ורק כש-html.custom-cursor-active נוכח.
   2. הקלאס מתווסף ע"י JS אך ורק אחרי הצלחה מלאה של init.
   3. אם ה-JS נכשל - הסמן הילידי נשאר 100% גלוי.
   4. pointer-events: none על הסמן - לא חוסם קליקים.
   5. translate3d - האצה ב-GPU.
   ══════════════════════════════════════════════════════════════ */

/* ─── ה-FAIL-SAFE: הסתרת סמן ילידי רק כש-JS אותחל בהצלחה ─── */
html.custom-cursor-active,
html.custom-cursor-active body,
html.custom-cursor-active * {
  cursor: none !important;
}

/* כברירת מחדל (לפני init) - הסמן הילידי נשאר. אם JS נכשל - הוא תמיד נשאר */
/* (לא מגדירים cursor: none ב-body או html כברירת מחדל!) */

/* ─── קונטיינר הסמן הראשי ─── */
#benja-arrow-cursor {
  position: fixed;
  top: 0;
  left: 0;
  /* מיקום ראשוני מחוץ למסך - JS יזיז אותו מיד עם תנועת העכבר */
  transform: translate3d(-100px, -100px, 0);
  pointer-events: none !important;
  z-index: 2147483647 !important;
  width: 24px;
  height: 24px;
  /* הסמן עוקב את קצה האצבעון של החץ - לא מרכז האלמנט */
  margin-top: 0;
  margin-left: 0;
  /* will-change מבטיח שכבת compositor נפרדת ב-GPU */
  will-change: transform;
}

/* כשהעכבר יוצא מהחלון */
#benja-arrow-cursor.is-hidden {
  opacity: 0;
}

/* ─── החץ - SVG inline ─── */
.benja-arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  /* תזוזה מ-default state - 1.0 scale */
  transform: scale(1);
  transform-origin: 5px 3px;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.benja-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
  /* drop-shadow קל לקונטרסט נוסף על רקעים בהירים */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* ─── מצב hover על אלמנטים אינטראקטיביים ─── */
#benja-arrow-cursor.is-hover .benja-arrow {
  transform: scale(1.18);
}

#benja-arrow-cursor.is-hover .benja-arrow svg path {
  /* מסגרת לבנה בולטת יותר ב-hover */
  stroke-width: 1.8;
}

/* ─── מצב click (compress inward) ─── */
#benja-arrow-cursor.is-down .benja-arrow {
  transform: scale(0.88);
  /* duration בטווח שביקשת - 90-120ms */
  transition: transform 105ms cubic-bezier(0.4, 0, 0.6, 1);
}

#benja-arrow-cursor.is-down.is-hover .benja-arrow {
  /* גם hover וגם down - דחיסה מבחירת ה-hover */
  transform: scale(1.05);
}

/* ─── ריפל - טבעת דקה שמתפשטת ב-click ─── */
.benja-arrow-ripple {
  position: absolute;
  /* ממוקם על קצה החץ בערך */
  top: 3px;
  left: 5px;
  width: 0;
  height: 0;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* אנימציית הריפל - הופעלת על-ידי הקלאס is-ripple מה-JS */
#benja-arrow-cursor.is-ripple .benja-arrow-ripple {
  animation: benjaArrowRipple 100ms ease-out;
}

@keyframes benjaArrowRipple {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.6);
  }
  100% {
    /* רדיוס מקסימלי 10px = קוטר 20px */
    width: 20px;
    height: 20px;
    opacity: 0;
    border-color: rgba(0, 0, 0, 0);
  }
}

/* ─── Prefers-Reduced-Motion: כיבוי כל האנימציות ─── */
@media (prefers-reduced-motion: reduce) {
  .benja-arrow {
    transition: none !important;
  }
  #benja-arrow-cursor.is-hover .benja-arrow,
  #benja-arrow-cursor.is-down .benja-arrow {
    /* החלפה מיידית בלי אנימציה */
    transform: scale(1) !important;
  }
  #benja-arrow-cursor.is-ripple .benja-arrow-ripple {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* ─── מובייל ומכשירי מגע: לא מציגים את הסמן המותאם ─── */
@media (hover: none), (pointer: coarse) {
  #benja-arrow-cursor {
    display: none !important;
  }
  html.custom-cursor-active,
  html.custom-cursor-active body,
  html.custom-cursor-active * {
    cursor: auto !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — Stacked Layers System
   מבנה גלובלי לשכבות נערמות (Stacked Sections) בכל דפי האתר.
   חוקי ליבה:
   1. כל אלמנט עם .stack-section נדבק לראש המסך מתחת לכותרת.
   2. ה-z-index של כל שכבה מוגדר דרך משתנה CSS --stack-z.
   3. הכותרת הקבועה נשארת מעל הכול עם z-index מקסימלי משלה.
   4. שכבה אחרונה (.stack-final) נמתחת לכסות את ההיערמות כולה.
   5. צבעי רקע מתחלפים אוטומטית בין לבן שמנת לאוף-וייט עדין.
   ══════════════════════════════════════════════════════════════ */

/* ─── פלטת צבעי השכבות היוקרתית ─── */
:root {
  --stack-top-offset: var(--header-h);
  /* לבן שמנת חם ואלגנטי — לשכבות אי-זוגיות (1, 3, 5...) */
  --stack-bg-cream: #faf6ef;
  /* אוף-וייט עדין וחם יותר — לשכבות זוגיות (2, 4, 6...) */
  --stack-bg-warm:  #f1ebe1;
  /* גוון הפוטר — שחור אלגנטי, לא משתנה לעולם */
  --stack-bg-dark:  var(--dark);
}

/* ביטול overflow:hidden שעלול לחסום sticky על body ו-html */
html, body {
  overflow-x: clip;
}

/* ─── שכבה נערמת — מחלקה גלובלית ─── */
.stack-section {
  position: sticky;
  top: var(--stack-top-offset);
  z-index: var(--stack-z, 1);
  width: 100%;
  /* גובה מינימלי משמעותי שמעניק לכל שכבה במה מלאה */
  min-height: calc(100vh - var(--header-h));
  /* פאדינג עליון ותחתון נדיב לתחושת מרחב יוקרתית */
  padding-top: clamp(4rem, 8vh, 7rem);
  padding-bottom: clamp(4rem, 8vh, 7rem);
  /* מעבר רך של צבע רקע אם משתנה דינמית */
  transition: background 0.6s ease;
  /* חיתוך עדין בין שכבות */
  box-shadow: 0 -1px 0 rgba(13,13,13,0.04);
  /* תיבת ברירת מחדל למניעת זליגות פנימיות */
  box-sizing: border-box;
}

/* שכבה אחרונה — נמתחת לכסות סופית את ההיערמות */
.stack-section.stack-final:not(.footer-light) {
  min-height: 100vh;
}

/* הכותרת תמיד מעל כל השכבות */
.header {
  z-index: 9999 !important;
}

/* ─── z-index לכל שכבה — סדר ההיערמות ─── */
.stack-section.stack-1 { --stack-z: 1; }
.stack-section.stack-2 { --stack-z: 2; }
.stack-section.stack-3 { --stack-z: 3; }
.stack-section.stack-4 { --stack-z: 4; }
.stack-section.stack-5 { --stack-z: 5; }
.stack-section.stack-6 { --stack-z: 6; }

/* ══════════════════════════════════════════════════════════════
   חילוף צבעי רקע אוטומטי
   שכבות אי-זוגיות → לבן שמנת חם
   שכבות זוגיות   → אוף-וייט עדין
   החילוף מתבצע אוטומטית לכל .stack-section חדש שתוסיף בעתיד.
   ══════════════════════════════════════════════════════════════ */

/* ברירת מחדל: שכבה אי-זוגית (לבן שמנת) */
.stack-section {
  background: var(--stack-bg-cream);
}

/* חילוף אוטומטי לכל שכבה זוגית */
.stack-section.stack-2,
.stack-section.stack-4,
.stack-section.stack-6 {
  background: var(--stack-bg-warm);
}

/* ─── עוקפים ממוקדים על הגדרות פנימיות ישנות של ה-sections ─── */
/* הסקשנים המקוריים הגדירו ב-style רקע משלהם — כאן אנחנו עוקפים */
section.stack-section,
section.stack-section.categories,
section.stack-section.lifestyle-section {
  background: var(--stack-bg-cream);
}

section.stack-section.stack-2,
section.stack-section.stack-4,
section.stack-section.stack-6 {
  background: var(--stack-bg-warm) !important;
}

/* ─── הפוטר השחור הישן: חל רק על פוטרים שאינם footer-light ─── */
.stack-section.footer:not(.footer-light),
footer.stack-section:not(.footer-light),
footer.stack-section.footer:not(.footer-light),
footer.stack-section.stack-final:not(.footer-light) {
  background: var(--stack-bg-dark) !important;
  color: var(--white);
}

/* ─── מובייל: ביטול ההיערמות, שמירה על הצבעים והפאדינג ─── */
@media (max-width: 768px) {
  .stack-section {
    position: relative;
    top: auto;
    min-height: auto;
    padding-top: clamp(3rem, 6vh, 5rem);
    padding-bottom: clamp(3rem, 6vh, 5rem);
  }
  .stack-section.stack-final {
    min-height: auto;
  }
}

/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — "הסיפור שלי" Section
   ארכיטקטורה זורמת לחלוטין:
   - הסקשן מחוץ למערכת ה-stack-section. אין sticky, אין נעילה.
   - הגלילה זורמת טבעית מהמשתמש אל הטקסט אל הפוטר.
   - מצב סגור: רק השער מוצג, כל היתר ב-display:none.
   ══════════════════════════════════════════════════════════════ */

.my-story {
  position: relative;
  width: 100%;
  /* גובה גמיש לחלוטין — לא ננעל, לא תופס סקרול */
  height: auto;
  min-height: auto;
  /* גוון פשתן עמוק (linen) — מובחן ויזואלית מהשמנת הבהיר באתר */
  background: #e8dfd0;
  padding-top: clamp(5rem, 8vh, 7rem);
  /* padding-bottom נדיב להפרדה בטוחה מהפוטר */
  padding-bottom: 120px;
  z-index: 1;
}

/* ════════ שלב 1: השער (Two-Column Layout) — מצב סגור ════════ */

.story-gate {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* גריד דו-טורי סימטרי */
/* גריד דו-טורי אסימטרי: 58% טקסט / 42% תמונה, יישור אנכי למרכז */
.story-gate-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* טור ימני: טקסט, טיזר וכפתור */
.story-gate-text {
  position: relative;
  text-align: right;
  /* הטקסט מתפרס באופן טבעי, יישור הגובה מתבצע ברמת הגריד */
  padding-top: 0;
}

/* מירכאות ענקיות בסגנון drop-cap — צמודות לצד ימין של מילת "קוראים" */
.story-gate-quote {
  float: right;
  font-family: 'EB Garamond', serif;
  font-size: clamp(4rem, 6.5vw, 5.5rem);
  font-weight: 600;
  line-height: 0.85;
  color: #b8965a;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
  font-style: italic;
  /* רווח מהטקסט שזורם משמאל לגרש (בעברית RTL: הטקסט מימין לאלמנט float-right
     צריך רווח קטן בצד שמאל של הגרש) */
  margin: -0.2rem 0 0 0.7rem;
  /* מבטיח שגובה הגרש לא ידחוף את הפסקה מעלה */
  shape-outside: margin-box;
}

.story-gate-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 500;
  color: #b8965a;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  padding-right: 1.5rem;
}

/* טיזר מורחב — כמה פסקאות עם הנקודה הדרמטית בסוף */
.story-gate-teaser {
  margin: 0 0 2rem;
  padding-right: 1.5rem;
}

.story-gate-teaser p {
  font-family: 'Assistant', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.7;
  margin: 0 0 1.1rem;
  letter-spacing: 0;
}

/* "ואז הגיע השבעה באוקטובר..." — מודגש כנקודת מפנה */
.story-gate-teaser .story-gate-cliff {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #0d0d0d;
  font-weight: 500;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

/* כפתור זהב יוקרתי */
.story-gate-btn {
  display: inline-block;
  align-self: flex-start;
  margin-right: 1.5rem;
  padding: 1.1rem 3rem;
  background: #b8965a;
  color: #faf6ef;
  border: 1.5px solid #b8965a;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.18s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(184, 150, 90, 0.3);
}

.story-gate-btn:hover {
  background: #d4a857;
  border-color: #d4a857;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 150, 90, 0.45);
}

.story-gate-btn:active {
  transform: translateY(0);
}

/* טור שמאלי: התמונה הריבועית 650px עם הזזה אסימטרית */
.story-gate-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  /* מרגין שלילי שמאלי כדי לפרוץ את הסימטריה ולתת לתמונה נוכחות עצמאית */
  margin-left: -5%;
}

.story-gate-frame {
  position: relative;
  width: min(650px, 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ede9e1;
  border: 1px solid rgba(184, 150, 90, 0.25);
  box-shadow:
    0 10px 32px rgba(13, 13, 13, 0.18),
    0 3px 8px rgba(13, 13, 13, 0.1);
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s ease;
  will-change: transform;
  cursor: default;
}

.story-gate-frame:hover {
  transform: scale(1.03);
  box-shadow:
    0 16px 48px rgba(13, 13, 13, 0.25),
    0 5px 12px rgba(13, 13, 13, 0.15);
}

.story-gate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-gate.is-closed {
  display: none;
}

/* ════════ שלב 2: מצב נחשף — זרימה טבעית ════════ */

.story-reveal[hidden] {
  display: none !important;
}

.story-reveal {
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;
  margin-top: 3rem;
  /* קונטיינר זורם — אין sticky, אין fixed positioning שתופס סקרול */
}

.story-reveal.is-visible {
  opacity: 1;
}

/* רקע התמונה: ABSOLUTE לאזור הסיפור בלבד.
   background-attachment: fixed יוצר אפקט פרלקס נחמד
   והרקע יחליק טבעית עם הגלילה של המשתמש. */
.story-reveal-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/ben-profile.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
  pointer-events: none;
}

/* overlay שמנת ב-opacity 0.85 — הפנים בעדינות מאחור */
.story-reveal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 246, 239, 0.85);
  z-index: 1;
  pointer-events: none;
}

/* כרטיסיית הטקסט — רוחב פרימיום של 1400px ממורכזת */
.story-card {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem clamp(2rem, 5%, 5rem);
  /* גוון שמנת בהיר שמבליט את הכרטיסייה מעל רקע הפשתן של הסקשן */
  background: rgba(255, 250, 242, 0.97);
  border: 1px solid rgba(184, 150, 90, 0.22);
  box-shadow:
    0 4px 16px rgba(13, 13, 13, 0.08),
    0 20px 60px rgba(13, 13, 13, 0.14);
}

/* ─── כפתור X לסגירה בפינה השמאלית העליונה ─── */
.story-close-x {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(13, 13, 13, 0.3);
  border-radius: 50%;
  color: #0d0d0d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.story-close-x svg {
  width: 18px;
  height: 18px;
  display: block;
}

.story-close-x:hover {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #faf6ef;
  transform: rotate(90deg);
}

/* ─── כפתור סגירה מלבני בתחתית הסיפור ─── */
.story-close-bottom {
  display: block;
  margin: 3.5rem auto 0;
  padding: 1.1rem 2.8rem;
  background: transparent;
  color: #0d0d0d;
  border: 1px solid #0d0d0d;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.story-close-bottom:hover {
  background: #b8965a;
  color: #faf6ef;
  border-color: #b8965a;
}

.story-card-head {
  margin-bottom: 3rem;
  text-align: center;
}

.story-eyebrow {
  font-family: 'Assistant', sans-serif;
  font-size: 0.78rem;
  color: #b8965a;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.story-headline {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: #0d0d0d;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.story-divider {
  width: 60px;
  height: 1px;
  background: #b8965a;
  margin: 0 auto;
}

/* טקסט המונולוג: 22px, פחם חד, ריווח שורות עשיר */
.story-body p {
  font-family: 'Assistant', sans-serif;
  font-size: 22px;
  line-height: 1.85;
  color: #0d0d0d;
  margin-bottom: 1.6rem;
  text-align: right;
  letter-spacing: 0;
  /* רוחב מקסימלי לפסקה כדי לשמור על קריאות גם בקונטיינר רחב */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.story-body p.story-emph {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.7rem;
  color: #0d0d0d;
  text-align: center;
  margin: 2.5rem auto;
  font-weight: 500;
  letter-spacing: 0.03em;
  max-width: 900px;
}

/* ════════ שלב 3: חתימה ════════ */

.story-signature {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(184, 150, 90, 0.28);
  text-align: center;
}

/* פורטרט אבא — 600px מקסימום, lightbox פעיל */
.story-portrait {
  margin: 0 auto 2.5rem;
  max-width: 600px;
  cursor: zoom-in;
}

.story-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow:
    0 8px 24px rgba(13, 13, 13, 0.2),
    0 3px 8px rgba(13, 13, 13, 0.12);
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s ease;
}

.story-portrait:hover .story-portrait-img {
  transform: scale(1.02);
  box-shadow:
    0 14px 40px rgba(13, 13, 13, 0.3),
    0 5px 12px rgba(13, 13, 13, 0.18);
}

/* כפתור "בקרו בגלריה" — זהב מלא */
.story-cta {
  display: inline-block;
  margin: 1.5rem auto 3rem;
  padding: 1.05rem 3rem;
  background: #b8965a;
  color: #faf6ef;
  border: 1.5px solid #b8965a;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.18s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(184, 150, 90, 0.3);
}

.story-cta:hover {
  background: #d4a857;
  border-color: #d4a857;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 150, 90, 0.45);
}

/* ────── טופס "כתבו לי" — קונטיינר 500px ────── */
.story-form {
  max-width: 500px;
  margin: 2.5rem auto 0;
  text-align: right;
}

.story-form-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: #0d0d0d;
  text-align: center;
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

.story-form-input,
.story-form-textarea {
  display: block;
  width: 100%;
  padding: 1rem 1.15rem;
  background: #f5efe4;
  border: 1px solid rgba(184, 150, 90, 0.45);
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  color: #0d0d0d;
  border-radius: 0;
  margin-bottom: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.story-form-input::placeholder,
.story-form-textarea::placeholder {
  color: #8a7a5a;
  opacity: 0.85;
}

.story-form-input:focus,
.story-form-textarea:focus {
  outline: none;
  border-color: #b8965a;
  background: #fffaf2;
  box-shadow: 0 0 0 3px rgba(184, 150, 90, 0.15);
}

.story-form-input.is-prefilled {
  background: #ede5d5;
  color: #5c5c5c;
  cursor: not-allowed;
}

.story-form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
  font-family: 'Assistant', sans-serif;
}

.story-form-submit {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 1.05rem 1rem;
  background: #0d0d0d;
  color: #faf6ef;
  border: none;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.25s ease;
}

.story-form-submit:hover {
  background: #b8965a;
}

.story-form-submit:disabled {
  background: #5c5c5c;
  cursor: default;
}

/* ────── Lightbox לפורטרט אבא בלבד ────── */
.story-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
  animation: storyLBFade 0.25s ease;
}

.story-lightbox-stage {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  z-index: 1;
  animation: storyLBStage 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-lightbox-stage img {
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.story-lightbox-close {
  position: absolute;
  top: -45px;
  left: -45px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.story-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

@keyframes storyLBFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes storyLBStage {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1);    }
}

/* ────── רספונסיביות ────── */
@media (max-width: 900px) {
  /* השער עובר לעמודה יחידה במסכים צרים */
  .story-gate-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .story-gate-text {
    text-align: center;
    padding-top: 2.5rem;
    order: 1;
  }
  /* v=33: gap reduction + quote inline reposition for mobile */
  .my-story {
    padding-top: 1.5rem !important;
  }
  /* v=35: structured editorial typography — intro/body right-aligned,
   * impact lines centered bold unified, no italic mix */
  .story-gate-teaser {
    direction: rtl !important;
  }
  /* Common body copy reset */
  .story-gate-teaser p {
    font-family: 'Assistant', sans-serif !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    color: #1a1a1a !important;
    font-style: normal !important;
    direction: rtl !important;
    margin: 0 0 1rem !important;
  }
  /* Intro row: justified word-style, inline quote prefix
   * v=38: text-align-last centers the final trailing line */
  .story-gate-teaser .story-gate-intro {
    text-align: justify !important;
    text-align-last: center !important;
    text-justify: inter-word !important;
    padding: 0 1.25rem !important;
  }
  /* Body rows: justified word-style with lateral padding
   * v=38: text-align-last centers the final trailing line */
  .story-gate-teaser .story-gate-body {
    text-align: justify !important;
    text-align-last: center !important;
    text-justify: inter-word !important;
    padding: 0 1.25rem !important;
  }
  /* Impact rows: centered, unified bold accent, NO italic */
  .story-gate-teaser .story-gate-impact {
    text-align: center !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-family: 'Assistant', sans-serif !important;
    color: #0d0d0d !important;
    margin: 0 0 0.5rem !important;
  }
  /* v=36: artist statement — standalone centered, uniform breathing room */
  .story-gate-teaser .story-gate-impact--artist {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  /* Wartime block: extra breathing room above to separate from business paragraph */
  .story-gate-teaser .story-gate-impact--war:first-of-type,
  .story-gate-teaser .story-gate-body + .story-gate-impact--war {
    margin-top: 1.25rem !important;
  }
  /* Inline gold quote glyph - subtle, integrated with intro line */
  .story-gate-quote {
    display: inline !important;
    float: none !important;
    font-family: 'EB Garamond', serif !important;
    font-size: 1.4em !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #b8965a !important;
    opacity: 0.55 !important;
    margin-left: 0.25rem !important;
    vertical-align: -0.05em !important;
  }
  .story-gate-title,
  .story-gate-teaser {
    padding-right: 0;
  }
  /* v=34: old .story-gate-teaser p override removed - replaced by editorial rules above */
  .story-gate-btn {
    align-self: center;
    margin-right: 0;
  }
  .story-gate-visual {
    order: 2;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .story-reveal-bg {
    background-attachment: scroll;
  }
  .story-card {
    padding: 3rem 1.4rem;
    max-width: 100%;
  }
  .story-close-x {
    top: 1rem;
    left: 1rem;
    width: 34px;
    height: 34px;
  }
  .story-body p {
    font-size: 18px;
    line-height: 1.8;
  }
  .story-body p.story-emph {
    font-size: 1.3rem;
  }
  .story-close-bottom {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 360px;
  }
  .story-lightbox-close {
    top: -42px;
    left: 0;
  }
}

@media (max-width: 480px) {
  .story-gate-frame {
    width: min(340px, 88vw);
  }
  .story-gate-btn,
  .story-cta {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — FAQ Section (Premium Accordion)
   ממוקם בין סקשן הסיפור לפוטר.
   רוחב 850px ממורכז, קווים מפרידים עדינים, chevron מסתובב.
   ══════════════════════════════════════════════════════════════ */

.faq-section {
  position: relative;
  background: #faf6ef;
  padding-top: clamp(4rem, 8vh, 7rem);
  padding-bottom: 120px;
  z-index: 1;
}

.faq-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

/* כותרת המדור */
.faq-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 500;
  color: #b8965a;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0 0 3rem;
}

/* רשימת השאלות */
.faq-list {
  width: 100%;
}

/* שורת שאלה בודדת */
.faq-item {
  border-bottom: 1px solid rgba(184, 150, 90, 0.22);
  /* אנימציה לקו התחתון בעת פתיחה */
  transition: border-color 0.3s ease;
}

.faq-item:first-child {
  border-top: 1px solid rgba(184, 150, 90, 0.22);
}

.faq-item.is-open {
  border-bottom-color: rgba(184, 150, 90, 0.45);
}

/* כפתור השאלה */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: right;
  cursor: pointer;
  font-family: 'Assistant', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #0d0d0d;
  letter-spacing: 0;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: #b8965a;
}

.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(184, 150, 90, 0.4);
  outline-offset: 4px;
}

.faq-q-text {
  flex: 1;
  text-align: right;
}

/* שורה פתוחה — טקסט בזהב */
.faq-item.is-open .faq-question {
  color: #b8965a;
}

/* החץ העדין (chevron) */
.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #5c5c5c;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
  flex-shrink: 0;
}

.faq-chevron svg {
  width: 100%;
  height: 100%;
}

.faq-question:hover .faq-chevron {
  color: #b8965a;
}

/* חץ מסובב 180 מעלות בעת פתיחה */
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #b8965a;
}

/* תיבת התשובה — אנימציית slide */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 0 1.75rem;
}

.faq-answer-inner p {
  font-family: 'Assistant', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1a1a1a;
  margin: 0;
  text-align: right;
  letter-spacing: 0;
}

/* כפתור CTA פנימי בתוך תשובה (למשל מערכת ההדמיה בתשובה 4) */
.faq-inline-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: #0d0d0d;
  border: 1px solid #0d0d0d;
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.faq-inline-cta:hover {
  background: #b8965a;
  color: #faf6ef;
  border-color: #b8965a;
}

/* מרכוז הכפתור בתוך התשובה */
.faq-answer-inner {
  text-align: right;
}
.faq-answer-inner .faq-inline-cta {
  display: block;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

/* ────── רספונסיביות ל-FAQ ────── */
@media (max-width: 600px) {
  .faq-section {
    padding-bottom: 80px;
  }
  .faq-question {
    font-size: 1.05rem;
    padding: 1.25rem 0;
    gap: 1rem;
  }
  .faq-chevron {
    width: 20px;
    height: 20px;
  }
  .faq-answer-inner p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — Symmetric Light Footer (v40)
   מבנה חד-קומתי מאוזן: בלוק מותג שמאל (35%) + 3 טורי ניווט (20% כל אחד)
   האייקונים החברתיים בתוך טור יצירת קשר לאיזון גובה
   שורת זכויות יוצרים ממורכזת בתחתית
   ══════════════════════════════════════════════════════════════ */

/* ─── 1. ה-FOOTER הראשי: רקע אבן מוזיאון אטום + קו זהב עליון ─── */
footer.footer.footer-light,
.footer.footer-light {
  background: #E8E4DC !important;
  color: #0d0d0d !important;
  border-top: 1px solid rgba(184, 150, 90, 0.55) !important;
  padding: 3.5rem 60px 1.75rem !important;
  min-height: auto !important;
  position: relative !important;
  top: auto !important;
  z-index: 100 !important;
  transition: none !important;
  isolation: isolate;
}

/* כיבוי הגדרות hover גלובליות שעלולות לצבוע קישורים לזהב */
.footer.footer-light a {
  color: #0d0d0d !important;
  text-decoration: none !important;
}

.footer.footer-light .footer-brand-logo {
  color: inherit !important;
}

/* ─── 2. הקונטיינר הפנימי הרחב: 1600px עם align-items flex-start ─── */
.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  /* יישור לקו עליון אחיד - כותרות הזהב והלוגו על אותו baseline */
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: right;
  width: 100%;
}

/* ─── 3. עמודות נעולות: 20% (ניווט) + 35% (מותג) + flex-shrink 0 ─── */
.footer-col {
  flex-shrink: 0;
  flex-grow: 0;
  width: 20%;
  min-width: 0;
}

.footer-brand-col {
  flex-shrink: 0;
  flex-grow: 0;
  width: 35%;
  min-width: 0;
  /* מבנה אנכי: לוגו למעלה, טקסט מתחתיו, הכל ממורכז */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0;
}

/* ─── 4. כותרת עמודה: זהב עמוק, ללא קווים ─── */
.footer-col-title {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: #a47e3f;
  letter-spacing: 0.06em;
  margin: 0 0 1.4rem;
  padding: 0;
  border: none;
  line-height: 1.2;
}

/* ─── 5. קישורי הניווט: 16px פחם, hover עם letter-spacing בלבד ─── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  line-height: 2.2;
}

.footer-links a {
  font-family: 'Assistant', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #0d0d0d !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  display: inline-block;
  transition: letter-spacing 0.4s ease;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-links a:active {
  color: #0d0d0d !important;
  letter-spacing: 0.15em;
  text-decoration: none !important;
}

/* ─── 6. עמודת המותג: לוגו 140px ממורכז + שורה מורכבת מתחתיו ─── */

.footer-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  width: auto;
  height: auto;
  text-decoration: none !important;
}

.footer-brand-logo img {
  width: auto !important;
  height: auto !important;
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* קונטיינר השורה המורכבת תחת הלוגו */
.footer-brand-tagline {
  font-family: 'EB Garamond', serif;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  color: #0d0d0d;
  letter-spacing: 0.08em;
}

/* "בן פרץ" - גדול, בולט ונוכח */
.footer-brand-name {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: #0d0d0d;
  letter-spacing: 0.12em;
}

/* המפריד "|" וההמשך - דקים יותר */
.footer-brand-suffix {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  color: #0d0d0d;
  letter-spacing: 0.08em;
  font-style: italic;
}

/* ─── 7. עמודת "יצירת קשר": קישורים + אייקונים חברתיים בתחתיתה ─── */
.footer-contact {
  text-align: right;
}

.footer-contact .footer-col-title {
  text-align: right;
}

/* רצועת אייקונים חברתיים תחת מספר הטלפון - איזון גובה הטורים */
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  /* מרווח מעל - הפרדה עדינה מהטלפון שמעליו */
  margin-top: 1.4rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #0d0d0d !important;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social a:hover {
  color: #b8965a !important;
  border-color: rgba(184, 150, 90, 0.4);
  transform: translateY(-2px);
}

/* ─── 8. שורת חתימה תחתונה ממורכזת ─── */
.footer-bottom {
  max-width: 1600px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 150, 90, 0.28);
  /* ממורכז לחלוטין אופקית ואנכית */
  text-align: center;
  font-family: 'Assistant', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #5c5c5c;
  letter-spacing: 0.05em;
}

/* ─── רספונסיביות ─── */
@media (max-width: 1100px) {
  footer.footer.footer-light,
  .footer.footer-light {
    padding-left: clamp(1.5rem, 4vw, 3rem) !important;
    padding-right: clamp(1.5rem, 4vw, 3rem) !important;
  }
  .footer-brand-name {
    font-size: 20px;
  }
}

@media (max-width: 960px) {
  .footer-inner {
    flex-wrap: wrap;
  }
  .footer-col {
    width: 33.33%;
  }
  .footer-brand-col {
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(184, 150, 90, 0.22);
  }
}

@media (max-width: 640px) {
  .footer-col {
    width: 100%;
    text-align: center;
  }
  .footer-col-title,
  .footer-contact .footer-col-title {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — Contact Page (contact.html) [v57 SPECIFICITY BYPASS]
   קונספט: 19px override אגרסיבי, עיגולי שלבים חוזרים, אייקוני קו לקשר.
   הערה: סקציה זו לא נוגעת בפוטר.
   ══════════════════════════════════════════════════════════════ */

/* ─── 1. CSS Override Aggressive — 19px לכל הטקסטים ─── */
.contact-page p,
.contact-page .contact-card-subtitle,
.contact-page .contact-channels li,
.contact-page .contact-hours-list li,
.contact-page .contact-hours-time,
.contact-page .contact-steps li,
.contact-page .contact-form-label,
.contact-page .contact-form-input,
.contact-page .contact-form-textarea,
.contact-page .contact-form-select {
  font-size: 19px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

/* labels מעל השדות - שחור עבה (חריג מוצדק) */
.contact-page .contact-form-label {
  color: #000000 !important;
  font-weight: 600 !important;
}

/* טקסט פנימי בשדות - אפור רך */
.contact-page .contact-form-input,
.contact-page .contact-form-textarea,
.contact-page .contact-form-select {
  color: #757575 !important;
}

.contact-page .contact-form-input::placeholder,
.contact-page .contact-form-textarea::placeholder {
  color: #757575 !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  opacity: 1;
}

/* טקסטים אחרים - פחם */
.contact-page p,
.contact-page .contact-card-subtitle,
.contact-page .contact-channels li,
.contact-page .contact-hours-list li,
.contact-page .contact-steps li {
  color: #000000 !important;
}

/* ─── 2. הקנבס ─── */
body.contact-page {
  background: #FAF6EE;
  color: #000000;
}

.contact-main {
  background: #FAF6EE;
  max-width: 1400px;
  margin: 0 auto;
  padding: 160px clamp(1.5rem, 4vw, 3rem) 120px;
  box-sizing: border-box;
}

/* ─── 3. כותרת ה-Hero ─── */
.contact-page-title {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', 'EB Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0 auto 1.25rem;
  max-width: 920px;
}

.contact-page-subtitle {
  display: block;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

/* ─── 4. גריד שני כרטיסים ─── */
.contact-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid #EAE6DF;
  border-radius: 3px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.015);
  padding: 40px;
  box-sizing: border-box;
  display: block;
  flex: 0 1 520px;
  min-width: 480px;
  max-width: 560px;
}

/* כותרות הכרטיסים */
.contact-card-title {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', 'EB Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.005em;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.contact-card-subtitle {
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  margin: 0 0 1.5rem;
}

.contact-card-divider {
  border: none;
  border-bottom: 1px solid #EAE6DF;
  margin: 26px 0;
}

/* כותרות סקציה פנימיות */
.contact-section-label {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 1rem;
  display: block;
  line-height: 1.3;
}

/* ─── 5. השלבים - חזרת עיגולים מיקרו 24px ─── */
.contact-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.contact-steps li {
  /* פלקס: עיגול וטקסט באותה שורה ממורכזים */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  /* גאפ אנכי 14px (7+7 padding) */
  padding: 7px 0;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  counter-increment: step;
}

.contact-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #000000;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  line-height: 1;
}

/* ─── 6. פרטי קשר עם אייקוני קו ─── */
.contact-channels {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-channels li {
  /* פלקס: אייקון וטקסט בשורה */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  padding: 5px 0;
}

.contact-channels li svg {
  width: 20px;
  height: 20px;
  color: #000000;
  flex-shrink: 0;
  stroke-width: 1.4;
}

.contact-channels li a {
  color: #000000;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: letter-spacing 0.3s ease;
  display: inline-block;
}

.contact-channels li a:hover {
  letter-spacing: 0.06em;
}

/* שעות פעילות עם תיקון RTL */
.contact-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-hours-list li {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: 16px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  padding: 4px 0;
}

.contact-hours-day {
  font-weight: 600 !important;
  min-width: 120px;
  color: #000000;
}

.contact-hours-time {
  display: inline-block;
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  letter-spacing: 0.02em;
}

/* ─── 7. רשתות חברתיות ─── */
.contact-social-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 0.4rem;
}

.contact-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #000000;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-social-row a svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke-width: 1.5;
}

.contact-social-row a:hover {
  border-color: #000000;
  transform: translateY(-2px);
}

/* ─── 8. הטופס ─── */
.contact-form-fields {
  display: block;
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-label {
  display: block;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}

/* שדות INPUT עם קו תחתון */
.contact-form-input,
.contact-form-select {
  width: 100%;
  height: 50px;
  padding: 0 0 8px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #000000;
  border-radius: 0;
  box-sizing: border-box;
  text-align: right;
  outline: none;
  letter-spacing: 0.01em;
  transition: border-bottom-color 0.3s ease;
}

/* TEXTAREA כקופסה מלבנית */
.contact-form-textarea {
  width: 100%;
  height: 115px;
  padding: 14px 16px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  background: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 2px;
  box-sizing: border-box;
  text-align: right;
  outline: none;
  letter-spacing: 0.01em;
  line-height: 1.55;
  resize: none;
  transition: border-color 0.3s ease;
}

.contact-form-input:focus,
.contact-form-select:focus {
  outline: none;
  border-bottom-width: 2px;
}

.contact-form-textarea:focus {
  outline: none;
  border-width: 1.5px;
}

/* Dropdown מותאם */
.contact-form-select-wrap {
  position: relative;
  width: 100%;
}

.contact-form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-inline-start: 28px;
  background-image: none;
}

.contact-form-select-wrap::after {
  content: '';
  position: absolute;
  inset-inline-start: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid #000000;
  border-bottom: 1.5px solid #000000;
  transform: translateY(-80%) rotate(-45deg);
  pointer-events: none;
}

.contact-form-select option {
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 16px;
  color: #000000;
  background: #FFFFFF;
}

/* Helper text */
.contact-form-helper {
  display: block;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #757575 !important;
  line-height: 1.5 !important;
  margin-top: 0.55rem;
}

/* ─── 9. הכפתור 20px מתחת ל-textarea ─── */
.contact-form-submit {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 20px;
  padding: 0 2rem;
  background: #000000;
  color: #FFFFFF !important;
  border: 1px solid #000000;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.4s ease;
}

.contact-form-submit:hover {
  background: #2a2018;
}

.contact-form-submit-helper {
  display: block;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #757575 !important;
  line-height: 1.5 !important;
  text-align: center;
  margin-top: 0.85rem;
}

/* ─── 10. רספונסיביות מובייל ─── */
@media (max-width: 1100px) {
  .contact-card {
    min-width: 0;
    flex: 1 1 0;
  }
}

@media (max-width: 768px) {
  .contact-page p,
  .contact-page .contact-card-subtitle,
  .contact-page .contact-channels li,
  .contact-page .contact-hours-list li,
  .contact-page .contact-hours-time,
  .contact-page .contact-steps li,
  .contact-page .contact-form-label,
  .contact-page .contact-form-input,
  .contact-page .contact-form-textarea,
  .contact-page .contact-form-select,
  .contact-page .contact-form-input::placeholder,
  .contact-page .contact-form-textarea::placeholder {
    font-size: 16px !important;
  }
  .contact-main {
    padding: 100px 1.25rem 70px;
  }
  .contact-page-title {
    font-size: 32px;
  }
  .contact-grid {
    flex-direction: column-reverse;
    gap: 24px;
    align-items: stretch;
  }
  .contact-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
    padding: 26px;
  }
  .contact-card-title {
    font-size: 26px;
  }
  .contact-section-label {
    font-size: 20px;
  }
  .contact-form-submit {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — Global Floating WhatsApp Button + Product CTA
   [v58 GLOBAL ADDITIONS]
   הערה: סקציה זו לא נוגעת בפוטר ולא בעמודים קיימים.
   ══════════════════════════════════════════════════════════════ */

/* ─── 1. כפתור וואטסאפ צף גלובלי - שמאל למטה ─── */
.floating-wa-wrap {
  position: fixed;
  bottom: 30px;
  left: 30px;
  /* z-index 999 - מתחת לסמן (2147483647) ומעל התוכן */
  z-index: 999;
  /* מאפיין שמור: bottom 96px יישאר פנוי לאייקון נגישות עתידי */
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #1A1A1A;
  color: #FFFFFF;
  border-radius: 50%;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.floating-wa-btn svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  stroke-width: 1.6;
  fill: none;
  display: block;
}

.floating-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* tooltip צף ליד הכפתור - desktop בלבד */
.floating-wa-tooltip {
  position: absolute;
  bottom: 50%;
  left: calc(100% + 14px);
  transform: translateY(50%);
  background: #FDFBF7;
  border: 1px solid #EAE6DF;
  color: #1A1A1A;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.floating-wa-wrap:hover .floating-wa-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ─── 2. CTA דינמי בעמוד המוצר ─── */
.product-cta-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 2px 0;
  position: relative;
  transition: letter-spacing 0.3s ease;
}

/* קו תחתון דק שמתפרס ב-hover */
.product-cta-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #1A1A1A;
  transform: scaleX(0.4);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.product-cta-link:hover {
  letter-spacing: 0.06em;
}

.product-cta-link:hover::after {
  transform: scaleX(1);
}

/* הסתרה כברירת מחדל - מציגים רק את המקטע המתאים לקטגוריה */
.product-cta-text-originals,
.product-cta-text-upgraded,
.product-cta-text-standard {
  display: none;
}

/* בחירה דינמית של הטקסט לפי data-product-category על ה-body */
body[data-product-category="originals"] .product-cta-text-originals,
body[data-product-category="upgraded"] .product-cta-text-upgraded,
body[data-product-category="standard"] .product-cta-text-standard,
body:not([data-product-category]) .product-cta-text-standard {
  display: inline;
}

/* ─── 3. רספונסיביות מובייל ─── */
@media (max-width: 768px) {
  .floating-wa-wrap {
    bottom: 20px;
    left: 20px;
  }
  .floating-wa-btn {
    width: 46px;
    height: 46px;
  }
  .floating-wa-btn svg {
    width: 21px;
    height: 21px;
  }
  /* tooltip מוסתר במובייל - אין hover */
  .floating-wa-tooltip {
    display: none;
  }
  .product-cta-link {
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════
   BENJA GALLERY — Accessibility System [v64 BUG FIX OVERRIDE]
   תיקונים קריטיים:
   - פאנל מעל ההדר (z-index 10005)
   - הסמן המותאם לא קופא ב-focus-mode
   - High Contrast ממופה ספציפית, ללא blackout
   - הדגשת קישורים כ-underline נקי
   הערה: לא נוגעת בפוטר ולא בסמן (v60).
   ══════════════════════════════════════════════════════════════ */

/* ─── 1. כפתור הנגישות הצף ─── */
.a11y-trigger-wrap {
  position: fixed;
  bottom: 96px;
  left: 30px;
  z-index: 999;
}

.a11y-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #1A1A1A;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}

.a11y-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.a11y-trigger-btn svg {
  width: 26px;
  height: 26px;
  stroke: #FFFFFF;
  stroke-width: 1.6;
  fill: none;
  display: block;
}

.a11y-trigger-btn .a11y-icon-x { display: none; }
html.a11y-active .a11y-trigger-btn .a11y-icon-human { display: none; }
html.a11y-active .a11y-trigger-btn .a11y-icon-x { display: block; }

/* tooltip - מילה אחת בלבד "נגישות" */
.a11y-trigger-tooltip {
  position: absolute;
  bottom: 50%;
  left: calc(100% + 14px);
  transform: translateY(50%);
  background: #FDFBF7;
  border: 1px solid #EAE6DF;
  color: #1A1A1A;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.a11y-trigger-wrap:hover .a11y-trigger-tooltip {
  opacity: 1;
  visibility: visible;
}

.a11y-trigger-tooltip .a11y-tip-on { display: none; }
html.a11y-active .a11y-trigger-tooltip .a11y-tip-default { display: none; }
html.a11y-active .a11y-trigger-tooltip .a11y-tip-on { display: inline; }

/* ─── 2. סרגל עליון גלובלי ─── */
.a11y-top-bar {
  position: fixed;
  top: -40px;
  left: 0;
  right: 0;
  width: 100%;
  height: 40px;
  background: #1A1A1A;
  color: #FDFBF7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  /* מעל ההדר (1004) אבל מתחת לפאנל (10005) */
  z-index: 10004;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: top 0.3s ease;
  box-sizing: border-box;
}

html.a11y-active .a11y-top-bar {
  top: 0;
}

.a11y-top-bar-msg {
  order: 2;
  color: #FDFBF7;
}

.a11y-top-bar-reset {
  order: 1;
  color: #FDFBF7;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.a11y-top-bar-reset:hover {
  text-decoration-thickness: 2px;
}

/* ─── 3. הפאנל - מעל ההדר עם z-index גבוה ─── */
.a11y-panel {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0;
  width: 360px;
  max-width: 100vw;
  height: 100vh !important;
  background: #FFFFFF;
  border-right: 1px solid #EAE6DF;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.08);
  /* פדינג עליון 40px - לא נחנק */
  padding: 40px 36px 36px;
  /* מעל ההדר ומעל הסרגל העליון */
  z-index: 10005 !important;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-sizing: border-box;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  display: flex;
  flex-direction: column;
}

html.a11y-panel-open .a11y-panel {
  transform: translateX(0);
}

.a11y-panel * {
  direction: rtl;
  text-align: right;
}

/* כפתור סגירה */
.a11y-panel-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #EAE6DF;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.a11y-panel-close:hover {
  border-color: #000000;
  transform: rotate(90deg);
}

.a11y-panel-close svg {
  width: 14px;
  height: 14px;
  stroke: #000000;
  stroke-width: 2;
  fill: none;
}

/* Master Reset */
.a11y-master-reset {
  display: block;
  width: 100%;
  margin: 12px 0 28px;
  padding: 14px 18px;
  background: #1A1A1A;
  color: #FFFFFF;
  border: 1px solid #1A1A1A;
  border-radius: 3px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 18px !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
}

.a11y-master-reset:hover {
  background: #000000;
}

/* כותרות קטגוריה */
.a11y-cat-title {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EAE6DF;
  line-height: 1.3;
}

.a11y-cat {
  margin-bottom: 26px;
}

/* קפסולת גודל פונט */
.a11y-font-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid #EAE6DF;
  border-radius: 3px;
  overflow: hidden;
}

.a11y-font-btn {
  flex: 1 1 auto;
  height: 46px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-left: 1px solid #EAE6DF;
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: 18px !important;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.a11y-font-btn:last-child {
  border-left: none;
}

.a11y-font-btn:hover {
  background: #F5F5F3;
}

.a11y-font-label {
  flex: 2 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF6EE;
  color: #000000;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0 12px;
  border-left: 1px solid #EAE6DF;
}

/* כפתורי toggle */
.a11y-toggle {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 16px;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #EAE6DF;
  border-radius: 3px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 18px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: right;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.a11y-toggle:hover {
  border-color: #000000;
}

.a11y-toggle.is-active {
  background: #1A1A1A;
  color: #FFFFFF;
  border-color: #1A1A1A;
}

/* ─── 6. בלוק פידבק אינטראקטיבי (v66) ─── */
.a11y-feedback {
  margin-top: 18px;
  margin-bottom: 8px;
  position: relative;
}

/* ה-anchor הראשי - שורה בודדה אלגנטית */
.a11y-feedback-trigger {
  display: inline-block;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #757575;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: right;
  letter-spacing: 0.01em;
  border-bottom: 1px dashed #B5B0A6;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.a11y-feedback-trigger:hover {
  color: #000000;
  border-bottom-color: #000000;
  border-bottom-style: solid;
}

/* tooltip - מופיע ב-hover על ה-trigger */
.a11y-feedback-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 100%;
  max-width: 320px;
  background: #FDFBF7;
  border: 1px solid #EAE6DF;
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 14px !important;
  font-weight: 400;
  color: #000000;
  line-height: 1.6 !important;
  letter-spacing: 0.01em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}

/* tooltip נעלם כשה-accordion פתוח כדי לא לחפוף עליו */
.a11y-feedback:hover:not(.is-open) .a11y-feedback-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ה-accordion שמתקפל פתוח ב-click */
.a11y-feedback-form {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  /* transition של max-height + opacity לאפקט accordion חלק */
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.a11y-feedback.is-open .a11y-feedback-form {
  max-height: 200px;
  opacity: 1;
  margin-top: 14px;
}

.a11y-feedback-textarea {
  width: 100%;
  height: 70px;
  padding: 10px 12px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 15px !important;
  font-weight: 400;
  color: #000000;
  background: #FFFFFF;
  border: 1px solid #EAE6DF;
  border-radius: 3px;
  box-sizing: border-box;
  text-align: right;
  outline: none;
  letter-spacing: 0.01em;
  line-height: 1.5;
  resize: none;
  transition: border-color 0.25s ease;
}

.a11y-feedback-textarea::placeholder {
  color: #999999;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 15px !important;
  opacity: 1;
}

.a11y-feedback-textarea:focus {
  outline: none;
  border-color: #000000;
}

.a11y-feedback-submit {
  display: block;
  width: 100%;
  height: 42px;
  /* בדיוק 12px מתחת ל-textarea */
  margin-top: 12px;
  padding: 0 1rem;
  background: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 3px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.a11y-feedback-submit:hover {
  background: #2a2018;
}

/* הודעת אישור אחרי שליחה */
.a11y-feedback-success {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  background: #F5F5F3;
  border: 1px solid #EAE6DF;
  border-radius: 3px;
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 14px !important;
  font-weight: 500;
  color: #000000;
  text-align: center;
}

.a11y-feedback.is-sent .a11y-feedback-form {
  display: none;
}

.a11y-feedback.is-sent .a11y-feedback-success {
  display: block;
}

.a11y-feedback.is-sent .a11y-feedback-trigger {
  pointer-events: none;
  opacity: 0.5;
}

/* תחתית פאנל */
.a11y-panel-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #EAE6DF;
}

.a11y-panel-footer a {
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #000000;
  padding-bottom: 2px;
  transition: letter-spacing 0.3s ease;
}

.a11y-panel-footer a:hover {
  letter-spacing: 0.06em;
}

/* Backdrop */
.a11y-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10003;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

html.a11y-panel-open .a11y-backdrop {
  opacity: 1;
  visibility: visible;
}

/* ════════════════════════════════════════════════════════════
   מצבי הנגישות - תוקנו לחלוטין
   ════════════════════════════════════════════════════════════ */

/* ─── 4א. גרייסקייל מחודד (filter + contrast + brightness) ─── */
html.a11y-grayscale {
  filter: grayscale(100%) contrast(1.2) brightness(1.05) !important;
}

/* ─── 4ב. ניגודיות גבוהה - מיפוי ספציפי, ללא wildcards ─── */
html.a11y-high-contrast,
html.a11y-high-contrast body,
html.a11y-high-contrast main,
html.a11y-high-contrast section,
html.a11y-high-contrast article,
html.a11y-high-contrast aside,
html.a11y-high-contrast div,
html.a11y-high-contrast header,
html.a11y-high-contrast nav,
html.a11y-high-contrast footer {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

html.a11y-high-contrast h1,
html.a11y-high-contrast h2,
html.a11y-high-contrast h3,
html.a11y-high-contrast h4,
html.a11y-high-contrast h5,
html.a11y-high-contrast h6,
html.a11y-high-contrast p,
html.a11y-high-contrast span,
html.a11y-high-contrast li,
html.a11y-high-contrast label,
html.a11y-high-contrast strong,
html.a11y-high-contrast em {
  color: #FFFFFF !important;
}

html.a11y-high-contrast a,
html.a11y-high-contrast a * {
  color: #FFFF00 !important;
}

/* קלטים וכרטיסים - גבולות לבנים דקים */
html.a11y-high-contrast input,
html.a11y-high-contrast textarea,
html.a11y-high-contrast select,
html.a11y-high-contrast button {
  background: #000000 !important;
  color: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
}

html.a11y-high-contrast input::placeholder,
html.a11y-high-contrast textarea::placeholder {
  color: #CCCCCC !important;
}

html.a11y-high-contrast .contact-card,
html.a11y-high-contrast .contact-info-card,
html.a11y-high-contrast .contact-form-card {
  background: #000000 !important;
  border: 1px solid #FFFFFF !important;
}

/* underline בקישורים במצב ניגודיות - לבן במקום שחור */
html.a11y-high-contrast.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: #FFFFFF !important;
  text-underline-offset: 5px !important;
}

html.a11y-high-contrast img,
html.a11y-high-contrast video {
  filter: contrast(1.2) brightness(1.1);
}

/* החרגה קריטית: הסמן המותאם לא נצבע ע"י high-contrast */
html.a11y-high-contrast #benja-arrow-cursor,
html.a11y-high-contrast #benja-arrow-cursor * {
  background: transparent !important;
}

/* ─── 4ג. הדגשת קישורים - underline נקי בלבד ─── */
html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: #000000 !important;
  text-underline-offset: 5px !important;
  /* לא border, לא box, לא background - רק underline */
}

/* ─── 4ד. מצב מיקוד חזותי - תיקון קריטי לסמן ─── */
/* האנימציות מבוטלות על אלמנטים מסוימים, אבל הסמן מוחרג */
html.a11y-focus-mode *:not(#benja-arrow-cursor):not(#benja-arrow-cursor *):not(.benja-arrow):not(.benja-arrow svg):not(.benja-arrow svg *):not(.benja-arrow-ripple) {
  animation-duration: 0.001s !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
}

/* השבתת מארקיז וטקסטים מהבהבים */
html.a11y-focus-mode marquee,
html.a11y-focus-mode blink {
  animation: none !important;
}

/* השבתת ambient effects - hover transforms של כרטיסים, lift effects */
html.a11y-focus-mode .museum-card:hover,
html.a11y-focus-mode .featured-card:hover,
html.a11y-focus-mode .category-card:hover,
html.a11y-focus-mode .work-card:hover,
html.a11y-focus-mode .artwork-card:hover,
html.a11y-focus-mode .product-card:hover,
html.a11y-focus-mode .ls-item:hover,
html.a11y-focus-mode .contact-card:hover,
html.a11y-focus-mode .floating-wa-btn:hover,
html.a11y-focus-mode .a11y-trigger-btn:hover {
  transform: none !important;
}

/* השבתת autoplay של וידיאו רקע */
html.a11y-focus-mode video[autoplay] {
  /* paused בעזרת JS, כאן רק filter כדי להסתיר flashing */
  filter: none;
}

/* ─── 4ה. ניווט מקלדת - focus-visible ─── */
html.a11y-keyboard-nav *:focus-visible {
  outline: 2px dashed #FFB000 !important;
  outline-offset: 3px !important;
}

/* גם על focus רגיל לדפדפנים ישנים */
html.a11y-keyboard-nav a:focus,
html.a11y-keyboard-nav button:focus,
html.a11y-keyboard-nav input:focus,
html.a11y-keyboard-nav textarea:focus,
html.a11y-keyboard-nav select:focus,
html.a11y-keyboard-nav [tabindex]:focus {
  outline: 2px dashed #FFB000 !important;
  outline-offset: 3px !important;
}

/* ════════════════════════════════════════════════════════════
   4ו. מנוע סקאלת פונט [v69 CRASH PATCH]
   הבאג: html { font-size: X% } משפיע רק על rem/em.
   כל הטקסט באתר ב-px קשיח ולכן לא הושפע - רק המרווחים נמתחו.
   התיקון: CSS variable multiplier + calc() עם !important
   שדורס במפורש את ה-px על כל אלמנט טקסטואלי.
   ════════════════════════════════════════════════════════════ */

/* המכפיל - משתנה לפי ה-class שה-JS מזריק */
:root {
  --a11y-fs-mult: 1;
}
html.a11y-font-125 { --a11y-fs-mult: 1.25; }
html.a11y-font-145 { --a11y-fs-mult: 1.45; }
html.a11y-font-165 { --a11y-fs-mult: 1.65; }

/* כאשר a11y-fs-active פעיל - דריסה אגרסיבית של font-size על כל
   האלמנטים הטקסטואליים, עם calc(base * multiplier).
   החרגות: הסמן המותאם, פאנל הנגישות עצמו, והסרגל העליון
   (כדי שהפקדים לא יקפצו בגודל בזמן שמשנים סקאלה). */
html.a11y-fs-active p:not(.a11y-panel *):not(.a11y-top-bar *),
html.a11y-fs-active span:not(.a11y-panel *):not(.a11y-top-bar *):not(.benja-arrow *):not(.cart-count),
html.a11y-fs-active a:not(.a11y-panel *):not(.a11y-top-bar *):not(.icon-btn):not(.floating-wa-btn):not(.a11y-trigger-btn),
html.a11y-fs-active li:not(.a11y-panel *):not(.a11y-top-bar *) {
  font-size: calc(17px * var(--a11y-fs-mult)) !important;
  line-height: 1.6 !important;
}

html.a11y-fs-active h1:not(.a11y-panel *) {
  font-size: calc(40px * var(--a11y-fs-mult)) !important;
  line-height: 1.2 !important;
}

html.a11y-fs-active h2:not(.a11y-panel *) {
  font-size: calc(26px * var(--a11y-fs-mult)) !important;
  line-height: 1.3 !important;
}

html.a11y-fs-active h3:not(.a11y-panel *):not(.a11y-cat-title),
html.a11y-fs-active h4:not(.a11y-panel *) {
  font-size: calc(20px * var(--a11y-fs-mult)) !important;
  line-height: 1.35 !important;
}

html.a11y-fs-active input:not(.a11y-panel *),
html.a11y-fs-active textarea:not(.a11y-panel *):not(.a11y-feedback-textarea),
html.a11y-fs-active select:not(.a11y-panel *),
html.a11y-fs-active button:not(.a11y-panel *):not(.a11y-trigger-btn):not(.floating-wa-btn) {
  font-size: calc(16px * var(--a11y-fs-mult)) !important;
  line-height: 1.5 !important;
}

/* placeholders גם מקבלים את הסקאלה */
html.a11y-fs-active input:not(.a11y-panel *)::placeholder,
html.a11y-fs-active textarea:not(.a11y-panel *)::placeholder {
  font-size: calc(16px * var(--a11y-fs-mult)) !important;
}

/* כותרת ה-Hero בדף contact - בסיס גדול יותר */
html.a11y-fs-active .contact-page-title {
  font-size: calc(42px * var(--a11y-fs-mult)) !important;
}
html.a11y-fs-active .contact-card-title {
  font-size: calc(32px * var(--a11y-fs-mult)) !important;
}

/* ─── 5. רספונסיביות מובייל ─── */
@media (max-width: 768px) {
  .a11y-trigger-wrap {
    bottom: 76px;
    left: 20px;
  }
  .a11y-trigger-btn {
    width: 46px;
    height: 46px;
  }
  .a11y-trigger-btn svg {
    width: 23px;
    height: 23px;
  }
  .a11y-trigger-tooltip {
    display: none;
  }
  .a11y-panel {
    width: 100%;
    padding: 36px 22px 28px;
  }
  .a11y-top-bar {
    font-size: 14px;
    padding: 0 16px;
  }
  .a11y-top-bar-reset {
    font-size: 14px;
  }
  /* הסתרת בלוק הפידבק במובייל - mobile graceful fallback */
  .a11y-feedback {
    display: none;
  }
}


/* ════════════════════════════════════════════════════════════════════════════════
   MOBILE HAMBURGER DRAWER — v=26 LUXURY OVERHAUL
   Premium minimal header for < 768px viewports:
   - 3 elements: hamburger | centered logo | cart only
   - Cream background, gray-beige divider, gold accents
   - Drawer with integrated personal + favorites blocks
   ════════════════════════════════════════════════════════════════════════════════ */

/* Desktop: mobile-only elements hidden */
.mobile-hamburger-btn,
.mobile-header-center,
.mobile-header-cart,
#mobile-hamburger-drawer,
#mobile-hamburger-backdrop { display: none; }

@media (max-width: 768px) {
  /* ─── Hide desktop header components on mobile ─── */
  .header .header-icons,
  .header .nav,
  .header .header-logo { display: none !important; }

  /* ─── Header container: premium light cream ─── */
  .header {
    background: #FAF6EE !important;
    border-bottom: 1px solid #E0DACE !important;
    box-shadow: none !important;
    transition: background 0.25s ease, border-color 0.25s ease;
  }
  .header.header-scrolled {
    background: rgba(250, 246, 238, 0.96) !important;
    border-bottom-color: #D6CFC0 !important;
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
  }

  .header .header-inner {
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 68px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* ─── v=28: header height enforce + hero gap elimination ─── */
  .header {
    height: 68px !important;
  }
  .hero {
    margin-top: 68px !important;
  }
  /* ─── v=29: page-main + contact-main gap collapse for 15 inner pages ─── */
  .page-main {
    margin-top: 68px !important;
  }
  .contact-main {
    padding-top: 68px !important;
  }
  /* ─── v=30: body/html global reset to isolate desktop inheritance ─── */
  html, body {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* ─── Right edge: hamburger ─── */
  .mobile-hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1c1c1c;
    flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-hamburger-btn svg {
    width: 24px; height: 24px;
    display: block;
  }

  /* ─── Center: absolute logo (uninfluenced by edges) ─── */
  .mobile-header-center {
    display: flex !important;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }
  .mobile-header-center a {
    display: flex; align-items: center;
    text-decoration: none;
  }
  .mobile-header-center img {
    height: 40px; width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
  }

  /* ─── Left edge: cart only ─── */
  .mobile-header-cart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1c1c1c;
    text-decoration: none;
    flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-header-cart svg {
    width: 22px; height: 22px;
    display: block;
  }
  /* Cart bubble: muted champagne */
  .mobile-header-cart .cart-count {
    position: absolute;
    top: 6px; left: 6px;
    background: #b8965a;
    color: #fff;
    font-family: 'Assistant', sans-serif;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px; height: 16px;
    line-height: 16px;
    padding: 0 4px;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  }

  /* ════════════════════════════════════════════════════════════════
     DRAWER
     ════════════════════════════════════════════════════════════════ */
  #mobile-hamburger-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 82vw;
    max-width: 360px;
    min-width: 280px;
    height: 100vh;
    background: #FAF6EE;
    z-index: 1000001;
    box-shadow: -2px 0 24px rgba(28, 28, 28, 0.05);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    direction: rtl;
    font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
    padding: 0;
  }
  #mobile-hamburger-drawer[hidden] {
    display: flex !important;
    transform: translateX(105%);
    pointer-events: none;
  }
  html.mobile-drawer-open #mobile-hamburger-drawer {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* ─── Drawer Top Bar ─── */
  .mobile-drawer-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 68px;
    padding: 0 16px;
    border-bottom: 1px solid #E0DACE;
    flex-shrink: 0;
  }
  .mobile-drawer-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1c1c1c;
    display: flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-drawer-close svg { width: 22px; height: 22px; display: block; }
  .mobile-drawer-logo {
    display: flex; align-items: center; justify-content: center;
  }
  .mobile-drawer-logo img { height: 36px; width: auto; max-width: 100px; object-fit: contain; }

  /* ─── Personal Area Block ─── */
  .mobile-drawer-personal {
    padding: 20px 24px 22px;
    background: #F5EFE2;
    border-bottom: 1px solid #E0DACE;
    text-align: right;
  }
  .mobile-personal-title {
    font-family: 'EB Garamond', 'Frank Ruhl Libre', serif;
    font-size: 19px;
    font-weight: 500;
    color: #1c1c1c;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
  }
  .mobile-personal-status {
    font-size: 13px;
    color: #8a8474;
    margin-bottom: 10px;
  }
  .mobile-personal-action {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #b8965a;
    text-decoration: none;
    padding: 2px 0;
    border-bottom: 1px solid #b8965a;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .mobile-personal-action:hover,
  .mobile-personal-action:focus {
    color: #8a6f4a;
    border-color: #8a6f4a;
  }
  .mobile-personal-action--secondary {
    margin-right: 14px;
    font-size: 13px;
    color: #8a8474;
    border-bottom-color: #8a8474;
  }

  /* ─── Favorites Block ─── */
  .mobile-drawer-favorites {
    display: block;
    padding: 18px 24px;
    text-decoration: none;
    color: #1c1c1c;
    text-align: right;
    border-bottom: 1px solid #E0DACE;
    transition: background 0.2s ease;
  }
  .mobile-drawer-favorites:hover,
  .mobile-drawer-favorites:focus { background: #F5EFE2; }
  .mobile-favorites-main {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-favorites-icon {
    width: 20px; height: 20px;
    color: #1c1c1c;
    flex-shrink: 0;
  }
  .mobile-favorites-label {
    font-family: 'EB Garamond', 'Frank Ruhl Libre', serif;
    font-size: 18px;
    font-weight: 500;
    color: #1c1c1c;
    letter-spacing: 0.01em;
  }
  .mobile-favorites-count {
    font-size: 13px;
    color: #8a8474;
    margin-top: 6px;
    margin-right: 30px;
  }

  /* ─── Divider ─── */
  .mobile-drawer-divider {
    height: 1px;
    background: #E0DACE;
    margin: 0;
  }

  /* ─── Section ─── */
  .mobile-drawer-section {
    padding: 14px 0;
  }
  .mobile-drawer-heading {
    padding: 8px 24px 10px;
    font-family: 'Assistant', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #b8965a;
    text-align: right;
  }
  .mobile-drawer-links {
    display: flex;
    flex-direction: column;
  }
  .mobile-drawer-link {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 24px;
    font-family: 'EB Garamond', 'Frank Ruhl Libre', serif;
    font-size: 18px;
    font-weight: 500;
    color: #1c1c1c;
    text-decoration: none;
    text-align: right;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-drawer-link:hover,
  .mobile-drawer-link:focus {
    color: #b8965a;
    background: rgba(184, 150, 90, 0.05);
  }

  /* ─── Backdrop ─── */
  #mobile-hamburger-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 28, 0.35);
    z-index: 1000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  #mobile-hamburger-backdrop[hidden] {
    display: block !important;
    opacity: 0;
    pointer-events: none;
  }
  html.mobile-drawer-open #mobile-hamburger-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* ─── Body scroll lock ─── */
  html.mobile-drawer-open,
  html.mobile-drawer-open body {
    overflow: hidden;
  }
}

/* ════════════════════════════════════════════════════════════════════════════════
   FOOTER STATIC FLOW — v=43 (upgraded from v=42)
   Definitive resolution: opaque footer masks any sticky layers + overscroll lock.
   v=43 changes:
   1. overscroll-behavior: none on html/body - stops Lenis/browser bounce
   2. Footer becomes opaque mask with z-index: 99999 + brand cream background
   3. .stack-section min-height collapse before footer to remove phantom track
   ════════════════════════════════════════════════════════════════════════════════ */

/* (1) Overscroll prevention - stops Lenis inertia bouncing past document edge
 * v=45 FIX: overflow-x: hidden moved to html only — keeping it on body
 * was breaking position:fixed of child elements (Sparkle Dropzone, etc.) */
html {
  overflow-x: hidden !important;
}
html, body {
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
}

/* (2) Content containers - zero out bottom spacing */
main,
#main-content,
.site-wrapper,
.main-container,
.page-main,
body > main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* (3) Stack space collapse - last sticky section before footer drops phantom height */
.stack-section:has(+ footer),
.stack-section.stack-final ~ .stack-section,
section.stack-section:last-of-type {
  min-height: auto !important;
}

/* (4) Footer as opaque absolute layer stop - masks any remaining sticky tracks */
footer,
.footer,
.site-footer,
footer.stack-final,
footer.stack-section,
.footer.stack-section,
footer.footer.footer-light {
  position: relative !important;
  display: block !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 99999 !important;
  background-color: #F4EFEA !important;
  width: 100% !important;
  transform: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: auto !important;
  isolation: isolate !important;
}

/* ════════════════════════════════════════════════════════════════════════════════
   ROGUE SVG CONSTRAINT — v=44
   v=44 root cause: standalone SVGs (e.g. WhatsApp floating button, FAQ chevrons,
   Sparkle Badge icon) that have no inline width/height attributes can expand to
   their parent container width when the parent's layout breaks. Lock all SVGs
   to sane dimensional ceilings unless they explicitly need to be larger.
   ════════════════════════════════════════════════════════════════════════════════ */

/* (a) Universal SVG safety net - no SVG can exceed its parent or 100px without explicit override */
svg:not([width]):not([height]) {
  max-width: 100% !important;
  max-height: 100px !important;
}

/* (b) FAQ chevron / accordion arrows - hard ceiling */
.faq-chevron,
.faq-chevron svg,
[class*="accordion-icon"],
[class*="chevron"],
[class*="arrow"] {
  max-width: 24px !important;
  max-height: 24px !important;
}

/* (c) Floating WhatsApp button SVG - explicit reinforcement */
.floating-wa-btn svg,
.floating-wa-wrap svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

/* (d) Sparkle badge SVG - explicit reinforcement */
.sparkle-icon,
#benja-sparkle-badge svg,
.sparkle-wa-icon {
  max-width: 24px !important;
  max-height: 24px !important;
}

/* ════════════════════════════════════════════════════════════════════════════════
   SPARKLE DROPZONE FIX — v=45
   v=45 root cause: overflow-x: hidden on body (added in v=43) broke
   position: fixed inheritance for child elements like .sparkle-dropzone,
   causing the dropzone (with "שחררו כאן להסתרה") to render in normal flow
   instead of floating, taking up massive layout space below the footer.

   Fix strategy:
   1. Move overflow-x to html only (preserves fixed children on body)
   2. Force .sparkle-dropzone to display:none by default with !important
   3. Show only when .visible class is added by drag JS (mid-drag only)
   4. JS already removes .visible on touchend/mouseup - already correct
   ════════════════════════════════════════════════════════════════════════════════ */

/* Sparkle dropzone: hidden by default, only shown during active drag */
.sparkle-dropzone,
#sparkleDropzone,
[id*="sparkleDropzone"] {
  position: fixed !important;
  bottom: -200px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  display: none !important;
  z-index: 999999 !important;
  pointer-events: none !important;
}
.sparkle-dropzone.visible,
#sparkleDropzone.visible {
  display: flex !important;
  bottom: 30px !important;
}

/* ════════════════════════════════════════════════════════════════════════════════
   LIFESTYLE SECTION DESKTOP REORDER — v=46
   On desktop (>=769px):
   1. Switch .lifestyle-section to flex column for explicit order control
   2. Reorder so the black "✦ לחץ כאן להדמיה" button sits BELOW the twin images
   3. Hide the rogue mobile-only "✦ נסו את מערכת ההדמיה" link from desktop view
   Mobile architecture is NOT touched — this block is wrapped in min-width: 769px.
   ════════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  .lifestyle-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .lifestyle-section .lifestyle-heading {
    order: 1 !important;
    width: 100% !important;
  }
  .lifestyle-section .lifestyle-grid {
    order: 2 !important;
    width: 100% !important;
    margin-top: 2.5rem !important;
  }
  .lifestyle-section .lifestyle-cta-top {
    order: 3 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  /* Hide the mobile-only CTA link on desktop */
  .lifestyle-section .lifestyle-cta-mobile-wrap,
  .lifestyle-cta-mobile-wrap,
  a.lifestyle-cta-mobile {
    display: none !important;
  }
}
