/* ==========================================================================
   SLOVE — Design System
   Quiet luxury. Modern simplicity. Attention to detail.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600;700&family=Noto+Kufi+Arabic:wght@400;500;600;700&family=Cairo:wght@300;400;500;600;700&display=swap');

:root{
  /* Core palette */
  --charcoal: #1b1a18;
  --charcoal-deep: #100f0e;
  --black: #0a0a09;
  --ivory: #f3eee5;
  --warm-white: #faf8f4;
  --stone: #e7e1d5;
  --taupe: #b9ae9c;
  --metal: #c9c2b4;
  --line: rgba(27,26,24,0.12);
  --line-light: rgba(250,248,244,0.16);
  --electric-blue: #3a6bf0;
  --electric-blue-soft: rgba(58,107,240,0.35);
  --text-main: #1b1a18;
  --text-soft: #6f6a60;
  --text-inverse: #f3eee5;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif-ar: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  --sans-ar: 'Cairo', -apple-system, sans-serif;

  --container: 1400px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur-s: .35s;
  --dur-m: .6s;
  --dur-l: 1s;
}

html[lang="ar"]{
  --serif: var(--serif-ar);
  --sans: var(--sans-ar);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body{
  margin:0;
  font-family: var(--sans);
  color: var(--text-main);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir="rtl"] body{ direction: rtl; }

body.no-scroll{ overflow: hidden; height: 100%; }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; cursor: pointer; background:none; border:none; color:inherit; }
input,select{ font-family: inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline: 2px solid var(--electric-blue);
  outline-offset: 3px;
}

.sr-only{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}

/* ---------------------------------------------------------------------- */
/* Typography helpers */
.eyebrow{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
}
html[lang="ar"] .eyebrow{ letter-spacing: 0; }

