/* ==========================================================================
   slidex-brand.css — Feuille d'identité visuelle pour le thème PrestaShop
   "Slidex Shop", extraite du site institutionnel slidex-fixed.

   ⚠️ EMPLACEMENT : ce fichier est livré ici (templates/) pour respecter la
   consigne "fichiers prêts à déposer dans /themes/slidex-shop/templates/".
   En pratique, PrestaShop attend les CSS de thème dans
   themes/slidex-shop/assets/css/ — voir la TODO en fin de header.tpl et
   footer.tpl pour l'enregistrer proprement via le hook `actionRegisterStylesheets`
   du fichier module de thème (ou simplement en le déplaçant et en gardant
   un <link> direct pour un démarrage rapide).

   Légende :
   [SITE] = valeur reprise telle quelle du site institutionnel (voir
            DESIGN-SYSTEM.md pour la source exacte : fichier + ligne)
   [PS]   = ajout propre à l'intégration PrestaShop (pas de composant
            institutionnel équivalent)
   ========================================================================== */

:root {
  /* ---- [SITE] Couleurs de marque ---- */
  --slidex-primary: #2563eb;
  --slidex-primary-hover: #1d4ed8;
  --slidex-primary-tint: #eef4ff;

  /* ---- [SITE] Navy (hero .np-header, CTA sombre .np-cta) ---- */
  --slidex-navy-900: #0f172a;   /* titres + 1er ton du gradient hero */
  --slidex-navy-800: #162444;   /* 2e ton du gradient hero */
  --slidex-navy-950: #0a0f1e;   /* 1er ton du gradient CTA final (plus sombre) */
  --slidex-navy-925: #0f1f3d;   /* 2e ton du gradient CTA final */

  /* ---- [SITE] Textes ---- */
  --slidex-text-heading: #0f172a;
  --slidex-text-body: #334155;
  --slidex-text-muted: #64748b;
  --slidex-text-faint: #94a3b8;
  --slidex-text-on-dark-strong: rgba(255, 255, 255, 0.85);
  --slidex-text-on-dark: rgba(255, 255, 255, 0.6);
  --slidex-text-on-dark-faint: rgba(255, 255, 255, 0.4);

  /* ---- [SITE] Surfaces ---- */
  --slidex-surface: #ffffff;
  --slidex-surface-tint: #f8fafc;
  --slidex-surface-tint-2: #f2f2f4;
  --slidex-surface-tint-3: #f6f8fb;
  --slidex-footer-bg: #171717;

  /* ---- [SITE] Bordures ---- */
  --slidex-border: #e8edf5;
  --slidex-border-soft: #eef2f7;
  --slidex-border-header: #eef1f6;

  /* ---- [SITE] Statut produit ponctuel (badge "bientôt disponible") ---- */
  --slidex-status-amber: #9a3412;

  /* ---- [SITE] Typographie : aucune police externe, système uniquement ---- */
  --slidex-font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --slidex-font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --slidex-weight-heading: 800;
  --slidex-weight-medium: 700;
  --slidex-weight-regular: 400;
  --slidex-letter-spacing-tight: -0.03em;
  --slidex-letter-spacing-kicker: 0.1em;

  /* ---- [SITE] Rayons / ombres ---- */
  --slidex-radius-pill: 300px;
  --slidex-radius-lg: 24px;
  --slidex-radius-md: 16px;
  --slidex-radius-sm: 10px;
  --slidex-radius-xs: 8px;
  --slidex-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --slidex-shadow-card-hover: 0 20px 44px rgba(0, 0, 0, 0.09);
  --slidex-shadow-button: 0 4px 8px 0 rgba(37, 99, 235, 0.2);

  /* ---- [PS] Rythme vertical générique ---- */
  --slidex-section-padding: 80px;
}

/* ==========================================================================
   [SITE] HEADER — repris de css/slidex-custom.css:412-553
   ========================================================================== */
.site-header {
  background: var(--slidex-surface);
  border-bottom: 1px solid var(--slidex-border-header);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
}
.site-header__logo {
  flex-shrink: 0;
  font-family: var(--slidex-font-heading);
  font-size: 1.35rem;
  font-weight: var(--slidex-weight-heading);
  letter-spacing: var(--slidex-letter-spacing-tight);
  color: var(--slidex-text-heading);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__logo span { color: var(--slidex-primary); }
.site-header__logo-suffix {
  /* [PS] Suffixe "Shop" pour distinguer la boutique du site institutionnel */
  color: var(--slidex-text-muted);
  font-weight: var(--slidex-weight-medium);
  font-size: 0.85rem;
}
.site-header__nav { display: flex; align-items: center; gap: 8px; margin: 0 auto; }
.site-header__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-header__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--slidex-radius-sm);
  font-size: 0.95rem;
  font-weight: var(--slidex-weight-medium);
  color: var(--slidex-text-body);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.site-header__link:hover { background: var(--slidex-surface-tint); color: var(--slidex-text-heading); }
