
/*********************************************************** Background CLASSES ***************************************************/

.bg-purple-3 {
    background-color: rgba(86,35,180,0.03) !important
}

.bg-purple-6 {
    background-color: rgba(86,35,180,0.06) !important
}

.bg-hover-purple-6:hover {
    background-color: rgba(86,35,180,0.06) !important;
}

.bg-purple-15 {
    background-color: rgba(86,35,180,0.15) !important
}

.bg-hover-purple-15:hover {
    background-color: rgba(86,35,180,0.15) !important;
}



.bg-purple {
	background-color: #5623b4 !important ;
	color: white !important;
	font-weight: bold !important;
}

.bg-hover-pink:hover {
	background-color: #C8007B !important ;
	color: white !important;
}

.bg-gray-10 {
	background: rgba(240, 240, 240, 0.6);
}

.bg-light-1 {
    background-color: rgba(233, 236, 239, 1); /* couleur identique à bg-light en hex */
}

.bg-gray-15 {
	background: rgba(230, 230, 230, 0.8);
}

.bg-success-2 {
	background-color: #23B49F !important ; 
}

.bg-info-2 {
	background-color: #23B49F !important ;
}

.bg-hover-success-2-80:hover {
	background-color: rgb(16, 133, 116, 0.8) !important ; 
}

  
.am-bg-blue-pro {
	background-color: #002244 !important ;
}
 
  
/*********************************************************** BTN CLASSES ***************************************************/

.btn-purple {
	background-color: #5623b4 !important ;
	color: white !important;
	font-weight: bold !important;
}

.btn-hover-pink:hover {
	background-color: #C8007B !important ;
	color: white !important;
} 

.btn-hover-purple-15:hover {
    background-color: rgba(86,35,180,0.15) !important;
}

.btn-hover-purple-10:hover {
    background-color: rgba(86,35,180,0.1) !important;
}


.btn-grenat {
	background-color: #B42338 !important ;
	color: white !important;
	font-weight: bold !important;
}

.btn-success-2 {
	background-color: #23B49F !important ; 
	color: white !important;
	font-weight: bold !important;
}

.btn-purple-70 {
    background-color: rgba(86,35,180,0.7) !important;
	color: white !important;
    font-weight: bold !important;
}

.pointer-0 {
	cursor:pointer !important;
}

.am-btn-blue-pro {
  background-color: #003366;
  color: #fff; /* texte blanc pour le contraste */
  border: none; /* si tu veux un bouton plat */
}
.btn-blue-1 {
    /* background-color: #eaf3ff !important; */
    color: #1565c0 !important;
    border: 1px solid #1565c0 !important;
    font-weight: 500 !important;
}

.btn-gray-blue {
    background-color: #d6dfeaff !important;
    color: #003366 !important; /* ton bleu pro pour le contraste */
}

.btn-green-1 {
    /* background-color: #ecf9f0 !important; */
    color: #2e7d32 !important;
    border: 1px solid #2e7d32 !important;
    font-weight: 500 !important;
}

.am-btn-blue-pro:hover {
  background-color: #002244; /* un peu plus foncé au hover */
}

.am-btn-success-dark {
  background-color: #006633;
  color: #fff; /* texte blanc pour contraste */
  border: none;
}

.am-btn-success-dark:hover {
  background-color: #00522e;
}

.fo-offer-cta-btn {
  background: linear-gradient(135deg, #ffbf2f 0%, #ff9f1c 55%, #ff7a18 100%);
  color: #0a2f4f !important;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  box-shadow: 0 10px 18px rgba(255, 122, 24, 0.24);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.fo-offer-cta-btn:hover,
.fo-offer-cta-btn:focus {
  color: #08253d !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(255, 122, 24, 0.30);
  filter: saturate(1.05);
}

.btn-sm-1 {
    height: calc(1.5em + 0.5rem + 2px);
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
    font-size: 0.6rem;
    border-radius: 0.2rem;
}

.border-blue-pro { border-color: #003366 !important; }

.fo-catalog-search-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
    border: 1px solid rgba(0, 34, 68, 0.10);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(0, 34, 68, 0.06);
}

.fo-catalog-search-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fo-catalog-search-input-wrap {
    position: relative;
    flex: 1;
}

.fo-catalog-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c7d90;
    font-size: 0.9rem;
}

.fo-catalog-search-input {
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 51, 102, 0.12);
    padding-left: 36px;
    font-size: 0.92rem;
}

