/*
Template Name: Shopingo - eCommerce HTML Template
Author: codervent
Email: codervent@gmail.com
File: style.css
*/

/*
Table of index
*/

/*
- General
- Header
- Navigation
- Page content
- breadcrumb
- Footer
- Utilitis
- Back Button
- Pagination (Added)
 */

:root {
  --theme-rose: #E72987;
  --theme-orange: #EA5A1E;
}

/* General */

body {
  color: #797979;
  letter-spacing: 0.5px;
  background-color: #ffffff;
  font-family: 'Raleway', sans-serif;
  transition: padding-right 0.1s ease;
}

a {
  text-decoration: none;
}

::placeholder {
  opacity: 0.5 !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #323232;
}

.bg-rose{
  background-color: var(--theme-rose);
}
.bg-orange{
  background-color: var(--theme-orange);
}

.btn-rose{
  background-color: var(--theme-rose);
  color: #fff;
}
.btn-orange{
  background-color: var(--theme-orange);
  color: #fff;
}

.text-rose{
  color: var(--theme-rose);
}
.text-orange{
  color: var(--theme-orange);
}


/* loader */

.loader-wrapper {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: #ffffff;
}

html {
  overflow-y: scroll !important;
}

/* Header */

.top-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important; /* On force 100% au lieu de right:0 */
  background-color: #ffffff;
  padding: 0 1rem !important; /* On verrouille le padding initial */
  z-index: 1030; /* Valeur standard Bootstrap pour rester au dessus de l'overlay */
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
  box-sizing: border-box !important;
}

html.offcanvas-open {
  overflow: hidden;
}

body.offcanvas-open {
  overflow: auto !important; /* On laisse le scroll naturel du site */
  padding-right: 0 !important; /* On interdit le décalage de 17px */
}
.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}


.top-header .primary-menu .navbar-nav a.nav-link {
  color: #222121;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  height: auto;
  display: flex;
  align-items: center;
  padding-right: 1rem;
  padding-left: 1rem;
  border-bottom: 1px solid #e1e1e1;
}


.top-header .primary-menu .navbar-nav a.nav-link:hover,
.top-header .primary-menu .navbar-nav a.nav-link:focus,
.top-header .primary-menu .nav-link.active,
.top-header .primary-menu .show>.nav-link {
  background-color: #ffffff;
}

.top-header .primary-menu .dropdown-menu .dropdown-item.active,
.top-header .primary-menu .dropdown-menu .dropdown-item:active {
  color: #343434;
  text-decoration: none;
  background-color: #f1f0f0
}


.top-header .secondary-menu.navbar-nav a.nav-link {
  color: #222121;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding-right: 0.6rem;
  padding-left: 0.6rem
}


.top-header .navbar .dropdown-menu {
  border: 0;
  border-radius: 0;
  font-size: 14px;
  text-transform: uppercase;
}

.top-header .secondary-menu .cart-badge {
  position: absolute;
  top: 6px;
  right: 0px;
  color: #fff;
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff2c2c;
}


@-webkit-keyframes animdropdown {
  from {
    -webkit-transform: translate3d(0, 6px, 0);
    transform: translate3d(0, 6px, 0);
    opacity: 0
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1
  }
}

@keyframes animdropdown {
  from {
    -webkit-transform: translate3d(0, 6px, 0);
    transform: translate3d(0, 6px, 0);
    opacity: 0
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1
  }
}


/* Navigation */

.primary-menu {
  background-color: #ffffff;
}

.primary-menu.offcanvas-body {
  padding: 0rem 0rem;
}

.offcanvas-header {
  height: 65px;
  border-bottom: 1px solid #e1e1e1;
}

.offcanvas-start {
  width: 280px;
}

.top-header .primary-menu .dropdown-large-menu {
  width: auto;
  padding: 0.5rem;
}

.top-header .primary-menu .dropdown-large-menu .large-menu-title {
  font-size: 15px;
  font-weight: 600;
  padding: 0.25rem 1rem;
}

.top-header .primary-menu .dropdown-large-menu ul li a {
  display: block;
  width: 100%;
  padding: 0.25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}


@media all and (min-width: 1200px) {


  .top-header .primary-menu .dropdown-large-menu {
    width: 630px;
    padding: 0.5rem;
  }

  .top-header .primary-menu .navbar-nav a.nav-link {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
    height: 65px;
    border-bottom: 0px solid #e1e1e1;
  }


  .top-header .primary-menu .navbar-nav a.nav-link:hover,
  .top-header .primary-menu .navbar-nav a.nav-link:focus,
  .top-header .primary-menu .nav-link.active,
  .top-header .primary-menu .show>.nav-link {
    background-color: #f4f4f4;
  }

  .primary-menu {
    background-color: rgba(33, 37, 41, 0);
  }

  .primary-menu .navbar-nav .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
    -webkit-animation: .6s cubic-bezier(.25, .8, .25, 1) 0s normal forwards 1 animdropdown;
    animation: .6s cubic-bezier(.25, .8, .25, 1) 0s normal forwards 1 animdropdown
  }

  .primary-menu .navbar-nav .nav-item:hover>.dropdown-menu {
    display: block;
  }


}


.footer-widget-6 .logo-img {
  width: 300px;
}

.top-header .logo-img {
  height: 60px;
}

.dropdown-toggle-nocaret:after {
  display: none
}

.mobile-menu-btn,
.mobile-menu-btn:hover {
  color: #464444;
  font-size: 1.5rem;
}

.taille-btn.mon-panier-actif::after {
  display: none !important;
}



/*Page content*/

.page-content {
  padding-top: 65px;
}

.product-tab-menu .nav-pills .nav-link {
  color: #292626;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border: 1px solid #292626;
  margin: 0 10px;
  border-radius: 5px;
  white-space: nowrap;
}

.product-tab-menu .nav-pills .nav-link.active,
.product-tab-menu .nav-pills .show>.nav-link {
  color: #ffffff;
  background-color: #212529;
}


.tabular-product .card,
.product-thumbs .card,
.product-grid .card {
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 6px 0 rgb(218 218 253 / 55%), 0 2px 6px 0 rgb(206 206 238 / 44%);
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}

.product-zoom-images .img-thumb-container img {
  cursor: zoom-in;
}

.product-zoom-images img,
.tabular-product .card img,
.product-thumbs .card img,
.product-grid .card img,
.cartegory-box .card img {
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  border-radius: 0;
}

.product-options {
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.65);
}

.tabular-product .card:hover .product-options,
.product-thumbs .card:hover .product-options,
.product-grid .card:hover .product-options {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}

.similar-products .card {
  cursor: pointer;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}


.similar-products .card:hover {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.product-short-title {
  color: #212529;
  font-size: 18px;
}

.product-short-name {
  color: #898989;
  font-size: 16px;
}

.product-count {
  color: #212529;
  font-weight: 600;
}

.product-options a {
  width: 35px;
  height: 35px;
  font-size: 16px;
  border-radius: 0;
  background-color: #212529;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.btn-ecomm {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  z-index: 600;

}

.btn-ecomm:focus {
  border: 1px solid #2f3338;
  box-shadow: 0 0 0 .25rem rgba(33, 37, 41, 0.25)
}



.separator {
  display: flex;
  align-items: center;
}

.separator .line {
  height: 1px;
  flex: 1;
  background-color: var(--theme-rose);
}

.separator h3 {
  padding: 0 1.5rem;
}

.address-info .form-check-input,
.filter-sidebar .form-check-input,
.filter-sidebar .form-check-label {
  cursor: pointer;
}

.filter-sidebar .product-number {
  color: #b7b7b7;
  margin-left: 7px;
}

.filter-sidebar .form-check-input[type=checkbox] {
  border-radius: 0;
}

.address-info .form-check-input:checked,
.filter-sidebar .form-check-input:checked {
  background-color: #212529;
  border-color: #212529;
}

.address-info .form-check-input:focus,
.filter-sidebar .form-check-input:focus {
  border-color: #212529;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(34, 38, 42, 0.0)
}


/* width */
.filter-sidebar ::-webkit-scrollbar {
  width: 7px;
}

/* Track */
.filter-sidebar ::-webkit-scrollbar-track {
  background: #e9e9e9;
}

/* Handle */
.filter-sidebar ::-webkit-scrollbar-thumb {
  background: #c1c1c1;
}

/* Handle on hover */
.filter-sidebar ::-webkit-scrollbar-thumb:hover {
  background: #555;
}


.filter-column .offcanvas-start {
  width: 320px;
}


.filter-column .offcanvas {
  z-index: 21;
}



@media (min-width: 1200px) {

  .filter-column .offcanvas {
    z-index: 19;
  }

}

.filter-column .offcanvas-backdrop {
  z-index: 20;
}

.btn-filter-mobile {
  position: fixed;
  top: 30%;
  left: 0;
  background-color: #212529;
  color: #fff;
  text-transform: uppercase;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
}


.view-type .grid-type-3 {
  background-color: #ffffff;
  padding: 4px;
  border: 1px solid #e1e2e3;
  cursor: pointer;
}

.view-type .grid-type-3 span {
  width: 7px;
  height: 16px;
  background-color: #cfcfcf;
}

.view-type .grid-type-3.active span {
  background-color: #3e3d3d;
}

.product-pagination .page-link {
  color: #4b5157;
}

.product-pagination .page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}

