/* ============================================
   Club De La Montre â Mobile Menu
   ============================================ */
/* Google Fonts chargÃ©es via head.tpl (preconnect + non-blocking) */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --cdlm-black: #111;
  --cdlm-white: #ffffff;
  --cdlm-accent: #c8a96e;
  --cdlm-grey: #999;
  --cdlm-border: #ebebeb;
  --cdlm-text: #1a1a1a;
  --cdlm-panel-w: 300px;
  --cdlm-transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  --cdlm-font-serif: 'DM Serif Display', 'Georgia', serif;
  --cdlm-font-sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== Typographie â systÃ¨me dÃ©libÃ©rÃ© ===== */

/* DM Sans sur tout le site (corps, nav, UI) */
body,
p, span, a, li, label, input, button, select, textarea,
.nav-link, .navbar-nav, nav,
.elementor-widget-container,
.price, .product-price,
.breadcrumb, .breadcrumb-item,
.btn, .button,
.cdlm-nav-item, .cdlm-sub-item {
  font-family: var(--cdlm-font-sans) !important;
}

/* Bodoni Moda rÃ©servÃ© aux titres de pages et grands moments de marque */
h1, h2, h3,
.h1, .h2, .h3,
.elementor-heading-title,
.page-heading,
.page-title,
.cdlm-mobile-banner__title,
.cdlm-vignette__body h3,
.cdlm-home-intro h2 {
  font-family: var(--cdlm-font-serif) !important;
}

/* Titres de cartes produits en listing : DM Sans (plus lisible en petit) */
.elementor-product-miniature .elementor-title,
.elementor-product-miniature h4 {
  font-family: var(--cdlm-font-sans) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

/* Corriger les titres de section tout-majuscules */
.elementor-heading-title,
h1, h2, h3, h4, h5, h6 {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Titre "Nos NouveautÃ©s Coup de Coeur" â option B */
.elementor-element-56fbb28 h2.elementor-heading-title {
  font-family: var(--cdlm-font-serif) !important;
  font-size: 34px !important;
  font-weight: 400;
}

/* ââ PROMO BANNER â visible sur mobile ET desktop ââ */
.cdlm-promo-banner {
  background: var(--cdlm-black);
  color: var(--cdlm-white);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 10px;
  width: 100%;
  display: block;
}
.cdlm-promo-banner span { color: var(--cdlm-accent); font-weight: 500; }

/* ââ HEADER â mobile uniquement ââ */
.cdlm-header {
  background: var(--cdlm-white);
  border-bottom: 1px solid var(--cdlm-border);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: none;
}
.cdlm-nav-panel { display: none; }
.cdlm-overlay { display: none; }

@media (max-width: 768px) {
  .cdlm-header { display: flex; }
  .cdlm-nav-panel { display: flex; }
  .cdlm-overlay { display: block; }

  /* Cache les Ã©lÃ©ments mobiles natifs PrestaShop */
  .header-nav,
  .header-nav .mobile,
  #menu-icon,
  #_mobile_cart,
  #_mobile_user_info,
  #_mobile_logo,
  #mobile_top_menu_wrapper,
  .header-top {
    display: none !important;
  }

  /* Force affichage notre header */
  #cdlmHeader {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.cdlm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  width: 100%;
}

/* ââ BURGER ââ */
.cdlm-btn-burger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.cdlm-btn-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cdlm-black);
  border-radius: 2px;
  transition: var(--cdlm-transition);
  transform-origin: center;
}
.cdlm-btn-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cdlm-btn-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.cdlm-btn-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ââ LOGO ââ */
.cdlm-logo img { max-height: 44px; width: auto; }

/* ââ ICÃNES ââ */
.cdlm-header-icons { display: flex; align-items: center; gap: 16px; }
.cdlm-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cdlm-black);
  position: relative;
  padding: 2px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.cdlm-cart-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  background: var(--cdlm-accent);
  color: var(--cdlm-white);
  font-size: 9px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ââ OVERLAY ââ */
