/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0-beta1
 Requires at least: 5.0
 Tested up to: 6.5.2
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/*
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

:root {
  --color-1: #323479;
  --color-2: #0073aa;
  --color-3: #fafafa;
  --color-4: #d7f4fa;
  --color-5: #d4d4d4;
  --bs-border-radius: 7px;
  --header-height: 100px;

  --swiper-navigation-color: var(--color-1) !important;
  --swiper-theme-color: var(--color-1) !important;
  --swiper-navigation-top-offset: 30% !important;
  --swiper-pagination-top: 100%;
}

html {
  scroll-padding-top: var(--header-height);
}

[id] {
  scroll-margin-top: var(--header-height);
}

.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-top-offset: 50% !important;
}

/* Loader page */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(2px);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

#site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid #e4e7ee;
  border-top-color: var(--color-1, #323479);
  animation: site-loader-spin 0.8s linear infinite;
}

@keyframes site-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-1) !important;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
}

.btn:hover {
  color: var(--color-1) !important;
  background-color: var(--color-2);
  border-color: var(--bs-btn-hover-border-color);
} */

.section-hero-accueil {
  min-height: 700px;
}

* {
  font-family:
    "Poppins", "Poppins Fallback", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  background-repeat: no-repeat;
}
#wpadminbar {
  z-index: 999999999;
}

/* Dimension des container */

@media (min-width: 1550px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1500px;
  }
}

@media (min-width: 1650px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1600px;
  }
}

/* HEADER */

/* #masthead{
  z-index: 99999 !important;
} */

#logoHeader {
  width: 200px;
  height: auto;
}

@media (max-width: 425px) {
  #logoHeader {
    width: 150px;
    height: auto;
  }
}

@media (max-width: 375px) {
  #logoHeader {
    width: 120px;
    height: auto;
  }
}

.color-1 {
  color: var(--color-1);
}
.bg-color-1 {
  background-color: var(--color-1) !important;
}
.color-2 {
  color: var(--color-2) !important;
}
.bg-color-2 {
  background-color: var(--color-2) !important;
}
.color-3 {
  color: var(--color-3) !important;
}
.bg-color-3 {
  background-color: var(--color-3) !important;
}
.color-4 {
  color: var(--color-4) !important;
}
.bg-color-4 {
  background-color: var(--color-4) !important;
}

.textshadow {
  text-shadow:
    0px 0px 20px var(--color-2),
    1px 1px 20px var(--color-2),
    -1px -1px 20px var(--color-2);
}

.bg-bleu-flou {
  background-color: rgba(36, 56, 117, 0.5); /* Bleu avec 50% de transparence */
  backdrop-filter: blur(20px); /* Effet de flou */
  -webkit-backdrop-filter: blur(10px); /* Support pour Safari */
}

a {
  color: var(--color-1);
}

main h1,
main h2 {
  font-weight: 500;
}

p a,
li a {
  color: var(--color-2);
  text-decoration: underline;
}

/* COMPOSANTS */

.link-1 {
  color: #fff !important;
  border-width: 0px !important;
  border-radius: var(--bs-border-radius);
  letter-spacing: -0.01em;
  font-size: 20px;

  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;
  /* font-weight: 600!important; */
  background: var(--color-1);
  padding-top: 16px !important;
  padding-right: 24px !important;
  padding-bottom: 16px !important;
  padding-left: 24px !important;
  transition: padding 300ms ease 0ms;
  text-decoration: none;
}

.link-1::after {
  color: #fff;

  font-size: inherit !important;
  left: auto;
  font-family: FontAwesome !important;
  font-weight: 900 !important;

  line-height: 1em;
  content: "\35";
  opacity: 0;
  position: absolute;
  margin-left: -1em;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  text-transform: none;
  -webkit-font-feature-settings: "kern" off;
  font-feature-settings: "kern" off;
  font-variant: none;
  font-style: normal;

  text-shadow: none;
  margin-top: 6px;
}

.link-1:after {
  content: "\f061"; /* Code Unicode pour l'icone Font Awesome */
  font-family: FontAwesome;
}

.link-1:hover:after {
  margin-left: 0.3em;
  left: auto;
  margin-left: 0.3em;
  opacity: 1;
}

.link-1:hover {
  padding-right: 48px !important;
  padding-left: 24px !important;
}

.link-2,
.link-1.is-active {
  color: #fff !important;
  border-width: 0px !important;
  border-radius: 100px;
  letter-spacing: -0.01em;
  font-size: 20px;

  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 600 !important;
  background-image: var(--color-2);
  padding-top: 16px !important;
  padding-right: 24px !important;
  padding-bottom: 16px !important;
  padding-left: 24px !important;
  transition: padding 300ms ease 0ms;
}

.link-2::after {
  color: #fff !important;

  font-size: inherit !important;
  left: auto;
  font-family: FontAwesome !important;
  font-weight: 900 !important;
  border: none !important;

  line-height: 1em;
  content: "\35";
  opacity: 0;
  position: absolute;
  margin-left: -1em;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  text-transform: none;
  -webkit-font-feature-settings: "kern" off;
  font-feature-settings: "kern" off;
  font-variant: none;
  font-style: normal;

  text-shadow: none;
  margin-top: 6px;
}

.link-2:after {
  content: "\f061"; /* Code Unicode pour l'icone Font Awesome */
  font-family: FontAwesome;
}

.link-2:hover:after {
  margin-left: 0.3em;
  left: auto;
  margin-left: 0.3em;
  opacity: 1;
}

.link-2:hover {
  padding-right: 48px !important;
  padding-left: 24px !important;
}

.link-3 {
  color: #fff !important;
  border-width: 0px !important;
  border-radius: var(--bs-border-radius);
  letter-spacing: -0.01em;
  font-size: 20px;

  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;
  /* font-weight: 600!important; */
  background: var(--color-4);
  padding-top: 16px !important;
  padding-right: 24px !important;
  padding-bottom: 16px !important;
  padding-left: 24px !important;
  transition: padding 300ms ease 0ms;
  text-decoration: none;
}

.link-3::after {
  color: #fff;

  font-size: inherit !important;
  left: auto;
  font-family: FontAwesome !important;
  font-weight: 900 !important;

  line-height: 1em;
  content: "\35";
  opacity: 0;
  position: absolute;
  margin-left: -1em;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  text-transform: none;
  -webkit-font-feature-settings: "kern" off;
  font-feature-settings: "kern" off;
  font-variant: none;
  font-style: normal;

  text-shadow: none;
  margin-top: 6px;
}

