/* ===========================================
   TABLE DES MATIÈRES
   ===========================================
   1. VARIABLES ET CONFIGURATION
   2. STYLES DE BASE
   3. HEADER ET NAVIGATION
   4. MENU MOBILE
   5. FOOTER
   6. BOUTONS
   7. FORMULAIRES ET INPUTS
   8. ALERTES ET MESSAGES
   9. ÉLÉMENTS DE STRUCTURE
   10. CARDS ET COMPOSANTS
   11. PRODUITS
   12. FAQ / ACCORDION
   13. AVIS / REVIEWS
   14. ANIMATIONS
   15. UTILITAIRES
   =========================================== */

/* ===========================================
   1. VARIABLES ET CONFIGURATION
   =========================================== */

:root,
[data-bs-theme="light"] {
    /* Couleurs principales */
    --bs-primary: #000;
    --bs-primary-rgb: 0, 0, 0;
    --bs-light: #eee;
    --bs-light-rgb: 238, 238, 238;
    /* Texte et liens */
    --bs-body-color: rgba(0, 0, 0, .85);
    --bs-link-color: rgba(0, 0, 0, .8);
    --bs-link-hover-color: #000;
    /* Navigation */
    --bs-nav-link-color: rgba(0, 0, 0, .8);
    --bs-nav-link-hover-color: #000;
    --bs-nav-link-active-color: #000;
    --bs-nav-link-font-size: .85rem;
    /* Dropdown */
    --bs-dropdown-link-color: rgba(0, 0, 0, .8);
    --bs-dropdown-link-hover-color: #000;
    --bs-dropdown-link-active-color: #000;
    --bs-dropdown-link-font-size: .85rem;
    /* Typographie */
    --bs-body-font-size: .9rem;
    --bs-body-line-height: 1.3rem;
    --bs-body-font-family: "Poppins", sans-serif;
    /* Border radius */
    --bs-border-radius: 1rem;
    /* Ombres */
    --bs-box-shadow: 0 8px 20px rgba(0, 0, 0, .09);
    --bs-box-shadow-sm: 0 4px 8px rgba(0, 0, 0, .09);
    --bs-box-shadow-lg: 0 12px 30px rgba(0, 0, 0, .18);
    /* Focus */
    --bs-focus-ring-color: rgba(var(--bs-primary-rgb), 0.25);
    --bs-focus-ring-width: 0.25rem;
}

/* ===========================================
   2. STYLES DE BASE
   =========================================== */

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden
}

body {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    font-size: var(--bs-body-font-size);
    line-height: var(--bs-body-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x:hidden
}

body.menu-open {
    overflow: hidden;
}

hr {
    color: #dee2e6;
    opacity: 1;
}

a {
    color: var(--bs-primary);
    text-decoration: none;
}

/* Fonts */
@font-face {
    font-family: "Trend Sans";
    src: url("../../fonts/TrendSans.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.ff-2 {
    font-family: "Trend Sans";
}

/* ===========================================
   3. HEADER ET NAVIGATION
   =========================================== */

/* Header */
header {
    position: fixed;
    width:100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Navigation desktop */
.desktop-nav .nav-item:hover {
    background: var(--bs-light);
    border-radius: var(--bs-border-radius);
}

.nav-link {
    color: var(--bs-nav-link-color);
    transition: color 0.2s ease;
    font-weight: 400;
    font-size: 12px;
    font-family: Trend Sans;
}

    .nav-link i {
        font-size: 1.1rem;
    }

.nav-link:hover,
.nav-link:active,
.nav-link:focus {
        color: var(--bs-nav-link-hover-color);
    }

/* Dropdown menu */
.dropdown-menu {
    box-shadow: var(--bs-box-shadow-lg);
    border: 1px solid var(--bs-light);
    border-radius: .9rem;
    padding: 2px 5px;
    margin-top: 5px !important;
    min-width: 160px;
    transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.3, 1), opacity 0.25s cubic-bezier(0.2, 0.6, 0.3, 1) !important;
    opacity: 0;
    transform: scale(0.9) rotateX(-5deg);
}

.dropdown-menu.show {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
}

.dropdown-header {
    display: block;
    padding: .4rem .8rem 0 .8rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--bs-primary);
    white-space: nowrap;
}

.dropdown-divider {
    border-top: 1px solid var(--bs-light);
    margin-bottom:0
}

.dropdown-item {
    color: var(--bs-dropdown-link-color);
    font-size: var(--bs-dropdown-link-font-size);
    padding: 7px 10px;
    font-weight: 500;
    border-radius: .5rem;
    transition: all 0.15s ease;
    margin: 6px 0;
}

.dropdown-item:hover {
    color: var(--bs-dropdown-link-hover-color);
    background: #f0f0f0;
}

.dropdown-item.active,
.dropdown-item.active:hover {
    background: var(--bs-light);
    color: var(--bs-primary);
    font-weight: 600;
    pointer-events: none;
}

/* Style du déclencheur (Icône + Badge) */
.cart-trigger {
    position: relative;
    padding: 8px;
    font-size: 1.2rem;
    color: #1d1d1f;
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 0;
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: 400;
    padding: 2px 2px;
    border-radius: 10px;
    min-width: 20px;
    height: 20px;
    line-height: 16px;
}

/* Le Menu Dropdown */
.custom-dropdown-menu {
    width: 320px;
    padding: 20px;
    border: none;
    border-radius: 18px;
    background: #fff;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-top: 10px !important;
}

/* Header */
.custom-dropdown-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    padding: 0 5px;
}

/* Items */
.custom-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.item-name {
    display: block;
    font-weight: 500;
    color: #1d1d1f;
    font-size: 14px;
}

.item-meta {
    font-size: 12px;
    color: #86868b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.color-swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.item-price {
    font-weight: 500;
    font-size: 14px;
    color: #1d1d1f;
}