.cdlm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.4);
  backdrop-filter: blur(2px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cdlm-overlay.is-visible { opacity: 1; pointer-events: all; }

/* ââ PANEL ââ */
.cdlm-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cdlm-panel-w);
  height: 100dvh;
  height: 100vh;
  background: var(--cdlm-white);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform var(--cdlm-transition);
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 4px 0 24px rgba(0,0,0,0.08);
}
.cdlm-nav-panel.is-open { transform: translateX(0); }

.cdlm-panel-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--cdlm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cdlm-panel-logo { color: var(--cdlm-text); font-size: 16px; font-weight: 600; }
.cdlm-panel-logo img { max-height: 36px; width: auto; }
.cdlm-panel-close {
  background: none;
  border: none;
  color: var(--cdlm-grey);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  display: flex;
}
.cdlm-panel-close:hover { color: var(--cdlm-black); }

/* Search */
.cdlm-panel-search {
  padding: 16px 22px;
  border-bottom: 1px solid var(--cdlm-border);
  flex-shrink: 0;
}
.cdlm-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border: 1px solid var(--cdlm-border);
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}
.cdlm-search-wrap:focus-within { border-color: var(--cdlm-accent); }
.cdlm-search-wrap input {
  background: none;
  border: none;
  outline: none;
  color: var(--cdlm-text);
  font-size: 14px;
  width: 100%;
}
.cdlm-search-wrap input::placeholder { color: var(--cdlm-grey); }