.display-1{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display-2{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
}
.heading-lg{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}
.heading-md{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
}
.body-text{ font-size: 15px; line-height: 1.75; color: var(--text-soft); font-weight: 400; }
.price{ font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .02em; }

/* ---------------------------------------------------------------------- */
/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid currentColor;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
  white-space: nowrap;
}
html[lang="ar"] .btn{ letter-spacing: 0; }
.btn-dark{ background: var(--charcoal); color: var(--warm-white); border-color: var(--charcoal); }
.btn-dark:hover{ background: var(--black); }
.btn-light{ background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-light:hover{ background: var(--charcoal); color: var(--warm-white); }
.btn-outline-invert{ background: transparent; color: var(--ivory); border-color: rgba(243,238,229,0.55); }
.btn-outline-invert:hover{ background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn-full{ width: 100%; }
.btn-sm{ padding: 12px 22px; font-size: 11px; }
.btn:disabled{ opacity:.45; cursor:not-allowed; }

.text-link{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  display: inline-block;
}

/* ==========================================================================
   Loading Screen
   ========================================================================== */
#loading-screen{
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(120% 120% at 50% 40%, #201f1c 0%, var(--charcoal-deep) 60%, var(--black) 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
#loading-screen.hide{ opacity: 0; visibility: hidden; pointer-events: none; }

.loader-stage{
  position: relative;
  width: 220px; height: 220px;
  display:flex; align-items:center; justify-content:center;
}
.loader-stage svg{ width: 100%; height: 100%; overflow: visible; }

.loader-s-path{
  fill: none;
  stroke: var(--metal);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  opacity: 0;
  filter: drop-shadow(0 0 0px rgba(58,107,240,0));
  animation:
    loaderDraw 1.7s var(--ease) .15s forwards,
    loaderFadeIn .6s ease .15s forwards,
    loaderGlow 1.8s ease 1.7s forwards;
}
@keyframes loaderFadeIn{ to{ opacity: 1; } }
@keyframes loaderDraw{ to{ stroke-dashoffset: 0; } }
@keyframes loaderGlow{
  0%{ stroke: var(--metal); filter: drop-shadow(0 0 0px rgba(58,107,240,0)); }
  55%{ stroke: #a9bdf3; filter: drop-shadow(0 0 10px rgba(58,107,240,.75)); }
  100%{ stroke: var(--ivory); filter: drop-shadow(0 0 5px rgba(58,107,240,.45)); }
}

.loader-orbit{
  position: absolute; inset: 0;
  animation: loaderSpin 2.6s cubic-bezier(.6,0,.35,1) 1.55s 1 forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.loader-orbit{ animation-name: loaderOrbitIn, loaderSpin; animation-duration: .4s, 2.6s; animation-delay: 1.4s, 1.55s; animation-timing-function: ease, cubic-bezier(.6,0,.35,1); animation-fill-mode: forwards, forwards; }
@keyframes loaderOrbitIn{ to{ opacity: 1; } }
@keyframes loaderSpin{ to{ transform: rotate(400deg); } }

.loader-thread{
  position: absolute;
  top: 6%; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 8px 2px var(--electric-blue-soft);
  transform: translateX(-50%);
}

.loader-word{
  position: absolute;
  bottom: -46px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .38em;
  color: var(--ivory);
  opacity: 0;
  animation: loaderWordIn .8s ease 2.2s forwards;
  text-transform: uppercase;
}
@keyframes loaderWordIn{ to{ opacity: .82; } }

/* ==========================================================================
   Navbar
   ========================================================================== */
#site-header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 26px 0;
  transition: padding var(--dur-m) var(--ease), background var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
#site-header.solid{
  padding: 15px 0;
  background: rgba(250,248,244,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
#site-header.on-dark:not(.solid) .nav-link,
#site-header.on-dark:not(.solid) .logo-mark,
#site-header.on-dark:not(.solid) .icon-btn,
#site-header.on-dark:not(.solid) .lang-switch{
  color: var(--ivory);
}
#site-header.on-dark:not(.solid) .lang-switch button.active{ color: var(--ivory); }
#site-header.on-dark:not(.solid) .lang-switch{ border-color: rgba(243,238,229,.35); }

.nav-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo-mark{
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--dur-m) var(--ease);
}

.nav-center{ display: flex; align-items:center; gap: 40px; }
.nav-link{
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-m) var(--ease), opacity var(--dur-s) ease;
}
html[lang="ar"] .nav-link{ letter-spacing: 0; }
.nav-link::after{
  content:'';
  position:absolute; bottom:0; left:0; right: 0; height:1px;
  background: currentColor; transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur-s) var(--ease);
}
.nav-link:hover::after, .nav-link.active::after{ transform: scaleX(1); }
.nav-link.active{ opacity: .55; }

.nav-right{ display:flex; align-items:center; gap: 22px; }
.icon-btn{
  position: relative;
  display: inline-flex; align-items:center; justify-content:center;
  width: 22px; height: 22px;
  color: var(--charcoal);
  transition: color var(--dur-m) var(--ease), opacity .2s ease;
}
.icon-btn:hover{ opacity: .6; }
.icon-btn svg{ width: 19px; height: 19px; }
.bag-count{
  position:absolute; top:-8px; right:-10px;
  font-size: 10px; font-weight:700; letter-spacing:0;
  background: var(--electric-blue); color:#fff;
  width:16px; height:16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transform: scale(0); transition: transform .3s var(--ease);
}
html[dir="rtl"] .bag-count{ right:auto; left:-10px; }
.bag-count.show{ transform: scale(1); }

.lang-switch{
  display:flex; align-items:center; gap: 6px;
  font-size: 11.5px; letter-spacing:.08em; font-weight:700;
  border: 1px solid var(--line); border-radius: 20px; padding: 5px 4px;
  color: var(--charcoal);
  transition: color var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.lang-switch button{ padding: 4px 9px; border-radius: 14px; opacity:.45; transition: opacity .25s ease, background .25s ease; }
.lang-switch button.active{ opacity: 1; background: var(--charcoal); color: var(--warm-white); }
#site-header.on-dark:not(.solid) .lang-switch button.active{ background: var(--ivory); color: var(--charcoal); }

.menu-toggle{ display:none; }

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */
#mobile-drawer{
  position: fixed; inset:0; z-index: 900;
  visibility: hidden;
  pointer-events: none;
}
#mobile-drawer.open{ visibility: visible; pointer-events: auto; }
.drawer-backdrop{
  position:absolute; inset:0; background: rgba(10,10,9,0.45);
  opacity: 0; transition: opacity var(--dur-m) var(--ease);
}
#mobile-drawer.open .drawer-backdrop{ opacity: 1; }
.drawer-panel{
  position: absolute; top:0; bottom:0; right:0; width: min(84vw, 380px);
  background: var(--warm-white);
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform .55s var(--ease);
  display:flex; flex-direction:column; gap: 34px;
  overflow-y:auto;
}
html[dir="rtl"] .drawer-panel{ right:auto; left:0; transform: translateX(-100%); }
#mobile-drawer.open .drawer-panel{ transform: translateX(0); }
.drawer-close{ position:absolute; top:34px; right:32px; font-size: 26px; font-weight:300; }
html[dir="rtl"] .drawer-close{ right:auto; left:32px; }
.drawer-links{ display:flex; flex-direction:column; gap: 6px; }
.drawer-links a{
  font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.drawer-foot{ margin-top:auto; display:flex; flex-direction:column; gap:16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
#hero{
  position: relative;
  height: 100vh; min-height: 620px;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-media{
  position:absolute; inset:0;
  overflow:hidden;
}
.hero-media img{
  width:100%; height:100%; object-fit: cover; object-position: center 25%;
  transform: scale(1.12);
  animation: heroZoomOut 2.6s var(--ease) forwards;
}
@keyframes heroZoomOut{ to{ transform: scale(1); } }
.hero-media::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,10,9,.32) 0%, rgba(10,10,9,.08) 35%, rgba(10,10,9,.55) 100%);
}
.hero-content{
  position: relative; z-index: 2;
  height: 100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  color: var(--ivory);
  padding: 0 24px;
}
.hero-eyebrow{
  font-size:11px; letter-spacing:.32em; text-transform:uppercase; font-weight:600;
  opacity:0; transform: translateY(14px);
  animation: heroUp .9s var(--ease) .5s forwards;
  margin-bottom: 22px;
}
.hero-title{
  font-family: var(--serif);
  font-size: clamp(52px, 10vw, 128px);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity:0; transform: translateY(24px);
  animation: heroUp 1s var(--ease) .7s forwards;
}
.hero-sub{
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 400;
  opacity:0; transform: translateY(18px);
  animation: heroUp 1s var(--ease) .95s forwards;
}
.hero-cta{
  margin-top: 42px;
  opacity:0; transform: translateY(16px);
  animation: heroUp .9s var(--ease) 1.25s forwards;
}
@keyframes heroUp{ to{ opacity:1; transform:none; } }

.hero-scroll{
  position:absolute; bottom: 34px; left:50%; transform: translateX(-50%);
  z-index:2; color: var(--ivory); opacity:.7;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size: 10px; letter-spacing:.2em; text-transform:uppercase;
  animation: heroUp 1s ease 1.6s forwards; opacity:0;
}
.hero-scroll-line{ width:1px; height:34px; background: currentColor; overflow:hidden; position:relative; }
.hero-scroll-line::after{
  content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--electric-blue);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }

