/* =================================================================
   ZAKARIA KRAYEM — Maison de Couture
   Design System & Stylesheet
   Palette: Camel / Cream / Espresso  ·  Bilingual (EN/AR, LTR/RTL)
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Warm neutral palette */
  --cream:        #F7F2EA;
  --cream-soft:   #FBF8F2;
  --sand:         #EFE5D5;
  --sand-deep:    #E3D4BE;
  --camel:        #B98B5E;
  --camel-dark:   #9C6F44;
  --camel-light:  #CBA882;
  --gold:         #C9A24B;
  --espresso:     #2E2218;
  --espresso-2:   #1E160F;
  --coffee:       #4A3829;
  --charcoal:     #2B2520;
  --ink:          #211B15;
  --muted:        #8C7B66;
  --muted-light:  #A99B86;
  --line:         rgba(46, 34, 24, 0.14);
  --line-soft:    rgba(46, 34, 24, 0.08);
  --white:        #ffffff;

  /* Typography */
  --serif:  'Cormorant Garamond', 'El Messiri', Georgia, serif;
  --sans:   'Jost', 'Tajawal', system-ui, -apple-system, sans-serif;
  --ar-serif: 'El Messiri', 'Cormorant Garamond', serif;
  --ar-sans:  'Tajawal', 'Jost', system-ui, sans-serif;

  /* Rhythm */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 130px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;

  --shadow-sm: 0 6px 24px -12px rgba(46, 34, 24, 0.35);
  --shadow-md: 0 24px 60px -28px rgba(46, 34, 24, 0.45);
}

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

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

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body { font-family: var(--ar-sans); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; color: var(--ink); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: var(--ar-serif); line-height: 1.25; }

::selection { background: var(--camel); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.tight { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--camel-dark);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
[dir="rtl"] .eyebrow { font-family: var(--ar-sans); letter-spacing: 0.12em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--camel); display: inline-block; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--camel); display: inline-block; }

