/* =========================== THÈME SOMBRE GLOBAL =========================== */
body {
    background: #0c0c0c;
    color: #e0e0e0;
}

.turbolinks-progress-bar {
    height: 3px;
    background-color: rgba(255, 2, 83, 0.25);
}

a {
    color: #ff0253;
}

a:hover,
[contenteditable].form-control:focus,
[type=email].form-control:focus,
[type=password].form-control:focus,
[type=tel].form-control:focus,
[type=text].form-control:focus,
input.form-control:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=text]:focus,
textarea.form-control:focus,
textarea:focus {
    color: #ff0253;
}

[contenteditable].form-control:focus,
[type=email].form-control:focus,
[type=password].form-control:focus,
[type=tel].form-control:focus,
[type=text].form-control:focus,
input.form-control:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=text]:focus,
textarea.form-control:focus,
textarea:focus,
select.form-control:focus,
select:focus {
    box-shadow: inset 0 -2px 0 #ff0253;
}

/* =========================== CARTES PRODUITS =========================== */
.image-card {
    position: relative;
    height: 300px;
    display: block;
    overflow: hidden;
    background: #000;
    text-decoration: none;
}

.image-card .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paiement-container .custom-radio .custom-control-label::before,
.paiement-container .custom-radio .custom-control-label::after {
    left: -30px;
}

.paiement-container .custom-control {
    padding-left: 28px;
}

/* Boutons personnalisés */
.custom-btn {
    border: 1px solid #ff0253;
    color: #ff0253;
    background-color: #1a1a1a;
}

.custom-btn:hover {
    background-color: #ff0253;
    color: #fff;
    border-color: #ff0253;
}

.custom-btn.active,
.custom-btn.active:hover {
    background-color: #ff0253;
    color: #fff;
    border-color: #ff0253;
}

.form-check input[type="radio"] {
    top: 1.2px;
    position: relative;
}

.form-check .form-label {
    cursor: pointer;
    color: #e0e0e0;
}

.form-label.selected {
    color: #ff0253;
}

.form-label.selected input[type="radio"] {
    accent-color: #ff0253;
}

.form-label input[type="radio"] {
    cursor: pointer;
}

.form-label {
    transition: color 0.2s ease;
}

.form-label:hover {
    color: #ff0253;
    cursor: pointer;
}

.form-check-inline {
    margin-right: 1.5rem;
}

.form-label input[type="radio"]:focus {
    outline: none;
    box-shadow: none;
}

.form-label input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Carte produit minimaliste */
.product-minimal {
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.product-minimal:hover {
    box-shadow: 0 8px 20px rgba(255, 2, 83, 0.2);
    transform: translateY(-3px);
    border-color: #ff0253;
}

.img-wrapper {
    background: #0f0f0f;
    flex-shrink: 0;
}

.img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0e0e0;
}

.price {
    font-weight: 600;
    color: #ff0253;
    font-size: 0.95rem;
}

.btn-view {
    font-size: 0.8rem;
    padding: 5px 10px;
    background: #2a2a2a;
    border-radius: 6px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.2s ease;
}

.btn-view:hover {
    background: #ff0253;
    color: #fff;
}

.btn-disabled {
    font-size: 0.8rem;
    color: #666;
    background: #070707;
    padding: 5px 10px;
    border-radius: 6px;
}

.stock-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4d4d;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 2;
}

.product-minimal.out-of-stock {
    opacity: 0.7;
    filter: grayscale(60%);
}

@media (max-width: 576px) {
    .img-wrapper img {
        height: 180px;
    }
}

/* Section détail produit */
.product-detail {
    background: #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .product-detail {
        padding: 1rem;
    }
}

.product-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #e0e0e0;
}

/* Owl Carousel */
.owl-carousel .image-card {
    background: #0f0f0f;
    border-radius: 1rem;
    overflow: hidden;
}

.owl-carousel .image-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.owl-carousel .image-card:hover img {
    transform: scale(1.03);
}

.owl-carousel .owl-nav button {
    background: #2a2a2a !important;
    color: #e0e0e0 !important;
}

.owl-carousel .owl-nav button:hover {
    background: #ff0253 !important;
    color: #fff !important;
}

.owl-carousel .owl-dots .owl-dot span {
    background: #3a3a3a;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #ff0253;
}

.text-muted {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #888 !important;
}

/* Boîte paiement */
.payment-box {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 1rem;
}

.payment-box h4 {
    font-weight: 600;
    color: #e0e0e0;
}

/* Formulaires */
.add-cart-form .form-control {
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    padding: 10px 15px;
    transition: all 0.2s ease;
    background: #2a2a2a;
    color: #e0e0e0;
}

.add-cart-form .form-control:focus {
    border-color: #ff0253;
    box-shadow: 0 0 0 0.1rem rgba(255, 2, 83, 0.25);
}

/* Boutons */
.btn-dark {
    background: #ff0253;
    border: none;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-dark:hover {
    background: #e00148;
    color: #fff;
}

.btn-secondary[disabled] {
    opacity: 0.7;
}

/* Navbar e-commerce */
.ecommerce-navbar {
    border-bottom: 1px solid #2a2a2a;
    background: #1a1a1a;
}

.nav-icon {
    position: relative;
    color: #e0e0e0;
    transition: color 0.2s ease;
}

.nav-icon:hover {
    color: #ff0253;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    font-size: 0.7rem;
    text-align: center;
    padding: 3px 6px;
    border-radius: 10px;
    width: 28px;
    background: #ff0253;
}

.font-weight-semibold {
    font-weight: 500;
}

/* Badges */
.badge {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.badge-success {
    background: linear-gradient(145deg, #28a745, #20c05f);
    color: #fff;
}

.badge-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.badge-danger {
    background: linear-gradient(145deg, #ff4d5a, #ff2b42);
    color: #fff;
}

.badge-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 90, 0.4);
}

.badge-warning {
    background: linear-gradient(145deg, #ffc107, #ffb300);
    color: #333;
}

.badge-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.badge-info {
    background: linear-gradient(145deg, #17a2b8, #138496);
    color: #fff;
}

.badge-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.badge-primary {
    background: linear-gradient(145deg, #007bff, #0069d9);
    color: #fff;
}

.badge-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Ruban rupture de stock */
.product-minimal.out-of-stock {
    position: relative;
    overflow: hidden;
}

.product-minimal .stock-label {
    position: absolute;
    top: 20px;
    left: -45px;
    background: linear-gradient(145deg, #ff4d5a, #ff2b42);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 5px 50px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(255, 77, 90, 0.4);
    z-index: 10;
    letter-spacing: 1px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.product-minimal .stock-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-45deg);
}

.product-minimal.out-of-stock img {
    filter: brightness(85%);
    transition: all 0.3s ease;
}

.product-minimal.out-of-stock:hover img {
    filter: brightness(90%);
}

/* Contrôles quantité */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.quantity-controls .quantity-input {
    height: 32px;
}

.btn-quantity {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff0253;
    background-color: #2a2a2a;
    color: #ff0253;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 900;
    outline: none;
    box-shadow: 0 2px 4px rgba(255, 2, 83, 0.2);
}

.btn-quantity i {
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
    line-height: 1;
}

.btn-quantity-minus {
    border-color: #ff0253;
}

.btn-quantity-minus:hover {
    background-color: #ff0253;
    border-color: #ff0253;
}

.btn-quantity-minus:hover i {
    color: #fff;
}

.btn-quantity-plus {
    border-color: #ff0253;
}

.btn-quantity-plus:hover {
    background-color: #ff0253;
    border-color: #ff0253;
    box-shadow: 0 4px 8px rgba(255, 2, 83, 0.3);
}

.btn-quantity-plus:hover i {
    color: #fff;
}

.btn-quantity:focus {
    outline: 2px solid #ff0253;
    outline-offset: 2px;
}

.btn-quantity:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #1a1a1a;
    border-color: #3a3a3a;
}

.btn-quantity:disabled i {
    color: #666;
}

.quantity-display {
    min-width: 35px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #e0e0e0;
}

.btn-quantity:active {
    transform: scale(0.95);
}

@media (max-width: 767px) {
    .btn-quantity {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .btn-quantity i {
        font-size: 14px;
    }
    
    .quantity-display {
        font-size: 14px;
        min-width: 30px;
    }
}

.btn-quantity i,
.btn-quantity span {
    color: #e0e0e0 !important;
}

.btn-quantity:hover i,
.btn-quantity:hover span {
    color: #fff !important;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.cart-item {
    transition: background-color 0.2s ease;
}

.cart-item:hover {
}

/* Description scrollable */
.description-scrollable {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #b0b0b0;
}

.description-scrollable::-webkit-scrollbar {
    width: 8px;
}

.description-scrollable::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 8px;
}

.description-scrollable::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 8px;
}

.description-scrollable::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

.description-scrollable {
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a #1a1a1a;
}

/* Titres sections */
.related-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background-color: rgba(255, 2, 83, 0.15);
    color: #ff0253;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.related-title i {
    font-size: 1.4rem;
    color: #ff0253;
}

.related-title-wrapper {
    width: 100%;
}

.related-title-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background-color: rgba(255, 2, 83, 0.15);
    color: #ff0253;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.related-title-left i {
    font-size: 1.4rem;
    color: #ff0253;
}

.related-title-right {
    font-size: 0.95rem;
    font-weight: 500;
    color: #888;
    font-style: italic;
}

@media (max-width: 767px) {
    .related-title-right {
        display: none;
    }
}

/* Navigation utilisateur */
.user-nav .btn-group .custom-btn {
    border-radius: 12px;
    border: 1px solid #ff0253;
    background-color: #1a1a1a;
    color: #ff0253;
    padding: 0.4rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.user-nav .btn-group .custom-btn i {
    font-size: 0.9rem;
}

.user-nav .btn-group .custom-btn:hover {
    background-color: rgba(255, 2, 83, 0.15);
    color: #ff0253;
}

.user-nav .btn-group .custom-btn.active {
    background: #ff0253;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 83, 0.3);
}

.user-nav .btn-group .custom-btn.active:hover {
    background: #ff0253;
    color: #fff;
}

@media (max-width: 576px) {
    .user-nav .btn-group .custom-btn {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
    }
    
    .user-nav .btn-group .custom-btn i {
        font-size: 0.8rem;
    }
}

/* Champ quantité */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

.quantity-input {
    border: none !important;
    padding: 0.5rem 0.25rem;
    text-align: center;
    background-color: transparent;
    transition: background-color 0.15s ease-in-out;
    font-size: 1rem;
    color: #e0e0e0;
}

.quantity-input:focus {
    outline: none;
    background-color: #2a2a2a;
    box-shadow: none;
}

.quantity-input:disabled {
    background-color: #1a1a1a;
    cursor: not-allowed;
    opacity: 0.65;
}

/* Pagination */
.pagination-custom .page-item {
    margin: 0 3px;
}

.pagination-custom .page-link {
    color: #ff0253;
    border: 1px solid #ff0253;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 500;
    background-color: #1a1a1a;
    transition: all 0.25s ease;
}

.pagination-custom .page-link:hover {
    background-color: #ff0253;
    color: #fff;
    text-decoration: none;
}

.pagination-custom .page-item.active .page-link {
    background-color: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.pagination-custom .page-item.disabled .page-link {
    color: #666;
    border-color: #3a3a3a;
    background-color: #1a1a1a;
    cursor: not-allowed;
}

.pagination-custom .page-link:focus {
    box-shadow: 0 0 0 3px rgba(255, 2, 83, 0.25);
    outline: none;
}

.pagination-custom + p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #888;
}

/* Navigation moderne */
.modern-navbar {
    background: #1a1a1a !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.modern-navbar .container {
    position: relative;
}

.modern-navbar .navbar-brand {
    transition: transform 0.3s ease;
}

.modern-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.modern-navbar .navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(255, 2, 83, 0.3));
}