/* ==========================================================================
   Section shells
   ========================================================================== */
section{ position: relative; }
.section-pad{ padding: clamp(70px, 10vw, 130px) 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap: 30px;
  margin-bottom: 50px;
}
.section-head .heading-lg{ margin-top: 10px; }
.reveal{ opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform: none; }
.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .2s; }
.reveal-delay-3{ transition-delay: .3s; }

/* ==========================================================================
   Featured Collections
   ========================================================================== */
.collections-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.collection-card{
  position:relative; overflow:hidden; aspect-ratio: 3/4.3;
  background: var(--charcoal);
}
.collection-card img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 1.4s var(--ease);
}
.collection-card:hover img{ transform: scale(1.06); }
.collection-card::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,10,9,0) 40%, rgba(10,10,9,.72) 100%);
  transition: opacity var(--dur-m) ease;
}
.collection-info{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding: 34px 30px;
  color: var(--ivory);
}
.collection-info .eyebrow{ color: rgba(243,238,229,.7); }
.collection-info h3{
  font-family: var(--serif); font-size: clamp(24px,3vw,32px); margin: 8px 0 10px;
}
.collection-info p{ font-size: 13.5px; color: rgba(243,238,229,.78); max-width: 280px; line-height:1.6; margin-bottom: 16px;}
.collection-link{
  font-size: 11px; letter-spacing:.18em; text-transform:uppercase; font-weight:700;
  display:inline-flex; align-items:center; gap:10px;
  transform: translateY(4px); opacity:.85;
  transition: transform var(--dur-s) var(--ease);
}
html[lang="ar"] .collection-link{ letter-spacing:0; }
.collection-card:hover .collection-link{ transform: translateY(0); }
.collection-link svg{ width:13px; height:13px; transition: transform var(--dur-s) var(--ease); }
html[dir="rtl"] .collection-link svg{ transform: scaleX(-1); }
.collection-card:hover .collection-link svg{ transform: translateX(4px); }
html[dir="rtl"] .collection-card:hover .collection-link svg{ transform: scaleX(-1) translateX(4px); }