.product-pagination .page-link:focus {
  color: #212529;
  box-shadow: 0 0 0 .25rem rgba(33, 37, 41, 0.25)
}

.product-pagination .page-item:first-child .page-link {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0
}

.product-pagination .page-item:last-child .page-link {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0
}

.form-control:focus {
  box-shadow: 0 0 0 .25rem rgba(33, 37, 41, 0.25)
}

.ribban {
  position: absolute;
  top: 16px;
  left: 0%;
  padding: 2px 7px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #f50a3b;
  cursor: pointer;
  z-index: 1;
}

.depth {
  box-shadow: 0 2px 6px 0 rgb(218 218 253 / 55%), 0 2px 6px 0 rgb(206 206 238 / 44%);
}

.brands .brand-box {
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}

@media all and (min-width: 1024px) {

  .product-zoom-images img:hover,
  .tabular-product .card:hover img,
  .product-thumbs .card:hover img,
  .product-grid .card:hover img,
  .cartegory-box .card:hover img {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }

  .brands .brand-box:hover {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }

}



.blog-cards .card,
.cartegory-box .card {
  border-radius: 5px;
  border: 0;
  box-shadow: 0 2px 6px 0 rgb(218 218 253 / 55%), 0 2px 6px 0 rgb(206 206 238 / 44%);
}


.subscribe-banner {
  background-image:
          linear-gradient(to bottom, rgba(0, 0, 0, 0.542), rgba(0, 0, 0, 0.73)),
          url('/include/images/home/woman-posing.jpg');
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
}

.bubscribe-control {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.119);
  border: 1px solid rgb(255 255 255 / 62%);
}

.bubscribe-control:focus {
  color: #ffffff;
  background-color: rgb(255 255 255 / 0%);
  border-color: rgba(255, 255, 255, 0.71);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, 0.25)
}

.bubscribe-control::placeholder {
  color: #ffffff !important;
}


.bubscribe-button {
  color: rgb(50, 46, 46);
  background-color: #ffffff;
  border-color: #ffffff;
}

.bubscribe-button:focus {
  border-color: rgba(255, 255, 255, 0.71);
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, 0.25)
}




/* breadcrumb */

.breadcrumb li a {
  color: #636363;
}

.breadcrumb li.active {
  color: #222121;
}


/* Footer */

.footer-section .widget-link li {
  margin-bottom: 0.3rem;
}

.footer-section .widget-link li a {
  color: #636363;
  font-size: 14px;
  text-decoration: none;
}


.footer-section .widget-link li a:hover {
  color: #262424;
  text-decoration: underline;
}


.footer-widget-6 {
  color: #636363;
  font-size: 14px;
  text-decoration: none;
}


.footer-widget-7 .widget-link li a {
  text-transform: capitalize;
}


.footer-widget-9 .social-link a {
  width: 40px;
  height: 40px;
  color: #212529;
  background-color: rgb(255 255 255 / 0%);
  border: 1px solid #212529;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.footer-widget-9 .social-link a:hover {
  color: #ffffff;
  background-color: #212529;
}



/* Utilitis*/


.section-padding {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.bg-section-1 {
  background-color: #ffffff;
}

.bg-section-2 {
  background-color: #f9f9f9;
}

.bg-green {
  background-color: #21ad61 !important;
}

.bg-pink {
  background-color: #ed4264 !important;
}

.bg-skyblue {
  background-color: #2ea5c2 !important;
}

.bg-skyblue-light {
  background-color: #b8dde9 !important;
}

.bg-red-light {
  background-color: #fdd9de !important;
}

.bg-purple {
  background-color: #723da6 !important;
}

.bg-green-light {
  background-color: #9fffd1 !important;
}

.bg-purple-light {
  background-color: #e1c4ff !important;
}

.bg-yellow {
  background-color: #fdc200 !important;
}

.bg-yellow-light {
  background-color: #feffaa !important;
}

.bg-red {
  background-color: #ff2c2c !important;
}

.bg-twitter {
  background-color: #00acee !important;
}

.bg-facebook {
  background-color: #3b5998 !important;
}

.bg-linkden {
  background-color: #0072b1 !important;
}

.bg-youtube {
  background-color: #e2251f !important;
}

.bg-pinterest {
  background-color: #c8232c !important;
}

.text-purple {
  color: #723da6 !important;
}

.text-orange {
  color: #ff2c2c !important;
}

.text-brown {
  color: #ce5334 !important;
}

.text-cyane {
  color: #00FFFF !important;
}

.text-ten {
  color: #5eff00 !important;
}

.text-pink {
  color: #ff006f !important;
}

.ratings {
  font-size: 13px;
;
}

.width-content {
  width: fit-content
}

.rating-number {
  color: #212529;
}

.text-content {
  color: #212529;
}

.size-chart div button {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  color: #222121;
  font-weight: 600;
  background-color: #ffffff;
}

.size-chart div button:hover,
.size-chart div button:focus {
  color: #ef2424;
  border: 1px solid #ef2424;
}


.more-colors .color-box {
  width: 40px;
  height: 40px;
  font-size: 14px;
  border: 1px solid #dee2e6;
  border-radius: 0%;
  color: #222121;
  font-weight: 600;
  background-color: #ffffff;
  cursor: pointer;
}


.product-share .btn-social {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 0px solid #dee2e6;
  border-radius: 0%;
  color: #ffffff;
  font-weight: 600;
  background-color: #ffffff;
  cursor: pointer;
}

.height-1 {
  position: relative;
  scrollbar-width: thin;
  height: 260px;
  overflow-y: scroll;
  scrollbar-width: thin;
}

.wishlist-close {
  background-color: #ffffff;
  border-radius: 50%;
  padding: 10px;
  margin: 7px;
}

.wrap-modal-slider.open {
  opacity: 1;
}

.wrap-modal-slider .slider-for .slick-slide {
  margin: 0 0px
}

.wrap-modal-slider .slider-for .slick-list {

  margin: 0 0px
}

.wrap-modal-slider .slider-nav .slick-slide {
  margin: 0 10px
}

.wrap-modal-slider .slider-nav .slick-list {
  margin: 0 -10px
}

.modal-close-button {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 30px;
  height: 30px;
  background-color: #ffffff;
  border-radius: 0%;
  opacity: 1;
  z-index: 1;
  box-shadow: 0 0 24px 2px rgb(0 0 0 / 20%);
}


.payment-method .nav-link {
  color: #212529;
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid #dedede;
  font-weight: 600;
}

.payment-method .nav-pills .nav-link.active,
.payment-method .nav-pills .show>.nav-link {
  color: #212529;
  background-color: #ffffff;
}

.account-menu .list-group-item {
  color: #212529;
}

.account-menu .list-group-item.active {
  color: #ffffff;
  background-color: #212529;
  border-color: #212529;
}

/*Back Button */

.back-to-top {
  display: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  position: fixed;
  border-radius: 50%;
  bottom: 20px;
  right: 12px;
  background-color: #212529;
  z-index: 5;
}

.back-to-top:hover {
  color: #fff;
}


/*Modifs*/
.carousel-control-prev, .carousel-control-next{
  width: 8%;
}

.carousel-item {
  width: 100%;
  /* ratio arbitraire : ici 16/9, à ajuster selon vos images */
  aspect-ratio: 29 / 9;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
}

.product-taille{
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  color: #fff;
  padding: 4px;
  border-bottom-right-radius: 15px;
  font-family: 'Calibri', 'Raleway';
}

input, .form-control, .form-control-lg {
  border-radius: 5px;
}

.btn-vinted{
  background-color: #00B1B9;
  border-color: #00B1B9;
}

.contact-form input{
  color: #777;
  font-size: 14px;
  border: 1px solid var(--theme-rose);
  width: 100%;
  height: 50px;
  outline: 0;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 25px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-bottom: 30px;
}

.contact-form textarea{
  color: #777;
  font-size: 14px;
  border: 1px solid var(--theme-rose);
  width: 100%;
  outline: 0;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 25px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-bottom: 30px;
}

.alert-success{
  border-color: var(--theme-rose);
  background: var(--theme-rose);
  color: #fff;
}

.alert-danger{
  border-color: var(--theme-orange);
  background: var(--theme-orange);
  color: #fff;
}

.bg-rose-white{
  background: #fadadd;
}

/* Style personnalisé pour le bandeau de cookies */
#cookie-banner {
  background-color: #0082C4;
  color: #fff;
  padding: 10px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner p {
  margin-bottom: 15px;
  font-size: 16px;
}
#cookie-banner button {
  margin: 0 5px;
  min-width: 120px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  line-height: 1;
  border: 2px solid #000000;
  padding: 14px 30px 18px;
}
/* Bouton d'acceptation */
#cookie-banner .btn-accept {
  background-color: #fff;
  color: #0082C4;
  border: none;
}
/* Bouton de refus */
#cookie-banner .btn-decline {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-valide{
  background-color: var(--color-button-hover)!important;
  color: #fff;
}

