/* =========================================================
   AMR EFFENDI — عمرو أفندي
   Luxury Egyptian Marketplace — Design System
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root{
  /* Brand palette (from brand sheet) */
  --ink:        #100F0C;   /* deepest charcoal — hero / footer bg */
  --ink-2:      #1A1814;   /* charcoal surface */
  --ink-3:      #242019;   /* raised charcoal */
  --cream:      #F6F1E7;   /* primary light background */
  --cream-2:    #FBF8F1;   /* lighter surface / cards */
  --cream-3:    #EFE7D6;   /* sand / borders on light */
  --gold:       #C6A35C;   /* primary gold accent */
  --gold-soft:  #D9BE86;   /* hover / highlights */
  --gold-deep:  #A8853F;   /* darker gold for text on cream */
  --olive:      #5B5A3E;   /* secondary natural tone */

  --text-on-dark:   #ECE6D8;
  --text-on-dark-2: #B7AE99;
  --text-on-light:  #2A261D;
  --text-on-light-2:#6E6651;

  --line-dark:  rgba(198,163,92,.22);
  --line-light: #E3D9C5;

  /* Type */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Jost', 'Helvetica Neue', sans-serif;
  --arab:  'Amiri', 'Noto Naskh Arabic', serif;
  --arab-sans: 'Cairo', 'Tahoma', sans-serif;

  /* Spacing / shape */
  --maxw: 1280px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 50px -22px rgba(16,15,12,.45);
  --shadow-soft: 0 10px 30px -18px rgba(16,15,12,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans);
  background:var(--cream);
  color:var(--text-on-light);
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
  letter-spacing:.01em;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul{list-style:none}
input,select,textarea{font-family:inherit;font-size:1rem}

/* ---------- Arabic / RTL ---------- */
html[dir="rtl"] body{font-family:var(--arab-sans);letter-spacing:0}
html[dir="rtl"] .serif-display{font-family:var(--arab)}
[lang="ar"]{font-family:var(--arab-sans)}

/* ---------- Layout helpers ---------- */
.container{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.section{padding:90px 0}
.section-sm{padding:56px 0}
.eyebrow{
  font-family:var(--sans);
  font-size:.72rem;letter-spacing:.32em;text-transform:uppercase;
  color:var(--gold-deep);font-weight:500;
}
html[dir="rtl"] .eyebrow{letter-spacing:.12em;font-family:var(--arab-sans)}
.serif-display{font-family:var(--serif);font-weight:500;line-height:1.08;letter-spacing:.005em}

.section-head{text-align:center;max-width:640px;margin:0 auto 52px}
.section-head .eyebrow{display:inline-block;margin-bottom:16px}
.section-head h2{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,4vw,3rem);color:var(--text-on-light)}
html[dir="rtl"] .section-head h2{font-family:var(--arab)}
.section-head p{margin-top:14px;color:var(--text-on-light-2);font-size:1.02rem}

/* Decorative gold divider with diamond */
.divider{display:flex;align-items:center;justify-content:center;gap:14px;margin:20px auto;color:var(--gold)}
.divider::before,.divider::after{content:"";height:1px;width:60px;background:linear-gradient(90deg,transparent,var(--gold))}
.divider::after{background:linear-gradient(90deg,var(--gold),transparent)}
.divider svg{width:16px;height:16px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 30px;font-family:var(--sans);font-size:.82rem;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;border-radius:var(--radius);
  transition:all .35s var(--ease);position:relative;
}
html[dir="rtl"] .btn{letter-spacing:.04em;font-family:var(--arab-sans);font-size:.95rem}
.btn-gold{background:var(--gold);color:var(--ink)}
.btn-gold:hover{background:var(--gold-soft);transform:translateY(-2px);box-shadow:0 12px 26px -12px rgba(198,163,92,.7)}
.btn-outline{border:1px solid var(--gold);color:var(--gold-deep);background:transparent}
.btn-outline:hover{background:var(--gold);color:var(--ink)}
.btn-dark{background:var(--ink);color:var(--cream)}
.btn-dark:hover{background:var(--ink-3)}
.btn-ghost-light{border:1px solid rgba(236,230,216,.4);color:var(--text-on-dark)}
.btn-ghost-light:hover{border-color:var(--gold);color:var(--gold-soft)}
.btn-block{width:100%}