.site-header__link:focus-visible { outline: 2px solid var(--slidex-primary); outline-offset: 2px; }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header__search { flex-shrink: 0; }
.site-header__nav1 { display: flex; align-items: center; }
.site-header__full-width:empty { display: none; }

.hamburger-menu { display: none; padding: 8px; background: transparent; border: 0; cursor: pointer; }
.hamburger-menu-line { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--slidex-text-heading); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 991px) {
  .site-header__nav { display: none; }
  .site-header__cta { display: none; }
  .hamburger-menu { display: block; }
}

/* ==========================================================================
   [SITE] BOUTON PRIMAIRE — repris de css/et-voila.webflow.css:3817
   ========================================================================== */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px 13px 26px;
  border: 0;
  border-radius: var(--slidex-radius-pill);
  background-color: var(--slidex-primary);
  box-shadow: var(--slidex-shadow-button);
  color: #ffffff;
  font-family: var(--slidex-font-heading);
  font-size: 0.95rem;
  font-weight: var(--slidex-weight-medium);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  transition: opacity 0.15s ease;
}
.primary-button:hover { opacity: 0.88; color: #ffffff; }
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--slidex-radius-pill);
  border: 1px solid var(--slidex-border);
  background: transparent;
  color: var(--slidex-text-heading);
  font-weight: var(--slidex-weight-medium);
  text-decoration: none;
}
.secondary-button:hover { opacity: 0.88; }

/* ==========================================================================
   [SITE] FOOTER — repris de includes/footer.html
   ========================================================================== */
.slidex-footer { background: var(--slidex-footer-bg); padding: 64px 0 32px; color: rgba(255, 255, 255, 0.7); }
.slidex-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.slidex-footer h4 { color: #ffffff; font-size: 1rem; font-weight: var(--slidex-weight-heading); margin: 0 0 18px; }
.slidex-footer-tagline { color: rgba(255, 255, 255, 0.6); margin: 8px 0 0; }
.slidex-footer ul { list-style: none; margin: 0; padding: 0; }
.slidex-footer li { margin: 0 0 10px; }
.slidex-footer a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.slidex-footer a:hover { color: #ffffff; }
.slidex-footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.slidex-footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.slidex-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--slidex-radius-xs);
  color: #fff;
}
@media (max-width: 900px) {
  .slidex-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .slidex-footer-grid { grid-template-columns: 1fr; }
}

/* [PS] Bloc hooks additionnels dans le footer (CMS, moyens de paiement…) */
.slidex-footer-hooks:empty { display: none; }
.slidex-footer-hooks { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   [SITE] HERO SOMBRE .np-header — repris tel quel (voir DESIGN-SYSTEM.md §6 :
   ce hero est réellement sombre/navy dans le site, pas "clair")
   ========================================================================== */
.np-header {
  position: relative;
  overflow: hidden;
  padding: 56px 0 52px;
  background: linear-gradient(135deg, var(--slidex-navy-900) 0%, var(--slidex-navy-800) 100%);
}
.np-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--slidex-surface);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.np-header-kicker {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: var(--slidex-weight-medium);
  letter-spacing: var(--slidex-letter-spacing-kicker);
  text-transform: uppercase;
  color: #7db0fb;
}
.np-header-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: var(--slidex-weight-heading);
  line-height: 1.08;
  letter-spacing: var(--slidex-letter-spacing-tight);
}
.np-header-desc { max-width: 480px; color: var(--slidex-text-on-dark); font-size: 0.95rem; line-height: 1.7; margin: 18px 0 0; }
.np-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: var(--slidex-weight-medium);
}

/* ==========================================================================
   [SITE] CARTES GAMME/PRODUIT .hl__* — reprises de css/slidex-custom.css:1868-2004
   ========================================================================== */
