/*
Theme Name: SoldDolls
Theme URI: https://solddolls.com
Author: SoldDolls
Author URI: https://solddolls.com
Description: Thème WooCommerce spécialisé poupées sexuelles — responsive mobile/tablette/desktop, sans débordement.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: solddolls
Tags: woocommerce, e-commerce, responsive, adult
*/

/* ============================================================
   RESET & VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-brand:       #E85D6F;
  --c-brand-dk:    #c0395a;
  --c-brand-lt:    #f08090;
  --c-gold:        #FFD700;
  --c-dark:        #0a0a0a;
  --c-dark-2:      #111111;
  --c-dark-3:      #161616;
  --c-text:        #f0f0f0;
  --c-text-md:     #bbbbbb;
  --c-text-lt:     #888888;
  --c-border:      #2a2a2a;
  --c-bg:          #0a0a0a;
  --c-bg-card:     #161616;
  --c-surface:     #111111;
  --c-success:     #2d8a4e;
  --c-error:       #ff6b6b;
  --c-star:        #FFD700;
  --r:             8px;
  --r-lg:          16px;
  --r-xl:          24px;
  --shadow-sm:     0 1px 6px rgba(0,0,0,0.4);
  --shadow:        0 2px 16px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.7);
  --font:          'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --ease:          0.28s cubic-bezier(0.4,0,0.2,1);
  --header-h:      72px;
  --announce-h:    36px;
  --c-header-bg:   rgba(8,8,12,0.92);
  --c-header-border: rgba(255,255,255,0.08);
}

/* ── Base ── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}
body.drawer-open { overflow: hidden; }

img, video, iframe, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--c-brand-dk); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--c-brand); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3.5vw, 2.2rem); line-height: 1.2; }
h2 { font-family: var(--font-serif); font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.25; }
h3 { font-family: var(--font-serif); font-size: clamp(1.05rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin-bottom: 0.9rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: all var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-dk) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(232,93,111,0.3);
}
.btn-primary:hover { color: #fff; box-shadow: 0 4px 20px rgba(232,93,111,0.45); transform: translateY(-1px); }
.btn-dark    { background: var(--c-dark-2); color: #fff; }
.btn-dark:hover  { background: var(--c-dark-3); color: #fff; }
.btn-outline { background: transparent; border-color: var(--c-brand); color: var(--c-brand); }
.btn-outline:hover { background: var(--c-brand); color: #fff; }
.btn-ghost   { background: var(--c-bg-card); color: var(--c-text); border: 1.5px solid var(--c-border); }
.btn-ghost:hover { background: var(--c-dark-2); }
.btn-lg   { padding: 16px 32px; font-size: 1rem; }
.btn-sm   { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* ============================================================
   ANNOUNCE STRIP
   ============================================================ */
#sd-announce {
  height: var(--announce-h);
  background: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.announce-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.announce-reel {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: announce-scroll 28s linear infinite;
}
.announce-reel:hover { animation-play-state: paused; }
@keyframes announce-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.announce-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-lt);
  white-space: nowrap;
}
.announce-item em { font-style: normal; color: var(--c-text-md); font-weight: 600; }
.announce-item svg { width: 11px; height: 11px; color: var(--c-brand); flex-shrink: 0; }
.announce-sep { color: var(--c-brand); font-size: 0.5rem; opacity: 0.5; }
.announce-links {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  flex-shrink: 0;
  border-left: 1px solid var(--c-header-border);
}
.announce-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-lt);
  white-space: nowrap;
  transition: color var(--ease);
}
.announce-links a:hover { color: var(--c-brand-lt); }

/* ============================================================
   HEADER
   ============================================================ */
#sd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-header-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(232,93,111,0.18);
  width: 100%;
}

#sd-header-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-top-inner {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

/* Logo centré absolu */
.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  z-index: 1;
  pointer-events: auto;
  transition: opacity var(--ease);
}
.site-logo img {
  height: 48px;
  width: auto;
  max-height: calc(var(--header-h) - 14px);
}
.site-logo:hover { opacity: 0.85; color: var(--c-brand); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.burger:hover { color: var(--c-brand); }
.burger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.burger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--ease);
}
.burger-icon span:last-child { width: 65%; }
.burger[aria-expanded="true"] .burger-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-icon span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-icon span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }
.burger-lbl { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

/* Actions droite */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.hdr-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  transition: background var(--ease), color var(--ease);
  text-decoration: none;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hdr-btn:hover { background: rgba(255,255,255,0.08); color: var(--c-brand); }
.hdr-btn svg { width: 20px; height: 20px; }
.hdr-badge {
  position: absolute;
  top: 5px; right: 4px;
  background: var(--c-brand);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--c-dark);
}

/* Barre de recherche */
.header-search {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s cubic-bezier(0.4,0,0.2,1);
  border-top: 1px solid transparent;
}
.header-search.open {
  max-height: 68px;
  border-top-color: var(--c-header-border);
}
.search-form-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}
.search-form-inner input[type="search"] {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--c-border);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 0.92rem;
  color: var(--c-text);
  outline: none;
  transition: border-color var(--ease);
}
.search-form-inner input[type="search"]:focus { border-color: var(--c-brand); }
.search-form-inner input::placeholder { color: var(--c-text-lt); }
.search-form-inner button[type="submit"] {
  background: var(--c-brand);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}
.search-form-inner button[type="submit"]:hover { background: var(--c-brand-dk); }
.search-form-inner button[type="submit"] svg { width: 17px; height: 17px; }
.search-close {
  color: var(--c-text-lt);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--ease);
}
.search-close:hover { background: rgba(255,255,255,0.07); color: var(--c-text); }
.search-close svg { width: 18px; height: 18px; }

/* ============================================================
   NAV BAR DESKTOP
   ============================================================ */
