/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    cursor: pointer;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
}

.btn.btn-secondary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary) !important;
}

/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.nav-bar .categories-bars .categories-bars-item {
    padding: 5px 15px;
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
    display: flex;
    justify-content: space-between;
    transition: 0.5s;
}

.nav-bar .categories-bars .categories-bars-item a,
.nav-bar .categories-bars .categories-bars-item span {
    color: var(--bs-dark);
    transition: 0.5s;
}

.nav-bar .categories-bars .categories-bars-item:hover {
    background: var(--bs-primary);
}

.nav-bar .categories-bars .categories-bars-item:hover a,
.nav-bar .categories-bars .categories-bars-item:hover span {
    color: var(--bs-white);
}

.nav-bar .navbar.navbar-light {
    padding: 0 !important;
}

.nav-bar .navbar .navbar-nav .nav-link {
    padding: 18px 15px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .nav-bar .navbar .navbar-nav .nav-link {
        padding: 8px 0px;
    }
    
    /* Corrections pour le logo mobile */
    .navbar-brand.d-block.d-lg-none {
        display: flex !important;
        align-items: center;
        margin-right: auto;
    }
    
    .navbar-brand.d-block.d-lg-none h1 {
        font-size: 1.3rem;
        margin: 0;
    }
    
    .navbar-toggler {
        margin-left: auto;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 5px 15px;
}

#allCat {
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 51px; 
    z-index: 999; 
    background: var(--bs-light);
}

.nav-bar .navbar-toggler {
    border-radius: 5px !important; 
    box-shadow: none !important;
}

/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel.owl-carousel .owl-nav .owl-prev,
.header-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 87%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
}