/* ==========================================================================
   Product Grid & Cards
   ========================================================================== */
.product-grid{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 46px) clamp(16px, 2.4vw, 34px);
}
.product-card{ position: relative; }
.product-media{
  display:block;
  position: relative; overflow:hidden; aspect-ratio: 3/4;
  background: var(--stone);
  cursor: pointer;
}
.product-media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: opacity .7s var(--ease), transform 1.4s var(--ease);
}
.product-media img.img-alt{ opacity: 0; }
.product-card:hover .product-media img.img-alt{ opacity: 1; }
.product-card:hover .product-media img.img-front{ opacity: 0; }
.product-card:hover .product-media img{ transform: scale(1.035); }

.product-actions{
  position:absolute; left:12px; right:12px; bottom:12px; z-index:3;
  display:flex; gap:8px;
  opacity:0; transform: translateY(8px);
  transition: opacity var(--dur-s) ease, transform var(--dur-s) var(--ease);
}
.product-card:hover .product-actions{ opacity:1; transform:none; }
.mini-btn{
  flex:1;
  background: rgba(250,248,244,.94);
  backdrop-filter: blur(6px);
  color: var(--charcoal);
  font-size: 10.5px; letter-spacing:.12em; text-transform:uppercase; font-weight:700;
  padding: 11px 10px; text-align:center;
  transition: background var(--dur-s) ease, color var(--dur-s) ease;
}
html[lang="ar"] .mini-btn{ letter-spacing:0; }
.mini-btn:hover{ background: var(--charcoal); color:var(--warm-white); }

.wishlist-dot{
  position:absolute; top:12px; z-index:3;
  inset-inline-end: 12px;
  width:30px; height:30px; border-radius:50%;
  background: rgba(250,248,244,.9);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition: opacity var(--dur-s) ease;
}
.product-card:hover .wishlist-dot{ opacity:1; }
.wishlist-dot svg{ width:14px; height:14px; }

.product-info{ padding-top: 16px; text-align: center; }
.product-brand{ font-size: 10px; letter-spacing:.2em; text-transform:uppercase; color: var(--text-soft); font-weight:700; }
.product-name{ font-family: var(--serif); font-size: 18px; margin-top: 8px; }
.product-name-ar{ font-family: var(--serif-ar); font-size: 14px; color: var(--text-soft); margin-top: 3px; }
.product-price{ margin-top: 10px; font-size: 13.5px; font-weight: 600; letter-spacing:.02em; }

/* ==========================================================================
   Editorial + Brand statement
   ========================================================================== */
.editorial{
  position:relative; min-height: 88vh;
  display:flex; align-items:center;
  overflow:hidden; background: var(--charcoal);
}
.editorial-media{ position:absolute; inset:0; }
.editorial-media img{ width:100%; height:100%; object-fit:cover; }
.editorial-media::after{ content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(10,10,9,.72) 0%, rgba(10,10,9,.2) 55%, rgba(10,10,9,.05) 100%); }
html[dir="rtl"] .editorial-media::after{ background: linear-gradient(270deg, rgba(10,10,9,.72) 0%, rgba(10,10,9,.2) 55%, rgba(10,10,9,.05) 100%); }
.editorial-content{ position:relative; z-index:2; max-width: 480px; color: var(--ivory); padding: 60px var(--gutter); }
.editorial-content .eyebrow{ color: rgba(243,238,229,.65); }
.editorial-content h2{ font-family: var(--serif); font-size: clamp(34px,4.4vw,54px); margin: 18px 0 22px; line-height:1.1; }
.editorial-content p{ font-size: 15.5px; line-height:1.8; color: rgba(243,238,229,.82); margin-bottom: 30px; max-width: 380px; }

