/*
=================================
Theme Dioqa - Styles personnalisés
=================================
*/

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Variables CSS personnalisées */
:root {
  --bs-primary: #f76f85;
  --bs-primary-rgb: 247, 111, 133;
  --bs-secondary: #495e71;
  --bs-secondary-rgb: 73, 94, 113;
  --bs-third: #a3aeb7;
  --bs-gray-light: #f5f6fa;
  --bs-gray-medium: #485e70;
  --bs-gray-dark: #3b3949;
  --bs-gray-darker: #34333c;
  --primary-family: "Poppins", sans-serif;
  --secondary-family: "Quicksand", sans-serif;
  --heading-font: var(--font-family);

  /* Border Radius */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.375rem; /* 6px */
  --radius-lg: 0.625rem; /* 10px */
  --radius-xl: 0.9375rem; /* 15px */
  --radius-xxl: 1.25rem; /* 20px */

  /* Font sizes - Desktop */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-md: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --display-xs: 1.5rem; /* 24px */
  --display-sm: 1.875rem; /* 30px */
  --display-2sm: 2rem; /* 32px */
  --display-md: 2.25rem; /* 36px */
  --display-2md: 2.625rem; /* 42px */
  --display-lg: 3rem; /* 48px */
  --display-2lg: 3.375rem; /* 54px */
  --display-xl: 3.75rem; /* 60px */
  --display-2xl: 4.5rem; /* 72px */

  /* Font sizes - Mobile */
  --text-xs-mobile: 0.75rem; /* 12px */
  --text-sm-mobile: 0.875rem; /* 14px */
  --text-md-mobile: 1rem; /* 16px */
  --text-lg-mobile: 1.0625rem; /* 17px */
  --text-xl-mobile: 1.125rem; /* 18px */
  --display-xs-mobile: 1.25rem; /* 20px */
  --display-sm-mobile: 1.75rem; /* 28px */
  --display-2sm-mobile: 1.75rem; /* 28px */
  --display-md-mobile: 2rem; /* 32px */
  --display-2md-mobile: 2.375rem; /* 38px */
  --display-lg-mobile: 2.375rem; /* 38px */
  --display-2lg-mobile: 2.375rem; /* 38px */
  --display-xl-mobile: 2.375rem; /* 38px */
  --display-2xl-mobile: 2.375rem; /* 38px */
}

/* === TYPOGRAPHY UTILITIES === */

/* Text sizes */
.text-xs {
  font-size: var(--text-xs);
}
.text-sm {
  font-size: var(--text-sm);
}
.text-md {
  font-size: var(--text-md);
}
.text-lg {
  font-size: var(--text-lg);
}
.text-xl {
  font-size: var(--text-xl);
}

/* Display sizes */
.display-xs {
  font-size: var(--display-xs);
  line-height: 1.2;
}
.display-sm {
  font-size: var(--display-sm);
  line-height: 1.2;
}
.display-2sm {
  font-size: var(--display-2sm);
  line-height: 1.2;
}
.display-md {
  font-size: var(--display-md);
  line-height: 1.2;
}
.display-2md {
  font-size: var(--display-2md);
  line-height: 1.2;
}
.display-lg {
  font-size: var(--display-lg);
  line-height: 1.1;
}
.display-2lg {
  font-size: var(--display-2lg);
  line-height: 1.1;
}
.display-xl {
  font-size: var(--display-xl);
  line-height: 1.1;
}
.display-2xl {
  font-size: var(--display-2xl);
  line-height: 1.1;
}

/* Hover utilities */
.hover-text-primary:hover {
  color: var(--bs-primary) !important;
}
.hover-bg-primary:hover {
  background-color: var(--bs-primary) !important;
}
.hover-border-primary:hover {
  border-color: var(--bs-primary) !important;
}
.hover-text-secondary:hover {
  color: var(--bs-secondary) !important;
}
.hover-bg-secondary:hover {
  background-color: var(--bs-secondary) !important;
}
.hover-border-secondary:hover {
  border-color: var(--bs-secondary) !important;
}
.hover-text-white:hover {
  color: var(--bs-white) !important;
}
.hover-bg-white:hover {
  background-color: var(--bs-white) !important;
}
.hover-border-white:hover {
  border-color: var(--bs-white) !important;
}

