/*
Theme Name: Storefront Child
Theme URI: https://woocommerce.com/products/storefront/
Template: storefront
Author: Koktek
Description: Thème enfant Storefront pour Koktek - VERSION RÉORGANISÉE
Version: 4.0.0
*/

/* ╔════════════════════════════════════════════════════════════════════════════╗
   ║                                                                            ║
   ║              KOKTEK 2026 — DESIGN SOMBRE GLASSMORPHISM                     ║
   ║              Version 4.0 — Réorganisée Desktop / Mobile                    ║
   ║                                                                            ║
   ╠════════════════════════════════════════════════════════════════════════════╣
   ║                                                                            ║
   ║  STRUCTURE DU FICHIER :                                                    ║
   ║  ├─ PARTIE A : Styles globaux (Desktop + Mobile)                           ║
   ║  ├─ PARTIE B : Styles Desktop uniquement (min-width: 769px)                ║
   ║  └─ PARTIE C : Styles Mobile uniquement (max-width: 768px)                 ║
   ║                                                                            ║
   ╚════════════════════════════════════════════════════════════════════════════╝ */

/* ╔════════════════════════════════════════════════════════════════════════════╗
   ║                                                                            ║
   ║                    PARTIE A — STYLES GLOBAUX                               ║
   ║              (Appliqués sur Desktop ET Mobile)                             ║
   ║                                                                            ║
   ╚════════════════════════════════════════════════════════════════════════════╝ */

/* =============================================================================
   A1. VARIABLES GLOBALES
   ============================================================================= */

:root {
  --koktek-bg-dark: #1a1a2e;
  --koktek-glass-bg: rgba(255, 255, 255, 0.08);
  --koktek-glass-bg-strong: rgba(255, 255, 255, 0.12);
  --koktek-glass-border: rgba(255, 255, 255, 0.12);
  --koktek-glass-hover: rgba(255, 255, 255, 0.16);
  --koktek-text-primary: #ffffff;
  --koktek-text-secondary: rgba(255, 255, 255, 0.75);
  --koktek-text-muted: rgba(255, 255, 255, 0.5);
  --koktek-accent: #d4a855;
  --koktek-accent-hover: #e5bc6a;
  --koktek-accent-light: rgba(212, 168, 85, 0.2);
  --koktek-price: #d4a855;
  --koktek-radius: 16px;
  --koktek-radius-small: 10px;
  --koktek-radius-large: 20px;
  --koktek-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --koktek-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --koktek-shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.4);
  --font-display: "Montserrat", "Poppins", sans-serif;
  --font-body:
    "Poppins", "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --text-h1: 2.6rem;
  --text-h2: 2rem;
  --text-h3: 1.35rem;
  --text-h4: 1.1rem;
  --text-body: 1rem;
  --text-small: 0.95rem;
  --text-xs: 0.8rem;
  --text-price-large: 1.8rem;
  --text-price: 1.2rem;
}

/* =============================================================================
   A2. IMPORTS GOOGLE FONTS
   ============================================================================= */

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

/* =============================================================================
   A3. RESET & BASE
   ============================================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
body.woocommerce,
body.woocommerce-page,
body.archive,
body.single-product,
body.page,
body.home {
  font-family: var(--font-body) !important;
  font-size: var(--text-body) !important;
  background-color: var(--koktek-bg-dark) !important;
  background-image: url("bg_v14.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  color: var(--koktek-text-primary) !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  line-height: 1.6 !important;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.7) 0%,
    rgba(26, 26, 46, 0.5) 50%,
    rgba(26, 26, 46, 0.7) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.site {
  position: relative;
  z-index: 1;
}

/* =============================================================================
   A4. TYPOGRAPHIE GLOBALE
   ============================================================================= */

h1,
.h1 {
  font-family: var(--font-display) !important;
  font-size: var(--text-h1) !important;
  font-weight: 700 !important;
  color: var(--koktek-text-primary) !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}

h2,
.h2 {
  font-family: var(--font-display) !important;
  font-size: var(--text-h2) !important;
  font-weight: 700 !important;
  color: var(--koktek-text-primary) !important;
  line-height: 1.3 !important;
  margin-bottom: 0.8rem !important;
}

h3,
.h3 {
  font-family: var(--font-display) !important;
  font-size: var(--text-h3) !important;
  font-weight: 600 !important;
  color: var(--koktek-text-primary) !important;
}

h4,
.h4 {
  font-family: var(--font-display) !important;
  font-size: var(--text-h4) !important;
  font-weight: 600 !important;
  color: var(--koktek-text-primary) !important;
}

p,
li,
span,
div {
  font-family: var(--font-body) !important;
}

a {
  color: var(--koktek-text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--koktek-accent);
}

/* =============================================================================
   A5. ANIMATIONS GLOBALES
   ============================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.woocommerce ul.products li.product,
ul.products li.product {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.woocommerce ul.products li.product:nth-child(1) {
  animation-delay: 0.05s;
}
.woocommerce ul.products li.product:nth-child(2) {
  animation-delay: 0.1s;
}
.woocommerce ul.products li.product:nth-child(3) {
  animation-delay: 0.15s;
}
.woocommerce ul.products li.product:nth-child(4) {
  animation-delay: 0.2s;
}
.woocommerce ul.products li.product:nth-child(5) {
  animation-delay: 0.25s;
}
.woocommerce ul.products li.product:nth-child(6) {
  animation-delay: 0.3s;
}
.woocommerce ul.products li.product:nth-child(7) {
  animation-delay: 0.35s;
}
.woocommerce ul.products li.product:nth-child(8) {
  animation-delay: 0.4s;
}
.woocommerce ul.products li.product:nth-child(9) {
  animation-delay: 0.45s;
}
.woocommerce ul.products li.product:nth-child(10) {
  animation-delay: 0.5s;
}
.woocommerce ul.products li.product:nth-child(11) {
  animation-delay: 0.55s;
}
.woocommerce ul.products li.product:nth-child(12) {
  animation-delay: 0.6s;
}

/* ╔════════════════════════════════════════════════════════════════════════════╗
   ║                                                                            ║
   ║                    PARTIE B — STYLES DESKTOP                               ║
   ║              (Écrans larges : min-width: 769px)                            ║
   ║                                                                            ║
   ╚════════════════════════════════════════════════════════════════════════════╝ */

/* =============================================================================
   B1. HEADER DESKTOP
   ============================================================================= */

.site-header {
  background: var(--koktek-glass-bg-strong) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius) !important;
  margin: 0 auto !important;
  max-width: 1400px !important;
  width: calc(100% - 40px) !important;
  padding: 12px 28px !important;
  position: fixed !important;
  top: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 1000 !important;
  box-shadow: var(--koktek-shadow) !important;
  border-bottom: none !important;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-branding img,
.custom-logo {
  max-height: 55px !important;
  height: auto !important;
  width: auto !important;
  filter: brightness(0) invert(1) !important;
}

.site-title,
.site-title a {
  font-family: var(--font-display) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--koktek-text-primary) !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.main-navigation ul li a[href*="panier"],
.main-navigation ul li a[href*="cart"],
.menu-item a[href*="panier"],
.menu-item a[href*="cart"] {
  display: none !important;
}

/* =============================================================================
   B2. BARRE DE RECHERCHE DESKTOP
   ============================================================================= */

.site-header .site-search,
.site-header .widget_product_search {
  max-width: 560px;
  width: 100% !important;
  margin: 0 auto !important;
  display: block;
  float: none !important;
}

.site-header .site-search form,
.site-header .widget_product_search form,
.site-header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100% !important;
}