.modern-navbar .nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 0 0.3rem;
}


.modern-navbar .nav-link:hover {
    background: rgba(255, 2, 83, 0.15);
    color: #ff0253 !important;
}

.modern-navbar .nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.modern-navbar .nav-link:hover i {
    transform: scale(1.1);
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    background: #2a2a2a;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    position: relative;
    top: 5px;
    margin-left: 0.8rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 2, 83, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 25px;
    height: 20px;
    display: block;
    margin: 0 auto;
    top: 1.4px;
    right: 1px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.navbar-toggler-icon span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 3.15px;
    background: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

#navbar-toggle-checkbox {
    display: none;
}

#navbar-toggle-checkbox:checked ~ .navbar-toggler .navbar-toggler-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

#navbar-toggle-checkbox:checked ~ .navbar-toggler .navbar-toggler-icon::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

#navbar-toggle-checkbox:checked ~ .navbar-toggler .navbar-toggler-icon span {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

#navbar-toggle-checkbox:not(:checked) ~ .navbar-collapse {
    display: none;
}

#navbar-toggle-checkbox:checked ~ .navbar-collapse {
    display: block !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #2a2a2a;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(255, 2, 83, 0.2);
    }
    
    .modern-navbar .nav-link {
        color: #e0e0e0 !important;
        margin: 0.25rem 0;
    }
    
    .modern-navbar .nav-link:hover {
        background: rgba(255, 2, 83, 0.2);
        color: #fff !important;
    }
    
    .mobile-icons {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-icons .nav-link {
        padding: 0.4rem 0.7rem !important;
    }
    
    .navbar-collapse .mobile-hide {
        display: none;
    }
}

.dropdown-menu-custom .dropdown-item-custom i {
    margin-right: 0.6rem;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.btn-login {
    border: 2px solid #ff0253;
    background: #2a2a2a;
    color: #ff0253 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #ff0253;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 2, 83, 0.4);
}

.bg-primary {
    background-color: #ff0253 !important;
}

.btn-logout {
    color: #ff0253 !important;
    background: rgba(255, 2, 83, 0.1);
    padding: 0.5rem 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-icons .btn-logout {
    margin-left: 10px !important;
}

.btn-logout:hover {
    background: #ff0253;
    color: white !important;
    transform: scale(1.1);
}

.badge-statut {
    font-size: 10px;
}

.menu-custom {
    display: none !important;
}

@media (min-width: 992px) {
    .mobile-icons {
        display: none !important;
    }
    
    .navbar-toggler {
        display: none;
    }
    
    .navbar-collapse {
        display: flex !important;
    }

    .fill-blank {
        margin-bottom: 20rem !important;
    }
}

/* Dropdown compte */
.account-dropdown {
    position: static;
}

.dropdown-menu-custom {
    display: none;
    position: fixed;
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 9999;
    border: 1px solid rgba(255, 2, 83, 0.2);
}

.dropdown-menu-custom.show {
    display: block;
}

.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -9px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #2a2a2a;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.3));
}

.dropdown-menu-custom .dropdown-item-custom {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #e0e0e0 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.dropdown-menu-custom .dropdown-item-custom:hover {
    background: rgba(255, 2, 83, 0.2);
    border-left-color: #ff0253;
    color: #ff0253 !important;
    padding-left: 1.5rem;
}

.dropdown-menu-custom .dropdown-item-custom.active {
    background: rgba(255, 2, 83, 0.25);
    border-left-color: #ff0253;
    color: #ff0253 !important;
    font-weight: 600;
}

/* =========================== SECTION SERVICES =========================== */

.service-item {
    background: #1a1a1a;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 0.9rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 2, 83, 0.3);
    border-color: #ff0253;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 2, 83, 0.15);
    color: #ff0253;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 0.75rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-item:hover .icon-wrapper {
    background: #ff0253;
    color: #fff;
}

.service-text .title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #e0e0e0;
}

.service-text .desc {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    line-height: 1.3;
}

/* =========================== FOOTER SOMBRE =========================== */
footer {
    background: #1a1a1a;
    color: #ffffff;
}

.footer-column h4 {
    font-weight: 600;
    color: #ff0253;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-column ul li a:hover {
    color: #ff0253;
}

.footer-column ul li a i {
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    text-align: center;
    color: #707070;
}

@media (max-width: 767px) {
    .footer-column {
        margin-bottom: 20px;
    }
}

/* =========================== SECTION DÉTAIL PRODUIT =========================== */
/* Titre principal */
h4.font-weight-bold {
    color: #e0e0e0;
}

/* Card principale (prix et stock) */
.card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a !important;
    color: #e0e0e0;
}

.card h5 {
    color: #888;
}

.text-secondary {
    color: #888 !important;
}

/* Prix */
.text-danger {
    color: #ff0253 !important;
}

/* Séparateur */
hr {
    border-top: 1px solid #2a2a2a;
}

/* Alerts */
.alert {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.alert-warning {
    background: rgb(255 193 7 / 15%);
    border-color: rgb(255 193 7 / 6%);
    color: #ffffff;
}

.alert-danger {
    background: rgb(255 77 90 / 15%);
    border-color: rgb(255 77 90 / 6%);
    color: #ffffff;
}

.alert-info {
    background: rgb(23 162 184 / 15%);
    border-color: rgb(23 162 184 / 6%);
    color: #ffffff;
}

.alert-success {
    background: rgb(0 255 125 / 39%);
    border-color: rgb(0 255 125 / 6%);
    color: #ffffff;
}

/* Bouton ajouter au panier */
#add-to-cart-btn {
    background: #ff0253;
    border: none;
    color: #fff;
}

#add-to-cart-btn:hover {
    background: #e00148;
    color: #fff;
}

/* Card conditions de livraison */
.delivery-info strong {
    color: #e0e0e0;
}

.delivery-info .text-muted {
    color: #888 !important;
}

.delivery-info .text-dark {
    color: #ff0253 !important;
}

.delivery-info .bi {
    color: #888;
}

.bi-truck.text-danger {
    color: #ff0253 !important;
}

/* Titre produits similaires */
.related-title-wrapper {
    color: #e0e0e0;
}

/* Image carousel */
.image-card {
    background: #0f0f0f;
}

/* =========================== FORMULAIRES GLOBAUX =========================== */
.form-control {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
    padding: 0.375rem 0.75rem;
}

select.form-control {
    padding: 0 1rem !important;
}

