/* ===== FONTS ===== */
@font-face {
  font-family: 'BernhardFashionBT';
  src: url('../fonts/BernhardFashionBT.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Heebo:wght@300;400;500;600&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== DESIGN TOKENS ===== */
:root {
  /* Light palette */
  --white:        #FAFAF7;
  --offwhite:     #F2EFE8;
  --cream:        #E8E3D8;
  --warm-gray:    #D6D0C4;
  --mid-gray:     #7A7060;      /* used only for decorative/non-text */
  --text-body:    #2E2A24;      /* main body text – high contrast */
  --text-secondary: #4A4540;   /* secondary text – still WCAG AA on white */
  --text-caption: #5C5650;     /* smallest captions – WCAG AA min */
  --ink:          #1A1714;
  --ink-soft:     #2E2A25;
  --bronze:       #7A5E2E;      /* darkened for AA on white bg */
  --bronze-dark:  #5C4520;
  --bronze-pale:  #C4A878;      /* decorative only, not text on white */
  --border-fine:  rgba(26,23,20,0.12);
  --border-mid:   rgba(26,23,20,0.22);
  --shadow-sm:    0 1px 3px rgba(26,23,20,0.07);
  --shadow-md:    0 4px 20px rgba(26,23,20,0.10);
  --transition:   0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Heebo', Arial, sans-serif;
  background: var(--white);
  color: var(--text-body);
  direction: rtl;
  overflow-x: hidden;
  font-weight: 400;    /* ↑ 300→400 globally */
  line-height: 1.75;
}

/* English text classes:
   .en-sm  = small inline Latin (body, captions, marquee): Playfair Display – clear & readable
   .en-lg  = large display Latin (hero, product names): BernhardFashionBT – decorative
   .latin / .brand-name = legacy aliases for en-lg */
.en-sm {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1em;
}
.en-lg, .latin, .brand-name, .product-latin {
  font-family: 'BernhardFashionBT', 'Playfair Display', serif;
  font-weight: 700 !important;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: var(--bronze); }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -40px; right: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 200;
  background: rgba(250,250,247,0.97);
  border-bottom: 1px solid var(--border-fine);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-mid);
}
/* When mobile menu is open, header turns dark to match the overlay */
header.menu-open {
  background: var(--ink);
  border-bottom-color: transparent;
  z-index: 500;
}
header.menu-open .logo { color: #FAFAF7; }
header.menu-open .logo sub { color: rgba(250,250,247,0.5); }
header.menu-open .nav-cta { display: none; }
nav.navbar { padding: 1.2rem 0; }
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: 'BernhardFashionBT', serif;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  line-height: 1;
}
.logo sub {
  font-family: 'Heebo', sans-serif;
  font-size: 0.65rem;       /* ↑ was 0.52 – min readable size */
  font-weight: 500;         /* ↑ was 400 */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-caption); /* ↑ was --text-light (too pale) */
  display: block;
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-menu { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }

.nav-menu li a {
  font-size: 0.82rem;      /* ↑ was 0.76 */
  font-weight: 500;        /* ↑ was 400 */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);  /* ↑ was --ink-soft but now clearly dark */
  transition: color var(--transition);
  position: relative;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px; right: 0; left: 0;
  height: 1.5px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-menu li a:hover { color: var(--bronze); }
.nav-menu li a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.82rem;     /* ↑ was 0.74 */
  font-weight: 600;       /* ↑ was 500 */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 0.65rem 1.4rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--bronze); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 500;          /* always above everything including the 400 overlay */
  position: relative;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: all 0.32s ease;
  transform-origin: center;
}
/* X state — lines are white because overlay bg is dark */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  background: #FAFAF7; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0);           background: #FAFAF7; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #FAFAF7; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;      /* ↑ was 0.76 */
  font-weight: 600;        /* ↑ was 500 */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  font-family: 'Heebo', sans-serif;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--bronze); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);  /* ↑ 1.5→2px */
  padding: 0.85rem 2.2rem;
  font-size: 0.85rem;    /* ↑ */
  font-weight: 600;      /* ↑ */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);   /* ↑ was --text-light */
  font-size: 0.85rem;       /* ↑ was 0.76 */
  font-weight: 500;         /* ↑ was unset (300) */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.btn-ghost:hover { color: var(--bronze); }
.btn-ghost::after { content: '←'; font-size: 1rem; }

.btn-dark {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  padding: 1rem 2.8rem;
  font-size: 0.85rem;    /* ↑ */
  font-weight: 600;      /* ↑ */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Heebo', sans-serif;
  transition: all var(--transition);
  white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-dark:hover { background: var(--cream); }

/* ===== SECTION TYPOGRAPHY ===== */
.section-label {
  font-size: 0.75rem;      /* ↑ was 0.65 */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.7rem;
  font-weight: 600;        /* ↑ was 500 */
}
.section-title {
  
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;       /* ↑ was 400 */
  color: var(--ink);
  line-height: 1.15;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}
.section-link {
  font-size: 0.82rem;     /* ↑ was 0.74 */
  font-weight: 500;       /* ↑ */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);  /* ↑ was --text-light */
  transition: color var(--transition);
}
.section-link:hover { color: var(--bronze); }