.site-header .search-field,
.site-header input[type="search"],
input.search-field {
  background: var(--koktek-glass-bg) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: 999px !important;
  padding: 0 24px !important;
  color: var(--koktek-text-primary) !important;
  font-size: 1rem !important;
  font-family: var(--font-body) !important;
  width: 100% !important;
  text-align: center !important;
  height: 40px !important;
  line-height: 40px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  background-image: none !important;
  text-indent: 0 !important;
}

.site-header .search-field::placeholder,
input.search-field::placeholder {
  color: var(--koktek-text-muted) !important;
  text-align: center !important;
}

.site-header .site-search button,
.site-header .widget_product_search button,
.site-header form[role="search"] button {
  background: var(--koktek-glass-bg-strong) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: 999px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--koktek-text-primary) !important;
  cursor: pointer !important;
  position: static !important;
  transition: all 0.3s ease !important;
}

.site-header .site-search button:hover,
.site-header .widget_product_search button:hover,
.site-header form[role="search"] button:hover {
  background: var(--koktek-glass-hover) !important;
  border-color: var(--koktek-accent) !important;
  transform: translateY(-1px) !important;
}

.site-header .search-field:focus,
input.search-field:focus {
  outline: none !important;
  border-color: var(--koktek-accent) !important;
  box-shadow: 0 0 0 3px var(--koktek-accent-light) !important;
}

@media (min-width: 769px) {
  .site-header .site-search,
  .site-header .widget_product_search {
    position: absolute;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) translateY(-10px) !important;
    z-index: 2 !important;
  }
}

/* =============================================================================
   B3. ZONE PANIER DESKTOP
   ============================================================================= */

.site-header-cart,
.site-header .site-header-cart {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.site-header-cart > li {
  list-style: none !important;
}

.site-header-cart a.cart-contents,
.site-header-cart .cart-contents {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--koktek-glass-bg) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.site-header-cart a.cart-contents:hover {
  background: var(--koktek-glass-hover) !important;
  border-color: var(--koktek-accent) !important;
}

.site-header-cart a.cart-contents::before {
  content: "🛒" !important;
  font-size: 1.2rem !important;
}

.site-header-cart .amount,
.site-header-cart .woocommerce-Price-amount {
  color: var(--koktek-text-primary) !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-small) !important;
}

.site-header-cart .count,
.cart-contents .count {
  background: var(--koktek-accent) !important;
  color: #1a1a2e !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: var(--text-xs) !important;
  font-weight: 700 !important;
  margin-left: 4px !important;
}

.site-header-cart .cart-contents .woocommerce-Price-amount::before {
  content: "Panier : " !important;
  font-weight: 500 !important;
}