.link-3:after {
  content: "\f061"; /* Code Unicode pour l'icone Font Awesome */
  font-family: FontAwesome;
}

.link-3:hover:after {
  margin-left: 0.3em;
  left: auto;
  margin-left: 0.3em;
  opacity: 1;
}

.link-3:hover {
  padding-right: 48px !important;
  padding-left: 24px !important;
}

.link-4 {
  color: #fff !important;
  border-width: 0px !important;
  border-radius: 100px;
  letter-spacing: -0.01em;

  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;

  background-image: var(--color-2) !important;
  transition: padding 300ms ease 0ms;
}

.btn-header {
  color: black;
  background-color: #fff !important;
  border: none !important;
}
.btn-header:hover {
  background-color: #fff !important;
  border: none !important;
  color: var(--color-1) !important;
}

.navbar-collapse {
  flex-grow: unset !important;
}

.nav-link {
  color: black !important;
  transition: all 0.2s ease;
  text-transform: uppercase;
}
.nav-link.active,
.menu-item .active {
  color: var(--color-1) !important;
  transition: all 0.2s ease;
  border-bottom: solid 2px var(--color-1);
}

.nav-link:hover {
  color: var(--color-1) !important;
  transition: all 0.2s ease;
  font-weight: bold;
}

.nav-link:focus-visible {
  /* -webkit-box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25); */
  box-shadow: none !important;
  outline: 0;
}

.display-1 {
  font-weight: 500 !important;
}

/* ----------------------------------------EFFETS-------------------------------------------- */

/*----HOVER SCALE ----*/
.hover-scale:hover,
.solo-product:hover {
  transform: scale(1.05) !important;
  transition: all 200ms ease-in-out;
}
.hover-scale,
.solo-product {
  transform: scale(1);
  transition: all 200ms ease-in-out;
}

.cursor-pointer {
  cursor: pointer;
}

/*----HOVER TRANSLATE ----*/
.hover-translate:hover {
  transform: translateX(10px);
  transition: all 200ms ease-in-out;
}
.hover-translate {
  transform: translateX(0px);
  transition: all 200ms ease-in-out;
}

/*----HOVER gradient ----*/
.hover-gradient:hover {
  background-image: linear-gradient(
    164deg,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.99) 87%
  ) !important;
  background-color: rgba(0, 0, 0, 0);
  transition: all 200ms ease-in-out;
  color: #1ba0cb;
}
.hover-gradient {
  background-image: linear-gradient(
    164deg,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.99) 87%
  ) !important;
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 200ms ease-in-out;
}

.box-shadow {
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 30px 60px -12px,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

.text-shadow {
  text-shadow: 0.08em 0.08em 0.24em rgba(0, 0, 0, 0.4);
}

.text-shadow-aaa {
  text-shadow:
    0.08em 0.08em 0.24em rgba(0, 0, 0, 0.4),
    0.08em 0.08em 0.24em rgba(0, 0, 0, 0.4),
    0.08em 0.08em 0.24em rgba(0, 0, 0, 0.4),
    0.08em 0.08em 0.24em rgba(0, 0, 0, 0.4);
}

/* PRESTATIONS CARDS HOVER EFFECT */
/* .custom-hover {
  overflow: hidden;
  position: relative;
  padding-bottom: 60%;
}

.custom-hover-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: all 0.4s;
}

.custom-hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
  height: 100%;
  object-fit: cover;
}

.custom-hover-content {
  position: relative;
  z-index: 3;
} */

/* DEMO 1 ============================== */
/* .custom-hover-1 img {
  width: 105%;
  position: absolute;
  top: 0;
  left: -5%;
  transition: all 0.3s;
}

.custom-hover-1-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  transition: all 0.4s;
}

.custom-hover-1 .custom-hover-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.custom-hover-1-description {
  transform: translateY(0.5rem);
  transition: all 0.4s;
  opacity: 0;
}

.custom-hover-1:hover .custom-hover-1-content {
  bottom: 2rem;
}

.custom-hover-1:hover .custom-hover-1-description {
  opacity: 1;
  transform: none;
}

.custom-hover-1:hover img {
  left: 0;
}

.custom-hover-1:hover .custom-hover-overlay {
  opacity: 0;
} */

/* //Woocomerce */
.pwf-sticky-filter {
  z-index: 9997 !important;
}

.woocommerce-loop-product__title {
  min-height: 60px;
  color: black !important;
}

span.price {
  color: var(--color-2) !important;
  font-weight: 700;
  font-size: 1.2em !important;
  text-align: start;
}

span.onsale {
  border-radius: 0 !important;
  background-color: rgb(187, 16, 16) !important;
}

.summary span.onsale {
  position: relative !important;
}

.discount-percentage {
  background-color: rgb(187, 16, 16) !important;
  color: #fff;
  margin-left: 20px;
}

/* PRODUCT CARD */

/* Badge stock */

/* Ton template utilise div.product.card (pas li.product) */
.woocommerce .products .product.card {
  position: relative;
}

.woocommerce .product.card .alg-stock-badge {
  position: absolute !important;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 20;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
}

.alg-colis-badge {
  font-size: 0.7rem;
  font-weight: 700;
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 8px;
  padding: 6px 10px;
}

/* Masquer les étoiles sur les cards produit */
.woocommerce ul.products li.product .star-rating,
.woocommerce .product.card .star-rating {
  display: none !important;
}

/* Prix */
/* Uniquement sur les cards produit (loop/shop/carrousels qui reprennent la card Woo) */
.woocommerce ul.products li.product .price > .d-block.small.text-muted,
.woocommerce .product.card .price > .d-block.small.text-muted {
  font-size: 0.9rem !important; /* "À partir de" / "Prix fixe" */
  line-height: 1.2;
  font-weight: 400;
}

.woocommerce ul.products li.product .price .alg-price-main,
.woocommerce ul.products li.product .price .alg-price-main .amount,
.woocommerce .product.card .price .alg-price-main,
.woocommerce .product.card .price .alg-price-main .amount {
  font-size: 1.2rem !important; /* prix */
  line-height: 1.2;
  font-weight: 600;
}

/* Enlver le "Ex. VAT" en dessous des prix */
/* .woocommerce-price-suffix {
  display: none !important;
} */

/* Product single page */

/* Fiche produit variable : masque les attributs (table des variations) */
.single-product .product-type-variable form.variations_form .variations,
.single-product .product-type-variable form.variations_form .reset_variations {
  display: none !important;
}

/* AVIS */
.woocommerce p.stars a {
  font-size: 1.5rem !important;
}

/* Fix affichage étoiles WooCommerce (moyenne + avis) */
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before,
.cr-all-reviews-shortcode .crstar-rating span::before {
  font-family: star !important;
}

.woocommerce .star-rating {
  float: none;
  display: inline-block;
  line-height: 1;
  overflow: hidden;
  margin: 0;
}

.woocommerce .star-rating::before {
  color: #c8c8c8 !important;
}

.woocommerce .star-rating span::before {
  color: var(--color-2) !important;
}

/* Étoiles du formulaire d'avis */
.woocommerce p.stars a::before {
  font-family: WooCommerce !important;
}

p.price {
  margin-bottom: 0 !important;
}

.alg-price-main .amount {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-2);
}

