/* ==========================================================================
   1. VARIABLES, FONTS & RESET
   ========================================================================== */
:root {
    --bg-primary: #FCFAF7;
    --bg-secondary: #F7F3EC;
    --text-primary: #1E2A38;
    --text-muted: #88907A;
    --accent: #B08A4A;
    --accent-hover: #9a7a3f;
    --white: #FFFFFF;
    --navbar-height: 84px;
    --cocotte-size-huge: 380px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================================================
   2. NAVBAR COMPONENT (Dynamique & Transparente)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(252, 250, 247, 0.1);
    background-color: #1e2a38;
    color: #FCFAF7;
}

.navbar.has-dark-hero.transparent-state {
    background-color: transparent;
    color: #FCFAF7;
    border-bottom-color: rgba(252, 250, 247, 0.12);
}

.navbar.scrolled {
    background-color: #1e2a38;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    border-bottom-color: rgba(30, 42, 56, 0.08);
    box-shadow: 0 1px 3px rgba(30, 42, 56, 0.03);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-brand img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    transform: scale(1.8);
    transform-origin: center;
    margin-top: 8px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-family: "Julius Sans One", sans-serif;
    letter-spacing: 0.15em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-end;
}

.nav-icon-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.cart-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FFFFFF;
    color: #1E2A38;
    border: 1px solid #1E2A38;
    font-size: 11px;
    font-weight: 600;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.has-dark-hero.transparent-state .cart-counter {
    border: none;
}

/* ==========================================================================
   GRILLE D'ARTICLES (CORRIGÉE : 4 COLONNES)
   ========================================================================== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.btn-add {
    background: #333;
    color: white;
    padding: 0.8rem 1.2rem;
    border: none;
    cursor: pointer;
    width: 100%;
}

.ligne {
    border: 0;
    height: 1px;
    background-color: #7c7c7c;
    width: 50%;
    margin: 2rem auto;
    margin-bottom: 3.5rem;
}

.presentation {
    text-align: center;
}

.creation-title {
    font-size: 50px;
    font-weight: 500;
}

.creation-subtitle {
    font-size: 20px;
    font-weight: normal;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
}

.mobile-trigger {
    display: none;
}

.mobile-dropdown {
    display: none;
    background-color: var(--bg-primary) !important;
    border-bottom: 1px solid rgba(30, 42, 56, 0.1);
    padding: 1.5rem 2rem;
}

.mobile-dropdown.is-visible {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-dropdown a {
    color: var(--text-primary) !important;
    font-size: 1rem;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.15em;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(30, 42, 56, 0.08);
}

.mobile-dropdown a:last-child {
    border-bottom: none;
}

.mobile-dropdown a:hover {
    color: var(--accent) !important;
}

/* ==========================================================================
   3. REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-space {
    padding: 6rem 0;
}

.pad-nav {
    padding-top: var(--navbar-height);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

/* Boutons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: rgb(6, 51, 82);
    color: #FCFAF7;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: rgb(1, 38, 63);
}

.btn-dark {
    background-color: var(--text-primary);
    color: #FCFAF7;
}

.btn-dark:hover {
    background-color: #2a3a4a;
}

.btn-outline {
    border: 2px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: #FCFAF7;
}

.badge-tag {
    background-color: var(--text-primary);
    color: #FCFAF7;
    padding: 0.3rem 0.85rem;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

/* Filtres de catégories */
.filter-tray {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pill-filter {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(30, 42, 56, 0.2);
    padding: 0.7rem 1.75rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
}

.pill-filter.active,
.pill-filter:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* ==========================================================================
   4. ANIMATIONS & BANNER CONTINU
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Barre de réassurance statique (remplace le ruban défilant) */
.trust-bar {
    background-color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.5rem 3.5rem;
    padding: 1rem 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--bg-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.trust-item i {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .trust-bar {
        gap: 0.85rem 2rem;
        padding: 0.9rem 1rem;
    }

    .trust-item {
        font-size: 12px;
    }
}

/* ==========================================================================
   SECTION "RECETTES INSPIRANTES" — page d'accueil
   ========================================================================== */
.home-recipes {
    background: var(--bg-secondary);
    padding: 6rem 1.5rem;
}

.home-recipes-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.home-recipes-eyebrow {
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.9rem;
}

.home-recipes-title {
    font-family: "Oswald", sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.home-recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1180px;
    margin: 0 auto;
}

/* Carte éditoriale : image plein cadre + texte en surimpression */
.home-recipe-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--text-primary);
    box-shadow: 0 1px 2px rgba(30, 42, 56, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-recipe-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-recipe-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(20, 28, 40, 0.92) 0%,
            rgba(20, 28, 40, 0.45) 38%,
            rgba(20, 28, 40, 0.05) 70%);
    transition: opacity 0.5s ease;
}