/* Nav */
.cdlm-panel-nav {
  padding: 8px 0;
  border-bottom: 1px solid var(--cdlm-border);
}
.cdlm-nav-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cdlm-grey);
  text-transform: uppercase;
  padding: 14px 22px 8px;
}
.cdlm-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  color: var(--cdlm-text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  letter-spacing: 0.01em;
}
.cdlm-nav-item:hover { background: #f9f9f9; color: var(--cdlm-accent); }
.cdlm-nav-arrow {
  color: var(--cdlm-grey);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.cdlm-nav-arrow.is-rotated { transform: rotate(90deg); }

/* Sub-menu */
.cdlm-sub-menu { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.cdlm-sub-menu.is-open { max-height: 300px; }
.cdlm-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px 11px 38px;
  color: #777;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.cdlm-sub-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cdlm-accent);
  opacity: 0.6;
  flex-shrink: 0;
}
.cdlm-sub-item:hover { color: var(--cdlm-black); }

/* User */
.cdlm-panel-user {
  padding: 16px 22px;
  border-bottom: 1px solid var(--cdlm-border);
  flex-shrink: 0;
}
.cdlm-user-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cdlm-text);
  text-decoration: none;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5f5f5;
  transition: background 0.2s;
  border: none;
  width: 100%;
  cursor: pointer;
}
.cdlm-user-btn:hover { background: #efefef; }
.cdlm-user-btn svg { flex-shrink: 0; color: var(--cdlm-accent); }

/* Cart */
.cdlm-panel-cart { padding: 16px 22px; flex-shrink: 0; }
.cdlm-cart-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cdlm-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 16px;
  border-radius: 8px;
  background: var(--cdlm-black);
  transition: opacity 0.2s;
  border: none;
  width: 100%;
  cursor: pointer;
}
.cdlm-cart-btn:hover { opacity: 0.85; }
.cdlm-cart-btn-left { display: flex; align-items: center; gap: 10px; }
.cdlm-cart-pill {
  background: var(--cdlm-accent);
  color: var(--cdlm-white);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Footer */
.cdlm-panel-footer {
  margin-top: auto;
  padding: 16px 22px;
  border-top: 1px solid var(--cdlm-border);
  flex-shrink: 0;
}
.cdlm-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.cdlm-footer-links a {
  color: var(--cdlm-grey);
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.cdlm-footer-links a:hover { color: var(--cdlm-black); }

/* ===== Uniformisation typographie nav ===== */
.cdlm-nav-item span {
  font-size: 19px !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  letter-spacing: 0.02em !important;
}

.cdlm-sub-item {
  font-size: 16px !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  letter-spacing: 0.01em !important;
}

/* ===== Grille produits mobile â pages catÃ©gorie Creative Elements ===== */
/* Le widget CE utilise une CSS Grid native (elementor-grid-mobile-N)     */
/* Les anciens overrides flex cassaient le layout â remplacÃ©s par grid     */
@media (max-width: 768px) {

  /* Force 2 colonnes sur la grille CE (override du elementor-grid-mobile-1) */
  .ce-product-grid.elementor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    display: grid !important;
  }

  /* Assure que les items de grille remplissent bien leur colonne */
  .ce-product-grid.elementor-grid > * {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* RÃ©duit le gap entre produits sur petit Ã©cran */
  .ce-product-grid {
    gap: 8px !important;
  }
}

/* ===== Slider desktop â plein Ã©cran bord Ã  bord ===== */
@media (min-width: 769px) {
  body.page-index #wrapper,
  body.page-index #main,
  body.page-index #content {
    overflow-x: visible !important;
  }
  /* La section CE du slider est "stretched" â on renforce le plein Ã©cran */
  body.page-index .elementor-section-stretched {
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ===== Hero vidÃ©o (desktop + mobile) ===== */
.cdlm-hero-desktop {
  display: block;
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  max-height: 820px;
  background: #0c0c1a url('/img/cms/hero-eteindien-0901-poster.jpg?v=1') center 40% / cover no-repeat;
  overflow: hidden;
}
.cdlm-hero-desktop__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.cdlm-hero-desktop__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 25%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.0) 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.65) 78%, rgba(0,0,0,0.55) 100%);
}
.cdlm-hero-desktop__content {
  position: absolute;
  bottom: 18%;
  left: 8%;
  right: 8%;
  z-index: 2;
  max-width: 580px;
  color: #fff;
}
/* Toutes les nuances de blanc â lisibilitÃ© maximale sur vidÃ©o */
.cdlm-hero-desktop__eyebrow {
  font-family: var(--cdlm-font-sans) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.7);
  margin: 0 0 18px;
  opacity: 1;
}
/* 16/09/2026 : sur les versions traduites, le titre du hero DOIT pouvoir revenir a la
   ligne sur bureau. Constate sur l'apercu Weglot, « There are still some beautiful days
   ahead » se faisait couper a droite. Weglot pose lang="en" sur <html>, on s'appuie dessus.
   🔑 Le francais garde son nowrap inline voulu par Pascal : a 68 px « Il reste de beaux
   jours » deborde le conteneur de 580 px et c'est assume, il file sur l'image. Sans ce
   garde-fou par langue, le francais passait sur deux lignes, verifie le 16/09. */
html:not([lang^="fr"]) .cdlm-hero-desktop__title { white-space: normal !important; }
.cdlm-hero-desktop__title {
  font-family: var(--cdlm-font-serif) !important;
  font-size: 68px !important;
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.75), 0 1px 4px rgba(0,0,0,0.55);
}
.cdlm-hero-desktop__sub {
  font-family: var(--cdlm-font-sans) !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.5);
  margin: 0 0 32px;
  opacity: 1;
}
.cdlm-hero-desktop__cta {
  display: inline-block;
  padding: 15px 36px;
  background: rgba(255,255,255,0.95);
  color: #111;
  font-family: var(--cdlm-font-sans) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: background 0.2s, color 0.2s;
}
.cdlm-hero-desktop__cta:hover {
  background: #c9a84c;
  color: #0c0c1a;
}

/* Desktop tweaks */
@media (min-width: 769px) {
  body.page-index .ls-wp-container,
  body.page-index .ls-slide,
  body.page-index [id^="layerslider"],
  body.page-index .layerslider-wrapper { display: none !important; }
}

