/* ============================================================
   Kitchen World — assets/css/main.css
   Design system porté depuis la maquette homepage validée.
   Tokens, layout, composants. Chargé après style.css (voir functions.php).
   ============================================================ */


  :root{
    --red:#A31220;
    --red-dark:#7A0E19;
    --red-bright:#C41A2B;
    --ink:#191512;
    --gray-900:#20201F;
    --gray-700:#4A463F;
    --gray-500:#7A7568;
    --gray-200:#E7E2D8;
    --gray-100:#F3F0E8;
    --paper:#FFFFFF;
    --gold:#B7935A;

    --font-display:'Oswald', sans-serif;
    --font-ui:'Inter', sans-serif;
    --radius:4px;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{max-width:100%;}
  body{font-family:var(--font-ui);color:var(--ink);background:var(--paper);line-height:1.5;-webkit-font-smoothing:antialiased;}
  img{max-width:100%;display:block;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  button{font-family:inherit;cursor:pointer;background:none;border:none;}
  h1,h2,h3{font-family:var(--font-display);text-transform:uppercase;font-weight:700;line-height:1.1;}
  a:focus-visible, button:focus-visible, input:focus-visible{outline:2px solid var(--red);outline-offset:2px;}
  @media (prefers-reduced-motion: reduce){*{animation-duration:.001ms !important;transition-duration:.001ms !important;}}

  .wrap{max-width:1600px;margin:0 auto;padding:0 24px;}

  /* ===== UTILITY BAR ===== */
  .util-bar{background:var(--red);border-bottom:1px solid var(--red-dark);font-size:12.5px;color:#fff;}
  .util-inner{display:flex;justify-content:space-between;align-items:center;padding:8px 24px;max-width:1600px;margin:0 auto;gap:16px;flex-wrap:wrap;}
  .util-left{display:flex;gap:22px;flex-wrap:wrap;}
  .util-left span{display:flex;align-items:center;gap:6px;color:#fff;}
  .util-left svg{flex-shrink:0;color:#fff;}
  .util-left a{color:#fff;}
  .util-left a:hover{color:var(--gold);}

  /* ===== HEADER + NAV — bloc unique, sticky ensemble (PC et mobile) ===== */
  .site-sticky-header{position:sticky;top:0;z-index:100;}
  header.main-header{background:var(--paper);border-bottom:1px solid var(--gray-200);}
  .header-inner{display:flex;align-items:center;gap:28px;padding:10px 24px;max-width:1600px;margin:0 auto;}
  .brand{display:flex;align-items:center;gap:14px;flex-shrink:0;}
  .brand .logo-full{height:76px;width:auto;}
  .brand .logo-icon{display:none;height:58px;width:auto;}

  .search-bar{flex:1;display:flex;max-width:560px;margin-left:32px;}
  .search-bar input{flex:1;border:1.5px solid var(--gray-200);border-right:none;border-radius:24px 0 0 24px;padding:11px 18px;font-size:13.5px;font-family:inherit;}
  .search-bar input:focus{outline:none;border-color:var(--red);}
  .search-bar button{background:var(--red);color:#fff;border-radius:0 24px 24px 0;padding:0 20px;display:flex;align-items:center;}

  .header-meta{display:flex;align-items:center;gap:26px;margin-left:auto;flex-shrink:0;}
  .header-phone{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--gray-700);}
  .header-phone strong{display:block;font-size:14px;color:var(--ink);font-weight:700;}
  .header-icons{display:flex;gap:20px;}
  .header-icons a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:var(--gray-700);font-weight:600;}
  .header-icons a svg{color:var(--ink);}
  .badge{position:absolute;top:-6px;right:-8px;background:var(--red);color:#fff;font-size:9.5px;font-weight:700;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;}

  /* ===== NAV ===== */
  nav.main-nav{background:var(--ink);}

  .cat-menu-wrap{position:relative;flex-shrink:0;}
  .cat-menu-btn{
    display:flex;align-items:center;gap:9px;background:var(--red);color:#fff;
    padding:15px 20px;font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:0.03em;
    border:none;white-space:nowrap;font-family:inherit;
  }
  .cat-menu-btn:hover{background:var(--red-bright);}
  .cat-menu-panel{
    display:none;position:absolute;top:100%;left:0;min-width:280px;max-width:320px;
    background:#fff;border:1px solid var(--gray-200);border-top:3px solid var(--red);
    box-shadow:0 16px 34px rgba(0,0,0,0.15);z-index:60;padding:14px 18px;
    max-height:70vh;overflow-y:auto;
  }
  .cat-menu-panel.open{display:block;}
  @media (max-width:900px){
    .cat-menu-btn{width:100%;justify-content:flex-start;}
    .cat-menu-panel{position:static;box-shadow:none;border:none;border-top:1px solid rgba(255,255,255,0.1);max-width:none;background:transparent;padding:8px 0 0;}
    .cat-menu-panel .cat-tree-row a, .cat-menu-panel .cat-tree-children a{color:#EDEAE3;}
    .cat-menu-panel .cat-tree-item{border-bottom-color:rgba(255,255,255,0.1);}
    .cat-menu-panel .cat-tree-children{border-left-color:rgba(255,255,255,0.2);}
  }
  .nav-inner{display:flex;align-items:center;gap:2px;max-width:1600px;margin:0 auto;padding:0 24px;}
  .nav-inner > a, .nav-inner > .menu-item > a{padding:15px 18px;font-size:12.5px;font-weight:600;letter-spacing:0.03em;text-transform:uppercase;color:#EDEAE3;display:flex;align-items:center;gap:6px;border-bottom:2px solid transparent;transition:background .15s ease;}
  .nav-inner > a:hover, .nav-inner > a.active,
  .nav-inner > .menu-item:hover > a, .nav-inner > .menu-item.current-menu-item > a{background:rgba(255,255,255,0.06);border-bottom-color:var(--red-bright);color:#fff;}
  .menu-toggle{display:none;color:var(--ink);margin-left:auto;padding:14px 0;}

  /* Sous-menu déroulant (ex. Produits ▾ vers les catégories WooCommerce) */
  .nav-inner .menu-item{position:relative;}
  .nav-inner .sub-menu{
    display:none;position:absolute;top:100%;left:0;min-width:220px;
    background:var(--ink);border-top:2px solid var(--red-bright);
    box-shadow:0 16px 30px rgba(0,0,0,0.25);z-index:50;padding:6px 0;
  }
  .nav-inner .menu-item:hover .sub-menu{display:block;}
  .nav-inner .sub-menu a{display:block;padding:10px 20px;font-size:12px;text-transform:none;letter-spacing:0;font-weight:500;color:#EDEAE3;border-bottom:none;}
  .nav-inner .sub-menu a:hover{background:rgba(255,255,255,0.06);color:#fff;}

  @media (max-width:1080px){
    .search-bar{display:none;}
    .header-phone{display:none;}
  }
  @media (max-width:900px){
    .util-left span:nth-child(3), .util-left span:nth-child(4){display:none;}
    .nav-inner{display:none;flex-direction:column;align-items:flex-start;padding:8px 24px 18px;}
    .nav-inner.open{display:flex;}
    .nav-inner > a, .nav-inner > .menu-item > a{width:100%;padding:12px 0;border-bottom:1px solid rgba(255,255,255,0.08);}
    .nav-inner .sub-menu{display:block;position:static;box-shadow:none;border-top:none;background:rgba(255,255,255,0.03);padding:0 0 0 14px;}
    .nav-inner .menu-item:hover .sub-menu{display:block;}
    .menu-toggle{display:block;order:3;}
  }
  @media (max-width:640px){
    .util-inner{padding:7px 14px;}
    .util-left span{font-size:11.5px;}
    .header-inner{padding:10px 14px;gap:10px;}
    .brand .logo-full{display:none;}
    .brand .logo-icon{display:block;height:52px;}
    .header-meta{gap:12px;}
    .header-icons{gap:12px;}
    .header-icons a{font-size:0;gap:0;}
    .header-icons a svg{width:21px;height:21px;}
    .badge{width:14px;height:14px;font-size:8.5px;top:-5px;right:-6px;}
  }
  @media (max-width:380px){
    .header-icons a:not(:last-child){display:none;}
  }

  /* ===== HERO ===== */
  .hero{
    position:relative;overflow:hidden;
    background-color:#fff;
    background-size:cover;
    background-position:right center;
    color:var(--ink);padding:78px 24px;
  }
  .hero::before{
    content:"";position:absolute;inset:0;z-index:1;
    background:linear-gradient(90deg,
      #fff 0%, #fff 34%, rgba(255,255,255,0.92) 45%,
      rgba(255,255,255,0.55) 62%, rgba(255,255,255,0.08) 80%, rgba(255,255,255,0) 100%);
  }
  .hero-inner{position:relative;z-index:2;max-width:640px;}
  .eyebrow{font-size:12px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--red);display:flex;align-items:center;gap:10px;margin-bottom:16px;}
  .eyebrow::before{content:"";width:26px;height:2px;background:var(--red);}
  .hero h1{font-size:clamp(32px,4.6vw,52px);margin-bottom:18px;color:var(--ink);}
  .hero h1 em{font-style:normal;color:var(--red);}
  .hero p{font-size:16px;color:var(--gray-700);max-width:480px;margin-bottom:30px;}
  .hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
  .btn{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;padding:13px 26px;border-radius:2px;letter-spacing:0.02em;transition:transform .15s ease, background .15s ease;}
  .btn-solid{background:var(--red);color:#fff;}
  .btn-solid:hover{background:var(--red-bright);transform:translateY(-2px);}
  .btn-line{border:1.5px solid var(--ink);color:var(--ink);}
  .btn-line:hover{background:var(--ink);color:#fff;transform:translateY(-2px);}
  .btn-line.on-dark{border-color:rgba(255,255,255,0.4);color:#fff;}
  .btn-line.on-dark:hover{border-color:#fff;background:rgba(255,255,255,0.1);}

  /* ===== STATS ===== */
  .stats{border-bottom:1px solid var(--gray-200);}
  .stats-grid{display:grid;grid-template-columns:repeat(4,1fr);max-width:1600px;margin:0 auto;}
  .stat{display:flex;align-items:center;gap:14px;padding:26px 24px;border-right:1px solid var(--gray-200);}
  .stat:last-child{border-right:none;}
  .stat svg{color:var(--red);flex-shrink:0;}
  .stat .num{font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--ink);}
  .stat .lbl{font-size:12px;color:var(--gray-500);line-height:1.3;}
  @media (max-width:760px){.stats-grid{grid-template-columns:repeat(2,1fr);}.stat{border-bottom:1px solid var(--gray-200);}}
  @media (max-width:640px){
    .hero::before{background:linear-gradient(90deg,#fff 0%,#fff 55%,rgba(255,255,255,0.75) 75%,rgba(255,255,255,0.15) 100%);}
  }

  /* ===== SECTION HEAD ===== */
  section{padding:36px 0;}
  .section-title{font-size:clamp(20px,2.6vw,26px);text-align:center;margin-bottom:34px;}
  .section-title span{color:var(--red);}
  .section-head-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;}
  .section-head-row h2{font-size:clamp(20px,2.6vw,26px);}
  .see-all{font-size:12.5px;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:0.03em;}

  /* ===== CATEGORIES / PRODUITS VEDETTE (tuiles partagées, sans cadre pour les catégories) ===== */
  #categories, #produits{padding:36px 0;}

  .section-box{border:1px solid var(--gray-200);border-radius:10px;padding:40px 32px;background:#fff;}
  @media (max-width:640px){.section-box{padding:28px 18px;}}

  /* Produits en vedette : chaque produit encadré (contrairement aux tuiles catégories, sans cadre) */
  #produits .cat-tile{border:1px solid var(--gray-200);border-radius:8px;padding:20px 16px;background:#fff;transition:border-color .15s ease, box-shadow .15s ease, transform .2s ease;}
  #produits .cat-tile:hover{border-color:var(--red);box-shadow:0 8px 20px rgba(23,19,15,0.08);}

  .cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:44px 28px;}
  .cat-tile{text-align:center;transition:transform .2s ease;display:flex;flex-direction:column;align-items:center;}
  .cat-tile:hover{transform:translateY(-3px);}
  .cat-tile:hover span{color:var(--red);}
  .cat-tile .ic{color:var(--red);margin-bottom:16px;}
  .cat-tile .cat-img{max-height:180px;max-width:100%;width:auto;height:auto;object-fit:contain;margin-bottom:16px;display:block;margin-left:auto;margin-right:auto;}
  .cat-tile span{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.35;display:block;transition:color .15s ease;}
  .cat-tile .cat-price{font-size:15px;font-weight:700;color:var(--red);display:block;margin-top:6px;}
  .cat-add-btn{
    display:inline-block;margin-top:12px;padding:9px 18px;background:var(--red);color:#fff;
    font-size:12px;font-weight:700;letter-spacing:0.02em;border-radius:2px;transition:background .15s ease;
  }
  .cat-add-btn:hover{background:var(--red-bright);}
  @media (max-width:980px){.cat-grid{grid-template-columns:repeat(3,1fr);}.cat-tile .cat-img{height:140px;}}
  @media (max-width:560px){.cat-grid{grid-template-columns:repeat(2,1fr);}.cat-tile .cat-img{height:120px;}}

  /* legacy — grille simple encore utilisée pour le shortcode WooCommerce sur single-kw_univers.php */
  .prod-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
  @media (max-width:980px){.prod-grid{grid-template-columns:repeat(3,1fr);}}
  @media (max-width:600px){.prod-grid{grid-template-columns:repeat(2,1fr);}}

  .section-head-centered{text-align:center;margin-bottom:16px;}
  .section-head-centered .see-all{display:inline-block;margin-top:10px;font-size:12.5px;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:0.03em;}

  /* ===== TRUST BAR ===== */
  .trust{background:#fff;border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200);}
  .trust-grid{display:grid;grid-template-columns:repeat(5,1fr);max-width:1600px;margin:0 auto;}
  .trust-item{padding:26px 18px;text-align:center;border-right:1px solid var(--gray-200);}
  .trust-item:last-child{border-right:none;}
  .trust-item svg{color:var(--red);margin-bottom:10px;}
  .trust-item h5{font-size:12.5px;font-weight:700;margin-bottom:4px;}
  .trust-item p{font-size:11px;color:var(--gray-500);line-height:1.3;}
  @media (max-width:900px){.trust-grid{grid-template-columns:repeat(3,1fr);}.trust-item{border-bottom:1px solid var(--gray-200);}}
  @media (max-width:560px){.trust-grid{grid-template-columns:repeat(2,1fr);}}

  /* ===== TÉMOIGNAGES ===== */
  .testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  .testi-card{background:var(--paper);border:1px solid var(--gray-200);padding:32px 26px;position:relative;border-top:3px solid var(--red);}
  .testi-card .quote-mark{font-family:var(--font-display);font-size:48px;color:var(--gold);line-height:1;margin-bottom:8px;}
  .testi-card p{font-size:14.5px;color:var(--ink);font-style:italic;margin-bottom:20px;}
  .testi-card .who{font-size:11.5px;color:var(--gray-500);text-transform:uppercase;letter-spacing:0.04em;}
  .testi-card .who strong{color:var(--red);display:block;font-style:normal;font-size:14px;text-transform:none;letter-spacing:0;margin-bottom:2px;}
  @media (max-width:900px){.testi-grid{grid-template-columns:1fr;}}

  /* ===== GALLERY ===== */
  .gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;}
  .gallery-tile{height:140px;border-radius:var(--radius);background:repeating-linear-gradient(115deg,#E3DFD3 0 3px,#D8D3C5 3px 6px);}
  @media (max-width:980px){.gallery-grid{grid-template-columns:repeat(3,1fr);}}
  @media (max-width:560px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}

  /* ===== SLIDER (catégories + réalisations en défilement horizontal) ===== */
  .slider-wrap{position:relative;}
  .slider-track{
    display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x proximity;
    padding:4px 4px 14px;margin:0 -4px;-webkit-overflow-scrolling:touch;
  }
  .slider-track::-webkit-scrollbar{height:6px;}
  .slider-track::-webkit-scrollbar-track{background:var(--gray-100);border-radius:3px;}
  .slider-track::-webkit-scrollbar-thumb{background:var(--gray-200);border-radius:3px;}
  .slider-track > *{flex:0 0 auto;scroll-snap-align:start;}
  .slider-track.cat-slider-track > .cat-tile{width:170px;}
  .slider-track.gallery-slider-track > .gallery-tile{width:230px;}
  .slider-arrow{
    position:absolute;top:45%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;
    background:#fff;border:1px solid var(--gray-200);display:flex;align-items:center;justify-content:center;
    cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,0.1);z-index:5;color:var(--ink);
  }
  .slider-arrow:hover{border-color:var(--red);color:var(--red);}
  .slider-arrow.prev{left:-18px;}
  .slider-arrow.next{right:-18px;}
  @media (max-width:760px){.slider-arrow{display:none;}}

  /* ===== SHOP (page catégorie produit — cf. maquette Kivaro §4.4) ===== */
  .shop-hero{background:#fff;border-bottom:1px solid var(--gray-200);padding:32px 24px;}
  .shop-hero .crumbs{font-size:12px;color:var(--gray-500);margin-bottom:8px;}
  .shop-hero .crumbs a{color:var(--gray-500);}
  .shop-hero .crumbs a:hover{color:var(--red);}
  .shop-hero h1{font-size:clamp(22px,3vw,30px);margin-bottom:8px;}
  .shop-hero p{font-size:13.5px;color:var(--gray-500);max-width:760px;}

  .shop-layout{display:grid;grid-template-columns:260px 1fr;gap:36px;padding:44px 0;align-items:start;}
  @media (max-width:900px){.shop-layout{grid-template-columns:1fr;}}

  .shop-sidebar-title{font-family:var(--font-display);font-size:14px;text-transform:uppercase;letter-spacing:0.03em;margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid var(--red);}
  .filter-group{margin-bottom:18px;}
  .filter-label{font-size:12.5px;font-weight:700;color:var(--ink);margin-bottom:8px;text-transform:none;font-family:var(--font-ui);}
  .shop-sidebar select, .shop-sidebar input[type="text"]{width:100%;border:1px solid var(--gray-200);border-radius:3px;padding:9px 10px;font-size:13px;font-family:inherit;color:var(--gray-700);}
  .shop-cats-tree{display:flex;flex-direction:column;}
  .cat-tree-item{border-bottom:1px solid var(--gray-200);}
  .cat-tree-item:last-child{border-bottom:none;}
  .cat-tree-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;gap:8px;}
  .cat-tree-row a{font-size:13.5px;color:var(--gray-700);flex:1;}
  .cat-tree-row a:hover{color:var(--red);}
  .cat-tree-toggle{color:var(--gray-500);padding:4px;flex-shrink:0;transition:transform .2s ease;}
  .cat-tree-item.open .cat-tree-toggle{transform:rotate(180deg);color:var(--red);}
  .cat-tree-children{display:none;flex-direction:column;gap:7px;padding:2px 0 12px 14px;border-left:2px solid var(--gray-200);margin-left:2px;}
  .cat-tree-item.open .cat-tree-children{display:flex;}
  .cat-tree-children a{font-size:12.5px;color:var(--gray-500);}
  .cat-tree-children a:hover{color:var(--red);}

  .shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
  @media (max-width:1100px){.shop-grid{grid-template-columns:repeat(3,1fr);}}
  @media (max-width:760px){.shop-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:480px){.shop-grid{grid-template-columns:1fr;}}

  .shop-card{border:1px solid var(--gray-200);border-radius:4px;background:#fff;position:relative;overflow:hidden;transition:box-shadow .2s ease, transform .2s ease;}
  .shop-card:hover{box-shadow:0 14px 28px rgba(23,19,15,0.1);transform:translateY(-2px);}
  .shop-badge{position:absolute;top:10px;left:10px;font-size:9.5px;font-weight:800;letter-spacing:0.03em;text-transform:uppercase;padding:4px 9px;border-radius:2px;color:#fff;z-index:2;}
  .shop-badge.new{background:#2E7D46;}
  .shop-badge.top{background:var(--red);}
  .shop-fav{display:none;} /* icône favoris retirée (non fonctionnelle) — règle conservée au cas où un vrai système de favoris soit ajouté plus tard */
  .shop-card-media{height:230px;display:flex;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid var(--gray-200);padding:10px;}
  .shop-card-media img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;}
  .shop-card-media svg{color:var(--gray-500);opacity:0.7;}
  .shop-card-body{padding:16px 16px 4px;}
  .shop-card-body h3{font-family:var(--font-ui);text-transform:none;font-weight:600;font-size:14px;line-height:1.35;margin-bottom:8px;color:var(--ink);height:38px;overflow:hidden;}
  .shop-card-body h3 a{color:inherit;}
  .shop-card-body h3 a:hover{color:var(--red);}
  .price-devis{color:var(--red);font-weight:800;font-size:14px;}
  .shop-card-sub{font-size:11.5px;color:var(--gray-500);margin-top:4px;}
  .shop-card-footer{padding:12px 16px 16px;}
  .shop-card-footer .cat-add-btn{display:block;text-align:center;margin-top:0;}

  /* ===== FICHE PRODUIT (cf. maquette Kivaro §4.5) ===== */
  .product-hero{background:#fff;border-bottom:1px solid var(--gray-200);padding:32px 24px;}
  .product-hero .crumbs{font-size:12px;color:var(--gray-500);margin-bottom:8px;}
  .product-hero .crumbs a{color:var(--gray-500);}
  .product-hero h1{font-size:clamp(22px,3vw,28px);margin-bottom:6px;}
  .product-hero p{font-size:13px;color:var(--gray-500);}

  .product-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:50px 0;align-items:start;}
  @media (max-width:900px){.product-layout{grid-template-columns:1fr;}}

  .product-gallery-wrap{display:flex;flex-direction:column;gap:12px;}
  .product-gallery{
    border:1px solid var(--gray-200);border-radius:4px;overflow:hidden;position:relative;background:#fff;
    display:flex;align-items:center;justify-content:center;width:100%;padding:0;margin:0;font-family:inherit;cursor:zoom-in;
    height:380px;
  }
  .product-gallery img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;}
  .product-gallery .no-img{height:100%;width:100%;display:flex;align-items:center;justify-content:center;color:var(--gray-500);background:#fff;}
  .product-gallery .zoom-hint{position:absolute;bottom:12px;right:12px;background:rgba(255,255,255,0.92);border-radius:20px;padding:6px 14px;font-size:11.5px;color:var(--gray-700);display:flex;align-items:center;gap:6px;}

  .product-thumbs{display:flex;gap:10px;flex-wrap:wrap;}
  .product-thumb{
    width:72px;height:72px;border-radius:3px;overflow:hidden;padding:4px;
    border:2px solid var(--gray-200);background:#fff;cursor:pointer;flex-shrink:0;
    display:flex;align-items:center;justify-content:center;
  }
  .product-thumb img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;}
  .product-thumb.active, .product-thumb:hover{border-color:var(--red);}

  .kw-lightbox{
    display:none;position:fixed;inset:0;z-index:1000;background:rgba(15,12,10,0.92);
    align-items:center;justify-content:center;padding:40px;
  }
  .kw-lightbox.open{display:flex;}
  .kw-lightbox img{max-width:100%;max-height:90vh;border-radius:4px;box-shadow:0 20px 60px rgba(0,0,0,0.5);}
  .kw-lightbox-close{
    position:absolute;top:20px;right:24px;background:rgba(255,255,255,0.1);color:#fff;
    width:42px;height:42px;border-radius:50%;font-size:26px;line-height:1;border:1px solid rgba(255,255,255,0.3);
    cursor:pointer;display:flex;align-items:center;justify-content:center;
  }
  .kw-lightbox-close:hover{background:rgba(255,255,255,0.2);}

  .product-info h2{font-size:clamp(20px,2.6vw,26px);margin-bottom:10px;}
  .product-ref-line{font-size:12.5px;color:var(--gray-500);margin-bottom:14px;}
  .product-price-line{font-size:24px;font-weight:800;color:var(--red);margin-bottom:10px;}
  .product-spec-line{font-size:13.5px;color:var(--gray-700);margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid var(--gray-200);}
  .product-actions{display:flex;flex-direction:column;gap:10px;margin-bottom:20px;}
  .product-actions .btn{justify-content:center;font-size:13.5px;padding:14px 20px;width:100%;}
  .btn-whatsapp{background:#25D366;color:#fff;}
  .btn-whatsapp:hover{background:#1EBE57;}
  .btn-dark{background:var(--ink);color:#fff;}
  .btn-dark:hover{background:#000;}
  .product-delivery-line{font-size:12px;color:var(--gray-500);}

  .product-tabs{margin-top:16px;}
  .tab-nav{display:flex;gap:2px;border-bottom:1px solid var(--gray-200);flex-wrap:wrap;}
  .tab-nav button{padding:12px 20px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.02em;color:var(--gray-500);border-bottom:3px solid transparent;background:none;cursor:pointer;font-family:inherit;}
  .tab-nav button.active{color:var(--red);border-bottom-color:var(--red);}
  .tab-panel{display:none;padding:24px 0;font-size:14.5px;line-height:1.75;color:var(--gray-700);}
  .tab-panel.active{display:block;}

  /* ===== PAGES DE CONTENU (À propos, Contact) ===== */
  .media-placeholder{
    border:1.5px dashed var(--gray-200);border-radius:6px;background:var(--gray-100);
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
    color:var(--gray-500);text-align:center;padding:30px;
  }
  .media-placeholder svg{color:var(--red);opacity:0.8;}
  .media-placeholder span{font-size:12px;max-width:320px;line-height:1.5;}

  .feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin:28px 0 8px;}
  @media (max-width:900px){.feature-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:520px){.feature-grid{grid-template-columns:1fr;}}
  .feature-card{background:#fff;border:1px solid var(--gray-200);border-radius:6px;padding:26px 20px;text-align:center;}
  .feature-card .icon-circle{
    width:52px;height:52px;border-radius:50%;background:var(--gray-100);color:var(--red);
    display:flex;align-items:center;justify-content:center;margin:0 auto 16px;
  }
  .feature-card h4{font-family:var(--font-ui);text-transform:none;font-weight:700;font-size:14.5px;color:var(--ink);margin-bottom:8px;}
  .feature-card p{font-size:12.5px;color:var(--gray-500);line-height:1.5;}

  .contact-info-card{background:#fff;border:1px solid var(--gray-200);border-radius:6px;padding:28px;}
  .contact-info-row{display:flex;gap:14px;margin-bottom:20px;}
  .contact-info-row:last-child{margin-bottom:0;}
  .contact-info-row .icon-circle{
    width:38px;height:38px;border-radius:50%;background:var(--gray-100);color:var(--red);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }
  .contact-info-row strong{display:block;font-size:13px;color:var(--ink);margin-bottom:3px;}
  .contact-info-row span, .contact-info-row a{font-size:13.5px;color:var(--gray-700);line-height:1.5;}
  .contact-info-row a:hover{color:var(--red);}

  .content-cta{background:var(--red);color:#fff;padding:40px 24px;text-align:center;border-radius:6px;}
  .content-cta p{font-size:16px;font-weight:600;margin-bottom:18px;}
  .content-cta .btn-line{border-color:#fff;color:#fff;}
  .content-cta .btn-line:hover{background:#fff;color:var(--red);}

  /* ===== FORMULAIRE DE CONTACT ===== */
  .kw-contact-form{display:flex;flex-direction:column;gap:18px;}
  .kw-form-row{display:flex;flex-direction:column;gap:6px;}
  .kw-form-row-group{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
  @media (max-width:560px){.kw-form-row-group{grid-template-columns:1fr;}}
  .kw-form-row label{font-size:13px;font-weight:600;color:var(--ink);}
  .kw-form-row input, .kw-form-row select, .kw-form-row textarea{
    border:1px solid var(--gray-200);border-radius:3px;padding:11px 14px;font-size:14px;
    font-family:inherit;color:var(--ink);background:#fff;
  }
  .kw-form-row input:focus, .kw-form-row select:focus, .kw-form-row textarea:focus{outline:none;border-color:var(--red);}
  .kw-form-row textarea{resize:vertical;}
  .kw-contact-form .btn{align-self:flex-start;}

  /* ===== BLOG ===== */
  .blog-hero{background:var(--ink);color:#fff;padding:44px 24px;}
  .blog-hero .crumbs{font-size:12.5px;color:#B7ADA0;margin-bottom:10px;}
  .blog-hero .crumbs a{color:#B7ADA0;}
  .blog-hero .crumbs a:hover{color:#fff;}
  .blog-hero h1{font-size:clamp(26px,3.4vw,38px);}

  .blog-layout{display:grid;grid-template-columns:2.2fr 1fr;gap:50px;padding:60px 0;align-items:start;}
  @media (max-width:980px){.blog-layout{grid-template-columns:1fr;}}

  .blog-post{display:flex;gap:24px;padding-bottom:32px;margin-bottom:32px;border-bottom:1px solid var(--gray-200);}
  .blog-post:last-child{border-bottom:none;}
  .blog-post .thumb{flex-shrink:0;width:280px;height:200px;border-radius:4px;overflow:hidden;background:repeating-linear-gradient(115deg,#E3DFD3 0 3px,#D8D3C5 3px 6px);}
  .blog-post .thumb img{width:100%;height:100%;object-fit:cover;display:block;}
  .blog-post .date{font-size:11.5px;color:var(--gray-500);text-transform:uppercase;letter-spacing:0.04em;margin-bottom:8px;}
  .blog-post h2{font-family:var(--font-ui);text-transform:none;font-weight:700;font-size:20px;line-height:1.3;margin-bottom:10px;}
  .blog-post h2 a{color:var(--ink);}
  .blog-post h2 a:hover{color:var(--red);}
  .blog-post p{font-size:14px;color:var(--gray-700);line-height:1.65;margin-bottom:10px;}
  .blog-post .meta{font-size:12px;color:var(--gray-500);}
  @media (max-width:640px){.blog-post{flex-direction:column;}.blog-post .thumb{width:100%;height:200px;}}

  .widget{margin-bottom:36px;}
  .widget-title{font-family:var(--font-display);font-size:15px;text-transform:uppercase;letter-spacing:0.03em;color:var(--ink);margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--red);}
  .widget ul{display:flex;flex-direction:column;gap:10px;}
  .widget ul li a{font-size:13.5px;color:var(--gray-700);display:flex;justify-content:space-between;}
  .widget ul li a:hover{color:var(--red);}
  .widget ul li a .count{color:var(--gray-500);}
  .recent-post-item{display:flex;gap:12px;margin-bottom:14px;}
  .recent-post-item .thumb{width:60px;height:60px;border-radius:3px;flex-shrink:0;overflow:hidden;background:repeating-linear-gradient(115deg,#E3DFD3 0 3px,#D8D3C5 3px 6px);}
  .recent-post-item .thumb img{width:100%;height:100%;object-fit:cover;}
  .recent-post-item h5{font-size:12.5px;font-weight:600;line-height:1.3;margin-bottom:4px;}
  .recent-post-item h5 a{color:var(--ink);}
  .recent-post-item h5 a:hover{color:var(--red);}
  .recent-post-item .date{font-size:11px;color:var(--gray-500);}
  .tag-cloud a{display:inline-block;font-size:11.5px !important;background:var(--gray-100);color:var(--gray-700);padding:6px 12px;border-radius:20px;margin:0 6px 6px 0;}
  .tag-cloud a:hover{background:var(--red);color:#fff;}

  .blog-cta{background:var(--red);color:#fff;padding:44px 24px;text-align:center;}
  .blog-cta h3{font-size:clamp(18px,2.4vw,24px);margin-bottom:10px;}
  .blog-cta p{font-size:14px;color:rgba(255,255,255,0.85);max-width:520px;margin:0 auto 20px;}

  .pagination{display:flex;gap:8px;margin-top:20px;}
  .pagination a, .pagination span{padding:8px 14px;border:1px solid var(--gray-200);border-radius:3px;font-size:13px;color:var(--ink);}
  .pagination .current{background:var(--red);color:#fff;border-color:var(--red);}

  .zones-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;}
  .zone-chip{display:inline-flex;align-items:center;gap:7px;padding:10px 18px;border-radius:30px;font-size:13.5px;font-weight:600;border:1.5px solid var(--gray-200);color:var(--gray-700);}
  .zone-chip svg{flex-shrink:0;color:var(--red);}
  .zone-chip.primary{background:var(--red);border-color:var(--red);color:#fff;}
  .zone-chip.primary svg{color:#fff;}

  .faq-list{display:flex;flex-direction:column;max-width:820px;margin:24px auto 0;}
  .faq-item{border-bottom:1px solid var(--gray-200);}
  .faq-item:first-child{border-top:1px solid var(--gray-200);}
  .faq-question{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    padding:18px 4px;cursor:pointer;background:none;border:none;width:100%;text-align:left;
    font-family:inherit;font-size:15px;font-weight:600;color:var(--ink);
  }
  .faq-question:hover{color:var(--red);}
  .faq-question .faq-icon{flex-shrink:0;color:var(--red);transition:transform .25s ease;}
  .faq-item.open .faq-question .faq-icon{transform:rotate(135deg);}
  .faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease;}
  .faq-item.open .faq-answer{max-height:260px;}
  .faq-answer p{padding:0 4px 20px;font-size:14px;line-height:1.7;color:var(--gray-700);}

  .brands-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:28px;}
  @media (max-width:760px){.brands-grid{grid-template-columns:repeat(3,1fr);}}
  @media (max-width:480px){.brands-grid{grid-template-columns:repeat(2,1fr);}}
  .brand-tile{height:90px;display:flex;align-items:center;justify-content:center;border:1px solid var(--gray-200);border-radius:6px;background:#fff;padding:14px;}
  .brand-tile img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;filter:grayscale(100%);opacity:0.55;transition:filter .2s ease, opacity .2s ease;}
  .brand-tile:hover img{filter:grayscale(0%);opacity:1;}

  /* ===== FOOTER ===== */
  footer{background:var(--ink);color:#B7ADA0;padding:56px 0 0;}
  .footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.2fr;gap:32px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,0.08);}
  .footer-brand img{height:64px;margin-bottom:18px;}
  .footer-brand p{font-size:13px;line-height:1.7;margin-bottom:16px;}
  .footer-brand .addr{font-size:12.5px;line-height:1.8;}
  .footer-brand .addr strong{color:#fff;}
  .footer-brand .addr a{color:#D6CFC6;}
  .footer-brand .addr a:hover{color:#fff;}
  .footer-col h5{color:#fff;font-size:13px;font-weight:700;margin-bottom:16px;}
  .footer-col ul{display:flex;flex-direction:column;gap:10px;}
  .footer-col a{font-size:13px;}
  .footer-col a:hover{color:#fff;}
  .newsletter-form{display:flex;margin:12px 0 18px;}
  .newsletter-form input{flex:1;border:1px solid rgba(255,255,255,0.18);background:rgba(255,255,255,0.04);padding:10px 12px;font-size:12.5px;color:#fff;border-radius:2px 0 0 2px;}
  .newsletter-form button{background:var(--red);color:#fff;padding:0 16px;font-size:12px;font-weight:700;border-radius:0 2px 2px 0;}
  .pay-icons{display:flex;gap:8px;flex-wrap:wrap;}
  .pay-badge{background:#fff;border-radius:4px;padding:6px 10px;display:flex;align-items:center;justify-content:center;height:30px;}
  .pay-badge img{height:16px;width:auto;display:block;}
  .social-row{display:flex;gap:10px;}
  .social-row a{width:32px;height:32px;border:1px solid rgba(255,255,255,0.18);border-radius:50%;display:flex;align-items:center;justify-content:center;}
  .social-row a:hover{background:var(--red);border-color:var(--red);}
  .footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:20px 0;font-size:11.5px;color:#8A8074;}
  @media (max-width:980px){.footer-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}

/* ============================================================
   Ajouts spécifiques WordPress / WooCommerce
   ============================================================ */

.screen-reader-text{
  position:absolute !important;width:1px;height:1px;overflow:hidden;
  clip:rect(1px,1px,1px,1px);white-space:nowrap;
}
.screen-reader-text:focus{
  position:static !important;width:auto;height:auto;clip:auto;
  background:var(--ink);color:#fff;padding:10px 16px;z-index:999;
}

.alignwide{max-width:1280px;margin-left:auto;margin-right:auto;}
.alignfull{max-width:none;}

/* WooCommerce — alignement minimal avec le design system, en attendant
   des templates woocommerce/*.php dédiés si besoin d'aller plus loin. */
.woocommerce ul.products li.product .price{color:var(--red);font-weight:800;}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
  background:var(--red);color:#fff;border-radius:2px;font-weight:700;
  font-size:13.5px;padding:12px 22px;border:none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover{background:var(--red-bright);}

/* Notices WooCommerce ("produit ajouté au panier", erreurs...) — stylées à la main
   puisque le CSS par défaut de WooCommerce est désactivé (voir functions.php). */
.woocommerce-message, .woocommerce-error, .woocommerce-info{
  list-style:none;padding:14px 18px;margin-bottom:20px;border-radius:3px;
  font-size:13.5px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
}
.woocommerce-message{background:#E8F5E9;color:#1B5E20;border:1px solid #A5D6A7;}
.woocommerce-error{background:#FDECEA;color:#7A1420;border:1px solid #F5B4AC;}
.woocommerce-info{background:var(--gray-100);color:var(--ink);border:1px solid var(--gray-200);}
.woocommerce-message li, .woocommerce-error li, .woocommerce-info li{list-style:none;}
.woocommerce-message a.button, .woocommerce-error a.button, .woocommerce-info a.button{
  background:var(--ink);color:#fff;padding:8px 16px;font-size:12px;border-radius:2px;font-weight:700;
}