.home-recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 52px rgba(20, 28, 40, 0.32);
}

.home-recipe-card:hover img {
    transform: scale(1.08);
}

/* Badge catégorie */
.home-recipe-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(252, 250, 247, 0.92);
    color: var(--text-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.38rem 0.8rem;
}

/* Contenu en bas de carte */
.home-recipe-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.5rem 1.5rem 1.6rem;
    color: #FCFAF7;
}

.home-recipe-title {
    font-family: "Oswald", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin-bottom: 0.7rem;
}

.home-recipe-meta {
    display: flex;
    gap: 1.25rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    color: rgba(252, 250, 247, 0.85);
}

.home-recipe-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.home-recipe-meta i {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

/* Lien révélé au survol */
.home-recipe-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(6px);
    transition: max-height 0.45s ease, opacity 0.45s ease, transform 0.45s ease, margin-top 0.45s ease;
}

.home-recipe-link i {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.home-recipe-card:hover .home-recipe-link {
    max-height: 2rem;
    opacity: 1;
    transform: translateY(0);
    margin-top: 0.9rem;
}

.home-recipe-card:hover .home-recipe-link i {
    transform: translateX(4px);
}

/* Bouton "Toutes les recettes" */
.home-recipes-cta {
    text-align: center;
    margin-top: 3rem;
}

.home-recipes-cta .btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.home-recipes-cta .btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .home-recipes-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* ==========================================================================
   SECTION "DÉCOUVRIR" — 3 cercles de navigation alignés (accueil)
   ========================================================================== */
.home-discover {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(30, 42, 56, 0.09);
    padding: 5.5rem 1.5rem 6rem;
}

/* En-tête qui démarque la zone des cartes produits au-dessus */
.home-discover-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.home-discover-eyebrow {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.home-discover-title {
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: 0.02em;
}

/* Rangée de 3 panneaux collés (accordéon au survol) */
.discover-panels {
    display: flex;
    height: 440px;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(20, 28, 40, 0.18);
}

.dpanel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    color: #FCFAF7;
    background: var(--text-primary);
}

/* Fine couture entre les panneaux collés */
.dpanel+.dpanel {
    border-left: 1px solid rgba(252, 250, 247, 0.18);
}

.dpanel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.dpanel:hover img {
    transform: scale(1.06);
}

.dpanel-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top,
            rgba(20, 28, 40, 0.9) 0%,
            rgba(20, 28, 40, 0.35) 55%,
            rgba(20, 28, 40, 0.55) 100%);
    transition: opacity 0.5s ease;
}

.dpanel:hover .dpanel-veil {
    opacity: 0.75;
}

.dpanel-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.9rem 1.75rem;
}