#sd-nav-bar {
  height: 44px;
  border-top: 1px solid rgba(232,93,111,0.18);
  display: flex;
  align-items: center;
  background: rgba(8,8,12,0.95);
  position: relative;
  z-index: 999;
}
.nav-bar-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
  min-width: 0;
}
.main-menu {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
  flex: 1;
  min-width: 0;
}
.main-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 1;
}
.main-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  transition: color var(--ease);
  position: relative;
  text-decoration: none;
}
.main-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ease);
}
.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a { color: #fff; }
.main-menu > li > a:hover::after,
.main-menu > li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
.sub-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: #111;
  border: 1px solid rgba(232,93,111,0.2);
  border-top: 2px solid var(--c-brand);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  min-width: 220px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--ease);
  z-index: 200;
}
.main-menu > li:hover .sub-menu,
.main-menu > li.sub-open .sub-menu { opacity:1; visibility:visible; transform:translateY(0); pointer-events:all; }
.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.83rem;
  color: #ccc;
  transition: all var(--ease);
  text-decoration: none;
}
.sub-menu li a:hover { color: var(--c-brand); background: rgba(232,93,111,0.08); padding-left: 26px; }

.nav-tag {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--c-brand);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--c-brand);
  color: #fff;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ease), transform var(--ease);
}
.nav-cta-btn:hover { background: var(--c-brand-dk); color: #fff; transform: translateY(-1px); }
.nav-cta-btn svg { width: 15px; height: 15px; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
#drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1080;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#drawer-backdrop.open { opacity: 1; visibility: visible; }

#mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(320px, 90vw);
  height: 100dvh;
  height: 100vh;
  overscroll-behavior: contain;
  background: #0d0d10;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  border-right: 1px solid rgba(255,255,255,0.06);
}
#mobile-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.drawer-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.drawer-x {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: all var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.drawer-x:hover { background: rgba(255,255,255,0.1); color: #fff; }
.drawer-x svg { width: 20px; height: 20px; }

/* Recherche dans le drawer */
.drawer-search-bar {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.drawer-search-bar form {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  padding: 0 12px;
  transition: border-color var(--ease);
}
.drawer-search-bar form:focus-within { border-color: var(--c-brand); }
.drawer-search-bar input {
  flex: 1;
  min-width: 0;
  padding: 11px 4px;
  background: none;
  border: none;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
}
.drawer-search-bar input::placeholder { color: rgba(255,255,255,0.3); }
.drawer-search-bar button[type="submit"] {
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  padding: 0;
  flex-shrink: 0;
  transition: color var(--ease);
}
.drawer-search-bar button[type="submit"]:hover { color: var(--c-brand); }
.drawer-search-bar button svg { width: 18px; height: 18px; }

/* Autocomplétion recherche drawer */
.drawer-autocomplete {
  position: relative;
  margin-top: 6px;
}
.drawer-ac-list {
  background: #1a1a1f;
  border: 1px solid rgba(232,93,111,0.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  display: none;
}
.drawer-ac-list.visible { display: block; }

.drawer-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--ease), color var(--ease);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.drawer-ac-item:last-child { border-bottom: none; }
.drawer-ac-item:hover,
.drawer-ac-item:focus { background: rgba(232,93,111,0.1); color: #fff; outline: none; }
.drawer-ac-item:active { background: rgba(232,93,111,0.18); }

.drawer-ac-img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
  display: block;
}
.drawer-ac-img-placeholder {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-ac-img-placeholder svg { width: 18px; height: 18px; color: rgba(255,255,255,0.2); }

.drawer-ac-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}
.drawer-ac-name em {
  font-style: normal;
  color: var(--c-brand-lt);
  font-weight: 600;
}
.drawer-ac-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-gold);
  flex-shrink: 0;
}

.drawer-ac-empty {
  padding: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.drawer-ac-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.drawer-ac-spinner::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--c-brand);
  border-radius: 50%;
  animation: ac-spin 0.7s linear infinite;
}
@keyframes ac-spin { to { transform: rotate(360deg); } }

.drawer-ac-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-ac-footer a {
  font-size: 0.78rem;
  color: var(--c-brand-lt);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.drawer-ac-footer a:hover { color: var(--c-brand); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.drawer-body::-webkit-scrollbar { width: 2px; }
.drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.drawer-nav-list { padding: 6px 0; }
.drawer-nav-list li { position: relative; }
.drawer-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--ease);
  text-decoration: none;
  min-height: 52px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.drawer-nav-list li a:hover { color: #fff; background: rgba(255,255,255,0.04); padding-left: 28px; }
.drawer-nav-list li a .nt {
  font-size: 0.62rem;
  background: var(--c-brand);
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Accordéon sous-menus drawer */
.drawer-accordion { position: relative; }
.drawer-accordion > a { padding-right: 56px !important; }
.drawer-toggle-btn {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  min-height: 52px;
  width: 52px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  transition: color var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.drawer-toggle-btn svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.drawer-sub-open > .drawer-toggle-btn svg { transform: rotate(180deg); }
.drawer-toggle-btn:hover { color: rgba(255,255,255,0.7); }

.drawer-accordion > .sub-menu {
  display: none;
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  min-width: 0;
  padding: 0;
  background: rgba(0,0,0,0.3);
  /* iOS Safari : s'assurer que le sous-menu est interactif */
  pointer-events: none;
}
.drawer-sub-open > .sub-menu {
  display: block;
  pointer-events: auto;
}
.drawer-accordion > .sub-menu li a {
  padding-left: 36px;
  padding-right: 16px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  min-height: 52px;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  /* Zone tactile généreuse sur mobile */
  -webkit-tap-highlight-color: rgba(255,255,255,0.05);
  touch-action: manipulation;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}
.drawer-accordion > .sub-menu li a:hover,
.drawer-accordion > .sub-menu li a:active { color: #fff; background: rgba(255,255,255,0.06); padding-left: 42px; }
/* S'assurer que le sous-menu lui-même est cliquable */
.drawer-accordion > .sub-menu {
  pointer-events: auto !important;
}
.drawer-accordion > .sub-menu li {
  pointer-events: auto !important;
}

.drawer-foot {
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--c-brand);
  color: #fff;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--ease);
  touch-action: manipulation;
}
.drawer-shop-btn:hover { background: var(--c-brand-dk); color: #fff; }
.drawer-shop-btn svg { width: 16px; height: 16px; }

.drawer-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.drawer-meta a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--ease);
}
.drawer-meta a:hover { color: rgba(255,255,255,0.7); }
.drawer-meta a svg { width: 13px; height: 13px; }

.drawer-trust {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.drawer-trust div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.drawer-trust div svg { width: 14px; height: 14px; color: var(--c-brand); flex-shrink: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--c-dark-2);
  border-bottom: 1px solid var(--c-border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--c-text-lt);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-text-lt); }
.breadcrumb a:hover { color: var(--c-brand-dk); }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================================
   PRODUCT CARDS — grille uniforme
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pcard {
  background: var(--c-bg-card);
  border: 1px solid rgba(232,93,111,0.15);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  height: 100%;
}
.pcard:hover {
  border-color: var(--c-gold);
  box-shadow: 0 12px 40px rgba(232,93,111,0.2);
  transform: translateY(-2px);
}
.pcard-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--c-bg);
  flex-shrink: 0;
}
.pcard-img a { display: block; width: 100%; height: 100%; }
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}
.pcard:hover .pcard-img img { transform: scale(1.04); }
/* GIFs animés : pas de zoom pour ne pas couper l'animation */
.pcard-img img[src$=".gif"] {
  object-fit: contain;
  object-position: center;
  background: var(--c-bg);
}
.pcard:hover .pcard-img img[src$=".gif"] { transform: none; }