.fo-catalog-search-input:focus {
    border-color: rgba(0, 51, 102, 0.3);
    box-shadow: 0 0 0 0.12rem rgba(0, 51, 102, 0.08);
}

.fo-catalog-filter-toggle {
    border-radius: 12px !important;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    white-space: nowrap;
}

.fo-catalog-search-submit {
    border-radius: 12px !important;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
}

.fo-catalog-filter-panel {
    position: relative;
    background: linear-gradient(180deg, #fbfcfd 0%, #f2f5f8 100%);
    border: 1px solid rgba(0, 34, 68, 0.08);
    border-radius: 14px;
    padding: 10px 10px 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 14px rgba(0, 34, 68, 0.04);
}

.fo-catalog-filter-reset {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 2;
}

.fo-catalog-filter-select {
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 51, 102, 0.12);
    background: #fff;
    font-size: 0.9rem;
}

.fo-catalog-filter-select:focus {
    border-color: rgba(0, 51, 102, 0.3);
    box-shadow: 0 0 0 0.12rem rgba(0, 51, 102, 0.08);
}

.fo-catalog-stock-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 0;
    cursor: pointer;
}

.fo-catalog-stock-switch input {
    display: none;
}

.fo-catalog-stock-ui {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d9e2ec;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.fo-catalog-stock-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease;
}

.fo-catalog-stock-switch input:checked + .fo-catalog-stock-ui {
    background: #0a3d62;
}

.fo-catalog-stock-switch input:checked + .fo-catalog-stock-ui::after {
    transform: translateX(18px);
}

.fo-catalog-stock-label {
    color: #003366;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
}

.fo-catalog-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 4px 2px 0;
}

.fo-catalog-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    align-items: center;
}

.fo-catalog-active-filters-with-reset {
    position: relative;
}

.fo-catalog-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 51, 102, 0.08);
    color: #003366;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 600;
}

.fo-catalog-active-reset {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 240, 240, 0.92);
    color: #003366;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 34, 68, 0.08);
    border: 1px solid rgba(0, 51, 102, 0.10);
}

.fo-catalog-active-reset:hover,
.fo-catalog-active-reset:focus {
    color: #003366;
    text-decoration: none;
    background: rgba(232, 236, 240, 0.98);
}

.fo-catalog-promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 13px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6c23e 0%, #f1b73c 100%);
    color: #002244;
    border: 1px solid rgba(181, 141, 47, 0.26);
    box-shadow: 0 8px 16px rgba(0, 34, 68, 0.08);
    font-weight: 800;
}

.fo-catalog-promo-banner:hover,
.fo-catalog-promo-banner:focus {
    color: #002244;
    text-decoration: none;
}

.fo-catalog-promo-banner-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    color: #002244;
}

.fo-catalog-promo-banner-link:hover,
.fo-catalog-promo-banner-link:focus {
    color: #002244;
    text-decoration: none;
}

.fo-catalog-promo-banner-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.fo-catalog-promo-banner-text {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.15;
}

.fo-catalog-promo-banner-reset {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #002244;
    background: rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.fo-catalog-promo-banner-reset:hover,
.fo-catalog-promo-banner-reset:focus {
    color: #002244;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.32);
}

.fo-help-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(0, 24, 48, 0.22);
    background: #f5f7fa;
}