@media (min-width: 769px) {
  .site-header-cart,
  .site-header .site-header-cart {
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
    position: relative;
    top: -6px !important;
    right: -8px !important;
  }

  .site-header-cart a.cart-contents,
  .site-header-cart .cart-contents {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    gap: 8px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  .site-header-cart a.cart-contents::before {
    content: "🛒" !important;
    font-size: 1.05rem !important;
    color: var(--koktek-accent) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 999px !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .site-header-cart .cart-contents .woocommerce-Price-amount::before {
    content: "" !important;
    display: none !important;
  }

  .site-header-cart .amount,
  .site-header-cart .woocommerce-Price-amount {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--koktek-text-primary) !important;
  }

  .site-header-cart .amount::after,
  .site-header-cart .woocommerce-Price-amount::after {
    content: " · " !important;
    color: var(--koktek-text-muted) !important;
    font-weight: 400 !important;
  }

  .site-header-cart .count,
  .cart-contents .count {
    background: rgba(255, 255, 255, 0.16) !important;
    color: var(--koktek-text-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;
    padding: 2px 8px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-left: 0 !important;
  }

  .site-header-cart .cart-contents:not(.empty) .count {
    background: rgba(76, 209, 55, 0.3) !important;
    color: var(--koktek-text-primary) !important;
    border-color: rgba(76, 209, 55, 0.65) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
  }

  .site-header-cart a.cart-contents:hover {
    background: var(--koktek-glass-hover) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28) !important;
  }

  .site-header-cart .widget_shopping_cart,
  .site-header-cart .widget_shopping_cart_content {
    background: var(--koktek-glass-bg-strong) !important;
    border: 1px solid var(--koktek-glass-border) !important;
    border-radius: var(--koktek-radius) !important;
    box-shadow: var(--koktek-shadow) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    max-width: 240px !important;
    width: max-content !important;
    transform: translateY(-5px) !important;
  }

  .site-header-cart .woocommerce-mini-cart__empty-message {
    color: var(--koktek-text-secondary) !important;
    font-size: 1rem !important;
    padding: 12px 16px !important;
    text-align: center !important;
  }
}

/* =============================================================================
   B4. NAVIGATION PRINCIPALE DESKTOP
   ============================================================================= */

.storefront-primary-navigation,
.main-navigation,
.primary-navigation {
  background: transparent !important;
  border: none !important;
}

.main-navigation ul,
.main-navigation ul.menu,
.storefront-primary-navigation ul.menu {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.main-navigation ul li,
.storefront-primary-navigation ul.menu li {
  margin: 0 !important;
  padding: 0 !important;
}

.main-navigation ul li a,
.storefront-primary-navigation ul.menu li a {
  font-family: var(--font-body) !important;
  color: var(--koktek-text-secondary) !important;
  font-size: var(--text-small) !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border-radius: var(--koktek-radius-small) !important;
  transition: all 0.3s ease !important;
  display: block !important;
  border: 1px solid transparent !important;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a,
.storefront-primary-navigation ul.menu li a:hover,
.storefront-primary-navigation ul.menu li.current-menu-item > a {
  color: var(--koktek-accent) !important;
  background: var(--koktek-accent-light) !important;
  border: 1px solid var(--koktek-accent) !important;
}

@media (min-width: 769px) and (max-width: 1280px) {
  .main-navigation ul,
  .main-navigation ul.menu,
  .storefront-primary-navigation ul.menu {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .main-navigation ul::-webkit-scrollbar,
  .storefront-primary-navigation ul.menu::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }

  .main-navigation ul li a,
  .storefront-primary-navigation ul.menu li a {
    font-size: 0.95rem !important;
    padding: 6px 12px !important;
  }

  .site-header .site-search,
  .site-header .widget_product_search {
    width: clamp(320px, 42vw, 460px) !important;
    max-width: 460px !important;
  }
}
/* =============================================================================
   B5. ZONE FILTRES DESKTOP
   ============================================================================= */

body.woocommerce,
body.woocommerce-page,
body.archive {
  padding-top: 80px !important;
}

.header-widget-region {
  position: fixed !important;
  top: 160px !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 10px 20px !important;
  margin: 0 !important;
}

.header-widget-region .col-full {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.header-widget-region .widget-title,
.header-widget-region h4,
.koktek-brand-label,
.filter-label {
  display: none !important;
}

.koktek-brand-bar,
.koktek-category-bar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.header-widget-region .widget {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.koktek-brand-list,
.filter-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
}

.koktek-brand-list li,
.filter-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.koktek-brand-list li a,
.filter-list li a {
  display: inline-flex !important;
  align-items: center !important;
  height: 40px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: var(--koktek-glass-bg-strong) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  font-size: var(--text-small) !important;
  font-weight: 500 !important;
  color: var(--koktek-text-secondary) !important;
  transition: all 0.3s ease !important;
  font-family: var(--font-body) !important;
}

.koktek-brand-list li a:hover {
  background: var(--koktek-glass-hover) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: var(--koktek-text-primary) !important;
  transform: translateY(-2px) !important;
}

.koktek-brand-list li.current-cat > a,
.koktek-brand-list li.current-menu-item > a,
.koktek-brand-list li.active > a,
.filter-list li.active a,
.filter-list li.current-cat > a {
  background: var(--koktek-accent) !important;
  border-color: var(--koktek-accent) !important;
  color: #1a1a2e !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px var(--koktek-accent-light) !important;
}

/* =============================================================================
   B6. CONTENU PRINCIPAL DESKTOP
   ============================================================================= */

body.woocommerce .site-content,
body.woocommerce-page .site-content,
body.archive .site-content {
  padding-top: 100px !important;
}

.site-content,
.site-main,
.content-area,
#primary,
#main {
  background: transparent !important;
  padding: 10px 20px !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
}

.col-full {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.woocommerce-breadcrumb,
.breadcrumb,
nav.woocommerce-breadcrumb,
.storefront-breadcrumb {
  display: none !important;
}

.woocommerce-result-count,
.woocommerce-ordering,
p.woocommerce-result-count,
form.woocommerce-ordering {
  display: none !important;
}

@media (min-width: 769px) {
  body.woocommerce.archive,
  body.home {
    --koktek-scroll-stack: 250px;
    --koktek-title-bar-height: 32px;
    --koktek-title-gap: 6px;
  }

  body.woocommerce.archive .site-content,
  body.home .site-content {
    padding-top: calc(
      var(--koktek-scroll-stack) + var(--koktek-title-bar-height) +
        var(--koktek-title-gap)
    ) !important;
  }

  body.woocommerce.archive .woocommerce,
  body.home .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
  }

  body.woocommerce.archive .woocommerce-products-header,
  body.home .woocommerce-products-header {
    grid-column: 1 / 2;
    margin: 0 !important;
    padding: 0 12px !important;
    height: var(--koktek-title-bar-height);
    width: clamp(200px, 26vw, 320px);
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-self: start;
    position: sticky;
    top: calc(var(--koktek-scroll-stack) - 2px);
    z-index: 10;
    background: var(--koktek-glass-bg-strong) !important;
    border: 1px solid var(--koktek-glass-border) !important;
    border-radius: var(--koktek-radius) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  body.woocommerce.archive .woocommerce-products-header__title,
  body.home .woocommerce-products-header__title {
    margin: 0 !important;
    font-size: var(--text-h3) !important;
    line-height: 1 !important;
  }

  body.woocommerce.archive .woocommerce-pagination,
  body.home .woocommerce-pagination {
    grid-column: 2 / 3;
    justify-self: end;
    margin: 0 !important;
    padding: 0 10px !important;
    height: var(--koktek-title-bar-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: calc(var(--koktek-scroll-stack) - 2px);
    z-index: 10;
    background: var(--koktek-glass-bg-strong) !important;
    border: 1px solid var(--koktek-glass-border) !important;
    border-radius: 999px !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  body.woocommerce.archive .woocommerce-pagination ul,
  body.home .woocommerce-pagination ul {
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px !important;
    height: 100% !important;
    align-items: center !important;
  }

  body.woocommerce.archive .woocommerce-pagination ul li a,
  body.home .woocommerce-pagination ul li a,
  body.woocommerce.archive .woocommerce-pagination ul li span,
  body.home .woocommerce-pagination ul li span {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
    line-height: 1 !important;
  }

  body.woocommerce.archive .woocommerce-notices-wrapper,
  body.home .woocommerce-notices-wrapper,
  body.woocommerce.archive ul.products,
  body.home ul.products,
  body.woocommerce.archive .products,
  body.home .products {
    grid-column: 1 / -1;
  }

  body.woocommerce.archive .site::after,
  body.home .site::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(
      var(--koktek-scroll-stack) + var(--koktek-title-bar-height) +
        var(--koktek-title-gap)
    );
    background: linear-gradient(
      135deg,
      rgba(26, 26, 46, 0.92) 0%,
      rgba(26, 26, 46, 0.78) 50%,
      rgba(26, 26, 46, 0.92) 100%
    );
    z-index: 4;
    pointer-events: none;
  }
}

/* =============================================================================
   B7. TITRE PAGE BOUTIQUE DESKTOP
   ============================================================================= */

.woocommerce-products-header,
.page-header {
  text-align: center !important;
  margin-top: 20px !important;
  margin-bottom: 25px !important;
  padding: 10px !important;
}

.woocommerce-products-header__title,
.page-title,
h1.page-title,
.entry-title {
  font-family: var(--font-display) !important;
  font-size: var(--text-h1) !important;
  font-weight: 700 !important;
  color: var(--koktek-text-primary) !important;
  letter-spacing: -1px !important;
  margin: 0 !important;
}

.term-description,
.page-description,
.archive-description {
  display: none !important;
}

/* =============================================================================
   B8. GRILLE PRODUITS DESKTOP
   ============================================================================= */

.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products,
.related.products ul.products,
.upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product,
ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  clear: none !important;
}

.woocommerce ul.products li.product:first-child {
  grid-column: auto !important;
}

@media (max-width: 1200px) {
  .woocommerce ul.products,
  ul.products,
  .related.products ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .woocommerce ul.products,
  ul.products,
  .related.products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* =============================================================================
   B9. CARTES PRODUITS DESKTOP
   ============================================================================= */

.woocommerce ul.products li.product,
ul.products li.product {
  background: var(--koktek-glass-bg-strong) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius-large) !important;
  padding: 20px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: var(--koktek-shadow-strong) !important;
  position: relative !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
  transform: translateY(-10px) !important;
  background: var(--koktek-glass-hover) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: var(--koktek-shadow-hover) !important;
}

.woocommerce ul.products li.product a img,
ul.products li.product img {
  border-radius: 14px !important;
  margin: 0 auto 16px !important;
  transition: transform 0.4s ease !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.woocommerce ul.products li.product:hover img,
ul.products li.product:hover img {
  transform: scale(1.05) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
ul.products li.product h2 {
  font-family: var(--font-body) !important;
  font-size: var(--text-body) !important;
  font-weight: 600 !important;
  color: var(--koktek-text-primary) !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price span,
ul.products li.product .price {
  font-family: var(--font-display) !important;
  font-size: var(--text-price) !important;
  font-weight: 700 !important;
  color: var(--koktek-price) !important;
  text-align: center !important;
  margin-top: 5px !important;
}

.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
  color: var(--koktek-text-muted) !important;
  font-size: var(--text-small) !important;
  opacity: 0.7 !important;
}

.woocommerce ul.products li.product .price ins,
ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--koktek-price) !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--koktek-accent) !important;
  color: #1a1a2e !important;
  border: none !important;
  padding: 14px 24px !important;
  border-radius: var(--koktek-radius-small) !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-small) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  transition: all 0.3s ease !important;
  margin-top: 12px !important;
  cursor: pointer !important;
  display: inline-block !important;
  text-align: center !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--koktek-accent-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px var(--koktek-accent-light) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.button.checkout {
  background: var(--koktek-accent) !important;
  color: #1a1a2e !important;
}

.woocommerce span.onsale,
.onsale {
  background: var(--koktek-accent) !important;
  color: #1a1a2e !important;
  font-weight: 700 !important;
  border-radius: var(--koktek-radius-small) !important;
  padding: 8px 14px !important;
  font-size: var(--text-xs) !important;
  text-transform: uppercase !important;
  position: absolute !important;
  top: 30px !important;
  left: 30px !important;
  z-index: 10 !important;
  line-height: 1 !important;
  min-height: auto !important;
  min-width: auto !important;
}

@media (min-width: 769px) {
  .woocommerce ul.products li.product,
  ul.products li.product {
    z-index: 0;
    padding: 12px !important;
    --koktek-hover-btn-offset: 22px;
    --koktek-hover-btn-height: 34px;
  }

  .woocommerce ul.products li.product::before,
  ul.products li.product::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
  }

  .woocommerce ul.products li.product:hover::before,
  ul.products li.product:hover::before {
    opacity: 1;
  }

  .woocommerce ul.products li.product .woocommerce-LoopProduct-link,
  ul.products li.product .woocommerce-LoopProduct-link {
    position: static !important;
  }

  .woocommerce ul.products li.product .woocommerce-LoopProduct-link::after,
  ul.products li.product .woocommerce-LoopProduct-link::after {
    content: "Détails produit";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
      translateY(calc(-1 * var(--koktek-hover-btn-offset)));
    opacity: 0;
    padding: 0 16px;
    height: var(--koktek-hover-btn-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(212, 168, 85, 0.72);
    border: 1px solid rgba(212, 168, 85, 0.6);
    color: #1a1a2e;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease;
    z-index: 3;
    pointer-events: none;
  }

  .woocommerce
    ul.products
    li.product:hover
    .woocommerce-LoopProduct-link::after,
  ul.products li.product:hover .woocommerce-LoopProduct-link::after {
    opacity: 1;
  }

  .woocommerce
    ul.products
    li.product
    .woocommerce-LoopProduct-link:hover::after,
  ul.products li.product .woocommerce-LoopProduct-link:hover::after {
    background: var(--koktek-accent-hover);
    border-color: var(--koktek-accent-hover);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
    transform: translate(-50%, -50%)
      translateY(calc(-1 * var(--koktek-hover-btn-offset))) scale(1.03);
  }

  .woocommerce ul.products li.product a.button.add_to_cart_button,
  .woocommerce ul.products li.product a.button.ajax_add_to_cart,
  ul.products li.product a.button.add_to_cart_button,
  ul.products li.product a.button.ajax_add_to_cart {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) translateY(var(--koktek-hover-btn-offset)) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: clamp(150px, 70%, 200px) !important;
    padding: 0 18px !important;
    height: var(--koktek-hover-btn-height) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(212, 168, 85, 0.72) !important;
    color: #1a1a2e !important;
    border: 1px solid rgba(212, 168, 85, 0.6) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease !important;
    z-index: 3 !important;
    margin: 0 !important;
  }

  .woocommerce ul.products li.product:hover a.button.add_to_cart_button,
  .woocommerce ul.products li.product:hover a.button.ajax_add_to_cart,
  ul.products li.product:hover a.button.add_to_cart_button,
  ul.products li.product:hover a.button.ajax_add_to_cart {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .woocommerce ul.products li.product a.button.add_to_cart_button:hover,
  .woocommerce ul.products li.product a.button.ajax_add_to_cart:hover,
  ul.products li.product a.button.add_to_cart_button:hover,
  ul.products li.product a.button.ajax_add_to_cart:hover {
    background: var(--koktek-accent-hover) !important;
    border-color: var(--koktek-accent-hover) !important;
    transform: translate(-50%, -50%) translateY(var(--koktek-hover-btn-offset))
      scale(1.03) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38) !important;
  }

  .woocommerce
    ul.products
    li.product
    a.button:not(.add_to_cart_button):not(.ajax_add_to_cart),
  ul.products
    li.product
    a.button:not(.add_to_cart_button):not(.ajax_add_to_cart) {
    display: none !important;
  }

  .woocommerce ul.products li.product img,
  ul.products li.product img {
    transition:
      transform 0.4s ease,
      opacity 0.25s ease !important;
    margin-bottom: 4px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2,
  ul.products li.product h2,
  .woocommerce ul.products li.product .price,
  .woocommerce ul.products li.product .price span {
    transition: opacity 0.25s ease !important;
  }

  .woocommerce ul.products li.product:hover img,
  ul.products li.product:hover img,
  .woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
  .woocommerce ul.products li.product:hover h2,
  ul.products li.product:hover h2,
  .woocommerce ul.products li.product:hover .price,
  .woocommerce ul.products li.product:hover .price span {
    opacity: 0.35 !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2,
  ul.products li.product h2 {
    display: block !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    min-height: 1.2em !important;
    max-height: 1.2em !important;
    margin-bottom: 2px !important;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce ul.products li.product .price span,
  ul.products li.product .price {
    margin: 5px 0 0 0 !important;
    line-height: 1.2 !important;
  }

  .woocommerce ul.products li.product .added_to_cart,
  ul.products li.product .added_to_cart {
    display: none !important;
  }
}

/* =============================================================================
   B10. PRODUITS SIMILAIRES DESKTOP
   ============================================================================= */

.related.products > h2,
.upsells.products > h2,
.woocommerce div.product .related h2 {
  font-family: var(--font-display) !important;
  font-size: var(--text-h2) !important;
  font-weight: 700 !important;
  color: var(--koktek-text-primary) !important;
  margin-bottom: 24px !important;
  margin-top: 60px !important;
}

/* =============================================================================
   B11. PAGE PRODUIT INDIVIDUELLE DESKTOP
   ============================================================================= */

body.single-product {
  padding-top: 100px !important;
}

body.single-product .header-widget-region {
  display: none !important;
}

.single-product div.product {
  background: var(--koktek-glass-bg-strong) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius-large) !important;
  padding: 40px !important;
  margin: 20px auto !important;
  max-width: 1200px !important;
  box-shadow: var(--koktek-shadow) !important;
}

.single-product .product_title,
.single-product h1.product_title {
  font-family: var(--font-display) !important;
  font-size: var(--text-h1) !important;
  font-weight: 700 !important;
  color: var(--koktek-text-primary) !important;
  margin-bottom: 16px !important;
}

.single-product .price,
.single-product .price span,
.single-product p.price {
  font-family: var(--font-display) !important;
  font-size: var(--text-price-large) !important;
  font-weight: 700 !important;
  color: var(--koktek-price) !important;
  margin-bottom: 20px !important;
}

.single-product .woocommerce-product-details__short-description {
  color: var(--koktek-text-secondary) !important;
  font-size: var(--text-body) !important;
  line-height: 1.7 !important;
  margin-bottom: 24px !important;
}

.single-product .stock,
.stock,
.in-stock {
  color: var(--koktek-accent) !important;
  font-weight: 600 !important;
  font-size: var(--text-small) !important;
}

.single-product .out-of-stock,
.out-of-stock {
  color: #ff6b6b !important;
}

.single-product .woocommerce-product-gallery img {
  border-radius: var(--koktek-radius) !important;
}

.single-product .quantity input,
.quantity input[type="number"] {
  background: var(--koktek-glass-bg) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius-small) !important;
  color: var(--koktek-text-primary) !important;
  padding: 12px !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-body) !important;
  width: 80px !important;
}

.single-product .product_meta,
.product_meta {
  color: var(--koktek-text-muted) !important;
  font-size: var(--text-small) !important;
  margin-top: 20px !important;
}

.single-product .product_meta a,
.product_meta a {
  color: var(--koktek-accent) !important;
}

.single-product .woocommerce-tabs ul.tabs {
  background: transparent !important;
  padding: 0 !important;
  margin: 40px 0 20px !important;
  border-bottom: 1px solid var(--koktek-glass-border) !important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  color: var(--koktek-text-secondary) !important;
  font-weight: 500 !important;
  padding: 14px 28px !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-body) !important;
  background: transparent !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--koktek-text-primary) !important;
  border-bottom: 3px solid var(--koktek-accent) !important;
  background: transparent !important;
}