/* Mobile : hero pleine hauteur, centrÃ©, textes adaptÃ©s */
@media (max-width: 768px) {
  .cdlm-hero-desktop {
    height: 100vh;
    min-height: 560px;
    max-height: none;
  }
  .cdlm-hero-desktop__video {
    object-position: center center;
  }
  .cdlm-hero-desktop__overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.35) 40%,
      rgba(0,0,0,0.75) 78%,
      rgba(0,0,0,0.88) 100%
    );
  }
  .cdlm-hero-desktop__content {
    top: 50%;
    bottom: auto;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    max-width: none;
    text-align: center;
  }
  .cdlm-hero-desktop__eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin: 0 0 12px;
  }
  .cdlm-hero-desktop__title {
    font-size: 36px !important;
    line-height: 1.1;
    margin: 0 0 14px;
  }
  /* Sur mobile : le br devient un simple espace via le span suivant */
  .cdlm-hero-desktop__title br { display: none; }
  .cdlm-hero-desktop__sub {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 24px;
    padding: 0 4px;
  }
  .cdlm-hero-desktop__cta {
    padding: 14px 28px;
    font-size: 12px;
    display: inline-block;
  }
}

/* ===== BanniÃ¨re mobile couple ===== */
.cdlm-mobile-banner {
  display: none; /* cachÃ© sur desktop */
  position: relative;
  width: 100%;
  min-height: 72vw;
  background: #0c0c1a url('/img/cms/hero-eteindien-0914-mobile.jpg?v=1') center 30% / cover no-repeat;
  overflow: hidden;
}
.cdlm-mobile-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.0) 30%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.68) 82%,
    rgba(0,0,0,0.78) 100%
  );
}
.cdlm-mobile-banner__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 20px 32px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.cdlm-mobile-banner__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 1;
  margin: 0 0 8px;
}
.cdlm-mobile-banner__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.cdlm-mobile-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 55%, rgba(0,0,0,0.70) 100%);
  pointer-events: none;
}
.cdlm-mobile-banner__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.cdlm-mobile-banner__sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255,255,255,0.95);
  margin: 0 0 18px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.cdlm-mobile-banner__btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cdlm-mobile-banner__btn {
  display: inline-block;
  padding: 11px 22px;
  border: 2px solid #fff;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s;
}
.cdlm-mobile-banner__btn:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 768px) {
  /* BanniÃ¨re mobile statique dÃ©sactivÃ©e au profit de la vidÃ©o hero pleine page */
  .cdlm-mobile-banner { display: none !important; }
}