/* Vos boutons « marque » : forme, espacement intérieur, transition */
.brand-btn {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  transition: transform 0.15s ease-in-out, background 0.3s ease;
  border-color: var(--theme-rose);
  color: var(--theme-rose);
}
.brand-btn:hover {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  border-color: var(--theme-rose);
  color: #fff;
}


.cd-filter-block-title {
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.size-box {
  width: 45px;
  height: 35px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.size-box:hover { border-color: #000; }
.active-size {
  background-color: #000;
  color: #fff;
  border-color: #000;
}
.filter-label { cursor: pointer; }
.filter-label:hover { text-decoration: underline; }

/* Grille de tailles Glamuse-style */
.size-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 8px;
}

.size-item {
  border: 1px solid #dee2e6;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-item:hover {
  border-color: #000;
  background-color: #f8f9fa;
}

.size-item.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Sidebar Categories */
.filter-sidebar .form-check-input:checked {
  background-color: #000;
  border-color: #000;
}

.category-group p {
  letter-spacing: 0.5px;
}

.toggle-icon {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}

/* Page de connexion */

.auth-page {
  --theme-text: #241f2d;
  --theme-muted: #7e778c;
  --theme-line: rgba(36, 31, 45, 0.08);
  --theme-white: #ffffff;
  --theme-shadow: 0 30px 80px rgba(20, 16, 30, 0.12);
  --auth-transition: 0.85s cubic-bezier(.22, 1, .36, 1);
}

/* Scope box-sizing à la page */
.auth-page * {
  box-sizing: border-box;
}

/* Fond : on l’applique à la section auth (pas au body du site) */
.auth-page {
  background:
          radial-gradient(circle at 10% 10%, rgba(233, 75, 135, 0.10), transparent 30%),
          radial-gradient(circle at 90% 85%, rgba(255, 138, 61, 0.12), transparent 28%),
          linear-gradient(180deg, #fff7fb 0%, #fff 55%, #fff8f4 100%);
}

.auth-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.auth-page .auth-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.auth-page .auth-forms {
  position: relative;
  min-height: 110vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.auth-page .auth-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 5rem);
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  transition: transform var(--auth-transition), opacity 0.45s ease, visibility 0.45s ease;
  z-index: 1;
}

.auth-page .auth-panel-left { left: 0; }
.auth-page .auth-panel-right { left: 50%; }

.auth-page .auth-form-side {
  width: 100%;
  max-width: 540px;
}

.auth-page .auth-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 32px;
  box-shadow: var(--theme-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.auth-page .auth-card .card-body {
  padding: clamp(2rem, 4vw, 3rem);
}

.auth-page .login-welcome { margin-bottom: 2rem; }

.auth-page .login-welcome h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--theme-text);
}

.auth-page .login-welcome p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--theme-muted);
}

.auth-page .form-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-weight: 700;
  color: var(--theme-text);
}

/* On scope form-control à la page auth */
.auth-page .form-control {
  width: 100%;
  height: 58px;
  border-radius: 18px;
  border: 1px solid var(--theme-line);
  background: rgba(255, 255, 255, 0.92);
  padding: 0 1rem;
  font-size: 1rem;
  color: var(--theme-text);
  outline: none;
  box-shadow: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auth-page .form-control::placeholder { color: #a29bab; }

.auth-page .form-control:focus {
  background: #fff;
  border-color: rgba(233, 75, 135, 0.42);
  box-shadow: 0 0 0 5px rgba(233, 75, 135, 0.10);
}

.auth-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 18px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.auth-page .btn:hover { transform: translateY(-1px); }

.auth-page .btn-auth-main,
.auth-page .btn-auth-secondary {
  width: 100%;
}

/* IMPORTANT:
   On utilise tes variables globales --theme-rose / --theme-orange (anciennes couleurs).
   Donc ces boutons auront le même rose/orange qu'avant, mais en dégradé. */
.auth-page .btn-rose {
  color: #fff;
  background: linear-gradient(135deg, var(--theme-rose), #ff6ea4);
  box-shadow: 0 16px 34px rgba(233, 75, 135, 0.28);
}

.auth-page .btn-orange {
  color: #fff;
  background: linear-gradient(135deg, var(--theme-orange), #ffb46e);
  box-shadow: 0 16px 34px rgba(255, 138, 61, 0.26);
}

.auth-page .auth-link {
  color: var(--theme-rose);
  text-decoration: none;
  font-weight: 700;
}

.auth-page .auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.7rem 0;
  color: #9e98a8;
  font-size: 0.92rem;
}

.auth-page .auth-divider::before,
.auth-page .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 31, 45, 0.12), transparent);
}

.auth-page .auth-footer { text-align: center; }

.auth-page .auth-footer p {
  margin: 0 0 1rem;
  color: var(--theme-muted);
}

/* PANNEAU GLISSANT */
.auth-page .auth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 3;
  transition: transform var(--auth-transition);
}

.auth-page .auth-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 5rem);
  color: #fff;
  background:
          radial-gradient(circle at 20% 20%, rgba(255,255,255,0.20), transparent 18%),
          radial-gradient(circle at 85% 15%, rgba(255,255,255,0.16), transparent 20%),
          radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12), transparent 20%),
          linear-gradient(145deg, rgba(233, 75, 135, 0.96), rgba(255, 138, 61, 0.92));
  overflow: hidden;
}

.auth-page .auth-visual::before,
.auth-page .auth-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.auth-page .auth-visual::before {
  width: 380px;
  height: 380px;
  top: -110px;
  right: -120px;
  background: rgba(255, 255, 255, 0.20);
}

.auth-page .auth-visual::after {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: -80px;
  background: rgba(255, 255, 255, 0.14);
}

.auth-page .auth-overlay-login,
.auth-page .auth-overlay-signup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 5rem);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform var(--auth-transition);
}

.auth-page .auth-overlay-login {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.auth-page .auth-overlay-signup {
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
}

.auth-page .auth-overlay-copy {
  width: 100%;
  max-width: 560px;
}

.auth-page .auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-page .auth-visual h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.auth-page .auth-visual p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
  max-width: 48ch;
}

/* ÉTATS FORMULAIRES */
.auth-page .signup-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-40px);
  z-index: 1;
}

.auth-page .login-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}

/* MODE INSCRIPTION */
.auth-page .auth-shell.is-signup .auth-overlay { transform: translateX(100%); }

.auth-page .auth-shell.is-signup .login-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
  z-index: 1;
}

.auth-page .auth-shell.is-signup .signup-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}

.auth-page .auth-shell.is-signup .auth-overlay-login {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-40px);
}

