:root{
  --mint-300:#A9F0DE;
  --mint-500:#3FDCB8;
  --mint-600:#2BBE9E;
  --mint-700:#177A64;
  --ink-900:#0A0C0D;
  --ink-700:#34393B;
  --ink-500:#5B6260;
  --paper-0:#FBFDFC;
  --paper-1:#F1F7F4;
  --line-200:#DCEAE4;
  --line-800:#1E2422;
  --font-display:'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:'IBM Plex Mono', ui-monospace, monospace;
}

/* ---- masquer l'ancien header Divi, notre nav le remplace ---- */
.gc-shop-active .et-l--header{ display:none !important; }
.gc-shop-active .entry-header{ display:none !important; }

body.gc-shop-active{ background:var(--paper-0) !important; font-family:var(--font-body) !important; color:var(--ink-900) !important; }
.gc-shop-active h1, .gc-shop-active h2, .gc-shop-active h3{ font-family:var(--font-display) !important; font-weight:800 !important; }

/* ---- nav (identique au reste du site) ---- */
.gc-shop-active header.site{ position:sticky; top:0; z-index:50; background:rgba(251,253,252,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line-200); }
.gc-shop-active header.site nav{ max-width:1260px; margin:0 auto; padding:16px 32px; display:flex; align-items:center; justify-content:space-between; }
.gc-shop-active header.site .logo-img{ height:34px; width:auto; display:block; }
.gc-shop-active header.site .navlinks{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.gc-shop-active header.site .navlinks a{ font-size:16px; font-weight:500; text-decoration:none; color:var(--ink-700); }
.gc-shop-active header.site .navlinks a:hover{ color:var(--mint-700); }
.gc-shop-active header.site .navlinks a.is-active{ color:var(--mint-700); font-weight:700; }
@media (max-width:900px){ .gc-shop-active header.site .navlinks{ display:none; } }
.gc-shop-active .btn-mint{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-body); font-weight:600; font-size:15px; padding:9px 16px; border-radius:9px; background:var(--mint-500); color:var(--ink-900); text-decoration:none; border:none; }
.gc-shop-active .btn-mint:hover{ filter:brightness(0.96); }

/* ---- icône panier dans la nav ---- */
.gc-shop-active .nav-actions{ display:flex; align-items:center; gap:18px; }
.gc-shop-active .nav-cart{ position:relative; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:10px; color:var(--ink-700); text-decoration:none; }
.gc-shop-active .nav-cart:hover, .gc-shop-active .nav-cart.is-active{ background:var(--paper-1); color:var(--mint-700); }
.gc-shop-active .nav-cart svg{ width:22px; height:22px; }
.gc-shop-active .nav-cart .gc-cart-count{
  position:absolute; top:2px; right:2px; min-width:16px; height:16px; padding:0 3px; border-radius:999px;
  background:var(--mint-600); color:#fff; font-family:var(--font-mono); font-size:10px; font-weight:700;
  display:flex; align-items:center; justify-content:center; line-height:1; box-shadow:0 0 0 2px var(--paper-0);
}

/* ---- panier flottant ---- */
.gc-shop-active .gc-float-cart{
  position:fixed; right:24px; bottom:24px; z-index:200;
  display:none; align-items:center; gap:10px;
  background:var(--ink-900); color:var(--paper-0); text-decoration:none;
  padding:13px 20px 13px 16px; border-radius:999px; box-shadow:0 10px 30px rgba(10,12,13,.28);
  font-family:var(--font-body); font-size:15px; font-weight:600;
  transform:translateY(12px); opacity:0; transition:transform .25s ease, opacity .25s ease, filter .15s ease;
}
.gc-shop-active .gc-float-cart.is-visible{ display:inline-flex; transform:translateY(0); opacity:1; }
.gc-shop-active .gc-float-cart:hover{ filter:brightness(1.15); }
.gc-shop-active .gc-float-cart svg{ width:22px; height:22px; color:var(--mint-500); flex-shrink:0; }
.gc-shop-active .gc-float-cart-count{ color:var(--mint-500); font-family:var(--font-mono); }
.gc-shop-active .gc-float-cart-total{ color:var(--paper-0); opacity:.85; font-family:var(--font-mono); }
@media (max-width:600px){
  .gc-shop-active .gc-float-cart{ right:16px; bottom:16px; padding:12px 16px; font-size:14px; }
  .gc-shop-active .gc-float-cart-total{ display:none; }
}