.fo-help-modal-header {
    background: linear-gradient(135deg, #0a3d62 0%, #003366 100%);
    border-bottom: 0;
}

.fo-help-modal-header .modal-title {
    color: #ffffff;
    font-weight: 700;
}

.fo-help-modal-header .close {
    color: #ffffff;
    opacity: 0.9;
}

.fo-help-modal-body {
    background: #eef2f6;
}

.fo-help-form {
    background: #eef2f6 !important;
}

.fo-help-identity-card {
    border-color: rgba(0, 51, 102, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 18px rgba(0, 24, 48, 0.06);
}

.fo-help-input {
    min-height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(0, 34, 68, 0.08);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 24, 48, 0.03);
    padding-left: 12px;
    padding-right: 12px;
}

.fo-help-input:focus {
    border-color: rgba(10, 61, 98, 0.24);
    box-shadow: 0 0 0 0.14rem rgba(10, 61, 98, 0.08);
}

.fo-help-textarea {
    min-height: 72px;
    resize: vertical;
    padding-top: 8px;
}

.fo-help-footer {
    background: transparent;
    border-top: 0;
    padding-top: 4px;
}

/**************************************** BADGE CLASSE ***************************************************************************************/

.badge-out {
    background-color: #555;
    color: #fff;
}

.badge-unknown {
    background-color: #e0e0e0;
    /* color: #fff; */
}


.badge-instk {
    background-color: #2ecc71;
    color: #fff;
}

.badge-incoming {
    background-color: #e67e22;
    color: #fff;
}

.badge-ofstk {
    background-color: #e74c3c;
    color: #fff;
}

.badge-discontinued {
    background-color: #34495e;
    color: #fff;
}

.badge-incoming {
    background-color: #ff8800;
    color: #fff;
}

/*********************************************************** TEXT CLASSES ***************************************************/


/* TEXT COLOR */
.text-black { color: black !important ;}
.text-grenat { color: #B42338 !important ;}
.text-success-2 { color: #81B423 !important ;}
.text-purple { color: #5b3c94 !important; }
.text-purple-lt { color: rgba(111,139,242,1) !important;}
.text-info-2 { color: #23B49F !important ;}
.text-hover-pink:hover { color: #C8007B !important ;} 
.am-text-blue-pro { color: #003366;}

.txt-u {text-decoration: underline;}
.txt-i {text-decoration: italic;}
/* TEXT SIZE */

.font-size-200  { font-size:200% !important ;}
.font-size-150  { font-size:150% !important ;}
.font-size-120  { font-size:120% !important ;}
.font-size-110  { font-size:100% !important ;}
.font-size-95   { font-size:95% !important ;}
.font-size-90   { font-size:90% !important ;}
.font-size-85   { font-size:85% !important ;}
.font-size-80   { font-size:80% !important ;}
.font-size-70   { font-size:70% !important ;}
.font-size-60   { font-size:60% !important ;}
.font-size-50   { font-size:50% !important ;}
.font-size-45   { font-size:45% !important ;}
.font-size-40   { font-size:40% !important ;}
.font-size-30   { font-size:30% !important ;}

.fs-200  { font-size:200% !important ;}
.fs-150  { font-size:150% !important ;}
.fs-120  { font-size:120% !important ;}
.fs-110  { font-size:110% !important ;}
.fs-95   { font-size:95% !important ;}
.fs-90   { font-size:90% !important ;}
.fs-85   { font-size:85% !important ;}
.fs-80   { font-size:80% !important ;}
.fs-70   { font-size:70% !important ;}
.fs-60   { font-size:60% !important ;}
.fs-50   { font-size:50% !important ;}
.fs-45   { font-size:45% !important ;}
.fs-40   { font-size:40% !important ;}
.fs-30   { font-size:30% !important ;}

.fw-100 {font-weight: 100 !important;}
.fw-200 {font-weight: 200 !important;}
.fw-300 {font-weight: 300 !important;}
.fw-400 {font-weight: 400 !important;}
.fw-500 {font-weight: 500 !important;}
.fw-600 {font-weight: 600 !important;}
.fw-700 {font-weight: 700 !important;}
.fw-800 {font-weight: 800 !important;}
.fw-900 {font-weight: 900 !important;}
.fw-1000 {font-weight: 1000 !important;}

/* OTHER TEXT PROPRITIES */
.text-strikethrough {
	text-decoration: line-through;
  }


/*********************************************************** MODALS CLASSES ***************************************************/

.modal-m-am {
	max-width: 650px !important;
  }

.modal-95 {
	max-width: 95% !important;
	min-height: 100% !important;
	overflow-y: auto !important;
}

.modal-70 {
	max-width: 70% !important;
	min-height: 100% !important;
	overflow-y: auto !important;
}


.modal-80 {
	max-width: 80% !important;
	min-height: 100% !important;
	overflow-y: auto !important;
}




/* ********************************** INPUT ****************************************/

.form-control-sm-1 {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.6rem;
    line-height: 1.5;
    border-radius: 0.2rem;

}

.am-checkbox-lg {
    transform: scale(1.2);
}

/*********************************************************** IMAGES CLASSES ***************************************************/


.img-caroussel-size-77 {
	width:100%;
	height: 100%; 
	object-fit: cover; 
	object-position: center;
	display: block;
}

.product-img-sm {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: contain;
    display: block;
}

.fo-catalog-promo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f6c23e 0%, #f3b932 55%, #ffe08a 100%);
    color: #0a3d62;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0, 34, 68, 0.12);
    overflow: hidden;
    pointer-events: none;
}

.fo-catalog-promo-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 42%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.76) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: foPromoBadgeSweep 3.2s ease-in-out infinite;
}

@keyframes foPromoBadgeSweep {
    0% {
        left: -60%;
        opacity: 0;
    }
    18% {
        opacity: 0.88;
    }
    45% {
        left: 120%;
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fo-catalog-promo-badge::after {
        animation: none;
    }
}

.fo-product-promo-banner {
    position: relative;
    background: #eefaf1;
    border: 1px solid #8bd19d;
    border-radius: 10px;
    overflow: hidden;
}

.fo-product-promo-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 24%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.82) 50%, transparent 100%);
    transform: skewX(-22deg);
    animation: foProductPromoSweep 3.4s ease-in-out infinite;
}

.fo-product-promo-banner-text {
    position: relative;
    z-index: 1;
    color: #157347;
    font-size: 1.15rem;
    line-height: 1.1;
    letter-spacing: .2px;
}

.fo-catalog-price-block {
    min-height: 0;
    line-height: 1.05;
    padding: 0.2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fo-catalog-price-label {
    color: #7a7f87;
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.1;
}

.fo-catalog-price-value {
    color: #0a3d62;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
}

.fo-catalog-price-reference {
    color: #7a7f87;
    font-size: 0.64rem;
    line-height: 1.1;
}

@keyframes foProductPromoSweep {
    0% {
        left: -40%;
        opacity: 0;
    }
    16% {
        opacity: 0.9;
    }
    44% {
        left: 116%;
        opacity: 0;
    }
    100% {
        left: 116%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fo-product-promo-banner::after {
        animation: none;
    }
}

.am-product-img-lg {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: contain;
    display: block;
    margin: 0 auto;   
}

/* Fixe la hauteur du carrousel produit pour éviter que la mise en page varie selon l'image */
#pdtImgCarousel .carousel-inner {
    width: 100%;
    height: clamp(200px, 56vw, 360px);
}

#pdtImgCarousel {
    width: 100%;
}

#pdtImgCarousel .carousel-item {
    height: 100%;
    width: 100%;
}

#pdtImgCarousel .carousel-item .am-product-img-lg {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.am-product-img-sm {
    width: 70%;          /* 30% de la largeur du conteneur parent */
    /* max-width: 150px;    limite max pour grands écrans */
    aspect-ratio: 16/10;
    object-fit: contain;  
    display: block;
    margin: 0 auto;
}