.brand-statement{
  background: var(--ivory);
  text-align:center;
  padding: clamp(90px,14vw,160px) var(--gutter);
}
.brand-statement .logo-word{ font-family: var(--serif); font-size: clamp(30px,4vw,44px); letter-spacing:.1em; }
.brand-statement h2{
  font-family: var(--serif); font-weight:500;
  font-size: clamp(30px, 5vw, 58px); line-height:1.15; margin: 26px auto 0; max-width: 760px;
}
.brand-statement .rule{ width:1px; height:56px; background: var(--taupe); margin: 30px auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
#site-footer{ background: var(--charcoal); color: var(--ivory); padding: 80px 0 30px; }
.footer-top{ display:flex; justify-content:space-between; gap:60px; flex-wrap:wrap; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-brand .logo-mark{ color: var(--ivory); }
.footer-brand p{ margin-top:14px; color: rgba(243,238,229,.6); font-size: 13.5px; font-family: var(--serif); font-style: italic; max-width: 240px; }
.footer-cols{ display:flex; gap: 64px; flex-wrap:wrap; }
.footer-col h4{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color: rgba(243,238,229,.5); margin-bottom: 18px; font-weight:700;}
.footer-col a, .footer-col p{ display:block; font-size: 13.5px; color: rgba(243,238,229,.82); margin-bottom: 12px; transition: opacity .2s ease; }
.footer-col a:hover{ opacity:.6; }
.footer-social{ display:flex; gap:16px; }
.footer-social a{ width:34px; height:34px; border:1px solid var(--line-light); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.footer-social svg{ width:14px; height:14px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top: 26px; flex-wrap:wrap; gap:12px; }
.footer-bottom p{ font-size:12px; color: rgba(243,238,229,.45); }
.footer-lang{ display:flex; gap:14px; font-size:12px; letter-spacing:.1em; color: rgba(243,238,229,.6); }
.footer-lang button.active{ color: var(--ivory); border-bottom:1px solid var(--ivory); }

/* ==========================================================================
   Quick View Modal
   ========================================================================== */
#quickview-overlay{
  position: fixed; inset:0; z-index: 1000;
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
  background: rgba(10,10,9,0);
  visibility:hidden; pointer-events:none;
  transition: background .45s var(--ease), visibility .45s var(--ease);
}
#quickview-overlay.open{ background: rgba(10,10,9,.55); visibility:visible; pointer-events:auto; }
.quickview-modal{
  background: var(--warm-white);
  max-width: 880px; width:100%; max-height: 88vh; overflow:auto;
  display:grid; grid-template-columns: 1fr 1fr;
  transform: translateY(28px) scale(.98); opacity:0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
#quickview-overlay.open .quickview-modal{ transform:none; opacity:1; }
.qv-media{ position:relative; aspect-ratio: 1/1.05; background: var(--stone); overflow:hidden; }
.qv-media img{ width:100%; height:100%; object-fit:cover; }
.qv-body{ padding: 40px; position:relative; display:flex; flex-direction:column; }
.qv-close{ position:absolute; top:18px; inset-inline-end:18px; font-size:22px; font-weight:300; color: var(--text-soft); }
.qv-brand{ font-size:10.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--text-soft); font-weight:700; }
.qv-name{ font-family: var(--serif); font-size: 28px; margin-top:10px; }
.qv-name-ar{ font-family: var(--serif-ar); font-size:15px; color:var(--text-soft); margin-top:4px; }
.qv-price{ margin-top:14px; font-size:15px; font-weight:600; }
.qv-desc{ margin-top:16px; font-size:13.5px; line-height:1.75; color:var(--text-soft); }
.qv-block{ margin-top: 22px; }
.qv-label{ font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:700; color:var(--text-soft); margin-bottom:10px; }
.qv-actions{ margin-top: auto; padding-top: 24px; }

/* Size / color selectors (shared) */
.size-row{ display:flex; gap:8px; flex-wrap:wrap; }
.size-chip{
  min-width: 42px; height: 42px; padding: 0 12px;
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:600; letter-spacing:.03em;
  transition: all .2s ease;
}
.size-chip:hover{ border-color: var(--charcoal); }
.size-chip.selected{ background: var(--charcoal); color: var(--warm-white); border-color: var(--charcoal); }

.color-row{ display:flex; gap:10px; }
.color-dot{
  width:26px; height:26px; border-radius:50%; border: 2px solid transparent;
  position:relative; cursor:pointer;
}
.color-dot span{ position:absolute; inset:2px; border-radius:50%; }
.color-dot.selected{ border-color: var(--charcoal); }

.qty-row{ display:inline-flex; align-items:center; border:1px solid var(--line); }
.qty-row button{ width:38px; height:42px; font-size:15px; }
.qty-row span{ width:36px; text-align:center; font-size:13px; font-weight:600; }

/* ==========================================================================
   Cart Drawer
   ========================================================================== */
#cart-overlay{
  position:fixed; inset:0; z-index: 950; visibility:hidden; pointer-events:none;
}
#cart-overlay.open{ visibility:visible; pointer-events:auto; }
.cart-backdrop{ position:absolute; inset:0; background: rgba(10,10,9,0); transition: background .5s ease; }
#cart-overlay.open .cart-backdrop{ background: rgba(10,10,9,.45); }
.cart-panel{
  position:absolute; top:0; bottom:0; right:0; width: min(92vw, 440px);
  background: var(--warm-white);
  display:flex; flex-direction:column;
  transform: translateX(100%); transition: transform .6s var(--ease);
}
html[dir="rtl"] .cart-panel{ right:auto; left:0; transform: translateX(-100%); }
#cart-overlay.open .cart-panel{ transform:none; }
.cart-head{ display:flex; align-items:center; justify-content:space-between; padding: 26px 28px; border-bottom:1px solid var(--line); }
.cart-head h3{ font-family: var(--serif); font-size:20px; }
.cart-close{ font-size:22px; font-weight:300; }
.cart-items{ flex:1; overflow-y:auto; padding: 12px 28px; }
.cart-item{ display:flex; gap:16px; padding: 20px 0; border-bottom:1px solid var(--line); }
.cart-item img{ width:78px; height:98px; object-fit:cover; flex-shrink:0; background:var(--stone); }
.cart-item-info{ flex:1; display:flex; flex-direction:column; }
.cart-item-info .name{ font-family: var(--serif); font-size:15.5px; }
.cart-item-info .meta{ font-size:11.5px; color:var(--text-soft); margin-top:4px; }
.cart-item-row{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.cart-item-remove{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-soft); text-decoration:underline; }
.cart-empty{ padding: 60px 20px; text-align:center; color: var(--text-soft); }
.cart-empty svg{ width:40px; height:40px; margin: 0 auto 18px; opacity:.4; }
.cart-foot{ padding: 24px 28px 30px; border-top:1px solid var(--line); }
.cart-subtotal{ display:flex; justify-content:space-between; font-size:14px; font-weight:600; margin-bottom:16px; }
.cart-note{ font-size:11.5px; color:var(--text-soft); text-align:center; margin-top:12px; }

.qty-row-sm{ display:inline-flex; align-items:center; border:1px solid var(--line); }
.qty-row-sm button{ width:26px; height:28px; font-size:13px; }
.qty-row-sm span{ width:24px; text-align:center; font-size:12px; font-weight:600; }

/* Toast */
#toast{
  position: fixed; bottom: 28px; left:50%; transform: translateX(-50%) translateY(20px);
  background: var(--charcoal); color: var(--warm-white);
  padding: 14px 26px; font-size:12.5px; letter-spacing:.06em;
  z-index: 1100; opacity:0; transition: opacity .4s ease, transform .4s ease;
  pointer-events:none;
}
#toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Search Overlay
   ========================================================================== */