/* =========================================================
   HEADER
   ========================================================= */
.topbar{background:var(--ink);color:var(--text-on-dark-2);font-size:.74rem;letter-spacing:.14em;text-transform:uppercase}
.topbar .container{display:flex;align-items:center;justify-content:space-between;height:38px}
.topbar .marquee{overflow:hidden;flex:1;text-align:center}
.topbar a:hover{color:var(--gold-soft)}
html[dir="rtl"] .topbar{letter-spacing:.02em}

.header{position:sticky;top:0;z-index:60;background:rgba(246,241,231,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line-light);transition:background .3s}
.header-inner{display:flex;align-items:center;gap:30px;height:78px}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.brand .logo{width:auto;height:44px;color:var(--gold-deep)}
.brand .brand-text{display:flex;flex-direction:column;line-height:1}
.brand .brand-en{font-family:var(--serif);font-size:1.4rem;font-weight:600;letter-spacing:.18em;color:var(--text-on-light)}
.brand .brand-ar{font-family:var(--arab);font-size:1.05rem;color:var(--gold-deep);margin-top:3px}
html[dir="rtl"] .brand .brand-en{letter-spacing:.04em}

.nav{display:flex;align-items:center;gap:30px;margin-inline-start:auto}
.nav-links{display:flex;gap:28px}
.nav-links a{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-on-light);position:relative;padding:6px 0;font-weight:500}
html[dir="rtl"] .nav-links a{letter-spacing:.02em;font-size:.98rem}
.nav-links a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--gold);transform:scaleX(0);transform-origin:center;transition:transform .3s var(--ease)}
.nav-links a:hover::after,.nav-links a.active::after{transform:scaleX(1)}
.nav-links a:hover{color:var(--gold-deep)}

.nav-actions{display:flex;align-items:center;gap:18px}
.icon-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:var(--text-on-light);transition:all .25s;position:relative}
.icon-btn:hover{background:var(--cream-3);color:var(--gold-deep)}
.icon-btn svg{width:21px;height:21px}
.cart-count{position:absolute;top:2px;inset-inline-end:2px;background:var(--gold);color:var(--ink);font-size:.62rem;font-weight:700;min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;padding:0 4px;font-family:var(--sans)}

.lang-toggle{font-size:.74rem;letter-spacing:.12em;font-weight:600;border:1px solid var(--line-light);border-radius:20px;padding:7px 14px;color:var(--text-on-light);text-transform:uppercase;transition:all .25s}
.lang-toggle:hover{border-color:var(--gold);color:var(--gold-deep)}

.menu-toggle{display:none}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{background:var(--ink);color:var(--text-on-dark-2);padding:72px 0 0;position:relative}
.footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:48px;padding-bottom:54px}
.footer .brand-en{color:var(--cream)}
.footer-about{font-size:.92rem;line-height:1.8;margin-top:20px;max-width:320px}
.footer h4{color:var(--cream);font-family:var(--sans);font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;margin-bottom:20px;font-weight:600}
html[dir="rtl"] .footer h4{letter-spacing:.04em;font-family:var(--arab-sans)}
.footer-links li{margin-bottom:12px}
.footer-links a{font-size:.92rem;transition:color .2s}
.footer-links a:hover{color:var(--gold-soft)}
.footer-social{display:flex;gap:14px;margin-top:22px}
.footer-social a{width:38px;height:38px;border:1px solid var(--line-dark);border-radius:50%;display:grid;place-items:center;transition:all .25s}
.footer-social a:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px)}
.footer-social svg{width:17px;height:17px}
.footer-platforms{display:flex;gap:24px;align-items:center;color:var(--text-on-dark);font-size:.9rem;flex-wrap:wrap}
.footer-bottom{border-top:1px solid var(--line-dark);padding:24px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:.8rem;letter-spacing:.06em}
.footer-bottom .tagline-ar{font-family:var(--arab);color:var(--gold);font-size:1rem}

