body {
  padding: 5px;
  font-size: 14px;
  color: #646464;
  font-family: "Open Sans", sans-serif;
  background-color: #ffffff;
  padding-top: 70px;
}

a {
  text-decoration: none;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #212529;
}

::placeholder {
  color: #000;
  opacity: 0.3 !important;
}

::-webkit-scrollbar {
  width: 0px !important;
}

.wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Header */

.top-header {
  width: auto;
  height: 60px;
  background-color: #ffffff;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 0 !important;
  min-height: 50px;
}

.top-header .navbar {
  margin: 0 !important;
  padding: 0 !important;
}

.page-content {
  /*margin-top: 60px;*/
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 60px;
  padding: .5rem .12rem !important;
}

.top-header .navbar .nav-button a {
  font-size: 25px;
  color: #212529;
}

.top-header .navbar .top-right-menu a.nav-link {
  font-size: 20px;
  color: #212529;
}

.top-header .top-right-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: #212529;
}

/* Searchbar */

/* Searchbar 
.top-header .navbar .searchbar {
    display: none;
}
*/
.responsive-16by9 {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.responsive-16by9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ratio-16by9 {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.ratio-16by9 img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.top-header .navbar .full-search-bar {
  display: flex;
  align-items: center;
  max-width: 600px;
  width: 100%;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-bottom: 1px solid #dee2e6;
  z-index: 100;
  background-color: #ffffff;
  height: 65px;
  padding: 0 1rem;
  -webkit-animation: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s normal forwards 1
    animdropdown;
  animation: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s normal forwards 1
    animdropdown;
}

.top-header .navbar .full-search-bar .form-control {
  background-color: #f6f6f6;
  border-radius: 0.5rem;
}

.top-header .navbar .full-search-bar .form-control:focus {
  background-color: #ffffff;
  border: 1px solid #212529;
}

.searchbar .search-icon {
  margin-left: 2rem !important;
}

.searchbar .search-close-icon {
  margin-right: 2rem !important;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #212529;
  border: 1px solid #212529;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0);
}

.card:hover {
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
}
/* loader * /

.loader-wrapper {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: #212529;
}


/* footer */
td,
th .adress {
  font-size: 11px;
}
/* Style spécifique à la carte factures */
.facture-card {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.facture-card .card-header {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  font-size: 1rem;
}
.facture-card .code {
  font-size: 0.7rem;
  font-weight: bold;
  opacity: 0.8;
  padding-left: 10px;
}
.facture-card .num {
  font-size: 0.8rem;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
}
.facture-card .date {
  font-size: 0.6rem;
  font-weight: bold;
  margin-top: 10px;
  color: #555;
}
.facture-card .facture-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #ddd;
}
.facture-card .card-footer {
  background: #f8f9fa;
  font-weight: bold;
  font-size: 1rem;
  text-align: right;
  padding: 10px 15px;
}
p .detail-site {
  font-size: 0.6rem;
  font-weight: bold;
  color: #555;
}
.wrapper .page-footer {
  width: auto;
  /*height: 60px;*/
  background-color: #ffffff;
  padding-left: 1rem;
  padding-right: 1rem;
}
.btn-validation {
  font-size: 0.6rem;
  border: 1px solid;
  border-radius: 0.25rem;
}
.btn-link {
  font-size: 0.6rem;
  border-radius: 0.25rem;
}
.wrapper .page-footer .navbar a.nav-link {
  color: #212529;
}

.wrapper .page-footer .navbar a.nav-link .icon {
  font-size: 20px;
}

.wrapper .page-footer .navbar a.nav-link .name {
  font-size: 14px;
}

.wrapper .sidenav .offcanvas-header {
  height: auto;
}

.wrapper .sidenav .offcanvas {
  width: 300px;
}

/* Pag Content */

.category-img figure {
  margin: auto;
}

.category-img figcaption {
  font-size: 12px;
  color: #212529;
  text-align: center;
  padding-top: 5px;
  font-weight: 600;
}
/*
canvas {
    max-width: 60px;
    max-height: 60px;
}*/
.tiredivs3 {
  display: inline-block;
  vertical-align: top;
  min-height: 320px;
  width: 31.3%;
  padding: 5px 0px 5px 0px;
  margin: 0px 1% 40px 1%;
  background-color: #fff;
  position: relative;
  text-align: center;
  position: relative;
  box-shadow: 0px 0px 0px 1px #f0f0f0;
}
.tiredivs3 a {
  font-size: 18px;
  text-align: center;
  display: inline-block;
  margin-top: 5px;
  text-decoration: underline;
}
.tiredivs3 a img {
  width: 180px;
  height: 180px;
}
.tiredivs3 span {
  font-size: 14px;
  color: #999;
  font-weight: normal;
}
.tiredivs3 {
  width: 48%;
}
.tiredivs3 img {
  width: 78px;
  height: 24px;
}
.tiredivs3 a img {
  width: 150px;
  height: 150px;
}

.tirename {
  padding: 0px 5px 0px 5px;
  font-weight: bold;
  color: #888;
  font-size: 18px;
  text-align: center;
}
.tirename {
  float: left;
  padding-right: 2px;
  margin: -27px 0px 0px 120px;
  line-height: 1.5;
  color: #666;
}
.tirename span {
  font-size: 14px;
}
.sizeprice {
  bottom: 0px;
  right: 0%;
  border-top-left-radius: 2px;
  width: auto;
}
.sizeprice span {
  font-size: 22px;
}
/* Utilities */

.bg-red {
  background-color: #ff2c2c !important;
}

.bg-green {
  background-color: #21ad61 !important;
}

.bg-purple {
  background-color: #723da6 !important;
}

.border-light {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.bg-facebook {
  background-color: #3b5998 !important;
}

.bg-pinterest {
  background-color: #c8232c !important;
}

.bg-linkedin {
  background-color: #0072b1 !important;
}

.bg-apple {
  background-color: #000 !important;
}

.text-purple {
  color: #723da6 !important;
}
.text-orange {
  color: #ff822c !important;
}
.text-cyane {
  color: #00ffff !important;
}
.text-brown {
  color: #ce5334 !important;
}
.text-ten {
  color: #5eff00 !important;
}
.text-pink {
  color: #ff006f !important;
}

.section-title {
  color: #212529;
  font-size: 18px;
}

.review-item .client-name {
  color: #212529;
  font-size: 14px;
}

.product-short-title {
  color: #212529;
  font-size: 14px;
}
.font-12 {
  font-size: 14px;
}
.font-12 {
  font-size: 12px;
}
.font-10 {
  font-size: 10px;
}
.font-8 {
  font-size: 8px;
}
.file-input-container {
  width: 300px;
  height: 170px;
  position: relative;
  border: 2px dashed #ccc;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: url("camera-icon.png") no-repeat center center / 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-input-container input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.rounded-end-0 {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.rounded-start-0 {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.btn-ecomm {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0;
  z-index: 6;
}

.filter-menu .nav-link {
  border-radius: 0;
  color: #363d46;
  background-color: #fbfbfb;
  border-bottom: 1px solid #eee;
}

.filter-menu .nav-link.active {
  color: #1b222d;
  background-color: #ffffff;
}

.filter-content .product-number {
  color: #b7b7b7;
  margin-left: 7px;
}

/* Radio & Checkbox */

.form-check-input,
.form-check-input,
.form-check-label {
  cursor: pointer;
}

.product-number {
  color: #b7b7b7;
  margin-left: 7px;
}

.form-check-input:checked,
.form-check-input:checked {
  background-color: #212529;
  border-color: #212529;
}

.form-check-input:focus,
.form-check-input:focus {
  border-color: #212529;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(34, 38, 42, 0);
}

.similar-products a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #212529;
  font-size: 16px;
  border-radius: 50%;
}

.h-90 {
  height: 90% !important;
}

.rounded-top-left-right-lg {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.offcanvas-footer {
  background-color: #ffffff;
}

/* Product Details */

.product-image-slider .slick-list {
  margin: 0 0;
}

.product-image-slider .slick-slide {
  margin: 0 0;
}

.product-image-slider .slick-dots {
  bottom: 0;
}

.share-product {
  width: 35px;
  height: 35px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #212529;
  background-color: #fff;
  z-index: 1;
  cursor: pointer;
}

.share-product:hover {
  color: #212529;
}

.product-image-slider .slick-dots li button:before {
  opacity: 1;
  color: white;
}

.product-image-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: rgb(0, 0, 0);
}

.product-image-slider .slick-prev,
.product-image-slider .slick-next {
  font-size: 24px;
  color: #fff;
  opacity: 0.7;
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
}

.product-image-slider .slick-prev:hover,
.product-image-slider .slick-next:hover,
.product-image-slider .slick-prev:focus,
.product-image-slider .slick-next:focus {
  opacity: 1;
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
}

.product-image-slider .slick-prev {
  left: 0;
}

.product-image-slider .slick-next {
  right: 0;
}

.width-content {
  width: fit-content;
}

.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;
  transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.size-chart div button:hover,
.size-chart div button:focus {
  color: #ffffff;
  border: 1px solid #212529;
  background-color: #212529;
}

.product-info .product-title {
  color: #222121;
}

.separator {
  display: flex;
  align-items: center;
}

.separator .line {
  height: 1px;
  flex: 1;
  background-color: #dee2e6;
}

.separator h3 {
  padding: 0 1.5rem;
}

.wishlist-close {
  background-color: #ffffff;
  border-radius: 50%;
  padding: 10px;
  margin: 7px;
}

.block-button {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-input {
  width: 1.2em;
  height: 1.2em;
}

.profile-item,
.profile-item:hover,
.profile-item:focus {
  color: #141619;
  text-decoration: none;
}

.noti-box {
  width: 40px;
  height: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  background-color: #eff1f3;
  border-radius: 50%;
}

.forgot-link {
  color: #646464;
}

.forgot-link:hover {
  color: #646464;
}

.social-login a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  background-color: #eaebeb;
  border-radius: 50%;
}

.verification-controls input {
  width: 50px;
  height: 50px;
  text-align: center;
  padding: 0;
}

.splash-bg-2 {
  background-image: url(https://via.placeholder.com/1080X1440);
  /*background-image: url(assets/images/Cover-dakhla.jpg);*/

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Metis Menu */

.sidebar-nav .metismenu a {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-bottom: 1px solid #dee2e6;
}

.sidebar-nav .metismenu .mm-active > a,
.sidebar-nav .metismenu a:hover,
.sidebar-nav .metismenu a:focus {
  color: #212529;
  background-color: #f8f9fa;
}

.sidebar-nav .metismenu li:first-child {
  margin-top: 0px;
}

.sidebar-nav .metismenu .mm-active > a {
  border-radius: 0;
}

.sidebar-nav .metismenu li + li {
  margin-top: 0px;
}

.sidebar-nav .metismenu ul a {
  padding: 8px 16px 8px 42px;
}

/* Order Tracking */

.timeline-with-icons {
  border-left: 1px solid #dee2e6;
  position: relative;
  list-style: none;
}

.timeline-with-icons .timeline-item {
  position: relative;
}

.timeline-with-icons .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-with-icons .timeline-icon.active {
  color: #fff;
  background-color: #212529;
}

.timeline-with-icons .timeline-icon {
  position: absolute;
  left: -45px;
  background-color: #f8f9fa;
  color: #bcc0c5;
  border-radius: 50%;
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  margin-top: 20px;
}
/* ------------------ Box Product -------------------------------------------------------------- */
.box-product-outer {
  margin-bottom: 5px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.box-product-outer:hover {
  outline: 1px solid #aaa;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.tab-content .box-product-outer {
  margin-bottom: 0;
}
.box-product-slider-outer {
  padding: 10px;
}
.box-product .img-wrapper {
  position: relative;
  overflow: hidden;
}
.box-product .img-wrapper > :first-child {
  position: relative;
  display: block;
}
.box-product .img-wrapper > a > img {
  width: 100%;
}
.box-product .img-wrapper .tags {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  overflow: visible;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  vertical-align: inherit;
  border-width: 0;
  background-color: transparent;
  direction: rtl;
}
.box-product .img-wrapper .tags-left {
  left: 0;
  direction: ltr;
}
.box-product .img-wrapper .tags > .label-tags {
  display: table;
  margin: 1px 0 0 0;
  text-align: left;
  opacity: 0.92;
  filter: alpha(opacity=92);
  direction: ltr;
}
.box-product .img-wrapper .tags > .label-tags:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}
.box-product .img-wrapper .tags > .label-tags a:hover {
  text-decoration: none;
}
.box-product .img-wrapper > .option {
  position: absolute;
  top: auto;
  right: 0;
  bottom: -30px;
  left: 0;
  width: auto;
  height: 30px;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-align: center;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.55);
}
.box-product .img-wrapper .option > a {
  font-size: 12px;
  font-weight: normal;
  display: inline-block;
  padding: 0 4px;
  color: #fff;
}
.box-product .img-wrapper:hover > .option {
  top: auto;
  bottom: 0;
}
.box-product h6 a {
  line-height: 1.4;
}
.price {
  margin-bottom: 5px;
  color: rgb(13, 75, 94);
}
.price .price-down {
  margin-left: 5px;
  padding: 2px 5px;
  color: #fff;
  background: #f44336;
}
.price-old {
  position: relative;
  display: inline-block;
  margin-right: 7px;
  color: #666;
}
.price-old:before {
  position: absolute;
  width: 100%;
  height: 60%;
  content: "";
  border-bottom: 1px solid #666;
}
.rating i {
  color: #fc0;
}
.product-sorting-bar {
  border: 1px solid #e5e5e5;
}

#panierItems .btn-sm,
#panierItems .btn-outline-danger.btn-sm,
#panierItems .btn-outline-success.btn-sm {
  font-size: 0.85rem !important;
  padding: 0.1rem 0.4rem !important;
  min-width: 22px !important;
  min-height: 22px !important;
  line-height: 1;
}

#panierItems .btn-supprimer-panier {
  font-size: 0.9rem !important;
  padding: 0.05rem 0.35rem !important;
  min-width: 22px !important;
  min-height: 22px !important;
}
#panierItems i.bi {
  font-size: 1rem;
  vertical-align: middle;
}