.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
  background-color: var(--color-3);
  border-radius: 1.5rem;
  padding: 2rem;
}

/* Fiche produit - description courte : puces -> icône check verte */
.single-product .woocommerce-product-details__short-description ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.single-product .woocommerce-product-details__short-description ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
}

.single-product .woocommerce-product-details__short-description ul li::before {
  content: "\f058"; /* fa-circle-check */
  font-family: "Font Awesome 6 Pro";
  font-weight: 400; /* regular */
  color: #28a745; /* vert */
  position: absolute;
  left: 0;
  top: 0.1em;
  line-height: 1;
}

.woocommerce div.product .product_title {
  font-size: 30px;
  font-weight: bold;
}

.woocommerce-product-gallery .flex-viewport {
  border-radius: 1.5rem !important;
}

.woocommerce-variation-add-to-cart.variations_button {
  flex-wrap: wrap !important;
}

.woocommerce-product-details__short-description {
  margin-top: 1rem !important;
}

.woocommerce div.product form.cart {
  margin-bottom: 0;
}

@media (max-width: 375px) {
  .woocommerce div.product form.cart div.quantity {
    margin-right: 0 !important;
    margin-bottom: 20px !important;
  }
  .woocommerce-variation-add-to-cart.variations_button {
    justify-content: center !important;
  }

  .woocommerce #content div.product div.summary,
  .woocommerce div.product div.summary,
  .woocommerce-page #content div.product div.summary,
  .woocommerce-page div.product div.summary {
    padding: 1rem;
  }
}

@media (max-width: 425px) {
  .woocommerce div.product form.cart .variations label {
    font-size: 13px;
    line-height: 18px;
  }
}

.product_meta {
  margin: 20px 0;
}

/* ===== Tableau tranches de prix B2BKing ===== */
section[id^="b2bking-tier-table-"] {
  margin-top: 2rem;
}

section[id^="b2bking-tier-table-"] .table-responsive {
  border: 1px solid #dbe2ea !important;
  border-radius: 14px !important;
  background: #f5f7fb;
  box-shadow: 0 8px 24px rgba(20, 35, 60, 0.06);
}

section[id^="b2bking-tier-table-"] table {
  margin: 0;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

section[id^="b2bking-tier-table-"] thead th {
  background: #e7edf5;
  color: #1f2a44;
  font-weight: 700;
  font-size: 0.92rem;
  border-color: #d8e0ea !important;
  vertical-align: middle;
}

section[id^="b2bking-tier-table-"] thead tr:first-child th {
  padding: 0.95rem 0.8rem;
}

section[id^="b2bking-tier-table-"] thead tr:last-child th {
  padding: 0.7rem 0.6rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

section[id^="b2bking-tier-table-"] .table-active {
  background: #dbe4f0 !important;
}

section[id^="b2bking-tier-table-"] .table-warning {
  background: #ffd77a !important;
  color: #5b3b00 !important;
}

section[id^="b2bking-tier-table-"] tbody td {
  background: #f9fbfe;
  border-color: #e0e7f0 !important;
  padding: 0.75rem 0.65rem;
  font-size: 0.9rem;
  vertical-align: middle;
}

section[id^="b2bking-tier-table-"] tbody tr:hover td {
  background: #eef4ff;
}

section[id^="b2bking-tier-table-"] tbody tr {
  background: #647fb3;
}

section[id^="b2bking-tier-table-"] tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: #1f2a44;
}

section[id^="b2bking-tier-table-"] .fw-semibold {
  font-weight: 700 !important;
}

/* Colonne panier */
section[id^="b2bking-tier-table-"] .js-b2bking-tier-form {
  max-width: 230px;
  margin: 0 auto;
  gap: 0.45rem !important;
}

section[id^="b2bking-tier-table-"] .input-group-sm > .btn {
  min-width: 34px;
  padding: 0.25rem 0.45rem;
  border-color: #cfd8e4;
  color: #2b3f65;
  background: #fff;
}

section[id^="b2bking-tier-table-"] .input-group-sm > .btn:hover {
  background: #edf3ff;
  border-color: #9fb3d1;
}

section[id^="b2bking-tier-table-"] .js-tier-qty {
  min-width: 56px;
  max-width: 70px;
  font-weight: 600;
  border-color: #cfd8e4;
  background: #fff;
}

section[id^="b2bking-tier-table-"] .js-tier-total {
  color: #0b4f8a;
  font-weight: 700;
}

section[id^="b2bking-tier-table-"] .single_add_to_cart_button {
  min-height: 34px;
  min-width: 40px;
  border-radius: 8px !important;
  padding: 0.35rem 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Evite un decalage si un loader est injecte */
/* section[id^="b2bking-tier-table-"] .single_add_to_cart_button .btn-loader {
  display: none !important;
} */

/* Responsive */
@media (max-width: 991.98px) {
  section[id^="b2bking-tier-table-"] table {
    min-width: 860px;
  }

  section[id^="b2bking-tier-table-"] thead th,
  section[id^="b2bking-tier-table-"] tbody td {
    font-size: 0.82rem;
  }

  section[id^="b2bking-tier-table-"] .js-b2bking-tier-form {
    max-width: 200px;
  }
}

section[id^="b2bking-tier-table-"] .js-tier-cell {
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

section[id^="b2bking-tier-table-"] .js-tier-cell:hover {
  background: #eef4ff !important;
}

section[id^="b2bking-tier-table-"] .js-tier-cell.is-active {
  background: #dff1ff !important;
  box-shadow: inset 0 0 0 2px var(--color-2);
}

/* Old mobile responsive table — removed (replaced by card system) */

/* Bandeau de reassurance */

.product-reassurance-box {
  border-color: #e3e7ef !important;
  box-shadow: 0 8px 20px rgba(20, 35, 60, 0.06);
}

.product-reassurance-item + .product-reassurance-item {
  border-top: 1px solid #eef1f6;
}

.product-reassurance-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f3f6fb;
  color: var(--color-1);
  font-size: 1.1rem;
}

.product-reassurance-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.product-reassurance-text {
  color: #2f3642;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .product-reassurance-box {
    padding: 0.9rem !important;
  }

  .product-reassurance-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ===== Woo Tabs - relooking ===== */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 2rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 0 !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid #dce4ef !important;
  background: #f4f7fb !important;
  border-radius: 999px !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.2s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem !important;
  color: #233654 !important;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
  background: #e9f1ff !important;
  border-color: #b8c9e2 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--color-1) !important;
  border-color: var(--color-1) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  border: 1px solid #e2e8f1;
  border-radius: 14px;
  background: #fff;
  padding: 1.25rem 1.25rem 1.15rem;
  box-shadow: 0 8px 22px rgba(24, 40, 67, 0.05);
  margin-bottom: 1rem !important;
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-1);
  font-weight: 600;
}