select.form-control:focus,
select:focus {
    background: #333 !important;
}

.form-control:focus {
    background: #333;
    border-color: #ff0253;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(255, 2, 83, 0.25);
}

.form-control option {
    background: #2a2a2a;
    color: #e0e0e0;
}

.form-control::placeholder {
    color: #888;
}

.form-control:disabled {
    background: #1a1a1a;
    color: #666;
    opacity: 0.7;
}

/* Labels */
label {
    color: #e0e0e0;
}

/* Boutons généraux */
.btn-light {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.btn-light:hover {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.btn-light:hover i {
    color: #fff !important;
}

.btn-light:focus {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.btn-light:focus i {
    color: #fff !important;
}

/* =========================== ÉLÉMENTS GÉNÉRAUX =========================== */
h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0;
}

.font-weight-bold {
    color: #e0e0e0;
}

/* Tables */
.table {
    background: #1a1a1a;
    color: #e0e0e0;
}

.table thead th {
    background: #2a2a2a;
    color: #e0e0e0;
    border-color: #3a3a3a;
}

.table td, .table th {
    border-color: #3a3a3a;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #1a1a1a;
}

.table-striped tbody tr:nth-of-type(even) {
    background: #0f0f0f;
}

.table-hover tbody tr:hover {
    background: #2a2a2a;
}

/* Modals */
.modal-content {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #2a2a2a;
}

.modal-header {
    border-bottom: 1px solid #2a2a2a;
    background: #1a1a1a;
}

.modal-footer {
    border-top: 1px solid #2a2a2a;
    background: #1a1a1a;
}

.modal-body {
    background: #1a1a1a;
}

.close {
    color: #e0e0e0;
    text-shadow: none;
}

.close:hover {
    color: #ff0253;
}

/* Boutons Bootstrap */
.btn-primary {
    background: #ff0253;
    border-color: #ff0253;
}

.btn-primary:hover {
    background: #e00148;
    border-color: #e00148;
}

.btn-outline-primary {
    color: #ff0253;
    border-color: #ff0253;
}

.btn-outline-primary:hover {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.btn-success {
    background: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
}

.btn-warning {
    background: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background: #e0a800;
    border-color: #d39e00;
    color: #333;
}

.btn-danger {
    background: #ff4d5a;
    border-color: #ff4d5a;
}

.btn-danger:hover {
    background: #ff2b42;
    border-color: #ff2b42;
}

.btn-info {
    background: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background: #138496;
    border-color: #117a8b;
}

/* Prix barré */
.text-muted.small {
    color: #666 !important;
}

/* Liste groupes */
.list-group-item {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #e0e0e0;
}

.list-group-item:hover {
    background: #2a2a2a;
}

.list-group-item.active {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.breadcrumb-item {
    color: #888;
}

.breadcrumb-item.active {
    color: #e0e0e0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #666;
}

.breadcrumb-item a {
    color: #ff0253;
}

.breadcrumb-item a:hover {
    color: #e00148;
}

/* Progress bars */
.progress {
    background: #2a2a2a;
}

.progress-bar {
    background: #ff0253;
}

/* Input groups */
.input-group-text {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

/* Custom checkbox et radio */
.custom-control-label::before {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #ff0253;
    border-color: #ff0253;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(255, 2, 83, 0.25);
}

/* Dropdown Bootstrap */
.dropdown-menu {
    background: #2a2a2a;
    border: 1px solid rgba(255, 2, 83, 0.2);
}

.dropdown-item {
    color: #e0e0e0;
}

.dropdown-item:hover {
    background: rgba(255, 2, 83, 0.2);
    color: #ff0253;
}

.dropdown-divider {
    border-top: 1px solid #3a3a3a;
}

/* Nav tabs */
.nav-tabs {
    border-bottom: 1px solid #2a2a2a;
}

.nav-tabs .nav-link {
    color: #888;
    border: 1px solid transparent;
}

.nav-tabs .nav-link:hover {
    color: #ff0253;
    border-color: #2a2a2a #2a2a2a #1a1a1a;
}

.nav-tabs .nav-link.active {
    color: #ff0253;
    background: #1a1a1a;
    border-color: #2a2a2a #2a2a2a #1a1a1a;
}

/* Nav pills */
.nav-pills .nav-link {
    color: #888;
}

.nav-pills .nav-link:hover {
    background: rgba(255, 2, 83, 0.15);
    color: #ff0253;
}

.nav-pills .nav-link.active {
    background: #ff0253;
    color: #fff;
}

/* Collapse / Accordion */
.card-header {
    background: #2a2a2a;
    border-bottom: 1px solid #3a3a3a;
}

.card-footer {
    background: #2a2a2a;
    border-top: 1px solid #3a3a3a;
}

/* Tooltips & Popovers */
.tooltip-inner {
    background: #2a2a2a;
    color: #e0e0e0;
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #2a2a2a;
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #2a2a2a;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #2a2a2a;
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #2a2a2a;
}

.popover {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
}

.popover-header {
    background: #1a1a1a;
    border-bottom: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.popover-body {
    color: #e0e0e0;
}

/* Spinner / Loading */
.spinner-border {
    border-color: rgba(255, 2, 83, 0.2);
    border-right-color: #ff0253;
}

.spinner-grow {
    background-color: #ff0253;
}

/* Jumbotron */
.jumbotron {
    background: #1a1a1a;
    color: #e0e0e0;
}

/* Carrousel Bootstrap */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators li {
    background-color: #666;
}

.carousel-indicators .active {
    background-color: #ff0253;
}

.carousel-caption {
    color: #e0e0e0;
}

/* Scrollbar personnalisée globale */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a #1a1a1a;
}

/* Textes utilitaires */
.text-white {
    color: #e0e0e0 !important;
}

.text-black {
    color: #1a1a1a !important;
}

/* Backgrounds utilitaires */
.bg-light {
    background-color: #2a2a2a !important;
}

.bg-dark {
    background-color: #0f0f0f !important;
}

.bg-white {
    background-color: #1a1a1a !important;
}

/* Bordures */
.border {
    border-color: #2a2a2a !important;
}

.border-top {
    border-top-color: #2a2a2a !important;
}

.border-right {
    border-right-color: #2a2a2a !important;
}

.border-bottom {
    border-bottom-color: #2a2a2a !important;
}

.border-left {
    border-left-color: #2a2a2a !important;
}

/* Shadow */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6) !important;
}

.swiper-related {
    padding-bottom: 50px;
}

/* Flèches de navigation */
.swiper-button-prev,
.swiper-button-next {
    width: 45px;
    height: 45px;
    background-color: #ff0253;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 15px;
}

.swiper-button-next {
    right: 15px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #e00148;
    box-shadow: 0 4px 12px rgba(255, 2, 83, 0.4);
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #555555 !important;
}

.swiper-button-prev.swiper-button-disabled:hover,
.swiper-button-next.swiper-button-disabled:hover {
    background-color: #555555 !important;
    box-shadow: none !important;
}

/* Double protection contre les clics */
.swiper-button-disabled * {
    pointer-events: none !important;
}

/* Pagination dots */
.swiper-pagination {
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    background-color: #4a4a4a !important;
    opacity: 1 !important;
    width: 10px;
    height: 10px;
    margin: 0 3px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    background-color: #666 !important;
}

.swiper-pagination-bullet-active {
    background-color: #ff0253 !important;
    transform: scale(1.2);
}

/* Pour mobile, adapter les positions des flèches */
@media (max-width: 992px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    
    .swiper-related {
        padding-left: 0;
        padding-right: 0;
    }
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
    background-color: #555555 !important;
    z-index: 10 !important;
}

/* ===========================
   MENU UTILISATEUR - HORIZONTAL COLLÉ
   =========================== */

.menu-user .btn-group {
    display: flex;
    width: 100%;
}

.menu-user .custom-btn {
    flex: 1;
    border: 2px solid #3a3a3a;
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    margin: 0;
    margin-left: -2px;
}

.menu-user .custom-btn:first-child {
    margin-left: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.menu-user .custom-btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.menu-user .custom-btn:hover {
    background-color: rgba(255, 2, 83, 0.1);
    border-color: #ff0253;
    color: #ff0253;
    position: relative;
    z-index: 1;
}

.menu-user .custom-btn.active {
    background: rgba(255, 2, 83, 0.15);
    border-color: #ff0253;
    color: #ff0253;
    position: relative;
    z-index: 2;
}

/* Version Mobile - Cartes avec icônes */
@media (max-width: 767px) {
    .menu-user .btn-group {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
    
    .menu-user .custom-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 0.3rem;
        border: 2px solid #3a3a3a;
        background: #1a1a1a;
        min-height: 70px;
        border-radius: 0;
        margin-left: -2px;
    }
    
    .menu-user .custom-btn:first-child {
        margin-left: 0;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }
    
    .menu-user .custom-btn:last-child {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    
    /* Icônes Bootstrap Icons */
    .menu-user .custom-btn i {
        font-size: 1.3rem;
        color: #ff0253;
        margin-bottom: 0.3rem;
        display: block;
    }
    
    .menu-user .custom-btn span {
        font-size: 0.7rem;
        font-weight: 600;
        color: #e0e0e0;
        text-align: center;
        line-height: 1.2;
    }
    
    .menu-user .custom-btn:hover {
        background: rgba(255, 2, 83, 0.08);
        border-color: #ff0253;
        position: relative;
        z-index: 1;
    }
    
    .menu-user .custom-btn.active {
        background: rgba(255, 2, 83, 0.15);
        border-color: #ff0253;
        position: relative;
        z-index: 2;
    }
    
    .menu-user .custom-btn.active span {
        color: #ff0253;
    }
}

.btn-dark.loading {
    background: #ff0253 !important;
    border-color: #ff0253 !important;
}

.btn-dark.loading i {
    display: inline-block;
    animation: spin 1s linear infinite;
    color: #fff !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #ff0253;
    background-image: none;
    border-color: #ff0253;
}

.btn-primary:focus {
    background-color: #ff0253 !important;
    box-shadow: 0 0 0 2px rgb(255 2 83 / 68%) !important;
}

.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background: #ff0253 linear-gradient(180deg, #ff0253, #ff0253) repeat-x;
    border-color: #ff0253;
    box-shadow: 0 0 0 2px rgb(255 2 83 / 68%) !important;
}

/* Alerte personnalisée pour vider le panier */
.swal-modal {
    border-radius: 10px;
}

.swal-title {
    color: #dc3545;
    font-weight: bold;
}

.swal-text {
    font-size: 16px;
    color: #555;
}

.swal-button--confirm {
    background-color: #dc3545;
    border-radius: 5px;
    padding: 10px 20px;
}

.swal-button--confirm:hover {
    background-color: #c82333;
}

.swal-button--cancel {
    background-color: #6c757d;
    border-radius: 5px;
    padding: 10px 20px;
}

.swal-button--cancel:hover {
    background-color: #5a6268;
}

/* Styles alternatifs pour Bootstrap modal */
.custom-confirm-modal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.custom-confirm-modal .modal-header {
    background-color: #dc3545;
    color: white;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.custom-confirm-modal .modal-body {
    padding: 30px;
    font-size: 16px;
}

.custom-confirm-modal .btn-danger {
    min-width: 100px;
}

.custom-confirm-modal .btn-secondary {
    min-width: 100px;
}

/* Espacement entre les boutons */
.gap-2 {
    gap: 0.5rem !important;
}

@media (max-width: 767px) {
    .d-flex.flex-wrap > .btn {
        width: 100%;
        margin-bottom: 10px;
    }

}

/* Animation plus fluide pour la suppression */
#panier-content {
    transition: opacity 0.4s ease-out;
}

.fill-blank {
    margin-bottom: 5rem;
}

/* Style pour les inputs préremplis par le navigateur (autofill) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #343a40 inset !important; /* Gris foncé en background */
    -webkit-text-fill-color: #ffffff !important; /* Texte blanc */
    box-shadow: 0 0 0 1000px #343a40 inset !important;
    caret-color: #ffffff; /* Couleur du curseur */
    transition: background-color 5000s ease-in-out 0s; /* Empêche le changement de couleur */
}

/* Pour Firefox */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
    background-color: #343a40 !important;
    color: #ffffff !important;
}

/* Style pour les bordures des inputs autofill (optionnel) */
input:-webkit-autofill {
    border: 1px solid #495057 !important; /* Bordure légèrement plus claire */
}

/* Animation pulse pour le panier */
.cart-link.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Style du badge panier */
.cart-link {
    position: relative;
}

/* Animation pour le badge qui apparaît */
@keyframes badgeAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.cart-badge {
    animation: badgeAppear 0.3s ease-out;
}

/* =========================== THÈME SOMBRE GLOBAL =========================== */
body {
    background: #0c0c0c;
    color: #e0e0e0;
}

a {
    color: #ff0253;
}

a:hover,
[contenteditable].form-control:focus,
[type=email].form-control:focus,
[type=password].form-control:focus,
[type=tel].form-control:focus,
[type=text].form-control:focus,
input.form-control:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=text]:focus,
textarea.form-control:focus,
textarea:focus {
    color: #ff0253;
}

[contenteditable].form-control:focus,
[type=email].form-control:focus,
[type=password].form-control:focus,
[type=tel].form-control:focus,
[type=text].form-control:focus,
input.form-control:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=text]:focus,
textarea.form-control:focus,
textarea:focus,
select.form-control:focus,
select:focus {
    box-shadow: inset 0 -2px 0 #ff0253;
}

