/*
Theme Name: Ilvaine
Theme URI: https://ilvaine.com
Author: Ilvaine
Author URI: https://ilvaine.com
Description: Premium UAE commerce & trading house theme for ILVAINE — Commerce Without Boundaries.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ilvaine
*/

/* =========================================================
   ILVAINE — DESIGN TOKENS
   ========================================================= */
:root{
  --ink:        #0b0b0c;   /* near-black */
  --charcoal:   #16161a;   /* deep charcoal */
  --charcoal-2: #1e1e23;   /* raised charcoal (cards) */
  --line:       #2b2b31;   /* hairline on dark */
  --ivory:      #f8f5ee;   /* warm ivory */
  --ivory-dim:  #ece6d8;
  --paper:      #fbfaf7;   /* page background (light sections) */
  --stone:      #6b6b6f;   /* neutral gray */
  --stone-2:    #9a9a9d;
  --gold:       #b68a3f;   /* premium metallic gold */
  --gold-light: #d9b975;
  --gold-deep:  #8f6b2b;
  --success:    #4a7a5c;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Jost', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1240px;
  --radius: 2px;

  /* ---------------------------------------------------------
     Theme-responsive tokens (light mode = default).
     These drive the "light" content sections, cards, and forms
     that alternate with the site's permanently-dark chrome
     (header, footer, hero, page-header bands, dark sections) —
     those stay literal var(--ink)/var(--charcoal) in both modes
     by design, so the editorial dark/light rhythm is preserved.
     --------------------------------------------------------- */
  --bg:          var(--paper);
  --surface:     #ffffff;
  --surface-2:   var(--ivory);
  --text:        var(--ink);
  --text-muted:  var(--stone);
  --border:      #ece7da;
  --border-2:    #ddd6c4;

  /* Align WooCommerce's own primary button color to our gold accent */
  --wc-primary: #b68a3f;
  --wc-primary-text: #161512;
  --wc-content-bg: var(--surface);
  --wc-form-border-color: var(--border-2);
  --wc-subtext: var(--text-muted);
}