/* ===== HERO SPLIT ===== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Exact viewport height minus nav – image never exceeds screen */
  height: calc(100vh - 80px);
  max-height: 900px;      /* safety cap on very tall screens */
  min-height: 560px;      /* safety floor on short screens */
  margin-top: 80px;       /* push below fixed nav without padding */
  overflow: hidden;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 5rem 3rem 4rem;   /* reduced vertical padding so text fits */
  background: var(--white);
  position: relative;
  overflow-y: auto;               /* if content somehow overflows, scroll inside */
}
.hero-text::before {
  content: '';
  position: absolute;
  top: 4rem; bottom: 4rem; left: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-mid), transparent);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;     /* ↑ was 0.66 */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;       /* ↑ was 500 */
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--bronze);
  flex-shrink: 0;
}

.hero-text h1 {
  
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 500;       /* ↑ was 400 */
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.4s forwards;
}
.hero-text h1 em { font-style: italic; color: var(--bronze); }

.hero-text p {
  font-size: 1.05rem;     /* ↑ was 1rem */
  font-weight: 400;       /* ↑ was 300 */
  color: var(--text-secondary); /* ↑ was --text-light */
  line-height: 1.85;
  max-width: 400px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}
.hero-actions { display: flex; gap: 1.2rem; align-items: center; opacity: 0; animation: fadeUp 0.9s ease 0.8s forwards; }

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  /* Image column fills the exact same height as the grid row */
  height: 100%;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;  /* show upper portion of tall door images */
  transition: transform 8s ease;
}
.hero-image:hover img { transform: scale(1.04); }
.hero-image-badge {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  background: rgba(250,250,247,0.97);
  padding: 1.2rem 1.6rem;
  border-left: 3px solid var(--bronze);
  box-shadow: var(--shadow-md);
}
.hero-image-badge span {
  display: block;
  font-size: 0.72rem;     /* ↑ was 0.62 */
  font-weight: 500;       /* ↑ */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary); /* ↑ was --text-light */
  margin-bottom: 0.2rem;
}
.hero-image-badge strong {
  font-family: 'BernhardFashionBT', serif;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ===== MARQUEE ===== */
.marquee-strip {
  border-top: 1px solid var(--border-fine);
  border-bottom: 1px solid var(--border-fine);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--offwhite);
}
.marquee-inner { display: inline-flex; gap: 3rem; animation: marquee 28s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Heebo', sans-serif;   /* Hebrew items: Heebo */
}
.marquee-dot { width: 3px; height: 3px; background: var(--bronze); border-radius: 50%; display: inline-block; flex-shrink: 0; }
/* English words inside marquee: Playfair italic, clearly legible */
.marquee-item .en-sm {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.06em;
  text-transform: none;        /* remove uppercase – Bernhard style reads poorly uppercase at this size */
}