#search-overlay{
  position:fixed; inset:0; z-index: 980;
  background: var(--warm-white);
  visibility:hidden; opacity:0;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
  overflow-y:auto;
}
#search-overlay.open{ visibility:visible; opacity:1; }
.search-top{ border-bottom:1px solid var(--line); padding: 30px var(--gutter); display:flex; align-items:center; gap: 20px; }
.search-top input{
  flex:1; border:none; background:none; font-family: var(--serif); font-size: clamp(22px,3.4vw,36px);
  outline:none; color: var(--text-main);
}
.search-top input::placeholder{ color: var(--taupe); }
.search-close{ font-size: 26px; font-weight:300; }
.search-body{ padding: 50px var(--gutter) 100px; }
.search-hint{ color: var(--text-soft); font-size:13px; letter-spacing:.05em; margin-bottom:30px; }
.search-empty{ text-align:center; padding: 80px 0; color: var(--text-soft); }
.search-results .product-grid{ grid-template-columns: repeat(4,1fr); }

/* ==========================================================================
   Page Header (collections/product/checkout generic banner)
   ========================================================================== */
.page-banner{
  padding: 200px 0 60px;
  text-align:center;
  background: var(--ivory);
}
.page-banner .eyebrow{ margin-bottom: 14px; }

/* ==========================================================================
   Collections page: filter bar
   ========================================================================== */