/* =========================== CARTES PRODUITS =========================== */
.image-card {
    position: relative;
    height: 300px;
    display: block;
    overflow: hidden;
    background: #000;
    text-decoration: none;
}

.image-card .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paiement-container .custom-radio .custom-control-label::before,
.paiement-container .custom-radio .custom-control-label::after {
    left: -30px;
}

.paiement-container .custom-control {
    padding-left: 28px;
}

/* Boutons personnalisés */
.custom-btn {
    border: 1px solid #ff0253;
    color: #ff0253;
    background-color: #1a1a1a;
}

.custom-btn:hover {
    background-color: #ff0253;
    color: #fff;
    border-color: #ff0253;
}

.custom-btn.active,
.custom-btn.active:hover {
    background-color: #ff0253;
    color: #fff;
    border-color: #ff0253;
}

.form-check input[type="radio"] {
    top: 1.2px;
    position: relative;
}

.form-check .form-label {
    cursor: pointer;
    color: #e0e0e0;
}

.form-label.selected {
    color: #ff0253;
}

.form-label.selected input[type="radio"] {
    accent-color: #ff0253;
}

.form-label input[type="radio"] {
    cursor: pointer;
}

.form-label {
    transition: color 0.2s ease;
}

.form-label:hover {
    color: #ff0253;
    cursor: pointer;
}

.form-check-inline {
    margin-right: 1.5rem;
}

.form-label input[type="radio"]:focus {
    outline: none;
    box-shadow: none;
}

.form-label input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Carte produit minimaliste */
.product-minimal {
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.product-minimal:hover {
    box-shadow: 0 8px 20px rgba(255, 2, 83, 0.2);
    transform: translateY(-3px);
    border-color: #ff0253;
}

.img-wrapper {
    background: #0f0f0f;
    flex-shrink: 0;
}

.img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0e0e0;
}

.price {
    font-weight: 600;
    color: #ff0253;
    font-size: 0.95rem;
}

.btn-view {
    font-size: 0.8rem;
    padding: 5px 10px;
    background: #2a2a2a;
    border-radius: 6px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.2s ease;
}

.btn-view:hover {
    background: #ff0253;
    color: #fff;
}

.btn-disabled {
    font-size: 0.8rem;
    color: #666;
    background: #070707;
    padding: 5px 10px;
    border-radius: 6px;
}

.stock-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4d4d;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 2;
}

.product-minimal.out-of-stock {
    opacity: 0.7;
    filter: grayscale(60%);
}

@media (max-width: 576px) {
    .img-wrapper img {
        height: 180px;
    }
}

/* Section détail produit */
.product-detail {
    background: #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .product-detail {
        padding: 1rem;
    }
}

.product-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #e0e0e0;
}

/* Owl Carousel */
.owl-carousel .image-card {
    background: #0f0f0f;
    border-radius: 1rem;
    overflow: hidden;
}

.owl-carousel .image-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.owl-carousel .image-card:hover img {
    transform: scale(1.03);
}

.owl-carousel .owl-nav button {
    background: #2a2a2a !important;
    color: #e0e0e0 !important;
}

.owl-carousel .owl-nav button:hover {
    background: #ff0253 !important;
    color: #fff !important;
}

.owl-carousel .owl-dots .owl-dot span {
    background: #3a3a3a;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #ff0253;
}

.text-muted {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #888 !important;
}

/* Boîte paiement */
.payment-box {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 1rem;
}

.payment-box h4 {
    font-weight: 600;
    color: #e0e0e0;
}

/* Formulaires */
.add-cart-form .form-control {
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    padding: 10px 15px;
    transition: all 0.2s ease;
    background: #2a2a2a;
    color: #e0e0e0;
}

.add-cart-form .form-control:focus {
    border-color: #ff0253;
    box-shadow: 0 0 0 0.1rem rgba(255, 2, 83, 0.25);
}