/* ===== CATEGORIES ===== */
.categories { padding: 7rem 0; background: var(--white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-fine);
  border: 1px solid var(--border-fine);
}
.category-card {
  position: relative;
  /* גמיש: גדל לפי תוכן, עם מינימום ומקסימום */
  height: 0;
  padding-bottom: 75%;    /* aspect-ratio 4:3 – works on all screens */
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}
.category-card a {
  position: absolute;
  inset: 0;
  display: block;
}
.category-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(0.48) saturate(0.85);
  transition: transform var(--transition), filter var(--transition);
}
.category-card:hover img { transform: scale(1.05); filter: brightness(0.38) saturate(0.8); }
.cat-num {
  position: absolute; top: 1rem; left: 1.2rem;
  font-size: 4rem; font-weight: 400;
  color: rgba(250,250,247,0.07);
  line-height: 1; z-index: 1; pointer-events: none;
}
.card-content {
  position: absolute; bottom: 0; right: 0; left: 0;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(to top, rgba(26,23,20,0.92) 0%, rgba(26,23,20,0.3) 60%, transparent 100%);
  z-index: 2;
}
.card-content h3 {
  font-size: clamp(1rem, 2.2vw, 1.35rem);   /* scales with viewport */
  font-weight: 500;
  color: #FAFAF7;
  margin-bottom: 0.3rem;
  transition: color var(--transition);
  line-height: 1.2;
}
.category-card:hover .card-content h3 { color: var(--bronze-pale); }
.card-content p {
  font-size: clamp(0.76rem, 1.4vw, 0.88rem); /* scales down on narrow cols */
  font-weight: 400;
  color: rgba(250,250,247,0.85);
  line-height: 1.45;
  /* prevent overflow on very narrow cards */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-line {
  position: absolute; bottom: 0; right: 0; left: 0;
  height: 2px; background: var(--bronze);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s ease; z-index: 3;
}
.category-card:hover .cat-line { transform: scaleX(1); }

/* ===== FEATURES ===== */
.features {
  background: var(--offwhite);
  border-top: 1px solid var(--border-fine);
  border-bottom: 1px solid var(--border-fine);
  padding: 5rem 0;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { padding: 2rem 3.5rem; text-align: center; border-left: 1px solid var(--border-fine); }
.feature:last-child { border-left: none; }
.feature-icon { font-size: 1.6rem; color: var(--bronze); margin-bottom: 1.2rem; }
.feature h3 {
  
  font-size: 1.3rem;     /* ↑ */
  font-weight: 500;      /* ↑ was 400 */
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.feature p {
  font-size: 0.92rem;    /* ↑ was 0.85 */
  font-weight: 400;
  color: var(--text-secondary); /* ↑ was --text-light */
  line-height: 1.8;
}

/* ===== HIGHLIGHT ===== */
.highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  /* Fixed viewport-relative height so tall images don't push layout */
  height: 70vh;
  max-height: 780px;
  min-height: 100vh;
  border-top: 1px solid var(--border-fine);
  border-bottom: 1px solid var(--border-fine);
  overflow: hidden;
}
.highlight-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  height: 100%;
}
.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;   /* show the door, not just the top */
  transition: transform 7s ease;
}
.highlight-image:hover img { transform: scale(1.03); }
.highlight-img-label {
  position: absolute; bottom: 2rem; left: 2rem;
  background: rgba(250,250,247,0.97);
  padding: 1rem 1.4rem;
  border-right: 3px solid var(--bronze);
}
.highlight-img-label span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.highlight-img-label strong {
  font-family: 'BernhardFashionBT', serif;
  font-size: 1.6rem;   /* larger so Bernhard is legible */
  color: var(--ink);
  display: block;
  line-height: 1.1;
}
.highlight-content {
  padding: 3rem 4rem;           /* reduced from 5rem – content must fit in 70vh */
  border-right: 1px solid var(--border-fine);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  overflow-y: auto;             /* graceful overflow if viewport very short */
}
.highlight-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem;    /* ↑ was 0.65 */
  letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bronze);
  font-weight: 600;      /* ↑ */
  margin-bottom: 1.5rem;
}
.highlight-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--bronze); flex-shrink: 0; }
.highlight-content h2 {
  
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 500;      /* ↑ */
  color: var(--ink); margin-bottom: 1.5rem; line-height: 1.1;
}
.highlight-content p {
  font-size: 0.95rem;    /* ↑ was 0.92 */
  font-weight: 400;
  color: var(--text-secondary); /* ↑ */
  line-height: 1.9; margin-bottom: 1.5rem;
}
.highlight-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--border-fine);
  border-bottom: 1px solid var(--border-fine);
  margin-bottom: 2.5rem;
}
.spec-item .spec-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  font-family: 'Heebo', sans-serif;
}
.spec-item .spec-val {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--bronze-dark);   /* darker bronze for better contrast */
}

/* ===== PRODUCTS ===== */
.products { padding: 7rem 0; background: var(--white); }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border-fine);
  border: 1px solid var(--border-fine);
}
.product-card { background: var(--white); position: relative; overflow: hidden; display: block; transition: background var(--transition); }
.product-card:hover { background: var(--offwhite); }
.product-img-wrap { position: relative; height: 320px; overflow: hidden; background: var(--cream); }
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(0.88) saturate(0.9);
  transition: transform var(--transition), filter var(--transition);
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); filter: brightness(0.8) saturate(0.88); }
.product-info { padding: 1.5rem; border-top: 1px solid var(--border-fine); }
.product-info h3 {
  font-family: 'BernhardFashionBT', serif;
  font-size: 1.15rem; color: var(--ink);
  margin-bottom: 0.3rem; transition: color var(--transition);
}
.product-card:hover .product-info h3 { color: var(--bronze); }
.product-info .product-cat {
  font-size: 0.75rem;    /* ↑ was 0.66 */
  font-weight: 500;      /* ↑ */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary); /* ↑ was --mid-gray */
  margin-bottom: 0.6rem;
}
.product-info p {
  font-size: 0.88rem;    /* ↑ was 0.8 */
  font-weight: 400;
  color: var(--text-secondary); /* ↑ */
  line-height: 1.6;
}
.price { font-size: 0.9rem; color: var(--bronze); font-weight: 600; }

/* ===== ABOUT ===== */
.about { padding: 7rem 0; background: var(--offwhite); border-top: 1px solid var(--border-fine); }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 7rem; align-items: start; }
.about-left { position: sticky; top: 7rem; }
.about-title {
  
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;      /* ↑ */
  color: var(--ink); line-height: 1.2;
}
.about-right p {
  font-size: 0.97rem;    /* ↑ was 0.95 */
  font-weight: 400;
  color: var(--text-secondary); /* ↑ */
  line-height: 1.95; margin-bottom: 1.5rem;
}
.about-partners { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border-mid); }
.about-partners h4 {
  font-size: 0.75rem;    /* ↑ */
  font-weight: 600;      /* ↑ */
  letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem;
}
.partner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.partner-list span {
  /* font-family: 'Playfair Display', serif;    */
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.partner-list span:hover { color: var(--bronze); }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border-mid);
}
.stat-num {
  font-family: 'BernhardFashionBT';
  font-size: 3rem; font-weight: 700; color: var(--ink); line-height: 1;
}
.stat-label {
  font-size: 0.8rem;     /* ↑ was 0.7 */
  font-weight: 500;      /* ↑ */
  letter-spacing: 0.08em;
  color: var(--text-secondary); /* ↑ was --mid-gray */
  margin-top: 0.4rem;
}

