/*
Theme Name: Cometic
Theme URI: https://cometic.example
Author: Cometic
Author URI: https://cometic.example
Description: Thème e-commerce beauté & cosmétiques (RTL arabe) — navy & or, avec panneau d'options, slider hero et boutique WooCommerce épurée.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gm-sm
Tags: e-commerce, rtl, woocommerce, one-column, custom-logo, custom-menu, featured-images
*/

:root{
  --navy-900:#0a1633; --navy-800:#0f1e42; --navy-700:#16264d; --navy-600:#1e3260;
  --gold:#c9a24b; --gold-lt:#e6cd85; --gold-dk:#a67f31;
  --cream:#f8f6f1; --ink:#1c2540; --muted:#7a8299; --line:#ece8df;
    --font-body:'Tajawal',sans-serif;
    --font-head:'Cairo',sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);background:var(--cream);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
.wrap{max-width:1200px;margin:0 auto;padding:0 22px}
h1,h2,h3,.display{font-family:var(--font-head)}
.gold-text{color:var(--gold)}
ul{list-style:none}

/* TOP BAR */
.announce{background:var(--navy-900);color:var(--gold-lt);text-align:center;font-size:13px;padding:8px;letter-spacing:.3px;font-weight:500}
.site-nav{background:var(--navy-800);border-bottom:1px solid rgba(201,162,75,.18);position:sticky;top:0;z-index:50}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:74px}
.nav-icons{display:flex;gap:16px;align-items:center;color:#cfd6e6}
.nav-icons a{display:grid;place-items:center}
.nav-icons svg{width:21px;height:21px;cursor:pointer;transition:.2s}
.nav-icons a:hover svg{color:var(--gold)}
.nav-links,.nav-links ul{display:flex;gap:26px;font-family:var(--font-head);font-size:15px;font-weight:600;color:#dfe4f0;align-items:center}
.nav-links a{position:relative;padding:4px 0;transition:.2s;color:#dfe4f0}
.nav-links a:hover{color:var(--gold)}
.nav-links .current-menu-item>a,.nav-links a.active{color:var(--gold)}
.nav-links .current-menu-item>a::after,.nav-links a.active::after{content:"";position:absolute;bottom:-8px;right:0;left:0;height:2px;background:var(--gold);border-radius:2px}
.brand{display:flex;align-items:center;gap:10px}
.brand .mark{width:44px;height:44px;border:1.5px solid var(--gold);border-radius:9px;display:grid;place-items:center;font-family:var(--font-head);font-weight:900;color:var(--gold);font-size:19px;background:linear-gradient(145deg,#16264d,#0a1633)}
.brand .txt{line-height:1.1}
.brand .txt b{font-family:var(--font-head);color:#fff;font-size:15px;letter-spacing:.5px;display:block}
.brand .txt span{color:var(--gold);font-size:9px;letter-spacing:2px}
.brand img{max-height:48px;width:auto}
.menu-btn{display:none;background:none;border:none;color:#dfe4f0;cursor:pointer}

/* HERO */
.hero{background:radial-gradient(1200px 400px at 15% 120%, rgba(201,162,75,.14), transparent 60%),linear-gradient(120deg,var(--navy-900) 0%,var(--navy-700) 55%,var(--navy-600) 100%);color:#fff;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,rgba(255,255,255,.02) 0 2px,transparent 2px 26px);pointer-events:none}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;padding:56px 0 64px;position:relative;z-index:2}
.hero-badge{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--gold-lt);border:1px solid rgba(201,162,75,.4);padding:6px 14px;border-radius:100px;margin-bottom:22px;background:rgba(201,162,75,.06)}
.hero h1{font-size:clamp(34px,5vw,56px);font-weight:900;line-height:1.15;margin-bottom:16px}
.hero h1 .u{background:linear-gradient(90deg,var(--gold),var(--gold-lt));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{color:#c3ccdf;font-size:18px;max-width:440px;margin-bottom:30px;font-weight:400}
.btns{display:flex;gap:14px;flex-wrap:wrap}
.btn{font-family:var(--font-head);font-weight:700;font-size:15px;padding:14px 30px;border-radius:12px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transition:.25s;border:none}
.btn-gold{background:linear-gradient(135deg,var(--gold),var(--gold-dk));color:#1a1204;box-shadow:0 10px 24px -8px rgba(201,162,75,.6)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 14px 30px -8px rgba(201,162,75,.75);color:#1a1204}
.btn-ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.3)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold-lt)}
.hero.has-bg{background-image:linear-gradient(120deg,rgba(10,22,51,.86),rgba(30,50,96,.80)),var(--hero-bg);background-size:cover;background-position:center}
.stage{position:relative;height:360px}
.hero-photo{position:absolute;inset:0;display:grid;place-items:center}
.hero-photo img{max-height:360px;width:auto;border-radius:18px;box-shadow:0 30px 60px -22px rgba(0,0,0,.6)}
.prod{position:absolute;border-radius:16px;box-shadow:0 24px 50px -18px rgba(0,0,0,.6);display:grid;place-items:center;text-align:center;padding:14px}
.prod .lbl{font-family:var(--font-head);font-weight:800;font-size:11px;letter-spacing:1px}
.prod .sub{font-size:9px;opacity:.7;margin-top:2px}
.p-jar{width:150px;height:150px;top:120px;right:16%;background:linear-gradient(160deg,#f3dfa6,#c9a24b);color:#4a3410}
.p-serum{width:120px;height:180px;top:60px;right:40%;background:linear-gradient(160deg,#3a2a1a,#120c06);color:var(--gold-lt);z-index:3}
.p-omega{width:130px;height:160px;top:150px;left:16%;background:linear-gradient(160deg,#ffffff,#efe9dc);color:#7a5a12;border:1px solid var(--gold-lt)}
.lily{position:absolute;bottom:8px;left:34%;width:70px;height:70px;opacity:.9}
.glow{position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(201,162,75,.35),transparent 70%);top:70px;right:28%;filter:blur(6px)}

/* TRUST */
.trust{background:#fff;border-bottom:1px solid var(--line)}
.trust-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:22px 0}
.trust-item{display:flex;align-items:center;gap:12px;justify-content:center}
.trust-item .ic{width:40px;height:40px;border-radius:10px;background:var(--cream);display:grid;place-items:center;color:var(--gold-dk);flex:none}
.trust-item .ic svg{width:20px;height:20px}
.trust-item b{font-family:var(--font-head);font-size:14px;display:block}
.trust-item span{font-size:12px;color:var(--muted)}

/* SECTIONS */
.sec{padding:56px 0}
.sec-head{text-align:center;margin-bottom:36px}
.eyebrow{font-family:var(--font-head);color:var(--gold-dk);font-weight:700;font-size:14px;letter-spacing:1px;display:inline-flex;align-items:center;gap:10px}
.eyebrow::before,.eyebrow::after{content:"";width:28px;height:1px;background:var(--gold)}
.sec-head h2{font-size:34px;font-weight:800;margin-top:8px;color:var(--navy-800)}

/* categories */
.cats{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.cat{border-radius:18px;padding:24px 18px 20px;text-align:center;position:relative;overflow:hidden;border:1px solid rgba(0,0,0,.04);transition:.28s;cursor:pointer;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:space-between}
.cat:hover{transform:translateY(-6px);box-shadow:0 18px 34px -16px rgba(20,30,60,.28)}
.cat .bubble{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;margin-bottom:14px;box-shadow:inset 0 0 0 6px rgba(255,255,255,.6)}
.cat .bubble svg{width:34px;height:34px}
.cat .cat-photo{width:100%;height:130px;border-radius:14px;overflow:hidden;margin-bottom:14px;background:rgba(255,255,255,.55)}
.cat .cat-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cat h3{font-family:var(--font-head);font-size:17px;font-weight:800;color:var(--navy-800);margin-bottom:2px}
.cat .shop{font-family:var(--font-head);font-size:13px;font-weight:700;color:var(--gold-dk);display:inline-flex;align-items:center;gap:5px;margin-top:10px}
.c1{background:#eaf1fb} .c1 .bubble{background:#d3e2f7;color:#3a6bb0}
.c2{background:#fbeef0} .c2 .bubble{background:#f6d9de;color:#c06a7d}
.c3{background:#f2ecf9} .c3 .bubble{background:#e4d6f4;color:#8a5bc0}
.c4{background:#eaf6ee} .c4 .bubble{background:#d3ecda;color:#3f9d64}
.c5{background:#fdf3e7} .c5 .bubble{background:#f8e2c6;color:#c48a3a}

/* products */
.prods{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.card{background:#fff;border-radius:16px;overflow:hidden;border:1px solid var(--line);transition:.28s;position:relative}
.card:hover{transform:translateY(-6px);box-shadow:0 20px 38px -18px rgba(20,30,60,.3)}
.card .thumb{height:170px;position:relative;display:grid;place-items:center;background:linear-gradient(160deg,#f7f4ee,#efeae0)}
.card .thumb img{max-height:150px;width:auto;object-fit:contain}
.card .bottle{width:64px;height:120px;border-radius:10px 10px 8px 8px;box-shadow:0 12px 22px -10px rgba(0,0,0,.4);display:grid;place-items:end center;padding-bottom:10px}
.card .bottle span{font-family:var(--font-head);font-weight:800;font-size:9px;letter-spacing:.5px;opacity:.85}
.disc{position:absolute;top:12px;right:12px;background:#e5484d;color:#fff;font-family:var(--font-head);font-weight:800;font-size:12px;padding:4px 9px;border-radius:8px;z-index:2}
.fav{position:absolute;top:12px;left:12px;width:32px;height:32px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#b9c0d0;box-shadow:0 4px 10px rgba(0,0,0,.08);cursor:pointer;transition:.2s;z-index:2}
.fav:hover{color:#e5484d}
.fav svg{width:16px;height:16px}
.card .body{padding:14px 15px 17px}
.card .brand-sm{font-size:11px;color:var(--muted);font-family:var(--font-head);font-weight:700;letter-spacing:.5px}
.card h4{font-family:var(--font-head);font-size:15px;font-weight:700;margin:3px 0 8px;color:var(--navy-800)}
.card h4 a{color:inherit}
.stars{color:var(--gold);font-size:12px;letter-spacing:1px;margin-bottom:9px}
.stars span{color:var(--muted);margin-right:4px}
.price{display:flex;align-items:baseline;gap:8px}
.price .now{font-family:var(--font-head);font-weight:900;font-size:18px;color:var(--navy-800)}
.price .now small{font-size:12px;font-weight:700}
.price .old{font-size:13px;color:var(--muted);text-decoration:line-through}
.price ins{text-decoration:none;font-family:var(--font-head);font-weight:900;font-size:18px;color:var(--navy-800)}
.price del{font-size:13px;color:var(--muted);margin-right:6px}
.add{margin-top:12px;width:100%;border:none;border-radius:10px;padding:11px;cursor:pointer;font-family:var(--font-head);font-weight:800;font-size:14px;background:var(--navy-800);color:#fff;display:flex;align-items:center;justify-content:center;gap:7px;transition:.22s}
.add:hover{background:linear-gradient(135deg,var(--gold),var(--gold-dk));color:#1a1204}
.add svg{width:16px;height:16px}

/* promo */
.promo{background:linear-gradient(120deg,var(--navy-800),var(--navy-600));color:#fff;border-radius:22px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;position:relative;overflow:hidden}
.promo::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(201,162,75,.25),transparent 70%);left:-60px;bottom:-100px}
.promo h2{font-size:30px;font-weight:900;margin-bottom:8px}
.promo p{color:#c3ccdf;max-width:420px}
.promo .big{font-family:var(--font-head);font-weight:900;font-size:64px;line-height:1;background:linear-gradient(90deg,var(--gold),var(--gold-lt));-webkit-background-clip:text;background-clip:text;color:transparent;position:relative;z-index:2}

/* generic page content */
.page-content{padding:48px 0;min-height:40vh}
.page-content h1,.page-content h2{color:var(--navy-800);margin-bottom:16px}
.page-content p{margin-bottom:14px}

/* FOOTER */
.site-footer{background:var(--navy-900);color:#c3ccdf;margin-top:56px;padding:52px 0 0}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:34px;padding-bottom:40px}
.foot-grid h5{font-family:var(--font-head);color:#fff;font-size:16px;font-weight:800;margin-bottom:16px}
.foot-grid a{display:block;font-size:14px;padding:5px 0;transition:.2s}
.foot-grid a:hover{color:var(--gold)}
.foot-brand p{font-size:14px;margin-top:14px;color:#96a0ba}
.socials{display:flex;gap:10px;margin-top:16px}
.socials a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.06);display:grid;place-items:center;color:#c3ccdf}
.socials a:hover{background:var(--gold);color:#1a1204}
.socials svg{width:18px;height:18px}
.foot-in input{width:100%;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#fff;font-family:var(--font-body);margin-bottom:10px}
.foot-in input::placeholder{color:#8891a8}
.copy{border-top:1px solid rgba(255,255,255,.08);padding:18px 0;text-align:center;font-size:13px;color:#8891a8}

/* RESPONSIVE */
@media(max-width:980px){
  .nav-links{display:none}
  .menu-btn{display:block}
  .hero-inner{grid-template-columns:1fr;gap:10px}
  .stage{height:300px;order:-1}
  .trust-inner{grid-template-columns:repeat(2,1fr)}
  .cats,.prods{grid-template-columns:repeat(3,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .cats,.prods{grid-template-columns:repeat(2,1fr)}
  .trust-inner{grid-template-columns:1fr 1fr}
  .promo{padding:30px}
  .promo .big{font-size:46px}
  .foot-grid{grid-template-columns:1fr}
  .brand .txt{display:none}
}

/* ---- Options panel additions ---- */
.site-nav.no-sticky{position:relative;top:auto}
.announce{position:relative}
.announce-item{display:none}
.announce-item.active{display:inline-block;animation:gmFade .5s ease}
@keyframes gmFade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* Floating WhatsApp */
.gm-wa{position:fixed;inset-inline-start:22px;bottom:22px;width:56px;height:56px;border-radius:50%;
  background:#25d366;color:#fff;display:grid;place-items:center;z-index:60;
  box-shadow:0 8px 22px -6px rgba(37,211,102,.6);transition:.2s}
.gm-wa:hover{transform:translateY(-3px) scale(1.05);color:#fff}
.gm-wa svg{width:30px;height:30px}

/* Back to top */
.gm-totop{position:fixed;inset-inline-end:22px;bottom:22px;width:48px;height:48px;border-radius:12px;
  background:var(--navy-800);color:#fff;border:none;cursor:pointer;display:grid;place-items:center;z-index:60;
  opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s;box-shadow:0 8px 20px -8px rgba(15,30,66,.6)}
.gm-totop.show{opacity:1;visibility:visible;transform:none}
.gm-totop:hover{background:linear-gradient(135deg,var(--gold),var(--gold-dk));color:#1a1204}
.gm-totop svg{width:22px;height:22px}

/* Mobile menu open */
@media(max-width:980px){
  .nav-links.open{display:flex;position:absolute;top:74px;inset-inline:0;flex-direction:column;
    background:var(--navy-800);padding:16px 22px;gap:14px;box-shadow:0 12px 24px -12px rgba(0,0,0,.5);z-index:40}
}

/* =====================================================================
   DESIGN v2 — Raffinement premium & classique
   ===================================================================== */
:root{ --serif:'Cormorant Garamond',Georgia,serif; --shadow-soft:0 18px 44px -22px rgba(15,30,66,.22); }

body{line-height:1.7;letter-spacing:.1px}
.wrap{max-width:1240px}

/* ---- Barre d'annonces plus fine et élégante ---- */
.announce{font-size:12.5px;letter-spacing:.6px;padding:9px;font-weight:600;
  border-bottom:1px solid rgba(201,162,75,.22)}

/* ---- Navigation raffinée ---- */
.site-nav{backdrop-filter:saturate(1.1)}
.nav-inner{height:80px}
.brand .txt b{font-family:var(--serif);font-weight:600;font-size:17px;letter-spacing:1.5px}
.brand .mark{border-radius:11px;box-shadow:inset 0 0 0 1px rgba(230,205,133,.35),0 6px 16px -8px rgba(0,0,0,.5)}
.nav-links a{font-weight:600;letter-spacing:.2px}

/* ---- HERO : plus aéré, cadre doré, CTA lumineux ---- */
.hero::after{content:"";position:absolute;inset:18px;border:1px solid rgba(201,162,75,.16);
  border-radius:20px;pointer-events:none;z-index:1}
.hero-inner{padding:74px 0 84px;gap:40px}
.hero-badge{letter-spacing:.8px;padding:7px 16px;backdrop-filter:blur(4px);
  box-shadow:0 6px 18px -10px rgba(201,162,75,.5)}
.hero h1{font-size:clamp(38px,5.4vw,60px);line-height:1.12;letter-spacing:-.5px}
.hero h1 .u{position:relative}
.hero p{font-size:18.5px;line-height:1.9;color:#cfd7e8}
.btns{gap:16px;margin-top:6px}
.btn{border-radius:14px;letter-spacing:.3px;padding:15px 32px;position:relative;overflow:hidden}
.btn-gold{background:linear-gradient(135deg,var(--gold-lt),var(--gold) 55%,var(--gold-dk));
  color:#1a1204;box-shadow:0 14px 30px -12px rgba(201,162,75,.7),inset 0 1px 0 rgba(255,255,255,.4)}
.btn-gold::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);transition:.6s}
.btn-gold:hover::after{left:130%}
.btn-ghost{border-width:1.5px}

/* Photo hero : socle + halo doré */
.hero-photo{position:relative}
.hero-photo::before{content:"";position:absolute;left:50%;bottom:6%;transform:translateX(-50%);
  width:78%;height:26px;background:radial-gradient(ellipse,rgba(201,162,75,.28),transparent 70%);filter:blur(4px)}
.hero-photo img{border-radius:22px;box-shadow:0 40px 80px -30px rgba(0,0,0,.7),0 0 0 1px rgba(230,205,133,.14)}

/* ---- Barre de confiance : séparateurs + puces dorées ---- */
.trust{background:#fff;box-shadow:0 1px 0 var(--line)}
.trust-inner{padding:26px 0}
.trust-item{position:relative}
.trust-item + .trust-item::before{content:"";position:absolute;right:-8px;top:50%;transform:translateY(-50%);
  height:38px;width:1px;background:linear-gradient(var(--line),transparent,var(--line))}
.trust-item .ic{background:linear-gradient(160deg,#fbf8f1,#f1ead9);
  box-shadow:inset 0 0 0 1px rgba(201,162,75,.22)}
.trust-item b{letter-spacing:.2px}

/* ---- En-têtes de section : ornement classique ---- */
.sec{padding:72px 0}
.eyebrow{letter-spacing:3px;font-size:12.5px;text-transform:uppercase}
.eyebrow::before,.eyebrow::after{width:34px;background:linear-gradient(90deg,transparent,var(--gold))}
.eyebrow::after{background:linear-gradient(90deg,var(--gold),transparent)}
.sec-head h2{font-size:clamp(28px,3.4vw,38px);letter-spacing:-.3px;margin-top:12px;position:relative;display:inline-block}
.sec-head h2::after{content:"❖";display:block;color:var(--gold);font-size:14px;margin-top:10px;opacity:.75}

/* ---- Cartes catégories : cadre photo + souligné doré ---- */
.cats{gap:22px}
.cat{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 16px 22px;
  box-shadow:var(--shadow-soft);transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.cat::after{content:"";position:absolute;bottom:0;right:20%;left:20%;height:3px;border-radius:3px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);transform:scaleX(0);transition:.3s}
.cat:hover{transform:translateY(-8px);box-shadow:0 30px 60px -26px rgba(15,30,66,.35)}
.cat:hover::after{transform:scaleX(1)}
.cat .cat-photo{height:140px;border-radius:16px;background:var(--cream);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.03)}
.cat h3{font-size:16px;letter-spacing:.2px;margin-top:14px}
.cat .shop{color:var(--gold-dk);letter-spacing:.4px}

/* ---- Cartes produits : premium, zoom image, CTA doré ---- */
.prods{gap:22px}
.card{border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-soft);transition:transform .3s,box-shadow .3s}
.card:hover{transform:translateY(-8px);box-shadow:0 30px 60px -26px rgba(15,30,66,.35)}
.card .thumb{height:210px;overflow:hidden;background:linear-gradient(160deg,#faf7f1,#efe9dc)}
.card .thumb img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.card:hover .thumb img{transform:scale(1.06)}
.disc{background:linear-gradient(135deg,#e5484d,#c0223c);box-shadow:0 6px 14px -6px rgba(197,34,60,.6);
  border-radius:100px;letter-spacing:.3px}
.fav{backdrop-filter:blur(3px);box-shadow:0 4px 12px rgba(0,0,0,.1)}
.card .body{padding:16px 17px 18px}
.card .brand-sm{letter-spacing:1.5px;text-transform:uppercase;font-size:10.5px}
.card h4{font-size:15.5px;margin:5px 0 9px;line-height:1.5}
.stars{letter-spacing:2px}
.price .now{font-size:19px}
.price .now small{color:var(--muted)}
.add{border-radius:12px;letter-spacing:.4px;padding:12px;
  background:linear-gradient(135deg,var(--navy-700),var(--navy-800));transition:.25s}
.add:hover{background:linear-gradient(135deg,var(--gold),var(--gold-dk));color:#1a1204;
  box-shadow:0 10px 22px -10px rgba(201,162,75,.6)}

/* ---- Promo : anneau doré + gros chiffre serif ---- */
.promo{border-radius:26px;padding:52px 48px;box-shadow:0 30px 70px -30px rgba(15,30,66,.5)}
.promo::before{content:"";position:absolute;inset:12px;border:1px solid rgba(230,205,133,.2);border-radius:18px}
.promo h2{font-size:clamp(26px,3vw,34px);letter-spacing:-.3px}
.promo .big{font-family:var(--serif);font-weight:700;font-size:clamp(56px,8vw,84px);letter-spacing:1px}

/* ---- Footer raffiné ---- */
.site-footer{padding-top:64px}
.foot-grid{padding-bottom:46px;gap:40px}
.foot-grid h5{letter-spacing:.5px;position:relative;padding-bottom:12px;margin-bottom:14px}
.foot-grid h5::after{content:"";position:absolute;bottom:0;right:0;width:34px;height:2px;background:var(--gold);border-radius:2px}
.socials a{border-radius:11px;transition:.25s}
.socials a:hover{transform:translateY(-3px)}
.copy{letter-spacing:.4px}

/* ---- Animations d'apparition au défilement ---- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---- Ajustements responsive ---- */
@media(max-width:980px){
  .hero::after{inset:10px}
  .hero-inner{padding:48px 0 56px}
  .trust-item + .trust-item::before{display:none}
  .sec{padding:52px 0}
}

/* ---- Hero slider (carrousel) ---- */
.hero-slider{position:relative;overflow:hidden;height:clamp(380px,52vw,560px);background:var(--navy-900)}
.hs-track{position:absolute;inset:0}
.hs-slide{position:absolute;inset:0;background-size:cover;background-position:center;
  display:flex;align-items:center;opacity:0;transition:opacity .9s ease;pointer-events:none}
.hs-slide.active{opacity:1;pointer-events:auto}
.hs-inner{color:#fff;max-width:600px}
.hs-title{font-family:var(--font-head);font-size:clamp(30px,4.8vw,54px);font-weight:900;
  line-height:1.15;letter-spacing:-.5px;margin-bottom:16px;text-shadow:0 4px 24px rgba(0,0,0,.35)}
.hs-sub{font-size:clamp(16px,2vw,20px);color:#e7ecf6;margin-bottom:26px;line-height:1.8;max-width:520px}
.hero-slider .btn-gold{padding:15px 34px}
/* Arrows */
.hs-arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;
  border:none;cursor:pointer;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;
  display:grid;place-items:center;backdrop-filter:blur(6px);transition:.2s;z-index:3}
.hs-arrow:hover{background:var(--gold);color:#1a1204}
.hs-prev{right:18px}.hs-next{left:18px}
/* Dots */
.hs-dots{position:absolute;bottom:20px;left:0;right:0;display:flex;gap:9px;justify-content:center;z-index:3}
.hs-dot{width:10px;height:10px;border-radius:50%;border:none;cursor:pointer;padding:0;
  background:rgba(255,255,255,.45);transition:.25s}
.hs-dot.active{background:var(--gold);width:26px;border-radius:100px}
@media(max-width:600px){
  .hs-arrow{width:40px;height:40px;font-size:22px}
  .hs-prev{right:10px}.hs-next{left:10px}
}

/* =====================================================================
   WOOCOMMERCE — boutique / catégories / produit (épuré, premium)
   ===================================================================== */
.wc-main{padding:44px 0 20px;min-height:50vh}

/* En-tête de page boutique */
.woocommerce-products-header{text-align:center;margin-bottom:26px}
.woocommerce-products-header__title,
.wc-main .page-title{font-family:var(--font-head);font-size:clamp(28px,3.4vw,40px);
  font-weight:800;color:var(--navy-800);letter-spacing:-.3px}
.term-description{text-align:center;color:var(--muted);max-width:680px;margin:0 auto 10px}

/* Fil d'ariane discret */
.woocommerce-breadcrumb{text-align:center;font-size:13px;color:var(--muted);margin-bottom:26px;letter-spacing:.3px}
.woocommerce-breadcrumb a{color:var(--gold-dk)}

/* Barre : compteur + tri */
.woocommerce-result-count{color:var(--muted);font-size:14px;margin-bottom:18px}
.woocommerce-ordering select{padding:9px 12px;border:1px solid var(--line);border-radius:10px;
  background:#fff;color:var(--ink);font-family:var(--font-body)}

/* ---- Grille produits ---- */
.woocommerce ul.products,
.woocommerce-page ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin:0 0 30px;padding:0;list-style:none}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{width:auto!important;margin:0!important;float:none!important;
  background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;
  box-shadow:var(--shadow-soft);transition:transform .3s,box-shadow .3s;text-align:center;padding:0}
.woocommerce ul.products li.product:hover{transform:translateY(-8px);
  box-shadow:0 30px 60px -26px rgba(15,30,66,.35)}
.woocommerce ul.products li.product a{padding:0}
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img{width:100%;height:230px;object-fit:cover;margin:0;
  background:linear-gradient(160deg,#faf7f1,#efe9dc);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.woocommerce ul.products li.product:hover img{transform:scale(1.06)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--font-head);font-size:15.5px;font-weight:700;color:var(--navy-800);
  padding:14px 15px 4px;line-height:1.5}
.woocommerce ul.products li.product .price{color:var(--navy-800);font-weight:800;
  font-family:var(--font-head);font-size:18px;display:block;padding:0 15px 6px}
.woocommerce ul.products li.product .price del{color:var(--muted);font-weight:600;font-size:14px;margin-inline-end:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--navy-800)}
.woocommerce ul.products li.product .star-rating{margin:6px auto 8px;color:var(--gold)}

/* Badge promo */
.woocommerce span.onsale{background:linear-gradient(135deg,#e5484d,#c0223c);color:#fff;
  border-radius:100px;min-height:auto;min-width:auto;padding:5px 12px;font-weight:800;font-size:12px;
  top:12px;right:12px;left:auto;margin:0;box-shadow:0 6px 14px -6px rgba(197,34,60,.6);line-height:1}

/* Boutons */
.woocommerce a.button,.woocommerce button.button,.woocommerce .button,
.woocommerce ul.products li.product .button{background:linear-gradient(135deg,var(--navy-700),var(--navy-800));
  color:#fff;border-radius:11px;font-family:var(--font-head);font-weight:800;padding:11px 20px;
  margin:0 15px 16px;transition:.25s;letter-spacing:.3px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce .button:hover,
.woocommerce ul.products li.product .button:hover{background:linear-gradient(135deg,var(--gold),var(--gold-dk));
  color:#1a1204;box-shadow:0 10px 22px -10px rgba(201,162,75,.6)}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:linear-gradient(135deg,var(--gold),var(--gold-dk));color:#1a1204}
.woocommerce .added_to_cart{display:inline-block;margin-bottom:14px;color:var(--gold-dk);font-weight:700}

/* Message "aucun produit" */
.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:var(--gold);
  background:#fff;border-radius:12px;box-shadow:var(--shadow-soft);padding:18px 22px 18px 44px}
.woocommerce-info::before{color:var(--gold-dk)}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul{border:none;display:flex;gap:8px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:none}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{border-radius:10px;min-width:42px;height:42px;
  display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:var(--navy-800);font-weight:700}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--navy-800);color:#fff;border-color:var(--navy-800)}
.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--gold);color:#1a1204;border-color:var(--gold)}

/* ---- Fiche produit ---- */
.single-product div.product{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:start}
.single-product div.product .woocommerce-product-gallery{margin:0;position:relative}
.single-product div.product .woocommerce-product-gallery__wrapper img{border-radius:20px;
  box-shadow:var(--shadow-soft)}
.single-product .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:10px;margin-top:12px;padding:0;list-style:none}
.single-product .woocommerce-product-gallery .flex-control-thumbs li{width:auto!important}
.single-product .woocommerce-product-gallery .flex-control-thumbs img{border-radius:12px;opacity:.6;
  transition:.2s;border:2px solid transparent;width:78px;height:78px;object-fit:cover}
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1;border-color:var(--gold)}
.single-product .woocommerce-product-gallery__trigger{background:#fff;border-radius:50%;box-shadow:0 4px 12px rgba(0,0,0,.12);z-index:3}

.single-product div.product .product_title{font-family:var(--font-head);font-size:clamp(24px,3vw,36px);
  font-weight:800;color:var(--navy-800);margin-bottom:10px;letter-spacing:-.3px;line-height:1.25}
.single-product .woocommerce-product-rating{margin-bottom:16px;display:flex;align-items:center;gap:10px}
.single-product .woocommerce-product-rating .star-rating{color:var(--gold)}
.single-product .woocommerce-product-rating .woocommerce-review-link{color:var(--muted);font-size:13px}
.single-product div.product p.price,.single-product div.product span.price{color:var(--navy-800);
  font-family:var(--font-head);font-weight:800;font-size:28px;margin-bottom:18px;display:block}
.single-product div.product p.price del,.single-product div.product span.price del{color:var(--muted);
  font-weight:600;font-size:19px;margin-inline-end:10px}
.single-product div.product p.price ins{text-decoration:none}
.single-product .woocommerce-product-details__short-description{color:#4a5568;line-height:1.9;
  padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--line)}

/* Quantité + bouton alignés */
.single-product div.product form.cart{display:flex;align-items:center;gap:12px;margin:0 0 8px;flex-wrap:wrap}
.single-product .quantity input.qty{padding:13px 10px;border:1px solid var(--line);border-radius:12px;
  width:74px;text-align:center;font-weight:700;background:#fff}
.single-product div.product form.cart .button{padding:15px 34px;font-size:15px;margin:0;
  background:linear-gradient(135deg,var(--gold),var(--gold-dk));color:#1a1204;border-radius:12px}
.single-product div.product form.cart .button:hover{filter:brightness(1.05);
  box-shadow:0 12px 26px -10px rgba(201,162,75,.65)}

/* Badges de confiance */
.pdp-trust{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 14px}
.pdp-trust-item{display:flex;align-items:center;gap:7px;background:var(--cream);border:1px solid var(--line);
  border-radius:100px;padding:8px 16px;font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--navy-800)}
.pdp-trust-item span{font-size:15px}

/* Meta (catégorie / SKU) */
.single-product .product_meta{font-size:13px;color:var(--muted);padding-top:14px;border-top:1px solid var(--line);margin-top:12px}
.single-product .product_meta a{color:var(--gold-dk)}
.single-product .product_meta>span{display:block;margin-bottom:4px}

/* Onglets premium */
.woocommerce-tabs{grid-column:1 / -1;margin-top:44px}
.woocommerce-tabs ul.tabs{display:flex;gap:8px;border:none;padding:0;margin:0 0 20px;flex-wrap:wrap}
.woocommerce-tabs ul.tabs::before{display:none}
.woocommerce-tabs ul.tabs li{background:#fff;border:1px solid var(--line);border-radius:100px;
  margin:0;padding:0}
.woocommerce-tabs ul.tabs li::before,.woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce-tabs ul.tabs li a{font-family:var(--font-head);font-weight:700;color:var(--navy-800);
  padding:11px 22px;display:block}
.woocommerce-tabs ul.tabs li.active{background:var(--navy-800);border-color:var(--navy-800)}
.woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce-tabs .woocommerce-Tabs-panel{background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:26px 28px;box-shadow:var(--shadow-soft)}
.woocommerce-tabs .woocommerce-Tabs-panel h2{font-family:var(--font-head);color:var(--navy-800);
  font-size:22px;margin-bottom:14px}
.pdp-ship{list-style:none;padding:0;margin:0}
.pdp-ship li{padding:9px 0;border-bottom:1px dashed var(--line);color:#4a5568}
.pdp-ship li:last-child{border-bottom:none}

/* Produits similaires */
.related.products,.up-sells.products{grid-column:1 / -1;margin-top:48px}
.related.products>h2,.up-sells.products>h2{font-family:var(--font-head);font-size:clamp(24px,3vw,32px);
  font-weight:800;color:var(--navy-800);text-align:center;margin-bottom:28px;position:relative}
.related.products>h2::after,.up-sells.products>h2::after{content:"❖";display:block;color:var(--gold);
  font-size:14px;margin-top:8px;opacity:.75}

/* ---- Panier / commande ---- */
.woocommerce table.shop_table{border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{border:1px solid var(--line);
  border-radius:14px;padding:16px;background:#fff;box-shadow:var(--shadow-soft)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce-checkout input,.woocommerce-checkout select{border:1px solid var(--line);border-radius:10px;padding:11px}

/* ---- Responsive ---- */
@media(max-width:1024px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){
  .single-product div.product{grid-template-columns:1fr;gap:24px}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr);gap:16px}
}
@media(max-width:420px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr 1fr;gap:12px}}

/* ---- Pages de contenu (من نحن، اتصل بنا، الشحن، الدفع) ---- */
.page-content{padding:52px 0 40px}
.page-content>.wrap>h1{font-family:var(--font-head);font-size:clamp(30px,4vw,44px);font-weight:900;
  color:var(--navy-800);letter-spacing:-.4px;margin-bottom:8px;padding-bottom:18px;
  border-bottom:2px solid var(--line);position:relative}
.page-content>.wrap>h1::after{content:"";position:absolute;bottom:-2px;right:0;width:70px;height:2px;background:var(--gold)}
.entry{font-size:16.5px;line-height:1.95;color:#3a4457}
.entry h2{font-family:var(--font-head);font-size:26px;font-weight:800;color:var(--navy-800);
  margin:28px 0 12px}
.entry h3{font-family:var(--font-head);font-size:20px;font-weight:800;color:var(--navy-800);
  margin:22px 0 10px;padding-inline-start:14px;border-inline-start:3px solid var(--gold)}
.entry p{margin-bottom:16px}
.entry ul{list-style:none;padding:0;margin:0 0 18px}
.entry ul li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 18px;
  margin-bottom:10px;box-shadow:0 8px 24px -20px rgba(15,30,66,.5);font-weight:600;color:var(--navy-800)}
.entry a{color:var(--gold-dk);font-weight:700}

/* ---- Photos additionnelles sous le formulaire d'achat ---- */
.pdp-extra-gallery{grid-column:1;display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.pdp-extra-gallery img{width:100%;border-radius:16px;box-shadow:var(--shadow-soft);display:block}
@media(max-width:600px){.pdp-extra-gallery{grid-template-columns:1fr}}

/* =====================================================================
   MODE "صفحة هبوط" (Landing Page) — pas de header/footer classiques
   ===================================================================== */
.gmsm-landing-header{background:var(--navy-800);padding:16px 0;text-align:center;
  border-bottom:2px solid var(--gold)}
.gmsm-landing-header .brand{display:inline-flex;align-items:center;gap:10px;justify-content:center}
.gmsm-landing-header .txt b{font-family:var(--font-head);color:#fff;font-size:16px;letter-spacing:.5px}
.gmsm-landing-header img{max-height:44px;width:auto;margin:0 auto}

body.gmsm-landing{background:var(--cream)}
body.gmsm-landing .wc-main{padding-top:30px;padding-bottom:10px}
body.gmsm-landing .woocommerce-breadcrumb{display:none}
body.gmsm-landing .single-product div.product{gap:36px}
body.gmsm-landing .gm-wa{animation:gmWaPulse 2.2s ease-in-out infinite}
@keyframes gmWaPulse{
  0%,100%{box-shadow:0 8px 22px -6px rgba(37,211,102,.6)}
  50%{box-shadow:0 8px 30px -4px rgba(37,211,102,.95)}
}