/* Boutons */
.btn-dark {
    background: #ff0253;
    border: none;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-dark:hover {
    background: #e00148;
    color: #fff;
}

.btn-secondary[disabled] {
    opacity: 0.7;
}

/* Navbar e-commerce */
.ecommerce-navbar {
    border-bottom: 1px solid #2a2a2a;
    background: #1a1a1a;
}

.nav-icon {
    position: relative;
    color: #e0e0e0;
    transition: color 0.2s ease;
}

.nav-icon:hover {
    color: #ff0253;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 10px;
    background: #ff0253;
}

.font-weight-semibold {
    font-weight: 500;
}

/* Badges */
.badge {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.badge-success {
    background: linear-gradient(145deg, #28a745, #20c05f);
    color: #fff;
}

.badge-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.badge-danger {
    background: linear-gradient(145deg, #ff4d5a, #ff2b42);
    color: #fff;
}

.badge-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 90, 0.4);
}

.badge-warning {
    background: linear-gradient(145deg, #ffc107, #ffb300);
    color: #333;
}

.badge-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.badge-info {
    background: linear-gradient(145deg, #17a2b8, #138496);
    color: #fff;
}

.badge-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.badge-primary {
    background: linear-gradient(145deg, #007bff, #0069d9);
    color: #fff;
}

.badge-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Ruban rupture de stock */
.product-minimal.out-of-stock {
    position: relative;
    overflow: hidden;
}

.product-minimal .stock-label {
    position: absolute;
    top: 20px;
    left: -45px;
    background: linear-gradient(145deg, #ff4d5a, #ff2b42);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 5px 50px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(255, 77, 90, 0.4);
    z-index: 10;
    letter-spacing: 1px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.product-minimal .stock-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-45deg);
}

.product-minimal.out-of-stock img {
    filter: brightness(85%);
    transition: all 0.3s ease;
}

.product-minimal.out-of-stock:hover img {
    filter: brightness(90%);
}

/* Contrôles quantité */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.quantity-controls .quantity-input {
    height: 32px;
}

.btn-quantity {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff0253;
    background-color: #2a2a2a;
    color: #ff0253;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 900;
    outline: none;
    box-shadow: 0 2px 4px rgba(255, 2, 83, 0.2);
}

.btn-quantity i {
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
    line-height: 1;
}

.btn-quantity-minus {
    border-color: #ff0253;
}

.btn-quantity-minus:hover {
    background-color: #ff0253;
    border-color: #ff0253;
}

.btn-quantity-minus:hover i {
    color: #fff;
}

.btn-quantity-plus {
    border-color: #ff0253;
}

.btn-quantity-plus:hover {
    background-color: #ff0253;
    border-color: #ff0253;
    box-shadow: 0 4px 8px rgba(255, 2, 83, 0.3);
}

.btn-quantity-plus:hover i {
    color: #fff;
}

.btn-quantity:focus {
    outline: 2px solid #ff0253;
    outline-offset: 2px;
}

.btn-quantity:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #1a1a1a;
    border-color: #3a3a3a;
}

.btn-quantity:disabled i {
    color: #666;
}

.quantity-display {
    min-width: 35px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #e0e0e0;
}

.btn-quantity:active {
    transform: scale(0.95);
}

@media (max-width: 767px) {
    .btn-quantity {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .btn-quantity i {
        font-size: 14px;
    }
    
    .quantity-display {
        font-size: 14px;
        min-width: 30px;
    }
}

.btn-quantity i,
.btn-quantity span {
    color: #e0e0e0 !important;
}

.btn-quantity:hover i,
.btn-quantity:hover span {
    color: #fff !important;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.cart-item {
    transition: background-color 0.2s ease;
}

.cart-item:hover {
}

/* Description scrollable */
.description-scrollable {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #b0b0b0;
}

.description-scrollable::-webkit-scrollbar {
    width: 8px;
}

.description-scrollable::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 8px;
}

.description-scrollable::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 8px;
}

.description-scrollable::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

.description-scrollable {
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a #1a1a1a;
}

/* Titres sections */
.related-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background-color: rgba(255, 2, 83, 0.15);
    color: #ff0253;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.related-title i {
    font-size: 1.4rem;
    color: #ff0253;
}

.related-title-wrapper {
    width: 100%;
}

.related-title-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background-color: rgba(255, 2, 83, 0.15);
    color: #ff0253;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.related-title-left i {
    font-size: 1.4rem;
    color: #ff0253;
}

.related-title-right {
    font-size: 0.95rem;
    font-weight: 500;
    color: #888;
    font-style: italic;
}

@media (max-width: 767px) {
    .related-title-right {
        display: none;
    }
}

/* Navigation utilisateur */
.user-nav .btn-group .custom-btn {
    border-radius: 12px;
    border: 1px solid #ff0253;
    background-color: #1a1a1a;
    color: #ff0253;
    padding: 0.4rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.user-nav .btn-group .custom-btn i {
    font-size: 0.9rem;
}

.user-nav .btn-group .custom-btn:hover {
    background-color: rgba(255, 2, 83, 0.15);
    color: #ff0253;
}

.user-nav .btn-group .custom-btn.active {
    background: #ff0253;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 2, 83, 0.3);
}

.user-nav .btn-group .custom-btn.active:hover {
    background: #ff0253;
    color: #fff;
}

@media (max-width: 576px) {
    .user-nav .btn-group .custom-btn {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
    }
    
    .user-nav .btn-group .custom-btn i {
        font-size: 0.8rem;
    }
}

/* Champ quantité */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

.quantity-input {
    border: none !important;
    padding: 0.5rem 0.25rem;
    text-align: center;
    background-color: transparent;
    transition: background-color 0.15s ease-in-out;
    font-size: 1rem;
    color: #e0e0e0;
}

.quantity-input:focus {
    outline: none;
    background-color: #2a2a2a;
    box-shadow: none;
}

.quantity-input:disabled {
    background-color: #1a1a1a;
    cursor: not-allowed;
    opacity: 0.65;
}

/* Pagination */
.pagination-custom .page-item {
    margin: 0 3px;
}

.pagination-custom .page-link {
    color: #ff0253;
    border: 1px solid #ff0253;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 500;
    background-color: #1a1a1a;
    transition: all 0.25s ease;
}

.pagination-custom .page-link:hover {
    background-color: #ff0253;
    color: #fff;
    text-decoration: none;
}

.pagination-custom .page-item.active .page-link {
    background-color: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.pagination-custom .page-item.disabled .page-link {
    color: #666;
    border-color: #3a3a3a;
    background-color: #1a1a1a;
    cursor: not-allowed;
}

.pagination-custom .page-link:focus {
    box-shadow: 0 0 0 3px rgba(255, 2, 83, 0.25);
    outline: none;
}

.pagination-custom + p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #888;
}

/* Navigation moderne */
.modern-navbar {
    background: #1a1a1a !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.modern-navbar .container {
    position: relative;
}

.modern-navbar .navbar-brand {
    transition: transform 0.3s ease;
}

.modern-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.modern-navbar .navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(255, 2, 83, 0.3));
}

.modern-navbar .nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 0 0.3rem;
}


.modern-navbar .nav-link:hover {
    background: rgba(255, 2, 83, 0.15);
    color: #fff !important;
}

.modern-navbar .nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.modern-navbar .nav-link:hover i {
    transform: scale(1.1);
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    background: #2a2a2a;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    position: relative;
    top: 5px;
    margin-left: 0.8rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 2, 83, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 25px;
    height: 20px;
    display: block;
    margin: 0 auto;
    top: 1.4px;
    right: 1px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.navbar-toggler-icon span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 3.15px;
    background: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

#navbar-toggle-checkbox {
    display: none;
}

#navbar-toggle-checkbox:checked ~ .navbar-toggler .navbar-toggler-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

#navbar-toggle-checkbox:checked ~ .navbar-toggler .navbar-toggler-icon::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

#navbar-toggle-checkbox:checked ~ .navbar-toggler .navbar-toggler-icon span {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

#navbar-toggle-checkbox:not(:checked) ~ .navbar-collapse {
    display: none;
}

#navbar-toggle-checkbox:checked ~ .navbar-collapse {
    display: block !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #2a2a2a;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(255, 2, 83, 0.2);
    }
    
    .modern-navbar .nav-link {
        color: #e0e0e0 !important;
        margin: 0.25rem 0;
    }
    
    .modern-navbar .nav-link:hover {
        background: rgba(255, 2, 83, 0.2);
        color: #ff0253 !important;
    }
    
    .mobile-icons {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-icons .nav-link {
        padding: 0.4rem 0.7rem !important;
    }
    
    .navbar-collapse .mobile-hide {
        display: none;
    }
}

.dropdown-menu-custom .dropdown-item-custom i {
    margin-right: 0.6rem;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.btn-login {
    border: 2px solid #ff0253;
    background: #2a2a2a;
    color: #ff0253 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #ff0253;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 2, 83, 0.4);
}

.bg-primary {
    background-color: #ff0253 !important;
}



.badge-statut {
    font-size: 10px;
}

.menu-custom {
    display: none !important;
}

@media (min-width: 992px) {
    .mobile-icons {
        display: none !important;
    }
    
    .navbar-toggler {
        display: none;
    }
    
    .navbar-collapse {
        display: flex !important;
    }

    .fill-blank {
        margin-bottom: 20rem !important;
    }
}

/* Dropdown compte */
.account-dropdown {
    position: static;
}

.dropdown-menu-custom {
    display: none;
    position: fixed;
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 9999;
    border: 1px solid rgba(255, 2, 83, 0.2);
}

.dropdown-menu-custom.show {
    display: block;
}

.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -9px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #2a2a2a;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.3));
}

.dropdown-menu-custom .dropdown-item-custom {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #e0e0e0 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.dropdown-menu-custom .dropdown-item-custom:hover {
    background: rgba(255, 2, 83, 0.2);
    border-left-color: #ff0253;
    color: #ff0253 !important;
    padding-left: 1.5rem;
}