/* =========================================================
   ISLAMIC GEOMETRIC PATTERN BACKGROUND
   ========================================================= */
.pattern-bg{position:relative}
.pattern-bg::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C6A35C' stroke-width='1'%3E%3Cpath d='M40 0l40 40-40 40L0 40z'/%3E%3Cpath d='M40 14l26 26-26 26-26-26z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cpath d='M40 0v14M40 66v14M0 40h14M66 40h14'/%3E%3C/g%3E%3C/svg%3E");
  background-size:80px 80px;
}

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero{position:relative;background:var(--ink);color:var(--text-on-dark);overflow:hidden;min-height:88vh;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.55}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,15,12,.96) 0%,rgba(16,15,12,.72) 42%,rgba(16,15,12,.25) 100%)}
html[dir="rtl"] .hero-bg::after{background:linear-gradient(270deg,rgba(16,15,12,.96) 0%,rgba(16,15,12,.72) 42%,rgba(16,15,12,.25) 100%)}
.hero .container{position:relative;z-index:2}
.hero-content{max-width:600px}
.hero .brand-ar-big{font-family:var(--arab);font-size:clamp(2.6rem,6vw,4.6rem);color:var(--gold);line-height:1;margin-bottom:8px}
.hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(2.6rem,5.6vw,4.4rem);line-height:1.04;color:var(--cream);margin-bottom:8px}
html[dir="rtl"] .hero h1{font-family:var(--arab)}
.hero .hero-sub{font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,2.4vw,1.7rem);color:var(--gold-soft);margin-bottom:24px}
html[dir="rtl"] .hero .hero-sub{font-family:var(--arab);font-style:normal}
.hero p.lede{font-size:1.06rem;color:var(--text-on-dark);max-width:480px;margin-bottom:36px;line-height:1.8}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust{background:var(--cream-2);border-bottom:1px solid var(--line-light)}
.trust .container{display:flex;justify-content:space-around;flex-wrap:wrap;gap:24px;padding:30px 28px}
.trust-item{display:flex;align-items:center;gap:14px;color:var(--text-on-light)}
.trust-item svg{width:30px;height:30px;color:var(--gold-deep);flex-shrink:0}
.trust-item strong{display:block;font-size:.92rem;font-weight:600}
.trust-item span{font-size:.78rem;color:var(--text-on-light-2)}

/* =========================================================
   CATEGORIES
   ========================================================= */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.cat-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/5;display:block;box-shadow:var(--shadow-soft)}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.cat-card:hover img{transform:scale(1.06)}
.cat-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(16,15,12,.85) 0%,rgba(16,15,12,.1) 55%,transparent 100%)}
.cat-card-body{position:absolute;inset-inline:0;bottom:0;padding:30px;z-index:2;color:var(--cream)}
.cat-card-body .eyebrow{color:var(--gold-soft);margin-bottom:8px;display:block}
.cat-card-body h3{font-family:var(--serif);font-size:1.7rem;font-weight:500;margin-bottom:6px}
html[dir="rtl"] .cat-card-body h3{font-family:var(--arab)}
.cat-card-body p{font-size:.86rem;color:var(--text-on-dark);margin-bottom:14px}
.cat-card-link{display:inline-flex;align-items:center;gap:8px;font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-soft);font-weight:500}
html[dir="rtl"] .cat-card-link{letter-spacing:.02em}
.cat-card:hover .cat-card-link{gap:14px;transition:gap .3s}