.dpanel-num {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.dpanel-title {
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.3rem, 1.8vw, 1.7rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: 0.02em;
}

/* Texte + lien révélés au survol — opacité/transform uniquement
   (léger : pas de recalcul de mise en page) */
.dpanel-text,
.dpanel-cta {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dpanel-text {
    margin-top: 0.7rem;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(252, 250, 247, 0.85);
    max-width: 340px;
}

.dpanel-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #FCFAF7;
}

.dpanel-cta i {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.dpanel:hover .dpanel-text,
.dpanel:hover .dpanel-cta {
    opacity: 1;
    transform: translateY(0);
}

.dpanel:hover .dpanel-cta i {
    transform: translateX(4px);
}

/* En colonne sur mobile (pas d'accordéon, tout reste lisible) */
@media (max-width: 760px) {
    .home-discover {
        padding: 4rem 1.5rem 4.5rem;
    }

    .discover-panels {
        flex-direction: column;
        height: auto;
    }

    .dpanel {
        flex: none;
        height: 160px;
    }

    .dpanel+.dpanel {
        border-left: none;
        border-top: 1px solid rgba(252, 250, 247, 0.18);
    }
}

/* ==========================================================================
   BANDE CITATION / SIGNATURE (entre "La Maison" et "Recettes inspirantes")
   ========================================================================== */
.home-quote {
    background: var(--bg-primary);
    text-align: center;
    padding: 3.25rem 1.5rem;
}

.home-quote-rule {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 1.3rem;
}

.home-quote-text {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    max-width: 760px;
    margin: 0 auto;
}

.home-quote-text em {
    font-style: italic;
    color: var(--accent);
}

.home-quote-sign {
    display: block;
    margin-top: 1.3rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .home-quote {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   5. HEROS & SPECIFIC CARDS
   ========================================================================== */
.hero-box {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-box-mid {
    position: relative;
    width: 100%;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media-asset,
.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/img/photo-fond.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #FCFAF7;
    padding: 0 1.5rem;
    max-width: 880px;
    width: 100%;
}

.hero-body h1 {
    font-size: clamp(3.2rem, 7vw, 5.2rem);
    margin-bottom: 1.25rem;
    font-family: "Oswald", sans-serif;
}

.hero-subtitle {
    margin-bottom: 2.5rem;
    color: #F7F3EC;
    font-size: 1.3rem;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
}

.cocottes-scroll-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    margin: 3rem auto 4.5rem auto;
    width: 100%;
    max-width: 1100px;
}

.cocotte-card {
    flex: 1;
    max-width: 220px;
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotate(-5deg);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.cocotte-card:nth-child(1) {
    transition-delay: 0ms;
}

.cocotte-card:nth-child(2) {
    transition-delay: 120ms;
}

.cocotte-card:nth-child(3) {
    transition-delay: 240ms;
}

.cocotte-card:nth-child(4) {
    transition-delay: 360ms;
}

.cocottes-scroll-zone.visible .cocotte-card {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    animation: switchTransition 0.1s linear 1.2s forwards;
}

@keyframes switchTransition {
    to {
        transition: opacity 0.3s ease, transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), filter 0.2s ease;
        transition-delay: 0s !important;
    }
}

.cocotte-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
    transition: filter 0.2s ease;
}

.cocottes-scroll-zone.visible .cocotte-card:hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    transform: translateY(-10px) scale(1.07);
    cursor: pointer;
}

.cocotte-card:hover img {
    filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.14));
}

.decouverte {
    margin-top: 3rem;
    text-align: center;
    font-family: "Julius Sans One", sans-serif;
    letter-spacing: 0.2em;
    font-weight: 800;
    text-transform: uppercase;
}

.thumb-selector {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid rgba(30, 42, 56, 0.1);
    transition: border-color 0.3s ease;
}

/* Frise Chronologique Histoire */
.history-timeline {
    position: relative;
    max-width: 850px;
    margin: 4rem auto 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent);
    transform: translateX(-50%);
}

.timeline-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4.5rem;
    width: 100%;
}

.timeline-block:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-card {
    width: 45%;
}

.timeline-block:nth-child(odd) .timeline-card {
    text-align: right;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background-color: var(--accent);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 10;
}

.timeline-year {
    font-size: 3.25rem;
    color: var(--accent);
    margin-bottom: 0.15rem;
}

/* ==========================================================================
   6. FOOTER COMPONENT
   ========================================================================== */
.footer-wrap {
    background-color: var(--text-primary);
    color: var(--bg-secondary);
    padding: 5rem 1.5rem 2.5rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: #FCFAF7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-column ul a {
    color: rgba(247, 243, 236, 0.75);
    font-size: 0.9rem;
}