.pcard-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1;
}
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-sale { background: var(--c-brand); color: #fff; }
.badge-new  { background: var(--c-gold); color: #000; }
.badge-hot  { background: #d4620a; color: #fff; }

.pcard-wish {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: rgba(22,22,22,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #aaa;
  z-index: 1;
  opacity: 0;
  transition: all var(--ease);
}
.pcard:hover .pcard-wish { opacity: 1; }
.pcard-wish:hover { background: var(--c-brand); color: #fff; }
.pcard-wish svg { width: 17px; height: 17px; }

.pcard-hover-cta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(232,93,111,0.88);
  color: #fff;
  text-align: center;
  padding: 11px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--ease);
}
.pcard:hover .pcard-hover-cta { opacity: 1; }

.pcard-info {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcard-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ddd;
  line-height: 1.45;
  margin-bottom: 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-name a { color: inherit; }
.pcard-name a:hover { color: var(--c-brand); }

.stars { display: flex; gap: 2px; }
.stars svg { width: 13px; height: 13px; fill: var(--c-star); }
.stars svg.empty { fill: var(--c-border); }
.pcard-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.pcard-rating .rc { font-size: 0.73rem; color: var(--c-text-lt); }

.pcard-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.p-cur { font-size: 1.05rem; font-weight: 700; color: var(--c-gold); }
.p-old { font-size: 0.82rem; color: #555; text-decoration: line-through; }
.p-disc { font-size: 0.72rem; background: rgba(232,93,111,0.15); color: var(--c-brand); padding: 2px 6px; border-radius: 4px; font-weight: 600; }

.pcard-atc {
  margin-top: auto;
  width: 100%;
  padding: 10px 12px;
  font-size: 0.84rem;
  white-space: normal;
  text-align: center;
}

/* WooCommerce native loop override */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: var(--c-bg-card) !important;
  border: 1px solid rgba(232,93,111,0.15) !important;
  border-radius: var(--r) !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--c-gold) !important;
  box-shadow: 0 12px 32px rgba(232,93,111,0.2) !important;
  transform: translateY(-2px) !important;
}
.woocommerce ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 3/4 !important;
  object-fit: cover !important;
  object-position: top center !important;
}
.woocommerce .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #ddd !important;
  padding: 12px 14px 6px !important;
}
.woocommerce ul.products li.product .price {
  color: var(--c-gold) !important;
  font-weight: 700 !important;
  padding: 0 14px 12px !important;
}
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button {
  background: var(--c-brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r) !important;
  margin: 0 14px 14px !important;
  width: calc(100% - 28px) !important;
  padding: 10px 12px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
}
.woocommerce ul.products li.product a.button:hover { background: var(--c-brand-dk) !important; }

/* ============================================================
   SHOP / ARCHIVE layout
   ============================================================ */
.shop-filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--c-dark-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  cursor: pointer;
  touch-action: manipulation;
}
.shop-filter-toggle svg { width: 16px; height: 16px; }
.shop-filter-toggle .chevron-icon { margin-left: auto; transition: transform 0.25s ease; }
.shop-filter-toggle[aria-expanded="true"] .chevron-icon { transform: rotate(180deg); }

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}
#shop-sidebar-panel {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.sidebar-widget {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 18px;
  margin-bottom: 16px;
}
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--c-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-brand);
}
.sidebar-widget input[type="number"],
.sidebar-widget input[type="text"] {
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  color: var(--c-text);
  padding: 7px 10px;
  font-size: 0.86rem;
  outline: none;
  width: 80px;
}
.sidebar-widget input:focus { border-color: var(--c-brand); }

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.single-product-page {
  padding: 28px 0 64px;
  overflow-x: hidden;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  gap: 48px;
  align-items: start;
  overflow: hidden;
}

