@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --ink:#30231f;
  --muted:#b9a994;
  --gold:#c9a45e;
  --line:#806b4c;
  --paper:#211b18;
  --cream:#302720;
  --white:#392e27;
  --brown:#171310;
  --pink:#d9a0ad;
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:"Montserrat",Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:#f3e8d8;
  font-family:var(--sans);
  font-size:14px;
  line-height:1.65;
}
img{max-width:100%;height:auto}
a{color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

/* EN-TÊTE ET NOUVEAU LOGO */

.cdc-header{
  position:relative;
  z-index:110;
  width:100%;
  min-height:116px;
  padding:12px 3.5%;
  display:grid;
  grid-template-columns:minmax(44px,1fr) minmax(180px,auto) minmax(44px,1fr);
  align-items:center;
  gap:12px;
  background:linear-gradient(110deg,#171310,#30231f 52%,#171310);
  color:#f4e6d4;
  border-bottom:1px solid var(--gold);
}

.cdc-icon-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  padding:7px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#e9d6b8;
  text-decoration:none;
  transition:color .2s,background .2s;
}
.cdc-icon-button:hover{
  color:var(--pink);
  background:rgba(255,255,255,.07);
}
.cdc-icon-button svg,
.cdc-language svg{
  display:block;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.menu-button{
  justify-self:start;
  border:1px solid rgba(201,168,121,.65);
}
.hamburger-lines{
  display:flex;
  width:20px;
  flex-direction:column;
  gap:5px;
}
.hamburger-lines i{
  display:block;
  width:20px;
  height:1px;
  background:#f4e6d4;
}

.brand.cdc-brand{
  grid-column:2;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(330px,100%);
  margin:auto;
  color:#fff;
  text-decoration:none;
  line-height:1;
}
.cdc-logo{
  display:block;
  width:100%;
  max-width:310px;
  margin:auto;
}
.cdc-logo svg,
.cdc-logo img{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}

.header-actions{
  grid-column:3;
  grid-row:1;
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  color:#f4e6d4;
}
.header-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.header-actions button{font-size:inherit}
.cart-link{position:relative}
#cartCount{
  position:absolute;
  top:-3px;
  right:-5px;
  min-width:15px;
  height:15px;
  padding:0 3px;
  border-radius:50%;
  background:var(--gold);
  color:#211916;
  font-size:9px;
  line-height:15px;
  text-align:center;
}

/* LANGUE */

.cdc-language{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  color:var(--pink);
  cursor:pointer;
}
.cdc-language>span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--pink);
}
.cdc-language svg{
  width:21px;
  height:21px;
  color:var(--pink);
}
.cdc-language select{
  width:37px;
  padding:3px 0;
  border:0;
  outline:none;
  background:transparent;
  color:#f4e6d4;
  font-size:10px;
  cursor:pointer;
}
.cdc-language option{
  color:#30231f;
  background:white;
}

/* NAVIGATION */

.cdc-nav{
  display:none;
  position:relative;
  z-index:105;
  top:auto;
  left:auto;
  right:auto;
  width:100%;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:18px 25px;
  padding:22px;
  background:#211916;
  border-top:1px solid var(--gold);
  border-bottom:1px solid var(--gold);
  box-shadow:0 12px 25px rgba(0,0,0,.35);
}
.cdc-nav.is-open{display:flex}
.cdc-nav a{
  color:#f5eadc;
  text-decoration:none;
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:1px;
}
.cdc-nav a:hover{color:var(--pink)}

/* RECHERCHE */

.cdc-search{
  position:relative;
  z-index:100;
  padding:14px;
  background:var(--cream);
}
.cdc-search[hidden]{display:none!important}
.cdc-search form{
  max-width:650px;
  margin:auto;
  display:flex;
  gap:8px;
}
.cdc-search input{
  flex:1;
  min-width:0;
  padding:12px;
  border:1px solid var(--line);
  background:#fffaf4;
  color:#30231f;
}
.cdc-search button{
  padding:12px 18px;
  border:0;
  background:var(--gold);
  color:#211916;
}

