/* =====================================================================
   LUXARO — Public website stylesheet
   Light luxury palette · Cairo (AR) / Tajawal (EN) · RTL & LTR aware
   ===================================================================== */

:root {
  --ivory: #faf7f2;
  --cream: #f4efe6;
  --champagne: #e9dcc5;
  --sand: #efe7da;
  --white: #ffffff;
  --gold: #b8975a;
  --gold-light: #d8c39a;
  --gold-pale: #f1e8d6;
  --gold-dark: #8a6d3b;
  --bronze: #9a7b4f;
  --charcoal: #1f1f1f;
  --ink: #2b2b2b;
  --muted: #6f6a62;
  --soft: #a39d93;
  --line: #e6dfd3;
  --line-strong: #d6cbb8;
  --black: #0e0d0c;
  --success: #3f7a52;
  --warning: #b07a2a;
  --danger: #a13f3f;
  --font-ar: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-en: 'Tajawal', 'Cairo', system-ui, sans-serif;
  --font: var(--font-en);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .6s;
  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 2px;
  --header-h: 88px;
  --shadow-soft: 0 20px 60px -30px rgba(31, 31, 31, .25);
  --shadow-card: 0 30px 60px -40px rgba(31, 31, 31, .35);
}
html[lang="ar"] { --font: var(--font-ar); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; color: var(--charcoal); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 500; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-pale); color: var(--charcoal); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------------------------------------------------------------- Layout */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 900px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8.5rem); position: relative; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark { background: var(--charcoal); color: #e8e2d8; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); }
.section-head.start { text-align: start; margin-inline: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem; color: var(--gold-dark); font-size: .78rem; letter-spacing: .28em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 1.1rem;
}
html[lang="ar"] .eyebrow { letter-spacing: .08em; font-size: .9rem; }
.eyebrow::before, .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--gold); opacity: .8; }
.section-head.start .eyebrow::after { display: none; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin-inline: auto; }
.section-head.start p { margin-inline: 0; }
.gold-line { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 1.4rem auto; }
.section-head.start .gold-line { margin-inline: 0; background: var(--gold); }
.section-foot { text-align: center; margin-top: clamp(2rem, 4vw, 3.5rem); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; overflow: hidden;
  padding: .95rem 2.3rem; border: 1px solid var(--gold); border-radius: var(--radius); background: transparent; color: var(--gold-dark);
  font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; line-height: 1;
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
  isolation: isolate;
}
html[lang="ar"] .btn { letter-spacing: .04em; font-size: .95rem; text-transform: none; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
html[dir="rtl"] .btn::after { transform: translateX(130%); }
.btn:hover::after { transform: translateX(130%); }
html[dir="rtl"] .btn:hover::after { transform: translateX(-130%); }
.btn:hover { background: var(--gold); color: var(--white); box-shadow: 0 14px 30px -14px rgba(184,151,90,.7); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #c9ab6d, #b8975a 55%, #a48449); color: var(--white); border-color: transparent; }
.btn-gold:hover { background: linear-gradient(135deg, #d4b878, #b8975a 55%, #9a7b45); color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-dark:hover { background: var(--black); border-color: var(--black); color: var(--gold-light); }
.btn-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--charcoal); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); background: transparent; color: var(--gold-dark); box-shadow: none; }
.btn-sm { padding: .7rem 1.4rem; font-size: .74rem; }
.btn-lg { padding: 1.15rem 2.9rem; }
.btn-block { width: 100%; }
.btn-whatsapp { border-color: #2f8f5b; color: #2f8f5b; }
.btn-whatsapp:hover { background: #2f8f5b; border-color: #2f8f5b; color: #fff; box-shadow: 0 14px 30px -14px rgba(47,143,91,.6); }
.btn svg { width: 17px; height: 17px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold-dark); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
html[lang="ar"] .link-arrow { letter-spacing: .02em; font-size: .95rem; text-transform: none; }
.link-arrow svg { width: 22px; height: 12px; transition: transform .4s var(--ease); }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(6px); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(6px); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.is-transparent { color: var(--white); }
.site-header.is-solid, .site-header.is-scrolled, .site-header.is-open {
  background: rgba(250, 247, 242, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line); color: var(--ink); height: 72px;
}
.site-header.is-solid { height: var(--header-h); }
.site-header.is-solid.is-scrolled { height: 72px; }
.brand-logo { display: flex; align-items: center; height: 100%; }
.brand-logo img { height: 46px; width: auto; transition: height .5s var(--ease), filter .5s var(--ease); }
.is-scrolled .brand-logo img { height: 40px; }
.site-header.is-transparent:not(.is-scrolled):not(.is-open) .brand-logo img { filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.main-nav a {
  position: relative; padding: .5rem 0; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; white-space: nowrap;
}
html[lang="ar"] .main-nav a { letter-spacing: 0; font-size: .98rem; text-transform: none; }
.main-nav a::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
html[dir="rtl"] .main-nav a::after { transform-origin: left; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
html[dir="rtl"] .main-nav a:hover::after, html[dir="rtl"] .main-nav a.active::after { transform-origin: right; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.site-header.is-transparent:not(.is-scrolled):not(.is-open) .main-nav a:hover { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; background: transparent; color: inherit;
  border-radius: 50%; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(184,151,90,.12); color: var(--gold); }
.lang-switch {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid currentColor; border-radius: 999px;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; transition: opacity .3s, background-color .3s, color .3s, border-color .3s;
}
.lang-switch:hover { opacity: 1; background: var(--gold); border-color: var(--gold); color: #fff; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; border: 0; background: transparent; color: inherit; padding: 0 9px; }
.hamburger span { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s, width .45s var(--ease); transform-origin: center; }
.hamburger span:nth-child(2) { width: 70%; margin-inline-start: auto; }
.is-open .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.is-open .hamburger span:nth-child(2) { opacity: 0; width: 0; }
.is-open .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ivory); padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu nav a {
  display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 500; letter-spacing: .04em;
  opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:nth-child(1) { transition-delay: .1s } .mobile-menu nav a:nth-child(2) { transition-delay: .16s }
.mobile-menu nav a:nth-child(3) { transition-delay: .22s } .mobile-menu nav a:nth-child(4) { transition-delay: .28s }
.mobile-menu nav a:nth-child(5) { transition-delay: .34s } .mobile-menu nav a:nth-child(6) { transition-delay: .4s }
.mobile-menu nav a:hover { color: var(--gold); padding-inline-start: .5rem; }
.mobile-menu-foot { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; color: var(--muted); font-size: .95rem; }
.mobile-menu-foot .social { display: flex; gap: .6rem; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(250,247,242,.97); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center; padding: clamp(6rem, 18vh, 12rem) var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.search-overlay form { width: min(100%, 760px); position: relative; }
.search-overlay input {
  width: 100%; border: 0; border-bottom: 1px solid var(--gold); background: transparent; padding: 1rem 3rem 1rem 0; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 400; color: var(--charcoal);
}
html[dir="rtl"] .search-overlay input { padding: 1rem 0 1rem 3rem; }
.search-overlay input::placeholder { color: var(--soft); }
.search-overlay input:focus { outline: none; }
.search-overlay .search-submit { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); }
.search-overlay .hint { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.search-overlay .close-search { position: absolute; top: 1.5rem; inset-inline-end: 1.5rem; }
.search-overlay .close-search svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; isolation: isolate;
  background: var(--charcoal);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media picture { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: heroZoom 18s var(--ease) forwards; transform-origin: center; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,13,12,.72) 0%, rgba(14,13,12,.45) 45%, rgba(14,13,12,.15) 100%),
              linear-gradient(0deg, rgba(14,13,12,.6) 0%, transparent 40%);
}
html[dir="rtl"] .hero-overlay { background: linear-gradient(-90deg, rgba(14,13,12,.72) 0%, rgba(14,13,12,.45) 45%, rgba(14,13,12,.15) 100%), linear-gradient(0deg, rgba(14,13,12,.6) 0%, transparent 40%); }
.hero-content { padding-block: calc(var(--header-h) + 3rem) 5rem; max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--gold-light); }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6.5vw, 5.6rem); font-weight: 400; line-height: 1.08; margin-bottom: .5rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; transform: translateY(110%); animation: lineUp 1.2s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .18s; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
@keyframes lineUp { to { transform: none; } }
.hero p { color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 520px; margin: 1.4rem 0 2.4rem; opacity: 0; animation: fadeUp 1.2s var(--ease-out) .5s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; opacity: 0; animation: fadeUp 1.2s var(--ease-out) .7s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-scroll {
  position: absolute; bottom: 2.2rem; inset-inline-start: var(--gutter); display: flex; align-items: center; gap: .9rem;
  color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: fadeUp 1s var(--ease-out) 1.4s forwards;
}
html[lang="ar"] .hero-scroll { letter-spacing: .05em; font-size: .85rem; }
.hero-scroll::after { content: ''; width: 1px; height: 54px; background: linear-gradient(180deg, var(--gold-light), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: .9; } 50% { transform: scaleY(.55); opacity: .4; } }
.hero-frame { position: absolute; inset: clamp(1rem, 3vw, 2.2rem); border: 1px solid rgba(216,195,154,.28); pointer-events: none; z-index: 0; }
.hero-frame::before, .hero-frame::after { content: ''; position: absolute; width: 40px; height: 40px; border-color: var(--gold-light); border-style: solid; }
.hero-frame::before { top: -1px; inset-inline-start: -1px; border-width: 1px 0 0 1px; }
.hero-frame::after { bottom: -1px; inset-inline-end: -1px; border-width: 0 1px 1px 0; }
html[dir="rtl"] .hero-frame::before { border-width: 1px 1px 0 0; }
html[dir="rtl"] .hero-frame::after { border-width: 0 0 1px 1px; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem); background: var(--cream); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(1200px 400px at 80% -10%, rgba(184,151,90,.16), transparent 60%); pointer-events: none; }
html[dir="rtl"] .page-hero::before { background: radial-gradient(1200px 400px at 20% -10%, rgba(184,151,90,.16), transparent 60%); }
.page-hero.has-image { color: #fff; background: var(--charcoal); min-height: 52vh; display: flex; align-items: flex-end; }
.page-hero.has-image::before { background: linear-gradient(0deg, rgba(14,13,12,.85), rgba(14,13,12,.25)); z-index: 1; }
.page-hero.has-image img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image .container { position: relative; z-index: 2; }
.page-hero.has-image h1, .page-hero.has-image .breadcrumb, .page-hero.has-image .breadcrumb a { color: #fff; }
.page-hero.has-image .breadcrumb { color: rgba(255,255,255,.75); }
.page-hero h1 { margin-top: .4rem; }
.page-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin-top: 1rem; }
.page-hero.has-image .lead { color: rgba(255,255,255,.8); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .breadcrumb { letter-spacing: 0; font-size: .9rem; text-transform: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--gold); margin-inline-end: .6rem; vertical-align: middle; }

/* ---------------------------------------------------------------- Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(1.4rem, 3vw, 2.8rem) clamp(1.2rem, 2.4vw, 2rem); }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(180deg, #fbf9f5, #f1ebe1); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(184,151,90,.12);
}
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), opacity .8s var(--ease); }
.product-card .media img.is-loading { opacity: 0; }
.product-card:hover .media img { transform: scale(1.06); }
.product-card .media::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,31,31,.28), transparent 45%); opacity: 0; transition: opacity .6s var(--ease);
}
.product-card:hover .media::after { opacity: 1; }
.product-card .quick {
  position: absolute; bottom: 1rem; inset-inline: 1rem; display: flex; justify-content: center; transform: translateY(14px); opacity: 0; transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.product-card:hover .quick { transform: none; opacity: 1; }
.product-card .quick .btn { background: rgba(250,247,242,.94); color: var(--charcoal); border-color: transparent; padding: .75rem 1.5rem; font-size: .72rem; }
.product-card .quick .btn:hover { background: var(--gold); color: #fff; }
.product-card .badges { position: absolute; top: .9rem; inset-inline-start: .9rem; display: flex; flex-direction: column; gap: .35rem; }
.badge {
  display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; line-height: 1;
  background: rgba(250,247,242,.92); color: var(--charcoal); backdrop-filter: blur(4px);
}
html[lang="ar"] .badge { letter-spacing: 0; font-size: .74rem; text-transform: none; padding: .32rem .7rem; }
.badge-gold { background: var(--gold); color: #fff; }
.badge-dark { background: var(--charcoal); color: var(--gold-light); }
.badge-success { background: #e8f1ea; color: var(--success); }
.badge-warning { background: #f7ecd9; color: var(--warning); }
.badge-danger { background: #f5e4e4; color: var(--danger); }
.badge-muted { background: var(--sand); color: var(--muted); }
.product-card .info { padding: 1.1rem .2rem 0; text-align: center; }
.product-card .brand { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .35rem; }
html[lang="ar"] .product-card .brand { letter-spacing: .04em; font-size: .82rem; text-transform: none; }
.product-card .name { font-size: 1.08rem; font-weight: 500; color: var(--charcoal); line-height: 1.4; transition: color .3s; }
.product-card:hover .name { color: var(--gold-dark); }
.product-card .ref { color: var(--soft); font-size: .8rem; margin-top: .2rem; letter-spacing: .05em; }
.product-card .price { margin-top: .55rem; font-weight: 500; color: var(--ink); font-size: 1rem; }
.product-card .price.on-request { color: var(--gold-dark); font-size: .88rem; letter-spacing: .08em; }
.product-card .stretched { position: absolute; inset: 0; z-index: 1; }
.product-card .quick { z-index: 2; }
.card-sold .media img { filter: grayscale(.5) brightness(.96); }

/* Featured layout (large first card) */
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.featured-grid > * { grid-column: span 3; }
.featured-grid > *:first-child { grid-column: span 6; grid-row: span 2; }
.featured-grid > *:first-child .media { aspect-ratio: 4 / 5; height: 100%; }
@media (max-width: 1100px) { .featured-grid > * { grid-column: span 4; } .featured-grid > *:first-child { grid-column: span 8; } }
@media (max-width: 720px) { .featured-grid > *, .featured-grid > *:first-child { grid-column: span 6; grid-row: auto; } }
@media (max-width: 420px) { .featured-grid > *, .featured-grid > *:first-child { grid-column: span 12; } }

/* ---------------------------------------------------------------- Category / collection cards */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.tile {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); color: #fff; display: flex; align-items: flex-end; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,13,12,.85) 0%, rgba(14,13,12,.2) 55%, transparent); transition: opacity .8s var(--ease); }
.tile:hover img { transform: scale(1.07); filter: brightness(1.05); }
.tile .tile-body { padding: clamp(1.4rem, 3vw, 2.2rem); width: 100%; transform: translateY(10px); transition: transform .7s var(--ease); }
.tile:hover .tile-body { transform: none; }
.tile .tile-kicker { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .5rem; }
html[lang="ar"] .tile .tile-kicker { letter-spacing: .04em; font-size: .8rem; text-transform: none; }
.tile h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; }
.tile .tile-line { width: 0; height: 1px; background: var(--gold-light); margin-top: .9rem; transition: width .8s var(--ease); }
.tile:hover .tile-line { width: 64px; }
.tile .tile-cta { display: block; opacity: 0; margin-top: .6rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; transition: opacity .6s var(--ease) .1s; }
html[lang="ar"] .tile .tile-cta { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.tile:hover .tile-cta { opacity: 1; }
.tile.tile-wide { aspect-ratio: 16 / 8; }
.tile .stretched { position: absolute; inset: 0; z-index: 1; }
.tile-frame { position: absolute; inset: 14px; border: 1px solid rgba(216,195,154,0); transition: border-color .8s var(--ease), inset .8s var(--ease); pointer-events: none; }
.tile:hover .tile-frame { border-color: rgba(216,195,154,.55); inset: 10px; }

/* ---------------------------------------------------------------- Brands */
.brand-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brand-cell {
  background: var(--ivory); aspect-ratio: 5 / 3; display: flex; align-items: center; justify-content: center; padding: 1.6rem; text-align: center;
  transition: background-color .5s var(--ease); position: relative;
}
.brand-cell:hover { background: var(--white); }
.brand-cell img { max-height: 54px; width: auto; max-width: 70%; filter: grayscale(1) opacity(.6); transition: filter .6s var(--ease), transform .6s var(--ease); }
.brand-cell:hover img { filter: none; transform: scale(1.06); }
.brand-cell .brand-text { font-size: 1.05rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--muted); transition: color .4s; }
.brand-cell:hover .brand-text { color: var(--gold-dark); }
.brand-card { background: var(--white); border: 1px solid var(--line); padding: 2.4rem 1.8rem; text-align: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease); position: relative; }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--gold-light); }
.brand-card img { height: 64px; width: auto; margin: 0 auto 1.2rem; object-fit: contain; }
.brand-card .placeholder { height: 64px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 1.2rem; }
.brand-card h3 { font-size: 1.15rem; }
.brand-card .count { color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.brand-card p { color: var(--muted); font-size: .92rem; margin-top: .8rem; }

/* ---------------------------------------------------------------- Why / features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.feature { text-align: center; padding: 2rem 1.2rem; position: relative; }
.feature .icon {
  width: 68px; height: 68px; margin: 0 auto 1.3rem; border: 1px solid var(--gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-dark);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.feature .icon svg { width: 28px; height: 28px; }
.feature:hover .icon { background: var(--gold); color: #fff; transform: rotate(-6deg) scale(1.04); }
.feature h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------------------------------------------------------------- About split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.split-media::after { content: ''; position: absolute; inset: -14px; border: 1px solid var(--gold-light); z-index: -1; transform: translate(14px, 14px); }
html[dir="rtl"] .split-media::after { transform: translate(-14px, 14px); }
.split-media .quote {
  position: absolute; bottom: -1.6rem; inset-inline-end: -1.2rem; background: var(--charcoal); color: var(--gold-light); padding: 1.4rem 1.8rem; max-width: 280px;
  font-size: .95rem; line-height: 1.6; box-shadow: var(--shadow-card);
}
.split-text .lead { font-size: 1.15rem; color: var(--ink); }
.split-text p { color: var(--muted); }
.split-text .btn { margin-top: 1rem; }

/* ---------------------------------------------------------------- Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat .num { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 400; color: var(--gold-light); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .5em; vertical-align: super; }
.stat .label { margin-top: .6rem; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); }
html[lang="ar"] .stat .label { letter-spacing: .02em; font-size: .95rem; text-transform: none; }
.stat + .stat { border-inline-start: 1px solid rgba(216,195,154,.18); }
@media (max-width: 720px) { .stat + .stat { border: 0; } }

/* ---------------------------------------------------------------- Contact strip / newsletter */
.contact-strip { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact-list { display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-item .ci { width: 44px; height: 44px; border: 1px solid var(--gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-dark); flex: none; }
.contact-item .ci svg { width: 18px; height: 18px; }
.contact-item .label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
html[lang="ar"] .contact-item .label { letter-spacing: 0; font-size: .85rem; text-transform: none; }
.contact-item .value { font-size: 1.05rem; color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.contact-item .value.bidi-auto { direction: inherit; }
.map-card { aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--cream) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 20h40M20 0v40" stroke="%23e6dfd3" stroke-width="1"/></svg>'); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.7); }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--gold-light); position: relative; background: var(--white); }
.newsletter::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.newsletter form { display: flex; gap: .6rem; }
.newsletter input { flex: 1; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; padding: .8rem .2rem; }
.newsletter input:focus { outline: none; border-bottom-color: var(--gold); }
.form-msg { font-size: .9rem; margin-top: .6rem; }
.form-msg.ok { color: var(--success); } .form-msg.err { color: var(--danger); }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--charcoal); color: #c9c2b6; padding: clamp(3.5rem, 7vw, 6rem) 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .95rem; max-width: 320px; color: #a8a196; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.3rem; position: relative; padding-bottom: .8rem; }
html[lang="ar"] .footer-col h4 { letter-spacing: .02em; font-size: 1rem; text-transform: none; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 1px; background: var(--gold); }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: #b7b0a4; font-size: .95rem; position: relative; }
.footer-col a:hover { color: var(--gold-light); padding-inline-start: .4rem; transition: padding .3s var(--ease), color .3s; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; color: #b7b0a4; font-size: .93rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: .3rem; color: var(--gold); }
.footer-contact .ltr { direction: ltr; unicode-bidi: isolate; }
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(216,195,154,.35); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #d8c39a; transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease); }
.social a svg { width: 16px; height: 16px; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px); }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; font-size: .85rem; color: #8f887c; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; align-items: center; }
.footer-bottom a { color: #b7b0a4; } .footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom .dev a { color: var(--gold-light); font-weight: 500; }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Catalog page */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.filters { position: sticky; top: 90px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.filters-head h3 { font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; }
html[lang="ar"] .filters-head h3 { letter-spacing: 0; font-size: 1rem; text-transform: none; }
.filter-group { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.filter-group summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: .95rem; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: '+'; color: var(--gold); font-size: 1.2rem; transition: transform .3s; }
.filter-group[open] summary::after { content: '−'; }
.filter-body { padding-top: .9rem; display: grid; gap: .5rem; }
.check { display: flex; align-items: center; gap: .7rem; font-size: .93rem; color: var(--ink); cursor: pointer; }
.check input { appearance: none; width: 16px; height: 16px; border: 1px solid var(--line-strong); background: #fff; display: grid; place-content: center; flex: none; transition: border-color .3s, background-color .3s; }
.check input::before { content: ''; width: 8px; height: 8px; background: var(--gold); transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked { border-color: var(--gold); } .check input:checked::before { transform: scale(1); }
.check .n { margin-inline-start: auto; color: var(--soft); font-size: .8rem; }
.range-inputs { display: flex; gap: .6rem; }
.range-inputs input { width: 100%; border: 1px solid var(--line-strong); padding: .6rem .7rem; background: #fff; }
.catalog-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.catalog-bar .count { color: var(--muted); font-size: .95rem; }
.select { position: relative; }
.select select { appearance: none; border: 1px solid var(--line-strong); background: #fff; padding: .65rem 2.4rem .65rem 1rem; font-size: .9rem; color: var(--ink); min-width: 200px; }
html[dir="rtl"] .select select { padding: .65rem 1rem .65rem 2.4rem; }
.select::after { content: ''; position: absolute; inset-inline-end: 1rem; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--gold-dark); border-bottom: 1px solid var(--gold-dark); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border: 1px solid var(--gold-light); border-radius: 999px; font-size: .8rem; background: #fff; }
.chip button { border: 0; background: none; color: var(--gold-dark); font-size: 1rem; line-height: 1; padding: 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 0 .8rem; font-size: .9rem; transition: all .3s; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-dark); }
.pagination .current { background: var(--charcoal); color: var(--gold-light); border-color: var(--charcoal); }
.pagination .dots { border: 0; }
.results-loading { opacity: .45; pointer-events: none; transition: opacity .3s; }
.empty-state { text-align: center; padding: clamp(3rem, 8vw, 6rem) 1rem; border: 1px dashed var(--line-strong); }
.empty-state .es-icon { width: 76px; height: 76px; margin: 0 auto 1.4rem; border: 1px solid var(--gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-dark); }
.empty-state .es-icon svg { width: 30px; height: 30px; }
.empty-state h3 { margin-bottom: .6rem; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 1.4rem; }

/* ---------------------------------------------------------------- Product page */
.product-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.gallery { position: sticky; top: 90px; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #fff, #f3ede3); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.gallery-main img.is-switching { opacity: 0; }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main .zoom-hint { position: absolute; bottom: 1rem; inset-inline-end: 1rem; background: rgba(250,247,242,.9); padding: .4rem .8rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
html[lang="ar"] .gallery-main .zoom-hint { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.gallery-main .zoom-hint svg { width: 14px; height: 14px; }
.gallery-main .badges { position: absolute; top: 1rem; inset-inline-start: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.gallery-thumbs button { flex: none; width: 82px; aspect-ratio: 1; border: 1px solid var(--line); background: #fff; padding: 0; overflow: hidden; opacity: .7; transition: opacity .3s, border-color .3s; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.product-info .brand { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6rem; }
html[lang="ar"] .product-info .brand { letter-spacing: .04em; font-size: .95rem; text-transform: none; }
.product-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; }
.product-info .ref-line { color: var(--muted); margin-top: .5rem; font-size: .95rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.product-info .ref-line span b { color: var(--ink); font-weight: 500; }
.price-block { margin: 1.6rem 0; padding: 1.4rem 0; border-block: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.price-block .amount { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; color: var(--charcoal); }
.price-block .on-request { font-size: 1.15rem; color: var(--gold-dark); letter-spacing: .06em; }
.availability { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
html[lang="ar"] .availability { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.availability::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
.availability.available { color: var(--success); } .availability.reserved { color: var(--warning); } .availability.sold { color: var(--danger); } .availability.coming_soon { color: var(--gold-dark); }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.8rem; }
.product-actions .btn { width: 100%; padding-inline: 1rem; }
.product-actions .full { grid-column: 1 / -1; }
.desc { color: var(--muted); font-size: 1rem; }
.desc p:last-child { margin-bottom: 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.spec-table th, .spec-table td { text-align: start; padding: .85rem .2rem; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 40%; letter-spacing: .04em; }
.spec-table td { color: var(--ink); }
.spec-table td.code { font-family: 'Tajawal', monospace; letter-spacing: .06em; direction: ltr; text-align: end; }
html[dir="ltr"] .spec-table td.code { text-align: start; }
.tabs { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); margin-top: 2.4rem; }
.tabs button { background: none; border: 0; padding: .9rem 0; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); position: relative; }
html[lang="ar"] .tabs button { letter-spacing: 0; font-size: 1rem; text-transform: none; }
.tabs button::after { content: ''; position: absolute; bottom: -1px; inset-inline: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs button.active { color: var(--charcoal); } .tabs button.active::after { transform: none; }
.tab-panel { display: none; padding-top: 1.6rem; } .tab-panel.active { display: block; animation: fadeUp .6s var(--ease-out); }
.sold-notice { background: var(--sand); border-inline-start: 2px solid var(--gold); padding: 1rem 1.2rem; color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.barcode-box { margin-top: 1.4rem; padding: 1rem; border: 1px dashed var(--line-strong); display: inline-block; background: #fff; }
.barcode-box svg { max-width: 260px; height: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,13,12,.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 88vh; object-fit: contain; transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.lightbox button:hover { background: var(--gold); border-color: var(--gold); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox .lb-close { top: 1.5rem; inset-inline-end: 1.5rem; }
.lightbox .lb-prev { inset-inline-start: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { inset-inline-end: 1.5rem; top: 50%; transform: translateY(-50%); }
html[dir="rtl"] .lightbox .lb-prev svg, html[dir="rtl"] .lightbox .lb-next svg { transform: scaleX(-1); }
.lightbox .lb-counter { position: absolute; bottom: 1.5rem; inset-inline: 0; text-align: center; color: rgba(255,255,255,.6); font-size: .85rem; letter-spacing: .2em; }

/* Modal (enquiry) */
.modal { position: fixed; inset: 0; z-index: 180; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(31,31,31,.55); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.modal-box { background: var(--ivory); width: min(100%, 560px); max-height: 92vh; overflow-y: auto; padding: clamp(1.6rem, 4vw, 2.6rem); position: relative; transform: translateY(20px); transition: transform .5s var(--ease); border-top: 2px solid var(--gold); }
.modal.is-open .modal-box { transform: none; }
.modal-box h3 { margin-bottom: .3rem; }
.modal-box .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }
.modal-close { position: absolute; top: .8rem; inset-inline-end: .8rem; }

/* ---------------------------------------------------------------- Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
html[lang="ar"] .field label { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); background: #fff; padding: .8rem 1rem; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,151,90,.14); }
.field textarea { min-height: 130px; resize: vertical; }
.field .error { color: var(--danger); font-size: .82rem; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------------------------------------------------------------- Prose (CMS pages) */
.prose { max-width: 800px; color: var(--ink); font-size: 1.08rem; }
.prose p { color: var(--muted); }
.prose h2, .prose h3 { margin: 2rem 0 .8rem; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; list-style: disc; color: var(--muted); margin-bottom: 1rem; }
.prose ol { list-style: decimal; }
.prose blockquote { border-inline-start: 2px solid var(--gold); padding-inline-start: 1.2rem; margin: 1.5rem 0; color: var(--ink); font-size: 1.2rem; }
.prose a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-light); }

/* ---------------------------------------------------------------- Reveal animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.reveal-fade.is-visible { opacity: 1; }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal-scale.is-visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > :nth-child(1) { transition-delay: .05s } .stagger.is-visible > :nth-child(2) { transition-delay: .13s }
.stagger.is-visible > :nth-child(3) { transition-delay: .21s } .stagger.is-visible > :nth-child(4) { transition-delay: .29s }
.stagger.is-visible > :nth-child(5) { transition-delay: .37s } .stagger.is-visible > :nth-child(6) { transition-delay: .45s }
.stagger.is-visible > :nth-child(7) { transition-delay: .53s } .stagger.is-visible > :nth-child(8) { transition-delay: .61s }
.stagger.is-visible > :nth-child(n+9) { transition-delay: .69s }
.mask-reveal { overflow: hidden; }
.mask-reveal > * { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.mask-reveal.is-visible > * { transform: none; }
.gold-rule { height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) .2s; }
html[dir="rtl"] .gold-rule { transform-origin: right; }
.gold-rule.is-visible { transform: scaleX(1); }
.parallax { will-change: transform; }
.page-enter { animation: pageIn .8s var(--ease-out); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Preloader / lazy images */
img.lazy-img { opacity: 0; transition: opacity .9s var(--ease); }
img.lazy-img.is-loaded { opacity: 1; }
.img-placeholder { background: linear-gradient(90deg, #f4efe6 25%, #faf7f2 50%, #f4efe6 75%); background-size: 200% 100%; animation: shimmer 1.6s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Flash messages */
.flash { padding: .9rem 1.2rem; border-inline-start: 2px solid var(--gold); background: #fff; margin-bottom: 1rem; font-size: .95rem; }
.flash.success { border-color: var(--success); } .flash.error { border-color: var(--danger); }

/* Back to top */
.to-top { position: fixed; bottom: 5.8rem; inset-inline-end: 1.9rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(250,247,242,.9); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .4s var(--ease); z-index: 80; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #fff; }
.to-top svg { width: 16px; height: 16px; }
.wa-float { position: fixed; bottom: 1.6rem; inset-inline-end: 1.6rem; z-index: 80; width: 54px; height: 54px; border-radius: 50%; background: #2f8f5b; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(47,143,91,.7); transition: transform .4s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 26px; height: 26px; }

/* Error pages */
.error-page { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem; }
.error-page .code { font-size: clamp(4rem, 12vw, 8rem); color: var(--gold-light); line-height: 1; font-weight: 300; }
.error-page p { color: var(--muted); max-width: 420px; margin: 1rem auto 2rem; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 240px 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .lang-switch span.txt { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media .quote { position: static; margin-top: 1.5rem; max-width: none; }
  .contact-strip { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 150; background: var(--ivory); padding: 1.5rem var(--gutter) 6rem; overflow-y: auto; transform: translateX(-100%); transition: transform .5s var(--ease); }
  html[dir="rtl"] .filters { transform: translateX(100%); }
  .filters.is-open { transform: none; }
  .filters .filters-close { display: inline-flex; }
  .filter-toggle { display: inline-flex; }
  .filters-apply { position: fixed; bottom: 0; inset-inline: 0; padding: 1rem var(--gutter); background: var(--ivory); border-top: 1px solid var(--line); z-index: 151; display: none; }
  .filters.is-open ~ .filters-apply, .filters.is-open .filters-apply { display: block; }
  .newsletter { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .filters .filters-close, .filters-apply { display: none; } }
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero { min-height: 92svh; }
  .hero-content { padding-top: calc(var(--header-h) + 2rem); }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-actions .btn { width: 100%; }
  .hero-frame { inset: .8rem; }
  .hero-scroll { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem .9rem; }
  .product-card .info { padding-top: .8rem; }
  .product-card .name { font-size: .95rem; }
  .product-card .quick { display: none; }
  .brand-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .tabs { gap: 1.2rem; overflow-x: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: 4 / 5; }
  .section-head p { font-size: .98rem; }
  .catalog-bar { flex-direction: column; align-items: stretch; }
  .catalog-bar .select select { width: 100%; }
  .gallery-thumbs button { width: 64px; }
  .wa-float { width: 48px; height: 48px; bottom: 1.2rem; inset-inline-end: 1.2rem; }
  .to-top { bottom: 4.6rem; inset-inline-end: 1.5rem; width: 42px; height: 42px; }
}
@media (max-width: 380px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-fade, .reveal-scale, .stagger > *, .mask-reveal > *, .gold-rule, .hero p, .hero-actions, .hero-scroll { opacity: 1; transform: none; }
  .hero h1 .line span { transform: none; }
  .hero-media img { animation: none; transform: none; }
}

/* ---------------------------------------------------------------- Print */
@media print {
  .site-header, .site-footer, .wa-float, .to-top, .mobile-menu, .search-overlay { display: none !important; }
  body { background: #fff; }
}

/* =====================================================================
   Page-level additions (public pages) — appended by the public-site build
   ===================================================================== */
.section-intro { color: var(--muted); max-width: 620px; margin: .6rem auto 0; }
.section-intro p:last-child { margin-bottom: 0; }
.section-head.start .section-intro { margin-inline: 0; }
.section-head .prose { margin-top: .6rem; }

/* Gradient fallback tiles (no image) */
.tile-gradient { background: linear-gradient(160deg, #2a2723 0%, #1a1917 60%, #0e0d0c 100%); }
.tile-gradient::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9; pointer-events: none;
  background: radial-gradient(60% 50% at 70% 25%, rgba(184,151,90,.28), transparent 70%); }
.tile-gradient.g1::after { background: radial-gradient(60% 50% at 30% 30%, rgba(184,151,90,.24), transparent 70%); }
.tile-gradient.g2::after { background: radial-gradient(55% 45% at 65% 70%, rgba(216,195,154,.2), transparent 70%); }
.tile-gradient.g3::after { background: radial-gradient(60% 50% at 40% 60%, rgba(154,123,79,.3), transparent 70%); }
.tile-gradient .tile-mark { position: absolute; inset-inline-end: 8%; top: 10%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(216,195,154,.18); z-index: -1; }
.tile-gradient .tile-mark::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(216,195,154,.1); }

/* Exclusive showcase (dark) */
.exclusive-section .split-text .eyebrow { color: var(--gold-light); }
.exclusive-section .split-text .eyebrow::before, .exclusive-section .split-text .eyebrow::after { background: var(--gold-light); }
.showcase-title { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 400; line-height: 1.15; }
.showcase-ref { color: rgba(255,255,255,.55); letter-spacing: .08em; margin-top: .6rem; font-size: .9rem; }
.showcase-desc { color: rgba(255,255,255,.72) !important; margin-top: 1.2rem; max-width: 460px; }
.showcase-price { color: var(--gold-light); font-size: 1.4rem; margin: 1.2rem 0 1.6rem; }
.showcase .split-media::after { border-color: rgba(216,195,154,.35); }
.showcase .split-media img { background: linear-gradient(180deg, #fbf9f5, #f1ebe1); aspect-ratio: 4 / 5; object-fit: cover; }
.showcase-grid { margin-top: clamp(3rem, 6vw, 5rem); }
.exclusive-section .product-card .name { color: #fff; }
.exclusive-section .product-card .price { color: #e8e2d8; }
.exclusive-section .product-card .brand { color: var(--gold-light); }
.exclusive-section .product-card .ref { color: rgba(255,255,255,.45); }
.exclusive-section .product-card:hover .name { color: var(--gold-light); }

/* About emblem fallback */
.split-media.emblem .emblem-box { aspect-ratio: 4 / 5; background: linear-gradient(180deg, #fff, var(--cream)); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); }
.split-media.emblem .emblem-box img { width: 55%; height: auto; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(184,151,90,.25)); }
.split-text .prose { margin-bottom: 1.6rem; }

/* Stats */
.stats-section .section-head { margin-bottom: 2.5rem; }
.stats-section .eyebrow { color: var(--gold-light); }
.stats-section .eyebrow::before, .stats-section .eyebrow::after { background: var(--gold-light); }

/* Contact strip helpers */
.contact-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.contact-list { margin-top: .5rem; }
.contact-item a.value:hover { color: var(--gold-dark); }
.map-link { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; padding: 2rem; transition: background-color .5s var(--ease); }
.map-link:hover { background: rgba(255,255,255,.4); }
.map-pin { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold-light); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); background: #fff; margin-bottom: .4rem; }
.map-pin svg { width: 26px; height: 26px; }
.map-title { font-size: 1.2rem; font-weight: 500; color: var(--charcoal); }
.map-addr { color: var(--muted); font-size: .95rem; max-width: 320px; }
.map-link .link-arrow { margin-top: .8rem; }

/* Newsletter */
.newsletter form { flex-wrap: wrap; align-items: center; }
.newsletter .form-msg { flex-basis: 100%; margin-top: .2rem; }
.newsletter .eyebrow { margin-bottom: .6rem; }
.newsletter h2 { margin-bottom: .6rem; }
.newsletter .nl-text { color: var(--muted); margin: 0; }
.newsletter input { min-width: 0; }

/* Page hero variants */
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: .6rem; }
.page-hero.has-image .eyebrow { color: var(--gold-light); }
.page-hero.has-image .eyebrow::before, .page-hero.has-image .eyebrow::after { background: var(--gold-light); }
.page-hero .hero-brand-logo { height: 70px; width: auto; margin-bottom: 1.2rem; object-fit: contain; }
.page-hero.has-image .hero-brand-logo { filter: brightness(0) invert(1); }
.page-hero .lead p { margin: 0; }
.page-hero .hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; margin-top: 1.2rem; color: var(--muted); font-size: .9rem; letter-spacing: .06em; }
.page-hero.has-image .hero-meta { color: rgba(255,255,255,.7); }
.hero-actions-inline { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Catalog */
.catalog-wrap { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 9vw, 8rem); }
.filters form { display: block; }
.filters-close { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 50%; color: var(--ink); }
.filters-close svg { width: 18px; height: 18px; }
.filter-body .check.disabled { opacity: .45; }
.filter-body input[type="text"] { width: 100%; border: 1px solid var(--line-strong); padding: .6rem .7rem; background: #fff; }
.filter-body .radio-list { display: grid; gap: .5rem; }
.catalog-bar .bar-start { display: flex; align-items: center; gap: 1rem; }
.catalog-bar .select label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-inline-end: .6rem; }
html[lang="ar"] .catalog-bar .select label { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.chip-clear { border-color: var(--line-strong); color: var(--muted); cursor: pointer; }
.chip-clear:hover { border-color: var(--gold); color: var(--gold-dark); }
.filters-apply .btn { width: 100%; }
@media (max-width: 900px) {
  .filters { padding-top: 1.2rem; }
  .filters-head { position: sticky; top: 0; background: var(--ivory); padding-block: .6rem; z-index: 1; }
}

/* Product page */
.product-page { padding-block: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) clamp(4rem, 9vw, 8rem); }
.product-page .breadcrumb { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.product-info .ref-line span b { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.product-actions .btn svg { width: 18px; height: 18px; }
.related-section { border-top: 1px solid var(--line); }
.gallery-main img.placeholder { object-fit: cover; }
.spec-table td a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-light); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.4rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .share-row { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.share-row a, .share-row button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: none; transition: all .3s; }
.share-row a:hover, .share-row button:hover { border-color: var(--gold); color: var(--gold-dark); }
.share-row svg { width: 15px; height: 15px; }
.share-row button.copied { border-color: var(--success); color: var(--success); }
.modal .form-msg { margin-top: .8rem; }
.modal-close { width: 40px; height: 40px; }

/* Brands page */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.brand-card .stretched { position: absolute; inset: 0; }
.brand-card .meta { color: var(--soft); font-size: .8rem; letter-spacing: .1em; margin-top: .3rem; }
.brand-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Contact page */
.contact-page .contact-strip { align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 3rem); position: relative; }
.contact-form-wrap::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.contact-form-wrap > * { position: relative; }
.contact-form-wrap h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.contact-form-wrap .sub { color: var(--muted); margin-bottom: 1.6rem; }
.contact-form-wrap .form-grid + .btn, .form-actions { margin-top: 1.4rem; }
.contact-page .map-card { margin-top: 2.5rem; }
.contact-page .social-block { margin-top: 2.5rem; }
.contact-page .social-block h3 { font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 1rem; color: var(--muted); }
html[lang="ar"] .contact-page .social-block h3 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.contact-page .social a { color: var(--gold-dark); border-color: var(--gold-light); }

/* Static page / about */
.page-body { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 9vw, 8rem); }
.about-cta { text-align: center; padding: clamp(3rem, 7vw, 6rem) 0; }
.about-cta h2 { margin-bottom: 1.2rem; }
.about-cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.6rem; }

/* Search */
.search-page .page-hero form { margin-top: 1.5rem; max-width: 560px; display: flex; gap: .5rem; }
.search-page .page-hero input { flex: 1; border: 1px solid var(--line-strong); background: #fff; padding: .85rem 1rem; min-width: 0; }
.search-page .page-hero input:focus { outline: none; border-color: var(--gold); }

@media (max-width: 600px) {
  .featured-grid > :first-child .media { aspect-ratio: 4 / 5; }
  .contact-cta .btn { width: 100%; }
  .newsletter form .btn { width: 100%; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Brand row: per-cell borders so partial last rows stay clean */
.brand-row { background: transparent; border: 0; gap: 0; padding-inline-end: 1px; padding-bottom: 1px; }
.brand-cell { border: 1px solid var(--line); margin-inline-end: -1px; margin-bottom: -1px; }
.stats-section .stats { max-width: 1040px; margin-inline: auto; }
/* Honeypot: keep it out of the layout without off-canvas offsets (RTL-safe) */
.hp { left: auto; inset-inline-start: 0; top: 0; overflow: hidden; pointer-events: none; border: 0; padding: 0; margin: 0; }
@media (max-width: 600px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .tile { aspect-ratio: 3 / 4; }
  .tile h3 { font-size: 1.15rem; }
  .tile .tile-body { padding: 1rem; }
}
@media (max-width: 420px) {
  .featured-grid > * { grid-column: span 6; }
  .featured-grid > :first-child { grid-column: span 12; }
}
.brand-card { display: flex; flex-direction: column; align-items: center; }
.brand-card .link-arrow { margin-top: auto !important; padding-top: 1.4rem; }
main#main { overflow-x: clip; }
@media (max-width: 600px) {
  .brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-cell { padding: 1.2rem .8rem; }
  .brand-cell .brand-text { font-size: .82rem; letter-spacing: .14em; overflow-wrap: anywhere; }
}

/* QA fixes */
/* Mixed number + Latin spec values ("41 mm", "300 m") were reordered as "mm 41" in RTL; resolve direction per value */
.spec-table td { unicode-bidi: plaintext; }
html[dir="ltr"] .spec-table td { text-align: left; } html[dir="rtl"] .spec-table td { text-align: right; } html[dir="rtl"] .spec-table td.code { text-align: left; }
/* RTL: the drawer's translateX(100%) rule outranked .filters.is-open, so the mobile filter panel never slid into view in Arabic */
html[dir="rtl"] .filters.is-open { transform: none; }