/* ===== TESTIMONIALS – dark bg section: text on dark is fine ===== */
.testimonials { background: var(--ink); padding: 7rem 0; }
.testimonials .section-label { color: var(--bronze-pale); }
.testimonials .section-title { color: #FAFAF7; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
}
.testimonial-card { background: var(--ink-soft); padding: 3rem 2.5rem; }
.testi-marks {  font-size: 3.5rem; color: var(--bronze-pale); opacity: 0.5; line-height: 1; margin-bottom: 1rem; }
.testimonial-card p {
  
  font-size: 1.1rem; font-style: italic;
  color: #F0ECE3;    /* explicit near-white for max contrast on dark */
  line-height: 1.65; margin-bottom: 1.5rem;
}
.testimonial-card span {
  font-size: 0.78rem;    /* ↑ was 0.7 */
  font-weight: 500;      /* ↑ */
  letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bronze-pale);
}

/* ===== TIP STRIP ===== */
.tip { padding: 5rem 0; background: var(--cream); border-top: 1px solid var(--border-fine); border-bottom: 1px solid var(--border-fine); }
.tip-inner { display: flex; gap: 5rem; align-items: flex-start; }
.tip-label-vert {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 0.72rem;    /* ↑ was 0.63 */
  font-weight: 600;      /* ↑ */
  letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bronze);
  transform: rotate(180deg); flex-shrink: 0;
}
.tip-content h2 {
  
  font-size: 1.9rem; font-weight: 500; color: var(--ink); margin-bottom: 1.2rem;
}
.tip-content p {
  font-size: 0.95rem;    /* ↑ */
  font-weight: 400;
  color: var(--text-secondary); /* ↑ */
  line-height: 1.9; max-width: 800px;
}

/* ===== CTA BANNER – dark bg ===== */
.cta { background: var(--ink); padding: 6rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 3rem; }
.cta h2 {
  
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500; color: #FAFAF7; line-height: 1.15;
}
.cta p {
  font-size: 0.95rem;    /* ↑ was 0.9 */
  font-weight: 400;
  color: rgba(250,250,247,0.72); /* ↑ was 0.55 – too pale */
  margin-top: 0.6rem;
}

/* ===== LEAD FORM ===== */
.lead-form { padding: 7rem 0; background: var(--offwhite); border-top: 1px solid var(--border-fine); }
.lead-form-inner { max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-mid); border: 1px solid var(--border-mid); }
.form-field { background: var(--white); }
.form-field.full { grid-column: span 2; }
.form-field label {
  display: block; padding: 1rem 1.4rem 0;
  font-size: 0.75rem;    /* ↑ was 0.6 */
  font-weight: 600;      /* ↑ was 500 */
  letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--bronze);
}
.form-field input, .form-field textarea {
  display: block; width: 100%;
  padding: 0.4rem 1.4rem 1rem;
  background: transparent; border: none;
  color: var(--ink);
  font-family: 'Heebo', sans-serif;
  font-size: 0.95rem;    /* ↑ was 0.92 */
  font-weight: 400;      /* ↑ was 300 */
  outline: none; resize: none;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-secondary); } /* ↑ was --mid-gray */
.form-field input:focus, .form-field textarea:focus { background: rgba(122,94,46,0.04); }
.form-submit { margin-top: 1.8rem; text-align: center; }

/* ===== VIDEO / GALLERY ===== */
.video-gallery { background: var(--white); padding: 7rem 0; border-top: 1px solid var(--border-fine); }
.video-wrapper { margin-bottom: 2rem; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border: 1px solid var(--border-fine); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border-fine); border: 1px solid var(--border-fine); }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; object-position: center top; filter: brightness(0.85) saturate(0.9); transition: filter var(--transition), transform var(--transition); display: block; }
.gallery-grid img:hover { filter: brightness(1) saturate(1); transform: scale(1.02); }