/* Floating cart button */
.floating-cart-btn {
    position: fixed;
    right: 16px;
    bottom: 90px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #003366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1030;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

body.fo-has-floating-cart .floating-cart-btn {
    bottom: 90px;
}

body.fo-has-bottom-banner .floating-cart-btn {
    bottom: 124px;
}
.floating-cart-btn:hover {
    color: #fff;
    background: #002244;
}
.floating-cart-btn i {
    font-size: 18px;
}
.floating-cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
}

.fo-reseller-price-hint {
    position: fixed;
    left: 14px;
    bottom: 88px;
    z-index: 1028;
    display: inline-flex;
    align-items: center;
    max-width: calc(100vw - 92px);
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(46, 125, 50, 0.96);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.1;
    border: 1px solid rgba(34, 92, 37, 0.72);
    box-shadow: 0 6px 18px rgba(20, 64, 22, 0.18);
}

body.fo-has-bottom-banner .fo-reseller-price-hint {
    bottom: 122px;
}

body.fo-footer-visible .fo-reseller-price-hint {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

.fo-reseller-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 18px;
    z-index: 1025;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0a3d62 0%, #003366 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.fo-product-help-banner {
    background: linear-gradient(135deg, #eef7fb 0%, #dceef6 100%);
    border-color: #b8d7e7;
}

.fo-help-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 27, 53, 0.35);
    z-index: 1023;
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.fo-help-popup {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(460px, calc(100vw - 26px));
    transform: translate(-50%, -46%);
    z-index: 1024;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
}