.auth-page .auth-shell.is-signup .auth-overlay-signup {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* MOBILE */
@media (max-width: 991.98px) {
  .auth-page,
  .auth-page .auth-shell,
  .auth-page .auth-forms {
    min-height: 100vh;
  }

  .auth-page .auth-overlay {
    position: relative;
    width: 100%;
    height: 320px;
    transform: none !important;
  }

  .auth-page .auth-panel {
    position: relative;
    width: 100%;
    left: auto;
    top: auto;
    height: auto;
    padding: 1.25rem;
    transform: none !important;
  }

  .auth-page .auth-panel-left,
  .auth-page .auth-panel-right {
    left: 0;
  }

  .auth-page .auth-shell.is-signup .login-panel { display: none; }
  .auth-page .auth-shell:not(.is-signup) .signup-panel { display: none; }

  .auth-page .auth-visual { min-height: 320px; }

  .auth-page .auth-visual h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .auth-page .auth-card { border-radius: 26px; }
}

/* ==========================
   RENFORCEMENT (mettre à la TOUTE FIN)
   ========================== */

/* Empêche le global: input, .form-control, .form-control-lg { border-radius: 5px; } d'écraser l'auth */
.auth-page .form-control,
.auth-page input.form-control,
.auth-page .form-control-lg {
  border-radius: 18px !important;
  height: 58px !important;
  border: 1px solid var(--theme-line) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
}

/* Forcer le layout desktop 2 colonnes + overlay (si un style global le casse) */
@media (min-width: 992px) {
  .auth-page .auth-panel {
    position: absolute !important;
    width: 50% !important;
    height: 100% !important;
  }

  .auth-page .auth-overlay {
    position: absolute !important;
    width: 50% !important;
    height: 100% !important;
  }
}


.password-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.requirement {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.requirement.is-valid {
  background: #eaffea;
  color: #198754;
  border-color: #198754;
}
.requirement.is-invalid-task {
  background: #fff5f5;
  color: #dc3545;
  border-color: #dc3545;
}
#pwd-msg {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
  display: none;
}



.auth-page .auth-check {
  /* on remplace la checkbox native */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid #ced4da;
  border-radius: 0.25rem;
  background: transparent;

  display: inline-grid;
  place-content: center;

  cursor: pointer;
  vertical-align: middle;
  margin-top: 0.15rem; /* optionnel */
}


.auth-page .auth-check::after {
  content: "";
  width: 0.35rem;
  height: 0.65rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
}

.auth-page .auth-check:checked::after {
  opacity: 1;
}

.auth-page .auth-check:checked {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  border-color: transparent !important;
}

/* focus (clavier) propre */
.auth-page .auth-check:focus-visible {
  box-shadow: 0 0 0 4px rgba(233, 75, 135, 0.15) !important;
  border-color: var(--theme-rose) !important;
  outline: none;
}
.auth-page .signup-panel .form-check-label a {
  color: var(--theme-orange) !important;
  font-weight: 700;
  text-decoration: none;
}

.auth-page .signup-panel .form-check-label a:hover {
  color: var(--theme-orange) !important;
  text-decoration: underline;
}

.auth-page .form-control,
.auth-page input.form-control,
.auth-page select.form-select,
.auth-page textarea.form-control {
  border: 2px solid rgba(36, 31, 45, 0.14) !important;
  box-shadow: none !important;
}

/* Focus/active: border gradient (plus clair et plus visible) */
.auth-page .form-control:focus,
.auth-page input.form-control:focus,
.auth-page select.form-select:focus,
.auth-page textarea.form-control:focus,
.auth-page .form-control:active,
.auth-page input.form-control:active,
.auth-page select.form-select:active,
.auth-page textarea.form-control:active {
  border: 2px solid transparent !important; /* nécessaire pour afficher le gradient */
  outline: none !important;

  /* 2 backgrounds = intérieur blanc + bordure dégradée */
  background: linear-gradient(#fff, #fff) padding-box,
  linear-gradient(45deg,
          rgba(234, 90, 30, 1) 0%,
          rgba(231, 41, 135, 1) 100%
  ) border-box !important;

}


/* Preference */

.pref-container {
  --pref-orange-soft: #fff4ed;
  --pref-border-light: #e9ecef;
  --pref-bg-active: #fffcfb;
  --gradient-main: linear-gradient(135deg, var(--theme-orange) 0%, var(--theme-rose) 100%);
}

/* Titre et icône coeur */
.pref-title-accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Bouton Enregistrer (Dégradé complet) */
.btn-pref-save {
  background: var(--gradient-main) !important;
  color: white !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(231, 41, 135, 0.2) !important;
}
.btn-pref-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 41, 135, 0.4) !important;
  filter: brightness(105%);
}

/* === ASTUCE BORDURE DÉGRADÉE AVEC RADIUS === */
.pref-main-card {
  border-radius: 20px !important;
  border: none !important; /* On enlève la bordure native */
  position: relative;
  background: #ffffff;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Le pseudo-élément qui crée la bordure dégradée */
.pref-main-card::before {
  content: "";
  position: absolute;
  inset: 0; /* Colle aux bords */
  border-radius: 20px;
  padding: 2px; /* Épaisseur de la bordure */
  background: var(--pref-border-light); /* Couleur par défaut */
  -webkit-mask:
          linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.3s ease;
  z-index: -1;
}

/* État Actif de la carte */
.pref-main-card.is-active {
  background-color: var(--pref-bg-active) !important;
  box-shadow: 0 10px 30px rgba(234, 90, 30, 0.08) !important;
}

/* On change le fond du pseudo-élément en dégradé quand actif */
.pref-main-card.is-active::before {
  background: var(--gradient-main);
}

/* Badge 0/X (Dégradé quand actif) */
.pref-badge-counter {
  background-color: #f8f9fa;
  color: #444;
  border: 1px solid var(--pref-border-light);
  font-weight: 700;
  transition: all 0.3s ease;
}

.pref-main-card.is-active .pref-badge-counter {
  background: var(--gradient-main) !important;
  color: white !important;
  border-color: transparent !important;
}

/* Boutons Sous-catégories */
.pref-sub-label {
  border-radius: 12px !important;
  border: 1px solid var(--pref-border-light) !important;
  background-color: white !important;
  color: #666 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  min-height: 58px;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pref-sub-label:hover {
  border-color: var(--theme-rose) !important;
  background-color: #fffcfd !important;
  color: var(--theme-rose) !important;
}

/* État coché des sous-catégories (Dégradé subtil) */
.pref-child-check:checked + .pref-sub-label {
  background-color: #fff9fb !important;
  /* Création d'une bordure dégradée interne subtile */
  box-shadow: inset 0 0 0 2px var(--theme-rose);
  border-color: transparent !important;
  color: var(--theme-rose) !important;
  font-weight: 800 !important;
}

/* Checkbox parente (Bouton radio de dégradé) */
.pref-parent-check {
  cursor: pointer;
  border-color: #ced4da;
}

.pref-parent-check:checked,
.pref-parent-check:indeterminate {
  background-image: var(--gradient-main) !important;
  border-color: transparent !important;
}

/* changement couleur icone quand utilisateur connecté */
.user-online-gradient {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  display: inline-block;
}

/* Transition préférences pour expérience utilisateur */

/* L'arrière-plan sombre */
#preferences-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}


#preferences-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

#preferences-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  transition: transform 0.5s ease-out;
}

#preferences-overlay.is-visible #preferences-content {
  transform: translateY(0);
}

/*header drop down*/

.top-header .nav-item.dropdown .dropdown-menu .dropdown-item:hover,
.top-header .nav-item.dropdown .dropdown-menu .dropdown-item:focus {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  color: #fff !important;
}

/* Icônes en blanc au hover */
.top-header .nav-item.dropdown .dropdown-menu .dropdown-item:hover i,
.top-header .nav-item.dropdown .dropdown-menu .dropdown-item:focus i {
  color: #fff !important;
}

/* Style pour la page profil */
.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #64748b;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.sidebar-nav .nav-item:hover,
.sidebar-nav .nav-item.active {
  background-color: rgba(255, 100, 150, 0.08);
  color: var(--theme-rose) !important;
  font-weight: 500 !important;
  transform: none;
  box-shadow: none;
}

.sidebar-nav .nav-item:hover i,
.sidebar-nav .nav-item.active i {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 75, 43, 0.25);
  flex-shrink: 0;
}
.avatar-wrap { position: relative; display: inline-block; }

.field-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.field-label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.field-value {
  font-size: .95rem;
  font-weight: 500;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 7px;
  border: none !important;
  padding: 0;
}

.field-icon {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.icon-gradient {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}
.gender-dot {
  width: 9px;
  height: 9px;
  background: #2563eb;
  border-radius: 50%;
  display: inline-block;
}
.btn-edit-profile {
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
  white-space: nowrap;
}
.btn-edit-profile:hover { background: #dbeafe; color: #1d4ed8; }
.sidebar-user-hello {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #94a3b8;
  font-weight: 600;
}
.sidebar-user-name {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}
.profile-divider { border-color: #e2e8f0; }

.address-box {
  border-left: 3px solid #e2e8f0;
  padding-left: 15px;
  margin-top: 10px;
}

/* --- Style spécifique pour le Profil --- */

#section-securite .btn-orange {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  color: #ffffff !important;
  border: none !important;
  height: 52px;
  border-radius: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(234, 90, 30, 0.25) !important;
}

#section-securite .btn-orange:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 41, 135, 0.3) !important;
}


#section-securite .profile-password-input {
  height: 48px !important;
  border-radius: 10px !important;
  background-color: #f8fafc !important;
}


#section-securite .requirement {
  font-size: 0.65rem !important;
  padding: 3px 10px !important;
}
/* Remonter le titre de la section sécurité */
#section-securite h6.text-center {
  margin-top: -10px !important;
  margin-bottom: 15px !important;
}

/* Réduire l'espace interne de la carte de sécurité pour qu'elle soit moins haute */
#section-securite .card-body {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* Réduire l'espace entre les champs du formulaire */
#section-securite .mb-4 {
  margin-bottom: 1rem !important;
}

/* Réduire l'espace avant le bouton de validation */
#section-securite .mb-5 {
  margin-bottom: 1.5rem !important;
}