/* Gray utilities */
.text-gray-light {
  color: var(--bs-gray-light) !important;
}
.text-gray-medium {
  color: var(--bs-gray-medium) !important;
}
.text-gray-dark {
  color: var(--bs-gray-dark) !important;
}
.text-gray-darker {
  color: var(--bs-gray-darker) !important;
}
.bg-gray-light {
  background-color: var(--bs-gray-light) !important;
}
.bg-gray-medium {
  background-color: var(--bs-gray-medium) !important;
}
.bg-gray-dark {
  background-color: var(--bs-gray-dark) !important;
}
.bg-gray-darker {
  background-color: var(--bs-gray-darker) !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.radius-sm {
  border-radius: var(--radius-sm);
}

.radius-xl {
  border-radius: var(--radius-xl);
}

.radius-lg {
  border-radius: var(--radius-lg);
}

.radius-md {
  border-radius: var(--radius-md);
}

.radius-xxl {
  border-radius: var(--radius-xxl);
}

.bs-third {
  color: var(--bs-third);
}

/* Styles généraux */
body {
  font-family: var(--font-family);
}

/* Menu burger */
.menu-btn {
  background: none;
  border: none !important;
  cursor: pointer;
  padding: 0 !important;
}
.line {
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  transform-origin: center;
}
.top {
  transform-origin: 23% 16%;
}
.bottom {
  transform-origin: 50% 100%;
}
.menu-btn.active .top {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active .middle {
  opacity: 0;
}
.menu-btn.active .bottom {
  transform: rotate(-45deg) translate(5px, -5px);
}
.menu-btn:focus:not(:focus-visible),
.navbar-toggler:focus:not(:focus-visible) {
  outline: 0 !important;
  box-shadow: none !important;
}
.menu-btn:focus-visible,
.navbar-toggler:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .text-xs {
    font-size: var(--text-xs-mobile);
  }
  .text-sm {
    font-size: var(--text-sm-mobile);
  }
  .text-md {
    font-size: var(--text-md-mobile);
  }
  .text-lg {
    font-size: var(--text-lg-mobile);
  }
  .text-xl {
    font-size: var(--text-xl-mobile);
  }

  .display-xs {
    font-size: var(--display-xs-mobile);
  }
  .display-sm {
    font-size: var(--display-sm-mobile);
  }
  .display-2sm {
    font-size: var(--display-2sm-mobile);
  }
  .display-md {
    font-size: var(--display-md-mobile);
  }
  .display-2md {
    font-size: var(--display-2md-mobile);
  }
  .display-lg {
    font-size: var(--display-lg-mobile);
  }
  .display-2lg {
    font-size: var(--display-2lg-mobile);
  }
  .display-xl {
    font-size: var(--display-xl-mobile);
  }
  .display-2xl {
    font-size: var(--display-2xl-mobile);
  }
}

body {
  font-family: var(--primary-family);
}

.secondary-family {
  font-family: var(--secondary-family);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--secondary-family);
}