.single-product .woocommerce-tabs .panel,
.woocommerce-Tabs-panel {
  background: transparent !important;
  color: var(--koktek-text-secondary) !important;
  padding: 24px 0 !important;
  font-size: var(--text-body) !important;
  line-height: 1.8 !important;
}

.single-product .woocommerce-tabs .panel h2,
.woocommerce-Tabs-panel h2 {
  font-family: var(--font-display) !important;
  font-size: var(--text-h2) !important;
  color: var(--koktek-text-primary) !important;
  margin-bottom: 16px !important;
}

/* =============================================================================
   B12. PANIER DESKTOP
   ============================================================================= */

body.woocommerce-cart {
  padding-top: 100px !important;
}

body.woocommerce-cart .header-widget-region {
  display: none !important;
}

.woocommerce table.shop_table {
  background: var(--koktek-glass-bg) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius) !important;
  overflow: hidden !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--koktek-glass-border) !important;
  color: var(--koktek-text-primary) !important;
  padding: 18px !important;
  font-size: var(--text-body) !important;
}

.woocommerce table.shop_table th {
  background: var(--koktek-glass-bg) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
}
/* =============================================================================
   B13. PAGE CHECKOUT DESKTOP
   ============================================================================= */

body.woocommerce-checkout,
body.checkout {
  --koktek-checkout-bg: #111824;
  --koktek-checkout-header-offset: 140px;
  background-color: var(--koktek-checkout-bg) !important;
  background-image: none !important;
  background-attachment: scroll !important;
}