/* ===== PAGE HERO – dark bg ===== */
.page-hero { background: var(--ink); padding: 9rem 0 4.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: center; }
.page-hero h1 {  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; color: #FAFAF7; margin-bottom: 1rem; line-height: 1.1; }
.page-hero .latin { color: var(--bronze-pale); }
.page-hero p {
  font-size: 1rem;       /* ↑ was 0.95 */
  font-weight: 400;
  color: rgba(250,250,247,0.78); /* ↑ was 0.6 */
  max-width: 700px; margin: 0 auto; line-height: 1.8;
}

/* ===== CATEGORY HERO ===== */
.category-hero { position: relative; height: 55vh; background-size: cover; background-position: center top; display: flex; align-items: flex-end; padding-bottom: 3rem; }
.category-hero .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,20,0.85) 0%, rgba(26,23,20,0.28) 100%); }
.category-hero h1 { position: relative; z-index: 2;  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; color: #FAFAF7; text-align: center;}
.category-description { background: var(--offwhite); padding: 2.5rem 0; border-bottom: 1px solid var(--border-fine); }
.category-description p {
  font-size: 1rem;       /* ↑ */
  font-weight: 400;
  color: var(--text-secondary); /* ↑ */
  line-height: 1.85;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { background: var(--white); padding: 6rem 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.product-desc .product-brand { font-family: 'BernhardFashionBT', serif; font-size: 0.82rem; letter-spacing: 0.18em; color: var(--bronze); text-transform: uppercase; margin-bottom: 0.8rem; display: block; font-weight: 400; }
.product-desc h1 { font-family: 'BernhardFashionBT', serif; font-size: 2.6rem; color: var(--ink); margin-bottom: 0.4rem; line-height: 1.1; }
.product-desc .price { color: var(--bronze); font-size: 1.05rem; margin-bottom: 2rem; display: block; font-weight: 600; }
.product-desc p { font-size: 0.95rem; font-weight: 400; color: var(--text-secondary); line-height: 1.9; margin-bottom: 1rem; }

/* ===== ABOUT PAGE ===== */
.about-page { padding: 6rem 0; background: var(--white); }
.about-page h1 {  font-size: 3rem; font-weight: 500; color: var(--ink); margin-bottom: 2rem; }
.about-page p { font-size: 0.97rem; font-weight: 400; color: var(--text-secondary); line-height: 1.95; margin-bottom: 1.5rem; }

/* ===== CONTACT PAGE ===== */
.contact-page { background: var(--white); padding: 6rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact-details h1 {  font-size: 3rem; font-weight: 500; color: var(--ink); margin-bottom: 1.5rem; }
.contact-details h2 {  font-size: 1.3rem; font-weight: 500; color: var(--bronze); margin: 2rem 0 0.7rem; }
.contact-details p, .contact-details li { font-size: 0.95rem; font-weight: 400; color: var(--text-secondary); line-height: 1.8; }
.hours-list { list-style: none; }
.contact-details .note { font-style: italic; color: var(--text-secondary); margin-top: 0.4rem; font-size: 0.88rem; }
.contact-form { background: var(--offwhite); padding: 3rem; border: 1px solid var(--border-mid); }
.contact-form h2 {  font-size: 1.6rem; font-weight: 500; color: var(--ink); margin-bottom: 1.8rem; }
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form .form-group label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--bronze); margin-bottom: 0.4rem; }
.contact-form .form-group input, .contact-form .form-group textarea { width: 100%; padding: 0.75rem 1rem; background: var(--white); border: 1px solid var(--border-mid); color: var(--ink); font-family: 'Heebo', sans-serif; font-size: 0.95rem; font-weight: 400; outline: none; resize: vertical; transition: border-color var(--transition); text-align: right; }
.contact-form .form-group input:focus, .contact-form .form-group textarea:focus { border-color: var(--bronze); }

/* ===== SUCCESS ===== */
.success-msg { margin-top: 1.5rem; padding: 1rem 1.4rem; background: #f0f7f0; border: 1px solid #b8d8b8; color: #1e4a1e; font-size: 0.92rem; font-weight: 500; }

/* ===== 404 ===== */
.not-found { padding: 10rem 0; text-align: center; }
.not-found h1 {  font-size: 3rem; font-weight: 500; color: var(--ink); margin-bottom: 1rem; }
.not-found p { color: var(--text-secondary); font-weight: 400; margin-bottom: 2rem; font-size: 1rem; }

/* ===== FOOTER – dark bg ===== */
.footer { background: var(--ink-soft); border-top: 1px solid rgba(255,255,255,0.06); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 4rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo .logo { color: #FAFAF7; display: block; margin-bottom: 1rem; }
.footer-logo .logo sub { color: rgba(250,250,247,0.55); font-weight: 500; } /* ↑ was 0.4 */
.footer-logo p { font-size: 0.88rem; font-weight: 400; color: rgba(250,250,247,0.62); line-height: 1.75; max-width: 240px; } /* ↑ was 0.45 */
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-pale); margin-bottom: 1.4rem; }
.footer-col ul { list-style: none; }
.footer-col ul li a { display: block; font-size: 0.88rem; font-weight: 400; color: rgba(250,250,247,0.72); margin-bottom: 0.7rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--bronze-pale); }
.footer-col p { font-size: 0.88rem; font-weight: 400; color: rgba(250,250,247,0.72); margin-bottom: 0.5rem; line-height: 1.7; }
/* Footer partner names: Playfair for clarity at small size on dark bg */
.footer-col .en-partners {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(250,250,247,0.82);
  line-height: 2;
}
.footer-col i{
  color:var(--bronze-pale);opacity:0.6;margin-left:0.5rem
}
.footer-col .footer-he{
  margin-top:1.2rem;
  font-size:0.72rem;
  color:rgb(250, 250, 247)
}
.footer-col .footer-he-p{
font-family:'BernhardFashionBT',serif;font-size:1rem;color:rgba(250, 250, 247, 0.811);line-height:1.8
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.82rem; font-weight: 400; color: rgba(250,250,247,0.58); }

/* ===== CATEGORY INNER PAGE ===== */
.cat-intro-block { border-right: 3px solid var(--bronze); padding-right: 1.4rem; margin-bottom: 2rem; }
.cat-intro-block p { font-size: 1.02rem; font-weight: 400; color: var(--ink-soft); line-height: 1.9; }
.cat-rich-text p { font-size: 0.95rem; font-weight: 400; color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.2rem; }
.spec-table { border: 1px solid var(--border-mid); }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border-fine); }
.spec-row:last-child { border-bottom: none; }
.spec-key { padding: 0.75rem 1rem; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); border-left: 1px solid var(--border-fine); }
.spec-val-cell { padding: 0.75rem 1rem;  font-size: 0.95rem; color: var(--bronze-dark); font-weight: 500; }
.pdf-link { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border-fine); color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; transition: color var(--transition); }
.pdf-link:hover { color: var(--bronze); }
.pdf-icon { color: var(--bronze); font-size: 1rem; }