/* =========================================================
   PRODUCT CARD / GRID
   ========================================================= */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.product-card{background:var(--cream-2);border:1px solid var(--line-light);border-radius:var(--radius-lg);overflow:hidden;transition:all .4s var(--ease);position:relative;display:flex;flex-direction:column}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:var(--gold-soft)}
.product-media{position:relative;aspect-ratio:1;overflow:hidden;background:#fff}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.product-card:hover .product-media img{transform:scale(1.05)}
.product-badge{position:absolute;top:12px;inset-inline-start:12px;background:var(--ink);color:var(--gold-soft);font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;padding:5px 11px;border-radius:3px;z-index:2;font-weight:500}
html[dir="rtl"] .product-badge{letter-spacing:.02em}
.wish-btn{position:absolute;top:10px;inset-inline-end:10px;width:36px;height:36px;background:rgba(251,248,241,.9);border-radius:50%;display:grid;place-items:center;z-index:2;opacity:0;transform:translateY(-6px);transition:all .3s;color:var(--text-on-light)}
.product-card:hover .wish-btn{opacity:1;transform:translateY(0)}
.wish-btn:hover{color:var(--gold-deep)}
.wish-btn svg{width:18px;height:18px}
.product-body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.product-vendor{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:6px;font-weight:500}
html[dir="rtl"] .product-vendor{letter-spacing:.02em}
.product-name{font-family:var(--serif);font-size:1.18rem;font-weight:500;color:var(--text-on-light);line-height:1.25;margin-bottom:8px}
html[dir="rtl"] .product-name{font-family:var(--arab);font-size:1.1rem}
.product-rating{display:flex;align-items:center;gap:5px;font-size:.78rem;color:var(--text-on-light-2);margin-bottom:12px}
.product-rating .stars{color:var(--gold);letter-spacing:1px}
.product-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.product-price{font-family:var(--serif);font-size:1.3rem;font-weight:600;color:var(--text-on-light)}
.product-price .old{font-size:.92rem;color:var(--text-on-light-2);text-decoration:line-through;margin-inline-start:8px;font-weight:400}
.add-btn{width:42px;height:42px;border-radius:50%;background:var(--ink);color:var(--gold-soft);display:grid;place-items:center;transition:all .3s;flex-shrink:0}
.add-btn:hover{background:var(--gold);color:var(--ink);transform:rotate(90deg)}
.add-btn svg{width:20px;height:20px}

/* =========================================================
   HERITAGE BAND
   ========================================================= */
.heritage{background:var(--ink);color:var(--text-on-dark);position:relative;overflow:hidden}
.heritage-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.heritage-text .eyebrow{color:var(--gold);margin-bottom:18px;display:block}
.heritage-text h2{font-family:var(--serif);font-size:clamp(2rem,3.6vw,2.8rem);font-weight:500;color:var(--cream);margin-bottom:20px;line-height:1.12}
html[dir="rtl"] .heritage-text h2{font-family:var(--arab)}
.heritage-text p{margin-bottom:18px;line-height:1.85;font-size:1rem}
.heritage-text p strong{color:var(--gold-soft);font-weight:500}
.heritage-visual{position:relative}
.heritage-visual img{border-radius:var(--radius-lg);width:100%;aspect-ratio:4/3;object-fit:cover;box-shadow:var(--shadow)}
.heritage-stamp{position:absolute;inset-inline-end:-22px;bottom:-22px;width:120px;height:120px;background:var(--gold);border-radius:50%;display:grid;place-items:center;text-align:center;color:var(--ink);box-shadow:var(--shadow)}
.heritage-stamp .year{font-family:var(--serif);font-size:1.7rem;font-weight:700;line-height:1}
.heritage-stamp .lbl{font-size:.58rem;letter-spacing:.18em;text-transform:uppercase;margin-top:4px}

/* Pillars */
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-top:64px}
.pillar{text-align:center}
.pillar-ico{width:62px;height:62px;margin:0 auto 18px;border:1px solid var(--line-dark);border-radius:50%;display:grid;place-items:center;color:var(--gold)}
.pillar-ico svg{width:28px;height:28px}
.pillar h4{font-family:var(--serif);font-size:1.2rem;color:var(--cream);margin-bottom:8px;font-weight:500}
html[dir="rtl"] .pillar h4{font-family:var(--arab)}
.pillar p{font-size:.84rem;color:var(--text-on-dark-2);line-height:1.7}