/* Typo interne */
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li {
  color: #2f3a4d;
  line-height: 1.6;
}

/* Tableau "Informations complementaires" */
.woocommerce div.product .woocommerce-tabs table.shop_attributes {
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
  background: #f3f6fb;
  color: #213654;
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e3e9f2;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
  background: #fff;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #edf1f6;
}

/* Responsive */
@media (max-width: 767.98px) {
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    gap: 0.35rem;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 0.48rem 0.85rem !important;
    font-size: 0.88rem;
  }

  .woocommerce div.product .woocommerce-tabs .panel {
    padding: 1rem;
    border-radius: 12px;
  }
}

/* PAGE COMMANDER WOOCOMMERCE */

#fc-wrapper .fc-inside .fc-checkout-steps .fc-checkout-step .fc-step__substep {
  background-color: #f8f9fa !important;
}

div.woocommerce form .form-row input[type="checkbox"] {
  float: left !important;
}

.collapsible-content__inner a {
  color: var(--color-2) !important;
}

.fc-progress-bar .fc-progress-bar__inner .fc-progress-bar__step {
  background-color: var(--color-2) !important;
}

/* ===============================
   MY ACCOUNT - REDESIGN GLOBAL
   =============================== */

.woocommerce-account .woocommerce,
#offcanvas-user .woocommerce {
  --acc-bg: #f4f6fb;
  --acc-card: #ffffff;
  --acc-border: #dfe6f2;
  --acc-text: #1f2f4b;
  --acc-muted: #6e7b91;
  --acc-primary: var(--color-1);
  --acc-primary-2: var(--color-2);

  color: var(--acc-text);
}

.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3,
.woocommerce-account .woocommerce h4,
#offcanvas-user .woocommerce h2,
#offcanvas-user .woocommerce h3,
#offcanvas-user .woocommerce h4 {
  color: var(--acc-primary);
  font-weight: 600;
}

/* Navigation laterale */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  border: 1px solid var(--acc-border);
  border-radius: 16px;
  background: var(--acc-card);
  box-shadow: 0 8px 22px rgba(20, 35, 60, 0.06);
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation .list-group {
  margin-bottom: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0.6rem;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  color: var(--acc-text);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #eef3fb;
  color: var(--acc-primary);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--acc-primary);
  color: #fff;
}

/* Contenu onglet */
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
  border: 1px solid var(--acc-border);
  border-radius: 16px;
  background: var(--acc-card);
  box-shadow: 0 8px 22px rgba(20, 35, 60, 0.06);
  padding: 1.2rem 1.2rem 1rem;
}

/* Dashboard cards */
.woocommerce-account-cards {
  gap: 0.15rem 0;
}

.woocommerce-account-cards .account-card {
  border: 1px solid var(--acc-border);
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  min-height: 96px;
  transition: all 0.2s ease;
}

.woocommerce-account-cards a:hover .account-card {
  transform: translateY(-2px);
  border-color: #c9d6ea;
  box-shadow: 0 10px 22px rgba(20, 35, 60, 0.08);
}

.woocommerce-account-cards .account-card-link {
  color: var(--acc-text);
  font-weight: 600;
}

.woocommerce-account-cards .account-card-icon {
  border-radius: 12px !important;
  border: 1px solid #e8edf6;
  background: #fff;
  padding: 6px;
}

/* Tables onglets (commandes, telechargements, etc.) */
.woocommerce-account .woocommerce table.shop_table,
#offcanvas-user .woocommerce table.shop_table {
  border: 1px solid var(--acc-border) !important;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.woocommerce-account .woocommerce table.shop_table th,
#offcanvas-user .woocommerce table.shop_table th {
  background: #edf3fb;
  color: #25395b;
  font-weight: 600;
  border-color: var(--acc-border) !important;
}

.woocommerce-account .woocommerce table.shop_table td,
#offcanvas-user .woocommerce table.shop_table td {
  border-color: #e7edf6 !important;
  vertical-align: middle;
}

/* Adresses */
.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-MyAccount-content .addresses address {
  border: 1px solid var(--acc-border);
  border-radius: 12px;
  background: #fafcff;
  padding: 0.9rem 1rem;
}

/* Formulaires onglets */
.woocommerce-account .woocommerce form .form-row,
#offcanvas-user .woocommerce form .form-row {
  margin-bottom: 0.8rem;
}

.woocommerce-account .woocommerce input.input-text,
.woocommerce-account .woocommerce select,
.woocommerce-account .woocommerce textarea,
#offcanvas-user .woocommerce input.input-text,
#offcanvas-user .woocommerce select,
#offcanvas-user .woocommerce textarea {
  border: 1px solid #ced8e8;
  border-radius: 10px;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  color: var(--acc-text);
  background: #fff;
}

.woocommerce-account .woocommerce textarea,
#offcanvas-user .woocommerce textarea {
  min-height: 110px;
}

/* Boutons */
.woocommerce-account .woocommerce .button,
.woocommerce-account .woocommerce button.button,
#offcanvas-user .woocommerce .button,
#offcanvas-user .woocommerce button.button {
  border-radius: 10px !important;
  border: 1px solid var(--acc-primary) !important;
  background: var(--acc-primary) !important;
  color: #fff !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce .button:hover,
.woocommerce-account .woocommerce button.button:hover,
#offcanvas-user .woocommerce .button:hover,
#offcanvas-user .woocommerce button.button:hover {
  background: var(--acc-primary-2) !important;
  border-color: var(--acc-primary-2) !important;
  transform: translateY(-1px);
}