body.woocommerce-checkout::before,
body.checkout::before {
  background: linear-gradient(
    135deg,
    rgba(17, 24, 36, 0.25) 0%,
    rgba(17, 24, 36, 0.15) 50%,
    rgba(17, 24, 36, 0.25) 100%
  ) !important;
}

body.woocommerce-checkout .header-widget-region,
body.checkout .header-widget-region {
  display: none !important;
}

body.woocommerce-checkout .main-navigation,
body.checkout .main-navigation,
body.woocommerce-checkout .storefront-primary-navigation,
body.checkout .storefront-primary-navigation,
body.woocommerce-checkout .site-search,
body.checkout .site-search,
body.woocommerce-checkout .widget_product_search,
body.checkout .widget_product_search {
  display: none !important;
}

body.woocommerce-checkout .site-header,
body.checkout .site-header {
  padding: 8px 20px !important;
}

body.woocommerce-checkout .site-content,
body.checkout .site-content {
  padding-top: var(--koktek-checkout-header-offset) !important;
}

body.woocommerce-checkout .site::after,
body.checkout .site::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--koktek-checkout-header-offset);
  background: var(--koktek-checkout-bg);
  z-index: 4;
  pointer-events: none;
}

body.woocommerce-checkout .woocommerce,
body.checkout .woocommerce {
  gap: 24px;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.checkout #customer_details .col-1,
body.checkout #customer_details .col-2 {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout #order_review_heading,
body.checkout .woocommerce-billing-fields h3,
body.checkout .woocommerce-shipping-fields h3,
body.checkout #order_review_heading {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

body.woocommerce-checkout label,
body.checkout label {
  font-size: 0.95rem !important;
  color: var(--koktek-text-secondary) !important;
}

body.woocommerce-checkout .woocommerce form .form-row,
body.checkout .woocommerce form .form-row {
  margin-bottom: 14px !important;
}

body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.checkout #order_review,
body.checkout .woocommerce-checkout-review-order {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
}

body.woocommerce-checkout #order_review table,
body.checkout #order_review table {
  margin: 0 !important;
}

body.woocommerce-checkout #order_review .order-total th,
body.woocommerce-checkout #order_review .order-total td,
body.checkout #order_review .order-total th,
body.checkout #order_review .order-total td {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--koktek-text-primary) !important;
}

body.woocommerce-checkout #payment,
body.checkout #payment {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

body.woocommerce-checkout #payment .payment_methods,
body.checkout #payment .payment_methods {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
}

body.woocommerce-checkout .wc-stripe-payment-request-wrapper,
body.woocommerce-checkout .woocommerce-ppcp-button,
body.woocommerce-checkout .paypal-buttons,
body.checkout .wc-stripe-payment-request-wrapper,
body.checkout .woocommerce-ppcp-button,
body.checkout .paypal-buttons {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

body.woocommerce-checkout #place_order,
body.checkout #place_order {
  width: 100% !important;
  padding: 16px 22px !important;
  font-size: 1rem !important;
}

/* =============================================================================
   B14. PAGINATION DESKTOP
   ============================================================================= */

.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  border: none !important;
  margin-top: 40px !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
  margin: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--koktek-glass-bg) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius-small) !important;
  color: var(--koktek-text-secondary) !important;
  padding: 14px 20px !important;
  transition: all 0.3s ease !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: var(--text-small) !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--koktek-accent) !important;
  border-color: var(--koktek-accent) !important;
  color: #1a1a2e !important;
}

/* =============================================================================
   B15. FOOTER DESKTOP
   ============================================================================= */

.site-footer,
footer.site-footer {
  background: var(--koktek-glass-bg-strong) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid var(--koktek-glass-border) !important;
  margin-top: 60px !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.koktek-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 40px 40px !important;
}

.koktek-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.koktek-footer-col h4 {
  font-family: var(--font-display) !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--koktek-text-primary) !important;
  margin-bottom: 24px !important;
}

.koktek-footer-col p,
.koktek-footer-col li,
.koktek-footer-col span,
.koktek-footer-col a {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: var(--koktek-text-secondary) !important;
  line-height: 2 !important;
}

.koktek-footer-col a:hover {
  color: var(--koktek-accent) !important;
}

.koktek-footer-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.koktek-footer-col ul li {
  margin-bottom: 10px !important;
}

.koktek-footer-logo {
  font-family: var(--font-display) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--koktek-text-primary) !important;
  margin-bottom: 8px !important;
}

.koktek-footer-tagline {
  font-size: 0.85rem !important;
  color: var(--koktek-text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 20px !important;
}

.koktek-footer-bottom {
  border-top: 1px solid var(--koktek-glass-border);
  padding-top: 35px !important;
  margin-top: 50px !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.koktek-footer-copyright {
  font-size: 0.9rem !important;
  color: var(--koktek-text-muted) !important;
}

.koktek-footer-payments {
  display: flex;
  gap: 12px;
  align-items: center;
}

.koktek-footer-payments span {
  font-size: 0.85rem !important;
  color: var(--koktek-text-muted) !important;
  padding: 8px 14px !important;
  background: var(--koktek-glass-bg);
  border-radius: 6px;
}

.koktek-footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.koktek-footer-badges span {
  font-size: 0.9rem !important;
  color: var(--koktek-text-secondary) !important;
}

.site-footer > .col-full,
.site-footer .footer-widgets,
.site-footer .site-info,
.site-info {
  display: none !important;
}

@media (max-width: 900px) {
  .koktek-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 500px) {
  .koktek-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .koktek-footer {
    padding: 40px 20px 20px !important;
  }

  .koktek-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =============================================================================
   B16. MESSAGES & NOTICES DESKTOP
   ============================================================================= */

.woocommerce-message,
.woocommerce-info {
  background: var(--koktek-glass-bg-strong) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius) !important;
  color: var(--koktek-text-primary) !important;
  border-left: 4px solid var(--koktek-accent) !important;
  padding: 18px 24px !important;
  font-size: var(--text-body) !important;
}

.woocommerce-error {
  background: var(--koktek-glass-bg-strong) !important;
  border: 1px solid rgba(255, 100, 100, 0.3) !important;
  border-radius: var(--koktek-radius) !important;
  color: var(--koktek-text-primary) !important;
  border-left: 4px solid #ff6b6b !important;
}

.woocommerce-message a,
.woocommerce-info a {
  color: var(--koktek-accent) !important;
}

/* =============================================================================
   B17. FORMULAIRES DESKTOP
   ============================================================================= */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  background: var(--koktek-glass-bg) !important;
  border: 1px solid var(--koktek-glass-border) !important;
  border-radius: var(--koktek-radius-small) !important;
  color: var(--koktek-text-primary) !important;
  padding: 14px 18px !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-body) !important;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--koktek-accent) !important;
  box-shadow: 0 0 0 3px var(--koktek-accent-light) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--koktek-text-muted) !important;
}