.display {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.h-lg { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.h-md { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.lead { font-size: 1.08rem; color: var(--coffee); font-weight: 300; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 17px 38px; border-radius: var(--radius);
  transition: all 0.45s var(--ease); position: relative; cursor: pointer;
  white-space: nowrap;
}
[dir="rtl"] .btn { font-family: var(--ar-sans); letter-spacing: 0.06em; font-weight: 600; }
.btn-primary { background: var(--espresso); color: var(--cream-soft); }
.btn-primary:hover { background: var(--camel-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-camel { background: var(--camel); color: #fff; }
.btn-camel:hover { background: var(--camel-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--espresso); background: var(--espresso); color: var(--cream-soft); }
.btn-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

.link-underline {
  position: relative; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; padding-bottom: 4px; display: inline-flex; align-items: center; gap: 10px;
}
[dir="rtl"] .link-underline { letter-spacing: 0.06em; }
.link-underline::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0.32); transform-origin: left; transition: transform 0.5s var(--ease);
}
[dir="rtl"] .link-underline::after { transform-origin: right; }
.link-underline:hover::after { transform: scaleX(1); }
.link-underline .arr { transition: transform 0.4s var(--ease); }
.link-underline:hover .arr { transform: translateX(5px); }
[dir="rtl"] .link-underline:hover .arr { transform: translateX(-5px) scaleX(-1); }
[dir="rtl"] .link-underline .arr { transform: scaleX(-1); }

/* =================================================================
   ANNOUNCEMENT BAR
   ================================================================= */
.announce {
  background: var(--espresso-2); color: var(--sand-deep);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  text-align: center; padding: 10px 16px; font-weight: 400;
  position: relative; z-index: 60;
}
[dir="rtl"] .announce { letter-spacing: 0.05em; font-size: 0.78rem; }
.announce span { opacity: 0.9; }

/* =================================================================
   HEADER
   ================================================================= */
.header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  background: transparent;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); gap: 20px;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav.right { justify-content: flex-end; }
.nav-link {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
  color: var(--ink); position: relative; padding: 6px 0; transition: color 0.3s;
}
[dir="rtl"] .nav-link { letter-spacing: 0.03em; font-size: 0.92rem; font-weight: 500; }
.nav-link::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0; height: 1px; width: 100%;
  background: var(--camel); transform: scaleX(0); transform-origin: center; transition: transform 0.4s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--camel-dark); }

/* Brand wordmark */
.brand { text-align: center; line-height: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.brand .mark {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.18em;
  color: var(--ink); text-transform: uppercase; white-space: nowrap;
}
.brand .sub {
  font-family: var(--sans); font-size: 0.52rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--camel-dark); font-weight: 500;
}
[dir="rtl"] .brand .sub { letter-spacing: 0.16em; font-family: var(--ar-sans); }
.brand-mono { display: block; background-repeat: no-repeat; background-position: center; background-size: contain; background-image: url('../img/logo-mono-dark.png'); }
.header .brand-mono { width: 44px; height: 35px; margin-bottom: 6px; }
.header .brand .mark { font-size: 1.16rem; letter-spacing: 0.16em; }
.header.on-dark:not(.scrolled) .brand-mono { background-image: url('../img/logo-mono-light.png'); }
.footer .brand { flex-direction: column; }
.footer .brand-mono { width: 58px; height: 46px; margin-bottom: 15px; background-image: url('../img/logo-mono-light.png'); }

/* Header tools */
.tools { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; transition: background 0.3s, color 0.3s; position: relative; }
.icon-btn:hover { background: rgba(46,34,24,0.06); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; }
.lang-toggle {
  font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 600; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 40px; text-transform: uppercase; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 7px;
}
.lang-toggle:hover { border-color: var(--espresso); background: var(--espresso); color: var(--cream-soft); }
.cart-count {
  position: absolute; top: 2px; inset-inline-end: 2px; background: var(--camel); color: #fff;
  font-size: 0.58rem; font-weight: 600; min-width: 16px; height: 16px; border-radius: 50%;
  display: none; align-items: center; justify-content: center; padding: 0 4px; line-height: 1;
}

/* Header scrolled state */
.header.scrolled { background: var(--cream-soft); box-shadow: 0 1px 0 var(--line-soft); border-bottom-color: var(--line-soft); }
/* Header on dark hero (transparent over image) */
.header.on-dark:not(.scrolled) .nav-link,
.header.on-dark:not(.scrolled) .brand .mark { color: #fff; }
.header.on-dark:not(.scrolled) .brand .sub { color: var(--camel-light); }
.header.on-dark:not(.scrolled) .lang-toggle { border-color: rgba(255,255,255,0.4); color: #fff; }
.header.on-dark:not(.scrolled) .lang-toggle:hover { background: #fff; color: var(--ink); }
.header.on-dark:not(.scrolled) .icon-btn { color: #fff; }
.header.on-dark:not(.scrolled) .icon-btn:hover { background: rgba(255,255,255,0.14); }
.header.on-dark:not(.scrolled) .burger span { background: #fff; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); transition: all 0.4s var(--ease); display: block; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =================================================================
   MOBILE MENU
   ================================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--espresso);
  color: var(--cream-soft); display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  transform: translateX(100%); transition: transform 0.6s var(--ease); visibility: hidden;
}
[dir="rtl"] .mobile-menu { transform: translateX(-100%); }
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu .m-link {
  font-family: var(--serif); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--cream-soft); display: flex; justify-content: space-between; align-items: center;
}
[dir="rtl"] .mobile-menu .m-link { font-family: var(--ar-serif); }
.mobile-menu .m-link .num { font-family: var(--sans); font-size: 0.7rem; color: var(--camel-light); letter-spacing: 0.1em; }
.mobile-close { position: absolute; top: 26px; inset-inline-end: var(--gutter); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
.mobile-close svg { width: 26px; height: 26px; }
.m-foot { margin-top: auto; display: flex; gap: 22px; padding-top: 30px; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--muted-light); text-transform: uppercase; }

.scrim { position: fixed; inset: 0; background: rgba(20,15,10,0.5); z-index: 70; opacity: 0; visibility: hidden; transition: opacity 0.4s; backdrop-filter: blur(2px); }
.scrim.show { opacity: 1; visibility: visible; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  margin-top: calc(-1 * var(--header-h)); color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,15,10,0.5) 0%, rgba(20,15,10,0.15) 35%, rgba(20,15,10,0.65) 100%);
}
.hero-content { padding-bottom: clamp(70px, 12vh, 150px); padding-top: calc(var(--header-h) + 40px); max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7.5vw, 6rem); font-weight: 500; margin-block: 18px 22px; }
.hero .eyebrow { color: var(--camel-light); }
.hero .eyebrow::before { background: var(--camel-light); }
.hero p { color: rgba(255,255,255,0.86); font-size: 1.12rem; max-width: 480px; margin-bottom: 36px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; inset-inline-end: var(--gutter); writing-mode: vertical-lr;
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after { content: ""; width: 1px; height: 50px; background: rgba(255,255,255,0.4); animation: scrollline 2s var(--ease) infinite; }
@keyframes scrollline { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* =================================================================
   MARQUEE
   ================================================================= */
.marquee { background: var(--espresso); color: var(--sand-deep); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 60px; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 60px; font-style: italic; }
[dir="rtl"] .marquee-track span { font-family: var(--ar-serif); font-style: normal; }
.marquee-track span::after { content: "✦"; color: var(--camel); font-size: 0.8rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* =================================================================
   INTRO / SPLIT
   ================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split.reverse .split-media { order: 2; }
[dir="rtl"] .split.reverse .split-media { order: 0; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.split-media .tag {
  position: absolute; bottom: 24px; inset-inline-start: 24px; background: var(--cream-soft);
  padding: 16px 24px; border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 240px;
}
.split-media .tag .num { font-family: var(--serif); font-size: 2.4rem; color: var(--camel-dark); line-height: 1; }
.split-media .tag .lbl { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.split-body h2 { margin-block: 18px 24px; }
.split-body p + p { margin-top: 18px; }
.split-body .btn { margin-top: 34px; }

.framed { padding: 8px; border: 1px solid var(--line); }
.framed img { border-radius: 0; }

/* =================================================================
   SECTION HEADER
   ================================================================= */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(34px, 5vw, 60px); flex-wrap: wrap; }
.sec-head .titleblock { max-width: 560px; }
.sec-head h2 { margin-top: 16px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }

/* =================================================================
   CATEGORIES
   ================================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/4; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,10,0) 40%, rgba(20,15,10,0.78) 100%); }
.cat-card .cat-info { position: absolute; bottom: 0; inset-inline: 0; padding: 26px 24px; z-index: 2; color: #fff; }
.cat-card .cat-info h3 { color: #fff; font-size: 1.55rem; }
.cat-card .cat-info .count { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--camel-light); margin-top: 6px; display: block; }
.cat-card .cat-go { position: absolute; top: 20px; inset-inline-end: 20px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(-6px); transition: all 0.5s var(--ease); z-index: 3; }
.cat-card:hover .cat-go { opacity: 1; transform: translateY(0); }
.cat-card .cat-go svg { width: 18px; height: 18px; stroke: #fff; }
[dir="rtl"] .cat-card .cat-go svg { transform: scaleX(-1); }

/* =================================================================
   PRODUCT GRID
   ================================================================= */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 11px 24px;
  border: 1px solid var(--line); border-radius: 40px; transition: all 0.3s; color: var(--coffee); font-weight: 400;
}
[dir="rtl"] .filter-btn { letter-spacing: 0.03em; font-size: 0.86rem; }
.filter-btn:hover { border-color: var(--espresso); }
.filter-btn.active { background: var(--espresso); color: var(--cream-soft); border-color: var(--espresso); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.product { position: relative; }
.product-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; background: var(--sand); margin-bottom: 18px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.product:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 16px; inset-inline-start: 16px; background: var(--cream-soft); color: var(--coffee);
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px; border-radius: 40px; z-index: 2; font-weight: 500;
}
.product-badge.dark { background: var(--espresso); color: var(--cream-soft); }
.product-add {
  position: absolute; bottom: 0; inset-inline: 0; background: var(--espresso); color: var(--cream-soft);
  padding: 15px; text-align: center; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  transform: translateY(100%); transition: transform 0.45s var(--ease); z-index: 2;
}
[dir="rtl"] .product-add { letter-spacing: 0.05em; }
.product:hover .product-add { transform: translateY(0); }
.product-cat { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--camel-dark); }
.product-name { font-family: var(--serif); font-size: 1.4rem; margin: 5px 0 8px; color: var(--ink); }
[dir="rtl"] .product-name { font-family: var(--ar-serif); }
.product-price { font-size: 0.98rem; color: var(--coffee); font-weight: 400; }
.product-price .was { color: var(--muted); text-decoration: line-through; margin-inline-start: 8px; font-size: 0.85rem; }

/* =================================================================
   FEATURE / CRAFT  (dark band)
   ================================================================= */
.band-dark { background: var(--espresso); color: var(--sand); position: relative; }
.band-dark h2, .band-dark h3 { color: var(--cream-soft); }
.band-dark .eyebrow { color: var(--camel-light); }
.band-dark .eyebrow::before, .band-dark .center .eyebrow::after { background: var(--camel-light); }
.band-dark .lead, .band-dark p { color: rgba(247,242,234,0.78); }

.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.craft-item { text-align: center; padding: 0 10px; }
.craft-item .ic { width: 56px; height: 56px; margin: 0 auto 22px; border: 1px solid rgba(201,162,75,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--camel-light); }
.craft-item .ic svg { width: 26px; height: 26px; stroke: currentColor; }
.craft-item h3 { font-size: 1.4rem; margin-bottom: 12px; }
.craft-item p { font-size: 0.95rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--camel-light); line-height: 1; }
.stat .lbl { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 10px; color: rgba(247,242,234,0.6); }
[dir="rtl"] .stat .lbl { letter-spacing: 0.04em; }

/* =================================================================
   LOOKBOOK / GALLERY
   ================================================================= */
.lookbook { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
.lb { position: relative; overflow: hidden; border-radius: var(--radius); }
.lb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lb:hover img { transform: scale(1.05); }
.lb .lb-cap { position: absolute; inset-inline-start: 20px; bottom: 18px; color: #fff; z-index: 2; }
.lb .lb-cap span { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--camel-light); }
.lb .lb-cap h3 { color: #fff; font-size: 1.3rem; }
.lb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,15,10,0.6)); }
.lb.a { grid-column: span 5; grid-row: span 4; }
.lb.b { grid-column: span 4; grid-row: span 4; }
.lb.c { grid-column: span 3; grid-row: span 2; }
.lb.d { grid-column: span 3; grid-row: span 2; }

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.quote-wrap { max-width: 880px; margin-inline: auto; text-align: center; }
.quote-wrap .mark { font-family: var(--serif); font-size: 5rem; color: var(--camel); line-height: 0.5; height: 40px; display: block; }
.quote-wrap blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.4; color: var(--ink); font-weight: 400; font-style: italic; }
[dir="rtl"] .quote-wrap blockquote { font-family: var(--ar-serif); font-style: normal; }
.quote-wrap .by { margin-top: 28px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--camel-dark); }
.quote-wrap .role { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; text-transform: none; }