/* ===== IMAGE CONTAINERS ===== */
.img-tall-wrap { overflow: hidden; background: var(--cream); }
.img-tall-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.img-thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 2px; }
.img-thumb { height: 110px; overflow: hidden; cursor: pointer; background: var(--cream); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.8); transition: filter var(--transition), transform var(--transition); display: block; }
.img-thumb:hover img { filter: brightness(1); transform: scale(1.04); }

/* ===== MASONRY GALLERY ===== */
.masonry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-fine); border: 1px solid var(--border-fine); }
.masonry-cell { overflow: hidden; background: var(--cream); }
.masonry-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.82) saturate(0.9); transition: filter var(--transition), transform var(--transition); display: block; }
.masonry-cell:hover img { filter: brightness(1) saturate(1); transform: scale(1.03); }

/* ===== THUMB SWITCHER ===== */
.thumb-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 2px; background: var(--border-fine); }
.thumb-item { height: 76px; overflow: hidden; cursor: pointer; outline: 2px solid transparent; transition: outline-color var(--transition); }
.thumb-item:hover, .thumb-item.active { outline-color: var(--bronze); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(0.75); transition: filter var(--transition); display: block; }
.thumb-item:hover img, .thumb-item.active img { filter: brightness(1); }

/* ===== ACCESSIBILITY ===== */
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.85s ease, transform 0.85s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.12s; }
.fade-up.delay-2 { transition-delay: 0.24s; }
.fade-up.delay-3 { transition-delay: 0.36s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  /* Hero goes stacked: text on top, image below */
  .hero-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-height: none;
    margin-top: 72px;
  }
  .hero-text {
    padding: 3.5rem 2.5rem 3rem;
    overflow-y: visible;
  }
  .hero-image {
    height: 56vw;    /* proportional, not full-screen tall */
    min-height: 300px;
    max-height: 520px;
  }
  /* Highlight goes stacked: image above, text below */
  .highlight {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-height: none;
  }
  .highlight-image {
    height: 56vw;
    min-height: 300px;
    max-height: 500px;
  }
  .highlight-content { padding: 3rem 2.5rem; overflow-y: visible; }

  /* 2 columns at tablet */
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { padding-bottom: 0; height: 260px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-left { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .product-detail-grid { grid-template-columns: 1fr; }

  /* Compress nav links at tablet */
  .nav-menu { gap: 1.2rem; }
  .nav-menu li a { font-size: 0.74rem; }
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.74rem; }
}
@media (max-width: 768px) {
  /* ── NAV ── */
  .nav-menu {
    display: none;
  }
  .hamburger { display: flex; }

  /* Full-screen overlay panel – starts below header height */
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 400;                    /* above header (200) and hamburger (310) */
    background: var(--ink);
    align-items: center;
    justify-content: center;
    gap: 0;
    /* top padding = nav height so nothing hides under header */
    padding: 72px 2rem 3rem;
    animation: menuSlideIn 0.3s ease forwards;
  }
  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-menu.open li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-menu.open li:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

  .nav-menu.open li a {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    color: rgba(250,250,247,0.9);
    padding: 1.1rem 0;
    letter-spacing: 0.08em;
    transition: color 0.2s;
  }
  .nav-menu.open li a:hover { color: var(--bronze-pale); }
  .nav-menu.open li a::after { display: none; }  /* remove desktop underline */

  /* Hide nav-cta inside overlay (show it separately below links) */
  .nav-menu.open ~ .nav-cta { display: none; }

  /* ── HERO ── */
  .hero-split { margin-top: 64px; }
  .hero-text { padding: 2.5rem 1.5rem 2.5rem; }
  .hero-image {
    height: 70vw;
    min-height: 260px;
    max-height: 420px;
  }
  .hero-text h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  /* ── HIGHLIGHT ── */
  .highlight-image {
    height: 70vw;
    min-height: 260px;
    max-height: 400px;
  }

  /* ── CATEGORIES ── */
  /* Single column on mobile – fixed minimum height so cards are readable */
  .categories-grid { grid-template-columns: 1fr; }
  .category-card {
    padding-bottom: 0;        /* cancel the aspect-ratio trick */
    height: 220px;            /* fixed height – enough for image + text */
  }

  /* ── OTHER ── */
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-left: none; border-top: 1px solid var(--border-fine); }
  .feature:first-child { border-top: none; }
  .tip-inner { flex-direction: column; gap: 2rem; }
  .tip-label-vert { writing-mode: horizontal-tb; transform: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .thumb-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   CATEGORY PAGE – responsive classes
   ============================================================ */

.cat-intro-section {
  background: var(--white);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-fine);
}