.fo-catalog-help-banner.fo-help-popup {
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: min(430px, calc(100vw - 26px));
    transform: translate(-50%, -46%) !important;
    padding: 10px 12px;
    min-height: 124px;
}

.fo-help-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.fo-catalog-help-banner.fo-help-popup.is-visible {
    transform: translate(-50%, -50%) !important;
}

.fo-help-popup-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.fo-reseller-cta-text {
    min-width: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
}

.fo-reseller-cta-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.fo-reseller-cta-subtitle {
    font-size: 0.74rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.86);
}

.fo-reseller-cta-loginhint {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    text-align: center;
    margin-top: -4px;
    cursor: pointer;
}

.fo-reseller-cta-btn {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f6c23e;
    color: #003366;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.fo-reseller-cta-btn:hover,
.fo-reseller-cta-btn:focus {
    color: #003366;
    text-decoration: none;
    background: #ffd35c;
}

@media (min-width: 768px) {
    .fo-reseller-cta {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(680px, calc(100vw - 32px));
        bottom: 18px;
    }
}

.fo-catalog-help-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 18px;
    z-index: 1024;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f3f8fc 0%, #d9e9f8 100%);
    border: 1px solid #c7ddef;
    color: #003366;
    box-shadow: 0 10px 22px rgba(10, 61, 98, 0.12);
}

body.fo-footer-visible .fo-reseller-cta,
body.fo-footer-visible .fo-catalog-help-banner {
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: auto;
}

body.fo-footer-visible .fo-help-popup {
    padding-top: 12px;
    padding-bottom: 12px;
}

body.fo-footer-visible .fo-reseller-cta-subtitle,
body.fo-footer-visible .fo-catalog-help-subtitle {
    display: none !important;
}

body.fo-footer-visible .fo-reseller-cta-loginhint {
    display: none !important;
}

body.fo-footer-visible .fo-reseller-cta-title,
body.fo-footer-visible .fo-catalog-help-title {
    margin-bottom: 0;
    font-size: 0.86rem;
}

body.fo-footer-visible .floating-cart-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

.fo-catalog-help-text {
    min-width: 0;
    padding-right: 18px;
}

.fo-catalog-help-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.fo-catalog-help-subtitle {
    font-size: 0.72rem;
    line-height: 1.2;
    color: #47627d;
}

.fo-catalog-help-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #0a3d62;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.fo-catalog-help-btn:hover,
.fo-catalog-help-btn:focus {
    color: #fff;
    text-decoration: none;
    background: #082f4b;
}