/* =========================================================
   NEWSLETTER / CTA
   ========================================================= */
.cta-band{background:var(--cream-2);text-align:center}
.cta-band h2{font-family:var(--serif);font-size:clamp(2rem,4vw,2.8rem);font-weight:500;margin-bottom:14px}
html[dir="rtl"] .cta-band h2{font-family:var(--arab)}
.cta-band p{color:var(--text-on-light-2);max-width:480px;margin:0 auto 28px}
.news-form{display:flex;gap:12px;max-width:480px;margin:0 auto;flex-wrap:wrap}
.news-form input{flex:1;min-width:200px;padding:15px 18px;border:1px solid var(--line-light);border-radius:var(--radius);background:#fff;color:var(--text-on-light)}
.news-form input:focus{outline:none;border-color:var(--gold)}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb{padding:22px 0;font-size:.82rem;color:var(--text-on-light-2)}
.breadcrumb a:hover{color:var(--gold-deep)}
.breadcrumb span{margin:0 8px;color:var(--gold-deep)}

/* =========================================================
   LISTING PAGE
   ========================================================= */
.listing-head{background:var(--ink);color:var(--cream);padding:60px 0;text-align:center;position:relative;overflow:hidden}
.listing-head .eyebrow{color:var(--gold-soft);display:block;margin-bottom:14px}
.listing-head h1{font-family:var(--serif);font-size:clamp(2.2rem,4.5vw,3.4rem);font-weight:500}
html[dir="rtl"] .listing-head h1{font-family:var(--arab)}
.listing-head p{color:var(--text-on-dark-2);margin-top:12px;max-width:520px;margin-inline:auto}

.listing-layout{display:grid;grid-template-columns:264px 1fr;gap:42px;padding:50px 0 90px}
.filters{position:sticky;top:96px;align-self:start}
.filter-group{border-bottom:1px solid var(--line-light);padding:22px 0}
.filter-group:first-child{padding-top:0}
.filter-group h4{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--text-on-light);margin-bottom:16px;font-weight:600}
html[dir="rtl"] .filter-group h4{letter-spacing:.02em;font-family:var(--arab-sans)}
.filter-opt{display:flex;align-items:center;gap:10px;margin-bottom:11px;font-size:.9rem;color:var(--text-on-light-2);cursor:pointer;transition:color .2s}
.filter-opt:hover{color:var(--gold-deep)}
.filter-opt input{accent-color:var(--gold-deep);width:16px;height:16px}
.filter-opt .ct{margin-inline-start:auto;font-size:.78rem;color:var(--text-on-light-2)}
.swatches{display:flex;gap:10px;flex-wrap:wrap}
.swatch{width:26px;height:26px;border-radius:50%;border:2px solid var(--line-light);cursor:pointer;transition:transform .2s}
.swatch:hover{transform:scale(1.12);border-color:var(--gold)}