/* ANCIENNES BARRES */

.announcement{
  min-height:32px;
  padding:7px 12px;
  text-align:center;
  background:var(--brown);
  color:#f5e8d8;
  font-size:10px;
  letter-spacing:3px;
}
.utility-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:10px 5%;
  background:var(--paper);
}
.search-form{
  display:flex;
  align-items:center;
  gap:5px;
}
.search-form input,
.search-form button,
.utility-bar select{
  min-height:36px;
  border:1px solid var(--line);
  background:#fffaf4;
  color:#30231f;
  padding:7px 10px;
}

/* ACCUEIL */

.hero{
  min-height:480px;
  display:flex;
  align-items:center;
  padding:70px 10%;
  background:
    linear-gradient(90deg,rgba(20,15,12,.78),rgba(20,15,12,.2)),
    url("https://bijouterielamalmaison.fr/wp-content/uploads/2026/05/AA1.webp")
    center/cover no-repeat;
  color:white;
}
.hero-content{max-width:560px}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:10px;
  color:var(--gold);
}
.hero .eyebrow{color:#f0dfc6}
.hero h1{
  font:400 clamp(42px,6vw,72px)/1.05 var(--serif);
  margin:15px 0;
}
.hero-content>p:not(.eyebrow){
  max-width:470px;
  line-height:1.9;
}
.primary-button{
  display:inline-block;
  margin-top:18px;
  padding:14px 24px;
  background:var(--gold);
  color:#211916;
  text-decoration:none;
  font-size:10px;
  letter-spacing:1.5px;
}

/* SECTIONS */

.welcome-section,
.categories-section,
.featured-section,
.editorial-section{
  padding:65px 5%;
  text-align:center;
}
.welcome-section{
  max-width:850px;
  margin:auto;
}
.welcome-section h2,
.section-heading h2,
.editorial-content h2{
  font:400 clamp(30px,4vw,43px) var(--serif);
  margin:8px 0 15px;
}
.welcome-section>p:last-child{
  max-width:650px;
  margin:auto;
  color:var(--muted);
}

/* CATÉGORIES */

.categories-section{background:#302720}
.category-grid{
  max-width:1200px;
  margin:35px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.category-card{
  text-decoration:none;
  text-align:center;
  min-width:0;
}
.category-image{
  height:260px;
  position:relative;
  display:flex;
  align-items:flex-end;
  padding:15px;
  background:linear-gradient(145deg,#514234,#211916);
  overflow:hidden;
}
.category-image span{
  color:white;
  font:24px var(--serif);
}
.category-accessories{
  background:linear-gradient(145deg,#5a4936,#2c211a);
}
.category-ap{
  background:linear-gradient(145deg,#455459,#1c292d);
}
.category-women{
  background:linear-gradient(145deg,#60494a,#302323);
}
.category-men{
  background:linear-gradient(145deg,#49453c,#201f1b);
}
.category-card h3{
  font:500 20px var(--serif);
  margin:15px 0 4px;
}
.category-link{
  font-size:9px;
  letter-spacing:2px;
  color:var(--gold);
}

/* DÉFILEMENT PRODUITS */

.category-products,
.category-products-track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:12px 3px 20px;
  scrollbar-width:thin;
  scrollbar-color:var(--gold) #302720;
}
.category-products>*,
.category-products-track>*{
  scroll-snap-align:start;
  flex:0 0 auto;
}

/* CARTES ET PRODUITS */

.product-card,
.product-item{
  background:#302720;
  border:1px solid rgba(201,164,94,.3);
  color:#f3e8d8;
}
.product-card h3,
.product-item h3{
  color:#f5eadc;
}
.product-card p,
.product-item p{
  color:#c8b9a7;
}
.product-price,
.price{
  color:var(--gold);
}
.product-card a,
.product-item a{
  color:var(--gold);
}

/* BOUTONS */

button,
.primary-button,
.secondary-button{
  transition:background .2s,color .2s,border-color .2s;
}
button:hover,
.primary-button:hover{
  filter:brightness(1.1);
}

/* FORMULAIRES */

input,select,textarea{
  accent-color:var(--gold);
}
input:not([type="checkbox"]),
select,
textarea{
  border-color:var(--line);
}
input:not([type="checkbox"]):focus,
select:focus,
textarea:focus{
  outline:1px solid var(--gold);
  border-color:var(--gold);
}

/* COMMANDE ET PAIEMENT */

.checkout-page,
.payment-page{
  color:#f3e8d8;
}
.checkout-title h1,
.payment-title h1{
  color:#f4e6d4;
}
.checkout-card,
.payment-card{
  background:#302720;
  border:1px solid rgba(201,164,94,.55);
  color:#f3e8d8;
}
.checkout-card h2,
.payment-card h2{
  color:#e6c58e;
}
.checkout-card label,
.payment-card label{
  color:#e8d8c4;
}
.checkout-card input,
.checkout-card select,
.checkout-card textarea{
  background:#fffaf4;
  color:#30231f;
}
.checkout-line,
.payment-line{
  color:#f3e8d8;
}
.checkout-total,
.payment-total{
  border-color:var(--gold);
  color:#e8c78e;
}
.checkout-button,
.pay-button{
  background:var(--gold);
  color:#211916;
  border:0;
}
.checkout-button:hover,
.pay-button:hover{
  background:#e2bd75;
}
.payment-message{color:#d5c2a8}

/* FOOTER */

.cdc-footer{
  background:#171310;
  color:#e9d9c5;
  border-top:1px solid var(--gold);
  padding:45px 5% 20px;
}
.cdc-footer-brand{
  max-width:310px;
  margin:0 auto 30px;
  text-align:center;
}
.cdc-footer-brand a{
  display:block;
  width:100%;
  text-decoration:none;
}
.footer-column h4{
  color:var(--gold);
  font-family:var(--serif);
  letter-spacing:1.5px;
}
.footer-column a{
  display:block;
  color:#d8c9b8;
  text-decoration:none;
  margin:7px 0;
}
.footer-column a:hover{color:var(--pink)}
.footer-bottom{
  border-top:1px solid rgba(201,164,94,.3);
  margin-top:30px;
  padding-top:18px;
  text-align:center;
  color:#b9a994;
  font-size:11px;
}

/* THÈME SOMBRE */

.theme-dark{
  --paper:#171310;
  --cream:#302720;
  --white:#392e27;
  --ink:#f3e8d8;
  --muted:#b9a994;
}

/* RESPONSIVE */

@media(max-width:900px){
  .cdc-header{
    grid-template-columns:38px minmax(120px,1fr) auto;
    padding:10px 2%;
    gap:4px;
  }
  .brand.cdc-brand{
    width:min(230px,100%);
  }
  .header-actions{gap:2px}
  .cdc-icon-button{
    width:32px;
    height:34px;
    padding:5px;
  }
  .cdc-icon-button svg{width:19px;height:19px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:520px){
  .cdc-header{
    min-height:90px;
    grid-template-columns:28px minmax(95px,1fr) auto;
    padding:8px 7px;
    gap:2px;
  }
  .brand.cdc-brand{width:min(175px,100%)}
  .header-actions{gap:0}
  .cdc-icon-button{
    width:27px;
    height:30px;
    padding:3px;
  }
  .cdc-icon-button svg{width:17px;height:17px}
  .cdc-language{gap:0}
  .cdc-language svg{width:17px;height:17px}
  .cdc-language select{
    width:29px;
    font-size:9px;
  }
  .hamburger-lines{width:17px}
  .hamburger-lines i{width:17px}
  .category-grid{gap:10px}
  .category-image{height:190px}
  .welcome-section,
  .categories-section,
  .featured-section,
  .editorial-section{padding:42px 5%}
  .cdc-footer{padding:35px 5% 18px}
}

[hidden]{display:none!important}

/* CORRECTIONS D'UNIFORMITÉ — CARTES, TEXTES ET NAVIGATION */
.cdc-header{min-height:150px!important;background:#171310!important}
.cdc-brand{max-width:430px!important;width:min(430px,100%)!important}
.cdc-logo{max-width:430px!important}
.cdc-footer{background:#171310!important;color:#f4e6d4!important}
.cdc-footer .cdc-logo{max-width:310px!important}
.cdc-footer a{color:#e9d6b8}
.cdc-footer a:hover{color:var(--gold)}
.products-grid .product-card,.favorites-grid .favorite-card,
.product-card,.product-item,.favorite-card,
.account-card,.cart-item{
  background:#302720!important;
  color:#f3e8d8!important;
  border-color:rgba(201,164,94,.45)!important;
}
.product-name,.product-name a,.product-card h2,.product-card h3,
.favorite-info h2,.cart-item h2,.account-card h2,
.catalogue-heading h1,.favorites-heading h1,
.account-heading h1,.cart-page h1,.detail-name{
  color:#f4e6d4!important;
}
.product-info,.favorite-info,.cart-item-price,.favorites-heading p,
.catalogue-heading p{color:#d2c2ad!important}
.product-card .product-price,.favorite-price,.detail-price{color:#e5b928!important}
.home-category,.home-category:nth-child(even){background:#211916!important}
.home-category-heading h2,.home-category-heading p{color:#f4e6d4!important}
.home-category-heading a{color:#e5b928!important}
.product-image,.favorite-image,.cart-item-image,.product-detail-image{
  background:#eee7dc!important;
}
.cdc-nav a:focus-visible,.cdc-icon-button:focus-visible,
.cdc-footer a:focus-visible{outline:2px solid #e5b928;outline-offset:4px}
@media(max-width:760px){
 .cdc-header{min-height:112px!important;padding:8px 10px!important;grid-template-columns:36px minmax(110px,1fr) auto!important;gap:5px!important}
 .cdc-brand{width:min(230px,100%)!important}
 .cdc-logo{max-width:230px!important}
 .header-actions{gap:1px!important}
 .cdc-icon-button{width:31px;height:34px;padding:5px}
 .cdc-icon-button svg{width:19px;height:19px}
 .cdc-language>span{display:none}
 .cdc-language select{width:30px;font-size:9px}
 .products-grid,.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:420px){
 .header-actions{gap:0!important}
 .cdc-icon-button{width:27px;padding:3px}
 .cdc-icon-button svg{width:17px;height:17px}
 .cdc-brand{width:min(190px,100%)!important}
 .cdc-logo{max-width:190px!important}
}



/* CORRECTION DU LOGO ET DE L'ALIGNEMENT — VERSION AFFINÉE */
.cdc-header{
  min-height:164px!important;
  grid-template-columns:48px minmax(330px,1fr) minmax(320px,1fr)!important;
  gap:12px!important;
  padding:12px 3%!important;
  background:linear-gradient(110deg,#171310 0%,#241c17 50%,#171310 100%)!important;
}
.brand.cdc-brand,.cdc-brand{
  width:min(410px,100%)!important;
  max-width:410px!important;
  justify-self:center!important;
}
.cdc-logo{
  width:100%!important;
  max-width:410px!important;
}
.cdc-logo svg{
  display:block!important;
  width:100%!important;
  height:auto!important;
}
.header-actions{
  gap:7px!important;
  flex-wrap:nowrap!important;
}
.cdc-icon-button{
  flex:0 0 36px;
  width:36px!important;
  height:38px!important;
}
.cdc-icon-button svg{
  width:23px!important;
  height:23px!important;
  stroke-width:1.35!important;
}
.cdc-footer-brand .cdc-logo{
  max-width:360px!important;
}
@media(max-width:1050px) and (min-width:761px){
  .cdc-header{
    grid-template-columns:38px minmax(260px,1fr) minmax(275px,1fr)!important;
    min-height:145px!important;
    gap:5px!important;
    padding:10px 1.5%!important;
  }
  .brand.cdc-brand,.cdc-brand{
    width:min(320px,100%)!important;
  }
  .cdc-logo{max-width:320px!important}
  .header-actions{gap:1px!important}
  .cdc-icon-button{
    flex-basis:31px;
    width:31px!important;
    padding:3px!important;
  }
  .cdc-icon-button svg{width:20px!important;height:20px!important}
  .cdc-language select{width:30px!important}
}
@media(max-width:760px){
  .cdc-header{
    min-height:112px!important;
    grid-template-columns:32px minmax(145px,1fr) auto!important;
    padding:8px 8px!important;
    gap:3px!important;
  }
  .brand.cdc-brand,.cdc-brand{
    width:min(235px,100%)!important;
  }
  .cdc-logo{max-width:235px!important}
  .header-actions{gap:0!important}
  .cdc-icon-button{
    flex:0 0 29px;
    width:29px!important;
    height:32px!important;
    padding:3px!important;
  }
  .cdc-icon-button svg{width:18px!important;height:18px!important}
  .cdc-language>span{display:inline-flex!important}
  .cdc-language svg{width:16px!important;height:16px!important}
  .cdc-language select{width:25px!important;font-size:8px!important}
}
@media(max-width:420px){
  .cdc-header{
    grid-template-columns:27px minmax(125px,1fr) auto!important;
    min-height:98px!important;
    padding:6px 5px!important;
  }
  .brand.cdc-brand,.cdc-brand{width:min(190px,100%)!important}
  .cdc-logo{max-width:190px!important}
  .cdc-icon-button{
    flex-basis:25px;
    width:25px!important;
    height:29px!important;
  }
  .cdc-icon-button svg{width:16px!important;height:16px!important}
  .cdc-language>span{display:none!important}
  .cdc-language select{width:24px!important}
}


/* RESTAURATION DE LA MAQUETTE VALIDÉE — CHOCOLAT, IVOIRE ET OR */
:root{
  --ink:#30231f;
  --muted:#9b8876;
  --gold:#c9a45e;
  --line:#d8c8b5;
  --paper:#211916;
  --cream:#f3eee6;
  --white:#f8f4ed;
  --brown:#171310;
}
body{
  background:#211916!important;
  color:#f3e8d8!important;
}
/* En-tête ivoire, logo centré, navigation sur la même ligne */
.cdc-header{
  min-height:118px!important;
  padding:10px 3%!important;
  grid-template-columns:48px minmax(220px,1fr) minmax(300px,1fr)!important;
  background:#f3eee6!important;
  color:#30231f!important;
  border-bottom:1px solid #c9a45e!important;
}
.cdc-header .cdc-icon-button,
.cdc-header .header-actions,
.cdc-header .cdc-language,
.cdc-header .cdc-language select{
  color:#30231f!important;
}
.cdc-header .hamburger-lines i{background:#30231f!important}
.cdc-header .cdc-icon-button svg{
  stroke:#30231f!important;
  stroke-width:1.35!important;
}
.brand.cdc-brand{
  width:min(315px,100%)!important;
  max-width:315px!important;
}
.cdc-logo{max-width:315px!important}
.header-actions{gap:9px!important;flex-wrap:nowrap!important}
.cdc-nav{
  background:#f3eee6!important;
  border-color:#c9a45e!important;
}
.cdc-nav a{color:#30231f!important}
.cdc-nav a:hover{color:#a57c35!important}
.cdc-search{background:#f3eee6!important}
.cdc-search input{background:#fff!important;color:#30231f!important}
/* Sections et cartes ivoire sur fond chocolat */
.home-category,.home-category:nth-child(even),
.categories-section,.featured-section,.editorial-section{
  background:#211916!important;
  color:#f3e8d8!important;
}
.home-category-heading h2,.home-category-heading p,
.section-heading h2,.editorial-content h2{
  color:#f3e8d8!important;
}
.products-grid .product-card,.product-card,.product-item,
.favorites-grid .favorite-card,.favorite-card,
.account-card,.cart-item,.checkout-card,.payment-card{
  background:#f3eee6!important;
  color:#30231f!important;
  border:1px solid #d5c2a8!important;
}
.product-name,.product-name a,.product-card h2,.product-card h3,
.favorite-info h2,.cart-item h2,.account-card h2,
.checkout-card h2,.payment-card h2{
  color:#30231f!important;
}
.product-info,.favorite-info,.cart-item-price,
.checkout-card label,.payment-card label,
.checkout-line,.payment-line{
  color:#57483d!important;
}
.product-card p,.product-item p,
.checkout-customer-preview p,.payment-section-intro{
  color:#766455!important;
}
.product-card .product-price,.favorite-price,.detail-price,
.checkout-total,.payment-total{
  color:#9b742f!important;
}
.product-image,.favorite-image,.cart-item-image,.product-detail-image{
  background:#e9dfd1!important;
}
.checkout-form input:not([type="checkbox"]),
.checkout-form select,.checkout-promo input{
  background:#fff!important;
  color:#30231f!important;
  border-color:#d0bfa9!important;
}
.checkout-customer-preview{
  background:#ebe2d6!important;
  color:#30231f!important;
}
.terms-line{color:#30231f!important}
.terms-line a{color:#8d672b!important}
.payment-card .payment-line{color:#57483d!important}
.payment-card .payment-total{color:#9b742f!important}
.pay-button,.checkout-button,.primary-button{
  background:#c9a45e!important;
  color:#211916!important;
}
/* Le paiement reste en une colonne : récapitulatif avant les moyens de paiement */
.payment-grid,.checkout-layout{display:block!important;width:100%!important}
.payment-card,.checkout-card{width:100%!important}
.cdc-footer{background:#171310!important;color:#f3e8d8!important}
.cdc-footer a{color:#e9d9c5!important}
/* Logo plus fin, centré et lisible */
.cdc-logo svg text{font-weight:300!important}
@media(max-width:760px){
  .cdc-header{
    min-height:100px!important;
    grid-template-columns:30px minmax(135px,1fr) auto!important;
    padding:7px 6px!important;
  }
  .brand.cdc-brand{width:min(205px,100%)!important;max-width:205px!important}
  .cdc-logo{max-width:205px!important}
  .header-actions{gap:0!important}
  .cdc-header .cdc-icon-button{width:28px!important;height:31px!important;padding:3px!important}
  .cdc-header .cdc-icon-button svg{width:17px!important;height:17px!important}
  .cdc-header .cdc-language select{width:25px!important;font-size:8px!important}
}
@media(max-width:420px){
  .brand.cdc-brand{width:min(175px,100%)!important;max-width:175px!important}
  .cdc-logo{max-width:175px!important}
  .header-actions{gap:0!important}
  .cdc-header .cdc-icon-button{width:25px!important}
}


/* THÈMES CLAIR / SOMBRE : COULEURS PILOTÉES PAR LE BOUTON */
body:not(.theme-dark){
  --cdc-bg:#211916;--cdc-panel:#f3eee6;--cdc-text:#f3e8d8;
  --cdc-card-text:#30231f;--cdc-border:#c9a45e;
}
body.theme-dark{
  --cdc-bg:#11100f;--cdc-panel:#25211e;--cdc-text:#f5eee5;
  --cdc-card-text:#f5eee5;--cdc-border:#806b4c;
  background:var(--cdc-bg)!important;color:var(--cdc-text)!important;
}
body.theme-dark .cdc-header,
body.theme-dark .cdc-nav,
body.theme-dark .cdc-search{
  background:#191715!important;color:#f5eee5!important;
}
body.theme-dark .cdc-header .cdc-icon-button,
body.theme-dark .cdc-header .header-actions,
body.theme-dark .cdc-header .cdc-language,
body.theme-dark .cdc-header .cdc-language select,
body.theme-dark .cdc-nav a{color:#f5eee5!important}
body.theme-dark .cdc-header .cdc-icon-button svg{stroke:#f5eee5!important}
body.theme-dark .cdc-header .hamburger-lines i{background:#f5eee5!important}
body.theme-dark .home-category,
body.theme-dark .home-category:nth-child(even),
body.theme-dark .categories-section,
body.theme-dark .featured-section,
body.theme-dark .editorial-section{background:#11100f!important;color:#f5eee5!important}
body.theme-dark .home-category-heading h2,
body.theme-dark .home-category-heading p,
body.theme-dark .section-heading h2,
body.theme-dark .editorial-content h2{color:#f5eee5!important}
body.theme-dark .products-grid .product-card,
body.theme-dark .product-card,
body.theme-dark .product-item,
body.theme-dark .favorites-grid .favorite-card,
body.theme-dark .favorite-card,
body.theme-dark .account-card,
body.theme-dark .cart-item,
body.theme-dark .checkout-card,
body.theme-dark .payment-card{
  background:#25211e!important;color:#f5eee5!important;border-color:#806b4c!important;
}
body.theme-dark .product-name,
body.theme-dark .product-name a,
body.theme-dark .product-card h2,
body.theme-dark .product-card h3,
body.theme-dark .favorite-info h2,
body.theme-dark .cart-item h2,
body.theme-dark .account-card h2,
body.theme-dark .checkout-card h2,
body.theme-dark .payment-card h2,
body.theme-dark .checkout-card label,
body.theme-dark .payment-line,
body.theme-dark .checkout-line{color:#f5eee5!important}
body.theme-dark .product-info,
body.theme-dark .favorite-info,
body.theme-dark .cart-item-price,
body.theme-dark .product-card p{color:#cbbda9!important}
body.theme-dark .checkout-customer-preview{background:#191715!important;color:#f5eee5!important}
body.theme-dark .checkout-customer-preview p{color:#e4d8c8!important}
body.theme-dark .cdc-footer{background:#0d0c0b!important}
body.theme-dark .cdc-icon-button:hover{color:#e6b4c2!important;background:rgba(255,255,255,.08)!important}
body:not(.theme-dark) .cdc-header .cdc-language,
body:not(.theme-dark) .cdc-header .cdc-language>span,
body:not(.theme-dark) .cdc-header .cdc-language svg{color:#c77e96!important;stroke:#c77e96!important}
body:not(.theme-dark) .cdc-header .cdc-language select{color:#c77e96!important}
body.theme-dark .cdc-header .cdc-language,
body.theme-dark .cdc-header .cdc-language>span,
body.theme-dark .cdc-header .cdc-language svg{color:#e6b4c2!important;stroke:#e6b4c2!important}
body.theme-dark .cdc-header .cdc-language select{color:#e6b4c2!important}
.cdc-nav.is-open{display:flex!important}
.cdc-nav{position:relative!important;top:auto!important}
.cdc-header{position:relative!important}
.cdc-header .cdc-icon-button{cursor:pointer}
.cdc-header .cdc-icon-button svg{fill:none!important}
.cdc-header .cdc-language{display:inline-flex!important}
.cdc-header .cdc-language select{background:transparent!important;border:0!important}
@media(max-width:760px){
 .cdc-nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:8px 18px!important}
 .cdc-nav.is-open{display:flex!important}
 .cdc-nav a{padding:12px 8px!important;border-bottom:1px solid rgba(201,164,94,.25)}
}


/* FINITION DU LOGO CDC ET DE L'EN-TÊTE SUR MOBILE */
.cdc-brand{color:#30231f!important}
.cdc-logo{display:block;width:100%;max-width:315px!important}
.cdc-logo svg{display:block;width:100%;height:auto}
.cdc-footer .cdc-logo{color:#f3eee6!important}
.cdc-header .cdc-language>span{display:inline-flex!important;color:#d99caf!important}
.cdc-header .cdc-language svg{stroke:#d99caf!important}
@media(max-width:760px){
  .cdc-header{grid-template-columns:25px minmax(105px,1fr) auto!important;gap:2px!important}
  .brand.cdc-brand{width: min(150px,100%)!important;max-width:150px!important}
  .cdc-logo{max-width:150px!important}
  .header-actions{gap:0!important}
  .cdc-header .cdc-icon-button{flex:0 0 24px!important;width:24px!important;height:30px!important;padding:2px!important}
  .cdc-header .cdc-icon-button svg{width:16px!important;height:16px!important}
  .cdc-header .cdc-language{display:inline-flex!important;gap:0!important}
  .cdc-header .cdc-language>span{display:inline-flex!important}
  .cdc-header .cdc-language svg{width:16px!important;height:16px!important}
  .cdc-header .cdc-language select{width:23px!important;font-size:8px!important}
}
@media(max-width:380px){
  .brand.cdc-brand{width:min(125px,100%)!important;max-width:125px!important}
  .cdc-logo{max-width:125px!important}
  .cdc-header .cdc-icon-button{flex-basis:22px!important;width:22px!important}
  .cdc-header .cdc-language svg{width:14px!important;height:14px!important}
  .cdc-header .cdc-language select{width:21px!important}
}


/* Contraste uniforme des icônes de navigation */
.cdc-header .header-actions .cdc-icon-button,
.cdc-header .cdc-language,
.cdc-header .cdc-language > span,
.cdc-header .cdc-language svg,
.cdc-header .cdc-language select { color: inherit !important; }
.cdc-header .header-actions .cdc-icon-button svg,
.cdc-header .cdc-language svg {
  stroke: currentColor !important;
  opacity: 1 !important;
}
body:not(.theme-dark) .cdc-header .header-actions .cdc-icon-button,
body:not(.theme-dark) .cdc-header .cdc-language,
body:not(.theme-dark) .cdc-header .cdc-language > span,
body:not(.theme-dark) .cdc-header .cdc-language select {
  color: #30231f !important;
}
body.theme-dark .cdc-header .header-actions .cdc-icon-button,
body.theme-dark .cdc-header .cdc-language,
body.theme-dark .cdc-header .cdc-language > span,
body.theme-dark .cdc-header .cdc-language select {
  color: #f5eee5 !important;
}


/* Logo officiel fourni et validé */
.cdc-logo img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  object-fit:contain;
}
.cdc-brand .cdc-logo{width:100%}
.cdc-footer-brand .cdc-logo{width:100%;max-width:310px;margin:0 auto}
.cdc-footer-brand .cdc-logo img{width:100%;height:auto}


/* Logo original : fond sombre, lettrage ivoire et or, icones independantes */
.cdc-header{
  background:#171310!important;
  border-bottom:1px solid #d9bd75!important;
}
.cdc-header .cdc-icon-button,
.cdc-header .header-actions,
.cdc-header .cdc-language,
.cdc-header .cdc-language select{
  color:#f5eee5!important;
}
.cdc-header .cdc-icon-button svg{stroke:#f5eee5!important}
.cdc-header .hamburger-lines i{background:#f5eee5!important}
.brand.cdc-brand{width:min(330px,100%)!important;max-width:330px!important}
.cdc-logo{max-width:330px!important}
.cdc-logo img{display:block;width:100%;height:auto;object-fit:contain}
body.theme-dark .cdc-header{background:#11100f!important}


/* MENU PRINCIPAL : panneau ancre sous l'en-tête sur ordinateur et mobile */
.cdc-header{position:relative!important}
.cdc-header>.cdc-nav{
  position:absolute!important;
  top:100%!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:9999!important;
  display:none!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  padding:8px 18px!important;
  background:#f3eee6!important;
  border:1px solid #c9a45e!important;
  box-shadow:0 12px 25px rgba(0,0,0,.25)!important;
}
.cdc-header>.cdc-nav.is-open{display:flex!important}
.cdc-header>.cdc-nav a{
  display:block!important;
  padding:13px 10px!important;
  color:#30231f!important;
  text-align:left!important;
  border-bottom:1px solid rgba(201,164,94,.3)!important;
}
.cdc-header>.cdc-nav a:last-child{border-bottom:0!important}
.cdc-header>.cdc-nav a:hover{color:#a57c35!important;background:rgba(201,164,94,.08)!important}