.slidex-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.slidex-card { position: relative; aspect-ratio: 10 / 7; border-radius: var(--slidex-radius-lg); overflow: hidden; background: var(--slidex-surface-tint-2); }
.slidex-card-media { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--slidex-surface-tint-2); }
.slidex-card-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 4vw, 32px);
  color: #ffffff;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.62) 0%, rgba(10, 15, 30, 0.28) 45%, rgba(10, 15, 30, 0) 88%);
}
.slidex-card-kicker { margin: 0 0 8px; font-size: 0.78rem; font-weight: var(--slidex-weight-medium); color: rgba(255, 255, 255, 0.72); }
.slidex-card-title { margin: 0 0 6px; font-size: 1.1rem; font-weight: var(--slidex-weight-heading); }
.slidex-card-sub { margin: 0 0 14px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); }
.slidex-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.slidex-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: var(--slidex-radius-xs); font-size: 0.85rem; font-weight: var(--slidex-weight-medium); text-decoration: none; }
.slidex-btn--primary { background: var(--slidex-primary); color: #fff; }
.slidex-btn--primary:hover { background: var(--slidex-primary-hover); color: #fff; }
.slidex-btn--ghost { background: #fff; color: var(--slidex-text-heading); }
.slidex-btn--ghost:hover { opacity: 0.88; }
@media (max-width: 900px) {
  .slidex-card-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   [SITE] BANDE DE RÉASSURANCE — reprise de kits-renovation.html:81-98
   Branchée sur le hook natif PrestaShop `displayReassurance` (product.tpl)
   ========================================================================== */
.slidex-reassurance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--slidex-radius-md);
  background: linear-gradient(135deg, var(--slidex-navy-900) 0%, var(--slidex-navy-800) 100%);
}
.slidex-reassurance-item { text-align: center; }
.slidex-reassurance-value { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: var(--slidex-weight-heading); color: #ffffff; }
.slidex-reassurance-label { margin-top: 4px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   [SITE] PANNEAU PRODUIT À ONGLETS — repris de product-detail.html
   (habille les onglets natifs PrestaShop dans product.tpl)
   ========================================================================== */
.slidex-panel-section { background: var(--slidex-surface-tint); padding: 56px 0; border-radius: var(--slidex-radius-lg); }
.slidex-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--slidex-border); }
.slidex-tab {
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: var(--slidex-weight-medium);
  color: var(--slidex-text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
}
.slidex-tab:hover { color: var(--slidex-text-heading); }
.slidex-tab.active,
.slidex-tab[aria-selected="true"] { color: var(--slidex-text-heading); font-weight: 700; border-bottom-color: var(--slidex-text-heading); }
.slidex-tabpanel { padding: 28px 4px 8px; }
.slidex-spec-list { display: flex; flex-direction: column; border-top: 1px solid var(--slidex-border); }
.slidex-spec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 14px 2px; border-bottom: 1px solid var(--slidex-border); font-size: 0.92rem; }
.slidex-spec-row dt { color: var(--slidex-text-heading); font-weight: var(--slidex-weight-medium); }
.slidex-spec-row dd { margin: 0; color: var(--slidex-text-muted); }

/* ==========================================================================
   [SITE] Bloc contact produit — remplace le bouton natif "Je cherche un
   pro" (non pertinent pour Slidex Shop, voir product.tpl)
   ========================================================================== */
.slidex-product-contact { margin-top: 16px; }
.slidex-product-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slidex-text-body);
  font-size: 0.9rem;
  font-weight: var(--slidex-weight-medium);
  text-decoration: none;
  border-bottom: 1px solid var(--slidex-border);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.slidex-product-contact-link:hover { color: var(--slidex-primary); border-color: var(--slidex-primary); }
.slidex-product-contact-icon { display: inline-flex; width: 16px; height: 16px; color: var(--slidex-primary); }
.slidex-product-contact-icon svg { width: 100%; height: 100%; }

/* ==========================================================================
   [PS] Rythme vertical générique des sections de la boutique
   ========================================================================== */
.slidex-section { padding-top: var(--slidex-section-padding); padding-bottom: var(--slidex-section-padding); }
/* Conteneur (vient de Webflow sur le site vitrine) */
.container-default {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
/* Icônes compte / panier (hook displayTop) : taille bornée */
.shopping-cart svg,
.user-info svg,
.blockcart svg {
  width: 24px;
  height: 24px;
  display: block;
}
/* ===== Fiche produit : bouton panier + couleurs Slidex ===== */
#product .product-add-to-cart .qty { align-self: center; }
#product .btn-primary,
#product .btn-add-to-cart,
#product .add-to-cart {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
  border-radius: 300px !important;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto !important;
  padding: 12px 28px !important;
}
#product .btn-primary:hover,
#product .add-to-cart:hover { background: #1d4ed8 !important; border-color: #1d4ed8 !important; }
#product .add-to-cart .svg { display: inline-flex; width: 20px; height: 20px; background: none !important; }
#product .add-to-cart .svg svg { width: 20px; height: 20px; fill: #fff; color: #fff; }
#product .add-to-cart .svg svg * { fill: #fff; }
.breadcrumb a, #product a.link-back, #product .u-link-back { color: #2563eb !important; }

/* ===== Slidex : couleur principale, cookies, grille fiche produit ===== */
:root { --primary: #2563eb; }
#product .op-back, #product a.op-back { color: #2563eb !important; }
#product .nav-link, #product .nav-link.active { color: #2563eb !important; }
#product .nav-link.active { border-color: #2563eb !important; }

/* Bannière cookies */
#cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #fff;
  box-shadow: 0 -4px 20px rgba(15,23,42,.12); padding: 14px 24px; }
#cookie .content { display: flex; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; font-size: .9rem; }
#cookie .svg svg { width: 28px; height: 28px; display: block; }
#cookie .text a { color: #2563eb; }
#cookie .close-cookie a { display: inline-block; padding: 8px 20px; border-radius: 300px;
  background: #2563eb; color: #fff; font-weight: 700; text-decoration: none; }

/* Fiche produit : 2 colonnes */
.slidex-section { padding: 32px 0 48px; }
.slidex-product-gallery img { max-width: 100%; height: auto; display: block; }
@media (min-width: 900px) {
  .slidex-product-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: start; }
}