.listing-main .listing-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;flex-wrap:wrap;gap:14px}
.listing-bar .count{font-size:.9rem;color:var(--text-on-light-2)}
.listing-bar .count b{color:var(--text-on-light)}
.sort-select{padding:11px 16px;border:1px solid var(--line-light);border-radius:var(--radius);background:#fff;color:var(--text-on-light);font-size:.86rem}
.listing-main .product-grid{grid-template-columns:repeat(3,1fr)}

.pagination{display:flex;justify-content:center;gap:8px;margin-top:54px}
.pagination a{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line-light);border-radius:var(--radius);font-size:.9rem;transition:all .25s}
.pagination a:hover,.pagination a.active{background:var(--ink);color:var(--gold-soft);border-color:var(--ink)}

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.pdp{padding:30px 0 90px}
.pdp-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.pdp-gallery{position:sticky;top:96px}
.pdp-main-img{border-radius:var(--radius-lg);overflow:hidden;background:#fff;border:1px solid var(--line-light);aspect-ratio:1}
.pdp-main-img img{width:100%;height:100%;object-fit:cover}
.pdp-thumbs{display:flex;gap:12px;margin-top:14px}
.pdp-thumb{width:84px;height:84px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line-light);cursor:pointer;background:#fff;transition:border-color .25s}
.pdp-thumb.active,.pdp-thumb:hover{border-color:var(--gold-deep)}
.pdp-thumb img{width:100%;height:100%;object-fit:cover}

.pdp-info .product-vendor{font-size:.74rem;margin-bottom:10px}
.pdp-info h1{font-family:var(--serif);font-size:clamp(2rem,3.4vw,2.7rem);font-weight:500;line-height:1.12;margin-bottom:14px;color:var(--text-on-light)}
html[dir="rtl"] .pdp-info h1{font-family:var(--arab)}
.pdp-rating{display:flex;align-items:center;gap:10px;margin-bottom:22px;font-size:.88rem;color:var(--text-on-light-2)}
.pdp-rating .stars{color:var(--gold);font-size:1.05rem;letter-spacing:2px}
.pdp-price{display:flex;align-items:baseline;gap:12px;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--line-light)}
.pdp-price .now{font-family:var(--serif);font-size:2.2rem;font-weight:600;color:var(--text-on-light)}
.pdp-price .was{font-size:1.2rem;color:var(--text-on-light-2);text-decoration:line-through}
.pdp-price .save{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;background:var(--gold);color:var(--ink);padding:5px 12px;border-radius:3px;font-weight:600}
.pdp-desc{color:var(--text-on-light-2);line-height:1.85;margin-bottom:26px}
.pdp-options{margin-bottom:26px}
.pdp-options label{display:block;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-on-light);margin-bottom:12px;font-weight:600}
html[dir="rtl"] .pdp-options label{letter-spacing:.02em;font-family:var(--arab-sans)}
.opt-pills{display:flex;gap:10px;flex-wrap:wrap}
.opt-pill{padding:10px 20px;border:1px solid var(--line-light);border-radius:var(--radius);font-size:.86rem;cursor:pointer;transition:all .25s;background:#fff}
.opt-pill:hover{border-color:var(--gold)}
.opt-pill.active{background:var(--ink);color:var(--cream);border-color:var(--ink)}

.pdp-buy{display:flex;gap:14px;align-items:stretch;margin-bottom:26px}
.qty{display:flex;align-items:center;border:1px solid var(--line-light);border-radius:var(--radius);background:#fff}
.qty button{width:46px;height:100%;font-size:1.2rem;color:var(--text-on-light);transition:color .2s}
.qty button:hover{color:var(--gold-deep)}
.qty input{width:46px;text-align:center;border:none;background:none;font-weight:600}
.qty input:focus{outline:none}

.pdp-meta{display:grid;gap:14px;padding-top:24px;border-top:1px solid var(--line-light)}
.pdp-meta-item{display:flex;gap:14px;align-items:flex-start;font-size:.9rem;color:var(--text-on-light-2)}
.pdp-meta-item svg{width:22px;height:22px;color:var(--gold-deep);flex-shrink:0;margin-top:2px}
.pdp-meta-item b{color:var(--text-on-light);font-weight:600}

/* Detail tabs */
.pdp-tabs{margin-top:80px;border-top:1px solid var(--line-light);padding-top:0}
.tab-nav{display:flex;gap:34px;border-bottom:1px solid var(--line-light)}
.tab-nav button{padding:20px 0;font-size:.84rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-on-light-2);font-weight:500;position:relative;transition:color .25s}
html[dir="rtl"] .tab-nav button{letter-spacing:.02em;font-family:var(--arab-sans)}
.tab-nav button::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--gold-deep);transform:scaleX(0);transition:transform .3s}
.tab-nav button.active{color:var(--text-on-light)}
.tab-nav button.active::after{transform:scaleX(1)}
.tab-panel{display:none;padding:34px 0;max-width:780px;line-height:1.9;color:var(--text-on-light-2)}
.tab-panel.active{display:block}
.tab-panel h4{font-family:var(--serif);color:var(--text-on-light);font-size:1.3rem;margin:18px 0 10px;font-weight:500}
.spec-table{width:100%;border-collapse:collapse;margin-top:8px}
.spec-table td{padding:13px 0;border-bottom:1px solid var(--line-light);font-size:.92rem}
.spec-table td:first-child{color:var(--text-on-light-2);width:200px}
.spec-table td:last-child{color:var(--text-on-light);font-weight:500}