/* ---- banniere decorative boutique ---- */
.gc-shop-hero{ position:relative; overflow:hidden; background:var(--ink-900); color:var(--paper-0); padding:56px 32px 48px; text-align:center; }
.gc-shop-hero .gc-shop-hero-inner{ position:relative; z-index:1; max-width:720px; margin:0 auto; }
.gc-shop-hero .gc-store-badge{ display:inline-flex; align-items:center; gap:8px; margin-bottom:18px; }
.gc-shop-hero .gc-store-badge img{ height:34px; width:auto; }
.gc-shop-hero .eyebrow{ font-family:var(--font-mono); font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--mint-300); display:block; margin-bottom:10px; }
.gc-shop-hero h1{ font-size:clamp(28px,3.4vw,42px); margin:0 0 12px; color:var(--paper-0); }
.gc-shop-hero p{ font-size:17px; line-height:1.55; color:#C9D3D0; max-width:56ch; margin:0 auto; }
.gc-shop-hero .gc-shop-trust{ display:flex; justify-content:center; gap:28px; flex-wrap:wrap; margin-top:24px; font-family:var(--font-mono); font-size:13px; color:var(--mint-300); letter-spacing:.02em; }
.gc-shop-hero .gc-shop-stock-note{ margin:20px auto 0; max-width:52ch; font-size:14px; color:rgba(251,253,252,.65); }
.gc-shop-hero .gc-shop-stock-note a{ color:var(--mint-300); text-decoration:underline; }
.gc-shop-hero .gc-shop-stock-note a:hover{ color:var(--mint-500); }
.gc-shop-hero-grid{ position:absolute; inset:0; opacity:.5; pointer-events:none; }
.gc-shop-hero-grid .gc-link{ stroke-dasharray:6 5; animation:gc-link-flow 5.5s linear infinite; }
.gc-shop-hero-grid .gc-node{ animation:gc-node-pulse 3.6s ease-in-out infinite; }
@keyframes gc-node-pulse{ 0%,100%{ opacity:.55; r:4; } 50%{ opacity:1; r:6; } }
@keyframes gc-link-flow{ to{ stroke-dashoffset:-110; } }
@media (prefers-reduced-motion: reduce){ .gc-shop-hero-grid *{ animation:none !important; } }

/* ---- categories chips (motif "circuit") ---- */
.gc-shop-cats{ max-width:1260px; margin:0 auto; padding:24px 32px 0; display:flex; gap:10px; flex-wrap:wrap; justify-content:center; position:relative; }
.gc-shop-cats a{ font-family:var(--font-mono); font-size:13px; text-transform:uppercase; letter-spacing:.04em; padding:8px 16px; border:1px solid var(--line-200); border-radius:999px; color:var(--ink-700); text-decoration:none; background:var(--paper-1); }
.gc-shop-cats a:hover, .gc-shop-cats a.is-active{ border-color:var(--mint-600); color:var(--mint-700); background:var(--paper-0); }

/* ---- grille produits (archive-product.php classique) ----
   Le CSS d'integration WooCommerce/twentytwenty (twenty-twenty.css) contient une regle plus
   specifique que ".gc-shop-active ul.products li.product" :
     .woocommerce ul.products[class*=columns-] li.product { width:50%; }
   qui ecrasait la largeur de nos cartes en grille et donnait un rendu "ecrase". On neutralise
   explicitement cette regle et le display:flex qu'elle pose sur chaque <li>, avec !important. */
.gc-shop-active.woocommerce-page{ padding-left:0 !important; }
.gc-shop-active .gc-shop-layout{ max-width:1320px; margin:0 auto; padding:32px 32px 64px; display:flex; align-items:flex-start; gap:28px; }
.gc-shop-active .woocommerce-result-count, .gc-shop-active .woocommerce-ordering{
  font-family:var(--font-mono); font-size:13px; color:var(--ink-500); margin:0 0 16px !important;
}
.gc-shop-active .woocommerce-ordering select{ border:1px solid var(--line-200); border-radius:8px; font-family:var(--font-body); padding:6px 10px; }

.gc-shop-active .gc-shop-main{ flex:1 1 auto; min-width:0; }

.gc-shop-active ul.products,
.gc-shop-active ul.products[class*="columns-"]{
  max-width:none !important; margin:0 !important; padding:0 !important; list-style:none !important;
  display:grid !important; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)) !important; gap:22px !important;
}
.gc-shop-active ul.products li.product,
.gc-shop-active ul.products[class*="columns-"] li.product{
  width:auto !important; float:none !important; margin:0 !important; padding:0 !important;
  display:flex !important; flex-direction:column !important; align-items:stretch !important; justify-content:flex-start !important;
  background:var(--paper-1); border:1px solid var(--line-200); border-radius:16px; overflow:hidden;
  transition:transform .15s ease, border-color .15s ease; position:relative;
}
.gc-shop-active ul.products li.product:hover{ transform:translateY(-3px); border-color:var(--mint-600); }
.gc-shop-active ul.products li.product a.woocommerce-LoopProduct-link{ text-decoration:none; color:inherit; display:block; }
.gc-shop-active ul.products li.product a img{
  width:100% !important; height:auto !important; aspect-ratio:4/3; object-fit:cover; object-position:center;
  border-radius:0 !important; margin:0 !important; display:block; background:var(--paper-0);
}
.gc-shop-active ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--font-display) !important; font-weight:700 !important; font-size:17px !important; line-height:1.3;
  color:var(--ink-900) !important; padding:16px 16px 0 !important; margin:0 !important;
}
.gc-shop-active ul.products li.product .price{
  font-family:var(--font-mono) !important; font-weight:600 !important; color:var(--mint-700) !important; font-size:16px !important;
  padding:6px 16px 16px !important; margin:0 !important; display:block !important;
}
.gc-shop-active ul.products li.product .price ins{ text-decoration:none; background:none; }
.gc-shop-active ul.products li.product .button{
  display:block !important; margin:0 16px 16px !important; text-align:center; font-family:var(--font-body) !important;
  font-weight:600 !important; font-size:14px !important; padding:10px 14px !important; border-radius:9px !important;
  background:var(--mint-500) !important; color:var(--ink-900) !important; border:none !important;
  text-decoration:none; transition:filter .15s ease; vertical-align:middle !important;
}
.gc-shop-active ul.products li.product .button:hover{ filter:brightness(0.96); }
.gc-shop-active ul.products li.product .onsale{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase;
  background:var(--mint-300); color:var(--mint-700); border-radius:999px !important; padding:4px 10px !important;
  position:absolute !important; margin:12px !important; left:0; top:0; min-height:auto !important; min-width:auto !important; line-height:1;
}