.dropdown-menu-custom .dropdown-item-custom.active {
    background: rgba(255, 2, 83, 0.25);
    border-left-color: #ff0253;
    color: #ff0253 !important;
    font-weight: 600;
}

/* =========================== SECTION SERVICES =========================== */

.service-item {
    background: #1a1a1a;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 0.9rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 2, 83, 0.3);
    border-color: #ff0253;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 2, 83, 0.15);
    color: #ff0253;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 0.75rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-item:hover .icon-wrapper {
    background: #ff0253;
    color: #fff;
}

.service-text .title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #e0e0e0;
}

.service-text .desc {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    line-height: 1.3;
}

/* =========================== FOOTER SOMBRE =========================== */
footer {
    background: #1a1a1a;
    color: #ffffff;
}

.footer-column h4 {
    font-weight: 600;
    color: #ff0253;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-column ul li a:hover {
    color: #ff0253;
}

.footer-column ul li a i {
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    text-align: center;
    color: #707070;
}

@media (max-width: 767px) {
    .footer-column {
        margin-bottom: 20px;
    }
}

/* =========================== SECTION DÉTAIL PRODUIT =========================== */
/* Titre principal */
h4.font-weight-bold {
    color: #e0e0e0;
}

/* Card principale (prix et stock) */
.card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a !important;
    color: #e0e0e0;
}

.card h5 {
    color: #888;
}

.text-secondary {
    color: #888 !important;
}

/* Prix */
.text-danger {
    color: #ff0253 !important;
}

/* Séparateur */
hr {
    border-top: 1px solid #2a2a2a;
}

/* Alerts */
.alert {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.alert-warning {
    background: rgb(255 193 7 / 15%);
    border-color: rgb(255 193 7 / 6%);
    color: #ffffff;
}

.alert-danger {
    background: rgb(255 77 90 / 15%);
    border-color: rgb(255 77 90 / 6%);
    color: #ffffff;
}

.alert-info {
    background: rgb(23 162 184 / 15%);
    border-color: rgb(23 162 184 / 6%);
    color: #ffffff;
}

.alert-success {
    background: rgb(0 255 125 / 39%);
    border-color: rgb(0 255 125 / 6%);
    color: #ffffff;
}

/* Bouton ajouter au panier */
#add-to-cart-btn {
    background: #ff0253;
    border: none;
    color: #fff;
}

#add-to-cart-btn:hover {
    background: #e00148;
    color: #fff;
}

/* Card conditions de livraison */
.delivery-info strong {
    color: #e0e0e0;
}

.delivery-info .text-muted {
    color: #888 !important;
}

.delivery-info .text-dark {
    color: #ff0253 !important;
}

.delivery-info .bi {
    color: #888;
}

.bi-truck.text-danger {
    color: #ff0253 !important;
}

/* Titre produits similaires */
.related-title-wrapper {
    color: #e0e0e0;
}

/* Image carousel */
.image-card {
    background: #0f0f0f;
}

/* =========================== FORMULAIRES GLOBAUX =========================== */
.form-control {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
    padding: 0.375rem 0.75rem;
}

select.form-control {
    padding: 0 1rem !important;
}

select.form-control:focus,
select:focus {
    background: #333 !important;
}

.form-control:focus {
    background: #333;
    border-color: #ff0253;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(255, 2, 83, 0.25);
}

.form-control option {
    background: #2a2a2a;
    color: #e0e0e0;
}

.form-control::placeholder {
    color: #888;
}

.form-control:disabled {
    background: #1a1a1a;
    color: #666;
    opacity: 0.7;
}

/* Labels */
label {
    color: #e0e0e0;
}