/* Reviews */
.review{padding:24px 0;border-bottom:1px solid var(--line-light);display:grid;grid-template-columns:auto 1fr;gap:18px}
.review-av{width:46px;height:46px;border-radius:50%;background:var(--ink);color:var(--gold-soft);display:grid;place-items:center;font-family:var(--serif);font-weight:600}
.review-head{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.review-head .name{font-weight:600;color:var(--text-on-light)}
.review-head .stars{color:var(--gold);font-size:.85rem}
.review-head .date{font-size:.78rem;color:var(--text-on-light-2);margin-inline-start:auto}
.review p{color:var(--text-on-light-2);line-height:1.8;font-size:.94rem}

/* =========================================================
   CART
   ========================================================= */
.cart-layout{display:grid;grid-template-columns:1fr 380px;gap:48px;padding:30px 0 90px;align-items:start}
.cart-items{display:flex;flex-direction:column;min-width:0}
.cart-row{display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:20px;padding:24px 0;border-bottom:1px solid var(--line-light);align-items:center}
.cart-row-img{width:104px;height:104px;border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line-light)}
.cart-row-img img{width:100%;height:100%;object-fit:cover}
.cart-row-info .product-vendor{margin-bottom:4px}
.cart-row-info h3{font-family:var(--serif);font-size:1.2rem;font-weight:500;margin-bottom:6px}
html[dir="rtl"] .cart-row-info h3{font-family:var(--arab)}
.cart-row-info{min-width:0}
.cart-row-info .opt{font-size:.82rem;color:var(--text-on-light-2)}
.cart-row-info .remove{font-size:.78rem;color:var(--text-on-light-2);margin-top:10px;display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.cart-row-info .remove:hover{color:#a13544}
.cart-row-end{text-align:end;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.cart-row-end .line-price{font-family:var(--serif);font-size:1.25rem;font-weight:600}
.cart-row-end .qty{transform:scale(.9)}

.cart-summary{background:var(--cream-2);border:1px solid var(--line-light);border-radius:var(--radius-lg);padding:30px;position:sticky;top:96px}
.cart-summary h3{font-family:var(--serif);font-size:1.5rem;font-weight:500;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--line-light)}
html[dir="rtl"] .cart-summary h3{font-family:var(--arab)}
.sum-row{display:flex;justify-content:space-between;margin-bottom:14px;font-size:.94rem;color:var(--text-on-light-2)}
.sum-row b{color:var(--text-on-light);font-weight:600}
.sum-total{display:flex;justify-content:space-between;align-items:baseline;margin:20px 0;padding-top:20px;border-top:1px solid var(--line-light)}
.sum-total span{font-size:1rem;font-weight:600;color:var(--text-on-light)}
.sum-total b{font-family:var(--serif);font-size:1.9rem;font-weight:600;color:var(--text-on-light)}
.promo{display:flex;gap:8px;margin:18px 0}
.promo input{flex:1;padding:12px 14px;border:1px solid var(--line-light);border-radius:var(--radius);background:#fff}
.promo input:focus{outline:none;border-color:var(--gold)}
.secure-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;font-size:.78rem;color:var(--text-on-light-2)}
.secure-note svg{width:16px;height:16px;color:var(--gold-deep)}

.empty-cart{text-align:center;padding:80px 20px}
.empty-cart svg{width:64px;height:64px;color:var(--gold-deep);margin:0 auto 20px}
.empty-cart h2{font-family:var(--serif);font-size:1.8rem;font-weight:500;margin-bottom:10px}

/* =========================================================
   TOAST
   ========================================================= */
.toast{position:fixed;bottom:28px;inset-inline-end:28px;background:var(--ink);color:var(--cream);padding:16px 22px;border-radius:var(--radius);box-shadow:var(--shadow);display:flex;align-items:center;gap:12px;z-index:200;transform:translateY(20px);opacity:0;transition:all .35s var(--ease);border-inline-start:3px solid var(--gold);max-width:340px}
.toast.show{transform:translateY(0);opacity:1}
.toast svg{width:22px;height:22px;color:var(--gold);flex-shrink:0}
.toast .t-name{font-weight:600;font-size:.9rem}
.toast .t-sub{font-size:.78rem;color:var(--text-on-dark-2)}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:1024px){
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
  .heritage-grid{gap:40px}
  .pillars{grid-template-columns:repeat(2,1fr);gap:36px}
}
@media(max-width:860px){
  .nav-links{display:none}
  .menu-toggle{display:grid}
  .listing-layout{grid-template-columns:1fr}
  .filters{position:static}
  .pdp-grid{grid-template-columns:1fr;gap:34px}
  .pdp-gallery{position:static}
  .cart-layout{grid-template-columns:minmax(0,1fr)}
  .cart-summary{position:static}
  .heritage-grid{grid-template-columns:1fr}
  .listing-main .product-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .section{padding:60px 0}
  .container{padding:0 16px}
  .nav{gap:8px}
  .cart-row-end .qty{transform:scale(.82)}
  .nav-actions{gap:4px}
  .nav-actions .icon-btn[aria-label="Search"],
  .nav-actions .icon-btn[aria-label="Wishlist"]{display:none}
  .lang-toggle{padding:6px 10px;font-size:.68rem}
  .header-inner{gap:10px}
  .brand{gap:9px}
  .brand .logo{width:auto;height:36px}
  .brand .brand-en{font-size:1.05rem;letter-spacing:.12em}
  .brand-ar{font-size:.85rem}
  .product-grid,.cat-grid,.listing-main .product-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .pillars{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .trust .container{justify-content:flex-start}
  .hero{min-height:auto;padding:80px 0}
  .topbar{display:none}
  .pdp-buy{flex-wrap:wrap}
  .cart-row{grid-template-columns:80px minmax(0,1fr);gap:14px}
  .cart-row-img{width:80px;height:80px}
  .cart-row-info{min-width:0}
  .cart-row-info h3{white-space:normal;overflow-wrap:anywhere}
  .cart-row-end{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}
  .product-name{font-size:1rem}
  .product-price{font-size:1.1rem}
}

/* Mobile nav drawer */
.mobile-nav{position:fixed;inset:0;background:var(--ink);z-index:100;transform:translateX(100%);transition:transform .4s var(--ease);padding:30px;display:flex;flex-direction:column}
html[dir="rtl"] .mobile-nav{transform:translateX(-100%)}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px}
.mobile-nav-head .brand{color:var(--gold)}
.mobile-nav-head .brand .logo{height:38px}
.mobile-nav a:not(.brand){color:var(--text-on-dark);font-family:var(--serif);font-size:1.8rem;padding:14px 0;border-bottom:1px solid var(--line-dark)}
html[dir="rtl"] .mobile-nav a{font-family:var(--arab)}
.mobile-nav a:hover{color:var(--gold-soft)}
.mobile-nav .close-x{color:var(--cream);width:40px;height:40px;display:grid;place-items:center}
.mobile-nav .close-x svg{width:26px;height:26px}