/* Supprimer l'espace vide forcé en haut de la colonne */
#section-securite .row.justify-content-center {
  align-items: flex-start !important;
  padding-top: 0 !important;
}
/* Navbar dorpdown menu */
@media all and (min-width: 1200px) {

  .top-header .primary-menu .navbar-nav a.nav-link {
    font-size: 13px !important;
    padding: 10px 0.5rem !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 700;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #222;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    border-radius: 0 !important;
  }

  /* --- ATTRIBUTION DIRECTE DES COULEURS + BACKGROUND + HÉRITAGE --- */

  /* 1. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(1) { --c: var(--theme-rose); }
  /* 2. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(2) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 11%); }
  /* 3. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(3) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 22%); }
  /* 4. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(4) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 33%); }
  /* 5. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(5) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 44%); }
  /* 6. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(6) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 55%); }
  /* 7. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(7) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 66%); }
  /* 8. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(8) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 77%); }
  /* 9. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(9) { --c: color-mix(in srgb, var(--theme-rose), var(--theme-orange) 88%); }
  /* 10. */
  .top-header .primary-menu .navbar-nav > .nav-item:nth-child(10) { --c: var(--theme-orange); }

  /* Application du style dynamique au survol de l'onglet */
  .top-header .primary-menu .navbar-nav > .nav-item:hover > a.nav-link,
  .top-header .primary-menu .navbar-nav > .nav-item > a.nav-link.show {
    color: var(--c) !important;
    border-bottom-color: var(--c) !important;
    background-color: color-mix(in srgb, var(--c), transparent 92%) !important;
  }

  .top-header .primary-menu .navbar-nav { gap: 0 !important; }
  .top-header .nav-item.dropdown.position-static { position: static !important; }
  .top-header .container { max-width: 95% !important; }

  .top-header .dropdown-menu.mega-menu-full {
    position: fixed !important;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    top: 65px !important;
    margin: 0 !important;
    padding: 40px 0 !important;
    background-color: #ffffff;
    border: none;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    border-radius: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .mega-menu-content { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
  .mega-col-separator { padding: 0 30px !important; min-height: 100px; }
  .mega-col-separator:not(:last-child) { border-right: 1px solid #f0f0f0; }

  .mega-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px !important;
    padding-left: 10px;
    border-left: 3px solid var(--c);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
  }

  .brand-link {
    color: #555;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 6px 0;
    margin-right: 20px;
    display: block;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    width: fit-content;
    white-space: nowrap;
    text-transform: capitalize;
  }

  .brand-link:hover {
    color: var(--c) !important;
    border-bottom: 2px solid var(--c);
    background-color: transparent;
  }
}


/* --- Harmonisation des Inputs (Style Connexion) --- */

/* Application aux inputs standards, textarea et selects */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="number"],
.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  height: 58px;
  border-radius: 18px !important;
  border: 2px solid rgba(36, 31, 45, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  padding: 0 1.2rem;
  font-size: 1rem;
  color: #241f2d; /* --theme-text */
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

textarea.form-control {
  height: auto !important;
  padding: 1rem 1.2rem;
  min-height: 120px;
}


input::placeholder,
textarea::placeholder {
  color: #a29bab !important;
  opacity: 1;
}


input:focus,
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border: 2px solid transparent !important;
  background:
          linear-gradient(#fff, #fff) padding-box,
          linear-gradient(45deg, var(--theme-orange) 0%, var(--theme-rose) 100%) border-box !important;
}

.top-header input.form-control {
  height: 45px;
  border-radius: 25px !important;
}

/* --- Stabilisation des fiches produits (Grille & Alignement) --- */

.product-grid .card, .similar-products .card {
  height: 100%; /* Force toutes les cartes à la même hauteur */
  display: flex;
  flex-direction: column;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Permet au contenu de prendre toute la place disponible */
}

/* Bloc Nom du produit avec hauteur fixe pour aligner le reste */
.product-name-container {
  background: #000;
  padding: 10px 8px;
  min-height: 72px; /* Hauteur pour 3 lignes de texte environ */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background 0.3s ease;
}

.product-name {
  font-size: 0.85rem !important;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  /* Limite le texte à 3 lignes maximum */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

/* Alignement des prix */
.ratings {
  margin-top: auto; /* Pousse les prix vers le bas du bloc info */
  min-height: 24px;
}

.product-price {
  margin-top: 5px;
  display: block;
  color: #212529;
  text-decoration: none !important;
}

/* Hover sur la carte pour cohérence avec ton style existant */
.product-grid .card:hover .product-name-container {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
}

.btn-gradient {
  /* Ton dégradé personnalisé */
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  transition: all 0.3s ease;
  color: #fff !important;
}

.btn-gradient:hover {
  /* Effet de surbrillance au survol */
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  color: #fff !important;
}

/* --- Validation Visuelle du Formulaire --- */


.was-validated .form-control:invalid,
.auth-page .form-control.is-invalid {
  border: 2px solid var(--theme-orange) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23EA5A1E'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23EA5A1E' stroke='none'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right calc(0.375em + 0.1875rem) center !important;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

.invalid-feedback, .invalid-name-msg {
  color: var(--theme-orange);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
  display: none;
}

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-name-msg {
  display: block;
}

.was-validated .auth-check:invalid {
  border-color: var(--theme-orange) !important;
  background-color: rgba(234, 90, 30, 0.05) !important;
}

.was-validated .auth-check:invalid + .form-check-label {
  color: var(--theme-orange) !important;
  font-weight: 700;
}

/* Suppression de l'animation de vibration (shake) */

.was-validated .password-requirements .requirement.is-invalid-task {
  border-color: var(--theme-orange);
  background-color: #fff5f2;
  color: var(--theme-orange);
}

.grecaptcha-badge{
  display:none !important;
}

#section-infos .alert-success,
#section-securite .alert-success {
  background-color: #d1e7dd !important;
  color: #0f5132 !important;
  border-color: #badbcc !important;
}

#section-infos .btn-close,
#section-securite .btn-close {
  filter: invert(20%) sepia(20%) saturate(3000%) hue-rotate(100deg) brightness(90%) contrast(90%);
}

.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 6px; }
.size-box { border: 1px solid #e0e0e0; padding: 10px 2px; text-align: center; cursor: pointer; font-size: 0.7rem; font-weight: 700; background: #fff; transition: 0.2s; display: flex; align-items: center; justify-content: center;}
.size-box.active { background: #000; color: #fff; border-color: #000; }
.active-univ { border-bottom: 2px solid #000; color: #000 !important; }

/* ANCIENNE PAGINATION REMPLACÉE PAR LA NOUVELLE EN BAS */

/* SUGGESTIONS */
.suggestion-item { transition: background 0.2s; border-bottom: 1px solid #eee; display: block; }
.suggestion-item:hover { background-color: #f8f9fa !important; }
#js-search-results {
  max-height: 450px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
  border: 1px solid #ddd !important;
  margin-top: 5px;
}

.product-name-container { background: #000; padding: 10px 8px; min-height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.product-name { font-size: 0.85rem !important; line-height: 1.3; font-weight: 700; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none !important; }

/* ============================================================
   VALIDATION FINALE : ROUGE POUR ERREUR, VERT POUR SUCCÈS
   ============================================================ */

/* Bordures standards Bootstrap (Forcées) */
.is-invalid, .was-validated :invalid {
  border-color: #dc3545 !important;
  border-width: 2px !important;
  background-image: none !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.1) !important;
}

.is-valid, .was-validated :valid {
  border-color: #198754 !important;
  border-width: 2px !important;
  background-image: none !important;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.1) !important;
}

/* Messages d'erreur en rouge uni (ID et Classes) */
.invalid-feedback,
.invalid-name-msg,
#msg-nom-error,
#msg-prenom-error,
#mdp-conf-msg {
  color: #dc3545 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  margin-top: 5px !important;
  display: none;
}

/* Affichage auto des messages si invalide */
.is-invalid ~ .invalid-name-msg,
.is-invalid ~ .invalid-feedback,
.is-invalid ~ #mdp-conf-msg,
.was-validated :invalid ~ .invalid-name-msg,
.was-validated :invalid ~ .invalid-feedback {
  display: block !important;
}

/* Bouton Orange uni d'origine */
.auth-page .btn-orange,
#section-securite .btn-orange {
  background-color: var(--theme-orange) !important;
  background-image: none !important;
  border: none !important;
  color: #fff !important;
}

/* Masquer le badge ReCaptcha (Optionnel) */
.grecaptcha-badge { display: none !important; }

/* ============================================================
   STYLE DU PANIER LATÉRAL (OFFCANVAS)
   ============================================================ */

#offcanvasCart {
  background-color: #f8f9fa;
  border-left: none;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

/* En-tête du panier */
#offcanvasCart .offcanvas-header {
  background-color: #fff !important;
  padding: 1.2rem;
  border-bottom: 1px solid #eee !important;
}

#offcanvasCart .offcanvas-title {
  letter-spacing: 1px;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
}

/* CARTE ARTICLE - TAILLE BLOQUÉE */
#offcanvasCart .cart-item-box {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #edf2f7;
  margin-bottom: 10px;

  /* On force la hauteur pour l'alignement */
  height: 115px;
  display: flex;
  align-items: center;
  overflow: hidden; /* Empêche tout contenu de dépasser */
  transition: all 0.3s ease;
}

#offcanvasCart .cart-item-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Image forcée */
#offcanvasCart .cart-img {
  width: 65px;
  height: 85px;
  border-radius: 6px;
  object-fit: cover; /* Recadre l'image sans la déformer */
  flex-shrink: 0;
  border: 1px solid #f1f1f1;
}

/* Zone centrale (Infos) */
#offcanvasCart .item-info-content {
  flex-grow: 1;
  min-width: 0; /* Nécessaire pour le truncate */
  padding-left: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Titre du produit sur 2 lignes max */