.footer-column ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(247, 243, 236, 0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: rgba(247, 243, 236, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* 2 colonnes sur tablette */
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-trigger {
        display: block;
    }

    .history-timeline::before {
        left: 16px;
    }

    .timeline-block,
    .timeline-block:nth-child(even) {
        flex-direction: row;
        margin-bottom: 3rem;
    }

    .timeline-card {
        width: calc(100% - 40px);
    }

    .timeline-block:nth-child(odd) .timeline-card {
        text-align: left;
    }

    .timeline-dot {
        margin-left: 9px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .cocottes-scroll-zone {
        gap: 1rem;
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .cocotte-card {
        max-width: 130px;
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

}


.product-card {
    display: flex;
    flex-direction: column;
    background: #f4f2ef;
    transition: transform 0.4s ease;
    overflow: hidden;
}



.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #ede9e3;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.image-container .img-front {
    object-fit: cover;   /* remplit tout le cadre, aucun écart */
}

.img-back {
    opacity: 0;
}

.image-container:hover .img-front {
    opacity: 0;
}



.image-container:hover .img-back {
    opacity: 1;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 1.1rem 1.5rem 1rem 1.5rem;
}

.product-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cocotte-desc-card {
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.07em;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-family: "Cinzel", serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-icon {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.btn-icon i {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-wrapper {
    position: relative;
}

#cart-btn {
    border-radius: 8px;
    transition: color 0.18s ease;
}

#cart-btn:hover {
    color: var(--accent);
}

.cart-preview {
    position: absolute;
    top: calc(100% + 16px);
    right: -4px;
    width: 400px;
    background: #FFFFFF;
    border: 1px solid rgba(30, 42, 56, 0.09);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    overflow: hidden;
}

.cart-preview::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 18px;
    width: 13px;
    height: 13px;
    background: #FFFFFF;
    border-left: 1px solid rgba(30, 42, 56, 0.09);
    border-top: 1px solid rgba(30, 42, 56, 0.09);
    transform: rotate(45deg);
}

.cart-preview.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* En-tête */
.cart-preview-head {
    padding: 1.2rem 1.4rem 1rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.cart-preview-label {
    font-family: "Oswald", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-primary);
}

.cart-count-label {
    font-family: "Oswald", sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

/* Liste articles */
.cart-preview-items {
    max-height: 360px;
    overflow-y: auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 42, 56, 0.12) transparent;
}

.cart-preview-items::-webkit-scrollbar {
    width: 3px;
}

.cart-preview-items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-preview-items::-webkit-scrollbar-thumb {
    background: rgba(30, 42, 56, 0.12);
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 2rem 0;
}

.cart-item-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 0;
}

.cart-item-row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: rgba(30, 42, 56, 0.16);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-secondary);
    display: block;
    border-radius: 10px;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.cart-item-name {
    font-family: "Oswald", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-primary);
    line-height: 1.3;
}

.cart-item-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.55rem;
}

.cart-item-price {
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(30, 42, 56, 0.25);
    padding: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-item-remove svg {
    width: 13px;
    height: 13px;
}

.cart-preview-footer {
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.75rem;
    padding: 1.15rem 1.4rem 1.25rem;
    background: var(--bg-secondary);
    display: none;
}

.cart-preview-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-subtotal-labels {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.2;
}

.cart-subtotal-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--text-primary);
    font-weight: 600;
}

