/* Harmonisation globale de La Selection Francaise - 2026-10-05 */

/* Bouton panier plus lisible et conforme a la palette du site. */
#header #_desktop_cart .blockcart,
#header #_desktop_cart .blockcart.inactive,
#header #_desktop_cart .blockcart.active,
#header #_desktop_cart .blockcart a,
#header .header-nav .cart-preview,
#header .header-nav .cart-preview a {
  background: linear-gradient(135deg, #0d4668 0%, #0f7895 100%) !important;
  color: #fff !important;
}

#header #_desktop_cart .blockcart,
#header .header-nav .cart-preview {
  border: 2px solid #f3c66b !important;
  border-radius: 9px !important;
  box-shadow: 0 3px 10px rgba(13, 70, 104, .28) !important;
}

#header #_desktop_cart .material-icons,
#header #_desktop_cart .cart-products-count,
#header #_desktop_cart .blockcart span,
#header #_desktop_cart .blockcart i {
  color: #fff !important;
}

/* Sur ordinateur, toutes les pages interieures reprennent l'en-tete de l'accueil. */
@media (min-width: 992px) {
  html body:not(.page-index) #header#header .header-top.header-top {
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 0 !important;
  }

  html body:not(.page-index) #header#header .header-top.header-top > .container {
    height: auto !important;
    min-height: 0 !important;
  }

  html body:not(.page-index) #header#header .header-top .container .lsf-header-layout {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) !important;
    grid-template-areas: "cats home search" !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 108px !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #_desktop_top_menu {
    grid-area: cats !important;
    position: static !important;
    inset: auto !important;
    place-self: center stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #top-menu {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #top-menu > li.category {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex: 1 1 0 !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #top-menu > li.category > a.dropdown-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: .78rem !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
    animation: none !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #_desktop_logo {
    grid-area: home !important;
    position: static !important;
    inset: auto !important;
    place-self: center !important;
    width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #_desktop_logo h1 {
    width: 96px !important;
    height: auto !important;
    margin: 0 !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #_desktop_logo a {
    display: block !important;
    width: 96px !important;
    max-width: 96px !important;
    margin: 0 !important;
    padding: 6px 8px 5px !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #_desktop_logo img.logo {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 68px !important;
    margin: 0 auto !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #search_widget {
    grid-area: search !important;
    position: static !important;
    inset: auto !important;
    place-self: center stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  html body:not(.page-index) #header#header .header-top .lsf-header-layout #search_widget form,
  html body:not(.page-index) #header#header .header-top .lsf-header-layout #search_widget input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Les anciens lys dores disparaissent sur toutes les pages. */
.lsf-side-decor,
.lsf-side-decor-left,
.lsf-side-decor-right {
  display: none !important;
}

/* Filets lateraux bleu-blanc-rouge communs a toutes les pages. */
.lsf-side-signature {
  position: fixed !important;
  top: 54% !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #0d4668 !important;
  opacity: .92 !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

.lsf-side-signature__text {
  writing-mode: vertical-rl !important;
  text-orientation: upright !important;
  color: #0d4668 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 2.4px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.lsf-side-signature--left .lsf-side-signature__text {
  transform: none !important;
}

.lsf-side-signature__ornament {
  position: relative !important;
  display: block !important;
  width: 11px !important;
  height: 210px !important;
  background: linear-gradient(to right, #174a72 0 33.33%, #fffdf5 33.33% 66.66%, #d84a4a 66.66% 100%) !important;
  border-radius: 6px !important;
  box-shadow: 0 0 0 1px rgba(182, 138, 53, .34), 0 3px 10px rgba(13, 70, 104, .12) !important;
}

.lsf-side-signature__ornament::before,
.lsf-side-signature__ornament::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  width: 9px !important;
  height: 9px !important;
  background: #b68a35 !important;
  transform: translateX(-50%) rotate(45deg) !important;
}

.lsf-side-signature__ornament::before { top: -17px !important; }
.lsf-side-signature__ornament::after { bottom: -17px !important; }

@media (max-width: 1119.98px) {
  .lsf-side-signature { display: none !important; }
}

/* Suppression du bandeau beige et de l'apercu rapide sous les images des listes. */
body:not(.page-index) .product-miniature .highlighted-informations,
body:not(.page-index) .product-miniature .quick-view {
  display: none !important;
}

body:not(.page-index) .product-miniature .thumbnail-top,
body:not(.page-index) .product-miniature .product-thumbnail {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body:not(.page-index) .product-miniature .thumbnail-top > .product-thumbnail {
  height: 100% !important;
  min-height: 100% !important;
}

/* Article 11 des CGV : les fonds blancs colles au texte deviennent transparents. */
body#cms.cms-id-3 #content span[style*="background-color:#ffffff"],
body#cms.cms-id-3 #content span[style*="background-color: #ffffff"],
body#cms.cms-id-3 #content span[style*="background-color:rgb(255"],
body#cms.cms-id-3 #content span[style*="background-color: rgb(255"] {
  background-color: transparent !important;
}