/* =================================================================
   NEWSLETTER
   ================================================================= */
.newsletter { background: var(--sand); border-radius: var(--radius); padding: clamp(40px, 6vw, 80px); text-align: center; }
.newsletter-form { display: flex; max-width: 480px; margin: 30px auto 0; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 16px 22px; border: 1px solid var(--line); background: var(--cream-soft);
  font-family: var(--sans); font-size: 0.92rem; border-radius: var(--radius); color: var(--ink); outline: none; transition: border 0.3s;
}
[dir="rtl"] .newsletter-form input { font-family: var(--ar-sans); }
.newsletter-form input:focus { border-color: var(--camel); }
.newsletter .note { font-size: 0.76rem; color: var(--muted); margin-top: 16px; }

/* =================================================================
   ABOUT / VALUES
   ================================================================= */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--cream-soft); padding: clamp(28px, 4vw, 48px); }
.value .vnum { font-family: var(--serif); font-size: 1.1rem; color: var(--camel-dark); letter-spacing: 0.1em; }
.value h3 { font-size: 1.5rem; margin: 14px 0 12px; }
.value p { font-size: 0.96rem; color: var(--coffee); }

.timeline { display: grid; gap: 0; max-width: 780px; margin-inline: auto; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--serif); font-size: 2rem; color: var(--camel-dark); }
.tl-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tl-body p { color: var(--coffee); font-size: 0.96rem; }