/* Boutons généraux */
.btn-light {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.btn-light:hover {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.btn-light:hover i {
    color: #fff !important;
}

.btn-light:focus {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.btn-light:focus i {
    color: #fff !important;
}

/* =========================== ÉLÉMENTS GÉNÉRAUX =========================== */
h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0;
}

.font-weight-bold {
    color: #e0e0e0;
}

/* Tables */
.table {
    background: #1a1a1a;
    color: #e0e0e0;
}

.table thead th {
    background: #2a2a2a;
    color: #e0e0e0;
    border-color: #3a3a3a;
}

.table td, .table th {
    border-color: #3a3a3a;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #1a1a1a;
}

.table-striped tbody tr:nth-of-type(even) {
    background: #0f0f0f;
}

.table-hover tbody tr:hover {
    background: #2a2a2a;
}

/* Modals */
.modal-content {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #2a2a2a;
}

.modal-header {
    border-bottom: 1px solid #2a2a2a;
    background: #1a1a1a;
}

.modal-footer {
    border-top: 1px solid #2a2a2a;
    background: #1a1a1a;
}

.modal-body {
    background: #1a1a1a;
}

.close {
    color: #e0e0e0;
    text-shadow: none;
}

.close:hover {
    color: #ff0253;
}

/* Boutons Bootstrap */
.btn-primary {
    background: #ff0253;
    border-color: #ff0253;
}

.btn-primary:hover {
    background: #e00148;
    border-color: #e00148;
}

.btn-outline-primary {
    color: #ff0253;
    border-color: #ff0253;
}

.btn-outline-primary:hover {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

.btn-success {
    background: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
}

.btn-warning {
    background: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background: #e0a800;
    border-color: #d39e00;
    color: #333;
}

.btn-danger {
    background: #ff4d5a;
    border-color: #ff4d5a;
}

.btn-danger:hover {
    background: #ff2b42;
    border-color: #ff2b42;
}

.btn-info {
    background: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background: #138496;
    border-color: #117a8b;
}

/* Prix barré */
.text-muted.small {
    color: #666 !important;
}

/* Liste groupes */
.list-group-item {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #e0e0e0;
}

.list-group-item:hover {
    background: #2a2a2a;
}

.list-group-item.active {
    background: #ff0253;
    border-color: #ff0253;
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.breadcrumb-item {
    color: #888;
}

.breadcrumb-item.active {
    color: #e0e0e0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #666;
}

.breadcrumb-item a {
    color: #ff0253;
}

.breadcrumb-item a:hover {
    color: #e00148;
}

/* Progress bars */
.progress {
    background: #2a2a2a;
}

.progress-bar {
    background: #ff0253;
}

/* Input groups */
.input-group-text {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

/* Custom checkbox et radio */
.custom-control-label::before {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #ff0253;
    border-color: #ff0253;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(255, 2, 83, 0.25);
}

/* Dropdown Bootstrap */
.dropdown-menu {
    background: #2a2a2a;
    border: 1px solid rgba(255, 2, 83, 0.2);
}

.dropdown-item {
    color: #e0e0e0;
}

.dropdown-item:hover {
    background: rgba(255, 2, 83, 0.2);
    color: #ff0253;
}

.dropdown-divider {
    border-top: 1px solid #3a3a3a;
}

/* Nav tabs */
.nav-tabs {
    border-bottom: 1px solid #2a2a2a;
}

.nav-tabs .nav-link {
    color: #888;
    border: 1px solid transparent;
}

.nav-tabs .nav-link:hover {
    color: #ff0253;
    border-color: #2a2a2a #2a2a2a #1a1a1a;
}

.nav-tabs .nav-link.active {
    color: #ff0253;
    background: #1a1a1a;
    border-color: #2a2a2a #2a2a2a #1a1a1a;
}

/* Nav pills */
.nav-pills .nav-link {
    color: #888;
}

.nav-pills .nav-link:hover {
    background: rgba(255, 2, 83, 0.15);
    color: #ff0253;
}

.nav-pills .nav-link.active {
    background: #ff0253;
    color: #fff;
}

/* Collapse / Accordion */
.card-header {
    background: #2a2a2a;
    border-bottom: 1px solid #3a3a3a;
}

.card-footer {
    background: #2a2a2a;
    border-top: 1px solid #3a3a3a;
}

/* Tooltips & Popovers */
.tooltip-inner {
    background: #2a2a2a;
    color: #e0e0e0;
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #2a2a2a;
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #2a2a2a;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #2a2a2a;
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #2a2a2a;
}

.popover {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
}

.popover-header {
    background: #1a1a1a;
    border-bottom: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.popover-body {
    color: #e0e0e0;
}

/* Spinner / Loading */
.spinner-border {
    border-color: rgba(255, 2, 83, 0.2);
    border-right-color: #ff0253;
}

.spinner-grow {
    background-color: #ff0253;
}

/* Jumbotron */
.jumbotron {
    background: #1a1a1a;
    color: #e0e0e0;
}

/* Carrousel Bootstrap */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators li {
    background-color: #666;
}

.carousel-indicators .active {
    background-color: #ff0253;
}

.carousel-caption {
    color: #e0e0e0;
}

/* Scrollbar personnalisée globale */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a #1a1a1a;
}

/* Textes utilitaires */
.text-white {
    color: #e0e0e0 !important;
}

.text-black {
    color: #1a1a1a !important;
}

/* Backgrounds utilitaires */
.bg-light {
    background-color: #2a2a2a !important;
}

.bg-dark {
    background-color: #0f0f0f !important;
}

.bg-white {
    background-color: #1a1a1a !important;
}

/* Bordures */
.border {
    border-color: #2a2a2a !important;
}

.border-top {
    border-top-color: #2a2a2a !important;
}

.border-right {
    border-right-color: #2a2a2a !important;
}

.border-bottom {
    border-bottom-color: #2a2a2a !important;
}

.border-left {
    border-left-color: #2a2a2a !important;
}

/* Shadow */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6) !important;
}

.swiper-related {
    padding-bottom: 50px;
}

/* Flèches de navigation */
.swiper-button-prev,
.swiper-button-next {
    width: 45px;
    height: 45px;
    background-color: #ff0253;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 15px;
}

.swiper-button-next {
    right: 15px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #e00148;
    box-shadow: 0 4px 12px rgba(255, 2, 83, 0.4);
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #555555 !important;
}

.swiper-button-prev.swiper-button-disabled:hover,
.swiper-button-next.swiper-button-disabled:hover {
    background-color: #555555 !important;
    box-shadow: none !important;
}

/* Double protection contre les clics */
.swiper-button-disabled * {
    pointer-events: none !important;
}

/* Pagination dots */
.swiper-pagination {
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    background-color: #4a4a4a !important;
    opacity: 1 !important;
    width: 10px;
    height: 10px;
    margin: 0 3px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    background-color: #666 !important;
}

.swiper-pagination-bullet-active {
    background-color: #ff0253 !important;
    transform: scale(1.2);
}

/* Pour mobile, adapter les positions des flèches */
@media (max-width: 992px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    
    .swiper-related {
        padding-left: 0;
        padding-right: 0;
    }
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
    background-color: #555555 !important;
    z-index: 10 !important;
}

/* ===========================
   MENU UTILISATEUR - HORIZONTAL COLLÉ
   =========================== */

.menu-user .btn-group {
    display: flex;
    width: 100%;
}

.menu-user .custom-btn {
    flex: 1;
    border: 2px solid #3a3a3a;
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    margin: 0;
    margin-left: -2px;
}

.menu-user .custom-btn:first-child {
    margin-left: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.menu-user .custom-btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.menu-user .custom-btn:hover {
    background-color: rgba(255, 2, 83, 0.1);
    border-color: #ff0253;
    color: #ff0253;
    position: relative;
    z-index: 1;
}

.menu-user .custom-btn.active {
    background: rgba(255, 2, 83, 0.15);
    border-color: #ff0253;
    color: #ff0253;
    position: relative;
    z-index: 2;
}

/* Version Mobile - Cartes avec icônes */
@media (max-width: 767px) {
    .menu-user .btn-group {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
    
    .menu-user .custom-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 0.3rem;
        border: 2px solid #3a3a3a;
        background: #1a1a1a;
        min-height: 70px;
        border-radius: 0;
        margin-left: -2px;
    }
    
    .menu-user .custom-btn:first-child {
        margin-left: 0;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }
    
    .menu-user .custom-btn:last-child {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    
    /* Icônes Bootstrap Icons */
    .menu-user .custom-btn i {
        font-size: 1.3rem;
        color: #ff0253;
        margin-bottom: 0.3rem;
        display: block;
    }
    
    .menu-user .custom-btn span {
        font-size: 0.7rem;
        font-weight: 600;
        color: #e0e0e0;
        text-align: center;
        line-height: 1.2;
    }
    
    .menu-user .custom-btn:hover {
        background: rgba(255, 2, 83, 0.08);
        border-color: #ff0253;
        position: relative;
        z-index: 1;
    }
    
    .menu-user .custom-btn.active {
        background: rgba(255, 2, 83, 0.15);
        border-color: #ff0253;
        position: relative;
        z-index: 2;
    }
    
    .menu-user .custom-btn.active span {
        color: #ff0253;
    }
}

.btn-dark.loading {
    background: #ff0253 !important;
    border-color: #ff0253 !important;
}

.btn-dark.loading i {
    display: inline-block;
    animation: spin 1s linear infinite;
    color: #fff !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #ff0253;
    background-image: none;
    border-color: #ff0253;
}

.btn-primary:focus {
    background-color: #ff0253 !important;
    box-shadow: 0 0 0 2px rgb(255 2 83 / 68%) !important;
}

.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background: #ff0253 linear-gradient(180deg, #ff0253, #ff0253) repeat-x;
    border-color: #ff0253;
    box-shadow: 0 0 0 2px rgb(255 2 83 / 68%) !important;
}

/* Alerte personnalisée pour vider le panier */
.swal-modal {
    border-radius: 10px;
}

.swal-title {
    color: #dc3545;
    font-weight: bold;
}

.swal-text {
    font-size: 16px;
    color: #555;
}

.swal-button--confirm {
    background-color: #dc3545;
    border-radius: 5px;
    padding: 10px 20px;
}

.swal-button--confirm:hover {
    background-color: #c82333;
}

.swal-button--cancel {
    background-color: #6c757d;
    border-radius: 5px;
    padding: 10px 20px;
}

.swal-button--cancel:hover {
    background-color: #5a6268;
}

/* Styles alternatifs pour Bootstrap modal */
.custom-confirm-modal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.custom-confirm-modal .modal-header {
    background-color: #dc3545;
    color: white;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.custom-confirm-modal .modal-body {
    padding: 30px;
    font-size: 16px;
}

.custom-confirm-modal .btn-danger {
    min-width: 100px;
}

.custom-confirm-modal .btn-secondary {
    min-width: 100px;
}

/* Espacement entre les boutons */
.gap-2 {
    gap: 0.5rem !important;
}

@media (max-width: 767px) {
    .d-flex.flex-wrap > .btn {
        width: 100%;
        margin-bottom: 10px;
    }

}

/* Animation plus fluide pour la suppression */
#panier-content {
    transition: opacity 0.4s ease-out;
}

.fill-blank {
    margin-bottom: 5rem;
}

/* Style pour les inputs préremplis par le navigateur (autofill) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #343a40 inset !important; /* Gris foncé en background */
    -webkit-text-fill-color: #ffffff !important; /* Texte blanc */
    box-shadow: 0 0 0 1000px #343a40 inset !important;
    caret-color: #ffffff; /* Couleur du curseur */
    transition: background-color 5000s ease-in-out 0s; /* Empêche le changement de couleur */
}

/* Pour Firefox */
input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
    background-color: #343a40 !important;
    color: #ffffff !important;
}

/* Style pour les bordures des inputs autofill (optionnel) */
input:-webkit-autofill {
    border: 1px solid #495057 !important; /* Bordure légèrement plus claire */
}

/* Animation pulse pour le panier */
.cart-link.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Style du badge panier */
.cart-link {
    position: relative;
}

/* Animation pour le badge qui apparaît */
@keyframes badgeAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.cart-badge {
    animation: badgeAppear 0.3s ease-out;
}

/* ===== Bouton Quick Add ===== */
.btn-quick-add {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 50px;
    height: 50px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ff0253 !important;
    color: white !important;
    border: none !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 2, 83, 0.3);
    text-decoration: none !important;
}

.btn-quick-add:hover {
    background-color: #e60240 !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 2, 83, 0.5);
    color: white !important;
}

.btn-quick-add:active {
    transform: scale(0.95);
}

.btn-quick-add:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-quick-add i {
    margin: 0;
    vertical-align: middle;
}

/* ===== Notifications Toast ===== */
.alert-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
    border-radius: 4px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-notification.alert-success {
    background-color: #28a745;
    color: white;
    border: none;
}

.alert-notification.alert-danger {
    background-color: #dc3545;
    color: white;
    border: none;
}

.alert-notification i {
    margin-right: 8px;
}

/* Animation pour notification */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Override des styles btn-primary pour le Quick Add */
a.btn-quick-add.btn-primary {
    background-color: #ff0253 !important;
    border-color: #ff0253 !important;
}

a.btn-quick-add.btn-primary:hover,
a.btn-quick-add.btn-primary:active,
a.btn-quick-add.btn-primary:focus {
    background-color: #e60240 !important;
    border-color: #e60240 !important;
    color: white !important;
}

/* Responsive - Ajuster la taille sur mobile */
@media (max-width: 576px) {
    .btn-quick-add {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: 8px;
        right: 8px;
    }
    
    .alert-notification {
        min-width: 250px;
        right: 10px;
        left: 10px;
        top: 90px;
    }
}

/* ===== Notifications Toast (Complément) ===== */

/* Style pour les messages de stock avec plusieurs lignes */
.alert-notification strong {
    display: block;
    margin-bottom: 5px;
}

.alert-notification br {
    display: block;
    content: "";
    margin-top: 5px;
}
/* 
===========================
   RESPONSIVE MOBILE - 2 COLONNES TITRE BAS
   ===========================

Sur mobile, ajuster la carte produit
@media (max-width: 575px) {
    
    Colonnes à 2 sur mobile
    .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    Réduction des marges
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    Design minimaliste de la carte
    .product-minimal {
        border-radius: 0.75rem;
        padding: 0;
    }
    
    Image plus compacte
    .img-wrapper img {
        height: 150px;
        object-fit: cover;
    }
    
    Corps de la carte plus compact
    .product-minimal .card-body {
        padding: 0.75rem !important;
    }
    
    Titre du produit - 2 lignes max
    .product-name {
        font-size: 0.8rem !important;
        font-weight: 600;
        line-height: 1.2;
        height: 2.4em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 0.5rem !important;
    }
    
    Cacher la description sur mobile
    .product-description {
        display: none !important;
    }
    
    Badge promo plus petit
    .promo-badge {
        top: 8px;
        right: 8px;
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }
    
    Footer produit simplifié
    .product-footer {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    Container prix
    .price-container {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    Prix barré plus petit
    .old-price {
        font-size: 0.7rem !important;
        text-decoration: line-through;
        margin-bottom: 0 !important;
    }
    
    Prix actuel
    .price {
        font-size: 0.85rem !important;
        font-weight: 700;
    }
    
    Cacher le bouton "Voir" sur mobile
    .btn-view.desktop-only,
    .btn-disabled.desktop-only {
        display: none !important;
    }
    
    Ruban rupture ajusté
    .product-minimal .stock-label {
        top: 15px;
        left: -40px;
        font-size: 0.65rem;
        padding: 4px 45px;
    }
    
    Hover effect réduit sur mobile
    .product-minimal:hover {
        transform: translateY(-2px);
    }
    
    Réduire l'espacement du formulaire de recherche
    .mb-4.form-row .col-4 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .mb-4.form-row {
        margin-bottom: 1rem !important;
    }
    
    .form-control {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .btn-light {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

Tablette - 3 colonnes au lieu de 4
@media (min-width: 576px) and (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    Description visible sur tablette
    .product-description {
        display: block !important;
    }
    
    Bouton "Voir" visible sur tablette
    .btn-view.desktop-only,
    .btn-disabled.desktop-only {
        display: inline-block !important;
    }
}

Desktop - comportement normal
@media (min-width: 768px) {
    Description visible
    .product-description {
        display: block !important;
    }
    
    Bouton "Voir" visible
    .btn-view.desktop-only,
    .btn-disabled.desktop-only {
        display: inline-block !important;
    }
    
    Footer avec alignement horizontal
    .product-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-container {
        flex: 1;
    }
}

Amélioration de la lisibilité du badge promo
.badge-danger.promo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {
    .badge-danger.promo-badge {
        top: 8px;
        right: 8px;
        font-size: 0.65rem;
        padding: 2px 6px;
    }
} */

/* ===========================
   RESPONSIVE MOBILE - 2 COLONNES
   =========================== */

/* Sur mobile, ajuster la carte produit */
@media (max-width: 575px) {
    
    /* Colonnes à 2 sur mobile */
    .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Réduction des marges */
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    /* Design minimaliste de la carte */
    .product-minimal {
        border-radius: 0.75rem;
        padding: 0;
    }
    
    /* Wrapper image en position relative pour les éléments superposés */
    .img-wrapper {
        position: relative;
    }
    
    /* Image plus compacte */
    .img-wrapper img {
        height: 150px;
        object-fit: cover;
    }
    
    /* Corps de la carte plus compact */
    .product-minimal .card-body {
        padding: 0.75rem !important;
    }
    
    /* Titre du produit - superposé sur l'image en haut à gauche */
    .product-name {
        position: absolute;
        top: 8px;
        left: 8px;
        right: 8px;
        font-size: 0.75rem !important;
        font-weight: 700;
        line-height: 1.5;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 0 !important;
        background: rgba(26, 26, 26, 0.8);
        padding: 6px 8px;
        border-radius: 6px;
        color: #e0e0e0;
        z-index: 3;
        backdrop-filter: blur(4px);
        width: auto;
    }
    
    /* Cacher la description sur mobile */
    .product-description {
        display: none !important;
    }
    
    /* Badge promo plus petit */
    .promo-badge {
        top: 8px;
        right: 8px;
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }
    
    /* Footer produit simplifié */
    .product-footer {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    /* Container prix */
    .price-container {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    /* Prix barré plus petit */
    .old-price {
        font-size: 0.7rem !important;
        text-decoration: line-through;
        margin-bottom: 0 !important;
    }
    
    /* Prix actuel */
    .price {
        font-size: 0.85rem !important;
        font-weight: 700;
    }
    
    /* Cacher le bouton "Voir" sur mobile */
    .btn-view.desktop-only,
    .btn-disabled.desktop-only {
        display: none !important;
    }
    
    /* Ruban rupture ajusté */
    .product-minimal .stock-label {
        top: 15px;
        left: -40px;
        font-size: 0.65rem;
        padding: 4px 45px;
    }
    
    /* Hover effect réduit sur mobile */
    .product-minimal:hover {
        transform: translateY(-2px);
    }
    
    /* Réduire l'espacement du formulaire de recherche */
    .mb-4.form-row .col-4 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .mb-4.form-row {
        margin-bottom: 1rem !important;
    }
    
    .form-control {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .btn-light {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Tablette - 3 colonnes au lieu de 4 */
@media (min-width: 576px) and (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    /* Description visible sur tablette */
    .product-description {
        display: block !important;
    }
    
    /* Bouton "Voir" visible sur tablette */
    .btn-view.desktop-only,
    .btn-disabled.desktop-only {
        display: inline-block !important;
    }
}

/* Desktop - comportement normal */
@media (min-width: 768px) {
    /* Description visible */
    .product-description {
        display: block !important;
    }
    
    /* Bouton "Voir" visible */
    .btn-view.desktop-only,
    .btn-disabled.desktop-only {
        display: inline-block !important;
    }
    
    /* Footer avec alignement horizontal */
    .product-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-container {
        flex: 1;
    }
}

/* Amélioration de la lisibilité du badge promo */
.badge-danger.promo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {
    .badge-danger.promo-badge {
        top: 59%;
        right: 8px;
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

/* VERSION DESKTOP - Ruban rupture original */
@media (min-width: 768px) {
    .product-minimal .stock-label {
        position: absolute;
        top: 20px;
        left: -45px;
        background: linear-gradient(145deg, #ff4d5a, #ff2b42);
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.75rem;
        padding: 5px 50px;
        transform: rotate(-45deg);
        box-shadow: 0 2px 6px rgba(255, 77, 90, 0.4);
        z-index: 10;
        letter-spacing: 1px;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .product-minimal .stock-label::after {
        content: '';
        position: absolute;
        right: -10px;
        top: 0;
        width: 10px;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transform: skewX(-45deg);
    }
}

/* VERSION MOBILE - Ruban rupture en bas à droite */
@media (max-width: 767px) {
    .product-minimal .stock-label {
        position: absolute;
        top: auto;
        bottom: 8px;
        right: 8px;
        left: auto;
        background: #ff4d4d;
        color: white;
        font-size: 0.7rem;
        padding: 5px 10px;
        border-radius: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 5;
        transform: none;
        box-shadow: none;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    /* Supprimer le pseudo-élément ::after en mobile */
    .product-minimal .stock-label::after {
        display: none;
    }
}

.product-description-wrapper {
    position: relative;
}

.voir-plus-btn {
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.voir-plus-btn:hover {
    text-decoration: underline !important;
}

.voir-plus-btn i {
    font-size: 1rem;
}

/* Responsive */
@media (min-width: 768px) {
    .product-description-content {
        display: block !important;
    }
    
    .voir-plus-btn {
        display: none !important;
    }
}

/* Modal personnalisé */
#paymentSuccessModal .payment-success-modal .modal-content {
    background: #1a1a1a;
    border: 2px solid #28a745;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.3);
}

/* Wrapper icône */
#paymentSuccessModal .success-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icône de succès - Cercle vert */
#paymentSuccessModal .success-checkmark {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #28a745, #20c05f);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    animation: bounceIn 0.8s ease-out;
}

/* Cercle blanc intérieur */
#paymentSuccessModal .success-checkmark-inner {
    width: 85px;
    height: 85px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleUp 0.6s ease-out 0.4s both;
}

#paymentSuccessModal .success-checkmark-inner i {
    font-size: 3.5rem;
    color: #28a745;
    font-weight: 900;
    line-height: 1;
}

/* Titre */
#paymentSuccessModal .payment-success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Sous-titre */
#paymentSuccessModal .payment-success-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* Bouton */
#paymentSuccessModal .payment-success-modal .btn-primary {
    background: #ff0253;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

#paymentSuccessModal .payment-success-modal .btn-primary:hover {
    background: #e00148;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 2, 83, 0.4);
}

/* Animations */
@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation continue de pulse pour l'icône */
#paymentSuccessModal .success-checkmark {
    animation: bounceIn 0.8s ease-out, pulsate 2s ease-in-out 1s infinite;
}

@keyframes pulsate {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6);
    }
}

/* Responsive */
@media (max-width: 576px) {
    #paymentSuccessModal .success-checkmark {
        width: 100px;
        height: 100px;
    }
    
    #paymentSuccessModal .success-checkmark-inner {
        width: 70px;
        height: 70px;
    }
    
    #paymentSuccessModal .success-checkmark-inner i {
        font-size: 2.8rem;
    }
    
    #paymentSuccessModal .payment-success-title {
        font-size: 1.5rem;
    }
    
    #paymentSuccessModal .payment-success-subtitle {
        font-size: 1rem;
    }
}