.collection-hero{
  position:relative; height: 56vh; min-height: 380px; overflow:hidden; background: var(--charcoal);
  display:flex; align-items:center; justify-content:center; text-align:center;
}
.collection-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.9; }
.collection-hero::after{ content:''; position:absolute; inset:0; background: rgba(10,10,9,.4); }
.collection-hero-content{ position:relative; z-index:2; color:var(--ivory); }
.collection-hero .eyebrow{ color: rgba(243,238,229,.7); margin-bottom:16px; }
.collection-hero h1{ font-family: var(--serif); font-size: clamp(44px,7vw,90px); }

.filter-bar{
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line); margin-bottom: 46px;
  flex-wrap: wrap;
}
.filter-group{ display:flex; align-items:center; gap: 10px; flex-wrap:wrap; }
.filter-chip{
  font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; font-weight:600;
  padding: 9px 18px; border:1px solid var(--line); color: var(--text-soft);
  transition: all .2s ease;
}
.filter-chip:hover{ border-color: var(--charcoal); color: var(--charcoal); }
.filter-chip.active{ background: var(--charcoal); border-color: var(--charcoal); color: var(--warm-white); }
.sort-select{
  border: 1px solid var(--line); background:none; padding: 10px 16px; font-size: 12px;
  letter-spacing:.06em; text-transform: uppercase; color: var(--text-main);
}
.filter-count{ font-size:12px; color: var(--text-soft); }

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.pdp-wrap{ padding-top: 120px; padding-bottom: 100px; }
.pdp-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.pdp-gallery-main{ position:relative; aspect-ratio: 4/5; overflow:hidden; background: var(--stone); }
.pdp-gallery-main img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; opacity:0; transition: opacity .5s var(--ease); }
.pdp-gallery-main img.active{ opacity:1; }
.pdp-thumbs{ display:flex; gap: 12px; margin-top: 14px; }
.pdp-thumb{ width: 78px; aspect-ratio: 3/4; overflow:hidden; background: var(--stone); cursor:pointer; border: 1px solid transparent; opacity:.6; transition: opacity .2s ease, border-color .2s ease; }
.pdp-thumb.active{ opacity:1; border-color: var(--charcoal); }
.pdp-thumb img{ width:100%; height:100%; object-fit:cover; }

.pdp-info{ padding-top: 6px; }
.pdp-info .pdp-brand{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--text-soft); font-weight:700; }
.pdp-info h1{ font-family: var(--serif); font-size: clamp(32px,4vw,44px); margin-top:12px; }
.pdp-name-ar{ font-family: var(--serif-ar); font-size:17px; color:var(--text-soft); margin-top:6px; }
.pdp-price{ margin-top:18px; font-size:17px; font-weight:600; }
.pdp-desc{ margin-top:22px; font-size:14.5px; line-height:1.85; color:var(--text-soft); max-width: 460px; }
.pdp-block{ margin-top: 32px; padding-top: 26px; border-top:1px solid var(--line); }
.pdp-block .qv-label{ margin-bottom:12px; }
.pdp-actions{ margin-top: 36px; display:flex; gap:14px; align-items:center; }
.pdp-perks{ margin-top: 34px; display:flex; flex-direction:column; gap:12px; }
.pdp-perk{ display:flex; align-items:center; gap:12px; font-size:13px; color: var(--text-soft); }
.pdp-perk svg{ width:16px; height:16px; flex-shrink:0; color: var(--electric-blue); }