/* =================================================================
   CONTACT
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info .info-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-row:first-of-type { border-top: 1px solid var(--line); }
.contact-info .info-row .ic { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--camel-dark); }
.contact-info .info-row .ic svg { width: 20px; height: 20px; stroke: currentColor; }
.contact-info .info-row h3 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
[dir="rtl"] .contact-info .info-row h3 { font-family: var(--ar-sans); letter-spacing: 0.04em; }
.contact-info .info-row p { color: var(--ink); font-size: 1.02rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
[dir="rtl"] .field label { letter-spacing: 0.03em; font-size: 0.82rem; }
.field input, .field select, .field textarea {
  padding: 14px 18px; border: 1px solid var(--line); background: var(--cream-soft); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); outline: none; transition: border 0.3s; width: 100%;
}
[dir="rtl"] .field input, [dir="rtl"] .field select, [dir="rtl"] .field textarea { font-family: var(--ar-sans); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--camel); }
.field textarea { resize: vertical; min-height: 130px; }

.map-embed { width: 100%; aspect-ratio: 16/7; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(0.4) sepia(0.15); }

/* =================================================================
   PAGE BANNER (sub-pages)
   ================================================================= */
.page-banner { position: relative; min-height: 52vh; display: flex; align-items: center; color: #fff; margin-top: calc(-1 * var(--header-h)); overflow: hidden; }
.page-banner .pb-bg { position: absolute; inset: 0; z-index: -2; }
.page-banner .pb-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,10,0.55), rgba(20,15,10,0.4)); }
.page-banner .pb-content { padding-top: var(--header-h); }
.page-banner h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin: 16px 0 14px; }
.page-banner .eyebrow { color: var(--camel-light); }
.page-banner .eyebrow::before { background: var(--camel-light); }
.page-banner p { color: rgba(255,255,255,0.82); max-width: 520px; }
.crumbs { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 18px; }
.crumbs a:hover { color: #fff; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--espresso-2); color: var(--sand); padding-top: clamp(60px, 8vw, 100px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .brand .mark { color: var(--cream-soft); }
.footer .brand { align-items: flex-start; }
.footer-about { max-width: 320px; margin-top: 22px; color: rgba(247,242,234,0.6); font-size: 0.92rem; }
.footer h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--camel-light); font-weight: 500; margin-bottom: 22px; }
[dir="rtl"] .footer h4 { font-family: var(--ar-sans); letter-spacing: 0.06em; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a { color: rgba(247,242,234,0.66); font-size: 0.92rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--camel-light); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.14); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.socials a:hover { background: var(--camel); border-color: var(--camel); transform: translateY(-3px); }
.socials a svg { width: 17px; height: 17px; fill: rgba(247,242,234,0.8); }
.socials a:hover svg { fill: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(247,242,234,0.5); }
.footer-pay { display: flex; gap: 10px; align-items: center; }
.footer-pay span { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,242,234,0.4); padding: 5px 12px; border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; }

