/* ANGE PARADIS — V2 production, CSS visuel isolé — révision B. */

/* Le mobile production place les quatre éléments dans .header-nav .mobile. */
@media (max-width: 767.98px) {
  #header .header-nav,
  #header .header-nav .container,
  #header .header-nav .row {
    height: auto !important;
    max-height: none !important;
  }

  /* Neutralise une éventuelle ancienne copie en cache de l'essai précédent. */
  #header .header-top > .container > .row:first-child {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-height: 0 !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
    padding: 0 !important;
  }

  #header .header-nav .mobile {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px 44px !important;
    align-items: center !important;
    column-gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 74px !important;
    margin: 0 !important;
    padding: 5px 18px !important;
  }

  #header .header-nav #menu-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #header .header-nav #_mobile_logo {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  #header .header-nav #_mobile_user_info {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  #header .header-nav #_mobile_cart {
    grid-column: 4 !important;
    grid-row: 1 !important;
  }

  #header .header-nav #menu-icon,
  #header .header-nav #_mobile_user_info,
  #header .header-nav #_mobile_cart {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    display: flex !important;
    float: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  #header .header-nav #_mobile_cart .blockcart {
    box-sizing: border-box !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header .header-nav #_mobile_logo {
    display: flex !important;
    float: none !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header .header-nav #_mobile_logo img,
  #header .header-nav #_mobile_logo .logo {
    display: block !important;
    width: 100% !important;
    max-width: 250px !important;
    max-height: 64px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }

  #header .header-nav #_mobile_cart .cart-products-count {
    position: absolute !important;
    top: 1px !important;
    right: -3px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #2877d9 !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 20px !important;
    text-align: center !important;
  }

  #header .header-top #search_widget,
  #header .header-top .search-widgets {
    box-sizing: border-box !important;
    width: calc(100% - 36px) !important;
    margin: 6px 18px 14px !important;
  }

  #header .header-top #search_widget form,
  #header .header-top .search-widgets form {
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 58px !important;
    overflow: hidden !important;
    border: 1px solid #d8d5d2 !important;
    border-radius: 30px !important;
    background: #fff !important;
    box-shadow: 0 3px 9px rgba(38, 32, 29, .06) !important;
  }

  #header .header-top #search_widget input[type="text"],
  #header .header-top .search-widgets input[type="text"] {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 58px !important;
    padding: 0 18px 0 22px !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  #header .header-top #search_widget button,
  #header .header-top .search-widgets button,
  #header .header-top #search_widget .search,
  #header .header-top .search-widgets .search {
    order: 3 !important;
    position: static !important;
    flex: 0 0 62px !important;
    width: 62px !important;
    min-width: 62px !important;
    height: 58px !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fff !important;
    color: #171717 !important;
    box-shadow: none !important;
  }

  #header .header-top #search_widget::after,
  #header .header-top .search-widgets::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 5px;
    background: #eadfe5;
  }
}