/* -------------- End of Box Product -------------------------------------------------------------- */
.form-white.input-group > .form-control:focus {
  border-color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.75);
}
.navbar-brand img {
  max-height: 40px;
}
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050; /* S'assure que la navbar reste au-dessus du contenu */
  background-color: #ffffff; /* Fond blanc pour éviter la transparence */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre pour une meilleure visibilité */
}

/* animation */

@-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;
  }
}
/* Mobile-first : comportement fluide */
.ratio-16by9 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Desktop : hauteur fixe, carrousel centré, image centrée */
@media (min-width: 768px) {
  .sales-category-wrapper {
    max-width: 900px;
    margin: 0 auto; /* centre le carrousel */
    padding: 1rem;
  }

  .carousel-inner .ratio-16by9 {
    height: 400px;
    display: flex;
    align-items: center; /* centre verticalement l'image */
    justify-content: center; /* centre horizontalement l'image */
    background-color: #f8f9fa; /* facultatif : fond clair */
  }

  .carousel-inner .ratio-16by9 img {
    height: auto;
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}
.brand-slider {
  position: relative;
  height: 100px;
}

.slider-track {
  animation: scrollBrands 25s linear infinite;
  white-space: nowrap;
}

/* ---- Cartes/logo: plus basses, largeur adaptative, pas de débordement ---- */
.brand-item {
  /* largeur responsive : rétrécit sur mobile, plafonne sur desktop */
  width: clamp(120px, 18vw, 180px);
  /* hauteur plus faible */
  min-height: 64px; /* était 100px */
  height: auto; /* laisse la hauteur suivre le contenu */
  padding: 6px 10px; /* réduit les marges internes */

  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  overflow: hidden; /* coupe tout débordement éventuel */
  line-height: 0; /* supprime l'interligne autour des images */

  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.brand-item img {
  /* le logo ne dépasse JAMAIS la carte */
  max-width: 100%;
  max-height: 48px; /* était 60px -> cadre plus bas */
  width: auto; /* conserve le ratio */
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0%);
}

/* Optionnel : sur très petits écrans, réduire encore un peu */
@media (max-width: 576px) {
  .brand-item {
    width: clamp(100px, 40vw, 150px);
    min-height: 56px;
    padding: 6px 8px;
  }
  .brand-item img {
    max-height: 42px;
  }
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 1000;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Variables faciles à ajuster */
.brand-slider {
  --gap: 2rem; /* espacement entre logos */
  --height: clamp(32px, 6vw, 56px); /* hauteur uniforme des logos */
  --duration: 30s; /* vitesse du défilement (plus grand = plus lent) */

  overflow: hidden;
  position: relative;
  padding-block: 0.5rem;
}

/* léger fondu aux bords (optionnel) */
.brand-slider::before,
.brand-slider::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3rem;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}
.brand-slider::after {
  inset: 0 0 0 auto;
  transform: scaleX(-1);
}

/* Piste qui défile en continu */
.brand-track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content; /* s’étire à la largeur du contenu */
  animation: brand-scroll var(--duration) linear infinite;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* on animera la moitié après duplication */
}