/* =================================================================
   CART DRAWER
   ================================================================= */
.cart-drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; width: min(420px, 100%); background: var(--cream-soft);
  z-index: 90; transform: translateX(100%); transition: transform 0.5s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
[dir="rtl"] .cart-drawer { transform: translateX(-100%); }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 26px var(--gutter); border-bottom: 1px solid var(--line); }
.cart-header h3 { font-size: 1.4rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px var(--gutter); }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 0.95rem; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-row img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.cart-row .cr-name { font-family: var(--serif); font-size: 1.05rem; }
[dir="rtl"] .cart-row .cr-name { font-family: var(--ar-serif); }
.cart-row .cr-price { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.cart-row .cr-remove { font-size: 0.7rem; color: var(--camel-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }
.cart-row .cr-line { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); white-space: nowrap; align-self: center; }
[dir="rtl"] .cart-row .cr-line { font-family: var(--ar-serif); }
.cart-footer { padding: 22px var(--gutter) 30px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 18px; }
.cart-total .t-val { font-family: var(--serif); font-size: 1.5rem; }

/* =================================================================
   REVEAL ANIMATION
   ================================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track, .hero-scroll::after { animation: none; } html { scroll-behavior: auto; } }

/* Toast */
.toast { position: fixed; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%) translateY(20px); background: var(--espresso); color: var(--cream-soft); padding: 14px 26px; border-radius: 40px; font-size: 0.82rem; letter-spacing: 0.05em; z-index: 100; opacity: 0; transition: all 0.4s var(--ease); pointer-events: none; box-shadow: var(--shadow-md); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* lang display helpers */
[data-lang-en], [data-lang-ar] { display: none; }
html[lang="en"] [data-lang-en] { display: revert; }
html[lang="ar"] [data-lang-ar] { display: revert; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .lookbook { grid-auto-rows: 100px; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .nav.left, .nav.right .nav-link { display: none; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .brand { grid-column: 2; }
  .nav.right { grid-column: 3; }
  .nav.right { gap: 8px; }
  .burger { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .craft-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .lookbook { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .lb.a, .lb.b, .lb.c, .lb.d { grid-column: span 1; grid-row: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-scroll { display: none; }
  .desktop-tool { display: none; }
}
@media (max-width: 540px) {
  :root { --gutter: 20px; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-name { font-size: 1.15rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .brand .mark { font-size: 1.2rem; letter-spacing: 0.12em; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   PRODUCT DETAIL PAGE (PDP)
   ================================================================= */
.header.solid-page { background: var(--cream-soft); border-bottom: 1px solid var(--line-soft); }

.pdp-crumbs { padding-top: 26px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
[dir="rtl"] .pdp-crumbs { letter-spacing: 0.02em; font-size: 0.82rem; }
.pdp-crumbs a:hover { color: var(--camel-dark); }
.pdp-crumbs .current { color: var(--ink); }

.pdp { padding-top: 36px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

/* Gallery */
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.pdp-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4/5; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main .product-badge { top: 18px; inset-inline-start: 18px; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pdp-thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line-soft); padding: 0; transition: border-color 0.3s, opacity 0.3s; opacity: 0.7; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb.active { border-color: var(--camel); opacity: 1; }

/* Info */
.pdp-info .product-cat { font-size: 0.7rem; }
.pdp-title { font-size: clamp(2rem, 3.6vw, 3rem); margin: 10px 0 14px; }
.pdp-price { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin-bottom: 22px; }
.pdp-mtm { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
[dir="rtl"] .pdp-mtm { font-family: var(--ar-sans); }
.pdp-lead { font-size: 1.02rem; color: var(--coffee); line-height: 1.75; padding-bottom: 26px; border-bottom: 1px solid var(--line); }

.pdp-opt { padding: 24px 0; border-bottom: 1px solid var(--line); }
.pdp-opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.pdp-opt-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
[dir="rtl"] .pdp-opt-label { letter-spacing: 0.03em; font-size: 0.84rem; }
.pdp-opt-val { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
[dir="rtl"] .pdp-opt-val { font-family: var(--ar-serif); }
.pdp-sizeguide { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--camel-dark); border-bottom: 1px solid var(--camel-light); padding-bottom: 2px; }

.swatches { display: flex; gap: 12px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; background: var(--sw); position: relative; border: 1px solid rgba(0,0,0,0.12); transition: transform 0.3s; }
.swatch:hover { transform: scale(1.08); }
.swatch.active::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--camel); border-radius: 50%; }

.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.size { min-width: 52px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--sans); font-size: 0.92rem; color: var(--coffee); transition: all 0.25s; }
.size:hover { border-color: var(--espresso); }
.size.active { background: var(--espresso); color: var(--cream-soft); border-color: var(--espresso); }

.pdp-actions { display: flex; flex-direction: column; gap: 12px; padding: 26px 0; }
.pdp-reassure { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.pdp-reassure li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--coffee); }
.pdp-reassure svg { width: 20px; height: 20px; stroke: var(--camel-dark); flex-shrink: 0; }

/* Accordion */
.accordion { margin-top: 16px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); text-align: start; }
[dir="rtl"] .acc-head { font-family: var(--ar-serif); }
.acc-ic { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; background: var(--camel-dark); transition: transform 0.3s var(--ease); }
.acc-ic::before { top: 50%; inset-inline: 0; height: 1.5px; transform: translateY(-50%); }
.acc-ic::after { inset-block: 0; inset-inline-start: 50%; width: 1.5px; transform: translateX(-50%); }
.acc-item.open .acc-ic::after { transform: translateX(-50%) scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-item.open .acc-body { max-height: 360px; }
.acc-body p { padding-bottom: 22px; color: var(--coffee); font-size: 0.96rem; line-height: 1.75; }

/* Make product cards feel clickable */
.product-media .pm-link { display: block; width: 100%; height: 100%; }
.product-name a:hover { color: var(--camel-dark); }

@media (max-width: 860px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 30px; }
  .pdp-gallery { position: static; }
}
@media (max-width: 540px) {
  .pdp-thumbs { gap: 8px; }
  .size { min-width: 46px; padding: 11px 6px; }
}