.cart-subtotal-sub {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-subtotal-amount {
    font-family: "Oswald", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem;
    font-size: 0.85rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.cocotte-card[data-product],
.product-card[data-product] .product-card-img {
    cursor: pointer;
}

@keyframes addedToCart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

.add-to-cart-btn.added {
    animation: addedToCart 0.4s ease;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

@media (max-width: 500px) {
    .cart-preview {
        width: calc(100vw - 2rem);
        right: -4px;
    }
}


.product-page-wrap {
    padding-top: var(--navbar-height);
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Fil d'Ariane */
.product-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.product-breadcrumb a {
    color: var(--text-muted);
}

.product-breadcrumb a:hover {
    color: var(--text-primary);
}

.bc-sep {
    opacity: 0.45;
}

/* Layout 2 colonnes */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 7rem;
    align-items: start;
}

/* ── Galerie ── */
.product-gallery {
    position: sticky;
    top: calc(var(--navbar-height) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.product-main-img-wrap {
    aspect-ratio: 1;
    background: var(--bg-secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ── Flèches galerie ── */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(252, 250, 247, 0.82);
    border: 1px solid rgba(30, 42, 56, 0.13);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.product-main-img-wrap:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-prev {
    left: 0.65rem;
}

.gallery-arrow-next {
    right: 0.65rem;
}

.gallery-arrow i {
    width: 13px;
    height: 13px;
    color: var(--text-primary);
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.product-thumb {
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.58;
    transition: opacity 0.2s, border-color 0.2s;
    display: block;
    width: 100%;
}

.product-thumb:hover,
.product-thumb.active {
    opacity: 1;
    border-color: var(--accent);
}

/* ── Informations ── */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.25rem;
}

/* Badge promotion */
.product-promo-badge {
    display: inline-block;
    background: var(--accent);
    background-color: #39516d;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.3rem 0.9rem;
}

.product-detail-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 700;
}

/* Nom structuré en 3 lignes */
.product-detail-name {
    font-family: "Oswald", sans-serif;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.pname-brand {
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pname-main {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.0;
}

.pname-edition {
    font-size: 1.25rem;
    font-weight: 200;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.product-detail-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: -0.4rem;
    letter-spacing: 0.03em;
}

.product-detail-price {
    font-family: "Oswald", sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

/* Bloc prix */
.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.product-price-promo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.product-original-price {
    font-size: 0.86rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-discount-tag {
    font-size: 0.76rem;
    font-weight: 700;
    color: #b03a2e;
    background: rgba(176, 58, 46, 0.09);
    padding: 0.15rem 0.55rem;
    border-radius: 2px;
}

.product-tva-text {
    font-size: 0.74rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Trust badges */
.product-trust-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.product-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #1e6641;
    background: rgba(30, 102, 65, 0.07);
    padding: 0.3rem 0.75rem;
    letter-spacing: 0.04em;
    border: 1px solid rgba(30, 102, 65, 0.15);
}

.product-trust-badge i {
    width: 13px;
    height: 13px;
    color: #1e6641;
    flex-shrink: 0;
}

/* Livraison / stock */
.product-delivery-block {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.product-delivery-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.product-delivery-line i {
    width: 15px;
    height: 15px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.product-in-stock {
    color: #1e6641;
    font-weight: 700;
}

/* ── Accordéon specs ── */
.product-specs-details {
    border-top: 1px solid rgba(30, 42, 56, 0.15);
    border-bottom: 1px solid rgba(30, 42, 56, 0.15);
    margin-top: 0.25rem;
}

/* Deux menus déroulants adjacents : collés (bordure partagée, pas d'écart) */
.product-specs-details + .product-specs-details {
    border-top: none;
    margin-top: 0;
}

/* Réduit l'espace blanc au-dessus du second menu */
.product-specs-details + .product-specs-details .product-specs-summary {
    padding-top: 0.1rem;
}

.product-specs-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    list-style: none;
    user-select: none;
    background: transparent;
}

.product-specs-summary::-webkit-details-marker {
    display: none;
}

.product-specs-summary::marker {
    display: none;
}

.specs-plus {
    font-size: 1.3rem;
    font-weight: 200;
    line-height: 1;
    display: block;
    flex-shrink: 0;
    transition: transform 0.28s ease;
    color: var(--text-primary);
}

.product-specs-details[open] .specs-plus {
    transform: rotate(45deg);
}

/* ── Liste specs ── */
.product-specs-list {
    list-style: none;
    padding: 0.25rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(30, 42, 56, 0.06);
    gap: 2rem;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item-key {
    font-family: "Montserrat", sans-serif;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.spec-item-val {
    font-size: 0.83rem;
    color: var(--text-primary);
    text-align: right;
    line-height: 1.5;
}

.product-rule {
    border: 0;
    height: 1px;
    background: rgba(30, 42, 56, 0.1);
    margin: 0.2rem 0;
}

/* 3 atouts sobres */
.product-atouts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-left: 0.9rem;
    border-left: 1.5px solid var(--accent);
}

.product-atouts li {
    font-size: 0.81rem;
    color: var(--text-muted);
    letter-spacing: 0.025em;
    line-height: 1.45;
}

/* ── Atouts en rectangles horizontaux (sous "Ajouter au panier") ── */
.product-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.perk {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    padding: 1.6rem 0.85rem;
    background: var(--bg-secondary);
    border: none;
}

.perk i {
    width: 22px;
    height: 22px;
    color: var(--accent);
    stroke-width: 1.5;
}

.perk-title {
    font-family: "Cinzel", serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--text-primary);
    line-height: 1.25;
}

.perk-sub {
    font-family: "Cinzel", serif;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    line-height: 1.35;
}

@media (max-width: 420px) {
    .product-perks {
        gap: 0.45rem;
    }

    .perk {
        padding: 0.9rem 0.4rem;
    }

    .perk-sub {
        font-size: 0.56rem;
    }
}

/* Header couleur + En stock */
.product-opt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

/* Rangée couleurs : pastilles à gauche, "En stock" à l'opposé */
.product-color-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-in-stock-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    line-height: 1;
    flex-shrink: 0;
}

.product-in-stock-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3f7d57;
    flex-shrink: 0;
}



/* Pastilles couleur */
.product-swatches {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--sw);
    /* Bordure toujours visible — rend le blanc lisible */
    border: 2px solid rgba(30, 42, 56, 0.22);
    outline: 2px solid transparent;
    outline-offset: 2px;
    cursor: pointer;
    display: block;
    transition: transform 0.18s, outline-color 0.18s, border-color 0.18s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.color-swatch:hover {
    transform: scale(1.12);
    outline-color: var(--accent);
}

.color-swatch.active {
    border-color: rgba(30, 42, 56, 0.4);
    outline-color: var(--text-primary);
    transform: scale(1.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Tailles */
.product-sizes {
    display: flex;
    gap: 0.5rem;
}

.product-size-btn {
    padding: 0.5rem 1.2rem;
    border: 1.5px solid rgba(30, 42, 56, 0.18);
    background: transparent;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.02em;
}

.product-size-btn:hover,
.product-size-btn.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Quantité + CTA */
.product-buy-row {
    display: flex;
    gap: 0.85rem;
    align-items: stretch;
}

.product-qty {
    display: flex;
    align-items: stretch;
    border: 1.5px solid rgba(30, 42, 56, 0.18);
    flex-shrink: 0;
}

.product-qty-btn {
    background: none;
    border: none;
    width: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.product-qty-btn:hover {
    background: var(--bg-secondary);
}

.product-qty-val {
    min-width: 44px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-left: 1px solid rgba(30, 42, 56, 0.12);
    border-right: 1px solid rgba(30, 42, 56, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-add-btn {
    width: 100%;
    justify-content: center;
    min-height: 58px;
    padding: 0 2rem;
    font-size: 0.95rem;
    gap: 0.6rem;
    font-family: "Cinzel", serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.3s;
}

/* Options du menu déroulant "Utilisation & entretien" */
.product-care-list {
    list-style: none;
    padding: 0.25rem 0 1rem;
    display: flex;
    flex-direction: column;
}

.product-care-list li {
    border-bottom: 1px solid rgba(30, 42, 56, 0.06);
}

.product-care-list li:last-child {
    border-bottom: none;
}

.product-care-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.product-care-list a:hover {
    color: var(--accent);
    padding-left: 0.4rem;
}

/* Dernière option : "Voir le guide complet" */
.product-care-list .care-list-all {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--accent);
}

.product-care-list .care-list-all i {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.product-care-list .care-list-all:hover i {
    transform: translateX(3px);
}

/* Confirmation */
.product-confirm {
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #2d6a4f;
    font-weight: 600;
    padding: 0.55rem 0;
}

.product-confirm i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Liste caractéristiques */
.product-feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.product-feat-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-feat-list li i {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 860px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 1.25rem 4rem;
    }

    .product-gallery {
        position: static;
    }

    .product-detail-name {
        font-size: 2.4rem;
    }

    .product-add-btn {
        min-width: 100%;
    }
}

/* ==========================================================================
   TRANSITIONS COULEUR — PAGE PRODUIT
   ========================================================================== */
@keyframes productPageIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes productPageOut {
    to {
        opacity: 0;
        transform: translateY(-16px);
    }
}

.product-layout {
    animation: productPageIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-layout.page-color-out {
    animation: productPageOut 0.38s cubic-bezier(0.4, 0, 1, 1) forwards;
}

/* ==========================================================================
   QUANTITÉ DANS L'APERÇU PANIER (toujours visible)
   ========================================================================== */
.ciq-ctrl {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
}

.ciq-btn {
    background: none;
    border: none;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
    line-height: 1;
}

.ciq-btn:hover {
    background: rgba(30, 42, 56, 0.07);
}

.ciq-val {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(30, 42, 56, 0.15);
    border-radius: 4px;
    color: var(--text-primary);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(12, 16, 22, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: min(90vw, 900px);
    max-height: 88vh;
    object-fit: contain;
    display: block;
    opacity: 1;
    transition: opacity 0.28s ease, transform 0.28s ease;
    user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(252, 250, 247, 0.28);
    color: rgba(252, 250, 247, 0.75);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(252, 250, 247, 0.1);
    color: #fff;
    border-color: rgba(252, 250, 247, 0.55);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(252, 250, 247, 0.22);
    color: rgba(252, 250, 247, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-arrow:hover {
    background: rgba(252, 250, 247, 0.1);
    color: #fff;
    border-color: rgba(252, 250, 247, 0.5);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
    left: 1.25rem;
}

.lightbox-next {
    right: 1.25rem;
}

.lightbox-arrow i {
    width: 16px;
    height: 16px;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: rgba(252, 250, 247, 0.45);
    text-transform: uppercase;
    user-select: none;
}

/* ==========================================================================
   PAGE PANIER
   ========================================================================== */
.cart-page-wrap {
    padding-top: var(--navbar-height);
    min-height: 100vh;
    background: var(--bg-primary);
}

.cart-page-header {
    border-bottom: 1px solid rgba(30, 42, 56, 0.09);
    padding: 2.5rem 2rem 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-page-title {
    font-family: "Oswald", sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.2rem;
}

.cart-page-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* État vide */
.cart-empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 6rem 1.5rem;
    text-align: center;
}

.cart-empty-state i {
    width: 52px;
    height: 52px;
    color: var(--text-muted);
    opacity: 0.4;
}

.cart-empty-state h2 {
    font-family: "Oswald", sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

/* Layout principal */
.cart-main-layout {
    display: none;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 6rem;
    align-items: start;
}

/* Section articles */
.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 1rem;
    padding: 0 0 0.75rem;
    border-bottom: 2px solid var(--text-primary);
    margin-bottom: 0;
}

.cart-items-header span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--text-muted);
    font-weight: 700;
}

.cart-items-header .ch-qty {
    text-align: center;
    min-width: 100px;
}

.cart-items-header .ch-price {
    text-align: right;
    min-width: 90px;
}

.cart-items-header .ch-del {
    min-width: 32px;
}

/* Chaque article */
.cpi {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(30, 42, 56, 0.08);
    animation: productPageIn 0.4s ease both;
}

.cpi-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background: var(--bg-secondary);
    display: block;
    border-radius: 12px;
}

.cpi-details {
    min-width: 0;
}

.cpi-name {
    font-family: "Oswald", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cpi-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quantité dans le panier (toujours visible) */
.cpi-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.cpi-qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 36px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
    flex-shrink: 0;
}

.cpi-qty-btn:hover {
    background: var(--bg-secondary);
}

.cpi-qty-val {
    width: 36px;
    height: 36px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1.5px solid rgba(30, 42, 56, 0.18);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpi-price {
    font-family: "Oswald", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
    min-width: 90px;
    white-space: nowrap;
}

.cpi-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(30, 42, 56, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: color 0.2s;
    padding: 0;
}

.cpi-remove:hover {
    color: #c0392b;
}

.cpi-remove svg {
    width: 16px;
    height: 16px;
}

/* Récapitulatif commande */
.cart-summary-section {
    position: sticky;
    top: calc(var(--navbar-height) + 1.5rem);
    background: var(--bg-secondary);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-summary-title {
    font-family: "Oswald", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--text-primary);
}

.cart-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.cart-summary-row span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.cart-summary-divider {
    border: 0;
    height: 1px;
    background: rgba(30, 42, 56, 0.12);
    margin: 0.5rem 0 1.25rem;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.75rem;
}

.cart-summary-total-label {
    font-family: "Oswald", sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    font-weight: 600;
}

.cart-summary-total-amount {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-checkout-btn {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    font-family: "Oswald", sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
}

.cart-secure-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.cart-secure-text i {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.cart-continue-link {
    display: block;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.85rem;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.cart-continue-link:hover {
    color: var(--text-primary);
}

/* Responsive panier */
@media (max-width: 900px) {
    .cart-main-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem 4rem;
    }

    .cart-summary-section {
        position: static;
    }

    .cpi {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.75rem;
    }

    .cpi-img {
        width: 80px;
        height: 80px;
    }

    .cpi-qty,
    .cpi-price,
    .cpi-remove {
        grid-column: 2;
    }

    .cart-items-header {
        display: none;
    }
}