.tel-header {
  color: #fff;
  font-size: var(--font-size-text-lg, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
}

.tel-header:hover {
  color: var(--bs-primary);
}

.tagline p {
  margin-bottom: 0;
}

.icon-header .inner-svg {
  width: 35px;
  height: 35px;
  border-radius: 100px;
  background: var(--bs-gray-light);
}

.icon-header {
  text-decoration: none;
}

.icon-header .text-icon-header .first {
  color: var(--bs-third);
  font-size: 12px;
}

.icon-header .text-icon-header .second {
  color: var(--bs-gray-medium);
  font-weight: 700;
}

.icon-header:hover svg path {
  stroke: var(--bs-primary);
}

.icon-header:hover .text-icon-header .first,
.icon-header:hover .text-icon-header .second {
  color: var(--bs-primary);
}

.btn-search input {
  border-radius: 0px;
  padding: 12px 24px;
  color: #485e70;
  border: none !important;
  background-color: #f8f9fa;
}

.btn-search::after {
  content: url("/wp-content/uploads/2026/01/svgviewer-output-10.svg");
  position: absolute;
  right: 25px;
  top: 54%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-search input::placeholder {
  color: #485e70;
}

.btn-search button {
  border: none;
  background: transparent;
}

.text-hero-swiper-section {
  width: 30%;
}

.text-hero-swiper-section h2 {
  font-size: var(--display-md);
  font-weight: 600;
}

.swiper-pagination-bullet-active {
  background: var(--bs-primary);
  width: 10px;
  height: 10px;
}

.p-75 {
  padding: 75px 0px;
}

.p-45 {
  padding: 45px 0px;
}

.p-50 {
  padding: 50px;
}

.coup-coeur {
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.coup-coeur .title {
  border-radius: var(--radius-radius-lg, 10px);
  background: var(--bg-bg-white, #fff);
  padding: 10px 0;
}

.produit-image {
  background-color: #fff;
}

.coup-coeur .produit-image {
  height: 290px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.coup-coeur .produit-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.coup-coeur .inner-product {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.w-70 {
  width: 70%;
}

.coup-coeur .w-70 {
  width: 75%;
}

.btn-product-eurocom {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  display: flex;
  width: 56px;
  padding: 10px;
  align-items: center;
  border-radius: 15px 0 15px 0;
  background: var(--bs-gray-medium);
  position: absolute;
  bottom: -1px;
  right: -1px;
  justify-content: center;
}

.link-product-eurocom:hover .btn-product-eurocom {
  background: var(--bs-primary);
}

.produits_mises_en_avant .produit-image {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produits_mises_en_avant .produit-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.produits_mises_en_avant .inner-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.05);
  background: #fff;
}

.mySwiperPartnair img {
  filter: grayscale(1);
}

.mySwiperPartnair img:hover {
  filter: grayscale(0);
}

.categorie-box {
  position: relative;
  overflow: hidden;
}

.overlay-categ {
  background: rgba(0, 0, 0, 0.2); /* petit fond sombre transparent */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.categorie-description {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px); /* petit décalage vers le bas */
  transition: all 0.4s ease; /* durée + easing */
}

.categorie-box:hover .categorie-description {
  opacity: 1;
  max-height: 200px; /* hauteur max arbitraire (ajuste si besoin) */
  transform: translateY(0);
}

.section-form .text-light h2 {
  font-size: var(--display-2sm);
}

.inner-form-home {
  padding: 25px;
  background-color: #fff;
}

.gform_wrapper .gform-body .gform_fields {
  row-gap: 10px;
}

.gform_wrapper .gform-body .gform_fields input,
.gform_wrapper .gform-body .gform_fields textarea,
.gform_wrapper .gform-body .gform_fields select {
  background-color: var(--bs-gray-light);
  border: none;
  box-shadow: none;
  padding: 15px;
}

.gform_wrapper .gform-body .gform_fields input,
.gform_wrapper .gform-body .gform_fields select {
  border-radius: 100px;
}

.gform_wrapper .gform-body .gform_fields textarea {
  border-radius: 25px;
}

.gform_wrapper form .gform-footer input.gform_button.button {
  background-color: var(--bs-primary) !important;
  padding: 12px 24px;
  border-radius: 4px;
  border-color: var(--bs-primary);
  border: 1px solid;
  box-shadow: none !important;
}

.gform_wrapper form .gform-footer input.gform_button.button:hover {
  background-color: var(--bs-gray-medium) !important;
}

.section-avis h2 {
  font-size: var(--display-2md);
  margin-bottom: 16px;
}

.section-avis p {
  color: var(--bs-gray-medium);
}

.prefooter-inner {
  box-shadow: 0 0 20px 0 rgba(73, 94, 113, 0.05);
}

.btn-eurocom-full,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-row .btn-eurocom-full,
.woocommerce-MyAccount-content footer input {
  padding: 12px 15px;
  border-radius: 4px;
  background: var(--bs-primary);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border: 0;
}

.btn-eurocom-full:hover,
.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce-form-row .btn-eurocom-full:hover,
.woocommerce-MyAccount-content footer input:hover {
  background: var(--bs-gray-medium);
  color: #fff;
}

.btn-eurocom-border {
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
  text-decoration: none;
  display: inline-block;
  background-color: transparent;
}

.btn-eurocom-border:hover {
  background: var(--bs-primary);
  color: #fff;
}

.btn-eurocom-grey {
  padding: 12px 15px;
  border-radius: 4px;
  background: var(--bs-gray-medium);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border: none;
}

.btn-eurocom-grey:hover {
  background: var(--bs-primary);
}

.btn-eurocom-full,
.btn-eurocom-grey {
  line-height: 20px;
}

.inner-ref {
  max-height: 200px; /* hauteur visible par défaut */
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-bottom: 15px;
}

.inner-ref.expanded {
  max-height: 10000px; /* assez grand pour tout le texte */
}

.btn-toggle-ref {
  cursor: pointer;
  transition: all 0.3s ease;
}

.bg-prefooter,
.products.related {
  background: #fff;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 50%,
    rgba(248, 249, 250, 1) 50%
  );
}

.single-product .bg-prefooter,
.blog .bg-prefooter {
  background: #fff;
  background: linear-gradient(
    180deg,
    rgba(248, 249, 250, 1) 50%,
    rgba(255, 255, 255, 1) 50%
  );
}

.bg-gradient-light {
  background: #fff;
  background: linear-gradient(
    180deg,
    rgba(248, 249, 250, 1) 50%,
    rgba(255, 255, 255, 1) 50%
  );
}

.bg-white {
  background-color: #fff;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li a {
  color: var(--bs-gray-medium);
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--bs-primary);
}

.fixed-banner {
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.bandeau-categ p {
  margin-bottom: 0;
}

.subcategories-list,
.promo-code-box {
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  overflow-x: auto;
}

.subcategories-list {
  white-space: nowrap;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #f76f85 #ffffff; /* thumb / track */
}

/* Webkit (Chrome, Safari, Edge) */
.subcategories-list::-webkit-scrollbar {
  height: 6px; /* hauteur de la scrollbar */
}

.subcategories-list::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 3px;
}

.subcategories-list::-webkit-scrollbar-thumb {
  background-color: #f76f85;
  border-radius: 3px;
}

.subcategories-list li {
  margin-bottom: 10px;
}

.subcategories-list li a {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  color: var(--bs-gray-medium);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
}

.subcategories-list li:hover a {
  background: var(--bs-primary);
  color: #fff;
}

.subcategories-list li:hover a svg path {
  stroke: #fff;
}

.breadcrumb li::after {
  display: none;
}

.tax-product_cat .breadcrumb .breadcrumb-item a,
.tax-product_cat .breadcrumb .breadcrumb-item span,
.tax-product_cat .breadcrumb-item + .breadcrumb-item::before {
  color: #fff;
}

.breadcrumb .breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb .breadcrumb-item a span {
  color: var(--bs-gray-medium);
}

.page-template-contact .breadcrumb .breadcrumb-item a span,
.page-template-qui-sommes-nous .breadcrumb .breadcrumb-item a span {
  color: #fff;
}

.page-template-contact .breadcrumb .breadcrumb-item span {
  color: var(--bs-gray-medium);
}

.page-template-qui-sommes-nous .breadcrumb-item + .breadcrumb-item::before,
.page-template-qui-sommes-nous .breadcrumb .breadcrumb-item span {
  color: #fff;
}

.page-template-qui-sommes-nous .breadcrumb .breadcrumb-item a:hover span {
  text-decoration: underline;
  color: #fff;
}

.breadcrumb .breadcrumb-item span,
.breadcrumb .breadcrumb-item a:hover span {
  color: var(--bs-primary);
}

.tax-product_cat .breadcrumb .breadcrumb-item a:hover span {
  color: #fff;
  text-decoration: underline;
}

ul.pagination {
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #cfc8d8;
  width: fit-content;
  padding-right: 0;
  margin: auto;
}

ul.pagination li {
  border-right: 1px solid #cfc8d8;
}

.woocommerce nav.woocommerce-pagination ul li,
ul.pagination li {
  width: 50px;
  height: 50px;
}

ul.pagination li:last-child {
  border-right: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
ul.pagination li a,
ul.pagination li span {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul {
  border-radius: 6px;
  overflow: hidden;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
ul.pagination li a:focus,
ul.pagination li a:hover,
ul.pagination li span.current {
  background: var(--bs-primary);
  color: #fff;
}

.tax-product_cat .produit-image {
  height: 200px;
  background: #fff;
}

.tax-product_cat .produit-image img {
  height: 100%;
  object-fit: contain;
}

.bloc-discover {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.bloc-discover:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* optionnel : petite ombre */
}

.btn-discover {
  color: #fff;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  text-decoration: none;
}

.link-single-product {
  color: var(--bs-primary);
  font-weight: 500;
  text-decoration: none;
}

.link-single-product:hover {
  color: var(--bs-gray-medium);
}

.link-single-product span {
  position: relative;
  padding-bottom: 2px;
}

.link-single-product span:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--bs-primary);
  bottom: 0;
}

.link-single-product:hover span:before {
  background-color: var(--bs-gray-medium);
}

.number-fabrication {
  display: flex;
  width: 50px;
  height: 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background: var(--bs-primary);
  color: #fff;
  position: relative;
}

.border-line-number:before {
  content: "";
  position: absolute;
  top: 25px;
  width: 100%;
  height: 2px;
  background: var(--bs-primary);
}

.border-line-number:first-child:before {
  width: 50%;
  left: 50%;
}

.border-line-number:last-child:before {
  width: 50%;
  left: 0;
}

.tab-section ul.nav li button {
  border: none;
  color: var(--bs-third);
}

.tab-section ul.nav li button.active {
  border-bottom: 2px solid var(--bs-gray-darker);
  color: var(--bs-gray-darker);
  font-weight: 600;
}

.tab-section .tab-content {
  border: none !important;
}

.related.products .coup-coeur {
  justify-content: center;
}

.mv-color-block {
  border: 1px solid #d3dee6;
}

.mv-color svg {
  animation: popIn 0.25s ease forwards;
}

@keyframes popIn {
  from {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.form-control-sm {
  border-radius: 100px;
  background: var(--bg-bg-white, #fff);
  border: none;
  text-align: center;
}

.mv-remove-color {
  top: 50%;
  right: -13px;
  background: #fff;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 2px 15px 0 rgba(73, 94, 113, 0.1);
}

.composited_product_details_wrapper .attribute_options .mv-colors button {
  height: 30px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 8px;
}

.composited_product_details_wrapper .attribute_options .value {
  display: flex;
  gap: 10px;
  align-items: center;
}

.component .cart .variations a.reset_variations {
  margin-top: 0 !important;
}

.mv-active span,
.composited_product_details_wrapper
  .attribute_options
  .mv-colors
  button.selected
  span {
  border: 2px solid rgba(0, 0, 0, 0.35);
}

/* --- Animation fade pour Eurocom Variations --- */

.mv-fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.mv-fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.mv-fade-out {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.mv-fade-out.hide {
  opacity: 0;
  transform: translateY(-10px);
}

.steps-line {
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}
.step-item {
  flex: 1;
  position: relative;
  border-bottom: 4px solid #fff;
  padding-bottom: 20px;
}

.step-item.active,
.step-item.done {
  border-bottom: 4px solid var(--bs-primary);
  color: var(--bs-primary);
}

.step-item span {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 50%;
  background-color: #ddd;
  color: #fff;
  font-weight: bold;
}

.woocommerce-cart-form {
  background-color: #fff;
  padding: 25px;
}

.woocommerce table.shop_table {
  border: none;
}

.woocommerce-cart table.cart .product-thumbnail {
  min-width: 150px;
}

.woocommerce-cart table.cart img {
  width: 150px;
}

.woocommerce a.remove:hover {
  background: inherit;
}

.woocommerce a.remove:hover svg path {
  stroke: var(--bs-gray-medium);
}

.woocommerce-cart .woocommerce-cart-form__cart-item .woocommerce-Price-amount {
  color: var(--bs-gray-medium);
  font-weight: 700;
  font-size: 20px;
}

.woocommerce-cart .woocommerce-cart-form__cart-item .product-name {
  font-size: 18px;
  color: var(--bs-gray-medium);
  font-weight: 700;
  text-decoration: none;
  font-family: var(--secondary-family);
}

.woocommerce-cart .woocommerce-cart-form__cart-item .product-subtotal {
  width: 200px;
}

.wc-item-variations {
  list-style: none;
  padding-left: 0;
  line-height: 20px;
}

.woocommerce .cart-collaterals::before {
  display: none;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  width: inherit;
}

.cart_totals,
.coupon-cart {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
}

.text-hero-swiper-section {
  top: 50%;
}

.woocommerce .coupon-cart form.checkout_coupon {
  margin: 0;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.woocommerce .coupon-cart form.checkout_coupon p {
  padding: 0px;
  width: inherit;
  margin: 0px;
}

.woocommerce .coupon-cart form.checkout_coupon button {
  padding: 12px 15px;
  border-radius: 4px;
  background: var(--bs-primary);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border-radius: 0 100px 100px 0;
  height: 49px;
}

.woocommerce .coupon-cart form.checkout_coupon button:hover {
  background: var(--bs-gray-medium);
}

.woocommerce .coupon-cart form.checkout_coupon input {
  padding: 12px 25px;
  border-radius: 100px 0px 0px 100px;
  background: var(--bs-gray-light);
  border: 0;
}

.woocommerce .coupon-cart form.checkout_coupon input:focus {
  outline: none;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr,
.woocommerce-cart .cart-collaterals .cart_totals table tr td,
.woocommerce-cart .cart-collaterals .cart_totals tr th {
  border: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr td {
  text-align: end;
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
  padding: 9px 0px;
}

.woocommerce-remove-coupon,
.shipping-calculator-button {
  color: var(--bs-primary);
}

.woocommerce-cart
  .woocommerce-cart-form__cart-item
  .wc-item-variations
  .woocommerce-Price-amount {
  font-size: 0.875rem;
  color: #495e71;
  font-weight: normal;
}

.custom-quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 10px;
}

.custom-quantity-wrapper button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #dae3eb;
  background-color: #fff;
}

.custom-quantity-wrapper button:hover {
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
}

.custom-quantity-wrapper input.qty {
  width: 60px;
  text-align: center;
  border: 0;
}

input.qty::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.qty {
  -moz-appearance: textfield;
}

.woocommerce table.shop_table_responsive tr td::before,
.woocommerce-page table.shop_table_responsive tr td::before {
  display: none;
}

.woocommerce-MyAccount-navigation {
  background-color: var(--bs-gray-light);
  padding: 24px;
  border-radius: 12px;
  max-width: 300px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: white;
  color: var(--bs-gray-dark);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.woocommerce-MyAccount-navigation li a:hover {
  background-color: var(--bs-gray-light);
  border-color: var(--bs-third);
  color: var(--bs-secondary);
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a[aria-current="page"] {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.last-post {
  border-radius: 50px;
  background: var(--bs-primary);
  padding: 5px 12px;
  font-size: 14px;
  color: #fff;
}

.btn-article {
  color: var(--bs-primary);
  font-weight: 600;
}

.first-post-inner:hover .btn-article,
.other-post-inner:hover .btn-article {
  color: var(--bs-gray-medium);
}

.first-post-inner:hover .btn-article svg path,
.other-post-inner:hover .btn-article svg path {
  fill: var(--bs-gray-medium);
}

.article-blog .post-thumbnail {
  height: 330px;
}

.article-blog .post-thumbnail img {
  object-fit: cover;
  height: 100%;
}

.wp-singular .nav-title a {
  color: var(--bs-primary);
}

.wp-singular .nav-title a:hover {
  color: var(--bs-gray-medium);
}

@media screen and (max-width: 768px) {
  .woocommerce-MyAccount-navigation {
    max-width: 100%;
    padding: 12px;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .woocommerce-MyAccount-navigation li {
    margin-bottom: 0;
    flex: 1 0 auto;
  }

  .woocommerce-MyAccount-navigation li a {
    text-align: center;
    padding: 10px;
  }
}

@media screen and (min-width: 768px) {
  .search-overlay {
    display: none;
  }
}

@media screen and (max-width: 767.9px) {
  .reassurances-swiper {
    padding-bottom: 35px;
  }

  .coup-coeur {
    height: inherit;
    gap: 10px;
  }

  .coup-coeur .inner-product {
    display: flex;
    align-items: center;
  }

  .coup-coeur .btn-perso-eurocom {
    font-size: 14px;
  }

  .coup-coeur .produit-image {
    height: 160px;
    width: 100%;
  }
  .w-70,
  .coup-coeur .w-70 {
    width: 100%;
  }

  .p-75 {
    padding: 35px 0px;
  }

  .categorie-box img {
    height: 200px !important;
    object-fit: cover;
  }

  .p-50 {
    padding: 20px;
  }

  .fixed-banner {
    height: inherit;
    min-height: inherit;
    max-height: inherit;
  }

  .p-45 {
    padding: 20px 0px;
  }

  .subcategories-list {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: flex;
    gap: 1rem; /* espace entre les liens */
    scrollbar-width: thin;
    scrollbar-color: #f76f85 #ffffff;
    padding-bottom: 0.5rem;
    height: inherit;
    min-height: inherit;
    max-height: inherit;
  }

  .subcategories-list ul {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 15px;
  }

  .subcategories-list li {
    flex: 0 0 auto;
  }

  .subcategories-list li a svg,
  .border-line-number:before {
    display: none;
  }

  .border-line-number {
    width: 75%;
  }

  .text-hero-swiper-section {
    width: 100%;
  }

  .hero-swiper-section .swiper-slide {
    height: 475px !important;
  }

  .text-hero-swiper-section {
    transform: translate(-50%, 85%) !important;
    top: 0;
  }

  .price-product .text-lg {
    font-size: 14px;
  }

  .produits_mises_en_avant .inner-product,
  .link-product-eurocom .inner-product {
    flex-direction: row;
    align-items: center;
    display: flex;
    background-color: #fff;
  }

  .produits_mises_en_avant .produit-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .produits_mises_en_avant .produit-image,
  .link-product-eurocom .inner-product .produit-image {
    flex: 0 0 35%; /* hauteur fixe */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: inherit;
  }

  .produits_mises_en_avant .p-3.d-flex.flex-column,
  .link-product-eurocom .p-3.d-flex.flex-column {
    flex: 0 0 65%; /* hauteur fixe */
  }

  .btn-perso-eurocom {
    font-size: 14px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991.9px) {
  .reassurances-swiper {
    padding-bottom: 35px;
  }

  .coup-coeur {
    height: inherit;
    gap: 10px;
  }

  .categorie-box img {
    height: 200px !important;
    object-fit: cover;
  }

  .p-75 {
    padding: 35px 0px;
  }

  .fixed-banner {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
  }

  .subcategories-list {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: flex;
    gap: 1rem; /* espace entre les liens */
    scrollbar-width: thin;
    scrollbar-color: #f76f85 #ffffff;
    padding-bottom: 0.5rem;
    height: inherit;
    min-height: inherit;
    max-height: inherit;
  }

  .subcategories-list ul {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 15px;
  }

  .subcategories-list li {
    flex: 0 0 auto;
  }

  .subcategories-list li a svg,
  .border-line-number:before {
    display: none;
  }

  .border-line-number {
    width: 75%;
  }

  .hero-swiper-section .swiper-slide img {
    width: 75%;
  }

  .text-hero-swiper-section {
    width: 50%;
  }

  .hero-swiper-section .swiper-slide {
    height: 300px !important;
  }

  .text-hero-swiper-section {
    transform: translate(-100%, -50%) !important;
    top: 50%;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199.9px) {
  .reassurances-swiper {
    padding-bottom: 35px;
  }

  .p-75 {
    padding: 35px 0px;
  }

  .text-hero-swiper-section {
    width: 50%;
  }

  .hero-swiper-section .swiper-slide {
    height: 400px !important;
  }

  .hero-swiper-section .swiper-slide img {
    width: 75%;
  }

  .text-hero-swiper-section {
    transform: translate(-100%, -50%) !important;
    top: 50%;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399.9px) {
}

#customer_details {
  margin-bottom: 45px;
}

#customer_details .col-1,
#customer_details .col-2,
#order_review {
  background: #fff;
  padding: 25px;
  border-radius: 25px;
}

.woocommerce-checkout form .form-row .input-text,
.woocommerce-checkout form .form-row .select2-selection,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
  border-radius: 100px;
  background: #f5f6fa;
  padding: 12px 25px;
  border: 0;
}

.woocommerce form.login,
.woocommerce form.register {
  background-color: #fff;
  border: 0;
  border-radius: 10px;
}

.woocommerce-checkout
  form
  .form-row
  .select2-selection
  .select2-selection__rendered {
  padding: 0;
}

.woocommerce-LostPassword a {
  color: var(--bs-primary);
}

.woocommerce-LostPassword a:hover {
  color: var(--bs-gray-medium);
}

.d-none-before:before {
  display: none;
}

.woocommerce-privacy-policy-text {
  display: inline-block;
}

.woocommerce-privacy-policy-text a {
  color: var(--bs-primary);
}

.woocommerce-privacy-policy-text a:hover {
  color: var(--bs-gray-medium);
}

.woocommerce-info {
  border-top-color: var(--bs-secondary) !important;
}

.woocommerce-info::before {
  color: var(--bs-secondary) !important;
}

.woocommerce-info a {
  color: var(--bs-primary);
}

.woocommerce-info a:hover {
  color: var(--bs-gray-medium);
}

.img-fluid img {
  max-width: 100%;
  height: auto;
}

.list-devis {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#productTabContent .table-responsive thead th {
  background-color: var(--bs-gray-light) !important;
  color: var(--bs-gray-medium);
  font-weight: 600;
}

#productTabContent .table-responsive tbody tr td {
  padding: 10px 5px;
}

#productTabContent .table-responsive tbody tr td {
  color: var(--bs-gray-medium);
}

.composited_product_details_wrapper label {
  display: none;
}

.component_title {
  font-size: 20px;
}

.component_title_toggled {
  color: var(--bs-primary);
}

.component_title_toggled.inactive {
  color: var(--bs-gray-medium);
}

.component_inner {
  padding-bottom: 32px;
}

.component_inner .woocommerce-info,
.validation_message .woocommerce-info {
  margin-top: 16px !important;
  padding: 15px;
}

.component_inner .woocommerce-info ul,
.validation_message .woocommerce-info ul {
  padding-left: 0;
}

.component_inner .woocommerce-info:before,
.validation_message .woocommerce-info:before {
  display: none;
}

.component_table_item .product-name .component_table_item_indent dt {
  display: none;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel {
  background-color: #fff;
  border-radius: 20px;
}

#wpgs-gallery .wcgs-thumb.spswiper-slide-thumb-active.wcgs-thumb img {
  border: 2px solid var(--bs-primary) !important;
}

.overlay-bandeau-contact {
  background: linear-gradient(180deg, rgba(247, 111, 133, 0) 0%, #f76f85 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.inner-text-contact {
  padding: 35px;
  border-radius: 10px;
  background: #f5f6fa;
}

.page-template-demande-devis .gform-footer,
.page-template-contact .gform-footer {
  justify-content: end;
}

.navbar {
  padding-bottom: 0;
}

#primary-menu .devis-express a {
  display: flex !important;
  gap: 15px;
  background-color: var(--bs-primary) !important;
  color: #fff !important;
  border-top-left-radius: 6px !important;
  border-top-right-radius: 6px !important;
  text-transform: uppercase !important;
  font-weight: 500;
  padding: 10px 24px;
  position: relative;
}

/*#primary-menu .devis-express a:before {
  content: url("/wp-content/uploads/2025/11/devis-svg.svg");
  position: absolute;
  left: 10%;
  width: 15px;
  height: 15px;
}
*/

#primary-menu .devis-express a:hover {
  background-color: var(--bs-gray-medium) !important;
}

#primary-menu .devis-express a img {
  margin-bottom: 0 !important;
}

.sp-html-sitemap ul li a {
  color: #34333c;
}

.sp-html-sitemap ul li a:hover {
  color: #f76f85;
}

.title-product-home {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Nombre de lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 38px;
}

/* Base mobile hidden input */
@media (max-width: 768px) {
  .btn-search input {
    display: none;
  }

  .search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }

  .search-overlay.active {
    display: flex;
  }

  .search-overlay form {
    width: 100%;
    max-width: 500px;
    position: relative;
  }

  .search-overlay input {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
  }

  .search-overlay .close-search {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  .btn-search button {
    width: 35px;
    height: 35px;
    border-radius: 100px;
    background: var(--bs-gray-light);
  }

  .btn-search button svg {
    width: 15px;
    height: auto;
  }

  .btn-search button svg path {
    stroke: #495e71;
  }
}

.rs-footer a:hover svg path {
  fill: var(--bs-primary);
}

.menu-icon {
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-right: 6px;
}

@media (min-width: 992px) {
  .content-intro-categ {
    position: absolute;
  }
}

.livraison {
  color: var(--bs-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.nb-jour-livraison {
  color: var(--bs-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.bloc-livraison {
  background-color: #fff;
  padding: 10px 25px;
  border-radius: 15px;
}

.mySwiperRelated .swiper-wrapper {
  margin-bottom: 15px;
}

.mySwiperRelated .swiper-wrapper .link-product-eurocom {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.05);
}

.heigh-img-categ img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

#dropdown .linguise_switcher_dropdown li,
#dropdown
  .linguise_switcher_dropdown
  li.linguise_current
  .linguise_current_lang {
  border: none !important;
}

#dropdown
  .linguise_switcher_dropdown
  li.linguise_current
  .linguise_current_lang {
  padding: 0;
}

#dropdown .linguise_switcher_dropdown li.linguise_current:hover .lccaret.top {
  transform: inherit !important;
}

.lccaret svg path {
  fill: #fff;
}

.linguise_switcher:hover .lccaret svg path {
  fill: #f76f85;
}

.cart-count {
  width: 20px;
  height: 20px;
  font-size: 10px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  padding: 0 !important;
  display: inline-block;
}

.swiper-wrapper .produit-image picture {
  height: 100%;
}

.categorie-box img {
  height: 100%;
}

.slogan-eurocom {
  font-size: 11px;
  font-weight: bold;
  color: var(--bs-gray-medium);
  text-decoration: none;
  margin-top: -10px;
  display: block;
}

.site-header {
  position: sticky;
  top: 0px;
  z-index: 1000;
  transition: all 0.3s ease;
  will-change: transform, box-shadow;
}

/* Style appliqué après scroll */
.site-header.is-stuck {
  top: 0px;
  transform: translateY(-90px);
}

.custom-accordion-item {
  background: transparent;
  border: 0;
}

.custom-accordion-item .custom-accordion-button {
  background: var(--bs-primary);
  color: #fff;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("/wp-content/themes/eurocom/assets/img/arrow-accordeon.svg");
}

.img-picto-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; /* ou auto, selon besoin */
  height: 24px;
}

.img-picto-menu img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.mv-quantities {
  max-height: 310px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease-in-out;
}

.mv-quantities.expanded {
  max-height: none;
}

.mv-quantities::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.mv-quantities.expanded::after {
  opacity: 0;
  pointer-events: none;
}

.mv-see-more-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(248, 249, 250, 0),
    rgba(248, 249, 250, 0.95)
  );
  z-index: 10;
}

.mv-quantities.expanded .mv-see-more-container {
  display: none;
}

.mv-see-more-btn {
  background-color: #f76f85;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: all 0.2s ease;
}

.mv-see-more-btn:hover {
  background: var(--bs-gray-medium);
  color: #fff;
}

.mv-see-more-btn:active {
  transform: scale(0.98);
}

.woocommerce table.my_account_orders .button {
  white-space: nowrap;
  margin: 0px 2px;
}

.btn-perso-eurocom {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid #64c278;
  background: #64c278;
  color: #fff;
  width: 100%;
  text-align: center;
}

.link-product-eurocom:hover .btn-perso-eurocom {
  border: 1px solid #64c278;
  background: #fff;
  color: #64c278;
}

.plus-populaire {
  height: 100%;
  justify-content: center;
}

.archive .link-product-eurocom .bg-white {
  background: #fff;
}

.img-reassurance {
  height: 50px !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.page-template-default:not(.home) main a {
  color: var(--bs-primary) !important;
}

.page-template-default:not(.home) main a:hover {
  text-decoration: none;
}