/* Fiche produit : pas de bloc "Partager" */
#product .social-sharing { display: none !important; }

/* Fiche produit : pas de commentaires */
#product .product-comments, #product .comments__header { display: none !important; }

/* ===== Fiche produit : finitions ===== */
#product h1.np-header-title { font-size: 1.5rem !important; line-height: 1.25; font-weight: 700; text-transform: none; letter-spacing: -0.01em; }
#product .product-quantity { align-items: center; gap: 14px; }
#product .product-quantity .qty, #product .product-quantity .add { margin-top: 12px; }
#product .add-to-cart { font-size: .85rem !important; padding: 11px 24px !important; }
#product .add-to-cart .svg { display: none !important; }
#product .qty .bootstrap-touchspin { display: inline-flex; flex-wrap: nowrap; align-items: center; width: auto; height: 44px;
  border: 1px solid #e2e8f0; border-radius: 300px; background: #fff; box-shadow: none; overflow: hidden; }
#product .qty .bootstrap-touchspin .input-group-btn { display: flex; margin: 0; }
#product .qty .js-touchspin { background: transparent !important; border: 0 !important; box-shadow: none !important; outline: none !important;
  color: #0f172a !important; width: 40px; height: 44px; padding: 0; font-size: 1.1rem; border-radius: 0; transition: none; }
#product .qty .js-touchspin:hover, #product .qty .js-touchspin:focus, #product .qty .js-touchspin:active {
  background: transparent !important; color: #0f172a !important; box-shadow: none !important; }
#product .qty #quantity_wanted { border: 0 !important; box-shadow: none !important; background: transparent !important;
  width: 44px; height: 44px; padding: 0; text-align: center; font-weight: 700; border-radius: 0; }
#product .product-thumb { border-radius: 10px; overflow: hidden; }
#product .product-thumb.slick-current { border-color: #2563eb !important; }
#product .slidex-product-gallery i.material-icons { color: #2563eb !important; border-color: #2563eb !important; }

/* Barre de réassurance vide */
.slidex-reassurance { display: none !important; }

/* Conteneur historique neutralisé */
.slidex-panel-section { background: transparent !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; }
#product .featured-products { margin-top: 32px; }