/* System preference: applies when the visitor hasn't chosen an explicit
   theme (or chose "System"), i.e. no data-theme attribute is set. */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:          #0b0b0c;
    --surface:     #1c1c20;
    --surface-2:   #141416;
    --text:        #f2efe7;
    --text-muted:  #a9a7a0;
    --border:      rgba(255,255,255,.1);
    --border-2:    rgba(255,255,255,.16);
    --wc-content-bg: var(--surface);
    --wc-form-border-color: var(--border-2);
  }
}
/* Explicit user choice: "Dark" — wins regardless of OS preference. */
:root[data-theme="dark"]{
  --bg:          #0b0b0c;
  --surface:     #1c1c20;
  --surface-2:   #141416;
  --text:        #f2efe7;
  --text-muted:  #a9a7a0;
  --border:      rgba(255,255,255,.1);
  --border-2:    rgba(255,255,255,.16);
  --wc-content-bg: var(--surface);
  --wc-form-border-color: var(--border-2);
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; background:var(--bg); }
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  transition:background-color .3s ease, color .3s ease;
}
.section-light, .section-ivory,
.feature, .pcard, .ilv-form-wrap,
.woocommerce ul.products li.product{
  transition:background-color .3s ease, border-color .3s ease, color .3s ease;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; font-size:1rem; }

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  letter-spacing:.01em;
  margin:0 0 .6em;
  color:var(--text);
}
h1{ font-size:clamp(2.4rem,5vw,4.2rem); font-weight:500; }
h2{ font-size:clamp(1.9rem,3.2vw,2.8rem); font-weight:500; }
h3{ font-size:clamp(1.3rem,2vw,1.6rem); }
p{ margin:0 0 1.2em; color:var(--text-muted); }
.section-dark p{ color:#c9c7c0; }

.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
.wide{ max-width:1440px; margin:0 auto; padding:0 28px; }
@media (max-width:400px){
  .container, .wide{ padding:0 18px; }
}

section{ position:relative; }
.pad-xl{ padding:120px 0; }
.pad-lg{ padding:88px 0; }
.pad-md{ padding:56px 0; }

@media (max-width:782px){
  .pad-xl{ padding:64px 0; }
  .pad-lg{ padding:52px 0; }
  .pad-md{ padding:36px 0; }
}

/* Section color variants */
.section-light{ background:var(--bg); color:var(--text); }
.section-ivory{ background:var(--surface-2); color:var(--text); }
.section-dark{ background:var(--ink); color:var(--ivory); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4{ color:var(--ivory); }
.section-charcoal{ background:var(--charcoal); color:var(--ivory); }
.section-charcoal h1,.section-charcoal h2,.section-charcoal h3{ color:var(--ivory); }

/* =========================================================
   EYEBROW / KICKER
   ========================================================= */
.eyebrow{
  display:inline-flex; align-items:center; gap:12px;
  font-family:var(--font-body);
  font-size:.72rem; letter-spacing:.28em; text-transform:uppercase;
  color:var(--gold); font-weight:600; margin-bottom:18px;
}
.eyebrow::before{ content:""; width:28px; height:1px; background:var(--gold); display:inline-block; }
.section-light .eyebrow, .section-ivory .eyebrow{ color:var(--gold-deep); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 34px;
  font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; font-weight:600;
  border:1px solid transparent; border-radius:var(--radius);
  transition:all .35s ease;
  white-space:nowrap;
}
.btn-gold{
  background:linear-gradient(135deg,var(--gold-light),var(--gold) 55%,var(--gold-deep));
  color:#161512;
}
.btn-gold:hover{ filter:brightness(1.08); transform:translateY(-1px); box-shadow:0 10px 24px rgba(182,138,63,.28); }
.btn-outline-dark{ border-color:rgba(255,255,255,.35); color:var(--ivory); background:transparent; }
.btn-outline-dark:hover{ border-color:var(--gold-light); color:var(--gold-light); }
.btn-outline-light{ border-color:var(--border-2); color:var(--text); background:transparent; }
.btn-outline-light:hover{ border-color:var(--gold-deep); color:var(--gold-deep); }
.btn-ghost{ color:var(--text); border-bottom:1px solid var(--text); padding:4px 0; border-radius:0; }
.btn-block{ width:100%; }
.hero-cta{ display:flex; gap:18px; flex-wrap:wrap; margin-top:40px; }

/* =========================================================
   HEADER
   ========================================================= */
#site-header{
  position:sticky; top:0; z-index:999;
  background:rgba(11,11,12,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:background .3s ease;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 28px;
  max-width:1440px; margin:0 auto;
}
.site-logo img{ height:44px; width:auto; display:block; }
.site-logo{ display:flex; align-items:center; }

.primary-nav{ display:flex; align-items:center; gap:2px; }
.primary-nav ul{ display:flex; align-items:center; gap:6px; }
.primary-nav a{
  display:inline-block; padding:10px 16px;
  font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; font-weight:500;
  color:var(--ivory-dim);
  border-bottom:1px solid transparent;
  transition:color .25s ease, border-color .25s ease;
}
.primary-nav a:hover, .primary-nav li.current-menu-item > a{ color:var(--gold-light); border-color:var(--gold); }

.header-actions{ display:flex; align-items:center; gap:18px; }
.header-actions .icon-link{ color:var(--ivory-dim); position:relative; }
.header-actions .icon-link:hover{ color:var(--gold-light); }
.cart-count{
  position:absolute; top:-8px; right:-10px;
  background:var(--gold); color:#161512;
  font-size:.62rem; font-weight:700;
  width:16px; height:16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.header-actions .btn{ padding:11px 22px; }
.theme-toggle{
  background:none; border:0; padding:4px; display:flex; align-items:center; justify-content:center;
  color:var(--ivory-dim); cursor:pointer; transition:color .2s ease;
}
.theme-toggle:hover{ color:var(--gold-light); }
.theme-toggle svg{ display:block; }

.menu-toggle{ display:none; background:none; border:0; color:var(--ivory); width:32px; height:32px; }

@media (max-width:1280px){
  .primary-nav{ display:none; }
  .header-actions .btn-outline-dark{ display:none; }
  .menu-toggle{ display:flex; align-items:center; justify-content:center; }
}
@media (max-width:400px){
  .header-inner{ padding:12px 16px; }
  .header-actions{ gap:10px; }
  .site-logo img{ height:36px; }
}

/* mobile drawer */
#mobile-nav{
  position:fixed; inset:0 0 0 auto; width:min(360px,88vw); height:100vh;
  background:var(--ink); border-left:1px solid rgba(255,255,255,.08);
  transform:translateX(100%); transition:transform .4s cubic-bezier(.4,0,.2,1);
  z-index:1100; padding:28px 26px; overflow-y:auto;
}
#mobile-nav.open{ transform:translateX(0); }
#mobile-nav-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.5); opacity:0; pointer-events:none;
  transition:opacity .35s ease; z-index:1050;
}
#mobile-nav-overlay.open{ opacity:1; pointer-events:auto; }
.mobile-nav-close{ background:none; border:0; color:var(--ivory); float:right; width:32px; height:32px; }
#mobile-nav ul{ flex-direction:column; margin-top:50px; }
#mobile-nav li{ border-bottom:1px solid rgba(255,255,255,.08); }
#mobile-nav a{ display:block; padding:16px 4px; font-size:.9rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ivory-dim); }
#mobile-nav .btn{ margin-top:28px; width:100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative; background:var(--ink); color:var(--ivory);
  padding:170px 0 130px;
  overflow:hidden;
  isolation:isolate;
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(ellipse 900px 600px at 82% 12%, rgba(182,138,63,.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(182,138,63,.09), transparent 60%),
    linear-gradient(160deg,#0b0b0c 0%, #121215 55%, #0b0b0c 100%);
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 60% at 60% 30%, black, transparent 75%);
}
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }
.hero-copy .eyebrow{ color:var(--gold-light); }
.hero-copy h1{ color:var(--ivory); }
.hero-copy .lede{ max-width:520px; font-size:1.08rem; color:#c9c7c0; }
.hero-mark{ display:flex; justify-content:center; align-items:center; }
.hero-mark img{ width:100%; max-width:420px; filter:drop-shadow(0 30px 60px rgba(182,138,63,.18)); animation:float 7s ease-in-out infinite; }
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }

@media (max-width:1024px){
  .hero{ padding:130px 0 80px; }
  .hero-grid{ grid-template-columns:1fr; text-align:center; }
  .hero-copy .lede{ margin-left:auto; margin-right:auto; }
  .hero-cta{ justify-content:center; }
  .hero-mark{ order:-1; margin-bottom:10px; }
  .hero-mark img{ max-width:220px; }
}

/* =========================================================
   INTRO / TWO-COL
   ========================================================= */
.split{ display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:center; }
.split.rev{ grid-template-columns:1.15fr .85fr; }
.split.rev .split-media{ order:2; }
@media (max-width:900px){ .split, .split.rev{ grid-template-columns:1fr; gap:36px; } .split.rev .split-media{ order:0; } }

.stat-row{ display:flex; gap:48px; flex-wrap:wrap; margin-top:36px; }
.stat-row .stat b{ display:block; font-family:var(--font-display); font-size:2.1rem; color:var(--gold-deep); font-weight:600; }
.stat-row .stat span{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--stone-2); }
.section-dark .stat-row .stat b, .section-charcoal .stat-row .stat b{ color:var(--gold-light); }
.section-dark .stat-row .stat span, .section-charcoal .stat-row .stat span{ color:var(--stone-2); }

.media-frame{
  position:relative; aspect-ratio:4/5; border-radius:var(--radius);
  background:linear-gradient(150deg,#1a1a1e,#0e0e10);
  border:1px solid rgba(182,138,63,.25);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.media-frame.short{ aspect-ratio:16/10; }
.media-frame img.emblem-watermark{ width:46%; opacity:.9; }
.media-frame::before{
  content:""; position:absolute; inset:14px; border:1px solid rgba(182,138,63,.35);
}

/* =========================================================
   VERTICALS / CARDS
   ========================================================= */
.grid{ display:grid; gap:28px; }
.grid-5{ grid-template-columns:repeat(5,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:1100px){ .grid-5{ grid-template-columns:repeat(3,1fr);} .grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:700px){ .grid-5,.grid-4,.grid-3,.grid-2{ grid-template-columns:1fr; } }

.vcard{
  background:var(--charcoal); border:1px solid var(--line);
  padding:38px 28px; transition:transform .35s ease, border-color .35s ease, background .35s ease;
  position:relative;
}
.vcard:hover{ transform:translateY(-6px); border-color:rgba(182,138,63,.5); background:var(--charcoal-2); }
.vcard .num{ font-family:var(--font-display); font-size:.85rem; color:var(--gold); letter-spacing:.1em; }
.vcard h3{ color:var(--ivory); margin:14px 0 10px; font-size:1.25rem; }
.vcard p{ font-size:.92rem; margin-bottom:18px; }
.vcard a.link{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-light); border-bottom:1px solid rgba(182,138,63,.4); padding-bottom:3px; }

/* Light-surface variant, for vcards placed on .section-light/.section-ivory */
.vcard.vcard-light{ background:var(--surface); border-color:var(--border); }
.vcard.vcard-light:hover{ background:var(--surface); border-color:var(--gold); }
.vcard.vcard-light h3{ color:var(--text); }
.vcard.vcard-light p{ color:var(--text-muted); }

/* Why Ilvaine feature cards (light) */
.feature{
  background:var(--surface); border:1px solid var(--border); padding:34px 26px;
  transition:box-shadow .3s ease, transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.feature:hover{ box-shadow:0 20px 40px rgba(20,18,10,.06); transform:translateY(-4px); }
.feature .icon{
  width:46px; height:46px; border:1px solid var(--gold); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; color:var(--gold-deep);
}
.feature h3{ font-size:1.1rem; margin-bottom:8px; }
.feature p{ font-size:.92rem; margin:0; }

/* Product / collection cards */
.pcard{ background:var(--surface); border:1px solid var(--border); overflow:hidden; transition:box-shadow .3s ease, transform .3s ease, background-color .3s ease, border-color .3s ease; }
.pcard:hover{ box-shadow:0 24px 48px rgba(20,18,10,.08); transform:translateY(-5px); }
.pcard-media{ aspect-ratio:4/5; background:linear-gradient(150deg,var(--surface-2),var(--border)); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.pcard-media img{ width:100%; height:100%; object-fit:cover; }
.pcard-media .tag{ position:absolute; top:14px; left:14px; background:var(--ink); color:var(--gold-light); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; padding:6px 12px; }
.pcard-body{ padding:20px 20px 24px; }
.pcard-body .cat{ font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-deep); margin-bottom:6px; display:block; }
.pcard-body h3{ font-size:1.02rem; margin:0 0 8px; }
.pcard-body .price{ font-family:var(--font-display); font-size:1.1rem; color:var(--text); }

/* =========================================================
   TIMELINE (About page)
   ========================================================= */
.timeline{ position:relative; margin-top:50px; padding-left:34px; border-left:1px solid var(--line); }
.section-light .timeline, .section-ivory .timeline{ border-left-color:var(--border-2); }
.timeline-item{ position:relative; padding-bottom:48px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-40px; top:4px; width:11px; height:11px; border-radius:50%;
  background:var(--gold); box-shadow:0 0 0 4px rgba(182,138,63,.18);
}
.timeline-item .year{ font-family:var(--font-display); color:var(--gold-deep); font-size:1.3rem; display:block; margin-bottom:6px; }
.section-dark .timeline-item .year, .section-charcoal .timeline-item .year{ color:var(--gold-light); }

/* =========================================================
   VALUES GRID
   ========================================================= */
.value-item{ padding:28px 0; border-top:1px solid var(--line); }
.value-item:last-child{ border-bottom:1px solid var(--line); }
.value-item .row{ display:flex; justify-content:space-between; align-items:baseline; gap:20px; }
.value-item h3{ margin:0; font-size:1.15rem; }
.value-item span.idx{ font-family:var(--font-display); color:var(--gold); font-size:.9rem; }
.value-item p{ margin:10px 0 0; max-width:640px; }

/* =========================================================
   MARKETS / GCC
   ========================================================= */
.market-pill-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.market-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 22px; border:1px solid rgba(182,138,63,.35);
  font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ivory-dim);
}
.market-pill.origin{ background:var(--gold); color:#161512; border-color:var(--gold); font-weight:600; }
.market-pill .dot{ width:6px; height:6px; border-radius:50%; background:var(--gold-light); }
.market-pill.origin .dot{ background:#161512; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner{
  background:linear-gradient(135deg,#151417,#0b0b0c);
  border:1px solid rgba(182,138,63,.3);
  padding:70px 60px; text-align:center; position:relative; overflow:hidden;
}
.cta-banner::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse 500px 300px at 50% 0%, rgba(182,138,63,.18), transparent 70%);
}
.cta-banner > *{ position:relative; }
.cta-banner h2{ color:var(--ivory); max-width:640px; margin-left:auto; margin-right:auto; }
.cta-banner p{ max-width:560px; margin-left:auto; margin-right:auto; }
.cta-banner .hero-cta{ justify-content:center; }
@media (max-width:700px){ .cta-banner{ padding:48px 24px; } }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter{ display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.newsletter-form{ display:flex; gap:0; max-width:440px; width:100%; }
.newsletter-form input[type=email]{
  flex:1; padding:15px 18px; border:1px solid rgba(255,255,255,.2); background:transparent; color:var(--ivory);
}
.newsletter-form input[type=email]::placeholder{ color:#8a8a8d; }
.newsletter-form button{ padding:15px 26px; border:1px solid var(--gold); background:var(--gold); color:#161512; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; }
.newsletter-note{ font-size:.72rem; color:var(--stone-2); margin-top:10px; }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer{ background:var(--ink); color:#c9c7c0; padding-top:90px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:50px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand img{ height:40px; margin-bottom:18px; }
.footer-brand p{ max-width:320px; font-size:.9rem; }
.footer-col h4{ color:var(--ivory); font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; margin-bottom:20px; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ font-size:.9rem; color:#c9c7c0; transition:color .2s ease; }
.footer-col a:hover{ color:var(--gold-light); }
.footer-social{ display:flex; gap:12px; margin-top:20px; }
.footer-social a{ width:36px; height:36px; border:1px solid rgba(255,255,255,.15); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ border-color:var(--gold); color:var(--gold-light); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:28px 0; font-size:.78rem; color:#7c7c80; flex-wrap:wrap; gap:12px; }
.footer-bottom ul{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-bottom a:hover{ color:var(--gold-light); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */
.page-header{ background:var(--ink); color:var(--ivory); padding:150px 0 70px; text-align:center; position:relative; overflow:hidden; }
.page-header-sm{ background:var(--ink); color:var(--ivory); padding:130px 0 50px; text-align:center; position:relative; overflow:hidden; }
@media (max-width:782px){
  .page-header{ padding:110px 0 50px; }
  .page-header-sm{ padding:100px 0 40px; }
}
.page-header::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse 700px 400px at 50% 0%, rgba(182,138,63,.15), transparent 70%);
}
.page-header > *{ position:relative; }
.page-header .eyebrow{ justify-content:center; }
.page-header h1{ color:var(--ivory); }
.page-header .lede{ max-width:640px; margin:16px auto 0; color:#c9c7c0; }
.breadcrumb{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--stone-2); margin-bottom:18px; }
.breadcrumb a:hover{ color:var(--gold-light); }

/* =========================================================
   FORMS (Fluent Forms skin)
   ========================================================= */
.ilv-form-wrap{ background:var(--charcoal); border:1px solid var(--line); padding:48px; }
.section-light .ilv-form-wrap, .section-ivory .ilv-form-wrap{ background:var(--surface); border-color:var(--border); }
@media (max-width:560px){ .ilv-form-wrap{ padding:28px 22px; } }

.fluentform .ff-el-group{ margin-bottom:20px; }
.fluentform .ff-el-input--label label{
  display:block; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--stone-2); margin-bottom:8px; font-weight:500;
}
.section-light .fluentform .ff-el-input--label label,
.section-ivory .fluentform .ff-el-input--label label{ color:var(--text-muted); }

.fluentform .ff-el-form-control{
  width:100%; padding:14px 16px; background:transparent;
  border:1px solid var(--line); color:var(--ivory); border-radius:var(--radius);
  font-family:var(--font-body); font-size:1rem;
  transition:border-color .25s ease;
}
.section-light .fluentform .ff-el-form-control,
.section-ivory .fluentform .ff-el-form-control{
  border-color:var(--border-2); color:var(--text);
}
.fluentform .ff-el-form-control:focus{ outline:none; border-color:var(--gold); }
.fluentform textarea.ff-el-form-control{ min-height:130px; resize:vertical; }
.fluentform select.ff-el-form-control{ cursor:pointer; }

/* Consent checkbox: hide the redundant generic field-level label, style the real one */
.fluentform .ff-el-group:has(.ff-el-form-check) > .ff-el-input--label{ display:none; }
.fluentform .ff-el-form-check-label{
  display:flex; align-items:flex-start; gap:10px; cursor:pointer;
  font-size:.82rem; line-height:1.5; color:var(--stone-2);
}
.section-light .fluentform .ff-el-form-check-label,
.section-ivory .fluentform .ff-el-form-check-label{ color:var(--text-muted); }
.fluentform .ff-el-form-check-input{ margin-top:3px; flex-shrink:0; }

.fluentform .ff_submit_btn_wrapper{ margin-top:8px; }
.fluentform .ff-btn-submit{
  padding:16px 36px !important; font-size:.76rem !important; letter-spacing:.16em !important;
  text-transform:uppercase; font-weight:700 !important; border-radius:var(--radius) !important;
  border:none !important; height:auto !important; transition:filter .3s ease;
}
.fluentform .ff-btn-submit:hover{ filter:brightness(1.08); }

.fluentform .error,
.fluentform .text-danger,
.fluentform .ff-el-is-error .ff-el-form-control{ color:#c65a5a; }
.fluentform .error{ font-size:.78rem; margin-top:6px; display:block; }
.fluentform .ff-message-success{
  margin-top:20px; padding:14px 18px; border-radius:var(--radius);
  background:rgba(74,122,92,.12); color:#4a7a5c; font-size:.85rem;
}

/* =========================================================
   WOOCOMMERCE OVERRIDES
   ========================================================= */
.woocommerce ul.products{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; list-style:none; clear:none; }
@media (max-width:1100px){ .woocommerce ul.products{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .woocommerce ul.products{ grid-template-columns:1fr;} }
/* Reset WooCommerce's default float-column layout so cards fill the grid track instead of fighting it */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce ul.products.columns-1 li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product{
	float:none; width:auto; margin:0; clear:none;
}
.woocommerce ul.products li.product{ background:var(--surface); border:1px solid var(--border); padding:0; transition:box-shadow .3s ease, transform .3s ease, background-color .3s ease, border-color .3s ease; }
.woocommerce ul.products li.product:hover{ box-shadow:0 24px 48px rgba(20,18,10,.08); transform:translateY(-5px); }
.woocommerce ul.products li.product img{ aspect-ratio:4/5; object-fit:cover; margin:0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title{ font-family:var(--font-body); font-size:.98rem; padding:0 18px; margin-top:16px; color:var(--text); }
.woocommerce ul.products li.product .price{ padding:0 18px 20px; color:var(--gold-deep); font-family:var(--font-display); font-size:1.05rem; }
.woocommerce ul.products li.product .button{
  margin:0 18px 20px; display:inline-block; padding:12px 20px; border:1px solid var(--text);
  font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; background:transparent; color:var(--text);
  transition:background-color .25s ease, border-color .25s ease, color .25s ease;
}
.woocommerce ul.products li.product .button:hover{ background:var(--gold); border-color:var(--gold); color:#161512; }
.woocommerce ul.products li.product span.onsale,
.woocommerce span.onsale{ background:var(--gold); color:#161512; font-weight:700; left:14px; top:14px; right:auto; margin:0; }
.woocommerce nav.woocommerce-pagination ul{ border-color:var(--border); }
.woocommerce nav.woocommerce-pagination ul li{ border-right-color:var(--border); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span{ color:var(--text); background:var(--surface); }
.woocommerce nav.woocommerce-pagination ul li span.current{ background:var(--gold); color:#161512; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a{ color:var(--text); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
  background:linear-gradient(135deg,var(--gold-light),var(--gold) 55%,var(--gold-deep)); color:#161512; border-radius:var(--radius); font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; padding:14px 26px; border:1px solid transparent;
  transition:filter .3s ease;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{ filter:brightness(1.08); }
.woocommerce div.product p.price, .woocommerce div.product span.price{ color:var(--gold-deep); font-family:var(--font-display); font-size:1.5rem; }
.woocommerce-breadcrumb{ font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); margin-bottom:30px !important; }
.woocommerce .star-rating{ color:var(--gold); }
.shop-intro{ text-align:center; max-width:680px; margin:0 auto 50px; }

/* Empty-state notice (no products yet) */
.empty-state{
	text-align:center; max-width:520px; margin:0 auto; padding:60px 30px;
	border:1px dashed var(--border-2);
}
.empty-state h3{ margin-bottom:10px; }
.empty-state p{ margin-bottom:26px; }

/* Shop category filter pills */
.shop-filter-bar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.filter-pill{
	display:inline-flex; align-items:center;
	padding:10px 20px; border:1px solid var(--border-2);
	font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; font-weight:500;
	color:var(--text-muted); background:var(--surface); border-radius:var(--radius);
	transition:all .25s ease;
}
.filter-pill:hover{ border-color:var(--gold); color:var(--gold-deep); }
.filter-pill.is-active{ background:var(--gold); border-color:var(--gold); color:#161512; }

/* Shop toolbar: result count + sort, restyled (overrides WC's float layout) */
.shop-toolbar{
	display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
	padding-bottom:22px; margin-bottom:34px; border-bottom:1px solid var(--border);
}
.shop-toolbar .woocommerce-result-count{
	float:none; margin:0; font-size:.82rem; color:var(--text-muted); order:1;
}
.shop-toolbar .woocommerce-ordering{
	float:none; margin:0; order:2;
}
.shop-toolbar .woocommerce-ordering select.orderby{
	appearance:none; -webkit-appearance:none; -moz-appearance:none;
	padding:11px 40px 11px 18px; border:1px solid var(--border-2); border-radius:var(--radius);
	background:var(--surface) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239a9a9d" stroke-width="1.8"%3E%3Cpath d="M6 9l6 6 6-6"/%3E%3C/svg%3E') no-repeat right 14px center;
	background-size:14px;
	font-size:.78rem; letter-spacing:.04em; color:var(--text); cursor:pointer;
	transition:border-color .25s ease, background-color .25s ease;
}
.shop-toolbar .woocommerce-ordering select.orderby:focus{ outline:none; border-color:var(--gold); }
@media (max-width:600px){
	.shop-toolbar{ flex-direction:column; align-items:flex-start; }
	.shop-toolbar .woocommerce-ordering{ width:100%; }
	.shop-toolbar .woocommerce-ordering select.orderby{ width:100%; }
}

/* WooCommerce Blocks (Cart & Checkout use these, not the classic templates
   above). Cart/Checkout are plain Pages rendered through page.php, so most
   text/background already inherits our section tokens — this patches the
   handful of sub-components that hardcode their own colors. */
.wc-block-components-product-sale-badge{ background:var(--surface); border-color:var(--border-2); color:var(--text); }
.wc-block-cart__submit-container--sticky{ background:var(--surface); box-shadow:0 -6px 18px rgba(0,0,0,.06); }
.wc-block-components-notice-banner{ background:var(--surface); border-color:var(--border-2); color:var(--text); }
.wc-block-components-totals-item,
.wc-block-components-panel,
.wc-block-cart-items,
.wc-block-checkout__main,
.wc-block-checkout__sidebar{ border-color:var(--border) !important; }
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-radio-control__input,
.wc-block-checkout__form select{ background:var(--surface); border-color:var(--border-2) !important; color:var(--text); }
.wc-block-components-text-input label{ color:var(--text-muted); }
.wc-block-components-product-name{ color:var(--text); }

/* UAE Dirham symbol (inline SVG, official CBUAE design) */
.aed-symbol{ display:inline-flex; align-items:center; }
.aed-symbol svg{ height:.72em; width:auto; display:block; }
.woocommerce-Price-amount .aed-symbol{ margin-right:.28em; }

/* =========================================================
   MISC
   ========================================================= */
.wp-block-columns{ gap:40px; }
::selection{ background:var(--gold); color:#161512; }
.skip-link{ position:absolute; left:-9999px; top:0; background:var(--gold); color:#161512; padding:12px 20px; z-index:9999; }
.skip-link:focus{ left:16px; top:16px; }
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .8s ease, transform .8s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