/* Messages */
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
#offcanvas-user .woocommerce-info,
#offcanvas-user .woocommerce-message,
#offcanvas-user .woocommerce-error {
  border-radius: 10px;
  border: 1px solid var(--acc-border);
  background: #f6f9ff;
  color: #274166;
  font-size: 14px;
}

/* Offcanvas: rendu compact */
#offcanvas-user .offcanvas-body .woocommerce {
  display: block;
}

#offcanvas-user .woocommerce-MyAccount-content {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

/* Responsive */
@media (max-width: 991.98px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.7rem;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li {
    flex: 0 0 auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 30px;
  }
}

/* SWIPER */

.cef-carousel .swiper-btn-custom {
  position: static;
  margin: 0;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background: var(--color-1);
  border: 0;
}

.cef-carousel .swiper-btn-custom:hover {
  background: var(--color-2);
}

.cef-carousel .cef-carousel-progress {
  position: static !important;
  width: 100% !important;
  height: 4px !important;
  border-radius: 999px;
  overflow: hidden;
}

.cef-carousel .cef-carousel-progress .swiper-pagination-progressbar {
  border-radius: 999px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-wrapper .swiper-slide li.product,
.swiper-wrapper-page .swiper-slide li.product {
  float: left;
  margin: 0 3.8% 2.992em 0;
  padding: 0;
  position: relative;

  margin-left: 0;
}

.swiper-wrapper .products ul li,
.swiper-wrapper .swiper-slide li {
  list-style: none outside;
}

.swiper-wrapper .swiper-slide li.product .swiper-wrapper-loop-category__title,
.swiper-wrapper .swiper-slide li.product .swiper-wrapper-loop-product__title,
.swiper-wrapper .swiper-slide li.product h3,
.woocommerce-loop-product__title {
  padding: 0.5em 0;
  margin: 0;
  font-size: 1em !important;
  text-align: start;
}

.swiper-wrapper .swiper-slide li.product .button {
  display: inline-block;
  margin-top: 1em;
}

.swiper-wrapper .swiper-slide li.product a {
  text-decoration: none;
}

.swiper-btn-custom {
  padding: 25px;
  background: var(--color-1);
  border-radius: 100%;
  color: black !important;
  color: white !important;
}

.swiper-container .products {
  width: fit-content !important;
}

.swiper-wrapper li {
  width: 100% !important;
}

.swiper-container .swiper-button-next::after,
.swiper-container .swiper-button-prev::after {
  display: none !important;
}

.wp-block-woocommerce-mini-cart-title-block {
  font-size: 1.1em !important;
}

/* tes règles existantes */
.swiper-slide.woocommerce div {
  width: 100% !important;
}

.swiper-slide.woocommerce div .star-rating {
  display: none;
}

@media (max-width: 992px) {
  .swiper-nav-wrap .swiper-btn-custom {
    position: absolute !important;
    top: 50%;
    padding: 0.8rem 1rem;
  }

  .swiper-nav-wrap .swiper-button-prev {
    left: 0;
  }

  .swiper-nav-wrap .swiper-button-next {
    right: 0;
  }
}
/* .woocommerce-product-gallery__image{
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        border: solid 2px var(--color-1);
    } */
/* .woocommerce-product-gallery__wrapper,.woocommerce-product-gallery__image{

        box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    }
     */
.woocommerce ul.products li.product a img,
.attachment-woocommerce_thumbnail {
  aspect-ratio: 1/1;
  object-fit: contain;
}

.term-description {
  display: none !important;
}

/* Ajout au panier */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  span.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  #respond
  input#submit.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  span.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  button.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  input.button.loading::after {
  font-family: WooCommerce;
  content: "\e01c";
  vertical-align: top;
  font-weight: 400;
  position: absolute;
  top: 0.618em;
  right: 1em;
  animation: spin 2s linear infinite;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.loading,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  span.button.loading,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.loading,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.loading,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  #respond
  input#submit.loading,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  span.button.loading,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  button.button.loading,
:where(body:not(.woocommerce-block-theme-has-button-styles))
  .woocommerce
  input.button.loading {
  opacity: 0.25;
  padding-right: 2.618em;
}

a.added_to_cart {
  width: 100%;
}

.footer-menu {
  list-style-type: none;
}

.footer-menu li a {
  color: white !important;

  display: block;
  width: fit-content;
  margin-bottom: 0.5rem !important;
  margin-top: 0.5rem !important;
}

.footer-bottom a {
  font-size: 12px;
}

/* =========================================
   PWF Woo Filters - style aligne au theme
========================================= */

.pwf-filter-container .pwf-woo-filter {
  background: #fff;
  border: 1px solid #d9deea;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(50, 52, 121, 0.06);
}

.pwf-woo-filter .pwf-field-item {
  border-bottom: 1px solid #edf1f7;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.pwf-woo-filter .pwf-field-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.pwf-woo-filter .pwf-field-item-title {
  color: var(--color-1);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}

.pwf-woo-filter .pwf-item-label {
  margin-bottom: 10px;
}

.pwf-woo-filter .pwf-item-label .pwf-title-container .text-title {
  color: #1f2937;
  font-size: 14px;
}

.pwf-woo-filter .pwf-item-label:hover .pwf-title-container .text-title {
  color: var(--color-2);
}

.pwf-checkbox-label .pwf-input-container,
.pwf-radiolist-label .pwf-input-container {
  border-color: #cfd7e6;
  background: #fff;
}

.pwf-checkboxlist-item.checked
  > .pwf-item-inner
  > .pwf-item-label
  .pwf-input-container,
.pwf-radiolist-label.checked > .pwf-input-container {
  border-color: var(--color-2);
}

/* =========================================
   FIX titres longs sans casser checkbox/toggle
   (checkbox + radio)
========================================= */

.pwf-field-item-checkboxlist .pwf-item-label,
.pwf-field-item-radiolist .pwf-item-label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  position: relative;
}

.pwf-field-item-checkboxlist .pwf-item-label .pwf-input-container,
.pwf-field-item-radiolist .pwf-item-label .pwf-input-container {
  width: 18px;
  height: 18px;
  display: block;
  margin-top: 1px;
}

.pwf-field-item-checkboxlist .pwf-item-label .pwf-title-container,
.pwf-field-item-radiolist .pwf-item-label .pwf-title-container {
  display: block;
  min-width: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 24px; /* reserve l'espace du toggle */
}

