


:root {
    --white-color: #fff !important;
    --black-color: #000 !important;
    --title-color: #012d82 !important;
    --text-color: #787878 !important;
    --primary-color1: #f5a623 !important;
    --primary-color1-opc: 245,166,35 ;
    --primary-color2: #012d82 !important;
    --primary-color2-opc: 1,45,130 !important;
}

/* Alternative : Définir directement sur html */
html {
    --title-color: #012d82 !important;
    --primary-color1: #f5a623 !important;
    --primary-color1-opc: 245,166,35 !important;
    --primary-color2: #012d82 !important;
    --primary-color2-opc: 1,45,130 !important;
}

input#promo-input {
    background-color: white;
    color:black;
}

img.scuccess-confirm-img {
    max-width: 350px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

span.text-danger {
    font-size: 12px;
}

span.text-success{
    font-size:12px;
}

button#btn-check-promo {
    padding: 0px 10px 0px 10px;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "molla";
    font-style: normal;
    color: var(--primary-color1);
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.product-action:not(.product-action-dark) .btn-product:not(:hover):not(:focus) {
    color: #ffffff;
    font-size: 13px;
}
.product-action:not(.product-action-dark) .btn-product:hover {
    color: #ffffff;
    font-size: 13px;
}

.just-action-icons-sm .btn-product:before {
    margin-right: 5px;
}

.btn-cart-variant:before {
    content: '\e929';
}

body > div.page-wrapper > main > div.page-content.mt-4 > div > div > div > div > table > tbody > tr > td.quantity-col > input{
    margin-bottom: 0rem !important;
}
.variant-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.35rem 0 0.5rem 0;
}

.variant-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--title-color);
    white-space: nowrap;
}

.variant-badge-color {
    background-color: #fff;
    border-color: #ccc;
}

.color-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.15);
    display: inline-block;
    flex-shrink: 0;
}

/* Ajustement pour le dropdown */
.dropdown-cart-products .product-cart-details {
    max-width: 180px;
}


.header-intro-clearance .header-middle .header-center, .header-intro-clearance .header-bottom .header-center {
    flex: 0 0 calc((100% + 20px) / 2 - 20px);
    max-width: calc((100% + 20px) / 2 - 60px) !important;
    margin: 0;
}

.primary-btn1::after {
    position: absolute;
    content: "";
    display: block;
    left: 15%;
    right: -20%;
    top: -4%;
    height: 150%;
    width: 150%;
    bottom: 0;
    border-radius: 2px;
    background-color: var(--title-color);
    transform: skewX(45deg) scale(0, 1);
    z-index: -1;
    transition: all 0.5s ease-out 0s;
}

/* Style compact et subtil pour les variations non-couleur */
.product-variations-compact {
    margin-top: 8px;
    font-size: 0.75rem;
    line-height: 1.3;
}

.variation-line {
    display: flex;
    align-items: baseline;
    margin-bottom: 3px;
}

.variation-label {
    color: #999;
    font-weight: 500;
    margin-right: 5px;
    white-space: nowrap;
}

.variation-values {
    color: #666;
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Style amélioré pour les points de couleur */
.product-nav-dots a {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    transition: all 0.2s ease;
}
.product-nav-variants a.active {
    border-color: var(--primary-color1);
    /*background-color:  var(--title-color);*/
    color: var(--title-color);
}
.product-nav-dots a:hover,
.product-nav-dots a.active {
    box-shadow: 0 0 0 2px rgba(204, 153, 102, 0);
    transform: scale(1.15);
}
.product-title a:hover, .product-title a:focus {
    color: var(--primary-color1) !important;
}
.product-nav-dots {
    margin-top: 8px;
    display: flex;
    align-items: center;
}
.product-label.label-out {
    color: #fff;
    background-color: #ff0000;
}

.header-4 .header-top {
    font-weight: 400;
    font-size: 1.4rem;
    background-color:var(--primary-color1);
    margin-bottom: 0;
    letter-spacing: -.01em;
}


.header-top a {
    color: white;
}

.label-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 2.6rem;
    min-width: 0;
    border-radius: 0%;
    line-height: 1;
}
.btn-primary {
    color: #fff;
    background-color: var(--title-color);
    border-color: var(--title-color);
    box-shadow: none;
}