.header-carousel.owl-carousel .owl-nav .owl-prev {
    right: 130px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-next {
    right: 60px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-prev:hover,
.header-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.carousel .carousel-header-banner {
    position: relative;
}

.carousel .carousel-banner-offer {
    position: absolute;
    top: 20px; 
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel .carousel-banner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
/*** Carousel Header End ***/


/*** Page Header start ***/
.page-header {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/*** Page Header end ***/


/*** Products Start ***/
.product .product-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.product .product-item .product-item-inner {
    height: 100%;
}

.product .product-item .product-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.product .product-item:hover .product-item-add {
    background: var(--bs-white);
    margin-bottom: -124px;
    opacity: 1;
}
.product .product-item:hover .product-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.product .product-item .product-item-inner .product-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.product .product-item .product-item-inner .product-item-inner-item .product-new,
.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    position: absolute;
    width: 60px; 
    height: 60px;
    border-radius: 60px; 
    top: 20px; 
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.product .product-item .product-item-inner .product-item-inner-item .product-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner img {
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner img {
    transform: scale(1.1);
}

.product .product-item .product-item-inner .product-item-inner-item .product-details {
    position: absolute;
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.product .product-item .product-item-inner .product-item-inner-item .product-details a i {
    width: 50px; 
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner .product-item-inner-item .product-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item:hover .product-item-inner .product-details {
    opacity: 1;
}

.product .tab-class .nav .nav-item a.active {
    background: var(--bs-primary) !important;
}

.product .tab-class .nav .nav-item a.active span {
    color: var(--bs-white) !important;
}
/*** Product End ***/


/*** ProductList Categories Start ***/
.productList .productList-carousel {
    height: 215px !important;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    position: relative;
    width: calc(100% - 1px);
    transition: 0.5s;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    margin-bottom: 75px;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item:hover {
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.productList .productList-carousel .owl-nav .owl-prev,
.productList .productList-carousel .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.productList .productList-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0px;
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
    opacity: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-next {
    opacity: 1;
}
/*** ProductList Categories End ***/



/*** bestseller Products Start ***/
.products .products-mini .products-mini-item {
    position: relative;
    border-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.products .products-mini .products-mini-item .products-mini-img {
 position: relative;
 overflow: hidden;
}

.products .products-mini .products-mini-item .products-mini-img img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img img {
    border-bottom-left-radius: 0 !important;
    transform: scale(1.3);
}

.products .products-mini .products-mini-item .products-mini-img .products-mini-icon {
    position: absolute;
    width: 50px; 
    height: 50px; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon {
    opacity: 1;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon:hover {
    background: var(--bs-secondary) !important;
}

.products .products-mini .products-mini-item .products-mini-add {
    position: absolute;
    bottom: 0;
    left: -1px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bs-white);
    transition: 0.5s;
    z-index: 9;
    opacity: 0;
}

.products .products-mini .products-mini-item:hover .products-mini-add {
    opacity: 1;
    margin-bottom: -75px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*** bestseller Products End ***/

/*** Pagination Start ***/
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Pagination End ***/

/*** Shop Page Start ***/
.shop .product-categories .categories-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.shop .product-categories .categories-item a {
    transition: 0.5s;
}

.shop .product-categories .categories-item a:hover {
    color: var(--bs-primary) !important;
}

.shop .product-color .product-color-item {
    display: flex;
    padding: 10px 0;
}

.shop .product-color .product-color-item a {
    transition: 0.5s;
}

.shop .product-color .product-color-item a:hover {
    color: var(--bs-secondary);
}

.shop .price {
    padding: 10px 0;
}

.shop .additional-product .additional-product-item {
    padding: 10px 0;
}

.shop .featured-product .featured-product-item {
    display: flex;
    align-items: center;
    justify-content: start;
}

.shop .product-tags .product-tags-items a {
    display: inline-block !important;
    background: var(--bs-white);
    color: var(--bs-dark);
    transition: 0.5;
}

.shop .product-tags .product-tags-items a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** Shop Page End ***/


/*** Single Products Start ***/
.single-product .owl-nav .owl-prev,
.single-product .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -13%;
    font-size: 22px;
    color: var(--bs-primary);
}

.single-product .owl-nav .owl-prev {
    left: 0;
}

.single-product .owl-nav .owl-next {
    right: 0 !important;
}


.single-product .single-carousel .owl-dots {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot img {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin-right: 15px;
    border: 2px solid var(--bs-primary);
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot.active img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 4px solid var(--bs-secondary);
}














.related-product .related-carousel .related-item {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 125px;
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 99;
}

.related-product .related-carousel .related-item:hover .related-item-add {
    background: var(--bs-white);
    margin-bottom: -125px;
    opacity: 1;
}

.related-product .related-carousel .related-item:hover .related-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new,
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    position: absolute;
    width: 60px; 
    height: 60px;
    border-radius: 60px; 
    top: 20px; 
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center; 
    z-index: 5;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner img {
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner img {
    transform: scale(1.1);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details {
    position: absolute;
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details a i {
    width: 50px; 
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-item-inner-item .related-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-details {
    opacity: 1;
}


.related-product .owl-nav .owl-prev,
.related-product .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .owl-nav .owl-prev {
    left: 0;
}

.related-product .owl-nav .owl-next {
    right: 0;
}

.related-product .owl-nav .owl-prev:hover,
.related-product .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
}
/*** Single Products End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-primary) !important;
}
/*** copyright end ***/

/*** ========== NOUVEAUX STYLES XSPEED RDC ========== ***/

/* Couleurs XSPEED RDC */
:root {
    --xspeed-blue: #1a237e;
    --xspeed-red: #d32f2f;
    --xspeed-blue-light: #283593;
    --xspeed-red-light: #f44336;
    --xspeed-gradient: linear-gradient(135deg, #d32f2f 0%, #1a237e 100%);
    --xspeed-gradient-reverse: linear-gradient(135deg, #1a237e 0%, #d32f2f 100%);
}

/* Badges XSPEED */
.badge-xspeed {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badges pour slogans */
.slogan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slogan-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,35,126,0.15);
}

.slogan-badge .slogan-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--xspeed-gradient);
    color: white;
}

.slogan-badge .slogan-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.slogan-badge.blue-slogan {
    border-left: 3px solid var(--xspeed-blue);
}

.slogan-badge.blue-slogan .slogan-text {
    color: var(--xspeed-blue);
}

.slogan-badge.red-slogan {
    border-left: 3px solid var(--xspeed-red);
}

.slogan-badge.red-slogan .slogan-text {
    color: var(--xspeed-red);
}

.slogan-badge.gradient-slogan {
    border-left: 3px solid #9c27b0;
}

.slogan-badge.gradient-slogan .slogan-text {
    background: var(--xspeed-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*** Styles pour les filtres ***/
.filter-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    border-width: 2px !important;
    min-height: 80px;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.filter-btn.active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.filter-btn span.fw-medium {
    font-weight: 600 !important;
    transition: color 0.3s ease;
}

.filter-btn i {
    transition: color 0.3s ease;
}

.filter-btn .badge {
    transition: all 0.3s ease;
    font-weight: 700;
}

/*** Styles pour les cartes produits ***/
.product-card-3d {
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
}

.product-card-3d:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.1);
    border-color: #1a237e !important;
}

.product-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--xspeed-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.product-card-3d:hover::before {
    transform: scaleX(1);
}

/* En-tête des cartes */
.product-header {
    overflow: hidden;
}

.product-image-placeholder {
    position: relative;
    transition: all 0.5s ease;
}

.product-card-3d:hover .product-image-placeholder {
    transform: scale(1.05);
}

/* Badges flottants */
.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.best-seller-badge {
    animation: pulseBadge 2s infinite;
    padding: 10px 20px;
}

.best-seller-badge .badge-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.best-seller-badge .sparkles {
    display: flex;
    gap: 2px;
    animation: sparkle 1.5s infinite;
}

/* Badges de catégorie */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.category-wifi {
    background: var(--xspeed-blue);
    color: white;
}

.category-particulier {
    background: var(--xspeed-red);
    color: white;
}

.category-entreprise {
    background: #27ae60;
    color: white;
}

/* Prix */
.price-container {
    position: relative;
}

.price-main {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--xspeed-blue);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--xspeed-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-amount.highlight {
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(26, 35, 126, 0.2);
}

.price-comparison {
    margin-bottom: 10px;
}

.old-price {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.old-price del {
    font-size: 1.2rem;
    color: #999;
}

.discount-percent {
    background: var(--xspeed-red);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.savings-badge {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Caractéristiques */
.features-list {
    background: rgba(26, 35, 126, 0.02);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--xspeed-blue);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--xspeed-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.product-card-3d:hover .feature-icon {
    transform: rotate(360deg);
    background: var(--xspeed-red);
}

.feature-icon.premium {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--xspeed-blue) 0%, #283593 100%);
}

.feature-text {
    flex: 1;
    font-size: 0.85rem;
}

/* Barre de progression des ventes */
.sales-progress .progress {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(26, 35, 126, 0.1);
}

.progress-bar {
    border-radius: 10px;
    background: var(--xspeed-gradient);
    transition: width 1s ease;
}

/* Boutons d'action */
.btn-action-hover {
    position: relative;
    overflow: hidden;
    border: none;
    background: linear-gradient(135deg, var(--xspeed-blue) 0%, var(--xspeed-blue-light) 100%);
    transition: all 0.4s ease;
}

.btn-action-hover .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-action-hover .btn-hover {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--xspeed-red);
    color: white;
    transition: top 0.3s ease;
}

.btn-action-hover:hover .btn-content {
    transform: translateY(-100%);
}

.btn-action-hover:hover .btn-hover {
    top: 0;
}

/* Bouton premium */
.btn-buy-now {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--xspeed-blue) 0%, #283593 100%);
    border: none;
    padding: 15px 30px !important;
}

.btn-buy-now .btn-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.btn-buy-now .btn-icon {
    font-size: 1.2rem;
}

.btn-buy-now .btn-text-container {
    flex: 1;
    text-align: center;
}

.btn-buy-now .btn-main-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-buy-now .btn-sub-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.btn-buy-now .btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-buy-now:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-buy-now .btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--xspeed-red) 0%, var(--xspeed-red-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: left 0.3s ease;
}

.btn-buy-now:hover .btn-hover-effect {
    left: 0;
}

/* Actions secondaires */
.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(26, 35, 126, 0.2);
    background: white;
    color: var(--xspeed-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-action:hover {
    background: var(--xspeed-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

.btn-action .action-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--xspeed-blue);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.btn-action:hover .action-tooltip {
    opacity: 1;
    visibility: visible;
}

.btn-action.premium {
    flex-direction: column;
    width: auto;
    height: auto;
    padding: 10px;
    border-radius: 15px;
    background: rgba(26, 35, 126, 0.05);
}

.btn-action.premium .action-icon {
    position: relative;
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.btn-action.premium .action-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.btn-action.premium .action-icon .active {
    opacity: 0;
}

.btn-action.premium.favorite-btn:hover .action-icon .far {
    opacity: 0;
}

.btn-action.premium.favorite-btn:hover .action-icon .active {
    opacity: 1;
    color: var(--xspeed-red);
}

.btn-action.premium .action-label {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Timer */
.offer-timer {
    background: rgba(26, 35, 126, 0.1);
    padding: 10px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: timerPulse 2s infinite;
}

.timer-icon {
    color: var(--xspeed-red);
    font-size: 1.2rem;
}

.timer-content {
    display: flex;
    flex-direction: column;
}

.timer-label {
    font-size: 0.7rem;
    color: #666;
}

.timer-display {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--xspeed-blue);
    font-size: 1.1rem;
}

/* Garanties */
.guarantees {
    background: rgba(26, 35, 126, 0.02);
    border-radius: 10px;
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.guarantee-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.guarantee-item small {
    font-size: 0.7rem;
    text-align: center;
}

/* Compteur de ventes */
.sales-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card-3d:hover .sales-counter {
    opacity: 1;
    transform: translateY(0);
}

.sales-icon {
    color: #27ae60;
}

.sales-info {
    display: flex;
    flex-direction: column;
}

.sales-count {
    font-weight: 700;
    font-size: 1.1rem;
}

.sales-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Titre avec badge */
.title-with-badge {
    position: relative;
    display: inline-block;
}

.badge-unlimited {
    position: absolute;
    top: -10px;
    right: -30px;
    background: linear-gradient(135deg, #ff9f43 0%, #ff6b6b 100%);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(15deg);
    animation: badgeShake 3s infinite;
}

/* Filtres améliorés */
.offer-filter-btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 2px solid transparent !important;
}

.offer-filter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.15) !important;
}

.offer-filter-btn.active {
    background: var(--xspeed-gradient) !important;
    border-color: var(--xspeed-blue) !important;
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.2) !important;
}

/* Dégradés */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--xspeed-blue) 0%, var(--xspeed-blue-light) 100%) !important;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, var(--xspeed-blue) 0%, #283593 100%) !important;
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--xspeed-blue) 0%, #283593 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations WiFi */
.wifi-animation {
    position: relative;
}

.wifi-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.wifi-rings::before,
.wifi-rings::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: wifiPulse 2s infinite;
}

.wifi-rings::before {
    width: 80px;
    height: 80px;
    animation-delay: 0.5s;
}

.wifi-rings::after {
    width: 60px;
    height: 60px;
    animation-delay: 1s;
}

/* Animation horloge */
.clock-animation {
    position: relative;
}

.clock-hands {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}

.clock-hands::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 15px;
    background: white;
    transform-origin: bottom center;
    animation: clockHand 60s linear infinite;
}

/* Effet de brillance */
.shine-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: transform 0.6s ease;
}

.product-card-3d:hover .shine-effect {
    transform: rotate(30deg) translateX(100%);
}

/* Bouton Quick View */
.quick-view-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: var(--xspeed-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 0;
    transform: translateX(-20px);
}

.product-card-3d:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(0);
}

.quick-view-btn:hover {
    background: var(--xspeed-blue);
    color: white;
    transform: scale(1.1);
}

.quick-view-btn.premium-view {
    width: auto;
    padding: 8px 15px;
    border-radius: 25px;
}

.premium-view .view-text {
    margin-left: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Indicateur de popularité */
.popular-indicator {
    position: absolute;
    top: 20px;
    left: -40px;
    background: var(--xspeed-red);
    color: white;
    padding: 5px 40px 5px 15px;
    border-radius: 0 25px 25px 0;
    transform: rotate(-90deg);
    transform-origin: left top;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fire-icon {
    animation: firePulse 1s infinite;
}

/*** Animations ***/
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(39, 174, 96, 0.6); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes wifiPulse {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes clockHand {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes firePulse {
    0%, 100% { color: #ff6b6b; }
    50% { color: #ff9f43; }
}

@keyframes timerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26, 35, 126, 0.1); }
    50% { box-shadow: 0 0 0 10px rgba(26, 35, 126, 0); }
}

@keyframes badgeShake {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(20deg); }
}

@keyframes iconFloat {
    0% { transform: translateY(0) rotate(0); }
    100% { transform: translateY(-5px) rotate(360deg); }
}

@keyframes buttonSpinner {
    to { transform: rotate(360deg); }
}

/*** Système de notifications ***/
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.notification-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.notification-warning {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
}

.notification-info {
    background: linear-gradient(135deg, var(--xspeed-blue) 0%, var(--xspeed-blue-light) 100%);
}

/*** Compteur de comparaison ***/
.compare-counter {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    animation: slideInUp 0.5s ease;
}

.compare-counter i {
    background: var(--xspeed-blue);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-counter .count {
    font-weight: 700;
    color: var(--xspeed-blue);
    font-size: 1.2rem;
}

.compare-counter .btn-compare-now {
    background: var(--xspeed-red);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.compare-counter .btn-compare-now:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/*** État hover amélioré ***/
.product-card-3d.hovered {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px rgba(26, 35, 126, 0.2);
}

.product-card-3d.hovered .feature-icon {
    animation: iconFloat 0.5s ease forwards;
}

/*** Tooltips personnalisés ***/
.tooltip-custom {
    --bs-tooltip-bg: var(--xspeed-blue);
    --bs-tooltip-color: white;
}

.tooltip-custom .tooltip-inner {
    background: var(--xspeed-blue);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.tooltip-custom .tooltip-arrow::before {
    border-top-color: var(--xspeed-blue) !important;
}

/*** Animation de chargement pour les boutons ***/
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: buttonSpinner 0.6s linear infinite;
}

/* ==================== CORRECTIONS MOBILE ==================== */

/* Afficher le logo en mobile */
.navbar-brand.d-block.d-lg-none {
    display: flex !important;
    align-items: center;
    margin-right: 0;
}

/* Améliorer l'affichage mobile du menu */
@media (max-width: 991.98px) {
    .topbar {
        display: none !important;
    }
    
    .nav-bar .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-collapse {
        background: var(--xspeed-blue);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        margin: 5px 0;
        display: block;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    /* Corriger les boutons dans le menu mobile */
    .navbar .btn {
        margin: 10px 0 !important;
        width: 100%;
        text-align: center;
    }
    
    /* Ajuster le carousel pour mobile */
    .carousel-content h1 {
        font-size: 1.5rem !important;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
    }
    
    .carousel-content .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem;
    }
    
    /* Ajuster les cartes services */
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    /* Ajuster les cartes produits */
    .product-card-3d {
        margin-bottom: 1.5rem;
    }
    
    .features-list {
        max-height: none;
    }
    
    /* Corriger les filtres sur mobile */
    #filter-buttons .col-6 {
        margin-bottom: 10px;
    }
    
    /* Ajuster les modals pour mobile */
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    /* Corriger l'affichage du footer sur mobile */
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    /* Ajuster les boutons d'action */
    .action-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-action {
        margin: 5px;
    }
}

/* Corrections spécifiques pour très petits écrans */
@media (max-width: 576px) {
    .navbar-brand.d-block.d-lg-none h1 {
        font-size: 1.3rem;
    }
    
    .logo-header {
        height: 30px;
    }
    
    .carousel-content {
        padding: 1rem !important;
    }
    
    .price-amount.highlight {
        font-size: 1.8rem;
    }
    
    .btn-buy-now {
        padding: 10px 15px !important;
        font-size: 0.9rem;
    }
    
    /* Ajuster le menu burger */
    .navbar-toggler {
        padding: 5px 10px;
        font-size: 1.2rem;
    }
    
    /* Corriger les sections du carousel */
    .h-50 {
        height: auto !important;
        min-height: 200px;
    }
    
    .border-start, .border-top {
        border: none !important;
    }
    
    /* Ajuster l'espacement des cartes */
    .col-md-6, .col-lg-4, .col-xl-3 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}

/* ==================== ANIMATIONS RÉDUITES POUR MOBILE ==================== */

/* Désactiver certaines animations sur mobile */
@media (max-width: 768px) {
    .product-card-3d:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .floating-badge,
    .badge-unlimited,
    .wifi-rings,
    .clock-hands,
    .fire-icon,
    .sparkles {
        animation: none !important;
    }
    
    .shine-effect {
        display: none;
    }
    
    .service-card:hover .icon-wrapper {
        transform: scale(1.05);
    }
}

/* ==================== CORRECTIONS BOUTONS ==================== */

/* S'assurer que tous les boutons sont cliquables */
button, 
.btn,
[role="button"],
.navbar-toggler {
    cursor: pointer !important;
}

/* Désactiver le zoom sur iOS pour les inputs */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* S'assurer que les liens sont tappables sur mobile */
a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Corriger les boutons de filtres */
.filter-btn {
    min-height: 80px;
}

/* Styles pour le logo mobile amélioré */
.navbar-brand-mobile {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.navbar-brand-mobile .logo-gradient {
    font-size: 1.4rem;
    margin-left: 10px;
}

.logo-header {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-header:hover {
    transform: scale(1.05);
}

/* Responsive pour le logo */
@media (max-width: 768px) {
    .logo-header {
        height: 35px;
    }
    
    .navbar-brand-mobile .logo-gradient {
        font-size: 1.5rem;
    }
    
    /* Afficher le logo en mobile */
    .navbar-brand.d-block.d-lg-none {
        display: flex !important;
        align-items: center;
    }
}

/* Améliorer l'accessibilité tactile */
@media (hover: none) and (pointer: coarse) {
    .product-card-3d:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Activer les états actifs pour mobile */
    .product-card-3d:active {
        transform: scale(0.98);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}