.pwf-field-item-checkboxlist .pwf-item-label .pwf-title-container .text-title,
.pwf-field-item-radiolist .pwf-item-label .pwf-title-container .text-title {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

/* Evite que la fleche flotte et pousse le texte */
.pwf-field-item-checkboxlist .pwf-item-label .pwf-toggle,
.pwf-field-item-radiolist .pwf-item-label .pwf-toggle {
  float: none;
}

/* garde la hiérarchie lisible */
.pwf-woo-filter .pwf-items-hierarchical .pwf-children {
  margin-top: 6px;
}

/* mobile */
@media (max-width: 767.98px) {
  .pwf-filter-container .pwf-woo-filter {
    padding: 12px;
    border-radius: 10px;
  }

  .pwf-woo-filter .pwf-field-item-title {
    font-size: 15px;
  }
}

/* BARRE DE RECHERCHE */

#dgwt-wcas-search-input-1 {
  border: solid 2px var(--color-1);
  background-color: #fafafa;
  border-radius: 7px;
}

#dgwt-wcas-search-input-1:focus {
  border-color: #0f84c8;
  box-shadow: 0 0 0 0.2rem rgba(15, 132, 200, 0.18) !important;
}

#dgwt-wcas-search-input-1 .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
  color: var(--color-1) !important;
}

@media (min-width: 768px) {
  #dgwt-wcas-search-input-1 {
    min-width: 200px !important;
  }
}
@media (min-width: 992px) {
  #dgwt-wcas-search-input-1 {
    min-width: 300px !important;
  }
  .dgwt-wcas-details-wrapp {
    width: 450px;
  }
}

.dgwt-wcas-meta {
  min-width: 70px;
}

/* B2b */
.b2bking_bulkorder_form_container_content_header_top.b2bking_bulkorder_form_container_content_header_top_cream {
  max-width: 60% !important;
}
/* Bouton tableau B2B KING */
button.b2bking_bulkorder_indigo_add.b2bking_bulkorder_cream_add,
button.b2bking_bulkorder_indigo_add.b2bking_bulkorder_cream_add:focus {
  font-size: 13px !important;
  background-color: var(--color-1) !important;
}

.button {
  border-radius: 25px !important;
  border: none !important;
  padding: 10px 20px !important;
  background-color: var(--color-2);
  color: white;
}

#b2bking_purchase_lists_table_length {
  display: none;
}

.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
  padding: 10px;
}

.bandeau strong {
  color: var(--color-1);
}
.bandeau p {
  margin: 0;
}

.bootscore-footer-columns .menu li a {
  color: white !important;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 300;
}
.bootscore-footer-columns .menu li a:hover {
  color: var(--color-1) !important;
}

.bootscore-footer .thin p {
  font-weight: 300;
}

.custom-underline em {
  color: var(
    --color-1
  ) !important; /* Applique la couleur personnalisée au texte en italique */
  font-style: normal; /* Assurez-vous que le texte est bien en italique */
  font-weight: bold;
  position: relative;
}
.custom-underline * em {
  position: relative;
  display: inline-block;
}

.overflow-hidden {
  overflow: hidden;
}

.woocommerce div.product div.images img {
  max-height: 70vh;
  object-fit: contain;
}

.woocommerce-mini-cart-item .item-image img {
  width: 100% !important;
}

/* BOOKING */
.woocommerce div.product.product-type-booking form.cart {
  display: block;
}

.wc-bookings-date-picker .ui-datepicker-header {
  background-color: var(--color-2);
}

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all,
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev,
.wc-bookings-date-picker .ui-datepicker .ui-datepicker-next {
  background: var(--color-2) !important;
}

.ui-datepicker .ui-datepicker-next span,
.ui-datepicker .ui-datepicker-prev span {
  border-color: white !important;
}

.offcanvas a {
  text-decoration: none;
}

.item-quantity .variation {
  display: none;
}

#offcanvas-cart dl.variation {
  display: block;
}

.item-name small {
  display: none !important;
}

.product-category .card img,
.product.card img {
  aspect-ratio: 1/1;
  object-fit: contain;
}

.wlfmc-add-button.wlfmc-removefromwishlist.wlfmc-tooltip.wlfmc-tooltip-top a,
.wlfmc-add-button.wlfmc-addtowishlist.wlfmc-tooltip.wlfmc-tooltip-top a {
  margin-left: auto !important;
}

.my-offcanvas-account .woocommerce-MyAccount-navigation {
  display: none !important;
}

.woocommerce-product-gallery__wrapper {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.button.wp-color-result {
  background: unset;
}
.button-small.wp-picker-clear {
  color: black !important;
  padding: 5px !important;
}

.woocommerce-result-count {
  display: none !important;
}

/* WOOCOMMERCE PAGINATION */

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 3px !important;
}

.page-link.active,
.active > .page-link {
  background-color: var(--color-2) !important;
  border-color: var(--color-2) !important;
  color: white !important;
  z-index: 3 !important;
}

.page-link {
  color: var(--color-2) !important;
}

.btn[data-bs-target="#sidebar"] {
  border-radius: 3px;
  border: solid 1px var(--color-1);
  color: var(--color-1);
  padding: 15px 20px;
}

/* BANDEAU REASSURANCE */

@media (min-width: 992px) {
  .card-reassurance {
    aspect-ratio: 1/1;
  }
}

/* FORMULAIRE DE CONTACT */

/* Contact Form 7 - formulaire de contact */

.cf7-contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2f327d !important;
}

.cf7-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.cf7-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.cf7-contact-form input:focus,
.cf7-contact-form textarea:focus {
  outline: none !important;
  border-color: #0f84c8 !important;
  box-shadow: 0 0 0 0.2rem rgba(15, 132, 200, 0.18) !important;
}

.cf7-contact-form ::placeholder {
  color: #9aa3b2;
}

.cf7-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.82rem;
  color: #dc2626;
}

.cf7-contact-form .wpcf7-response-output {
  margin: 16px 0 0 !important;
  border-radius: 10px;
  padding: 12px 14px !important;
  font-size: 0.92rem;
}

.cf7-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.cf7-contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.cf7-contact-form .wpcf7 form.failed .wpcf7-response-output {
  border: 1px solid #fecaca !important;
  background: #fff1f2;
  color: #9f1239;
}

.cf7-contact-form .wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #bbf7d0 !important;
  background: #f0fdf4;
  color: #166534;
}

.cf7-contact-form input[type="submit"]:hover,
.cf7-contact-form .wpcf7-submit:hover {
  background: #0f84c8;
  transform: translateY(-1px);
}

.cf7-contact-form input[type="submit"]:disabled,
.cf7-contact-form .wpcf7-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 767.98px) {
  .cf7-contact-form {
    padding: 18px;
  }
}