/* Révision G — en-tête mobile aligné sur la version AP test validée. */
@media (max-width: 767.98px) {
  html body {
    padding-top: 0 !important;
  }

  #header .header-nav .mobile {
    grid-template-columns: 36px minmax(0, 1fr) 38px 38px !important;
    column-gap: 5px !important;
    min-height: 62px !important;
    padding: 4px 10px !important;
  }

  #header .header-nav #menu-icon {
    width: 36px !important;
    min-width: 36px !important;
    height: 48px !important;
  }

  #header .header-nav #menu-icon i.material-icons {
    color: #171717 !important;
    font-size: 30px !important;
    line-height: 1 !important;
  }

  #header .header-nav #_mobile_logo {
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
  }

  #header .header-nav #_mobile_logo img,
  #header .header-nav #_mobile_logo .logo {
    width: auto !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 46px !important;
  }

  #header .header-nav #_mobile_user_info,
  #header .header-nav #_mobile_cart,
  #header .header-nav #_mobile_user_info a,
  #header .header-nav #_mobile_cart a,
  #header .header-nav #_mobile_cart .blockcart,
  #header .header-nav #_mobile_cart .header,
  #header .header-nav #_mobile_user_info .user-info {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #header .header-nav #_mobile_user_info i.material-icons {
    display: inline-block !important;
    width: 30px !important;
    height: 30px !important;
    color: transparent !important;
    font-size: 0 !important;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 23'%3E%3Ccircle cx='11.5' cy='7' r='5.25' fill='none' stroke='%23141414' stroke-width='1.8'/%3E%3Cpath d='M2.1 22.1c.85-4.65 4.8-7.55 9.4-7.55 4.6 0 8.55 2.9 9.4 7.55' fill='none' stroke='%23141414' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  }

  #header .header-nav #_mobile_cart .shopping-cart {
    display: inline-block !important;
    position: static !important;
    width: 29px !important;
    height: 32px !important;
    color: transparent !important;
    font-size: 0 !important;
    opacity: 1 !important;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M12.8 5.65h-1.18a3.97 3.97 0 0 0-7.24 0H3.2A2.7 2.7 0 0 0 .5 8.35v8.45A2.7 2.7 0 0 0 3.2 19.5h9.6a2.7 2.7 0 0 0 2.7-2.7V8.35c0-1.49-1.21-2.7-2.7-2.7ZM8 2.55c1.2 0 2.22.8 2.58 1.95H5.42A2.67 2.67 0 0 1 8 2.55Zm4.8 14.95H3.2a.7.7 0 0 1-.7-.7V8.35c0-.39.31-.7.7-.7h9.6c.39 0 .7.31.7.7v8.45a.7.7 0 0 1-.7.7Z' fill='%23141414'/%3E%3C/svg%3E") !important;
  }

  #header .header-top {
    height: auto !important;
    min-height: 70px !important;
    padding: 4px 0 10px !important;
    overflow: visible !important;
  }

  #header .header-top > .container,
  #header .header-top > .container > .row,
  #header .header-top > .container > .row:first-child {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header .header-top #search_widget,
  #header .header-top .search-widgets {
    position: relative !important;
    left: auto !important;
    float: none !important;
    box-sizing: border-box !important;
    width: calc(100% - 36px) !important;
    max-width: none !important;
    height: 62px !important;
    margin: 0 18px !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  #header .header-top #search_widget form,
  #header .header-top .search-widgets form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 58px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #d9d6d3 !important;
    border-radius: 28px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  #header .header-top #search_widget::after,
  #header .header-top .search-widgets::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background: #e8dfe5 !important;
  }

  #header .header-top #search_widget input[type="text"],
  #header .header-top .search-widgets input[type="text"] {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 12px 0 24px !important;
    border: 0 !important;
    border-radius: 27px 0 0 27px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  #header .header-top #search_widget .search,
  #header .header-top .search-widgets .search {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: static !important;
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
    width: 58px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #171717 !important;
    font-size: 28px !important;
    background: #ffffff !important;
    border: 0 !important;
    transform: none !important;
  }
}

/* Cartes catalogue : structure régulière et promotion contenue. */
.product-miniature .thumbnail-container {
  overflow: hidden !important;
  border-radius: 3px;
}

/* Sélecteurs adaptés au DOM production : body#product est le conteneur. */
html body#product .tabs .nav-tabs .nav-link,
html body#product .tabs .nav-tabs .nav-link:hover,
html body#product .tabs .nav-tabs .nav-link:focus,
html body#product .tabs .nav-tabs .nav-link:active {
  border-color: #cbd6de !important;
  background: #f1f5f7 !important;
  box-shadow: none !important;
  color: #31495b !important;
  transform: none !important;
}

html body#product .tabs .nav-tabs .nav-link.active,
html body#product .tabs .nav-tabs .nav-link.active:hover,
html body#product .tabs .nav-tabs .nav-link.active:focus,
html body#product .tabs .nav-tabs .nav-link.active:active {
  border-color: #263f52 !important;
  background: #263f52 !important;
  box-shadow: 0 6px 16px rgba(38,63,82,.22), inset 0 -3px 0 rgba(255,255,255,.2) !important;
  color: #fff !important;
  font-weight: 700 !important;
  transform: translateY(-1px) !important;
}

.product-miniature .product-flags {
  box-sizing: border-box !important;
  max-width: calc(100% - 20px) !important;
}

@media (max-width: 767.98px) {
  body#index .featured-products .products,
  body#category #js-product-list .products {
    align-items: stretch !important;
  }

  body#index article.product-miniature,
  body#category article.product-miniature,
  body#index article.product-miniature > .thumbnail-container,
  body#category article.product-miniature > .thumbnail-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
  }

  body#index article.product-miniature .product-description,
  body#category article.product-miniature .product-description {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 250px !important;
    padding-bottom: 14px !important;
  }

  body#index article.product-miniature .product-title,
  body#category article.product-miniature .product-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 3.1em !important;
    margin: 8px auto 6px !important;
    padding: 0 10px !important;
    overflow: hidden !important;
  }

  body#index article.product-miniature .product-title a,
  body#category article.product-miniature .product-title a {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    text-align: center !important;
  }

  body#index article.product-miniature .product-flags,
  body#category article.product-miniature .product-flags {
    top: 10px !important;
    right: auto !important;
    left: 11% !important;
    box-sizing: border-box !important;
    width: 78% !important;
    max-width: 78% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body#index article.product-miniature .product-flags li.product-flag.on-sale,
  body#category article.product-miniature .product-flags li.product-flag.on-sale {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
}