#offcanvasCart .product-title {
  font-size: 13px;
  line-height: 1.2;
  max-height: 32px;
  margin-bottom: 2px;
  font-weight: 700;
  color: #333;

  /* Tronquage propre du texte */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badges personnalisés */
#offcanvasCart .badge-custom {
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
}

/* Zone de prix et suppression (Droite) */
#offcanvasCart .item-price-zone {
  width: 85px;
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 85px; /* Aligné sur la hauteur de l'image */
}

#offcanvasCart .text-rose-brand {
  color: var(--theme-rose) !important;
}

/* PIED DE PANIER (TOTAL ET BOUTONS) */
#offcanvasCart .cart-footer {
  background: #fff;
  padding: 20px;
  border-top: 1px solid #eee;
  margin-top: auto;
}

#offcanvasCart .btn-checkout {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  border: none !important;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff !important;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

#offcanvasCart .btn-checkout:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(231, 41, 135, 0.3);
}

/* Scrollbar personnalisée pour le panier */
#offcanvasCart .overflow-auto::-webkit-scrollbar {
  width: 4px;
}
#offcanvasCart .overflow-auto::-webkit-scrollbar-track {
  background: #f1f1f1;
}
#offcanvasCart .overflow-auto::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/**/


/* Boutons actions */
#actions-produit .btn.btn-rose,
#actions-produit #btnVinted.btn.btn-info{
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
}
#actions-produit .btn.btn-rose:hover,
#actions-produit #btnVinted.btn.btn-info:hover{
  filter: brightness(.97);
}
#actions-produit .btn.btn-rose:active,
#actions-produit #btnVinted.btn.btn-info:active{
  filter: brightness(.93);
}

/* Carrés tailles */
#taille-buttons{
  gap: .6rem !important;
}

#taille-buttons .taille-btn{
  width: 70px;
  height: 50px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px !important;            /* carré arrondi */
  font-weight: 700;
  letter-spacing: .02em;
  border: 2px solid rgba(0,0,0,.18) !important;
  background: #fff !important;
  color: rgba(0,0,0,.85) !important;
  box-shadow: 0 .2rem .6rem rgba(0,0,0,.06);
  transition: transform .10s ease, box-shadow .15s ease;
}

/* Survol : bordure en dégradé uniquement */
#taille-buttons .taille-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 .45rem 1rem rgba(0,0,0,.10);
  border-color: transparent !important;
  background:
          linear-gradient(#fff,#fff) padding-box,
          linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) border-box !important;
}

/* Actif (si ton JS met .active) : remplissage en dégradé */
#taille-buttons .taille-btn.active,
#taille-buttons .taille-btn[aria-pressed="true"]{
  border: 2px solid transparent !important;
  background:
          linear-gradient(#fff, #fff) padding-box,
          linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) border-box !important;

  transform: translateY(-2px);
  box-shadow: 0 .4rem 1rem rgba(0,0,0,0.1) !important;
}



/* Responsive: tailles plus petites */
@media (max-width: 576px){
  #taille-buttons .taille-btn{
    width: 78px;
    height: 54px;
  }
}

/* --- Styles spécifiques pour la grille de tailles (Produit) --- */

#taille-buttons .taille-btn {
  position: relative;
  overflow: hidden;
  min-width: 55px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Style spécifique pour les boutons épuisés */
#taille-buttons .taille-btn:disabled {
  background-color: #fcfcfc !important;
  border-color: #dee2e6 !important;
  color: #ced4da !important;
  opacity: 1;
  cursor: not-allowed;
}

/* Création de la barre diagonale (Inversée : Haut-Gauche vers Bas-Droit) */
#taille-buttons .taille-btn:disabled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Changement ici : "to bottom right" pour l'autre côté */
  background: linear-gradient(to bottom right,
  transparent calc(50% - 1px),
  #adb5bd 50%,
  #adb5bd calc(50% + 1px),
  transparent 52%
  );
  pointer-events: none;
}


.catalog-grid .catalog-grid-card.is-epuise .card-img-top{
  filter: grayscale(1) contrast(0.9) brightness(0.9);
}

.catalog-grid .catalog-grid-card.is-epuise .catalog-grid-link--disabled{
  pointer-events: none;
  cursor: default;
  display: block;
}

.catalog-grid .catalog-grid-card.is-epuise .catalog-epuise-stamp{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) rotate(-20deg);
  background:#e91e63;
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
  padding:10px 18px;
  border-radius:8px;
  letter-spacing:1px;
  box-shadow:0 8px 18px rgba(0,0,0,0.25);
  z-index:5;
  pointer-events:none;
}

.alert-contact-custom {
  border-radius: 15px !important;
  border: none !important;
  background: #fff !important; /* Fond blanc pour faire ressortir l'ombre */
  box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
  position: relative;
  overflow: hidden;
}

.alert-contact-custom::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, var(--theme-orange), var(--theme-rose));
}

.btn-contact-submit {
  background-color: var(--theme-orange) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-contact-submit:hover {
  background-color: var(--theme-rose) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 41, 135, 0.3);
}

/* ============================================================
   STYLE PRODUIT ÉPUISÉ (BANDEAU LONG ET NATUREL)
   ============================================================ */

.product-card-epuise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

/* Voile blanc très léger pour détacher l'image */
.product-card-epuise::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3); /* Sobriété */
  backdrop-filter: blur(1px); /* Maintien du léger flou naturel */
}

.ribbon-epuise {
  background-color: var(--theme-rose);
  color: #fff;
  width: 130%; /* Largeur augmentée pour couvrir toute la diagonale */
  text-align: center;

  /* Padding affiné : très fin pour l'élégance */
  padding: 6px 0;

  font-weight: 700;
  font-size: 0.65rem; /* Police petite et sophistiquée */
  text-transform: uppercase;
  letter-spacing: 2.5px; /* Espacement généreux pour le raffinement */

  /* --- CORRECTION : DIAGONALE MONTANTE (Bas-Droit vers Haut-Gauche) --- */
  /* On change la rotation : angle négatif à positif pour l'autre diagonale */
  transform: rotate(40deg); /* Inclinaison douce et naturelle pour cette diagonale */

  /* Bords parfaitement arrondis (style pilule) */
  border-radius: 50px;

  /* Ombre grise, très fine et très diffuse (juste un décollage) */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);

  white-space: nowrap;

  /* Fine bordure blanche discrète pour la finition */
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Effet sur l'image épuisée (plus neutre) */
.img-epuise {
  /* Grayscale plus fort et moins d'opacité pour bien effacer l'article */
  filter: grayscale(1) opacity(0.6) !important;
  transition: all 0.5s ease;
}

/* Désactivation propre du lien */
.link-disabled {
  pointer-events: none !important;
  cursor: default !important;
}


.text-orange {
  color: var(--theme-orange) !important;
}

.btn-orange {
  background-color: var(--theme-orange);
  color: white;
  border: none;
  transition: 0.3s;
}

.btn-orange:hover {
  background-color: var(--theme-rose);
  color: white;
  transform: translateY(-2px);
}

.form-control.is-valid {
  border-color: #198754 !important;
  background-repeat: no-repeat !important;
  background-position: right calc(0.375em + 0.1875rem) center !important;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
}

.fade-section {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 1.2s ease, opacity 0.8s ease, transform 0.9s ease;
  transform: translateY(20px);
}

.fade-section > div {
  min-height: 0;
  overflow: hidden;
}

.fade-section.show {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  margin-top: 1.5rem;
}

.mr-widget-container {
  width: 100%;
  min-height: 480px;
  background: #fdfdfd;
  border: 2px solid #eee !important;
  border-radius: 15px;
  overflow: hidden;
}

#Zone_Widget {
  width: 100% !important;
  height: 480px !important;
  margin: 0 !important;
}

.custom-option {
  cursor: pointer;
  border: 2px solid #eee !important;
  border-radius: 12px;
  transition: 0.2s;
}

.custom-option:hover,
.custom-option:has(input:checked) {
  border-color: var(--theme-orange) !important;
  background: #fffaf8;
}

.shipping-price {
  font-weight: 800;
  color: var(--theme-orange);
}

#shipping-helper-msg {
  background-color: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.extra-small {
  font-size: 0.75rem;
}

.sticky-top {
  position: sticky;
  top: 85px !important;
  z-index: 1000;
}

@media (max-width: 991px) {
  .sticky-top {
    position: relative !important;
    top: 0 !important;
  }
}

.input-promo-flat {
  border-radius: 4px !important;
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
}

.cursor-pointer { cursor: pointer; transition: opacity 0.2s;  }

.cursor-pointer:hover { opacity: 0.7; }

/* ============================================================
   PAGINATION PERSONNALISÉE - DÉGRADÉ ORANGE/ROSE
   ============================================================ */