.related-heading{ margin-top: 120px; margin-bottom: 40px; text-align:center; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-wrap{ padding: 150px 0 100px; }
.checkout-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.checkout-section{ margin-bottom: 46px; }
.checkout-section h2{ font-family: var(--serif); font-size: 22px; margin-bottom: 22px; display:flex; align-items:center; gap:12px;}
.step-num{ width:26px; height:26px; border-radius:50%; border:1px solid var(--charcoal); font-size:12px; display:flex; align-items:center; justify-content:center; font-weight:700; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-soft); font-weight:700; }
.field input{
  border: none; border-bottom: 1px solid var(--line); background:none; padding: 12px 2px;
  font-size: 15px; color: var(--text-main); transition: border-color .2s ease;
}
.field input:focus{ border-color: var(--charcoal); outline:none; }
.order-summary{ background: var(--ivory); padding: 36px; }
.order-summary h3{ font-family: var(--serif); font-size:20px; margin-bottom: 24px; }
.summary-item{ display:flex; gap:14px; padding: 16px 0; border-bottom: 1px solid rgba(27,26,24,.08); }
.summary-item img{ width:60px; height:78px; object-fit:cover; }
.summary-item-info{ flex:1; }
.summary-item-info .n{ font-family: var(--serif); font-size:14px; }
.summary-item-info .m{ font-size:11px; color:var(--text-soft); margin-top:3px; }
.summary-item-info .p{ font-size:12.5px; font-weight:600; margin-top:6px; }
.summary-totals{ margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(27,26,24,.15); }
.summary-row{ display:flex; justify-content:space-between; font-size:13.5px; margin-bottom:10px; color: var(--text-soft); }
.summary-row.grand{ font-weight:700; color: var(--text-main); font-size:16px; margin-top: 14px; }
.checkout-empty{ text-align:center; padding: 100px 0; }

/* Order success */
#order-success{
  position:fixed; inset:0; z-index:1200; background: var(--warm-white);
  display:flex; align-items:center; justify-content:center; text-align:center;
  visibility:hidden; opacity:0; transition: opacity .6s var(--ease), visibility .6s var(--ease);
  padding: 30px;
}
#order-success.open{ visibility:visible; opacity:1; }
.success-mark{
  width: 78px; height:78px; border-radius:50%; border:1px solid var(--electric-blue);
  display:flex; align-items:center; justify-content:center; margin: 0 auto 34px;
  animation: successPop .7s var(--ease) .1s both;
}
@keyframes successPop{ from{ transform: scale(.6); opacity:0; } to{ transform:scale(1); opacity:1; } }
.success-mark svg{ width:30px; height:30px; color: var(--electric-blue); }
.success-content .eyebrow{ margin-bottom:18px; }
.success-content h1{ font-family: var(--serif); font-size: clamp(34px,5vw,52px); }
.success-content p{ margin-top: 18px; color: var(--text-soft); font-size:15px; }
.order-num{ margin-top: 22px; font-size:13px; letter-spacing:.1em; font-weight:700; }
.success-content .btn{ margin-top: 40px; }

/* Empty bag / empty search cta */
.empty-state{ text-align:center; padding: 60px 0; color: var(--text-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .product-grid{ grid-template-columns: repeat(3,1fr); }
  .search-results .product-grid{ grid-template-columns: repeat(3,1fr); }
  .pdp-grid{ grid-template-columns: 1fr; gap: 40px; }
  .checkout-grid{ grid-template-columns: 1fr; }
  .editorial-content{ max-width: 100%; }
}

@media (max-width: 860px){
  .nav-center{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .collections-grid{ grid-template-columns: 1fr; }
  .footer-top{ flex-direction:column; gap: 40px; }
  .field-row{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .product-grid{ grid-template-columns: repeat(2,1fr); gap: 26px 14px; }
  .search-results .product-grid{ grid-template-columns: repeat(2,1fr); }
  .product-name{ font-size: 15.5px; }
  .product-name-ar{ font-size:12.5px; }
  .hero-title{ font-size: clamp(44px, 15vw, 70px); }
  .quickview-modal{ grid-template-columns: 1fr; max-height: 92vh; }
  .qv-media{ aspect-ratio: 4/3; }
  .qv-body{ padding: 28px 22px; }
  .editorial{ min-height: 70vh; }
  .editorial-content{ padding: 40px 22px; }
  .brand-statement{ padding: 70px 22px; }
  .page-banner{ padding: 150px 0 40px; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:14px; }
  .filter-bar{ flex-direction:column; align-items:flex-start; }
  .pdp-wrap{ padding-top: 100px; }
  .checkout-wrap{ padding: 120px 0 70px; }
  .order-summary{ padding: 26px; }
  .collection-hero h1{ font-size: clamp(36px,10vw,60px); }
}