/* Fiche produit : quantité compacte, flèches visibles et texte éditorial. */
body#product .product-description-short p,
body#product .tabs .tab-pane p,
body#product .tabs .product-description p {
  text-align: justify !important;
  text-align-last: left !important;
  hyphens: auto !important;
}

body#product .product-quantity .qty,
body#product .product-quantity .bootstrap-touchspin {
  width: 92px !important;
  min-width: 92px !important;
  border-radius: 10px !important;
}

body#product .product-quantity .bootstrap-touchspin {
  overflow: hidden !important;
  border: 1px solid #d7dfe5 !important;
  background: #fff !important;
  box-shadow: 0 2px 7px rgba(35, 57, 73, .08) !important;
}

body#product .product-quantity .bootstrap-touchspin input,
body#product .product-quantity #quantity_wanted {
  width: 64px !important;
  min-width: 64px !important;
  height: 44px !important;
  padding: 0 28px 0 0 !important;
  border: 0 !important;
  background: #fff !important;
  text-align: center !important;
}

body#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical,
body#product .product-quantity .bootstrap-touchspin .input-group-btn {
  position: relative !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 44px !important;
  overflow: hidden !important;
  border-left: 1px solid #cbd6de !important;
  border-radius: 0 9px 9px 0 !important;
  background: linear-gradient(to bottom,#f5f8fa 0,#f5f8fa calc(50% - .5px),#cbd6de calc(50% - .5px),#cbd6de calc(50% + .5px),#f5f8fa calc(50% + .5px),#f5f8fa 100%) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical::before,
body#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  z-index: 9 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) !important;
  border-right: 5px solid transparent !important;
  border-left: 5px solid transparent !important;
}

body#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical::before {
  top: 8px !important;
  border-bottom: 6px solid #263f52 !important;
}

body#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical::after {
  bottom: 8px !important;
  border-top: 6px solid #263f52 !important;
}

body#product .product-quantity .bootstrap-touchspin-up,
body#product .product-quantity .bootstrap-touchspin-down {
  display: flex !important;
  z-index: 6 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body#product .product-quantity .bootstrap-touchspin-up i,
body#product .product-quantity .bootstrap-touchspin-down i {
  display: none !important;
}

@media (max-width: 767.98px) {
  body#product .product-quantity .qty,
  body#product .product-quantity .bootstrap-touchspin {
    width: 88px !important;
    min-width: 88px !important;
  }

  body#product .product-quantity .bootstrap-touchspin input,
  body#product .product-quantity #quantity_wanted {
    width: 58px !important;
    min-width: 58px !important;
    height: 50px !important;
    padding-right: 30px !important;
    line-height: 50px !important;
  }

  body#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical,
  body#product .product-quantity .bootstrap-touchspin .input-group-btn {
    width: 30px !important;
    min-width: 30px !important;
    height: 50px !important;
  }

  body#product .product-quantity .bootstrap-touchspin-up,
  body#product .product-quantity .bootstrap-touchspin-down {
    width: 30px !important;
    min-width: 30px !important;
    height: 25px !important;
    min-height: 25px !important;
    touch-action: manipulation !important;
  }
}

/* Onglets produit stables, avec un seul état actif nettement identifiable. */
body#product .tabs .nav-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
}

body#product .tabs .nav-tabs .nav-item {
  display: block !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body#product .tabs .nav-tabs .nav-link,
html body#product .tabs .nav-tabs .nav-link:hover,
html body#product .tabs .nav-tabs .nav-link:focus,
html body#product .tabs .nav-tabs .nav-link:active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #cbd6de !important;
  border-radius: 12px !important;
  background: #f1f5f7 !important;
  box-shadow: none !important;
  color: #31495b !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: normal !important;
  transform: none !important;
}

html body#product .tabs .nav-tabs .nav-link.active,
html body#product .tabs .nav-tabs .nav-link.active:hover,
html body#product .tabs .nav-tabs .nav-link.active:focus,
html body#product .tabs .nav-tabs .nav-link.active:active {
  border-color: #263f52 !important;
  background: #263f52 !important;
  box-shadow: 0 6px 16px rgba(38, 63, 82, .22), inset 0 -3px 0 rgba(255,255,255,.2) !important;
  color: #fff !important;
  font-weight: 700 !important;
  transform: translateY(-1px) !important;
}

body#product .tabs .tab-content {
  margin-top: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid #e0e6ea !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(42, 65, 82, .06) !important;
}

@media (max-width: 767.98px) {
  body#product .tabs .nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body#product .tabs .nav-tabs .nav-item:nth-child(3) {
    grid-column: 1 / -1 !important;
  }

  html body#product .tabs .nav-tabs .nav-link {
    min-height: 52px !important;
    padding: 9px 10px !important;
    font-size: 14px !important;
  }
}

/* Alerte stock : pictogramme et texte sur le même axe. */
body#product #product-availability {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
}