.cart-dropdown .cart-count {
    background-color:var(--primary-color1);
}

.bg-light {
    background-color: #44a5ac3b !important;
}

.menu li:hover > a, .menu li.show > a, .menu li.active > a {
    color: var(--primary-color1);
}

.menu > li > a {
    color: var(--title-color);
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: -.01em;
    padding: 3.95rem 3rem;
    text-transform: uppercase;
}


.wishlist a .wishlist-count {
     background-color:var(--primary-color1);
}
.header-bottom .menu > li > a:before {
  background-color: var(--primary-color1);
}


.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-color1);
    border-color: var(--primary-color1);
    box-shadow: none;
}


.header-4 .dropdown.category-dropdown {
    background-color: #f5a6233b;
}

.header-intro-clearance .header-bottom .header-right .highlight {
    color: var(--title-color);
}

.product-label.label-top {
    color: #fff;
    background-color: var(--title-color);
}

.text-third {
    color: var(--primary-color1);
}

.intro-title {
    color: var(--title-color);
    letter-spacing: -.03em;
    font-size: 3.4rem;
    margin-bottom: 0;
}


.header-4.header-intro-clearance .header-search .header-search-wrapper {
    border-color: var(--title-color);
}
.category-dropdown .dropdown-toggle:hover, .category-dropdown .dropdown-toggle:focus {
    color: #fff !important;
    background-color:var(--title-color);
}
.category-dropdown:not(.is-on):hover .dropdown-toggle {
    background-color: var(--title-color);
}

.logo img {
    display: block;
    max-width: 100%;
    height: 35px;
}


.header-4 .dropdown.category-dropdown .dropdown-toggle:not(:hover):not(:focus) {
    color: var(--title-color) !important;
}

p {
    margin-bottom: 0;
    font-size: 1.4rem;
    font-weight: 300;
    font-family: 'Poppins';
    letter-spacing: 0;
    color: var(--title-color);
}

.product-label.label-new {
    color: #fff;
    background-color: var(--primary-color1);
}

.cat-blocks-container [class*="col-"] {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 20px;
}


.nav.nav-pills .nav-item.show .nav-link, .nav.nav-pills .nav-item .nav-link.active {
    color: var(--primary-color1);
    border-bottom-color: var(--primary-color1);
}

.nav.nav-pills .nav-link {
    color: var(--title-color);
    font-weight: 400;
}

.nav.nav-border-anim .nav-link:before {
    background-color: var(--primary-color1);

}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    color: var(--primary-color1);
    letter-spacing
}

.nav.nav-pills .nav-link:hover, .nav.nav-pills .nav-link:focus {
    color: var(--primary-color1);
}


.product-media {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%; 
    height: 0;
}

.product-media .product-image,
.product-media .product-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    transition: transform 0.4s ease;
}

   
.product-media:hover .product-image {
    transform: scale(1.1);
}


.product.product-2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.header-intro-clearance .wishlist a {
    font-size: 2.8rem;
    color: var(--title-color);
    line-height: 1;
}

.header-4 .cart-dropdown:not(:hover):not(.show) .dropdown-toggle, .header-4 .compare-dropdown:not(:hover):not(.show) .dropdown-toggle {
    color: var(--title-color);
}

.header-intro-clearance .header-bottom .container::after {
    position: absolute;
    content: '';
    right: 28rem;
    height: 1.5rem;
    width: .1rem;
    top: 50%;
    background-color: #cccccc00;
    transform: translateY(-50%);
}


.text-dark {
    color: var(--title-color); !important;
}
.footer {
    background-color: var(--title-color);
}
*
.owl-theme.owl-light .owl-nav [class*='owl-'] {
    border-color: var(--title-color);
    background-color:  var(--title-color);
    color: var(--primary-color1);
}

.footer-copyright {
    margin-bottom: 0;
    text-align: left;
    color: white;
}
.footer .widget-title {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: -.01em;
    margin-top: 0;
    margin-bottom: 1.9rem;
}