/* More indicator */
.custom-dropdown-more {
    text-align: center;
    font-size: 12px;
    color: #0066cc;
    padding: 10px 0;
}

/* Footer & Button */
.custom-dropdown-footer {
    margin-top: 15px;
}

.custom-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 5px;
    font-weight: 600;
    font-size: 16px;
}


/* Empty State */
.custom-empty-state {
    text-align: center;
    padding: 30px 10px;
    color: #86868b;
}

    .custom-empty-state i {
        font-size: 2rem;
        margin-bottom: 10px;
        display: block;
    }

/* Dropdown langues */
.language-dropdown-wrapper {
    display: inline-block;
    perspective: 1000px;
}

.dropdown-toggle {
    padding: 7px 15px !important;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease-in-out;
}

.dropdown-toggle::after {
    margin-left: auto;
    border-top-color: #666666;
    transition: transform 0.2s ease-in-out;
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

.flag-emoji {
    font-size: 1rem;
    line-height: 1;
}

/* ===========================================
   4. MENU MOBILE
   =========================================== */

/* Hamburger animation */
.hamburger {
    width: 19px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 1px;
    width: 100%;
    background-color: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Off-canvas backdrop */
.offcanvas-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    backdrop-filter: blur(5px);
}

.offcanvas-backdrop-custom.show {
    opacity: 1;
    visibility: visible;
}

/* Off-canvas container */
.offcanvas-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #f8f9fa;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.offcanvas-custom.show {
    transform: translateX(0);
}

.offcanvas-custom-body {
    padding: 4rem 0 2rem;
}

/* Bouton de fermeture */
.offcanvas-close-btn-floating {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8) rotate(-90deg);
}

.offcanvas-custom.show .offcanvas-close-btn-floating {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.2s;
}

.offcanvas-close-btn-floating:hover {
    transform: scale(1.1) rotate(90deg);
}

.offcanvas-close-btn-floating:active {
    transform: scale(0.95) rotate(90deg);
}

.offcanvas-close-btn-floating i {
    font-size: 1.25rem;
    color: var(--bs-body-color);
    transition: color 0.2s ease;
}

.offcanvas-close-btn-floating:hover i {
    color: var(--bs-primary);
}

/* Navigation mobile */
.mobile-nav {
    padding: 0;
}

.mobile-nav .nav {
    gap: 0;
}

.mobile-nav .nav-item {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.offcanvas-custom.show .mobile-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.offcanvas-custom.show .mobile-nav .nav-item:nth-child(2) { animation-delay: 0.15s; }
.offcanvas-custom.show .mobile-nav .nav-item:nth-child(3) { animation-delay: 0.2s; }
.offcanvas-custom.show .mobile-nav .nav-item:nth-child(4) { animation-delay: 0.25s; }
.offcanvas-custom.show .mobile-nav .nav-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    color: #1d1d1f;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .mobile-nav .nav-link:hover,
    .mobile-nav .nav-link:active,
    .mobile-nav .nav-link:focus {
        background-color: #f8f9fa;
        padding-left: 2.5rem;
    }

.mobile-nav .nav-link span {
    flex: 1;
}

.mobile-nav .bi-chevron-right {
    color: var(--bs-body-color);
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav .nav-link:hover .bi-chevron-right,
.mobile-nav .nav-link:focus .bi-chevron-right {
    transform: translateX(5px);
    color: var(--bs-primary);
}

/* ===========================================
   5. FOOTER
   =========================================== */

.footer {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: var(--bs-body-color);
    margin-top:110px
}

@media only screen and (max-width:640px) {
    .footer {
        margin-top: 70px;
    }
}

@media only screen and (max-width:480px) {
    .footer {
        margin-top: 60px;
    }
}

.footer-title {
    font-family: 'Trend Sans';
}

.nav-list-footer {
    list-style: none;
    padding-left: 0;
}

.nav-list-footer li {
    margin-bottom: 10px;
    cursor: pointer;
}

.nav-list-footer li a {
    color: var(--bs-gray-800);
}

.nav-list-footer li:hover a {
    color: var(--bs-primary);
}

.footer-link {
    font-size: 0.875rem;
    color: var(--bs-body-color);
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0.5rem;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--bs-primary);
}

.footer-link:hover::after {
    width: calc(100% - 1rem);
}

/* Modes de paiement */
.payment-methods {
    display: flex;
    gap: 8px;
}

.payment-methods img {
    background: var(--bs-light);
    padding: .2rem;
    border-radius: .3rem;
    width: 40px;
}

@media (max-width: 767.98px) {
    .footer-link {
        padding: -0.1rem 1rem;
    }
}

/* ===========================================
   6. BOUTONS
   =========================================== */

.btn-custom {
    color: #fff;
    background: linear-gradient(90deg, #000 0%, #404040 100%);
    background-size: 200% 100%;
    background-position: left center;
    padding: 0.7rem 1.5rem;
    font-family: "Trend Sans";
    border-radius: 1.8rem;
    border: 1px solid var(--bs-primary);
    font-size: 12px;
    line-height:22px;
    transition: background-position 0.8s ease;
}

    .btn-custom:hover {
        background-position: right center;
        border: 1px solid var(--bs-primary);
        color: var(--bs-white);
    }

.btn-custom:disabled {
    color: #fff;
    opacity:0.35
}

.btn-custom-white {
    color: var(--bs-primary);
    background: linear-gradient(90deg, #fff 0%, #eee 100%);
    background-size: 200% 100%;
    background-position: left center;
    padding: 0.7rem 1.5rem;
    font-family: "Trend Sans";
    border-radius: 1.8rem;
    border: 1px solid var(--bs-white);
    font-size: 12px;
    line-height: 22px;
    transition: background-position 0.8s ease;
}

    .btn-custom-white:hover {
        background-position: right center;
        border: 1px solid var(--bs-white);
        color: var(--bs-primary);
    }

.btn-custom-danger {
    color: var(--bs-white);
    background: #dc3545;
    padding: 0.7rem 1.5rem;
    font-family: "Trend Sans";
    border-radius: 1.8rem;
    border: 1px solid var(--bs-danger);
    font-size: 12px;
    line-height: 22px;
}

    .btn-custom-danger:hover {
        background: #dc3545;
        border: 1px solid var(--bs-danger);
        color: var(--bs-white);
    }

.btn-outline-custom {
    color: var(--bs-primary);
    background: transparent;
    padding: 0.7rem 1.5rem;
    font-family: "Trend Sans";
    border-radius: 1.8rem;
    border: 1px solid var(--bs-primary);
    font-size: 12px;
    line-height: 22px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--bs-primary);
    color: #fff;
    border: 1px solid var(--bs-primary);
}

@media (max-width: 580px) {
    .btn-custom {
        font-size: 11px;
        line-height: 23px;
    }

    .btn-custom-white {
        font-size: 11px;
        line-height: 23px;
    }

    .btn-outline-custom {
        font-size: 11px;
        line-height: 23px;
    }
}

.btn-primary {
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

.nav-link:focus-visible {
    outline: 0;
    box-shadow:none;
    border:0
}

/* ===========================================
   7. FORMULAIRES ET INPUTS
   =========================================== */

.form-control,
.form-select {
    font-size: 13px;
    color: #1d1d1f;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    transition: all 0.18s ease;
}

textarea.form-control {
    height: auto!important;
    padding: 16px;
    min-height: 200px!important;
    resize: vertical;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
    outline: none;
}

.form-control:disabled,
.form-select:disabled {
    background-color: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.45);
    cursor: not-allowed;
}

.form-floating > .form-control,
.form-floating > .form-select {
    padding: 18px 16px 6px;
}

.form-floating > label {
    padding: 16px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.45);
    transition: all 0.18s ease;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--bs-primary);
    transform: scale(0.85) translateY(-8px);
}