/* Galerie */
.product-gallery-col {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  min-width: 0;
}
.gallery-main {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg-card);
  aspect-ratio: 3/4;
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 0.4s ease;
  background: var(--c-bg-card);
}
.gallery-main:hover img { transform: scale(1.03); }
.gallery-badges {
  position: absolute;
  top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
}
.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 12px;
  z-index: 3;
  pointer-events: none;
}
.gallery-nav button {
  pointer-events: auto;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-dark);
  transition: all var(--ease);
  touch-action: manipulation;
}
.gallery-nav button:hover { background: var(--c-brand); color: #fff; }
.gallery-nav button svg { width: 18px; height: 18px; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.gallery-thumbs img {
  aspect-ratio: 1;
  border-radius: var(--r);
  object-fit: cover;
  object-position: top;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--c-bg-card);
  transition: all var(--ease);
  width: 100%;
  display: block;
}
.gallery-thumbs img:hover { border-color: var(--c-brand-lt); }
.gallery-thumbs img.active { border-color: var(--c-brand); box-shadow: 0 0 0 1px var(--c-brand); }

/* Résumé produit */
.product-summary-col { min-width: 0; }

.prod-breadcrumb {
  font-size: 0.78rem;
  color: var(--c-text-lt);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.prod-breadcrumb a { color: var(--c-text-lt); }
.prod-breadcrumb a:hover { color: var(--c-brand-dk); }
.prod-breadcrumb .sep { opacity: 0.4; }

.prod-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.prod-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: var(--c-text);
  margin-bottom: 14px;
}

.prod-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.prod-rating .stars svg { width: 16px; height: 16px; }
.prod-rating .rating-txt { font-size: 0.82rem; color: var(--c-text-lt); }
.prod-rating .reviews-link { font-size: 0.82rem; color: var(--c-brand-dk); text-decoration: underline; }
.prod-rating .verified { font-size: 0.75rem; color: var(--c-success); display: flex; align-items: center; gap: 4px; }
.prod-rating .verified svg { width: 13px; height: 13px; }

.prod-divider { height: 1px; background: var(--c-border); margin: 18px 0; }

.prod-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.prod-price-cur { font-size: 2rem; font-weight: 700; color: var(--c-gold); line-height: 1; }
.prod-price-old { font-size: 1.05rem; color: var(--c-text-lt); text-decoration: line-through; }
.prod-price-disc {
  background: rgba(232,93,111,0.12);
  color: var(--c-brand);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.prod-price-tax { font-size: 0.75rem; color: var(--c-text-lt); align-self: flex-end; padding-bottom: 4px; }

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.stock-status.in-stock { color: var(--c-success); }
.stock-status.in-stock::before { content:''; width: 8px; height: 8px; background: var(--c-success); border-radius: 50%; display: block; }
.stock-status.out-of-stock { color: var(--c-error); }
.stock-status.out-of-stock::before { content:''; width: 8px; height: 8px; background: var(--c-error); border-radius: 50%; display: block; }

.prod-short-desc { font-size: 0.9rem; color: var(--c-text-md); line-height: 1.75; margin-bottom: 20px; }
.prod-short-desc p { margin-bottom: 0; }

/* Specs highlights */
.specs-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.spec-pill {
  background: var(--c-dark-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 10px 12px;
  text-align: center;
}
.spec-pill-val { font-size: 0.9rem; font-weight: 700; color: var(--c-text); word-break: break-word; }
.spec-pill-key { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--c-text-lt); margin-top: 2px; }

/* Options/swatches */
.prod-options { margin-bottom: 20px; }
.option-group { margin-bottom: 16px; }
.option-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.option-label .selected-val { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--c-text-md); }
.option-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  padding: 8px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  font-size: 0.83rem;
  cursor: pointer;
  transition: all var(--ease);
  color: var(--c-text);
  background: var(--c-bg-card);
  white-space: nowrap;
  touch-action: manipulation;
}
.swatch:hover { border-color: var(--c-brand-lt); color: var(--c-brand); }
.swatch.active { border-color: var(--c-brand); background: rgba(232,93,111,0.08); color: var(--c-brand); font-weight: 600; }
.swatch.out { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }

/* ATC row */
.atc-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
  width: 100%;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-dark-3);
}
.qty-btn {
  width: 44px;
  height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--c-text);
  transition: all var(--ease);
  background: transparent;
  flex-shrink: 0;
  touch-action: manipulation;
}
.qty-btn:hover { background: var(--c-dark-2); color: var(--c-brand); }
.qty-input {
  width: 52px;
  border: none;
  border-left: 1.5px solid var(--c-border);
  border-right: 1.5px solid var(--c-border);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  outline: none;
  height: 52px;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.atc-btn-main {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0 20px;
  height: 52px;
}
.wish-btn {
  width: 52px; height: 52px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-lt);
  flex-shrink: 0;
  transition: all var(--ease);
}
.wish-btn:hover { border-color: var(--c-error); color: var(--c-error); background: rgba(255,107,107,0.05); }
.wish-btn svg { width: 20px; height: 20px; }

.buy-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  background: transparent;
  border: 2px solid var(--c-border);
  color: var(--c-text);
  border-radius: var(--r);
  transition: all var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.buy-now-btn:hover { background: var(--c-dark-2); color: #fff; border-color: var(--c-dark-2); }

/* Trust box */
.prod-trust-box {
  background: var(--c-dark-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.ptrust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--c-text-md);
  line-height: 1.5;
}
.ptrust-item svg { width: 18px; height: 18px; color: var(--c-brand); flex-shrink: 0; margin-top: 1px; }
.ptrust-item strong { color: var(--c-text); }

/* Share */
.prod-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--c-text-lt);
  flex-wrap: wrap;
}
.share-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--c-border);
  border-radius: 40px;
  font-size: 0.78rem;
  color: var(--c-text-lt);
  transition: all var(--ease);
}
.share-btn:hover { border-color: var(--c-brand); color: var(--c-brand); }
.share-btn svg { width: 14px; height: 14px; }

/* ============================================================
   PRODUCT TABS
   ============================================================ */
.prod-tabs-section { margin-top: 56px; border-top: 1px solid var(--c-border); }
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--c-border);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 16px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text-lt);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--ease);
  flex-shrink: 0;
  touch-action: manipulation;
}
.tab-btn:hover { color: var(--c-text-md); }
.tab-btn.active { color: var(--c-brand); border-bottom-color: var(--c-brand); }

.tab-panel { padding: 36px 0; display: none; }
.tab-panel.active { display: block; }
.tab-panel-inner { max-width: 860px; }