.widget-about p:last-of-type {
    margin-bottom: 1.2rem;
    color: white;
}
.btn-outline-primary-2 {
    color: #ffffff !important;
    background-color: var(--primary-color1);
    background-image: none;
    border-color: var(--primary-color1);
    box-shadow: none;
}

.footer a {
    color: white;
}

.product-action:not(.product-action-dark) {
    background-color: var(--primary-color1);
}

.product-action:not(.product-action-dark) .btn-product:not(:hover):not(:focus) {
    color: #ffffff;
}

.product-action:(.product-action-dark) .btn-product:(:hover):(:focus) {
    color: #ffffff;
}

.icon-box-title {
    color: var(--primary-color1);
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: -.025em;
    margin-bottom: .9rem;
}


.old-price {
    color: #dc3545;
    text-decoration: line-through;
    font-size: 14px;
}

.div-color{
    background-color: rgba(var(--primary-color1-opc), 0.2) !important;
    padding-top: 6rem;
    padding-bottom : 6rem;
}

.product-cat a {
    color: var(--primary-color1);
    font-weight: 500;
}

.product-title a{
    color: var(--title-color);
}

.product-title a {
    color:  var(--title-color);
}

a {
    color: var(--primary-color1);
}

body {
    font: normal 300 1.4rem / 1.86 "Poppins", sans-serif;
    color: var(--title-color); ;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.deal {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    padding: 3.6rem 4rem 4.8rem;
    background-color: #d4eaec;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
    min-height: 420px;
}

#scroll-top {
    color: var(--title-color);
    background-color: #fdeacc;
}

.for-you .product.product-2 {
    border: .1rem solid #ebebeb;
}


/* Améliorations subtiles pour les deals */
.deal {
    position: relative;
    overflow: hidden;
}

/* Container pour l'image */
.deal-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 20px;
}

.deal-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.deal:hover .deal-product-image {
    transform: scale(1.08);
}