/* ===== Bloc Aperçu / Dimensions / Documents ===== */
main { overflow-x: clip; }
.slx-info { width: 100vw; margin-left: calc(50% - 50vw); background: #f5f5f5; padding: 48px 0; margin-top: 40px; }
.slx-info__card { width: min(1200px, calc(100% - 48px)); margin: 0 auto; background: #fff; border-radius: 0; padding: 0 40px 40px; color: #111; }
.slx-tabs { display: flex; gap: 28px; border-bottom: 1px solid #e2e2e2; }
.slx-tab { background: none !important; border: 0 !important; box-shadow: none !important; padding: 22px 4px 16px; margin-bottom: -1px;
  font-size: 1rem; color: #111 !important; cursor: pointer; border-bottom: 3px solid transparent !important; border-radius: 0; }
.slx-tab.is-active { border-bottom-color: #111 !important; font-weight: 600; }
.slx-panel { display: none; padding-top: 32px; }
.slx-panel.is-active { display: block; }
.slx-overview { max-width: 780px; }
.slx-title { font-size: 1.35rem; font-weight: 700; color: #111; margin: 0 0 16px; }
.slx-text { font-size: 1.05rem; line-height: 1.7; color: #333; }
.slx-ref { margin: 20px 0 0; font-size: .9rem; color: #6b6b6b; }
.slx-docs { max-width: 780px; }
.slx-docs ul { list-style: none; margin: 0; padding: 0; }
.slx-docs li a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #eee; color: #111; text-decoration: none; }
.slx-docs li:first-child a { border-top: 1px solid #eee; }
.slx-docs li small { color: #6b6b6b; white-space: nowrap; }
.slx-dim { width: 100%; max-width: 520px; border-collapse: collapse; }
.slx-dim th, .slx-dim td { padding: 14px 0; border-bottom: 1px solid #eee; text-align: left; color: #111; }
.slx-dim th { font-weight: 600; width: 50%; }
@media (max-width: 700px) { .slx-info__card { padding: 0 20px 28px; } }

/* ===== Bandeau Accessoires ===== */
.slx-acc { width: 100vw; margin-left: calc(50% - 50vw); background: #fff; padding: 56px 0 24px; }
.slx-acc__inner { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.slx-acc__title { font-size: 1.6rem; font-weight: 700; color: #111; margin: 0 0 32px; }
.slx-acc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.slx-acc__item { display: flex; flex-direction: column; align-items: center; padding: 24px 24px 28px; border: 1px solid #ddd;
  margin: 0 -1px -1px 0; color: #111; text-decoration: none; background: #fff; }
.slx-acc__item.is-extra { display: none; }
.slx-acc.is-open .slx-acc__item.is-extra { display: flex; }
.slx-acc__img { display: flex; align-items: center; justify-content: center; width: 100%; height: 260px; }
.slx-acc__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.slx-acc__name { margin-top: 16px; font-weight: 600; text-align: center; }
.slx-acc__price { margin-top: 6px; color: #6b6b6b; font-size: .95rem; }
.slx-acc__more { margin-top: 32px; background: #111 !important; color: #fff !important; border: 0 !important; box-shadow: none !important;
  border-radius: 300px; padding: 16px 28px; font-weight: 700; cursor: pointer; }
@media (max-width: 700px) { .slx-acc__grid { grid-template-columns: minmax(0, 1fr); } }

/* Bandeau Accessoires compact + pas de "Déjà vu" */
#product .featured-products { display: none !important; }
.slx-acc { padding: 40px 0 16px; }
.slx-acc__title { font-size: 1.25rem; margin-bottom: 20px; }
.slx-acc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slx-acc__item { padding: 16px 16px 18px; }
.slx-acc__img { height: 150px; }
.slx-acc__name { font-size: .9rem; margin-top: 12px; }
.slx-acc__price { font-size: .85rem; }
.slx-acc__more { margin-top: 20px; padding: 12px 22px; font-size: .9rem; }
@media (max-width: 900px) { .slx-acc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .slx-acc__grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Bandeau avis Google ===== */
.slx-rev { width: 100vw; margin-left: calc(50% - 50vw); background: #f5f5f5; padding: 48px 0; margin-top: 24px; }
.slx-rev__inner { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.slx-rev__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.slx-rev__note { font-size: 2.4rem; font-weight: 700; color: #111; line-height: 1; }
.slx-rev__stars { font-size: 1.6rem; color: #fbbc04; letter-spacing: 2px; }
.slx-rev__count { font-size: 1rem; color: #555; }
.slx-rev__sub { margin: 8px 0 28px; color: #555; }
.slx-rev__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.slx-rev__card { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.slx-rev__cstars { color: #fbbc04; letter-spacing: 2px; }
.slx-rev__card p { margin: 0; color: #222; font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.slx-rev__card strong { margin-top: auto; color: #111; font-size: .9rem; }
.slx-rev__btn { display: inline-block; margin-top: 28px; background: #111; color: #fff; border-radius: 300px; padding: 14px 26px; font-weight: 700; text-decoration: none; }
@media (max-width: 1000px) { .slx-rev__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .slx-rev__grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Bandeau avis Google (style slidex.fr) ===== */
.slx-rev { width: 100vw; margin-left: calc(50% - 50vw); background: #f5f5f5; padding: 48px 0; margin-top: 24px; }
.slx-rev__inner { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.slx-rev__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.slx-rev__brand { display: flex; align-items: center; gap: 14px; }
.slx-rev__g { width: 34px; height: 34px; }
.slx-rev__line { display: flex; align-items: baseline; gap: 10px; }
.slx-rev__note { font-size: 1.8rem; font-weight: 700; color: #111; line-height: 1; }
.slx-rev__stars { font-size: 1.15rem; color: #fbbc04; letter-spacing: 2px; }
.slx-rev__count { margin-top: 4px; font-size: .95rem; color: #555; }
.slx-rev__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slx-rev__btn { display: inline-block; border: 2px solid #2563eb; color: #2563eb; background: transparent; border-radius: 300px;
  padding: 12px 24px; font-weight: 700; text-decoration: none; }
.slx-rev__btn--dark { background: #111; border-color: #111; color: #fff; }
.slx-rev__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.slx-rev__card { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.slx-rev__who { display: flex; align-items: center; gap: 12px; }
.slx-rev__who strong { color: #111; font-size: .95rem; }
.slx-rev__av { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 700; }
.slx-rev__cstars { color: #fbbc04; letter-spacing: 2px; }
.slx-rev__card p { margin: 0; color: #222; font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1000px) { .slx-rev__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .slx-rev__grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Indicateur de stock ===== */
.slx-stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: #0f172a; margin: 8px 0; }
.slx-stock__dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; animation: slxPulse 1.6s infinite; }
.slx-stock--out .slx-stock__dot { background: #94a3b8; animation: none; }
@keyframes slxPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ===== Miniatures sur le côté (desktop) ===== */
@media (min-width: 900px) {
  #product div:has(> .product-thumbs) { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  #product div:has(> .product-thumbs) > .product-thumbs { grid-column: 1; grid-row: 1; width: 92px; }
  #product div:has(> .product-thumbs) > .position-relative { grid-column: 2; grid-row: 1; }
  #product .product-thumbs .slick-list { overflow: visible; height: auto !important; }
  #product .product-thumbs .slick-track { display: flex !important; flex-direction: column; gap: 12px; width: 100% !important; transform: none !important; }
  #product .product-thumbs .slick-slide { width: 100% !important; float: none; height: auto; }
  #product .product-thumbs .slick-arrow { display: none !important; }
  #product .product-thumbs .product-thumb .rc { border: 1px solid #e2e8f0; background: #fff; }
  #product .product-thumbs .slick-current .rc { border-color: #0f172a; }
}

/* ===== Correctif miniatures : hauteur = photo principale ===== */
@media (min-width: 900px) {
  #product div:has(> .product-thumbs) { align-items: stretch; }
  #product div:has(> .product-thumbs) > .product-thumbs { position: relative; min-height: 0; width: 92px; }
  #product .product-thumbs .slick-list { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
  #product .product-thumbs .slick-slide, #product .product-thumbs .product-thumb { width: 92px !important; max-width: 92px; }
}

/* ===== Miniatures v3 : hauteur fixe + défilement ===== */
@media (min-width: 900px) {
  #product div:has(> .product-thumbs) { align-items: start; grid-template-columns: 80px minmax(0, 1fr); }
  #product div:has(> .product-thumbs) > .product-thumbs { position: static; width: 80px; }
  #product .product-thumbs .slick-list { position: static; max-height: 450px; overflow-x: hidden; overflow-y: auto; }
  #product .product-thumbs .slick-track { gap: 10px; }
  #product .product-thumbs .slick-slide, #product .product-thumbs .product-thumb { width: 80px !important; max-width: 80px; }
}

/* ===== Miniatures : masquer les clones du carrousel ===== */
#product .product-thumbs .slick-cloned { display: none !important; }
#product .product-thumbs .product-thumb .rc { width: 100%; }

/* ===== Bloc bienvenue + réassurance ===== */
.slx-welcome { margin: 24px 0; }
.slx-welcome__card { position: relative; overflow: hidden; background: #fff; padding: 56px 48px; min-height: 300px; display: flex; align-items: center; }
.slx-welcome__body { position: relative; z-index: 1; max-width: 600px; }
.slx-welcome__title { font-size: 2.2rem; font-weight: 700; color: #0f172a; margin: 0 0 20px; line-height: 1.15; }
.slx-welcome__text { color: #334155; font-size: 1.05rem; line-height: 1.6; margin: 0 0 28px; }
.slx-welcome__text strong { color: #0f172a; text-decoration: underline; }
.slx-welcome__btn { display: inline-block; background: #0f172a; color: #fff; border-radius: 300px; padding: 14px 28px; font-weight: 700; text-decoration: none; }
.slx-welcome__btn:hover { color: #fff; }
.slx-welcome__art { position: absolute; top: 0; right: -30px; bottom: 0; width: 34%; transform: skewX(-8deg); overflow: hidden; }
.slx-welcome__art::before, .slx-welcome__art::after { content: ""; position: absolute; left: 0; right: 0; height: 50%; background: repeating-linear-gradient(90deg, #bfdbfe 0 44px, #fff 44px 88px); }
.slx-welcome__art::before { top: 0; }
.slx-welcome__art::after { bottom: 0; background-position: 44px 0; }
.slx-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; background: #f5f5f5; padding: 22px 28px; margin-top: 16px; }
.slx-trust__item { display: flex; align-items: center; gap: 14px; color: #0f172a; font-size: .95rem; line-height: 1.35; }
.slx-trust__item svg { flex: 0 0 30px; }
@media (max-width: 900px) { .slx-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .slx-welcome__art { display: none; } .slx-welcome__card { padding: 36px 24px; } }
@media (max-width: 560px) { .slx-trust { grid-template-columns: minmax(0, 1fr); } .slx-welcome__title { font-size: 1.7rem; } }

/* ===== Haut de fiche aéré, quasi plein écran + menu sans halo ===== */
#header, #header .header-top, #header .header-nav, #header .header-bottom, #header .header-container { box-shadow: none !important; border-bottom: 0 !important; }
@media (min-width: 900px) {
  #product .product-container { min-height: calc(100vh - 150px); align-items: center; padding: 56px 24px; }
  #product .product-thumbs .slick-list { max-height: 620px; }
}
@media (min-width: 1200px) {
  #product #wrapper .container { max-width: 1560px; padding-left: 48px; padding-right: 48px; }
}

/* ===== Miniatures v4 : plus de rognage ===== */
@media (min-width: 900px) {
  #product div:has(> .product-thumbs) { grid-template-columns: 96px minmax(0, 1fr); }
  #product div:has(> .product-thumbs) > .product-thumbs { width: 96px; padding: 0 !important; margin: 0 !important; }
  #product .product-thumbs .slick-list { width: 96px; margin: 0 !important; padding: 0 !important; overflow-x: hidden; }
  #product .product-thumbs .slick-track { width: 100% !important; margin: 0 !important; }
  #product .product-thumbs .slick-slide, #product .product-thumbs .product-thumb { width: 100% !important; max-width: none; padding: 0 !important; box-sizing: border-box; }
  #product .product-thumbs .product-thumb .rc, #product .product-thumbs .product-thumb img { display: block; width: 100%; max-width: 100%; }
}

/* ===== Correctifs v5 : miniatures non rognées + haut de fiche large ===== */
@media (min-width: 900px) {
  #product #wrapper.section-principal { max-width: 1560px; padding-left: 48px; padding-right: 48px; }
  #product .slidex-product-grid { gap: 72px; align-items: center; padding: 56px 0; min-height: calc(100vh - 170px); }
  #product .product-thumbs .slick-slide, #product .product-thumbs .product-thumb { margin: 0 !important; }
  #product .product-thumbs .slick-current .rc { border-color: transparent !important; }
}

/* ===== Bloc bienvenue : photo à la place des bandes ===== */
.slx-welcome__art { right: 0; width: 42%; transform: none; background: url('../img/slidex-precablage-usine.jpg') 35% center / cover no-repeat; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.slx-welcome__art::before, .slx-welcome__art::after { display: none; }

/* ===== Bouton Qui sommes-nous en bleu ===== */
.slx-welcome__btn { background: #2563eb; color: #fff; }
.slx-welcome__btn:hover { background: #2563eb; color: #fff; }

/* ===== Photo bienvenue plus grande ===== */
.slx-welcome__art { width: 55%; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); background-position: 40% center; }
.slx-welcome__body { max-width: 45%; }

/* ===== Photo bienvenue : arrondie, plus haute, sans diagonale ===== */
.slx-welcome__card { min-height: 440px; }
.slx-welcome__art { top: 24px; right: 24px; bottom: 24px; width: 50%; clip-path: none; transform: none; border-radius: 20px; background-position: 40% center; }
.slx-welcome__body { max-width: 44%; }

/* ===== Header : recherche, panier, nettoyage ===== */
#header .search-widget .close { display: none !important; }
#header .search-widget__group { position: relative; display: flex; align-items: center; }
#header .search-widget__input-right { border-radius: 300px; border: 1px solid #e2e8f0; height: 42px; padding: 0 52px 0 20px; background: #f8fafc; box-shadow: none; }
#header .search-widget__input-right:focus { border-color: #2563eb; background: #fff; box-shadow: none; outline: 0; }
#header .search-widget__btn { position: absolute; right: 4px; top: 0; height: 42px; width: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }
#header .search-widget__btn .material-icons, #header .search-widget__btn i { color: #2563eb; }
#header .shopping-cart a { position: relative; display: inline-block; }
#header .blockcart__count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 300px; background: #2563eb; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* ===== Header : bouton Voir les produits masqué ===== */
.site-header__cta { display: none !important; }

/* ===== Mini réassurance sous le prix ===== */
.slx-mini { list-style: none; margin: 6px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.slx-mini li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #334155; }
.slx-mini svg { flex: 0 0 18px; color: #2563eb; }

/* ===== Pages catégories : bandeau noir, bouton questions et citation masqués ===== */
.box-bg-title { display: none !important; }
article.citation { display: none !important; }
body#category .btn-mm-icon { display: none !important; }

/* ===== Home : catégories + bandeau slidex.fr ===== */
body.page-index #wrapper.section-principal { max-width: 1320px; }
.slx-cats { margin: 40px 0; }
.slx-cats__title { font-size: 1.8rem; font-weight: 700; color: #0f172a; margin: 0 0 20px; }
.slx-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.slx-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; text-decoration: none; }
.slx-cat:hover { border-color: #2563eb; color: #0f172a; }
.slx-cat__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #f1f5f9 center / cover no-repeat; }
.slx-cat__ph { font-size: 3rem; font-weight: 800; color: #2563eb; }
.slx-cat__name { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; font-weight: 700; }
.slx-cat__name::after { content: "→"; color: #2563eb; }
.slx-band { background: #0f172a; margin: 40px 0; padding: 40px 48px; }
.slx-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.slx-band__title { color: #fff; font-size: 1.6rem; font-weight: 700; margin: 0 0 10px; }
.slx-band__text { color: #cbd5e1; margin: 0; max-width: 680px; line-height: 1.6; }
.slx-band__btn { display: inline-block; background: #2563eb; color: #fff; border-radius: 300px; padding: 14px 28px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.slx-band__btn:hover { color: #fff; }
@media (max-width: 900px) { .slx-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .slx-band { padding: 28px 24px; } }

/* ===== Home : carrousel produits populaires aux couleurs Slidex ===== */
.featured-products .slick-arrow, .featured-products .slick-arrow i, .featured-products .slick-arrow .material-icons { color: #2563eb !important; }
.featured-products .all-product-link, .featured-products .all-product-link i { color: #2563eb !important; }
.featured-products h2, .featured-products .h2, .featured-products .products-section-title { text-align: left; text-transform: none; font-weight: 700; font-size: 1.8rem; color: #0f172a; margin: 0 0 20px; }

/* ===== Cartes catégories : image produit entière ===== */
.slx-cat__media { background-color: #fff; background-size: contain; background-position: center; background-repeat: no-repeat; border-bottom: 1px solid #f1f5f9; }

/* ===== Cartes catégories : titres longs ===== */
.slx-cat__name { min-height: 78px; gap: 12px; line-height: 1.3; }

/* Filtres en puces + filtres actifs */
#search_filters .facet__block{margin:0 0 24px}
#search_filters .facet__title{font-weight:700;font-size:1rem;color:#0f172a;margin:0 0 12px}
#search_filters .custom-control{padding:0;margin:0 8px 8px 0;display:inline-block;min-height:0}
#search_filters .custom-control-label{display:inline-flex;align-items:center;padding:8px 16px;border:1px solid #e2e8f0;border-radius:300px;background:#fff;color:#0f172a;font-weight:600;font-size:.9rem;cursor:pointer;line-height:1.2}
#search_filters .custom-control-label::before,#search_filters .custom-control-label::after{display:none !important}
#search_filters .custom-control--active .custom-control-label{background:#2563eb;border-color:#2563eb;color:#fff}
#search_filters .btn--clearfilter{display:inline-flex !important;width:auto !important;border:0;background:transparent;color:#2563eb;padding:0;margin:0 0 20px;font-weight:600;box-shadow:none}
.active_filters{background:transparent !important;padding:0 !important;margin:0 0 20px}
.active_filters .active-filter__title{font-size:.85rem;color:#64748b;font-weight:600;margin:0 0 8px}
.active_filters__list{display:flex;flex-wrap:wrap;gap:8px}
.active_filters__list-item{border-radius:300px !important;background:#eff6ff !important;border:1px solid #bfdbfe !important;color:#1d4ed8 !important;padding:6px 14px;font-weight:600;margin:0}
.active_filters__list-item strong{color:#1d4ed8}

/* Afficher plus - descriptions longues */
.slx-panel.slx-clamp{max-height:380px;overflow:hidden;position:relative}
.slx-panel.slx-clamp::after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;background:linear-gradient(rgba(255,255,255,0),#fff);pointer-events:none}
.slx-panel:not(.is-active)+.slx-more{display:none}
.slx-more{display:inline-flex;align-items:center;margin:16px 0 0;padding:10px 22px;border:1px solid #2563eb;border-radius:300px;background:#fff;color:#2563eb;font-weight:600;font-size:.9rem;cursor:pointer}
.slx-more:hover{background:#2563eb;color:#fff}

/* Bandeau categories */
.slx-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 0 32px}
@media(min-width:600px){.slx-strip{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1100px){.slx-strip{grid-template-columns:repeat(8,1fr)}}
.slx-strip__item{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 10px 14px;background:#f1f5f9;border-radius:12px;color:#0f172a;text-decoration:none;text-align:center;transition:background .15s,transform .15s}
.slx-strip__item:hover{background:#e2e8f0;transform:translateY(-2px);color:#0f172a}
.slx-strip__media{display:flex;align-items:center;justify-content:center;width:100%;height:84px}
.slx-strip__media img{max-width:100%;max-height:84px;object-fit:contain;mix-blend-mode:multiply}
.slx-strip__name{font-size:.85rem;font-weight:600;line-height:1.3}

/* Pagination en pastilles */
.pagination{gap:8px}
.pagination .page-item{margin:0}
.pagination .page-link{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #e2e8f0 !important;border-radius:300px !important;background:#fff !important;color:#0f172a !important;font-weight:600;box-shadow:none}
.pagination .page-link:hover{border-color:#2563eb !important;color:#2563eb !important}
.pagination .page-item.active .page-link{background:#2563eb !important;border-color:#2563eb !important;color:#fff !important}
.pagination .page-link i{color:inherit}

/* Sous-titres page produits */
.slx-sub{font-size:1.25rem;font-weight:700;color:#0f172a;margin:0 0 16px}
.slx-sub--all{margin:8px 0 0}