.form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    transition: all 0.18s ease;
}

    .form-check-input:checked {
        background-color: var(--bs-primary);
        border-color: var(--bs-primary);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
    }

    .form-check-input[type="radio"] {
        border-radius: 50%;
    }

.form-check-label {
    margin-left: 8px;
    font-size: 14px;
    line-height:14px;
}

.form-switch .form-check-input {
    width: 42px;
    height: 24px;
    border-radius: 24px;
    background-color: rgba(0, 0, 0, 0.2);
}

    .form-switch .form-check-input:checked {
        background-color: var(--bs-primary);
    }

.input-group-text {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    font-size: 14px;
    color: #1d1d1f;
}


style >
.color-option-wrapper {
    position: relative;
}

.color-radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.color-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #d2d2d7;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #ffffff;
    min-width: 100px;
    text-align: center;
}

    .color-option-label:hover:not(.out-of-stock) {
        border-color: var(--bs-primary);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

.color-radio-input:checked + .color-option-label {
    border-color: var(--bs-primary);
    background-color: #f5f5f7;
}

.color-option-label.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #f5f5f7;
}

.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.color-name {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.stock-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #198754;
    color: white;
    letter-spacing: 0.02em;
}

    .stock-badge.out {
        background-color: #ff3b30;
    }

.color-error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    color: #d32f2f;
    font-size: 13px;
}

    .color-error-message i {
        font-size: 16px;
    }

@media (max-width: 576px) {
    .color-option-label {
        min-width: 80px;
        padding: 10px 12px;
    }

    .color-circle {
        width: 28px;
        height: 28px;
    }

    .color-name {
        font-size: 12px;
    }
}

</style >
/* ===========================================
   8. ALERTES ET MESSAGES
   =========================================== */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-danger:empty {
    display: none !important;
}