/* Badges Flash et Exclusif */
.deal-badge-flash,
.deal-badge-exclusive {
    position: absolute;
    top: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.deal-image-left .deal-badge-flash {
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.deal-image-right .deal-badge-exclusive {
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Légère ombre sur hover */
.deal:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}




.product-price {
    color: var(--title-color);
}



.owl-stage-outer {
    overflow: hidden;
    position: relative;
}

.owl-stage {
    width: 90%;
    margin: 0 auto; /* ← Centrage horizontal */
    display: flex;
    justify-content: center;
}

.owl-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

.intro-slide {
    width: 100%;
    height: 500px; /* ou la hauteur souhaitée */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Optionnel : rendre responsive */
@media (max-width: 768px) {
    .intro-slide {
        height: 350px;
    }
}



.header-4 .header-top {
    font-weight: 400;
    font-size: 1.4rem;
    background-color: var(--primary-color1);
    margin-bottom: 0;
    letter-spacing: -.01em;
    padding: 5px;
}

.dropdown-cart-action {
    display: flex;
    align-items: center;
    padding: 0 0 .5rem;
    flex-wrap: wrap;
}
.dropdown-cart-action .btn {
    font-size: 1.3rem;
    min-width: 100%;
    padding-top: .75rem;
    padding-bottom: 0.75rem;
    margin-top: 5px;
}

.dropdown-cart-total {
    padding: 1rem 0 .5rem;
    display: flex;
    align-items: flex-end;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--title-color);
    margin-bottom: 1.1rem;
}

.cart-dropdown .product-cart-details {
    font-weight: 400;
    max-width: 150px;
    font-size: 1.3rem;
    color: var(--title-color);
    text-align: left;
}

.cart-dropdown .btn-remove, .compare-dropdown .btn-remove {
    color: var(--primary-color1);
}

.cart-dropdown .product-title a {
    color: var(--title-color);
}

.cart-dropdown:hover .dropdown-toggle, .cart-dropdown.show .dropdown-toggle, .compare-dropdown:hover .dropdown-toggle, .compare-dropdown.show .dropdown-toggle {
    color: var(--title-color);
}


.btn-outline-primary-2:hover, .btn-outline-primary-2:focus, .btn-outline-primary-2.focus, .btn-outline-primary-2:not(:disabled):not(.disabled):active, .btn-outline-primary-2:not(:disabled):not(.disabled).active, .show > .btn-outline-primary-2.dropdown-toggle {
    color: #fff;
    background-color: var(--title-color);
    border-color: var(--title-color);
    box-shadow: none;
}

.header-4 .btn-primary:hover, .header-4 .btn-primary:focus, .header-4 .btn-primary.focus, .header-4 .btn-primary:not(:disabled):not(.disabled):active, .header-4 .btn-primary:not(:disabled):not(.disabled).active, .header-4 .show > .btn-primary.dropdown-toggle {
    color: var(--primary-color1);
    background-color: transparent;
}

.product-action a:hover, a:focus {
    color: #ffffffff;
}


.product-col .product-media {
    display: inline-table;
    margin: 0;
    margin-right: 2.8rem;
    flex-shrink: 0;
    max-width: 20%;
}

.product-media {
    background-color: #d7d7d700;
}

.table td {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-header h1 {
    color: var(--title-color);
    font: normal 400 3.2rem / 1.1 "Poppins", sans-serif;
    letter-spacing: -.025em;
    margin-bottom: 0;
}

.table th {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--title-color);
}


/*.form-control {
    height: 40px;
    padding: .85rem 2rem;
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--title-color);
    background-color: #d4eaec;
    border: 1px solid #44a5ac;
    border-radius: 0;
    margin-bottom: 0rem;
    transition: all 0.3s;
    box-shadow: none;
}*/



.product-gallery-vertical .product-gallery-item {
    flex: 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0rem;
    height: fit-content;
}

.details-filter-row label {
    display: inline-block;
    width: 15%;
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 0;
    color: var(--title-color);
}
.product-details {
    margin-bottom: 2rem;
    margin-left: 4rem;
}



.product-gallery-item img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}
        
.product-gallery-item.active img,
.product-gallery-item:hover img {
    border-color: var(--primary-color, #c96);
}
        
.product-details-quantity {
    display: inline-block;
}
        
.stock-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 3rem;
}

.stock-badge.in-stock {
    background-color: var(--title-color);
    color: #ffffff;
}
       
.stock-badge.out-stock {
    background-color: #f8d7da;
    color: #721c24;
}
        
.zoom-container {
    position: relative;
    overflow: hidden;
}

.product-details .product-title {
    font-weight: 400;
    font-size: 2.4rem;
    letter-spacing: -.025em;
    margin-bottom: 1.2rem;
    margin-top: -.5rem;
    color: var(--primary-color1);
}

.product-details-action .btn-cart {
    color: #ffffff;
    border-color: #ffffff;
    background-color:  var(--title-color);
}
.details-action-wrapper .btn-product {
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
    align-self: stretch;
    line-height: 1.4;
    border: solid 1px var(--primary-color1);
    padding: 0.7rem 1.5rem;
}

.btn-product span {
    color: var(--primary-color1);
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: -.01em;
    transition: all .35s ease;
}
body > div.page-wrapper > main > div > div > div.product-details-top.mb-2 > div > div:nth-child(2) > div > div.product-details-action > div > a > span{
    color: var(--primary-color1)
}
.btn-product {
    color: var(--primary-color1);
}

.product-details-tab .nav.nav-pills .nav-link {
    color: var(--title-color);
    font-size: 1.6rem;
    padding: .55rem 3rem;
    border-bottom-width: .2rem;
    text-transform: capitalize;
}

.product-details-tab .tab-content {
    border: .1rem solid #d4eaec;
    margin-top: -.1rem;
    border-radius: .3rem;
}

.product-details .product-price {
    font-size: 2.4rem;
    font-weight: 500;
}

.product-details-action .btn-cart:hover, .product-details-action .btn-cart:focus {
    border-color: var(--primary-color1);
    background-color: var(--primary-color1);
}

.btn-product:hover span, .btn-product:focus span{
    color: #ffffff;
    box-shadow: 0 1px 0 0 #ffffff;
}

#cart-alert-container .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
}
#cart-alert-container .btn-close {
    font-size: 0.8rem;
    color : #155724;
}