/* ===== Pages catÃ©gorie : photos produits plus grandes + tri lisible sur mobile ===== */
@media (max-width: 768px) {
  /* Image produit : ratio carrÃ© pleine largeur, image entiÃ¨re visible (bracelet compris) */
  .elementor-product-miniature {
    height: auto !important;
    width: 100% !important;
    padding: 2px !important;
  }
  .elementor-product-link {
    width: 100% !important;
    display: block !important;
  }
  /* Le vrai wrapper image est .elementor-image (parent de .elementor-cover-image) */
  .elementor-product-miniature .elementor-image {
    width: calc(100% + 20px) !important;
    max-width: calc(100% + 20px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: -10px -10px 14px -10px !important;
    background: transparent !important;
    overflow: hidden;
    display: block;
  }
  .elementor-product-miniature .elementor-cover-image {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    overflow: hidden;
  }
  .elementor-product-miniature .elementor-cover-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    padding: 6px;
    box-sizing: border-box;
    background: transparent !important;
  }
  /* EmpÃªcher tout chevauchement entre image et texte dans la card */
  .elementor-product-miniature .elementor-product-link {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
  }
  .elementor-product-miniature [class*="product-title"],
  .elementor-product-miniature [class*="product-name"],
  .elementor-product-miniature h3,
  .elementor-product-miniature .elementor-product-price {
    position: relative;
    z-index: 1;
    background: transparent;
  }
  /* Dropdowns de tri (selects Elementor) : largeur suffisante pour afficher le texte */
  .elementor-field.elementor-field-textual.elementor-size-xs {
    min-width: 100% !important;
    width: 100% !important;
    font-size: 13px !important;
    padding: 8px 10px !important;
  }
  /* Row de tri CDLM : empiler les 2 selects verticalement et leur donner toute la largeur */
  .cdlm-sort-row {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .cdlm-sort-row > *,
  .cdlm-sort-row .elementor-select-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Au cas oÃ¹ un widget Elementor parent contraint la largeur */
  .elementor-element.ce-sort-order--layout-inline,
  [class*="ce-sort-order"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Fallback Ã©largi pour tous les selects Elementor sur mobile */
  .elementor-select-wrapper {
    width: 100% !important;
  }
}

/* ===== Meilleures ventes par marque (remplace "NouveautÃ©s Coup de Coeur") ===== */
/* Cache l'ancien widget Elementor NouveautÃ©s (bracelets) */
.elementor-element-1b568d5 { display: none !important; }

.cdlm-bestsellers {
  max-width: 1240px;
  margin: 72px auto 64px;
  padding: 0 24px;
}
.cdlm-bestsellers__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.cdlm-bestsellers__eyebrow {
  font-family: var(--cdlm-font-sans) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 14px;
}
.cdlm-bestsellers__title {
  font-family: var(--cdlm-font-serif) !important;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  color: #1a1a2e;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.cdlm-bestsellers__sub {
  font-family: var(--cdlm-font-sans) !important;
  font-size: 15px;
  line-height: 1.55;
  color: #666;
  margin: 0;
}
.cdlm-bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .cdlm-bestsellers__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 540px) {
  /* Mobile : 1 colonne, cards plus grandes et lisibles */
  .cdlm-bestsellers__grid { grid-template-columns: 1fr; gap: 22px; }
  .cdlm-bestsellers { margin: 48px auto 40px; padding: 0 16px; }
  .cdlm-bestsellers__title { font-size: 26px; }
  .cdlm-bs-card__img { height: 280px; padding: 28px; }
  .cdlm-bs-card__body { padding: 20px 22px 26px; }
  .cdlm-bs-card__name { font-size: 19px; min-height: 0; }
  .cdlm-bs-card__price { font-size: 22px; }
  .cdlm-bs-card__brand { font-size: 11px; padding: 6px 12px; top: 16px; left: 16px; }
}
.cdlm-bs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ece6da;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #1a1a2e;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cdlm-bs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(26,26,46,0.14);
  border-color: #c9a84c;
}
.cdlm-bs-card__brand {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #0c0c1a;
  color: #c9a84c;
  font-family: var(--cdlm-font-sans) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}