.rich-desc { font-size: 0.92rem; line-height: 1.85; color: var(--c-text-md); }
.rich-desc h3 { color: var(--c-text); margin: 24px 0 10px; font-size: 1.1rem; }
.rich-desc ul { list-style: none; padding: 0; }
.rich-desc ul li { padding: 6px 0 6px 20px; position: relative; }
.rich-desc ul li::before { content: '✓'; position: absolute; left: 0; color: var(--c-brand); font-weight: 700; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.specs-table tr { border-bottom: 1px solid var(--c-border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th { width: 42%; padding: 12px 16px; text-align: left; background: var(--c-dark-3); font-weight: 600; color: var(--c-text); font-size: 0.83rem; }
.specs-table td { padding: 12px 16px; color: var(--c-text-md); }

/* Reviews */
.reviews-summary { display: grid; grid-template-columns: auto 1fr; gap: 32px; margin-bottom: 32px; align-items: start; }
.review-big-score { text-align: center; min-width: 100px; }
.score-num { font-size: 3rem; font-weight: 700; color: var(--c-text); line-height: 1; }
.score-stars { justify-content: center; margin: 6px 0; }
.score-count { font-size: 0.78rem; color: var(--c-text-lt); }
.review-bars { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bar-row { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--c-text-lt); }
.bar-row .bar-track { flex: 1; height: 6px; background: var(--c-border); border-radius: 3px; overflow: hidden; }
.bar-row .bar-fill { height: 100%; background: var(--c-gold); border-radius: 3px; }

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { background: var(--c-dark-3); border: 1px solid var(--c-border); border-radius: var(--r); padding: 20px; }
.rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rv-ava { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dk)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.rv-meta { flex: 1; min-width: 0; }
.rv-name { font-weight: 600; font-size: 0.88rem; color: var(--c-text); }
.rv-date { font-size: 0.75rem; color: var(--c-text-lt); }
.rv-body { font-size: 0.88rem; color: var(--c-text-md); line-height: 1.65; }

/* Delivery */
.delivery-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.delivery-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  gap: 12px;
  flex-wrap: wrap;
}
.delivery-opt-left { display: flex; align-items: center; gap: 14px; }
.delivery-opt-left svg { width: 22px; height: 22px; color: var(--c-brand); flex-shrink: 0; }
.delivery-opt-name { font-weight: 600; font-size: 0.9rem; color: var(--c-text); }
.delivery-opt-time { font-size: 0.78rem; color: var(--c-text-lt); margin-top: 2px; }
.delivery-opt-price { font-weight: 700; color: var(--c-text); font-size: 0.95rem; flex-shrink: 0; }
.delivery-opt.featured { border-color: var(--c-brand); background: rgba(232,93,111,0.04); }

/* ============================================================
   STICKY ATC MOBILE
   ============================================================ */
#sticky-atc {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 950;
  background: var(--c-dark-2);
  border-top: 1px solid var(--c-border);
  padding: 10px 16px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  align-items: center;
  gap: 12px;
}
.sticky-info { flex: 1; min-width: 0; }
.sticky-title { font-size: 0.82rem; color: var(--c-text-lt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { font-size: 1.1rem; font-weight: 700; color: var(--c-gold); }
#sticky-atc .btn { flex-shrink: 0; height: 46px; }

/* ============================================================
   SOCIAL PROOF POPUP
   ============================================================ */
#spp {
  position: fixed;
  bottom: 80px; left: 14px;
  z-index: 940;
  background: var(--c-dark-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 290px;
  border-left: 3px solid var(--c-brand);
  animation: slideLeft 0.4s ease;
}
@keyframes slideLeft { from { opacity:0; transform:translateX(-16px); } to { opacity:1; transform:translateX(0); } }
.spp-ava { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dk)); color: #fff; font-weight: 700; font-size: 0.8rem; }
.spp-body { flex: 1; min-width: 0; }
.spp-name { font-size: 0.82rem; font-weight: 700; color: var(--c-text); }
.spp-act { font-size: 0.76rem; color: var(--c-text-lt); line-height: 1.4; }
.spp-time { font-size: 0.68rem; color: var(--c-text-lt); margin-top: 3px; }
.spp-x { color: var(--c-text-lt); flex-shrink: 0; }
.spp-x:hover { color: var(--c-text); }
.spp-x svg { width: 14px; height: 14px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--c-bg-card); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.trust-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); background: var(--c-border); gap: 1px; }
.ts-item { background: var(--c-bg-card); display: flex; align-items: center; gap: 14px; padding: 24px 28px; }
.ts-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dk)); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ts-icon svg { width: 22px; height: 22px; color: #fff; }
.ts-text h4 { font-size: 0.88rem; font-weight: 700; color: var(--c-text); font-family: var(--font); margin-bottom: 2px; }
.ts-text p { font-size: 0.78rem; color: var(--c-text-lt); margin: 0; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-sec { background: linear-gradient(150deg, #0a0a14 0%, #1a1a2e 100%); }
.nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; }
.nl-content h2 { color: #fff; margin-bottom: 10px; }
.nl-content p { color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.nl-perks { display: flex; flex-direction: column; gap: 8px; }
.nl-perk { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.nl-perk svg { width: 14px; height: 14px; color: var(--c-brand-lt); flex-shrink: 0; }
.nl-form form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input {
  flex: 1; min-width: 200px;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--ease);
}
.nl-form input::placeholder { color: rgba(255,255,255,0.35); }
.nl-form input:focus { border-color: var(--c-brand); }
.nl-legal { font-size: 0.73rem; color: rgba(255,255,255,0.3); margin-top: 10px; line-height: 1.5; }
.nl-legal a { color: rgba(255,255,255,0.45); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
#sd-footer { background: #050508; color: rgba(255,255,255,0.65); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.f-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.75; margin-bottom: 20px; }
.f-brand .site-logo { position: static; transform: none; font-size: 1.35rem; color: #fff; margin-bottom: 14px; display: block; }
.social-row { display: flex; gap: 8px; }
.soc-link { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all var(--ease); }
.soc-link:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.soc-link svg { width: 16px; height: 16px; }

.f-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.8px; color: #fff; margin-bottom: 16px; font-family: var(--font); }
.f-col ul { display: flex; flex-direction: column; gap: 8px; }
.f-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,0.45); transition: color var(--ease); }
.f-col ul li a:hover { color: var(--c-brand-lt); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin: 0; }
.payment-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-badge { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 4px 10px; font-size: 0.72rem; color: rgba(255,255,255,0.4); font-weight: 600; letter-spacing: 0.5px; }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.sd-cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.sd-cart-sidebar { background: var(--c-dark-3); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }

.sd-checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.sd-order-review-box { background: var(--c-dark-3); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }

.sd-myaccount-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }

/* WooCommerce form fields */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--c-text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.94rem;
  background: var(--c-dark-3);
  color: var(--c-text);
  transition: border-color var(--ease);
  outline: none;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus { border-color: var(--c-brand); }
.woocommerce-checkout .form-row label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--c-text-md); margin-bottom: 6px; }

#place_order {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-dk) 100%);
  color: #fff;
  border: none;
  padding: 15px 32px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: all var(--ease);
}
#place_order:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,93,111,0.5); }

/* Cart table */
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th, .shop_table td { padding: 14px 12px; border-bottom: 1px solid var(--c-border); vertical-align: middle; font-size: 0.9rem; }
.shop_table th { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--c-text-md); }
.shop_table .product-thumbnail img { width: 72px; height: 96px; object-fit: cover; border-radius: var(--r); }
.shop_table .product-name a { color: var(--c-text); font-weight: 600; }
.shop_table .product-remove a { color: var(--c-text-lt); font-size: 1.4rem; line-height: 1; display: block; text-align: center; }
.shop_table .product-remove a:hover { color: var(--c-error); }
.woocommerce-cart-form .actions { padding-top: 16px; }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.woocommerce-cart-form .coupon input { padding: 9px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r); background: var(--c-dark-3); color: var(--c-text); font-size: 0.9rem; }
.woocommerce-cart-form .coupon input:focus { outline: none; border-color: var(--c-brand); }
.woocommerce-cart-form .button {
  background: var(--c-dark-2);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--ease);
}
.woocommerce-cart-form .button:hover { background: var(--c-brand-dk); }