/* Messages d'erreur personnalisés */
.alert-custom {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    animation: slideInAlert 0.4s ease-out;
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-custom-danger {
    background: linear-gradient(135deg, #ffe5e5 0%, #ffcccc 100%);
    border-left: 4px solid #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

.alert-custom-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.875rem;
    color: #fff;
    font-size: 1.1rem;
}

.alert-custom-content {
    flex: 1;
    color: #721c24;
}

.alert-custom-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.alert-custom-content ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.2rem;
    font-size: 0.875rem;
}

.alert-custom-content .validation-summary-errors {
    margin: 0;
    padding: 0;
    list-style: none;
}

.alert-custom-content .validation-summary-errors li {
    margin-bottom: 0.25rem;
}

/* Messages de validation inline */
.validation-message {
    display: flex;
    align-items: center;
    font-size: 0.813rem;
    font-weight: 500;
    color: #dc3545;
    margin-top: 0.35rem;
    padding: 0.4rem 0.6rem;
    background: #ffe5e5;
    border-radius: 6px;
    animation: fadeInValidation 0.3s ease-in;
}

@keyframes fadeInValidation {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.validation-message i {
    font-size: 0.9rem;
    margin-right: 0.35rem;
}

.field-validation-error:not(.validation-message) {
    display: none !important;
}

.text-danger {
    font-size: 0.875rem;
}

/* ===========================================
   9. ÉLÉMENTS DE STRUCTURE
   =========================================== */

@media only screen and (max-width:575px) {
    .container {padding:0 1.5rem}
}

section {
    margin-top: 90px;
}

section.p-section {
    padding: 90px 0;
}

.title {
    font-size: 2rem;
    font-family: 'Trend Sans';
    font-weight: 700;
    color: var(--bs-primary);
    letter-spacing: -0.03em;
}

#home-section {
    margin-top: 54px;
    min-height: 760px;
    height: calc(100vh - 54px);
    max-height: 840px;
    background: #ffffff;
    background: -webkit-linear-gradient(160deg,rgba(255, 255, 255, 1) 0%, rgba(204, 204, 204, 1) 100%);
    background: -moz-linear-gradient(160deg,rgba(255, 255, 255, 1) 0%, rgba(204, 204, 204, 1) 100%);
    background: linear-gradient(160deg,rgba(255, 255, 255, 1) 0%, rgba(204, 204, 204, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#FFFFFF", endColorstr="#CCCCCC", GradientType=0 );
    display: flex;
    align-items: end;
}

.home-section-logo {
    width: 350px;
}

.home-section-product {
    width: 800px;
    margin-top: 80px;
    margin-bottom: 20px;
}

/* Section avec image de fond */
.section-img {
    background-size: cover;
    background-repeat: no-repeat;
    height: 700px;
}

@media only screen and (max-width:992px) {
    #home-section {
        margin-top: 48px;
        min-height: 680px;
        max-height: 740px
    }
    .home-section-logo {
        width: 320px;
    }
    .home-section-product {
        width: 680px;
        margin-top: 80px;
    }

    /* Section avec image de fond */
    .section-img {
        height: 450px;
    }
}

@media only screen and (max-width:640px) {
    section {
        margin-top: 70px;
    }

        section.p-section {
            padding: 70px 0;
        }

    /* Section avec image de fond */
    .section-img {
        height: 400px;
    }

    #home-section {
        min-height: 570px;
        max-height: 640px;
    }
    .home-section-logo {
        width: 280px;
    }
    .home-section-product {
        width: 440px;
        margin-top: 60px;
        margin-bottom: 15px;
    }
    .title {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width:480px) {
    section {
        margin-top: 60px;
    }

        section.p-section {
            margin-top: 0;
            padding: 60px 0;
        }

    #home-section {
        min-height: 550px;
        max-height: 620px;
    }

    .home-section-logo {
        width: 240px;
    }

    .home-section-product {
        width: 330px;
        margin-top: 80px;
    }
}

/* ===========================================
   10. CARDS ET COMPOSANTS
   =========================================== */

/* About cards - Grid */
.home-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    margin-top: 40px;
}

.home-about-card {
    border-radius: 1.8rem;
    min-height: 540px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.home-about-card-content {
    padding: 25px;
}

.home-about-card.light {
    background-color: var(--bs-light);
    border: 1px solid #e3e3e3;
}

.home-about-card.primary {
    background-color: var(--bs-primary);
}

.home-about-card-subtitle {
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 0;
}

.home-about-card.light .home-about-card-subtitle {
    color: var(--bs-primary);
}

.home-about-card.primary .home-about-card-subtitle {
    color: var(--bs-gray-500);
}

.home-about-card-title {
    font-size: 28px;
    line-height: 38px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
}

.home-about-card.light .home-about-card-title {
    color: var(--bs-primary);
}

.home-about-card.primary .home-about-card-title {
    color: var(--bs-white);
}

.home-about-card-text {
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
    margin-top: 5px;
    margin-bottom: 0px;
}

.home-about-card.light .home-about-card-text {
    color: var(--bs-body-color);
}

.home-about-card.primary .home-about-card-text {
    color: var(--bs-gray-500);
}

.home-about-card-img {
    width: 100%;
    margin-top: auto;
    border-bottom-left-radius: 1.8rem;
    border-bottom-right-radius: 1.8rem;
}

/* About cards - Carousel mobile */
.home-about-carousel-container {
    display: none;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 40px;
    overflow: hidden;
}

.home-about-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 20px;
    padding: 0px 30px;
}

.home-about-carousel-track::-webkit-scrollbar {
    display: none;
}

.home-about-carousel-track .home-about-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    max-width: 400px;
}

.home-about-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d1d6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--bs-primary);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .home-about-grid {
        display: none;
    }
    .home-about-carousel-container {
        display: block;
    }
}

@media (max-width: 576px) {
    .home-about-carousel-track .home-about-card {
        flex: 0 0 90%;
    }
}

@media only screen and (max-width:480px) {
    .home-about-carousel-container {
        margin-top: 30px;
    }

    .home-about-carousel-track {
        padding: 0px 1.5rem;
    }
    .home-about-card {
        min-height: 420px;
    }
    .home-about-card-title {
        font-size: 23px;
        line-height: 33px;
    }
    .home-about-card-text {
        font-size: 18px;
        line-height: 28px;
    }
}

/* Product cards stack - REGLAGES STRUCTURE UNIQUEMENT */
.home-products-stack {
    position: relative;
    width: 100%;
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Changé de hidden à visible pour ne pas couper les ombres ou les cartes décalées */
}

.home-product-card-wrapper {
    width: 100%;
    max-width: 640px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-product-card-wrapper.active {
    position: relative; /* Prend sa place naturelle et définit la hauteur du stack */
    z-index: 3;
    transform: scale(1) translateX(0);
    opacity: 1;
    filter: blur(0);
}

.home-product-card-wrapper.left {
    position: absolute; /* Sort du flux pour se superposer */
    z-index: 1;
    transform: scale(0.90) translateX(-45%) rotate(0deg);
    opacity: 0.3;
    filter: blur(4px);
    pointer-events: none;
}

.home-product-card-wrapper.right {
    position: absolute; /* Sort du flux pour se superposer */
    z-index: 1;
    transform: scale(0.90) translateX(45%) rotate(0deg);
    opacity: 0.3;
    filter: blur(4px);
    pointer-events: none;
}

/* VOS STYLES DE DESIGN */
.home-product-card {
    background: var(--bs-light);
    padding: 60px 25px 0 25px;
    border-radius: 1.8rem;
    border: 1px solid #e3e3e3;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.06);
}

.home-product-card-color-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px auto
}

    .home-product-card-color-options > .color-dot {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        transition: transform 0.2s ease;
    }

.home-product-card-price {
    font-family: 'Trend Sans', -custom-system, BlinkMacSystemFont, sans-serif;
}