/* PAGE 404 */
.bs404-section {
  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(0, 115, 170, 0.12) 0%,
      rgba(0, 115, 170, 0) 40%
    ),
    radial-gradient(
      circle at 88% 80%,
      rgba(50, 52, 121, 0.12) 0%,
      rgba(50, 52, 121, 0) 42%
    ),
    var(--color-3);
  border: 1px solid #d9deea;
}

.bs404-search .search-form {
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

.bs404-search .search-field {
  width: 100%;
  border: 1px solid #d9deea;
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
}

.bs404-search .search-submit {
  border: 0;
  border-radius: 0.5rem;
  background: var(--color-2);
  color: #fff;
  padding: 0.7rem 1rem;
  white-space: nowrap;
}

.bs404-illustration {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1 / 0.78;
}

.bs404-shadow {
  position: absolute;
  left: 50%;
  bottom: 3%;
  width: 68%;
  height: 14%;
  transform: translateX(-50%);
  background: rgba(49, 55, 82, 0.2);
  filter: blur(10px);
  border-radius: 100%;
}

.bs404-box {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 60%;
  height: 46%;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #d49f61 0%, #c58d4f 60%, #b57d42 100%);
  border-radius: 0.6rem;
  box-shadow: 0 14px 30px rgba(52, 34, 16, 0.2);
}

.bs404-flap {
  position: absolute;
  top: 22%;
  width: 33%;
  height: 30%;
  background: linear-gradient(145deg, #edc48f 0%, #d9ab72 100%);
  border-radius: 0.5rem;
}

.bs404-flap-left {
  left: 22%;
  transform: rotate(-24deg);
  transform-origin: bottom right;
}

.bs404-flap-right {
  right: 22%;
  transform: rotate(24deg);
  transform-origin: bottom left;
}

.bs404-fold {
  position: absolute;
  left: 50%;
  top: 39%;
  width: 8%;
  height: 29%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
}

.bs404-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 700;
  color: var(--color-1);
  letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
  .bs404-search .search-form {
    flex-direction: column;
  }
}

/* ===============================
   AUTH TOGGLE – Connexion / Inscription
   =============================== */

.alg-auth-wrapper {
  max-width: 480px;
  margin: 2rem auto;
  padding: 0;
}

/* Toggle bar */
.alg-auth-toggle {
  position: relative;
  display: flex;
  background: #eef2f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.alg-auth-toggle__btn {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 0.6rem 1rem;
  border: 0;
  background: transparent;
  color: var(--acc-muted, #6e7b91);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.3s ease;
}

.alg-auth-toggle__btn.active {
  color: #fff;
}

.alg-auth-toggle__slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--color-1, #323479);
  border-radius: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.alg-auth-toggle[data-active-tab="register"] .alg-auth-toggle__slider {
  transform: translateX(100%);
}

/* Panels */
.alg-auth-panel {
  display: none;
}

.alg-auth-panel.active {
  display: block;
  animation: algAuthFadeIn 0.3s ease;
}

@keyframes algAuthFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Page context: card look */
.woocommerce-account .alg-auth-wrapper {
  background: var(--acc-card, #fff);
  border: 1px solid var(--acc-border, #dfe6f2);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(20, 35, 60, 0.06);
  padding: 2rem;
  margin-top: 3rem;
}

/* Offcanvas context: no card, full-width */
#offcanvas-user .alg-auth-wrapper {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

#offcanvas-user .alg-auth-toggle {
  margin-bottom: 1.2rem;
}

/* Hide old 2-col layout if it ever leaks */
.u-columns.col2-set {
  display: block !important;
  max-width: 480px;
  margin: 2rem auto;
}

.u-columns.col2-set .u-column1,
.u-columns.col2-set .u-column2 {
  width: 100% !important;
  float: none !important;
}

/* B2BKing registration fields in auth */
.alg-auth-wrapper input.b2bking_custom_registration_field {
  width: 100%;
  border: 1px solid #ced8e8;
  border-radius: 10px;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
}

/* ===============================
   B2B PRICING CARDS
   =============================== */

/* Title */
.b2b-pricing__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-1, #323479);
  margin-bottom: 1.25rem;
}

/* View toggle */
.b2b-pricing__view-toggle {
  display: inline-flex;
  border: 1px solid #d1d5db;
  border-radius: var(--bs-border-radius, 7px);
  overflow: hidden;
}

.b2b-pricing__view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.2rem;
  border: none;
  background: #fff;
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}

.b2b-pricing__view-btn + .b2b-pricing__view-btn {
  border-left: 1px solid #d1d5db;
}

.b2b-pricing__view-btn.is-active {
  background: var(--color-1, #323479);
  color: #fff;
}

.b2b-pricing__view-btn:hover:not(.is-active) {
  background: var(--color-3, #fafafa);
  color: var(--color-1, #323479);
}

/* Panel visibility — both panels have d-none d-lg-block,
   only .is-visible is shown on desktop */
@media (min-width: 992px) {
  .b2b-pricing__panel {
    display: none !important;
  }
  .b2b-pricing__panel.is-visible {
    display: block !important;
  }
}

/* ── Desktop table view ── */
.b2b-tier-table {
  width: 100%;
  font-size: 0.78rem;
}

.b2b-tier-table th,
.b2b-tier-table td {
  padding: 0.3rem 0.35rem;
  vertical-align: middle;
  white-space: nowrap;
}

.b2b-tier-table th {
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.b2b-tier-table td.text-start {
  white-space: normal;
}

.b2b-tier-table td .woocommerce-Price-amount,
.b2b-tier-table td .amount {
  font-size: 0.72rem;
}

.b2b-tier-table .js-tier-cell.is-active {
  outline: 2px solid var(--color-1, #323479);
  outline-offset: -2px;
  background: rgba(50, 52, 121, 0.08);
}

.b2b-tier-table .js-tier-cell[role="button"] {
  cursor: pointer;
  transition: background 0.15s ease;
}

.b2b-tier-table .js-tier-cell[role="button"]:hover {
  background: rgba(50, 52, 121, 0.06);
}

/* Compact inline cart form */
.b2b-tier-table__th-cart,
.b2b-tier-table__td-cart {
  white-space: nowrap;
}

.b2b-tier-table__form {
  margin: 0;
  padding: 0;
}

.b2b-tier-table__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.alg-oos-label {
  display: inline-block;
  margin-left: 0.4rem;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.85em;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.b2b-tier-table__discount-cell {
  padding: 0.4rem 0.25rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

.b2b-tier-table__discount-cell.has-discount {
  background: #dc2626 !important;
  color: #fff !important;
}

.b2b-tier-table__qty-group {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.b2b-tier-table__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.6rem;
  border: none;
  background: var(--color-3, #fafafa);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-1, #323479);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 0.15s;
}

.b2b-tier-table__qty-btn:hover {
  background: var(--color-4, #d7f4fa);
}

.b2b-tier-table__qty-input {
  width: 2rem;
  height: 1.6rem;
  border: none;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  -moz-appearance: textfield;
  background: #fff;
  padding: 0;
}

.b2b-tier-table__qty-input::-webkit-inner-spin-button,
.b2b-tier-table__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.b2b-tier-table__qty-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--color-1, #323479);
}

.b2b-tier-table__total {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1a1a2e;
  min-width: 3.2rem;
  text-align: right;
}

.b2b-tier-table__unit-price {
  font-size: 0.65rem;
  text-align: right;
  margin-top: 2px;
  font-weight: 700;
  color: #dc3545 !important;
}

.b2b-tier-table__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.6rem;
  padding: 0;
  font-size: 0.7rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Mobile accordion ── */
.b2b-tier-accordion .accordion-item {
  border-color: var(--acc-border, #dfe6f2);
}

.b2b-tier-accordion .accordion-button {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: #f8faff;
}

.b2b-tier-accordion .accordion-button:not(.collapsed) {
  background: var(--color-1, #323479);
  color: #fff;
  box-shadow: none;
}

.b2b-tier-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.b2b-tier-accordion .accordion-button:not(.collapsed) .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.b2b-tier-accordion .accordion-body {
  padding: 0.75rem;
}

/* Accordion tier cells now use .b2b-pricing__tier styles */

/* Card */
.b2b-pricing__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--bs-border-radius, 7px);
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.b2b-pricing__card:hover {
  border-color: var(--color-1, #323479);
  box-shadow: 0 4px 16px rgba(50, 52, 121, 0.08);
}

/* Card header */
.b2b-pricing__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.b2b-pricing__card-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.b2b-pricing__card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

.b2b-pricing__card-colis {
  font-size: 0.8rem;
  color: #64748b;
}

.b2b-pricing__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: var(--color-1, #323479);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

/* Tier chips */
.b2b-pricing__tiers {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.b2b-pricing__tier {
  flex: 1 1 0;
  min-width: 70px;
  text-align: center;
  padding: 0.6rem 0.4rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--bs-border-radius, 7px);
  background: var(--color-3, #fafafa);
  transition: all 0.15s ease;
  position: relative;
}

.b2b-pricing__tier--best {
  border-color: var(--color-1, #323479);
  background: rgba(50, 52, 121, 0.04);
}

.b2b-pricing__tier[role="button"] {
  cursor: pointer;
}

.b2b-pricing__tier[role="button"]:hover {
  border-color: var(--color-1, #323479);
  background: rgba(50, 52, 121, 0.06);
}

/* Active state — outlined, not filled, for readability */
.b2b-pricing__tier.is-active {
  border: 2px solid var(--color-1, #323479);
  background: rgba(50, 52, 121, 0.06);
}

.b2b-pricing__tier.is-active .b2b-pricing__tier-qty {
  color: var(--color-1, #323479);
}

.b2b-pricing__tier.is-active .b2b-pricing__tier-price {
  color: var(--color-1, #323479);
}

.b2b-pricing__tier.is-active .b2b-pricing__tier-save {
  color: #16a34a;
}

.b2b-pricing__tier-qty {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.b2b-pricing__tier-price {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.2;
}

.b2b-pricing__tier-save {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #16a34a;
  margin-top: 0.1rem;
}

.b2b-pricing__tier-flag {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-1, #323479);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* flag stays the same on active — already contrasted */

/* Form actions row */
.b2b-pricing__form {
  margin-top: auto;
}

.b2b-pricing__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Quantity selector */
.b2b-pricing__qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: var(--bs-border-radius, 7px);
  overflow: hidden;
  flex-shrink: 0;
}

.b2b-pricing__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2.2rem;
  border: none;
  background: var(--color-3, #fafafa);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-1, #323479);
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
  line-height: 1;
}

.b2b-pricing__qty-btn:hover {
  background: var(--color-4, #d7f4fa);
}

.b2b-pricing__qty-input {
  width: 2.8rem;
  height: 2.2rem;
  border: none;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  -moz-appearance: textfield;
  background: #fff;
  padding: 0;
}

.b2b-pricing__qty-input::-webkit-inner-spin-button,
.b2b-pricing__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.b2b-pricing__qty-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--color-1, #323479);
}

/* Total */
.b2b-pricing__total {
  font-size: 0.85rem;
  color: #64748b;
  text-align: right;
  white-space: nowrap;
}

.b2b-pricing__total strong {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a1a2e;
  display: block;
}

.b2b-pricing__unit-price {
  text-align: center;
  margin-top: 2px;
  font-weight: 700;
  color: #dc3545;
}

/* CTA button */
.b2b-pricing__cta {
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

/* Small screens: stack 1 column */
@media (max-width: 575.98px) {
  .b2b-pricing__tier {
    min-width: 55px;
    padding: 0.5rem 0.25rem;
  }

  .b2b-pricing__tier-price {
    font-size: 0.85rem;
  }

  .b2b-pricing__tier-flag {
    font-size: 0.55rem;
    padding: 0.08rem 0.35rem;
  }
}

/* ── Sous-catégories – cards compactes ── */
.alg-subcat-card {
  background: #fff;
  border-radius: var(--bs-border-radius, 7px);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.alg-subcat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
}
.alg-subcat-card__img {
  aspect-ratio: 4 / 3;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  overflow: hidden;
}
.alg-subcat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.alg-subcat-card:hover .alg-subcat-card__img img {
  transform: scale(1.06);
}
.alg-subcat-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .75rem;
  gap: .4rem;
}
.alg-subcat-card__name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-1, #323479);
  line-height: 1.25;
}
.alg-subcat-card__count {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 600;
  color: var(--color-2, #0073aa);
  background: rgba(0, 115, 170, .08);
  padding: .15rem .45rem;
  border-radius: 10px;
}

/* Offres secondaires : ratio sur mobile, étirement sur desktop */
.offre-sec-link {
  aspect-ratio: 16/9;
}
@media (min-width: 992px) {
  .offre-sec-link {
    aspect-ratio: unset;
    flex: 1 1 0;
    min-height: 0;
  }
  .offre-sec-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