a:hover, a:focus {
    color: var(--title-color);
}

product-details-tab .nav.nav-pills .nav-link:hover, .product-details-tab .nav.nav-pills .nav-link:focus {
    color: var(--primary-color1);
    border-bottom-color: var(--primary-color1);
}


.breadcrumb-item a {
    color: var(--title-color);
}

.breadcrumb-item.active {
    color: var(--primary-color1);
}

.breadcrumb-item + .breadcrumb-item:before {
    color: var(--primary-color1);
    content: '\f112';
    font-family: "molla";
    padding-right: .7rem;
    font-size: 1.1rem;
    vertical-align: middle;
    margin-top: -.1rem;
}

.owl-full .owl-dots .owl-dot.active span {
    border-color: var(--title-color);
    background: var(--title-color);
}

.owl-full .owl-dots .owl-dot span {
    border-color: var(--title-color);
}

.contact-list i {
    color: #ffffff;
}

.contact-list a:hover, .contact-list a:focus {
    color: #ffffff;
}

.widget-list a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: .1rem;
    background-color: #ffffff;
    transform-origin: right center;
    transform: scale(0, 1);
    transition: transform .3s ease;
}

.contact-list i {
    color: #ffffff;
}


.page-item.active .page-link {
    color: #ffffff;
    background-color: var(--primary-color1);
    border-color: #ebebeb;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 4rem;
    font-weight: 400;
    font-size: 1.4rem;
    padding: 0 .3rem;
    line-height: 1;
    color: var(--title-color);
    border-radius: .3rem;
    background-color: transparent;
    border: .1rem solid transparent;
}

.btn-product-icon {
    color: var(--primary-color1);
    border-color: var(--primary-color1);
    background-color: #ffffff;
    border: 0.1rem solid var(--primary-color1);
}




.form-control:focus {
    border-color: var(--title-color);
}

.widget-collapsible .widget-title a {
    position: relative;
    display: block;
    color: var(--primary-color1);
    text-decoration: none;
    padding-right: 3rem;
}

#filter-price-range {
    color: var(--primary-color1);
}

.noUi-connect {
    background: var(--title-color);
}
.noUi-handle {
    border: .1rem solid var(--title-color) !important;
    border-radius: 50%;
    background: #FFF;
    cursor: default;
}

.sidebar-shop .custom-control-label {
    font-weight: 400;
    color: var(--title-color);
    cursor: pointer;
}

.filter-items-count .item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 50%;
    min-width: 2.5rem;
    height: 2rem;
    margin-top: -1rem;
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 1;
    border-radius: .6rem;
    color: var(--title-color);
    background-color: #fdeacc;
}


.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-color: var(--primary-color1);
}


.table.table-summary .summary-total td {
    color: var(--primary-color1);
}

.table .total-col {
    color: var(--primary-color1);
}


.table.table-summary thead th, .table.table-summary .summary-subtotal td {
    color: var(--title-color);
    font-weight: 400;
    font-size: 1.6rem;
}


.table.table-summary tbody td {
    padding: 0;
    height: 70px;
    border-bottom: .1rem solid #44a5ac7a;
}

.table.table-summary {
    line-height: 1.43;
    color: var(--title-color);
    border: none;
    margin-bottom: 0;
}

label {
    color: var(--title-color);
    font-weight: 300;
    font-size: 1.4rem;
    margin: 0 0 1.1rem;
}

.owl-full .owl-dots .owl-dot span: hover{
    color: var(--primary-color1);
}

::selection {
    background-color: var(--primary-color1);
}

.header-top a:hover, .header-top a:focus {
    color: #ffffff;
}
.breadcrumb-nav {
    margin-bottom: 4rem;
    border-bottom: 0rem solid rgba(235, 235, 235, 0.55);
}

.about-images img {
    width: 70%;
}

.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-color1);
}

.text-primary {
    color: var(--title-color) !important;
}

a:hover{
    color: var(--title-color)
}

.header-4 .wishlist-link:not(:hover):not(:focus), .header-4 .search-toggle:not(:hover):not(:focus), .header-4 .mobile-menu-toggler {
    color: var(--title-color);
}