.fo-help-popup-close {
    position: absolute;
    top: 5px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #0a3d62;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .fo-catalog-help-banner {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(700px, calc(100vw - 32px));
    }

    .fo-catalog-help-banner.fo-help-popup {
        width: min(460px, calc(100vw - 26px));
        transform: translate(-50%, -46%);
    }

    .fo-catalog-help-banner.fo-help-popup.is-visible {
        transform: translate(-50%, -50%);
    }
}

.cart-qty-input {
    width: 64px;
    padding: 0.1rem 0.4rem;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #cfd8e3;
    background: #eaf3ff;
    color: #003366;
    font-weight: 700;
    line-height: 1;
    padding: 0;
}

.cart-edit-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.cart-line-prices {
    white-space: nowrap;
}

.cart-item-card .card-body {
  padding: 0.5rem;
}

.empty-cart-card {
  background: #ffffff;
  border: 1px solid #e6eef7;
  border-radius: 10px;
  padding: 24px 16px;
  margin: 8px 0 16px;
  box-shadow: 0 2px 10px rgba(13, 42, 79, 0.06);
}

.empty-cart-spacer {
  height: 120px;
}

/* Animation texte défilant */
.scroll-text-container {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.scroll-text {
  position: absolute;
  white-space: nowrap;
  animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Ticker revendeur */
.reseller-ticker {
    background-color: #F7F9FC;
    border: 1px solid #E6EDF5;
    border-left: 3px solid #003366;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    padding: 6px 10px;
    box-shadow: 0 1px 2px rgba(0, 51, 102, 0.08);
}

.reseller-ticker-track {
    display: inline-block;
    white-space: nowrap;
    color: #003366;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    animation: resellerTickerBounce 12s ease-in-out infinite alternate;
    will-change: transform;
}

.reseller-ticker-icon {
    color: #FFA500;
    margin: 0 4px;
}

.reseller-ticker-badge {
    background-color: #FFA500;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.reseller-ticker-link {
    color: #003366;
    text-decoration: underline;
    font-weight: 700;
}

@keyframes resellerTickerBounce {
    0% { transform: translateX(0); }
        100% { transform: translateX(-6%); }
}

/* Topbar revendeur */
.reseller-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #003366;
    text-decoration: none;
    font-size: 0.85rem;
}

.reseller-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #E6F0FA;
    border: 1px solid #CFE0F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #003366;
}

.reseller-user-text {
    font-weight: 600;
}

.reseller-user-caret {
    font-size: 0.75rem;
}


.scroll-text2 {
  position: absolute;
  display: inline-block;
  white-space: nowrap;
  animation: scrollText2 10s linear infinite;
}



@keyframes scrollText2 {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Uniformiser la hauteur des cartes produits dans le catalogue */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .desc-short {
    line-height: 1.2em;
    min-height: 2.4em; /* 2 lignes */
}

.am-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* Cette partie là c'est poyr règler un problème lié aux écrans..par le scroll des fois s'arrête à la taille de l'écran au lieu de s'etendre selon
	le contenu */
html, body {
  height: 100%;
  min-height: 100vh;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#page-top, #wrapper, #content-wrapper, #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.topbar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#page-top {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#wrapper, #content-wrapper, #content {
  flex: 1 0 auto;
}

#wrapper, #content-wrapper {
  display: flex !important;
  flex-direction: column;
  min-height: 100vh !important;
  overflow: visible !important;
}

.desc-short {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.short_designation {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* limite à 1 ligne */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* nécessaire pour webkit-line-clamp */
}

.variant-slider {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
}

.variant-card {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    scroll-snap-align: start;
}

.variant-thumb {
    width: 100%;
    height: 70px;
    background: #f2f4f7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.variant-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.variant-nav .variant-nav-btn {
    width: 38px;
    height: 30px;
    line-height: 1;
}

.fo-share-icons {
    gap: 0.5rem;
}

.fo-share-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-width: 1px;
    line-height: 1;
}

.fo-share-icon-btn i {
    font-size: 0.95rem;
    margin: 0;
}