/* ---- menu volant des categories (gauche) ---- */
.gc-cat-toggle{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--font-body); font-weight:600; font-size:15px;
  padding:10px 18px; border-radius:9px; border:1px solid var(--line-200); background:var(--paper-0); color:var(--ink-900);
  cursor:pointer; margin-bottom:20px;
}
.gc-cat-toggle:hover{ border-color:var(--mint-600); color:var(--mint-700); }
.gc-cat-toggle svg{ width:18px; height:18px; flex:none; }
.gc-cat-drawer-overlay{
  position:fixed; inset:0; background:rgba(10,12,13,.45); z-index:90; opacity:0; pointer-events:none; transition:opacity .2s ease;
}
.gc-cat-drawer-overlay.is-open{ opacity:1; pointer-events:auto; }
.gc-cat-drawer{
  position:fixed; top:0; left:0; bottom:0; width:300px; max-width:85vw; background:var(--paper-0); z-index:91;
  transform:translateX(-100%); transition:transform .25s ease; box-shadow:20px 0 50px -20px rgba(10,12,13,.35);
  display:flex; flex-direction:column; padding:24px;
}
.gc-cat-drawer.is-open{ transform:translateX(0); }
.gc-cat-drawer-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.gc-cat-drawer-head span{ font-family:var(--font-display); font-weight:800; font-size:19px; color:var(--ink-900); }
.gc-cat-drawer-close{ width:32px; height:32px; border-radius:50%; border:1px solid var(--line-200); background:var(--paper-1); cursor:pointer; display:flex; align-items:center; justify-content:center; }
.gc-cat-drawer-close svg{ width:16px; height:16px; }
.gc-cat-drawer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; overflow-y:auto; }
.gc-cat-drawer li a{
  display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 12px; border-radius:9px;
  font-family:var(--font-body); font-weight:600; font-size:15px; color:var(--ink-700); text-decoration:none;
}
.gc-cat-drawer li a:hover, .gc-cat-drawer li a.is-active{ background:var(--paper-1); color:var(--mint-700); }
.gc-cat-drawer li a .gc-cat-count{ font-family:var(--font-mono); font-size:12px; color:var(--ink-500); background:var(--paper-1); border-radius:999px; padding:2px 8px; }
.gc-cat-drawer li a.is-active .gc-cat-count{ background:var(--paper-0); color:var(--mint-700); }
@media (prefers-reduced-motion: reduce){ .gc-cat-drawer, .gc-cat-drawer-overlay{ transition:none; } }
@media (min-width:1100px){
  .gc-cat-toggle{ display:none; }
  .gc-cat-drawer-overlay{ display:none; }
  .gc-cat-drawer{
    position:sticky; top:96px; left:auto; transform:none; box-shadow:none; border:1px solid var(--line-200); border-radius:16px;
    width:240px; flex:0 0 240px; max-height:calc(100vh - 120px);
  }
  .gc-cat-drawer-close{ display:none; }
}