.footer a:hover, .footer a:focus {
    color: #ffffffff !important;
}

.menu-vertical > li:hover > a, .menu-vertical > li.show > a, .menu-vertical > li.active > a {
    color: var(--primary-color1) !important;
}

title-link:hover, .title-link:focus {
    box-shadow: 0 1px 0 0 var(--title-color) !important;
}

.title-link:hover, .title-link:focus {
    box-shadow: 0 1px 0 0 #004463;
}


.header-4 .header-middle {
    border-bottom: none;
    padding: 0px;
    /*margin-top: -20px;*/
    /*margin-bottom:-20px;*/
    /*margin-right:-20px;*/
    /*margin-left:-20px;*/
}


.footer-logo {
    margin-bottom: 2rem;
    margin-top: -.8rem;
    width: 30%;
}

.nav.nav-pills-mobile .nav-link.active, .nav.nav-pills-mobile .nav-link:hover, .nav.nav-pills-mobile .nav-link:focus {
    color: var(--primary-color1);
    border-bottom-color: var(--primary-color1);
}

.mobile-menu-light .mobile-menu li a:not(:hover):not(:focus) {
    color: var(--title-color);
}

.mobile-menu-light .mobile-search .form-control {
    color: var(--title-color);
    background-color: #fff;
    border-color: var(--title-color);
}
.mobile-menu-light .mobile-cats-menu li a:not(:hover):not(:focus) {
    color: var(--title-color);
}

.mobile-menu-light .nav.nav-pills-mobile .nav-link:not(:hover):not(:focus):not(.active) {
    color: var(--title-color);
}

.mobile-menu-light .social-icon {
    color: var(--primary-color1);
    border-color: var(--primary-color1);
}

.cat-block-title {
    color: var(--title-color);
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: -.01em;
    margin-top: 2rem;
    margin-bottom: 0;
}

.product-title {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--title-color);
    margin-bottom: .2rem;
}