.fo-share-whatsapp {
    color: #25d366;
    border-color: #25d366;
}

.fo-share-whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.fo-share-messenger {
    color: #0084ff;
    border-color: #0084ff;
}

.fo-share-messenger:hover {
    background: #0084ff;
    color: #fff;
}

.fo-share-facebook {
    color: #1877f2;
    border-color: #1877f2;
}

.fo-share-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.fo-share-telegram {
    color: #229ed9;
    border-color: #229ed9;
}

.fo-share-telegram:hover {
    background: #229ed9;
    color: #fff;
}



.truncate {
    display: inline-block;
    max-width: 80%; /* ou ajuster selon ton layout */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.full {
    display: inline-block;
    white-space: nowrap;
}


.col-5-5 {
    flex: 0 0 49%; 
    max-width: 49%;
}
.col-3-5 {
    flex: 0 0 29%;
    max-width: 29%;
}

.col-8-5 {
    flex: 0 0 71%;
    max-width: 71%;
}

.col-1-5 {
    width: 20%;  /* 12 colonnes / 5 = 2.4 colonnes ≈ 20% */
    float: left; /* comme les cols Bootstrap */
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-1-75 {
    flex: 0 0 1.75%;
    max-width: 1.75%;
    position: relative;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.col-3-25 {
    flex: 0 0 27.08%;
    max-width: 27.08%;
    position: relative;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}


.close:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5); /* halo bleu discret */
}



#pdtImgCarousel .carousel-control-prev,
#pdtImgCarousel .carousel-control-next {
    width: auto !important;
    padding: 0 !important;
}


#div_catalogPdts a.text-decoration-none:visited {
    color: inherit;
}


.p-0-5 {
    padding: 0.125rem !important;
}

.px-05 { padding-left: 0.125rem !important; padding-right: 0.125rem !important; }
.py-05 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }





/* ================= PAGINATION CUSTOM ================= */

.am-pagination .page-link {
    color: #003366; /* ton bleu pro */
    font-weight: 600;
    border: none;
    margin: 0 2px;
    border-radius: 6px;
}

.am-pagination .page-link:hover {
    background-color: rgba(86,35,180,0.10); /* purple light */
    color: #003366;
}

/* Page active */
.am-pagination .page-item.active .page-link {
    background-color: #002244 !important; /* ton purple principal 5623b4*/ 
    color: #fff !important;
    border: none;
}

/* Disabled */
.am-pagination .page-item.disabled .page-link {
    background-color: rgba(0,0,0,0.05);
    color: #999 !important;
    border: none;
}

/* Ellipses */
.am-pagination .page-item.disabled .page-link {
    cursor: default;
}

/* Boutons ‹ › */
.am-pagination .page-link.px-3 {
    font-weight: 900;
    font-size: 110%;
}


#wrapper, #content-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.topbar {
  margin-top: 0 !important;
}

.rqst-sts-draft {
  background-color: #6c757d;
  color: #fff;
}

.rqst-sts-validated {
  background-color: #17a2b8;
  color: #fff;
}

.rqst-sts-processing {
  background-color: #0d6efd;
  color: #fff;
}

.rqst-sts-ready {
  background-color: #20c997;
  color: #fff;
}

.rqst-sts-delivery {
  background-color: #fd7e14;
  color: #fff;
}

.rqst-sts-pickup {
  background-color: #6610f2;
  color: #fff;
}

.rqst-sts-collected {
  background-color: #198754;
  color: #fff;
}

.rqst-sts-canceled {
  background-color: #dc3545;
  color: #fff;
}

.fo-offer-catalog-header {
  padding: 0.8rem 1rem;
  border: 1px solid #d7e2ec;
  border-radius: 10px;
  background: #f7fafc;
}

.fo-offer-qty {
  margin-top: 0.14rem;
  color: #6c757d;
  font-size: 0.62rem;
  font-weight: 600;
}

.fo-offer-product-unavailable {
  opacity: 0.78;
}