body#product #product-availability .product-last-items {
  display: inline-flex !important;
  flex: 0 0 28px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  line-height: 28px !important;
  vertical-align: middle !important;
}

html body#product #product-availability i.material-icons.product-last-items {
  position: relative !important;
  top: -4px !important;
}

/* Réassurance : trois cartes utiles, quatrième enfant vide masqué. */
#product .blockreassurance_product {
  display: grid !important;
  gap: 12px !important;
}

#product .blockreassurance_product > .clearfix:empty {
  display: none !important;
}

#product .blockreassurance_product > div:not(.clearfix) {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: 14px !important;
  box-sizing: border-box !important;
  min-height: 92px !important;
  padding: 14px 16px !important;
  border: 1px solid #eee7df !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg,#fffdfa 0,#fff 100%) !important;
  box-shadow: 0 5px 16px rgba(60, 49, 40, .06) !important;
}

#product .blockreassurance_product .item-product {
  display: inline-flex !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  border: 1px solid #f2d9c9 !important;
  border-radius: 50% !important;
  background: #fff8f1 !important;
  line-height: 0 !important;
}

#product .blockreassurance_product .block-title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: end !important;
  margin: 0 0 3px !important;
  font-weight: 700 !important;
}

#product .blockreassurance_product p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

@media (min-width: 768px) {
  #product .blockreassurance_product {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #product .blockreassurance_product > div:not(.clearfix) {
    min-width: 0 !important;
  }
}

/* Moyens de paiement : badges homogènes autour des logos officiels. */
body#product #ps_checkout-payment-method-logo-block-container,
body#cart #ps_checkout-payment-method-logo-block-container {
  padding: 18px 20px 20px !important;
  border: 1px solid #dce4e9 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(35, 57, 73, .07) !important;
}

#ps_checkout-payment-method-logo-block-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

#ps_checkout-payment-method-logos-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

#ps_checkout-payment-method-logos-container .cards-logo,
#ps_checkout-payment-method-logos-container > div .paypal-mark {
  box-sizing: border-box !important;
  margin: 0 !important;
  border: 1px solid #d9e1e7 !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(35, 57, 73, .05) !important;
}

#ps_checkout-payment-method-logos-container .cards-logo {
  width: auto !important;
  height: 34px !important;
  padding: 6px 8px !important;
  object-fit: contain !important;
}

#ps_checkout-payment-method-logos-container > div .paypal-mark {
  display: inline-flex !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 12px !important;
}

/* Partage : icônes natives conservées, simplement espacées et centrées. */
#product .social-sharing {
  display: flex !important;
  align-items: center !important;
  min-height: 40px !important;
}

#product .social-sharing li {
  display: inline-block !important;
  width: 40px !important;
  height: 40px !important;
  margin-left: 10px !important;
  border-radius: 50% !important;
}

@media (max-width: 767.98px) {
  #product .social-sharing {
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  #product .social-sharing > span {
    flex: 0 0 100% !important;
    margin-bottom: 10px !important;
  }

  #product .social-sharing ul {
    display: flex !important;
    justify-content: center !important;
    gap: 14px !important;
    width: auto !important;
    margin: 0 auto !important;
  }

  body#product #ps_checkout-payment-method-logo-block-container,
  body#cart #ps_checkout-payment-method-logo-block-container {
    padding: 16px 12px 18px !important;
  }
}

/* Révision I — pastille panier et pictogramme du CTA produit. */
@media (max-width: 767.98px) {
  #header .header-nav #_mobile_cart .cart-products-count {
    top: -2px !important;
    right: -4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #2877d9 !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
  }

  #header .header-nav #_mobile_cart .cart-preview:not(.active) .cart-products-count,
  #header .header-nav #_mobile_cart .cart-products-count:empty,
  #header .header-nav #_mobile_cart .cart-products-count[hidden] {
    display: none !important;
  }
}

#product .product-add-to-cart .btn.btn-primary.add-to-cart .shopping-cart {
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: 22px !important;
  height: 24px !important;
  margin: 0 0.55rem 0 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  vertical-align: middle !important;
  transform: none !important;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M12.8 5.65h-1.18a3.97 3.97 0 0 0-7.24 0H3.2A2.7 2.7 0 0 0 .5 8.35v8.45A2.7 2.7 0 0 0 3.2 19.5h9.6a2.7 2.7 0 0 0 2.7-2.7V8.35c0-1.49-1.21-2.7-2.7-2.7ZM8 2.55c1.2 0 2.22.8 2.58 1.95H5.42A2.67 2.67 0 0 1 8 2.55Zm4.8 14.95H3.2a.7.7 0 0 1-.7-.7V8.35c0-.39.31-.7.7-.7h9.6c.39 0 .7.31.7.7v8.45a.7.7 0 0 1-.7.7Z' fill='%23ffffff'/%3E%3C/svg%3E") !important;
}