.pagination-custom .page-item .page-link {
  position: relative;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 !important; /* Force le style carré */
  margin: 0 1px;
  min-width: 45px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  display: block;
  transition: color 0.3s ease;
  z-index: 1;
  overflow: hidden;

  /* Bordure en dégradé */
  border: 2px solid;
  border-image-source: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  border-image-slice: 1;

  /* Texte en dégradé */
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Le fond qui s'affiche au hover/active pour éviter le flash noir */
.pagination-custom .page-item .page-link::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* État de survol (Hover) et Page Actuelle (Active) */
.pagination-custom .page-item.active .page-link,
.pagination-custom .page-item:not(.disabled) .page-link:hover {
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  border-image-source: none !important;
  border-color: transparent !important;
}

.pagination-custom .page-item.active .page-link::before,
.pagination-custom .page-item:not(.disabled) .page-link:hover::before {
  opacity: 1;
}

/* GESTION DES ICÔNES (CHEVRONS) */
.pagination-custom .page-item:not(.disabled) .page-link i {
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Inversion des icônes au hover/active */
.pagination-custom .page-item.active .page-link i,
.pagination-custom .page-item:not(.disabled) .page-link:hover i {
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  color: #fff !important;
}

/* ÉLÉMENTS DÉSACTIVÉS (Boutons Gris) */
.pagination-custom .page-item.disabled .page-link {
  border-image-source: none !important;
  border: 1px solid #eee !important;
  background: #fff !important;
  -webkit-text-fill-color: #ccc !important;
  color: #ccc !important;
  cursor: not-allowed;
}

.pagination-custom .page-item.disabled .page-link i {
  -webkit-text-fill-color: #ccc !important;
  color: #ccc !important;
  background: none !important;
}

/* STYLE UNIVERS ACTIF DANS LA SIDEBAR */
.active-univ {
  color: var(--theme-rose) !important;
  font-weight: bold;
}

.otp-field {
  width: 45px !important;
  height: 55px !important;
  padding: 0 !important;
  line-height: 55px !important;
  border: 2px solid #ced4da;
  border-radius: 8px;
  background-color: #fff;
  color: #212529 !important;
}

.otp-field:focus {
  border-color: #ff6600;
  box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
  outline: none;
}

.hover-rose:hover {
  color: var(--theme-rose) !important;
  transition: color 0.3s ease;
}


/* ============================================================
   STYLE DES RADIOS (PAGE COMMANDE - VERSION FINALE)
   ============================================================ */

/* 1. Style de base de la radio (le cercle) */
.section-padding .form-check-input {
  cursor: pointer;
  border: 2px solid rgba(36, 31, 45, 0.14) !important;
  position: relative;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.92);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50% !important;
  /* On laisse Bootstrap gérer le placement par défaut (float/absolute)
     pour ne pas casser la structure verticale de la livraison */
}

/* 2. État Coché : On applique le dégradé du thème */
.section-padding .form-check-input:checked {
  background-color: #fff !important;
  border-color: var(--theme-orange) !important;
  background-image: none !important; /* Supprime le point blanc par défaut */
}

/* 3. Le point intérieur (Orange/Rose) parfaitement centré */
.section-padding .form-check-input:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px; /* Taille du point */
  height: 10px;
  margin-top: -5px; /* Centrage vertical précis */
  margin-left: -5px; /* Centrage horizontal précis */
  border-radius: 50%;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
}

/* 4. Halo au focus (Orange) */
.section-padding .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(234, 90, 30, 0.15) !important;
  border-color: var(--theme-orange) !important;
}

/* 5. Style des gros blocs transporteurs (custom-option) */
.section-padding .custom-option {
  border: 2px solid rgba(36, 31, 45, 0.1) !important;
  border-radius: 15px !important;
  transition: all 0.3s ease;
  background: #fff;
  cursor: pointer;
}

/* Interaction visuelle : le bloc s'illumine quand coché */
.section-padding .custom-option:has(.form-check-input:checked) {
  border-color: var(--theme-orange) !important;
  background-color: #fffaf8 !important;
  box-shadow: 0 4px 15px rgba(234, 90, 30, 0.08) !important;
}