/* Items & images uniformes */
.brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.brand-item img {
  height: var(--height);
  width: auto; /* ratio conservé */
  object-fit: contain;
  display: block;
  filter: grayscale(100%); /* style optionnel */
  opacity: 0.9;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}
.brand-item img:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}

/* Pause au survol (optionnel) */
.brand-slider:hover .brand-track {
  animation-play-state: paused;
}

/* Accessibilité: réduire les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }
}

/* (option alternative si tu ne modifies pas la row)
.equal-columns { align-items: stretch !important; } */

/* 1) Piles de cards : chaque pile (gauche/droite) occupe 100% de la hauteur,
   et CHAQUE card prend 1/3 de la pile => cards de hauteur identique */
.why-choose {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* équivalent g-3 en visuel */
  height: 100%;
}
.why-choose > .col-12 {
  /* chaque item de la pile */
  flex: 1 1 0; /* même part de hauteur */
  display: flex; /* pour que la card remplisse la cellule */
}
.why-choose .card {
  height: 100%; /* la card remplit sa cellule */
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* 2) Optionnel : même hauteur de header pour toutes (icône + titre alignés) */
.card-header .row {
  min-height: 64px; /* ajuste si besoin (56–72px selon ta typo) */
}

/* 3) Colonne centrale image : limitée à la hauteur des colonnes voisines */
.truck-wrap {
  height: 100%; /* suit la hauteur de la colonne */
  padding-block: 8px;
  display: flex;
  align-items: center; /* centre verticalement l’image dans sa colonne */
  justify-content: center;
}
.truck-img {
  max-height: 100%; /* ne dépasse JAMAIS la colonne */
  width: auto; /* garde le ratio */
  object-fit: contain; /* pas de recadrage */
  display: block;
}