/* Desktop: side-by-side */
.cat-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Image column */
.cat-img-col { position: sticky; top: 7rem; }

.cat-main-img-wrap {
  height: 60vh;
  max-height: 640px;
  overflow: hidden;
  border: 1px solid var(--border-fine);
  background: var(--cream);
}
.cat-main-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

.cat-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 3px;
}
.cat-thumb {
  height: 110px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
}
.cat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: brightness(0.8);
  transition: filter 0.4s;
}
.cat-thumb:hover img { filter: brightness(1); }

/* Text column */
.cat-text-col { padding-top: 0.5rem; }

.cat-page-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.cat-intro-quote {
  border-right: 3px solid var(--bronze);
  padding-right: 1.2rem;
  margin-bottom: 1.5rem;
}
.cat-intro-quote p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.9;
}

.cat-rich-body p {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.cat-specs-block,
.cat-pdfs-block {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-fine);
}

.cat-block-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.cat-specs-table {
  border: 1px solid var(--border-mid);
}
.cat-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-fine);
}
.cat-spec-row:last-child { border-bottom: none; }
.cat-spec-key {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-fine);
}
.cat-spec-val {
  padding: 0.65rem 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bronze-dark);
}

.cat-pdf-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-fine);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s;
}
.cat-pdf-link:hover { color: var(--bronze); }
.cat-pdf-icon { color: var(--bronze); font-size: 1rem; flex-shrink: 0; }

.cat-cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Gallery section */
.cat-gallery-section {
  background: var(--offwhite);
  padding: 5rem 0;
  border-top: 1px solid var(--border-fine);
}

.cat-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--border-fine);
  border: 1px solid var(--border-fine);
}
.cat-gallery-cell {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}
.cat-gallery-cell.cat-gallery-tall {
  grid-row: span 2;
  aspect-ratio: 4 / 6.1;
}
.cat-gallery-cell img {
  width: 100%; height: 100%;
  object-fit: contain;           /* מציג את כל התמונה ללא חיתוך */
  object-position: center center;
  display: block;
  background: var(--cream);      /* רקע לאזורים הריקים */
  filter: brightness(0.96) saturate(0.9);
  transition: filter 0.5s, transform 0.5s;
}
.cat-gallery-cell:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.02);
}

.cat-products-section { background: var(--white); }

/* ============================================================
   PRODUCT PAGE – responsive classes
   ============================================================ */

.prod-detail-section {
  background: var(--white);
  padding: 6rem 0 4rem;
}

.prod-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Image column */
.prod-img-col { position: sticky; top: 7rem; }

.prod-main-img-wrap {
  height: 70vh;
  max-height: 700px;
  overflow: hidden;
  border: 1px solid var(--border-fine);
  background: var(--cream);
}
.prod-main-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: opacity 0.2s ease;
}

.prod-thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 3px;
}
.prod-thumb {
  height: 80px;
  overflow: hidden;
  cursor: pointer;
  outline: 2px solid transparent;
  transition: outline-color 0.3s;
  background: var(--cream);
}
.prod-thumb.active,
.prod-thumb:hover { outline-color: var(--bronze); }
.prod-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: brightness(0.75);
  transition: filter 0.3s;
}
.prod-thumb.active img,
.prod-thumb:hover img { filter: brightness(1); }

/* Text column */
.prod-brand {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.6rem;
}

.prod-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.prod-designer {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.prod-category-tag {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-fine);
}

.prod-desc-primary {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  border-right: 3px solid var(--bronze);
  padding-right: 1.2rem;
}
.prod-desc-secondary {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.prod-features-block { margin-bottom: 2rem; }
.prod-block-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.8rem;
}
.prod-features-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prod-feature-tag {
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-mid);
  color: var(--text-secondary);
}

.prod-cat-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-fine);
}
.prod-cat-name {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}
.prod-cat-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
  transition: color 0.3s;
}
.prod-cat-link:hover { color: var(--bronze-dark); }

.prod-action-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE – category & product pages
   ============================================================ */