.cart_totals h2 { font-family: var(--font-serif); font-size: 1rem; margin-bottom: 16px; color: var(--c-text); }
.cart_totals table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart_totals table th, .cart_totals table td { padding: 10px 0; border-bottom: 1px solid var(--c-border); font-size: 0.9rem; color: var(--c-text); }
.cart_totals table .order-total th, .cart_totals table .order-total td { font-weight: 700; font-size: 1rem; border-bottom: none; }
.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-dk) 100%);
  color: #fff !important;
  padding: 14px 24px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--ease);
}
.wc-proceed-to-checkout .checkout-button:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,93,111,0.5); }

/* WooCommerce notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  border-radius: var(--r);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  list-style: none;
}
.woocommerce-notices-wrapper .woocommerce-message { background: rgba(45,138,78,0.1); border-left: 4px solid var(--c-success); color: var(--c-success); }
.woocommerce-notices-wrapper .woocommerce-error { background: rgba(255,107,107,0.1); border-left: 4px solid var(--c-error); color: var(--c-error); }
.woocommerce-notices-wrapper .woocommerce-info { background: rgba(232,93,111,0.08); border-left: 4px solid var(--c-brand); color: var(--c-text); }

/* All WooCommerce buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
button.add_to_cart_button {
  background: var(--c-brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r) !important;
  font-weight: 600 !important;
  transition: background var(--ease) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
button.add_to_cart_button:hover { background: var(--c-brand-dk) !important; color: #fff !important; }

/* ============================================================
   AGE GATE
   ============================================================ */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-gate-box {
  background: var(--c-dark-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.age-gate-logo { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.age-gate-divider { width: 40px; height: 2px; background: var(--c-brand); margin: 20px auto; border-radius: 2px; }
.age-gate-title { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; margin-bottom: 14px; }
.age-gate-text { font-size: 0.9rem; color: var(--c-text-lt); line-height: 1.65; margin-bottom: 24px; }
.age-gate-enter {
  display: block;
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dk));
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all var(--ease);
}
.age-gate-enter:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,93,111,0.4); }
.age-gate-leave { display: block; font-size: 0.84rem; color: var(--c-text-lt); text-decoration: underline; }
.age-gate-leave:hover { color: var(--c-text-md); }
.age-gate-note { font-size: 0.72rem; color: rgba(255,255,255,0.25); margin-top: 20px; line-height: 1.5; }
.age-gate-note a { color: rgba(255,255,255,0.4); }

/* ============================================================
   MISC / UTILITIES
   ============================================================ */
.section-label { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--c-brand); margin-bottom: 12px; }
.fade-up { animation: fadeUp 0.5s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-block { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); }
.stat-block:last-child { border-right: none; }
.stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--c-text); line-height: 1; margin-bottom: 4px; }
/* ═══════════════════════════════
   HERO SECTION
   ═══════════════════════════════ */
.hero { padding: 80px 0 60px; background: linear-gradient(135deg, var(--c-dark) 0%, #1a1a2e 100%); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 480px;
  width: 100%;
}
/* Chrome fix : min-width: 0 empêche les colonnes de déborder */
.hero-content { min-width: 0; overflow: hidden; }
.hero-media {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap {
  width: 100%;
  max-width: 460px;
  position: relative;
  flex-shrink: 0;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.hero-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-brand); margin-bottom: 16px; }
.hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1.15; margin-bottom: 16px; }
.hero-content h1 em { color: var(--c-brand); font-style: normal; }
.hero-lead { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.hero-media { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap { position: relative; width: 100%; max-width: 460px; }
.hero-img-wrap img { width: 100%; border-radius: var(--r-lg); object-fit: cover; object-position: center top; display: block; box-shadow: 0 32px 80px rgba(0,0,0,0.5); aspect-ratio: 1/1; }
.hero-float-badge { position: absolute; top: 20px; left: -16px; background: var(--c-brand); color: #fff; font-size: 0.72rem; font-weight: 700; line-height: 1.3; padding: 8px 14px; border-radius: var(--r); text-align: center; z-index: 2; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* Stats bar */
.stat-lbl { font-size: 0.78rem; color: var(--c-text-lt); text-transform: uppercase; letter-spacing: 0.5px; }

/* ═══════════════════════════════
   PROMO BANNER PLEINE LARGEUR
   ═══════════════════════════════ */
.promo-banner-section {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  /* Pas de padding : pleine largeur comme un vrai e-commerce */
}
.promo-banner-link {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.promo-banner-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}
.promo-banner-link:hover .promo-banner-img {
  transform: scale(1.015);
}

/* Cats grid */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.75)); padding: 28px 20px 18px; color: #fff; font-size: 1rem; font-weight: 700; font-family: var(--font-serif); }
.cat-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 18px 18px; background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 60%, transparent 100%); pointer-events: none; }
.cat-name { color: #fff; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); pointer-events: none; }
.cat-count { color: rgba(255,255,255,0.72); font-size: 0.78rem; letter-spacing: 0.03em; pointer-events: none; }
.cat-arrow { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; transform: translateY(-4px); pointer-events: none; }
.cat-card:hover .cat-arrow { opacity: 1; transform: translateY(0); }
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 60%, transparent 100%); }
/* S'assurer que le lien <a> reçoit les clics sur toute la surface */
.cat-card { cursor: pointer; -webkit-tap-highlight-color: rgba(255,255,255,0.05); }
a.cat-card:focus { outline: 2px solid var(--c-brand); outline-offset: 2px; }