/* 4) Mobile/Tablet : quand les colonnes se stackent, on évite une image trop haute */
@media (max-width: 1199.98px) {
  /* < xl */
  .truck-wrap {
    height: auto;
  }
  .truck-img {
    max-height: 320px;
  } /* ajuste 280–360px selon ton goût */
}

/* Utilitaire si tu utilises .text-justify */
.text-justify {
  text-align: justify;
}

.facture-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ececec;
}

.facture-item a {
  font-weight: 500;
  text-decoration: none;
}

.facture-card small {
  font-size: 11px;
}

.client-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.rep-accordion-btn {
  background: #eef5ff;
  color: #0b3f87;
}

.rep-accordion-btn:not(.collapsed) {
  background: #cfe2ff;
  color: #073b7a;
}

.client-accordion-btn {
  background: #ffffff;
  color: #333;
}

.client-accordion-btn:not(.collapsed) {
  background: #f7f7f7;
  color: #222;
}

.rep-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rep-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.rep-info {
  line-height: 1.2;
}

.rep-name {
  font-weight: 700;
}

.rep-total,
.client-total {
  font-weight: 700;
  white-space: nowrap;
}

.rep-total sup,
.client-total sup {
  font-size: 10px;
  color: #6c757d;
}


/* === Correctif Lot 1.1 : loader global + sidebar === */
.global-ajax-loader {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 18, 21, 0.38);
  backdrop-filter: blur(2px);
}
.global-ajax-loader.show {
  display: flex;
}
.global-ajax-loader-box {
  min-width: 150px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #212529;
  text-align: center;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.25);
}
.global-ajax-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px auto;
  border: 4px solid rgba(33, 37, 41, 0.18);
  border-top-color: #212529;
  border-radius: 50%;
  animation: globalAjaxSpin .8s linear infinite;
}
.global-ajax-text {
  font-size: 13px;
  font-weight: 700;
}
@keyframes globalAjaxSpin {
  to { transform: rotate(360deg); }
}
.offcanvas.show,
.sidenav.show,
.sidebar.show,
.sidebar-wrapper.show {
  visibility: visible;
}

/* Imperial MobileApp - pages plus compactes horizontalement */
body{overflow-x:hidden;}
.page-content > .row{margin-left:0!important;margin-right:0!important;}
.page-content > .row > [class*="col"]{padding-left:.18rem!important;padding-right:.18rem!important;}
@media (min-width:992px){.page-content{padding-left:.22rem!important;padding-right:.22rem!important;}}