label {
  color: var(--koktek-text-secondary) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: var(--text-small) !important;
}

/* =============================================================================
   B18. ÉLÉMENTS MASQUÉS DESKTOP
   ============================================================================= */

.sidebar,
#secondary {
  display: none !important;
}

.content-area {
  width: 100% !important;
  float: none !important;
}

.widget-title,
.widgettitle {
  display: none !important;
}

/* =============================================================================
   B19. AJUSTEMENTS FINAUX DESKTOP
   ============================================================================= */

.site-header .main-navigation ul li a,
.site-header .storefront-primary-navigation ul.menu li a,
.site-header .menu li a {
  font-size: 1.4rem !important;
}

.woocommerce-products-header,
.page-header {
  margin-top: 70px !important;
}

.site-branding img,
.custom-logo {
  max-height: 85px !important;
}

.site-header {
  padding: 4px 18px !important;
}

.site-branding {
  margin-bottom: 1px !important;
}

/* ╔════════════════════════════════════════════════════════════════════════════╗
   ║                                                                            ║
   ║                    PARTIE C — STYLES MOBILE                                ║
   ║              (Écrans étroits : max-width: 768px)                           ║
   ║                                                                            ║
   ╚════════════════════════════════════════════════════════════════════════════╝ */

@media (max-width: 768px) {
  /* ===========================================================================
     C1. HEADER MOBILE
     =========================================================================== */

 /* .site-header {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    background-color: #1d1d28 !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    position: fixed !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #masthead {
    background-color: #1d1d28 !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .site-header .header-row-1 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .header-row-2 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header::after {
    content: none !important;
    display: none !important;
  }

  .site-header .col-full {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    column-gap: 4px !important;
    row-gap: 0 !important;
  }*/

  /* ===========================================================================
     C2. LOGO MOBILE
     =========================================================================== */

  .site-branding {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid-row: 1 !important;
    grid-column: 1 !important;
    justify-self: start !important;
    position: static !important;
    z-index: 1001 !important;
    padding: 0 !important;
  }

		/* --- LOGO MOBILE : CONTRÔLE CHIRURGICAL --- */
	.site-branding img,
	.custom-logo {
		/* Taille fixe pour ne pas déformer le header */
		max-height: 44px !important;
		width: auto !important;
		height: 44px !important; /* Hauteur fixe forcée */
		object-fit: contain !important;

		/* --- POSITIONNEMENT FIXE --- */
		position: absolute !important;
		top: 2px !important;    /* Ajuste ici pour monter/descendre le logo */
		left: 8px !important;  /* Ajuste ici pour l'éloigner du bord gauche */
		z-index: 10000 !important;
	}

	/* --- TITRE DU SITE (Si utilisé sans logo) --- */
	.site-title,
	.site-title a {
		font-size: 1.1rem !important;
		font-weight: bold !important;
		color: #ffffff !important;
		text-decoration: none !important;

		/* --- POSITIONNEMENT FIXE --- */
		position: absolute !important;
		top: 2px !important;   /* Aligne-le verticalement avec le logo ou le panier */
		left: 10px !important;  /* Ajuste ici la position horizontale */
		z-index: 10000 !important;
		display: block !important;
	}
  /* ===========================================================================
     C3. BOUTON MENU HAMBURGER MOBILE (CACHÉ)
     =========================================================================== */

  .menu-toggle,
  button.menu-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }

  button.menu-toggle::before {
    content: none;
  }

  .menu-toggle span {
    display: none !important;
  }

  /* ===========================================================================
     C4. RECHERCHE + PANIER MOBILE
     =========================================================================== */

  /* --- Barre de recherche Mobile --- */
  .site-header .site-search,
  .site-header .widget_product_search {
    display: block !important;
    width: min(32vw, 150px) !important;
    max-width: 150px !important;
    grid-row: 1 !important;
    grid-column: 2 !important;
    justify-self: end !important;
    position: static !important;
    z-index: 1002 !important;
    align-self: center !important;
  }

  .site-header .search-field,
  .site-header input[type="search"] {
    width: 100% !important;
    height: 18px !important;
    padding: 0 8px 0 22px !important;
    font-size: 0.5rem !important;
    position: relative !important;
    z-index: 1003 !important;
    border-radius: 999px !important;
    background: var(--koktek-glass-bg) !important;
    border: 1px solid var(--koktek-glass-border) !important;
    color: var(--koktek-text-primary) !important;
    text-align: center !important;
    text-transform: none !important;
  }

  .site-header .search-field::placeholder {
    color: var(--koktek-text-muted) !important;
    font-size: 0.58rem !important;
    text-transform: none !important;
  }

  .site-header .site-search button,
  .site-header .widget_product_search button,
  .site-header form[role="search"] button {
    display: none !important;
  }

  /* --- PANIER MOBILE : LOGIQUE DESKTOP + POSITION ABSOLUE --- */
  .site-header-cart {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    position: absolute !important;
    top: 5px !important;
    right: 90px !important;
    height: 15px !important;
    width: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10009 !important;
  }

  .site-header-cart > li {
    list-style: none !important;
  }

  .site-header-cart a.cart-contents,
  .site-header-cart .cart-contents {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 15px !important;
    background: var(--koktek-glass-bg) !important;
    border: 1px solid var(--koktek-glass-border) !important;
    border-radius: 19px !important;
    padding: 0 5px !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header-cart a.cart-contents::before {
    content: "🛒" !important;
    font-size: 1rem !important;
    color: var(--koktek-accent) !important;
  }

  .site-header-cart .amount,
  .site-header-cart .woocommerce-Price-amount {
    color: var(--koktek-text-primary) !important;
    font-weight: 600 !important;
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* ===========================================================================
     C5. MENU NAVIGATION MOBILE (TOUJOURS VISIBLE)
     =========================================================================== */

  .main-navigation,
  .storefront-primary-navigation,
  .primary-navigation {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    grid-row: 2 !important;
    grid-column: 1 !important;
    justify-self: start !important;
    margin-top: -2px !important;
  }

  .main-navigation ul,
  .main-navigation ul.menu,
  .main-navigation div > ul,
  .storefront-primary-navigation ul.menu,
  .main-navigation[aria-expanded="false"] ul,
  .main-navigation:not(.toggled) ul,
  .main-navigation.toggled ul {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 90% !important;
    max-height: none !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  .main-navigation ul::-webkit-scrollbar,
  .storefront-primary-navigation ul.menu::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }

  .main-navigation ul li,
  .main-navigation ul.menu > li,
  .storefront-primary-navigation ul.menu li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    transform: none !important;
  }

  .main-navigation ul.menu > li.menu-item > a,
  .storefront-primary-navigation ul.menu > li.menu-item > a,
  .main-navigation ul > li.page_item > a {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    height: 18px !important;
    padding: 0 6px !important;
    margin-top: 0 !important;
    font-size: 0.6rem !important;
    line-height: 18px !important;
    font-weight: 300 !important;
    white-space: nowrap !important;
    color: var(--koktek-text-secondary) !important;
    background: var(--koktek-glass-bg-strong) !important;
    border: 1px solid var(--koktek-glass-border) !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
  }

  .main-navigation ul.menu > li.menu-item > a:hover,
  .storefront-primary-navigation ul.menu > li.menu-item > a:hover,
  .main-navigation ul > li.page_item > a:hover {
    background: var(--koktek-glass-hover) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: var(--koktek-text-primary) !important;
    transform: translateY(-1px) !important;
  }

  .main-navigation ul.menu > li.menu-item.current-menu-item > a,
  .main-navigation ul > li.page_item.current_page_item > a,
  .storefront-primary-navigation ul.menu > li.menu-item.current-menu-item > a {
    background: var(--koktek-accent) !important;
    border-color: var(--koktek-accent) !important;
    color: #1a1a2e !important;
    font-weight: 600 !important;
  }

  /* ===========================================================================
     C6. ESPACEMENT BODY MOBILE
     =========================================================================== */

  body.woocommerce,
  body.woocommerce-page,
  body.archive {
    padding-top: 30px !important;
  }

  /* ===========================================================================
     C7. ZONE FILTRES MOBILE
     =========================================================================== */

  .header-widget-region {
    position: fixed !important;
    top: calc(
      var(--koktek-mobile-header-height) + 4px + env(safe-area-inset-top)
    ) !important;
    left: 0 !important;
    width: 100% !important;
    padding: 4px 2px !important;
    margin-top: 20px !important;
    z-index: 1000 !important;
    background-color: #1d1d28 !important;
    background: #1d1d28 !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
  }

  .header-widget-region .col-full {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
  }

  .header-widget-region .widget {
    background: transparent !important;
    border: none !important;
  }

  .koktek-brand-bar,
  .koktek-category-bar {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .koktek-brand-bar {
    display: flex !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .koktek-category-bar {
    flex-wrap: wrap !important;
    width: 100% !important;
    overflow-x: visible !important;
    white-space: normal !important;
    height: auto !important;
  }

  .koktek-brand-bar::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }

  .koktek-brand-list,
  .filter-list {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
  }

  .koktek-brand-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .filter-list {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    width: 100% !important;
    white-space: normal !important;
    height: auto !important;
  }

  .filter-list li {
    flex: 0 0 30% !important;
    width: 30% !important;
    max-width: 30% !important;
    margin: 1% !important;
  }

  .koktek-brand-list::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }

  .koktek-brand-list li a {
    height: auto !important;
    padding: 2px 5px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  .filter-list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    min-height: 50px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    font-size: 10px !important;
    line-height: 11px !important;
    padding: 4px !important;
  }

  .koktek-brand-list li a {
    font-size: 8px !important;
    padding: 12px 6px !important;
    line-height: 1 !important;
  }

  .koktek-brand-list::-webkit-scrollbar,
  .filter-list::-webkit-scrollbar,
  .koktek-brand-bar::-webkit-scrollbar,
  .koktek-category-bar::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
  }

  .koktek-brand-bar,
  .koktek-brand-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  /* ===========================================================================
     C8. ESPACEMENT CONTENU MOBILE
     =========================================================================== */

  body.woocommerce .site-content,
  body.woocommerce-page .site-content,
  body.archive .site-content {
    padding-top: 90px !important;
  }

  /* ===========================================================================
     C9. TITRES DE PAGE MOBILE
     =========================================================================== */

  .woocommerce-products-header,
  .page-header {
    margin-top: 20px !important;
    margin-bottom: 5px !important;
    padding: 2px 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
  }

  .woocommerce-products-header__title,
  .page-title,
  h1.page-title {
    font-size: 0.8rem !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  /* ===========================================================================
     C10. TYPOGRAPHIE MOBILE
     =========================================================================== */

  h1,
  .h1 {
    font-size: 0.8rem !important;
  }

  h2,
  .h2 {
    font-size: 0.7rem !important;
  }

  body,
  p,
  li,
  span,
  div {
    font-size: 0.65rem !important;
  }

  /* ===========================================================================
     C11. GRILLE PRODUITS MOBILE
     =========================================================================== */

  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    padding: 0 2px !important;
    margin: 0 !important;
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    box-sizing: border-box !important;
    justify-content: stretch !important;
  }

  .woocommerce ul.products li.product,
  ul.products li.product {
    padding: 4px !important;
    border-radius: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 150px !important;
    position: relative !important;
  }

  .woocommerce ul.products li.product img,
  ul.products li.product img {
    border-radius: 8px !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    height: auto !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  ul.products li.product h2 {
    font-size: 10px !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-top: 2px !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    position: static !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .woocommerce ul.products li.product .price,
  ul.products li.product .price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .woocommerce ul.products li.product .price span,
  .woocommerce ul.products li.product .price del,
  .woocommerce ul.products li.product .price ins,
  ul.products li.product .price span,
  ul.products li.product .price del,
  ul.products li.product .price ins {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  .woocommerce ul.products li.product .price del,
  ul.products li.product .price del {
    margin-right: 4px !important;
  }

  .woocommerce ul.products li.product .price ins,
  ul.products li.product .price ins {
    margin-left: 2px !important;
  }
  .woocommerce ul.products li.product .price del,
  ul.products li.product .price del {
    font-size: 9px !important;
  }

  /* ===========================================================================
     C12. ÉLÉMENTS MASQUÉS MOBILE
     =========================================================================== */

  .woocommerce ul.products li.product .price,
  ul.products li.product .price {
    display: block !important;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.button,
  ul.products li.product .button {
    display: none !important;
  }

  /* ===========================================================================
     C13. BADGE PROMO MOBILE
     =========================================================================== */

  .woocommerce span.onsale,
  .onsale {
    top: 5px !important;
    left: 5px !important;
    padding: 2px 3px !important;
    font-size: 0.35rem !important;
  }

  /* ===========================================================================
     C14. PAGINATION MOBILE
     =========================================================================== */

  .woocommerce nav.woocommerce-pagination ul {
    gap: 3px !important;
    margin-top: 10px !important;
  }

  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span {
    padding: 4px 6px !important;
    font-size: 0.5rem !important;
  }

  /* ===========================================================================
     C15. FOOTER MOBILE
     =========================================================================== */

  .koktek-footer {
    padding: 12px 6px 8px !important;
  }

  .koktek-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .koktek-footer-col h4 {
    font-size: 0.6rem !important;
    margin-bottom: 5px !important;
  }

  .koktek-footer-col p,
  .koktek-footer-col li,
  .koktek-footer-col a {
    font-size: 0.5rem !important;
    line-height: 1.2 !important;
  }

  .koktek-footer-logo {
    font-size: 0.85rem !important;
  }

  .koktek-footer-bottom {
    padding-top: 8px !important;
    margin-top: 10px !important;
  }

  .koktek-footer-copyright,
  .koktek-footer-payments span,
  .koktek-footer-badges span {
    font-size: 0.45rem !important;
  }

  /* ===========================================================================
     C16. PAGE PRODUIT MOBILE
     =========================================================================== */

  body.single-product {
    padding-top: 55px !important;
  }

  body.single-product .header-widget-region {
    display: none !important;
  }

  .single-product div.product {
    padding: 6px !important;
    margin: 3px !important;
    border-radius: 6px !important;
  }

  .single-product .product_title {
    font-size: 0.85rem !important;
  }

  .single-product .price {
    font-size: 0.75rem !important;
  }

  /* ===========================================================================
     C17. PAGE PANIER MOBILE
     =========================================================================== */

  body.woocommerce-cart {
    padding-top: 55px !important;
  }

  body.woocommerce-cart .header-widget-region {
    display: none !important;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 4px !important;
    font-size: 0.55rem !important;
  }

  /* ===========================================================================
     C18. AJUSTEMENTS SYNC DESKTOP MOBILE
     =========================================================================== */

  :root {
    --koktek-mobile-header-height: 52px;
    --koktek-mobile-filters-height: 24px;
    --koktek-mobile-title-height: 20px;
    --koktek-mobile-gap: 4px;
    --koktek-mobile-stack: calc(
      var(--koktek-mobile-header-height) + var(--koktek-mobile-filters-height) +
        8px
    );
  }

  body,
  body.woocommerce,
  body.woocommerce-page,
  body.archive,
  body.page,
  body.home {
    background-size: 100% auto !important;
    background-position: center top !important;
    background-attachment: scroll !important;
    min-height: 100svh !important;
  }

  body::before {
    background: linear-gradient(
      135deg,
      rgba(26, 26, 46, 0.6) 0%,
      rgba(26, 26, 46, 0.45) 50%,
      rgba(26, 26, 46, 0.6) 100%
    ) !important;
  }

  .site-header {
    top: calc(env(safe-area-inset-top) + 8px) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .site-header .site-search,
  .site-header .widget_product_search {
    transform: none !important;
  }

  .site-header .search-field,
  .site-header input[type="search"] {
    height: 18px !important;
    line-height: 18px !important;
  }

  .site-header-cart a.cart-contents,
  .site-header-cart .cart-contents {
    background: var(--koktek-glass-bg-strong) !important;
    border: 1px solid var(--koktek-glass-border) !important;
    border-radius: 999px !important;
    padding: 1px 4px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
  }

  .header-widget-region {
    top: calc(
      var(--koktek-mobile-header-height) + 6px + env(safe-area-inset-top)
    ) !important;
  }

  body.woocommerce .site-content,
  body.woocommerce-page .site-content,
  body.archive .site-content,
  body.home .site-content {
    padding-top: calc(
      var(--koktek-mobile-stack) + var(--koktek-mobile-title-height) +
        var(--koktek-mobile-gap)
    ) !important;
  }

  body.woocommerce.archive .site::after,
  body.home .site::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(
      var(--koktek-mobile-stack) + var(--koktek-mobile-title-height) +
        var(--koktek-mobile-gap)
    );
    background: linear-gradient(
      135deg,
      rgba(26, 26, 46, 0.76) 0%,
      rgba(26, 26, 46, 0.58) 50%,
      rgba(26, 26, 46, 0.76) 100%
    );
    z-index: 4;
    pointer-events: none;
  }

  .woocommerce ul.products,
  ul.products {
    align-items: stretch !important;
  }

  .woocommerce ul.products li.product,
  ul.products li.product {
    padding: 4px !important;
    min-height: 150px !important;
    gap: 6px !important;
  }

  .woocommerce ul.products li.product img,
  ul.products li.product img {
    margin-bottom: 6px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2,
  ul.products li.product h2 {
    position: static !important;
    display: block !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    min-height: 1.2em !important;
    max-height: 1.2em !important;
    margin: 2px 0 2px !important;
    text-align: center !important;
    font-size: 10px !important;
  }

  .woocommerce ul.products li.product .price,
  ul.products li.product .price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    margin: 2px 0 0 0 !important;
    line-height: 1.2 !important;
    font-size: 10px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .woocommerce ul.products li.product .price span,
  .woocommerce ul.products li.product .price del,
  .woocommerce ul.products li.product .price ins,
  ul.products li.product .price span,
  ul.products li.product .price del,
  ul.products li.product .price ins {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  .woocommerce ul.products li.product .price del,
  ul.products li.product .price del {
    font-size: 9px !important;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.button,
  ul.products li.product .button {
    display: none !important;
  }

  #content,
  .site-content {
    padding-top: 160px !important;
  }
} /* Fin @media (max-width: 768px) */

/* =============================================================================
   C19. ACTIONS TACTILES MOBILE (écrans tactiles)
   ============================================================================= */

@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
  .woocommerce ul.products li.product,
  ul.products li.product {
    --koktek-mobile-action-offset: 18px;
    --koktek-mobile-action-height: 32px;
  }

  .woocommerce ul.products li.product::before,
  ul.products li.product::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
  }

  .woocommerce ul.products li.product:focus-within::before,
  ul.products li.product:focus-within::before,
  .woocommerce ul.products li.product:active::before,
  ul.products li.product:active::before {
    opacity: 1;
  }

  .woocommerce ul.products li.product .woocommerce-LoopProduct-link::after,
  ul.products li.product .woocommerce-LoopProduct-link::after {
    content: "Détails produit";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
      translateY(calc(-1 * var(--koktek-mobile-action-offset)));
    opacity: 0;
    height: var(--koktek-mobile-action-height);
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(212, 168, 85, 0.78);
    border: 1px solid rgba(212, 168, 85, 0.6);
    color: #1a1a2e;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
    z-index: 3;
    pointer-events: none;
  }

  .woocommerce
    ul.products
    li.product:focus-within
    .woocommerce-LoopProduct-link::after,
  ul.products li.product:focus-within .woocommerce-LoopProduct-link::after,
  .woocommerce
    ul.products
    li.product:active
    .woocommerce-LoopProduct-link::after,
  ul.products li.product:active .woocommerce-LoopProduct-link::after {
    opacity: 1;
  }

  .woocommerce ul.products li.product a.button.add_to_cart_button,
  .woocommerce ul.products li.product a.button.ajax_add_to_cart,
  ul.products li.product a.button.add_to_cart_button,
  ul.products li.product a.button.ajax_add_to_cart {
    display: inline-flex !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%)
      translateY(var(--koktek-mobile-action-offset)) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: var(--koktek-mobile-action-height) !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: rgba(212, 168, 85, 0.82) !important;
    border: 1px solid rgba(212, 168, 85, 0.6) !important;
    color: #1a1a2e !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28) !important;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease !important;
    z-index: 3 !important;
  }

  .woocommerce ul.products li.product:focus-within a.button.add_to_cart_button,
  .woocommerce ul.products li.product:focus-within a.button.ajax_add_to_cart,
  ul.products li.product:focus-within a.button.add_to_cart_button,
  ul.products li.product:focus-within a.button.ajax_add_to_cart,
  .woocommerce ul.products li.product:active a.button.add_to_cart_button,
  .woocommerce ul.products li.product:active a.button.ajax_add_to_cart,
  ul.products li.product:active a.button.add_to_cart_button,
  ul.products li.product:active a.button.ajax_add_to_cart {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .woocommerce
    ul.products
    li.product
    a.button:not(.add_to_cart_button):not(.ajax_add_to_cart),
  ul.products
    li.product
    a.button:not(.add_to_cart_button):not(.ajax_add_to_cart) {
    display: none !important;
  }
} /* Fin @media tactile */

/* ╔════════════════════════════════════════════════════════════════════════════╗
   ║                                                                            ║
   ║                    FIN DU CSS KOKTEK 2026                                  ║
   ║                    Version 4.0 — Réorganisée                               ║
   ║                                                                            ║
   ╚════════════════════════════════════════════════════════════════════════════╝ */