/* 6. Alignement horizontal uniquement pour la Facturation */
/* On cible les radios qui ne sont PAS dans un .custom-option */
.section-padding .form-check:not(.custom-option) {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.section-padding .form-check:not(.custom-option) .form-check-input {
  margin-left: 0;
  margin-top: 0;
  flex-shrink: 0;
}

/* On s'assure que les labels sont cliquables partout */
.section-padding .form-check-label {
  cursor: pointer;
  margin-bottom: 0;
}

/* RESPONSIVE NAVBAR */

@media (max-width: 1199.98px) {

  /* 1. Ajustement Header Mobile */
  .top-header {
    height: 60px;
    padding: 0 0.5rem !important;
  }

  .top-header .logo-img {
    height: 40px;
  }

  /* 2. Style du Menu Burger (Bouton) */
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8f9fa;
    color: var(--theme-rose) !important;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn:active {
    background: var(--theme-rose);
    color: #fff !important;
  }

  /* 3. Style de l'Offcanvas (Le panneau qui glisse) */
  .offcanvas-start {
    width: 85% !important;
    border: none;
    box-shadow: 20px 0 50px rgba(0,0,0,0.15);
  }

  .offcanvas-header {
    background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
    color: #fff;
    height: 70px;
    border: none;
  }

  .offcanvas-logo {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
  }

  .offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
  }

  /* 4. Style des liens dans le menu mobile */
  .primary-menu .navbar-nav .nav-link {
    padding: 1.2rem 1.5rem !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #333 !important;
    border-bottom: 1px solid #f1f1f1 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .primary-menu .navbar-nav .nav-item:nth-child(odd) .nav-link { border-left: 4px solid var(--theme-rose); }
  .primary-menu .navbar-nav .nav-item:nth-child(even) .nav-link { border-left: 4px solid var(--theme-orange); }

  /* 5. Sous-menus (Dropdowns) en Mobile */
  .primary-menu .dropdown-menu.mega-menu-full {
    background-color: #fcfcfc;
    border: none;
    padding: 0 !important;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    display: block; /* On force l'affichage pour le mobile */
    position: static !important;
    width: 100% !important;
  }

  .mega-menu-content {
    padding: 1rem 1.5rem !important;
  }

  .mega-menu-content .row {
    display: flex;
    flex-direction: column; /* Force l'empilement vertical */
    width: 100%;
    margin: 0 !important;
  }

  /* Retrait des barres séparatrices et forçage pleine largeur */
  .mega-col-separator {
    border-right: none !important;
    padding: 0 !important;
    margin-bottom: 1rem;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .mega-col-separator:last-child {
    margin-bottom: 0;
  }

  .mega-col-separator ul {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    list-style: none;
  }

  /* Titre de section dans le menu mobile */
  .mega-title {
    margin-top: 1rem;
    margin-bottom: 15px !important;
    font-size: 13px !important;
    border-left: 4px solid var(--theme-rose) !important;
    background: #f8f9fa;
    padding: 8px 12px !important;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
  }

  /* Liens des marques/catégories (nettoyage du chevauchement) */
  .brand-link {
    padding: 12px 0 !important;
    font-size: 14px !important;
    color: #444 !important;
    border-bottom: 1px solid #f1f1f1 !important;
    width: 100% !important;
    display: block !important;
    white-space: normal !important; /* Retour à la ligne autorisé */
    text-transform: uppercase !important;
    margin-right: 0 !important;
  }

  /* 6. Section Compte & Panier Mobile */
  .secondary-menu .nav-link {
    padding: 0 0.4rem !important;
  }

  .cart-count-badge {
    top: 5px !important;
    right: -2px !important;
    background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  }
}

/* Optimisation pour les très petits écrans */
@media (max-width: 380px) {
  .top-header .navbar-brand img {
    height: 32px !important;
  }

  .secondary-menu span.small {
    display: none !important;
  }
}

.section-padding .form-control:not(#promo_input),
.section-padding input[type="text"]:not(#promo_input),
.section-padding input[type="email"],
.section-padding input[type="tel"],
.section-padding .form-select {
  height: 45px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  padding: 0 1rem !important;
}

/* On n'applique pas la réduction au bouton "OK" du code promo */
.section-padding #apply_promo {
  height: 32px !important; /* On garde ta hauteur actuelle */
}

.section-padding .form-control-lg {
  height: 50px !important;
}

.section-padding .form-label {
  margin-bottom: 0.2rem !important;
  font-size: 0.75rem !important;
  color: #555;
}

#order-form .card-body {
  padding: 1.5rem !important;
}

.section-padding .custom-option {
  padding: 0.8rem !important;
  margin-bottom: 0.5rem !important;
}

.section-padding .btn-orange.w-100 {
  height: 54px !important;
  border-radius: 12px !important;
}

/* BLOG */

.blog-card {
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
  background: #fff;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(231, 41, 135, 0.16) !important;
}

.blog-img-wrapper {
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-title {
  transition: color 0.2s;
}

.blog-title:hover {
  color: var(--theme-rose) !important;
}

.blog-resume {
  font-size: 0.9rem;
  line-height: 1.5;
}

.blog-badge {
  background: linear-gradient(45deg, rgba(234, 90, 30, 0.12), rgba(231, 41, 135, 0.12)) !important;
  color: var(--theme-rose) !important;
  border: 1px solid rgba(231, 41, 135, 0.22) !important;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 20px;
  padding: 5px 11px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-btn {
  border-radius: 25px !important;
  font-size: 0.8rem;
  padding: 8px 18px !important;
  border: none !important;
  color: #fff !important;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  transition: all 0.25s ease;
}

.blog-btn:hover {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(231, 41, 135, 0.28);
}

.blog-switcher {
  display: inline-flex;
  background: #f4f5f7;
  border-radius: 999px;
  padding: 5px;
  gap: 5px;
}

.blog-switch-btn {
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #6c757d;
  transition: all .25s ease;
}

.blog-switch-btn.active {
  color: #fff;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  box-shadow: 0 6px 16px rgba(231, 41, 135, .22);
}

.blog-panel {
  display: none;
}

.blog-panel.active {
  display: block;
}

.blog-more-btn {
  border: none !important;
  color: #fff !important;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  border-radius: 999px !important;
  padding: 10px 28px !important;
}

.blog-more-btn:hover {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* BLOG DETAIL */

body {
  overflow-x: hidden;
}

.blog-layout-row {
  justify-content: flex-start;
  overflow: visible;
}

.blog-main-column {
  position: relative;
  padding-right: 48px;
}

.blog-main-column::after {
  content: "";
  position: absolute;
  top: 0;
  right: 14px;
  width: 1px;
  height: 100%;
  background: linear-gradient(
          to bottom,
          transparent,
          rgba(231, 41, 135, .18),
          rgba(234, 90, 30, .14),
          transparent
  );
}

.blog-product-sidebar {
  position: relative;
  padding-left: 0;
  overflow: visible;
  z-index: 5;
}

/* Contenu article */

.blog-article-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.blog-main-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.blog-content {
  max-width: 100%;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #222;
}

.blog-content .codex-editor__redactor {
  max-width: 1000px;
  margin: 0 auto;
}

.blog-content p,
.blog-paragraph {
  text-align: justify;
  text-justify: inter-word;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #111;
}

.blog-paragraph {
  margin-bottom: 1.4rem;
}

.blog-list {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content-img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.blog-content .editor-ratio-columns {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
}

.blog-content .editor-ratio-column {
  min-width: 0;
}

.blog-content .editor-ratio-column img {
  width: 100%;
  height: auto;
}

/* SIDEBAR PRODUITS */

.blog-products-sticky {
  --blog-products-card-width: 360px;
  --blog-products-scroll-duration: 240s;

  position: sticky;
  top: 65px;

  width: var(--blog-products-card-width);
  max-width: var(--blog-products-card-width);
  min-width: var(--blog-products-card-width);

  height: auto;
  min-height: 1200px;

  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  gap: 16px;

  transform: translateX(24px);
}

.blog-products-header {
  text-align: center;
  flex-shrink: 0;
}

.blog-products-kicker {
  display: inline-block;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.blog-products-header h3 {
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.blog-products-header p {
  font-size: .78rem;
  color: #8a94a6;
  margin: 0;
}

.blog-products-carousel {
  position: relative;
  flex: none;
  height: 900px;
  min-height: 0;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  padding-bottom: 6px;
}

.blog-products-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: blogProductScroll var(--blog-products-scroll-duration) linear infinite;
  will-change: transform;
}

.blog-products-carousel:hover .blog-products-track {
  animation-play-state: paused;
}

@keyframes blogProductScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.blog-product-mini-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #fbfcff;
  border: 1px solid #edf2f7;
  text-decoration: none;
  transition: all .25s ease;
}

.blog-product-mini-card:hover {
  background: #fff7fb;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(231, 41, 135, .10);
}

.blog-product-mini-card img {
  width: 100px;
  height: 132px;
  object-fit: cover;
  border-radius: 14px;
  background: #f8f9fa;
}

.blog-product-mini-info {
  min-width: 0;
}

.blog-product-mini-info span {
  display: block;
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--theme-rose);
  margin-bottom: 4px;
}

.blog-product-mini-info strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #222;
  font-size: .9rem;
  line-height: 1.28;
  margin-bottom: 8px;
}

.blog-product-mini-info b {
  color: #111;
  font-size: 1rem;
}

.blog-products-btn {
  width: 100%;
  margin-top: auto;
  border: none !important;
  color: #fff !important;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose)) !important;
  border-radius: 999px !important;
  flex-shrink: 0;
  padding: 12px 18px !important;
}

.blog-products-btn:hover {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

@media (min-width: 1200px) {
  .blog-product-sidebar {
    display: flex;
    justify-content: flex-start;
  }
}

@media (min-width: 1500px) {
  .blog-products-sticky {
    transform: translateX(42px);
  }
}

/* SUGGESTIONS */

.blog-suggestions-section {
  margin-top: 56px;
}

.blog-suggestions-inner {
  background: linear-gradient(180deg, rgba(244, 245, 247, 0.65), rgba(255, 255, 255, 0));
  border: 1px solid rgba(231, 41, 135, 0.10);
  border-radius: 28px;
  padding: clamp(22px, 2.4vw, 34px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.blog-suggestions-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(45deg, var(--theme-orange), var(--theme-rose));
  box-shadow: 0 10px 20px rgba(231, 41, 135, .18);
  margin-bottom: 12px;
}

.blog-suggestions-section .blog-card-img {
  height: 185px !important;
}

.blog-suggestions-section .card-body {
  padding: 1rem !important;
}

.blog-suggestions-section .blog-card-title,
.blog-suggestions-section .blog-card-title a,
.blog-suggestions-section .card-title,
.blog-suggestions-section h1,
.blog-suggestions-section h2,
.blog-suggestions-section h3,
.blog-suggestions-section h4 {
  font-size: 1rem !important;
  line-height: 1.32 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

.blog-suggestions-section .blog-resume {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

.blog-suggestions-section .blog-btn {
  font-size: 0.72rem !important;
  padding: 7px 14px !important;
}

.blog-suggestions-section .blog-badge {
  font-size: 0.66rem !important;
  padding: 4px 9px !important;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .blog-main-column {
    padding-right: 0;
  }

  .blog-main-column::after {
    display: none;
  }

  .blog-product-sidebar {
    padding-left: 0;
    overflow: visible;
    transform: none;
  }

  .blog-products-sticky {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transform: none;
    height: auto;
    min-height: auto;
    position: relative;
    top: auto;
    margin-top: 32px;
  }

  .blog-products-carousel {
    height: auto;
    min-height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .blog-products-track {
    flex-direction: row;
    animation: none;
    width: max-content;
  }

  .blog-product-mini-card {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .blog-content .editor-ratio-columns {
    flex-direction: column;
  }

  .blog-content .editor-ratio-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100%;
  }

  .blog-switcher {
    width: 100%;
    flex-direction: column;
    border-radius: 18px;
  }

  .blog-switch-btn {
    width: 100%;
  }
}

/* BLOG LISTE + FILTRES */

.blog-filter-label {
  font-size: 0.78rem;
  cursor: pointer;
}

.blog-filter-item { margin-left: 0; }
.blog-filter-level-0 { margin-left: 0; }
.blog-filter-level-1 { margin-left: 12px; }
.blog-filter-level-2 { margin-left: 24px; }
.blog-filter-level-3 { margin-left: 36px; }
.blog-filter-level-4 { margin-left: 48px; }
.blog-filter-level-5 { margin-left: 60px; }
.blog-filter-level-6 { margin-left: 72px; }
.blog-filter-level-7 { margin-left: 84px; }
.blog-filter-level-8 { margin-left: 96px; }

.blog-empty-state {
  max-width: 400px;
}

.blog-empty-icon {
  font-size: 3rem;
}

.blog-separator {
  width: 100%;
  height: 1px;
  margin: 60px 0 40px;
  background: linear-gradient(
          to right,
          transparent,
          rgba(231, 41, 135, 0.25),
          rgba(234, 90, 30, 0.25),
          transparent
  );
}

/* Indicateur visuels filtrage des pages produits */
.active-filters-bar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  padding:14px 16px;
  background:#fff;
  border:1px solid #ececec;
  border-radius:14px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.filter-pill{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:8px 14px;
  border-radius:999px;
  background:#f7f7f7;
  font-size:.82rem;
  font-weight:700;
  color:#333;
  text-decoration:none;
  border:1px solid #e5e5e5;
}

.filter-pill.active{
  background:rgba(233,30,99,.08);
  color:#e91e63;
  border-color:rgba(233,30,99,.15);
}

.filter-pill.search{
  background:#f3f4f6;
}

.reset-filters-btn{
  margin-left:auto;
  font-size:.8rem;
  font-weight:700;
  text-decoration:none;
  color:#666;
  transition:.2s;
}

.reset-filters-btn:hover{
  color:#111;
}