@media (max-width: 1024px) {
  /* Category intro: stack image above text */
  .cat-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cat-img-col { position: static; }
  .cat-main-img-wrap {
    height: 50vw;
    max-height: 480px;
    min-height: 240px;
  }

  /* Product: stack image above text */
  .prod-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .prod-img-col { position: static; }
  .prod-main-img-wrap {
    height: 56vw;
    max-height: 520px;
    min-height: 260px;
  }
  .prod-thumb-strip { grid-template-columns: repeat(5, 1fr); }

  /* Gallery: 2 cols */
  .cat-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-gallery-cell.cat-gallery-tall {
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  .cat-intro-section { padding: 3rem 0; }
  .cat-main-img-wrap {
    height: 64vw;
    max-height: 360px;
    min-height: 200px;
  }
  .cat-thumb-row { display: none; }  /* hide thumbnails on mobile to save space */

  .cat-page-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .cat-gallery-section { padding: 3rem 0; }
  .cat-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-gallery-cell {aspect-ratio: 4 / 3; }
  .cat-gallery-cell.cat-gallery-tall { grid-row: span 1; aspect-ratio: 4 / 3; }

  .prod-detail-section { padding: 3rem 0 2.5rem; }
  .prod-main-img-wrap {
    height: 72vw;
    max-height: 380px;
    min-height: 220px;
  }
  .prod-thumb-strip { grid-template-columns: repeat(4, 1fr); }
  .prod-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .prod-cat-link-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .prod-action-row { flex-direction: column; }
  .prod-action-row .btn-primary,
  .prod-action-row .btn-secondary { width: 100%; text-align: center; }
}

/* ============================================================
   SITEMAP PAGE
   ============================================================ */
.sitemap-section {
  padding: 6rem 0 7rem;
  background: var(--white);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
  margin-bottom: 4rem;
}

.sitemap-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--bronze);
  display: inline-block;
}

.sitemap-list { list-style: none; }

.sitemap-item {
  border-bottom: 1px solid var(--border-fine);
}
.sitemap-item:first-child { border-top: 1px solid var(--border-fine); }

.sitemap-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s, padding-right 0.3s;
}
.sitemap-link:hover {
  color: var(--bronze);
  padding-right: 0.4rem;
}
.sitemap-arrow {
  font-size: 0.8rem;
  color: var(--bronze);
  opacity: 0;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.sitemap-link:hover .sitemap-arrow { opacity: 1; }

.sitemap-footer-note {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border-fine);
  font-size: 1rem;
  color: var(--text-secondary);
}
.sitemap-contact-link {
  color: var(--bronze);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sitemap-contact-link:hover { color: var(--bronze-dark); }

@media (max-width: 768px) {
  .sitemap-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sitemap-section { padding: 4rem 0 5rem; }
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-section {
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

/* ── Check animation ── */
.ty-check-wrap {
  margin-bottom: 2.5rem;
}
.ty-check-svg {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto;
}

/* Circle draws itself */
.ty-circle {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: ty-draw-circle 0.7s ease 0.3s forwards;
}
@keyframes ty-draw-circle {
  to { stroke-dashoffset: 0; }
}

/* Tick draws itself after circle */
.ty-tick {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: ty-draw-tick 0.45s ease 1s forwards;
}
@keyframes ty-draw-tick {
  to { stroke-dashoffset: 0; }
}

/* ── Content ── */
.ty-content {
  max-width: 560px;
  width: 100%;
}

.ty-title {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin: 0.6rem 0 0.8rem;
}

.ty-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.ty-divider {
  width: 48px;
  height: 2px;
  background: var(--bronze);
  margin: 2rem auto;
}

.ty-body {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

/* ── Info cards ── */
.ty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-fine);
  border: 1px solid var(--border-fine);
  margin-bottom: 2.5rem;
}

.ty-card {
  background: var(--offwhite);
  padding: 1.5rem 1rem;
  transition: background var(--transition);
}
.ty-card:hover { background: var(--cream); }

.ty-card-icon {
  font-size: 1.2rem;
  color: var(--bronze);
  margin-bottom: 0.8rem;
}

.ty-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.4rem;
}

.ty-card-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* ── CTA buttons ── */
.ty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .thankyou-section { padding: 4rem 1.2rem 5rem; }
  .ty-cards { grid-template-columns: 1fr; }
  .ty-card { padding: 1.2rem; }
  .ty-actions { flex-direction: column; }
  .ty-actions .btn-primary,
  .ty-actions .btn-secondary { width: 100%; text-align: center; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 23, 20, 0.96);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: lb-fade-in 0.25s ease forwards;
}
.lightbox-overlay.open { display: flex; }

@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(250,250,247,0.08);
  animation: lb-zoom-in 0.3s ease forwards;
}
@keyframes lb-zoom-in {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 1.2rem;
  left: 1.2rem;
  width: 44px; height: 44px;
  background: rgba(250,250,247,0.1);
  border: 1px solid rgba(250,250,247,0.2);
  color: #FAFAF7;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { background: rgba(250,250,247,0.2); }

/* Prev / Next arrows */
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(250,250,247,0.1);
  border: 1px solid rgba(250,250,247,0.2);
  color: #FAFAF7;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1001;
  user-select: none;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(250,250,247,0.22); }
.lightbox-prev { right: 1.2rem; }
.lightbox-next { left: 1.2rem; }

/* Counter */
.lightbox-counter {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(250,250,247,0.55);
  z-index: 1001;
}

/* Make the main product image clickable */
.prod-main-img-wrap {
  cursor: zoom-in;
}
/* Gallery cells also clickable */
.cat-gallery-cell {
  cursor: zoom-in;
}

@media (max-width: 600px) {
  .lightbox-prev { right: 0.5rem; }
  .lightbox-next { left: 0.5rem; }
  .lightbox-close { top: 0.5rem; left: 0.5rem; }
}