.cdlm-bs-card__img {
  position: relative;
  background: #ffffff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
}
.cdlm-bs-card__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.cdlm-bs-card:hover .cdlm-bs-card__img img { transform: scale(1.05); }
.cdlm-bs-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cdlm-bs-card__label {
  font-family: var(--cdlm-font-sans) !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 8px;
}
.cdlm-bs-card__name {
  font-family: var(--cdlm-font-serif) !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  color: #1a1a2e;
  margin: 0 0 12px;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cdlm-bs-card__price {
  font-family: var(--cdlm-font-sans) !important;
  font-size: 20px;
  font-weight: 700;
  color: #c9a84c;
  margin: 0 0 14px;
}
.cdlm-bs-card__cta {
  font-family: var(--cdlm-font-sans) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a2e;
  border-bottom: 2px solid #c9a84c;
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: auto;
  transition: color .18s;
}
.cdlm-bs-card:hover .cdlm-bs-card__cta { color: #c9a84c; }
.cdlm-bestsellers__foot {
  text-align: center;
  margin-top: 36px;
}
.cdlm-bestsellers__all {
  display: inline-block;
  padding: 14px 34px;
  background: transparent;
  color: #1a1a2e;
  font-family: var(--cdlm-font-sans) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #1a1a2e;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.cdlm-bestsellers__all:hover {
  background: #1a1a2e;
  color: #fff;
}

/* ===== Intro homepage native ===== */
/* Chevauchement visuel : la zone blanche remonte sur le bas du hero */
#cdlm-home-sections {
  position: relative;
  background: #fff;
  z-index: 5;
  margin-top: -48px;
  padding-top: 48px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  /* Pas de chevauchement sur mobile : jointure nette vidÃ©o â blanc */
  #cdlm-home-sections {
    margin-top: 0;
    padding-top: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.cdlm-home-intro {
  max-width: 760px;
  margin: 48px auto 40px;
  padding: 0 24px;
  text-align: center;
}
.cdlm-home-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* ===== Vignettes homepage natives (3 colonnes) ===== */
.cdlm-home-vignettes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.cdlm-vignette {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: #fff;
}
.cdlm-vignette:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.cdlm-vignette__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.cdlm-vignette__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.cdlm-vignette:hover .cdlm-vignette__img-wrap img {
  transform: scale(1.04);
}
.cdlm-vignette__body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cdlm-vignette__body h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}
.cdlm-vignette__btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 50px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
}
.cdlm-vignette:hover .cdlm-vignette__btn {
  background: var(--cdlm-accent, #c8a26e);
}

@media (max-width: 900px) {
  .cdlm-home-vignettes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cdlm-home-vignettes { grid-template-columns: 1fr; gap: 14px; }
  .cdlm-home-intro { margin: 32px auto 28px; }
}

/* ===== Listing produits â titre tronquÃ© Ã  2 lignes (desktop + mobile) ===== */
.elementor-product-miniature .elementor-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: unset !important;
  max-height: calc(1.6em * 2) !important;
}

/* Badge "Nouveau" plus petit sur mobile 2 colonnes */
@media (max-width: 768px) {
  .elementor-product-miniature .elementor-badge {
    font-size: 9px !important;
    padding: 2px 4px !important;
    letter-spacing: 0.05em;
  }
}

/* ============================================
   FILTRE PAR MARQUE â menu dÃ©roulant CDLM
   ============================================ */

/* Tri + Marque cÃ´te Ã  cÃ´te */
.cdlm-sort-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.cdlm-sort-row .ce-sort-order {
  flex: 1 1 0;
  min-width: 0;
}
.cdlm-brand-filter {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}
.cdlm-brand-filter select {
  width: 100%;
}