/* ── VARIANTES ── */
    .details-filter-row.details-row-variants { margin-bottom: 1.5rem; }
    .details-filter-row label { font-weight: 600; margin-bottom: .8rem; display: block; }
    .product-nav-variants { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
    .product-nav-variants a {
        position: relative; border: 2px solid #ebebeb; border-radius: 4px;
        padding: .4rem .8rem; text-decoration: none; color: #333; transition: all .3s;
        min-width: 50px; text-align: center; display: flex; align-items: center;
        justify-content: center; gap: .5rem;
    }
    .product-nav-variants a.active  { border-color: var(--theme-color, #336699); }
    .product-nav-variants a.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
    .color-swatch-small {
        width: 20px; height: 20px; border-radius: 50%;
        border: 2px solid #dee2e6; display: inline-block; vertical-align: middle;
    }
    .product-nav-variants a.active .color-swatch-small { border-color: white; }
    .select-custom-variant { position: relative; display: inline-block; width: 100%; max-width: 300px; }
    .select-custom-variant select {
        width: 100%; padding: .8rem 2.5rem .8rem 1rem; border: 1px solid #ebebeb;
        border-radius: 0; background: #fff; font-size: 14px; color: #333;
        appearance: none; cursor: pointer;
    }
    .select-custom-variant::after {
        content: '\f107'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
        position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none;
    }
    .variation-error { color: #dc3545; font-size: 13px; margin-top: .5rem; display: none; }

    /* ── STOCK BADGE ── */
    .stock-badge {
        display: inline-flex; align-items: center; gap: .4rem;
        padding: .35rem .9rem; border-radius: 20px; font-size: 13px;
        font-weight: 600; margin-bottom: .8rem;
    }
    .stock-badge.in-stock  { background: #d4edda; color: #155724; margin-bottom:20px; }
    .stock-badge.out-stock { background: #f8d7da; color: #721c24; }
    .stock-badge.low-stock { background: #fff3cd; color: #856404; }

    /* ── URGENCE STOCK ── */
    .urgence-stock {
        background: linear-gradient(135deg, #ff6b35, #f7c59f);
        color: white; border-radius: 8px; padding: .6rem 1rem;
        font-size: .85rem; font-weight: 700; margin-bottom: 1rem;
        display: flex; align-items: center; gap: .5rem;
        animation: pulse-urgence 2s ease-in-out infinite;
    }
    @keyframes pulse-urgence {
        0%,100% { opacity:1; transform:scale(1); }
        50%      { opacity:.9; transform:scale(1.01); }
    }

    /* ── PRIX TTC ── */
    .prix-ttc-label { font-size: .8rem; color: #999; margin-top: .2rem; display: block; }
    .prix-ttc-label strong { color: #555; }

    /* ── GALERIE VIDÉO ── */
    .gallery-video-thumb { position: relative; cursor: pointer; border: 2px solid #ebebeb; border-radius: 4px; overflow: hidden; }
    .gallery-video-thumb .video-play-overlay {
        position: absolute; inset: 0; background: rgba(0,0,0,.35);
        display: flex; align-items: center; justify-content: center;
    }
    .gallery-video-thumb .video-play-overlay i { color: white; font-size: 1.6rem; }
    .video-modal-wrap { display: none; }
    .video-modal-wrap.open {
        display: flex; position: fixed; inset: 0; z-index: 9999;
        background: rgba(0,0,0,.85); align-items: center; justify-content: center; padding: 1rem;
    }
    .video-modal-inner { width: 100%; max-width: 800px; position: relative; }
    .video-modal-close { position: absolute; top: -40px; right: 0; color: white; font-size: 1.4rem; cursor: pointer; background: none; border: none; }
    .video-modal-inner iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 8px; }

    /* ── UPSELL ── */
    .upsell-section { background: #f8f9fa; border-radius: 12px; padding: 1.5rem; margin: 2rem 0; }
    .upsell-title {
        font-size: 1rem; font-weight: 700; color: #333;
        margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem;
    }
    .upsell-title::before { content: ''; display: block; width: 4px; height: 18px; background: var(--theme-color, #336699); border-radius: 2px; }
    .upsell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .upsell-card {
        background: white; border-radius: 10px; overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s;
        text-decoration: none; color: inherit; display: block;
    }
    .upsell-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); color: inherit; }
    .upsell-card img { width: 100%; height: 140px; object-fit: cover; }
    .upsell-card-body { padding: .7rem; }
    .upsell-card-name { font-size: .82rem; font-weight: 600; color: #333; margin-bottom: .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .upsell-card-price { font-size: .88rem; font-weight: 700; color: var(--theme-color, #336699); }
    @media (max-width: 576px) { .upsell-grid { grid-template-columns: repeat(2,1fr); } }

    /* ── TABLEAU CARACTÉRISTIQUES ── */
    .carac-table {
        width: 100%; border-collapse: collapse;
        font-size: .88rem; margin-top: 1.5rem;
        border-radius: 10px; overflow: hidden;
        box-shadow: 0 1px 6px rgba(0,0,0,.06);
    }
    .carac-table caption {
        font-weight: 500;
        font-size: 16px;
        color: var(--primary-color);
        text-align: left;
        padding: .6rem 0 .8rem;
        caption-side: top;
    }


    .carac-table th {
        background: #f4f6f8;
        color: #555;
        font-weight: 600;
        font-size: 12px;
        padding: .7rem 1rem;
        text-align: left;
        width: 35%;
        border-bottom: 1px solid #e9ecef;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .carac-table td {
        padding: .7rem 1rem; color: #333;
        border-bottom: 1px solid #e9ecef;
        vertical-align: top;
    }
    .carac-table tr:last-child th,
    .carac-table tr:last-child td { border-bottom: none; }
    .carac-table tr:nth-child(even) td { background: #fafbfc; }
    
    .carac-val-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        background: #eef2ff;
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 500;
        padding: 0.5rem .8rem;
        border-radius: 100px;
            margin: .2rem 1rem 0 0;
    }
    .carac-color-dot {
        width: 12px; height: 12px; border-radius: 50%;
        border: 1.5px solid rgba(0,0,0,.1); flex-shrink: 0;
    }

    /* ── AVIS — résumé et filtres ── */
    .avis-summary {
        display: flex; align-items: center; gap: 2rem;
        padding: 1.5rem; background: #f8f9fa; border-radius: 12px; margin-bottom: 1.5rem;
    }
    .badge-primary {
    color: #fff;
    background-color: var(--primary-color1);
}
    .avis-score-big { text-align: center; flex-shrink: 0; }
    .avis-score-big .score { font-size: 3.5rem; font-weight: 800; color: #333; line-height: 1; }
    .avis-score-big .score-total { font-size: 12px; color: #999; margin-top: .3rem; }
    .avis-bars { flex: 1; }
    .avis-bar-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; font-size: .82rem; }
    .avis-bar-label { width: 50px; flex-shrink: 0; color: #666; font-size:12px; }
    .avis-bar-track { flex: 1; height: 8px; background: #e9ecef; border-radius: 4px; overflow: hidden; }
    .avis-bar-fill  { height: 100%; background: var(--primary-color1); border-radius: 4px; }
    .avis-bar-count { width: 30px; text-align: right; color: #999; font-size:12px; }
    .avis-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
    .avis-filter-btn {
        padding: .3rem .8rem; border: 1.5px solid #dee2e6; border-radius: 20px;
        font-size: .8rem; text-decoration: none; background: white; color: #555; transition: all .2s;
    }
    .avis-filter-btn:hover, .avis-filter-btn.active { border-color: #ffc107; background: #fff9e6; color: #333; }
    .avis-filter-btn i { color: #ffc107; }

    /* ── ÉTOILES FORMULAIRE AVIS ── */
    .star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .3rem; margin-bottom: 1rem; }
    .star-rating input { display: none; }
    .star-rating label { font-size: 1.8rem; color: #dee2e6; cursor: pointer; transition: color .15s; }
    .star-rating label:hover,
    .star-rating label:hover ~ label,
    .star-rating input:checked ~ label { color: #ffc107; }


@media screen and (max-width: 991px) {
    
    .header-4 .top-menu {
        text-transform: capitalize;
        display: none;
    }

    .header-4 .header-middle {
        border-bottom: none;
        margin-right:20px;
        margin-left:0px;
    }

    .footer .footer-middle {
        border-top: none;
        padding: 5rem 1rem 3.5rem;
    }
}
 


@media (max-width: 768px) {
    
    .sticky-bar{
        display: block;
        width: 100%;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 500;
        padding-top: 1rem;
        padding-bottom: 1rem;
        background-color: #fff;
        box-shadow: -15px 0 43px rgba(51, 51, 51, 0.15);
    }

    /* Supprimer totalement la colonne gauche */
    .sticky-bar .col-6:first-child{
        display:none !important;
    }

    /* Colonne droite pleine largeur */
    .sticky-bar .col-6:last-child{
        flex:0 0 100% !important;
        max-width:100% !important;
        display:flex;
        align-items:center;
        justify-content: space-evenly !important;
        padding:8px 12px;
    }

    /* Cacher quantité */
    .sticky-bar .product-details-quantity{
        display:none !important;
    }

    /* Prix */
    .sticky-bar .product-price{
        margin:0 !important;
        font-size:20px;
        font-weight:700;
        white-space:nowrap;
    }

    /* Bouton */
    .sticky-bar .product-details-action{
        margin:0 !important;
    }

    .sticky-bar .btn-product{
        margin:0 !important;
        min-width:180px;
        height:42px;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .product-details {
        margin-bottom: 2rem;
        margin-left: 1rem;
    }

    .details-filter-row label {
        width: 20%;
        font-size: 1.4rem;
        color: var(--title-color);
    }
    
    .product-gallery-vertical{
        display:flex;
        flex-direction:column;
    }

    #product-zoom-gallery{
        order:2;

        display:flex !important;
        flex-direction:row !important;

        overflow-x:auto;
        overflow-y:hidden;

        white-space:nowrap;

        gap:8px;

        margin-top:10px;
        padding-bottom:5px;
    }

    #product-zoom-gallery .product-gallery-item{
        flex:0 0 auto;
        width:70px;
        height:90px;
    }

    #product-zoom-gallery .product-gallery-item img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .intro-slide {
        height: 130px;
    }

    .mb-6 {
        margin-bottom: 3rem !important;
    }
}