/* Avantages */
.avantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.avantage-item { background: var(--c-bg-card); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px 24px; text-align: center; }
.avantage-icon { width: 52px; height: 52px; margin: 0 auto 16px; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dk)); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.avantage-icon svg { width: 24px; height: 24px; color: #fff; }
.avantage-item h3 { font-size: 1rem; font-weight: 700; color: var(--c-text); margin-bottom: 8px; font-family: var(--font); }
.avantage-item p { font-size: 0.84rem; color: var(--c-text-lt); line-height: 1.6; margin: 0; }

/* Reviews grid homepage */
.reviews-grid-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.single-post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }

/* 404 */
.btn-404-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE — TABLETTE ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .burger { display: flex; }
  #sd-nav-bar { display: none; }
  #sd-announce .announce-links { display: none; }

  /* Logo : quitter position absolute pour éviter le recouvrement du burger */
  .site-logo {
    position: static;
    transform: none;
    left: auto;
    flex: 1;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
    padding: 0 8px;
  }
  .site-logo img,
  .site-logo .custom-logo {
    max-height: 40px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .product-layout { grid-template-columns: 52% 1fr; gap: 28px; }
  .product-gallery-col { top: calc(var(--header-h) + 10px); }

  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid-home { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 200px 1fr; gap: 24px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .single-post-layout { grid-template-columns: 1fr 240px; gap: 32px; }
  .specs-highlights { grid-template-columns: repeat(2, 1fr); }
  .nl-grid { gap: 40px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤768px
   ============================================================ */
@media (max-width: 768px) {
  /* Hero 2 colonnes préservées sur tablette, gap réduit */
  .hero-grid { gap: 28px; }
  .hero-img-wrap { max-width: 380px; }
  .hero { padding: 56px 0 48px; }
  .hero-content h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

  :root {
    --header-h:   56px;
    --announce-h: 0px;
  }

  #sd-announce { display: none; }
  #sd-nav-bar  { display: none; }
  .burger { display: flex; }

  /* Logo mobile — contrainte stricte pour ne jamais bloquer le burger */
  .site-logo {
    position: static;
    transform: none;
    left: auto;
    flex: 1;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
    padding: 0 6px;
  }
  .site-logo img,
  .site-logo .custom-logo {
    max-height: 34px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  /* S'assurer que le burger et les actions restent toujours cliquables */
  .header-top-inner {
    gap: 0;
  }
  .header-actions {
    flex-shrink: 0;
    margin-left: 0;
  }
  .burger {
    flex-shrink: 0;
  }

  /* Container */
  .container { padding: 0 16px; }
  .container-sm { padding: 0 16px; }
  .section { padding: 44px 0; }

  /* Search bar mobile */
  .header-search.open { max-height: 62px; }
  .search-form-inner { padding: 8px 0; gap: 6px; }
  .search-form-inner input[type="search"] { font-size: 0.88rem; padding: 8px 12px; }

  /* ── PAGE PRODUIT MOBILE ── */
  .single-product-page { padding: 0 0 80px; overflow-x: hidden; }
  .single-product-page .container { padding: 0; }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
  }
  .product-gallery-col {
    position: static;
    width: 100%;
  }

  /* Galerie image principale pleine largeur */
  .gallery-main {
    border-radius: 0;
    aspect-ratio: 4/5;
    width: 100%;
  }
  .gallery-main img {
    object-fit: contain;
    object-position: top center;
    height: 100%;
    background: var(--c-bg-card);
  }

  /* Miniatures scroll horizontal */
  .gallery-thumbs {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 10px 16px;
    background: var(--c-dark-2);
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumbs img {
    width: 68px;
    min-width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 6px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  /* Résumé produit */
  .product-summary-col {
    padding: 20px 16px;
    overflow-x: hidden;
    min-width: 0;
  }

  /* Prix */
  .prod-price-cur { font-size: 1.7rem; }

  /* Specs: 2 colonnes */
  .specs-highlights { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .spec-pill-val { font-size: 0.85rem; }

  /* ATC row: empêche débordement */
  .atc-row {
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
  }
  .qty-ctrl { flex-shrink: 0; }
  .atc-btn-main {
    flex: 1;
    min-width: 0;
    font-size: 0.86rem;
    padding: 0 12px;
    white-space: normal;
    text-align: center;
    height: 52px;
  }
  .wish-btn {
    width: 52px;
    min-width: 52px;
    flex-shrink: 0;
  }
  .buy-now-btn { width: 100%; }

  /* Trust box responsive */
  .prod-trust-box { padding: 14px 16px; }

  /* Sticky ATC */
  #sticky-atc { display: flex; }
  body.single-product { padding-bottom: 72px; }
  #spp { bottom: 86px; }

  /* Grilles */
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .avantage-item { padding: 20px 16px; }
  .reviews-grid-home { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Product card */
  .pcard-info { padding: 11px 12px 13px; }
  .pcard-name { font-size: 0.83rem; }
  .pcard-atc { font-size: 0.78rem; padding: 9px 10px; }
  .pcard-wish { opacity: 1; }

  /* WooCommerce loop card */
  .woocommerce ul.products li.product a img { aspect-ratio: 4/5 !important; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Trust strip */
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-item { padding: 18px 14px; gap: 10px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }

  /* Newsletter */
  .nl-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .nl-form form { flex-direction: column; }
  .nl-form input { min-width: unset; }
  .nl-form .btn { width: 100%; }

  /* Tabs */
  .tabs-nav { overflow-x: auto; }
  .tab-btn { padding: 13px 16px; font-size: 0.84rem; }

  /* Specs table scroll */
  .tab-panel-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .specs-table { min-width: 500px; }

  /* Reviews */
  .reviews-summary { grid-template-columns: 1fr; gap: 20px; }

  /* Shop */
  .shop-filter-toggle { display: flex; }
  .shop-layout { grid-template-columns: 1fr; }
  #shop-sidebar-panel {
    position: static;
    display: none;
  }
  #shop-sidebar-panel.open { display: block; }

  /* Cart / checkout */
  .sd-cart-grid { grid-template-columns: 1fr; gap: 24px; }
  .sd-cart-sidebar { position: static; }
  .sd-checkout-grid { grid-template-columns: 1fr; gap: 24px; }
  .sd-order-review-box { position: static; order: -1; padding: 18px 16px; }
  .sd-myaccount-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Cart table responsive — card layout */
  .shop_table thead { display: none; }
  .shop_table tbody tr {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border);
    align-items: center;
  }
  .shop_table td { padding: 0; border: none; }
  .shop_table .product-thumbnail { grid-row: 1 / 3; }
  .shop_table .product-name { grid-column: 2; grid-row: 1; }
  .shop_table .product-price { grid-column: 2; grid-row: 2; font-size: 0.84rem; color: var(--c-text-md); }
  .shop_table .product-quantity { grid-column: 3; grid-row: 1; }
  .shop_table .product-subtotal { grid-column: 3; grid-row: 2; font-weight: 700; color: var(--c-gold); }
  .shop_table .product-remove { grid-column: 2 / 4; justify-self: start; }
  .shop_table td.actions { grid-column: 1 / -1; grid-row: auto; padding-top: 12px; }
  .woocommerce-cart-form .coupon { flex-direction: column; }
  .woocommerce-cart-form .coupon input { width: 100% !important; }

  /* Single post */
  .single-post-layout { grid-template-columns: 1fr; }
  .single-post-layout > aside { display: none; }

  /* 404 */
  .btn-404-group { flex-direction: column; }

  /* Age gate */
  .age-gate-box { padding: 36px 24px; }

  /* Social proof full width */
  #spp { left: 0; right: 0; max-width: none; border-radius: 0; border-top: 3px solid var(--c-brand); border-left: none; }
}

/* ============================================================
   RESPONSIVE — TRÈS PETIT ≤480px
   ============================================================ */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .f-brand { grid-column: auto; }

  .avantages-grid { grid-template-columns: 1fr; }

  .products-grid { gap: 10px; }
  .woocommerce ul.products { gap: 10px !important; }

  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { order: -1; justify-content: center; }
  .hero-img-wrap { max-width: 280px; margin: 0 auto; }
  .hero-float-badge { left: 0; top: 12px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-lead { font-size: 0.9rem; }
  .hero { padding: 36px 0 32px; }
  .pcard-img { aspect-ratio: 4/5; }
  .pcard-atc { font-size: 0.76rem; padding: 9px 8px; }

  .gallery-main { aspect-ratio: 3/4; }

  .cats-grid { gap: 10px; }

  .stat-num { font-size: 1.6rem; }
  .stat-block { padding: 20px 12px; }

  .ts-item { padding: 14px 12px; flex-direction: column; text-align: center; gap: 8px; }
  .ts-text { text-align: center; }

  .specs-highlights { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  #sticky-atc { padding: 8px 12px; }
  #sticky-atc .btn { font-size: 0.86rem; padding: 0 14px; }

  .sd-cart-sidebar { padding: 16px; }
  .sd-order-review-box { padding: 16px; }
  .shop_table tbody tr { grid-template-columns: 60px 1fr auto; }
  .shop_table .product-thumbnail img { width: 60px; height: 80px; object-fit: contain; background: var(--c-bg); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #sd-announce, #sd-header, #sd-nav-bar, #sd-footer, #sticky-atc, #spp, #mobile-drawer, #drawer-backdrop, #age-gate { display: none !important; }
}

/* ═══════════════════════════════════════════════
   PAGINATION WOOCOMMERCE — reset complet
   ═══════════════════════════════════════════════ */
/* Reset total des floats WooCommerce */
.woocommerce nav.woocommerce-pagination::before,
.woocommerce nav.woocommerce-pagination::after { display: none !important; }
.woocommerce nav.woocommerce-pagination ul::before,
.woocommerce nav.woocommerce-pagination ul::after { display: none !important; }
.woocommerce-pagination * { float: none !important; clear: none !important; box-sizing: border-box; }
.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 40px 0 20px;
}
.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul li {
  display: inline-flex !important;
  margin: 0 !important;
  float: none !important;
}
.woocommerce-pagination ul li .page-numbers,
.woocommerce nav.woocommerce-pagination ul li .page-numbers,
.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--r);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text) !important;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  text-decoration: none !important;
  transition: all var(--ease);
  line-height: 1;
}
.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--c-brand) !important;
  border-color: var(--c-brand) !important;
  color: #fff !important;
}
.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--c-brand) !important;
  border-color: var(--c-brand) !important;
  color: #fff !important;
}
.woocommerce-pagination ul li .page-numbers.dots,
.woocommerce nav.woocommerce-pagination ul li .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  cursor: default;
}
/* Pagination générique WordPress */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--r);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  text-decoration: none;
  transition: all var(--ease);
}
.page-numbers:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.page-numbers.current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
nav.woocommerce-pagination { clear: both; }
/* Pagination custom sd-pagination */
.sd-pagination {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 40px 0 20px;
  width: 100%;
  clear: both;
}
.sd-pagination a,
.sd-pagination span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  text-decoration: none;
  transition: all var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.sd-pagination a:hover {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
}
.sd-pagination .current,
.sd-pagination span.current {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
}
.sd-pagination .dots {
  background: transparent;
  border-color: transparent;
}