/* ===== CDLM 21/05/2026 - bloc manchettes homepage ===== */
.elementor-element-01ec11a::before{
  content:"Suggestion F\EAte des M\E8res";
  display:block;
  text-align:center;
  font-family:var(--cdlm-font-serif, Georgia, serif);
  font-size:clamp(28px,3.4vw,42px);
  font-weight:400;
  color:var(--cdlm-black, #1a1a2e);
  line-height:1.2;
  margin:0 0 30px;
}
.elementor-element-01ec11a .elementor-image img,
.elementor-element-01ec11a .elementor-cover-image img{
  max-height:220px;width:auto;margin-left:auto;margin-right:auto;object-fit:contain;
}

/* Fix overflow horizontal â mega menu dÃ©bordement inter-page (2026-05-29)
   #iqitmegamenu-horizontal dÃ©borde de 8 719px Ã  droite causant un Ã©cran doublÃ© */
html{overflow-x:hidden!important}
.iqitmegamenu-wrapper{overflow-x:hidden!important}


/* === CDLM CHECKOUT FORM CLEANUP â 2026-06-05 === */
/* 1) Cacher les textes d'aide "Seules les lettres et le point" sur Prenom/Nom */
.form-group:has(input[name="firstname"]) .form-control-comment,
.form-group:has(input[name="lastname"]) .form-control-comment {
  display: none !important;
}

/* 3) Cacher la case Newsletter du formulaire de creation */
.form-group:has(input[name="newsletter"]) {
  display: none !important;
}

/* 2) Cacher le long paragraphe RGPD loi 78-17 (garder la case obligatoire) */
.form-group:has(input[name="customer_privacy"]) em,
.form-group:has(input[name="customer_privacy"]) br,
.form-group:has(input[name="customer_privacy"]) .form-control-comment {
  display: none !important;
}
.form-group:has(input[name="customer_privacy"]) label {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

/* Bonus: serrer le formulaire visuellement */
#customer-form .form-group { margin-bottom: 12px !important; }
#customer-form .form-text { display: none !important; }

/* ============================================================
   CHANTIER MOBILE 06/07/2026 â C sticky Acheter Â· D panier Â· E hero
   ============================================================ */

/* ââ C. Sticky Â« Acheter Â» fiche produit (mobile) ââ */
#cdlm-sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1039; /* sous la modale blockcart (1050) et son backdrop (1040) */
  display: none;
  align-items: center;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e8e2d4;
  box-shadow: 0 -6px 24px rgba(12,12,26,0.14);
  transform: translateY(110%);
  transition: transform 0.28s ease;
}
#cdlm-sticky-buy.is-on { transform: translateY(0); }
@media (max-width: 767px) {
  #cdlm-sticky-buy { display: flex; }
}
.cdlm-sticky-buy__price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 72px;
}
.cdlm-sticky-buy__price-current {
  font-family: var(--cdlm-font-sans, 'DM Sans', sans-serif);
  font-size: 19px;
  font-weight: 700;
  color: #0c0c1a;
  white-space: nowrap;
}
.cdlm-sticky-buy__price-old {
  font-family: var(--cdlm-font-sans, 'DM Sans', sans-serif);
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  white-space: nowrap;
}
.cdlm-sticky-buy__price-old:empty { display: none; }
.cdlm-sticky-buy__btn {
  flex: 1;
  border: 0;
  border-radius: 3px;
  padding: 14px 18px;
  background: #0c0c1a;
  color: #fff;
  font-family: var(--cdlm-font-sans, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(201,168,76,0.55);
  transition: background 0.2s;
}
.cdlm-sticky-buy__btn:active { background: #1a1a2e; }

/* ââ D. Panier mobile : steppers plus grands, poubelle propre ââ */
@media (max-width: 767px) {
  /* Ligne qtÃ© + prix + poubelle : flex au lieu des colonnes bootstrap trop Ã©troites */
  .cart-grid .product-line-grid-right > .row {
    display: flex;
    align-items: center;
    margin: 0;
  }
  .cart-grid .product-line-grid-right > .row > [class*="col-"] {
    float: none;
    width: auto;
    padding: 0;
  }
  .cart-grid .product-line-grid-right > .row > .col-xs-6 { flex: 1; }
  .cart-grid .product-line-grid-right .row:has(> .qty) {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
  }
  .cart-grid .product-line-grid-right .row:has(> .qty) > .qty,
  .cart-grid .product-line-grid-right .row:has(> .qty) > .price {
    float: none;
    width: auto;
    flex: 0 0 auto;
    padding: 0;
  }
  .cart-grid .qty .bootstrap-touchspin {
    display: inline-flex;
    align-items: stretch;
    height: 46px;
    width: 104px;
    box-shadow: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    float: none;
  }
  .cart-grid .qty .bootstrap-touchspin .bootstrap-touchspin-prefix,
  .cart-grid .qty .bootstrap-touchspin .bootstrap-touchspin-postfix { display: none; }
  .cart-grid .qty .bootstrap-touchspin input.js-cart-line-product-quantity {
    flex: 1;
    width: 56px;
    min-height: 0;
    height: auto;
    font-size: 16px;
    border: 0;
    box-shadow: none;
    text-align: center;
    background: #fff;
  }
  .cart-grid .qty .bootstrap-touchspin .input-group-btn-vertical {
    display: flex;
    flex-direction: column;
    width: 42px;
    border-left: 1px solid #ddd;
  }
  .cart-grid .qty .bootstrap-touchspin .btn-touchspin {
    flex: 1;
    min-width: 0;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #f5f3ee;
    color: #0c0c1a;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart-grid .qty .bootstrap-touchspin .btn-touchspin + .btn-touchspin { border-top: 1px solid #ddd; }
  .cart-grid .qty .bootstrap-touchspin .btn-touchspin:active { background: #e8e2d4; }
  .cart-grid .qty .bootstrap-touchspin .btn-touchspin i {
    font-size: 16px;
    position: static;
    top: auto;
    left: auto;
  }
  .cart-line-product-actions .remove-from-cart {
    outline: none !important;
    border: none !important;
    color: #999;
    display: inline-block;
    padding: 8px;
  }
  .cart-line-product-actions .remove-from-cart:hover,
  .cart-line-product-actions .remove-from-cart:active { color: #c0392b; }
  .cart-line-product-actions .remove-from-cart i { font-size: 22px; }
}

/* ââ D. Nuage de tags hors du tunnel (panier + checkout, toutes tailles) ââ */
body#cart .ce-shop-footer-tags,
body#checkout .ce-shop-footer-tags,
body#cart section.elementor-section:has(a[href*="black-friday"]),
body#cart section.elementor-section:has(a[href*="saint-valentin"]),
body#checkout section.elementor-section:has(a[href*="black-friday"]),
body#checkout section.elementor-section:has(a[href*="saint-valentin"]) {
  display: none !important;
}

/* ââ E. Hero home mobile : la vidÃ©o mer/ciel ne montre aucune montre en
   portrait â visuel dÃ©diÃ© (Charlie Paris sur rochers, continuitÃ© mer) ââ */
@media (max-width: 768px) {
  .cdlm-hero-desktop {
    height: 86vh;
    height: 86svh;
    min-height: 520px;
    max-height: none;
    background: #0c0c1a url('/img/cms/hero-eteindien-0914-mobile.jpg?v=1') 50% center / cover no-repeat;
  }
  .cdlm-hero-desktop__video { display: none; }
  /* 14/09/2026 : le titre du hero porte un white-space:nowrap en style inline, pose pour
     un texte court. Des que l'accroche s'allonge, elle est coupee net sur telephone.
     On laisse donc le titre revenir a la ligne sous 768 px, il faut un !important pour
     passer devant le style inline. */
  .cdlm-hero-desktop__title { white-space: normal !important; }
  .cdlm-hero-desktop__overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.46) 0%,
      rgba(0,0,0,0.30) 26%,
      rgba(0,0,0,0.06) 52%,
      rgba(0,0,0,0.02) 70%,
      rgba(0,0,0,0.30) 100%
    );
  }
  .cdlm-hero-desktop__content {
    top: 8%;
    bottom: auto;
    transform: none;
  }
}


/* ===== Selecteur de langue Weglot dans les headers (18/09/2026) ===== */
.weglot-container.wg-default, .weglot-container.wg-default.wg-list { position: static; margin: 0; }
.elementor-widget-wrap .weglot-container, .cdlm-header-icons .weglot-container {
  display: inline-flex; align-items: center; margin: 0 0 0 14px; font-family: inherit; }
.cdlm-header-icons .weglot-container { margin: 0 4px 0 0; }
.weglot-container .country-selector, .weglot-container ul.wg-list, .weglot-container .wg-list {
  display: inline-flex !important; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none;
  background: none; box-shadow: none; border: 0; }
.weglot-container .wg-li { display: inline-flex; margin: 0; padding: 0; }
.weglot-container .wg-li + .wg-li::before { content: "|"; color: #c8c8c8; margin: 0 6px; font-size: 12px; }
.weglot-container .wg-li a {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: #8a8a8a; padding: 0; line-height: 1; background: none; }
.weglot-container .wg-li.wg-current a, .weglot-container .wg-li a[aria-current] { color: #1a1a1a; font-weight: 600; }
.weglot-container .wg-li a:hover { color: #c9a84c; }
.weglot-container .wg-flag, .weglot-container .wgcurrent .wg-flag, .weglot-container .wg-arrow { display: none !important; }