/* ---- fiche produit (single) ---- */
.gc-shop-active .single-product div.product{ max-width:1100px; margin:40px auto !important; padding:0 32px; }
.gc-shop-active .single-product .product_title{ font-family:var(--font-display); font-size:clamp(26px,3vw,36px); }
.gc-shop-active .single-product p.price, .gc-shop-active .single-product .woocommerce-Price-amount{ color:var(--mint-700) !important; font-family:var(--font-mono); font-weight:600; }
.gc-shop-active .single-product .single_add_to_cart_button,
.gc-shop-active .single-product button.button{
  font-family:var(--font-body) !important; font-weight:700 !important; background:var(--mint-500) !important; color:var(--ink-900) !important;
  border:none !important; border-radius:9px !important; padding:13px 26px !important; font-size:16px !important;
}
.gc-shop-active .single-product .single_add_to_cart_button:hover{ filter:brightness(0.96); }
.gc-shop-active .single-product .quantity input.qty{ border:1px solid var(--line-200); border-radius:8px; font-family:var(--font-mono); }
.gc-shop-active .single-product .woocommerce-product-details__short-description{ font-family:var(--font-body); color:var(--ink-700); line-height:1.6; }

/* ---- panier / commande / mon compte (blocks React) ---- */
.gc-shop-active .wc-block-cart, .gc-shop-active .wc-block-checkout, .gc-shop-active .woocommerce-account{
  max-width:1100px; margin:40px auto !important; padding:0 32px; font-family:var(--font-body);
}
.gc-shop-active .wc-block-components-button, .gc-shop-active .wc-block-components-checkout-place-order-button, .gc-shop-active .wc-block-cart__submit-button{
  font-family:var(--font-body) !important; font-weight:700 !important; font-size:16px !important;
  background:var(--mint-500) !important; color:var(--ink-900) !important; border:none !important; border-radius:9px !important;
  box-shadow:none !important; padding:13px 24px !important;
}
.gc-shop-active .wc-block-components-button:hover, .gc-shop-active .wc-block-components-checkout-place-order-button:hover{ filter:brightness(0.96); }
.gc-shop-active .wc-block-components-button.is-style-outline, .gc-shop-active .wc-block-components-button.wp-element-button.is-link{
  background:transparent !important; color:var(--mint-700) !important; border:1px solid var(--line-200) !important;
}
.gc-shop-active .wc-block-components-totals-item__value, .gc-shop-active .wc-block-components-product-price{ font-family:var(--font-mono) !important; color:var(--ink-900); }
.gc-shop-active .wc-block-components-panel, .gc-shop-active .wc-block-components-totals-wrapper, .gc-shop-active .wc-block-cart-items,
.gc-shop-active .wc-block-checkout__form, .gc-shop-active .wc-block-components-order-summary{
  border-color:var(--line-200) !important; border-radius:14px !important;
}
.gc-shop-active .wc-block-components-text-input input, .gc-shop-active .wc-block-components-text-input textarea,
.gc-shop-active .wc-block-components-radio-control__input, .gc-shop-active select{
  border-radius:8px !important; border-color:var(--line-200) !important; font-family:var(--font-body) !important;
}
.gc-shop-active .wc-block-components-radio-control__option--checked, .gc-shop-active .wc-block-components-radio-control__option:has(input:checked){
  border-color:var(--mint-600) !important;
}
.gc-shop-active .wc-block-components-totals-item.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  color:var(--mint-700) !important; font-weight:700;
}

/* ---- footer (identique au reste du site) ---- */
.gc-shop-active footer.gc-footer{ background:var(--paper-1); border-top:1px solid var(--line-200); margin-top:56px; }
.gc-shop-active footer.gc-footer .wrap{ max-width:1260px; margin:0 auto; padding:0 32px; }
.gc-shop-active .foot-grid{ display:grid; grid-template-columns:1.4fr .8fr .8fr .8fr; gap:32px; padding:56px 0 28px; }
@media (max-width:800px){ .gc-shop-active .foot-grid{ grid-template-columns:1fr 1fr; row-gap:36px; } }
@media (max-width:480px){ .gc-shop-active .foot-grid{ grid-template-columns:1fr; } }
.gc-shop-active .foot-grid h5{ font-family:var(--font-mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-500); margin:0 0 14px; }
.gc-shop-active .foot-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.gc-shop-active .foot-grid a{ text-decoration:none; font-size:15px; color:var(--ink-700); }
.gc-shop-active .foot-grid a:hover{ color:var(--mint-700); }
.gc-shop-active .foot-bottom{ border-top:1px solid var(--line-200); padding:20px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; color:var(--ink-500); }
.gc-shop-active .logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:800; font-size:18px; }
.gc-shop-active .foot-grid .logo-img{ height:34px; width:auto; display:block; }