.home-product-card-img {
    width: 460px;
    margin-top: 50px;
    margin-bottom: 20px;
}

/* RESPONSIVE (INCHANGÉ SAUF SUPPRESSION MIN-HEIGHT) */
@media (max-width: 992px) {
    .home-products-stack {
        padding: 0 30px
    }
    .home-product-card-wrapper.left,
    .home-product-card-wrapper.right {
        transform: scale(0.90) translateX(0) rotate(0);
        opacity: 0.3;
        filter: blur(4px);
    }
}

@media (max-width: 576px) {

    .home-product-card {
        padding: 40px 20px 0 20px;
        border-radius:1.5rem
    }

    .home-product-card-wrapper.left,
    .home-product-card-wrapper.right {
        display: none;
    }

    @media only screen and (max-width:480px) {
        .home-products-stack {
            margin-top: 30px;
            padding:0 1.5rem
        }
    }
}

/* Login container */
.login-container {
    margin-top: 54px;
    min-height: 700px;
    height: calc(98vh - 54px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.login-header {
    text-align: center;
}


/* ===========================================
   11. PRODUITS
   =========================================== */

/* Viewer 360° */
.viewer-360-canvas {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

@media only screen and (max-width:540px) {
    .viewer-360-canvas {
        min-height: 300px;
    }
}

@media only screen and (max-width:480px) {
    .viewer-360-canvas {
        min-height: 280px;
    }
}


.viewer-360-canvas:active {
    cursor: grabbing;
}

#rotationCanvas {
    max-width: 100%;
    height: auto;
    display: block;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-overlay.hidden {
    display: none;
}

.viewer-controls {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Galerie produit */
#mainProductImage {
    transition: opacity 0.3s ease;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

#mainProductImage:hover {
    opacity: 0.95;
}

/* Carrousel produit */
.product-carousel {
    position: relative;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.product-carousel-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.carousel-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    font-size: 1rem;
    color: #fff;
    transition: background-color 0.3s ease;
}

.carousel-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    pointer-events: none;
    z-index: 5;
}

.badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.4rem;
    text-align: center;
    font-weight: 400;
}

#colorRequiredMessage {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

#maxQuantityMessage {
    color: #000;
    font-weight: 500;
    font-size: 0.875rem;
    animation: fadeInMessage 0.4s ease;
    background-color: var(--bs-light);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #d0d0d0;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox */

.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    box-shadow: 0 0 3rem rgba(255, 255, 255, 0.1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
    padding: 0.75rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0.5rem;
    max-width: 80%;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-nav:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
    .lightbox-nav {
        padding: 0.75rem 1rem;
        font-size: 1.2rem;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-caption {
        font-size: 0.9rem;
        bottom: 15px;
        padding: 0.5rem 1rem;
    }
    .lightbox-counter {
        top: 15px;
        font-size: 0.85rem;
    }
}

img[loading="lazy"] {
    animation: fadeIn 0.3s ease-in;
}

/* ===========================================
   12. FAQ / ACCORDION
   =========================================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-flush .accordion-collapse {
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-dark .accordion-flush .accordion-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

    .faq-dark .accordion-flush .accordion-item:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .faq-dark .accordion-flush .accordion-item:has(.accordion-button:not(.collapsed)) {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.08);
    }

.faq-dark .accordion-flush .accordion-button {
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.4rem;
    font-weight: 600;
    padding: 25px 30px;
    border: none;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

    .faq-dark .accordion-flush .accordion-button:hover {
        color: rgba(255, 255, 255, 0.85);
    }

    .faq-dark .accordion-flush .accordion-button:not(.collapsed) {
        background: transparent;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

.faq-dark .accordion-flush .accordion-body {
    padding: 30px 25px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.faq-dark .accordion-flush .accordion-button::after {
    content: '';
    background-image: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 0v12M0 6h12' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.faq-dark .accordion-flush .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
    border-color: rgba(255, 255, 255, 0.6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.9)' d='M6 0v12M0 6h12' stroke='rgba(255,255,255,0.9)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq-dark .accordion-flush .accordion-button:hover::after {
    border-color: rgba(255, 255, 255, 0.5);
}

.accordion-flush .accordion-item:nth-child(1) { animation-delay: 0.05s; }
.accordion-flush .accordion-item:nth-child(2) { animation-delay: 0.1s; }
.accordion-flush .accordion-item:nth-child(3) { animation-delay: 0.15s; }
.accordion-flush .accordion-item:nth-child(4) { animation-delay: 0.2s; }
.accordion-flush .accordion-item:nth-child(5) { animation-delay: 0.25s; }
.accordion-flush .accordion-item:nth-child(6) { animation-delay: 0.3s; }

@media (max-width: 768px) {
    .accordion-flush .accordion-body {
        font-size: 0.90rem;
    }
}

@media (hover: none) {
    .accordion-flush .accordion-item:hover {
        transform: none;
    }
}




.faq-light .accordion-flush .accordion-item {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

    .faq-light .accordion-flush .accordion-item:hover {
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .faq-light .accordion-flush .accordion-item:has(.accordion-button:not(.collapsed)) {
        background: rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.08);
    }

.faq-light .accordion-flush .accordion-button {
    background: transparent;
    color: var(--bs-body-color);
    font-size: 1rem;
    line-height: 1.4rem;
    font-weight: 600;
    padding: 25px 30px;
    border: none;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

    .faq-light .accordion-flush .accordion-button:hover {
        color: rgba(0, 0, 0, 0.85);
    }

    .faq-light .accordion-flush .accordion-button:not(.collapsed) {
        background: transparent;
        color: var(--bs-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

.faq-light .accordion-flush .accordion-body {
    padding: 30px 25px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.faq-light .accordion-flush .accordion-button::after {
    content: '';
    background-image: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(0,0,0,0.6)' d='M6 0v12M0 6h12' stroke='rgba(0,0,0,0.6)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.faq-light .accordion-flush .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
    border-color: rgba(0, 0, 0, 0.6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(0,0,0,0.9)' d='M6 0v12M0 6h12' stroke='rgba(0,0,0,0.9)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq-light .accordion-flush .accordion-button:hover::after {
    border-color: rgba(0, 0, 0, 0.5);
}

/* ===========================================
   13. AVIS / REVIEWS
   =========================================== */

.review-block {
    background-color: var(--bs-light);
    border-radius: 1.8rem;
    padding: 30px;
    border: 1px solid #e3e3e3;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
}

.review-block:hover {
    transform: translateY(-5px);
}

.review-quote {
    font-size: .85rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.review-stars {
    color: #d0ae3d;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.review-author {
    border-top: 1px solid #e0e0e0;
    padding-top: 5px;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.author-title {
    font-size: 0.9rem;
    font-weight: 400;
    color: #86868b;
}

/* ===========================================
   14. ANIMATIONS
   =========================================== */

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: forwards;
}

/* Fade In */
.fade-in.animated {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade Up */
.fade-up.animated {
    animation-name: fadeUp;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade Down */
.fade-down.animated {
animation-name: fadeDown;
}
@keyframes fadeDown {
from {
opacity: 0;
transform: translateY(-40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Fade Left */
.fade-left.animated {
animation-name: fadeLeft;
}
@keyframes fadeLeft {
from {
opacity: 0;
transform: translateX(40px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Fade Right */
.fade-right.animated {
animation-name: fadeRight;
}
@keyframes fadeRight {
from {
opacity: 0;
transform: translateX(-40px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Scale Up */
.scale-up.animated {
animation-name: scaleUp;
}
@keyframes scaleUp {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Scale Down */
.scale-down.animated {
animation-name: scaleDown;
}
@keyframes scaleDown {
from {
opacity: 0;
transform: scale(1.1);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Slide Up */
.slide-up.animated {
animation-name: slideUp;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(60px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Blur In */
.blur-in.animated {
animation-name: blurIn;
}
@keyframes blurIn {
from {
opacity: 0;
filter: blur(10px);
}
to {
opacity: 1;
filter: blur(0);
}
}
/* Rotate In */
.rotate-in.animated {
animation-name: rotateIn;
}
@keyframes rotateIn {
from {
opacity: 0;
transform: rotate(-5deg) scale(0.95);
}
to {
opacity: 1;
transform: rotate(0) scale(1);
}
}
/* Fade In Up (pour accordion) */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Délais d'animation */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
/* Durées d'animation */
.duration-fast.animated { animation-duration: 0.5s; }
.duration-normal.animated { animation-duration: 0.8s; }
.duration-slow.animated { animation-duration: 1.2s; }

/* ===========================================
15. UTILITAIRES
=========================================== */
.text-muted {color: #6c757d !important;}

.pages-banner {
    width: 100%;
    height: 80px;
    background-image: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8) ), url(../images/wind-full.webp);
    background-size: cover;
    background-position: center;
    margin-top: 54px;
    display: flex;
    justify-content: center;
    align-items: center
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: .9rem;
    color:var(--bs-white);
    margin-bottom: 0;
}

    .breadcrumbs a {
        color: var(--bs-white);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .breadcrumbs a:hover {
            color: var(--bs-white);
        }

    .breadcrumbs .separator {
        color: var(--bs-white);
        font-size: 0.75rem;
    }

    .breadcrumbs .current {
        color: var(--bs-white);
        opacity: .7
    }

    @media only screen and (max-width:992px) {
        .pages-banner {
            margin-top: 48px;
        }
    }

    .contact-card {padding:1.2rem; border-radius:1.8rem; text-align:center}
    .contact-card.dark {background:var(--bs-primary)}
.contact-card-title {
    font-size: 16px;
    line-height:30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom:5px
}
.dark .contact-card-title {
    color: var(--bs-white)
}

.contact-card-text {font-size:14px; line-height:24px; font-weight:300; margin-bottom:0}
    .contact-card a {
        font-weight: 600
    }

.contact-card-text a {
    font-weight: 400
}
.dark .contact-card-text {
color:var(--bs-white)
}

.dark .contact-card-text a {
    color: var(--bs-white)
}


.rgpd-title {
    font-size: 1.5rem;
    font-family: 'Trend Sans';
    font-weight: 700;
    color: var(--bs-primary);
    letter-spacing: -0.03em;
    margin-top:30px;
    margin-bottom:15px
}

.rgpd-subtitle {
    font-size: 1.1rem;
    font-family: 'Poppins';
    font-weight: 700;
    color: var(--bs-primary);
    margin-top: 20px;
    margin-bottom: 20px
}

.cgv-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 28px;
    font-size: 0.95rem;
}

.cgv-table th,
.cgv-table td {
    border: 1px solid #BFBFBF;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.cgv-table th {
    background-color: #1A1A1A;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

.cgv-table:not(:has(th)) td:first-child {
    background-color: #F5F5F5;
    font-weight: 600;
    width: 32%;
}

.cgv-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    border: 1px solid #BFBFBF;
    background-color: #F9F9F9;
    border-radius: 6px;
}

.cgv-download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
    font-size: 1.05rem;
}

.cgv-download-link:hover {
    text-decoration: underline;
}

.cgv-download-link i {
    font-size: 1.4rem;
}

.cgv-download-hint {
    font-size: 0.9rem;
    color: #595959;
    text-align: center;
}



#climacover-home-section {
    margin-top: 54px;
    height: calc(100vh - 54px);
    min-height: 760px;
    max-height: 840px;
    background: #ffffff;
    background: -webkit-linear-gradient(160deg,rgba(255, 255, 255, 1) 0%, rgba(204, 204, 204, 1) 100%);
    background: -moz-linear-gradient(160deg,rgba(255, 255, 255, 1) 0%, rgba(204, 204, 204, 1) 100%);
    background: linear-gradient(160deg,rgba(255, 255, 255, 1) 0%, rgba(204, 204, 204, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#FFFFFF", endColorstr="#CCCCCC", GradientType=0 );
    display: flex;
    align-items: center;
}

.climacover-home-section-logo {
    margin-top:15px;
    width: 300px;
}

.climacover-home-section-product {
    margin-top:50px;
    margin-right:auto;
    margin-left:auto;
}

.climacover-home-section-product img {
    width: 99vw;
    max-width: 940px;
    margin-left: -30px;
}

.climacover-home-section-buy {
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

@media only screen and (max-width:992px) {
    #climacover-home-section {
        margin-top: 48px;
        max-height: 800px
    }
    .climacover-home-section-logo {
        width: 280px;
    }
    .climacover-home-section-buy {
        margin-top: 0px;
    }
}

@media only screen and (max-width:640px) {
    .climacover-home-section-logo {
        width: 250px;
    }
    .climacover-home-section-buy {
        margin-top: 20px;
    }
}

@media only screen and (max-width:480px) {
    #climacover-home-section {
        min-height: 590px;
        max-height: 620px;
    }

    .climacover-home-section-logo {
        width: 240px;
    }
}




/* --- GRANDS ÉCRANS (>= 1200px) --- */
/* Alignement strict sur le bord du container-xl / xxl */
.climacover-about-carousel-container {
    display: block;
    position: relative;
    width: 100%;
    padding-left: calc((100% - 1140px) / 2 + 0.75rem);
    overflow: visible;
    cursor: grab;
    margin-top: 40px;
    transition: padding-left 0.3s ease;
}

@media (min-width: 1400px) {
    .climacover-about-carousel-container {
        padding-left: calc((100% - 1320px) / 2 + 0.75rem);
    }
}

@media (max-width: 480px) {
    .climacover-about-carousel-container {
        margin-top: 30px;
    }
    }
}

/* --- ÉCRANS INTERMÉDIAIRES ET MOBILES (< 1200px) --- */
/* Ici, on rajoute la marge supplémentaire pour éviter que 
   le contenu ne colle trop aux bords de l'appareil */
@media (max-width: 1199.98px) {
    .climacover-about-carousel-container {
        /* On prend la marge Bootstrap normale + 1.5rem de "confort" */
        padding-left: calc((100% - 960px) / 2 + 0.75rem);
    }
}

@media (max-width: 991.98px) {
    .climacover-about-carousel-container {
        padding-left: calc((100% - 720px) / 2);
    }
}

@media (max-width: 767.98px) {
    .climacover-about-carousel-container {
        /* Sur mobile, on ignore le calcul complexe, on met une marge fixe généreuse */
        padding-left: 1.5rem;
    }
}

/* Carousel Track */
.climacover-about-carousel-track {
    display: flex;
    gap: 25px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cards sans ombres */
.climacover-about-carousel-card {
    width: 1100px;
    height: 580px;
    border-radius: 30px;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: opacity 0.6s ease;
}

@media (max-width: 1200px) {
    .climacover-about-carousel-card {
        width: 920px;
    }
}

@media (max-width: 992px) {
    .climacover-about-carousel-card {
        width: 660px;
    }
}

@media (max-width: 770px) {
    .climacover-about-carousel-card {
        width: 600px;
    }
}

@media (max-width: 640px) {
    .climacover-about-carousel-card {
        width: 480px;
    }
}

@media (max-width: 540px) {
    .climacover-about-carousel-card {
        width: 420px;
    }
}

@media (max-width: 480px) {
    .climacover-about-carousel-card {
        width: 380px;
        height:480px
    }
}

@media (max-width: 430px) {
    .climacover-about-carousel-track {
        gap: 20px;
    }

    .climacover-about-carousel-card {
        width: 315px;
    }
}

.climacover-about-carousel-card.design {
    background-image: url('../images/produits/climacover/cards/back-convector.webp');
    background-repeat: no-repeat;
    background-size: 800px;
    background-position: right;
}

@media (max-width: 992px) {
        .climacover-about-carousel-card.design {
            background-size: 720px;
            background-position: right bottom;
        }
}

@media (max-width: 540px) {
    .climacover-about-carousel-card.design {
        background-size: 480px;
        background-position: right bottom;
    }
}

.climacover-about-carousel-card.quality {
    background-image: url('../images/produits/climacover/cards/background-pattern-black.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Contenu des cards */
.card-product .card-content-wrapper {
    height: 100%;
    padding: 60px;
}

@media (max-width: 480px) {
    .card-product .card-content-wrapper {
        padding: 40px;
    }
}

.card-bg-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.headline {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-primary);
}

@media (max-width: 780px) {
    .headline {
        font-size: 1.6rem;
        line-height: 1.4;
    }
}

@media (max-width: 640px) {
    .headline {
        font-size: 1.5rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.3rem;
        line-height: 1.5;
    }
}

@media (max-width: 430px) {
    .headline {
        font-size: 1.12rem;
        line-height: 1.6;
    }
}

/* --- CONTROLLERS DESIGN --- */
.climacover-about-carousel-controls-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* La barre de pagination grise */
.climacover-about-carousel-pagination-pill {
    background: var(--bs-white);
    padding: 14px 28px;
    border-radius: 50px;
}

.climacover-about-carousel-dots-group {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.climacover-about-carousel-dot {
    width: 8px;
    height: 8px;
    background: #86868b;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* La pilule active Noire */
    .climacover-about-carousel-dot.active {
        width: 45px;
        background: var(--bs-primary);
        border-radius: 10px;
    }

/* Le cercle Play séparé */
.climacover-about-carousel-play-circle {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    border: none;
    background: var(--bs-white);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: background 0.2s;
}

.color-options {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Positionnement vertical de la grille à gauche de l'image */
.grid-variants {
    position: absolute;
    left: 40px;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 10;
}

@media (max-width: 992px) {
    .grid-variants {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10%;
        z-index: 10;
    }
}

.color-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
}

/* Trait rouge pour "Aucune grille" */
.dot-none {
    background-color: #fff;
    border: 1px solid #d2d2d7;
    position: relative;
    overflow: hidden;
}

    .dot-none::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 140%;
        height: 2px;
        background-color: #ff3b30;
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 1;
    }

.color-dot.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
}

#climacover-custom-color-product-img {
    width: 600px;
    margin-top:10px
}

@media (max-width: 992px) {
    #climacover-custom-color-product-img {
        width: 480px;
        margin-top: 0px
    }
}

@media (max-width: 770px) {
    #climacover-custom-color-product-img {
        width: 400px;
        margin-top: 10px
    }
}

@media (max-width: 640px) {
    #climacover-custom-color-product-img {
        margin-top: 20px
    }
}

@media (max-width: 540px) {
    #climacover-custom-color-product-img {
        margin-top: 35px
    }
}

@media (max-width: 480px) {
    #climacover-custom-color-product-img {
        margin-top: 0px
    }
}

@media (max-width: 430px) {
    #climacover-custom-color-product-img {
        margin-top: 15px
    }
}

.transition-img {
    transition: opacity 0.8s ease-in-out, transform 0.15s ease-in-out;
    will-change: opacity, transform;
}

.img-fade-out {
    opacity: 0.5;
}


.ambiances-carousel-wrapper {
    position: relative;
    width: 90%;
    max-width: 1400px;
    margin: 40px auto;
}

.ambiances-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Nav Salons Flottante */
.salon-nav-container {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.salon-nav {
    display: flex;
    gap: 10px;
    padding: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.salon-link {
    border: none;
    background: transparent;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.4s ease;
}

    .salon-link.active {
        background: #fff;
        color: #000;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

/* Images Fondu */
.salon-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

    .salon-group.active {
        opacity: 1;
        visibility: visible;
        z-index: 5;
    }

.carousel-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .carousel-img.active {
        opacity: 1;
        z-index: 10;
    }

/* Sélecteur Styles Flottant */
.variant-selector-outer {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 110;
}

.variant-selector {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

    .v-item.active {
        opacity: 1;
        transform: scale(1.05);
    }

    .v-item img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        object-fit: cover;
        border: 2px solid transparent;
    }

    .v-item.active img {
        border-color: #fff;
    }

    .v-item span {
        color: white;
        font-size: 12px;
        font-weight: 500;
    }

/* --- ADAPTATION MOBILE (Maintien du design, seul le placement change) --- */
@media (max-width: 992px) {
    .ambiances-carousel-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    /* Salons centrés au-dessus */
    .salon-nav-container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        padding: 20px 0;
        background: #fff;
        order: 1;
        display: flex;
        justify-content: center;
    }

    .salon-nav {
        background: rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .salon-link {
        color: #000;
    }

        .salon-link.active {
            background: #000;
            color: #fff;
        }

    /* L'image au milieu */
    .ambiances-carousel {
        border-radius: 0;
        order: 2;
        box-shadow: none;
    }

    /* Styles centrés en-dessous */
    .variant-selector-outer {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        order: 3;
        padding: 25px 0;
        background: #fff;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .variant-selector-outer::-webkit-scrollbar {
            display: none;
        }

    .variant-selector {
        background: transparent;
        border: none;
        backdrop-filter: none;
        margin: 0 auto;
        width: max-content;
        padding: 0 20px;
    }

    .v-item {
        background: var(--bs-light);
        padding: 10px;
        border-radius: 15px;
        min-width: 80px;
    }

        .v-item span {
            color: #000;
        }

        .v-item.active img {
            border-color: #000;
        }

    .carousel-img {
        object-position: var(--mobile-pos, center) center;
    }
}


@media (max-width: 680px) {
    .salon-nav {
        gap: 10px;
        padding: 6px;
    }

    .salon-link {
        font-size:13px;
        padding: 5px 10px;
    }

    /* Styles centrés en-dessous */
    .v-item {
        background: var(--bs-light);
        padding: 10px 5px;
        border-radius: 15px;
        min-width: 80px;
    }

        .v-item span {
            color: #000;
        }

        .v-item.active img {
            border-color: #000;
        }
}


/* ===========================================
   1. ESPACE CLIENT
   =========================================== */




.custom-modal {
    border-radius: 20px !important; /* Arrondi prononcé */
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px); /* Effet verre dépoli */
    -webkit-backdrop-filter: blur(20px);
}

/* Animation d'entrée plus douce (Scale au lieu de Slide) */
#cartSuccessModal.fade .modal-dialog {
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

#cartSuccessModal.show .modal-dialog {
    transform: scale(1);
}

/* Style du bouton "View Cart" noir profond */
.btn-dark {
    background-color: #000 !important;
    border: none;
}

    .btn-dark:hover {
        background-color: #333 !important;
    }


.list-group-item.active {
    z-index: 2;
    color: var(--bs-primary);
    background-color: #fff;
    border-color: #dee2e6;
}

    .list-group-item.active .form-check-input:checked {
        background-color: var(--bs-primary);
        border-color: #fff;
    }


#company-home-section {
    margin-top: 54px;
    min-height: 700px;
    height: calc(100vh - 54px);
    max-height: 800px;
    background: #000000;
    background: -webkit-linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, rgba(43, 43, 43, 1) 100%);
    background: -moz-linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, rgba(43, 43, 43, 1) 100%);
    background: linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, rgba(43, 43, 43, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#2B2B2B", GradientType=0);
    display: flex;
    align-items: center;
}
