/* ============================================
   LUSH SPHERE - MAIN CSS
   Structure : Global → Desktop → Mobile → Breakpoints spécifiques
   ============================================ */


/* =============================================
   VARIABLES GLOBALES
   ============================================= */

:root {
    /* Colors */
    --color-primary: #6B7345;
    --color-primary-dark: #123524;
    --color-secondary: #CD4E04;
    --color-beige: #FFF3E9;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-text: #555555;
    --color-gray: #888888;
    --color-border: #D4D4D4;
    --color-cream: #F5F3EE;

    /* Spacing — NE PAS UTILISER CES VARIABLES DANS LES PAGES. Uniquement en dur */
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 30px;
    --spacing-lg: 50px;
    --spacing-xl: 64px;
    --spacing-2xl: 90px;
    --spacing-3xl: 120px;

    /* Shadows — NE PAS UTILISER CES VARIABLES DANS LES PAGES. Uniquement en dur */
    --shadow-sm: 0px 1px 4px rgba(18, 53, 36, 0.15);
    --shadow-md: 0px 2px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0px 4px 32px rgba(0, 0, 0, 0.2);
    --shadow-icons: 0px 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-buttons: 0px 2px 12px rgba(0, 0, 0, 0.25);

    /* Border Radius — NE PAS UTILISER CES VARIABLES DANS LES PAGES. Uniquement en dur */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Padding containers */
    --desktop-container-padding: 170px 70px 50px;
    --mobile-container-padding: 200px 24px 50px;
}


/* =============================================
   RESET & BASE
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmerMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    25%       { transform: scale(1.15); }
    50%       { transform: scale(0.95); }
    75%       { transform: scale(1.05); }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.3); background: #808853; }
}

@keyframes placeholder-glow {
    50% { opacity: 0.2; }
}

@keyframes placeholder-wave {
    100% { mask-position: -200% 0%; }
}


/* =============================================
   TYPOGRAPHIE — valeurs desktop (base)
   ============================================= */

h1 {
    font-family: 'Aboreto', serif;
    font-size: 72px;
    line-height: 90px;
    font-weight: 400;
}

h2,
.section-title {
    font-family: 'El Messiri', serif;
    font-size: 48px;
    line-height: 52px;
    font-weight: 500;
    color: var(--color-primary-dark);
    text-align: center;
}

.section-title {
    padding: 50px;
}

h3 {
    font-family: 'El Messiri', serif;
    font-size: 32px;
    line-height: 36px;
    font-weight: 500;
    color: var(--color-primary-dark);
}

p {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 28px;
}

button {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    line-height: 25px;
}

input {
    padding: 9px 18px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid #D4D4D4;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #555555;
    cursor: pointer;
}

.subtitle {
    font-family: 'El Messiri', serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #123524;
    opacity: 0.9;
}

section.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.animate-on-scroll.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}


/* =============================================
   BOUTONS
   ============================================= */

.btn-primary {
    width: auto;
    height: auto;
    padding: 12px 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 20px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    line-height: 25px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

/* Variante bouton pour fond sombre */
.btn-primary-light {
    width: auto;
    height: auto;
    padding: 12px 50px;
    background: var(--color-white);
    color: var(--color-primary-dark);
    border: none;
    border-radius: 20px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    line-height: 25px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary-light:hover {
    background: #8C965A;
    color: var(--color-white);
    border-color: var(--color-white);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    width: auto;
    height: auto;
    padding: 12px 50px;
    background: transparent;
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-dark);
    border-radius: 20px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    line-height: 25px;
    cursor: pointer;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* === Bouton Ajouter — états === */

.product-add-btn.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.product-add-btn .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.product-add-btn.added {
    background: #5A6239;
}


/* =============================================
   CHECKBOX UNIFIÉE — .lush-check
   Utilisée dans : filtre boutique, inscription, adresses, checkout
   ============================================= */

.lush-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.lush-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    color: transparent;
    cursor: pointer;
}

.lush-check-input:checked + .lush-check {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

label:hover .lush-check,
.lush-check-label:hover .lush-check {
    border-color: var(--color-primary);
}

.lush-check--error {
    border-color: #CD4E04 !important;
}


/* =============================================
   MESSAGES WOOCOMMERCE — Custom design
   ============================================= */

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    position: relative;
    padding: 16px 20px 16px 56px;
    margin: 20px 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    border-radius: 8px;
    list-style: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.woocommerce-error {
    background: #FFF5F5;
    border-left: 4px solid #CD4E04;
    color: #2B2B2B;
}

.woocommerce-error a {
    color: #CD4E04;
    text-decoration: underline;
    font-weight: 500;
}

.woocommerce-error a:hover {
    color: #a03d03;
}

.woocommerce-message {
    background: #F0F5F0;
    color: #2B2B2B;
}

.woocommerce-info {
    background: #F5F9FF;
    border-left: 4px solid #6B7345;
    color: #2B2B2B;
}


/* =============================================
   HEADER — BASE (commun desktop + mobile)
   ============================================= */

.icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icon {
    display: flex;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0px 2px 12px rgba(0, 0, 0, 0.3));
    align-items: center;
    justify-content: center;
}

.icon:hover {
    transform: scale(1.1);
}

.icon-cart {
    transition: transform 0.3s ease;
}

.icon-cart.cart-updated {
    animation: cartBounce 0.6s ease;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    right: 8px;
    top: 8px;
    width: 10px;
    height: 20px;
    padding: 0 8px;
    background: #a91916;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
}

.cart-count.hidden {
    visibility: hidden;
}

.icon-cart.cart-updated .cart-count {
    animation: badgePulse 0.6s ease;
}

.text-logo {
    font-family: 'Lexend Giga', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-black);
    letter-spacing: 0.5px;
    filter: drop-shadow(0px 1px 4px rgba(18, 53, 36, 0.15));
}

.mobile-menu-toggle svg,
.icon svg {
    stroke: currentColor;
    color: var(--color-primary-dark);
    stroke-width: 2.3;
}


/* =============================================
   FIL D'ARIANE — BASE
   ============================================= */

.breadcrumb-section {
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #EAEAEA;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 22px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-link {
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #123524;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #888888;
    margin: 0 4px;
    user-select: none;
}

.breadcrumb-current {
    color: #123524;
    font-weight: 500;
}


/* =============================================
   FOOTER — BASE (styles partagés)
   ============================================= */

.footer-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.copyright {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #FFFFFF;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-methods span {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
    color: #FFFFFF;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: auto;
    display: block;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 11px;
}

.social-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    color: #FFFFFF;
}

.social-icons {
    display: flex;
    gap: 11px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.social-icons svg {
    width: 40px;
    height: 40px;
    fill: #FFFFFF;
}

.newsletter {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.newsletter h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newsletter-form input[type="email"]::placeholder {
    color: #888888;
}

.newsletter-form .btn-primary:hover {
    background: #575d38;
}

.logo-name {
    font-family: 'Lexend Giga', sans-serif;
    font-size: 24px;
    line-height: 25px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0;
    white-space: nowrap;
}

.logo-tagline {
    font-family: 'Lexend Giga', sans-serif;
    font-size: 12px;
    line-height: 30px;
    font-weight: 300;
    color: #FFFFFF;
    margin: 0;
    white-space: nowrap;
}

.footer-logo-img {
    width: 147px;
    height: 147px;
    margin: 0 auto;
}

.footer-logo-img img {
    width: 100%;
    height: 100%;
    display: block;
}


/* =============================================
   UTILITIES
   ============================================= */

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(180deg, #123524, #6B7345);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.21);
    border-radius: 25px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-dark);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}


/* =============================================
   PLACEHOLDER — contenu en cours de chargement
   ============================================= */

.placeholder {
    display: inline-block;
    min-height: 1em;
    vertical-align: middle;
    cursor: wait;
    background-color: #a0a0a0;
    border-radius: 6px;
    opacity: 0.5;
}

.placeholder.btn::before {
    display: inline-block;
    content: "";
}

.placeholder-xs {
    min-height: 0.6em;
}

.placeholder-sm {
    min-height: 0.8em;
}

.placeholder-lg {
    min-height: 1.2em;
}

.placeholder-glow .placeholder {
    animation: placeholder-glow 2s ease-in-out infinite;
}

.placeholder-wave {
    mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);
    mask-size: 200% 100%;
    animation: placeholder-wave 2s linear infinite;
}


/* =======================================================
   DESKTOP  @media (min-width: 769px)
   ======================================================= */

@media (min-width: 769px) {

    /* Overlay + toggle burger masqués en desktop */
    .mobile-menu-overlay {
        display: none;
    }

    .mobile-menu-toggle {
        display: none;
    }

    /* === HEADER DESKTOP === */

    header {
        padding: 30px 70px;
        position: fixed;
        width: 100%;
        z-index: 1001;
        background: transparent;
        box-shadow: none;
        height: auto;
        transition: all 0.6s ease;
    }

    header.scrolled {
        z-index: 1001;
        background: #ffffff61;
        backdrop-filter: blur(10px);
        box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
        padding: 5px 70px;
        height: auto;
        transform: translateY(0);
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        gap: 30px;
    }

    /* Logo desktop */
    .logo img {
        height: 70px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: height 0.6s ease, transform 0.3s ease;
        filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.4));
    }

    header.scrolled .logo img {
        height: 50px;
    }

    .logo-text a {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .logo-text {
        width: auto;
        height: auto;
    }

    /* Navigation desktop */
    .nav-menu {
        display: flex;
        gap: 48px;
        align-items: center;
    }

    .nav-link {
        font-family: 'Work Sans', sans-serif;
        font-size: 18px;
        line-height: 22px;
        color: var(--color-black);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        filter: drop-shadow(0px 1px 4px rgba(18, 53, 36, 0.15));
    }

    .nav-link:hover {
        color: var(--color-primary);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    /* Icônes header desktop */
    .header-icons {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .icons-right {
        display: flex;
        gap: 10px;
        flex-direction: row;
    }

    /* Dropdown compte desktop */
    .account-dropdown {
        position: absolute;
        top: calc(100% + 16px);
        right: 0;
        width: 220px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.12);
        padding: 16px 0 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 2000;
    }

    .icon-wrapper:hover .account-dropdown,
    .account-dropdown:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .account-dropdown-name {
        font-family: 'El Messiri', serif;
        font-size: 20px;
        font-weight: 500;
        color: #123524;
        padding: 0 20px 12px;
        margin: 0;
    }

    .account-dropdown-username {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    .account-dropdown-divider {
        height: 1px;
        background: #F0F0F0;
    }

    .account-dropdown-link {
        display: block;
        font-family: 'Work Sans', sans-serif;
        font-size: 16px;
        font-weight: 400;
        color: #2B2B2B;
        padding: 14px 20px;
        border-radius: 0;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .account-dropdown-link:last-child {
        border-radius: 0 0 12px 12px;
    }

    .account-dropdown-link:hover {
        background: #F5F3EE;
        color: #123524;
        border-radius: 0;
    }

    .account-dropdown-link:last-child:hover {
        border-radius: 0 0 12px 12px;
    }

    .account-dropdown-logout {
        color: #CD4E04;
    }

    .account-dropdown-logout:hover {
        background: #FFF5F5;
        color: #CD4E04;
        border-radius: 0 0 16px 16px;
    }

    /* === FIL D'ARIANE DESKTOP === */

    .breadcrumb-section {
        padding: 20px 70px;
        margin-top: 50px;
    }

    /* === FOOTER DESKTOP === */

    .footer-mobile {
        display: none;
    }

    .footer {
        width: 100%;
        min-height: 414px;
        background: #123524;
        color: #FFFFFF;
    }

    .footer-content {
        width: 100%;
        margin: 0 auto;
        padding: 40px 40px 30px 40px;
        display: flex;
        flex-direction: column;
        gap: 26px;
    }

    .footer-top {
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
        width: 100%;
    }

    .footer-col.footer-logo {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: auto;
    }

    .footer-logo-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-col.footer-nav {
        width: auto;
        padding: 0 31px;
    }

    .footer-col.footer-service {
        width: auto;
        padding: 0 30px;
    }

    .footer-col h4 {
        font-family: 'Work Sans', sans-serif;
        font-size: 18px;
        line-height: 30px;
        font-weight: 600;
        color: #FFFFFF;
        margin: 0 0 15px 0;
        text-align: center;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        text-align: center;
        flex-direction: column;
        gap: 16px;
    }

    .footer-col ul li a {
        font-family: 'Work Sans', sans-serif;
        font-size: 18px;
        line-height: 30px;
        font-weight: 400;
        color: #FFFFFF;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .footer-col ul li a:hover {
        opacity: 0.7;
    }

    .footer-col.footer-newsletter {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 31px;
    }

    .newsletter h4 {
        text-align: left;
    }

    .newsletter-form .btn-primary {
        width: max-content;
    }

    .social-media {
        height: 40px;
    }

    .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
        height: 30px;
        margin: 0 auto;
        width: 100%;
    }

    .payment-icons img {
        height: auto;
        display: block;
    }
}


/* =======================================================
   MOBILE  @media (max-width: 768px)
   ======================================================= */

@media (max-width: 768px) {

    /* === TYPOGRAPHIE MOBILE === */

    h1 {
        font-family: 'Aboreto', serif;
        font-size: clamp(32px, 5vw, 64px);
        line-height: 50px;
    }

    h2,
    .section-title {
        font-size: 36px;
        line-height: 44px;
        padding: 40px 24px;
    }

    /* === BOUTONS MOBILE === */

    .btn-primary {
        padding: 12px 35px;
        font-size: 18px;
    }

    .btn-secondary {
        padding: 12px 35px;
        font-size: 18px;
    }

    /* === MESSAGES WOOCOMMERCE MOBILE === */

    .woocommerce-error,
    .woocommerce-message,
    .woocommerce-info {
        padding: 12px 16px 12px 48px;
        font-size: 14px;
    }

    .woocommerce-error::before,
    .woocommerce-message::before,
    .woocommerce-info::before {
        display: none;
    }

    /* === HEADER MOBILE === */

    header {
        padding: 50px 24px 30px;
        gap: 20px;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: transparent;
        box-shadow: none;
        flex-direction: column;
        transition: all 0.6s ease;
    }

    header.scrolled {
        background: #ffffff61;
        backdrop-filter: blur(10px);
        box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
        padding: 5px 24px;
        height: auto;
        transform: translateY(0);
    }

    header.scrolled .logo-text {
        display: none;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        flex-direction: column;
        gap: 20px;
        position: relative;
    }

    /* Logo mobile */
    .logo {
        width: 248px;
        height: 61px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .logo svg,
    .logo img {
        height: 61px;
        width: auto;
        filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.4));
    }

    .text-logo {
        font-size: 16px;
    }

    /* Navigation : masquée en mobile */
    .nav-menu {
        display: none;
    }

    /* Icônes header mobile */
    .header-icons {
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: space-between;
        position: static;
        width: 100%;
    }

    .icons-right {
        display: flex;
        gap: 20px;
    }

    .icon {
        width: 40px;
        height: 40px;
        filter: drop-shadow(0px 2px 12px rgba(0, 0, 0, 0.3));
        background: transparent;
        border: none;
        padding: 8px;
        display: flex;
        align-items: center;
    }

    .icon.icon-search {
        display: none;
    }

    /* Badge panier mobile */
    .icon.icon-cart {
        position: relative;
        transition: transform 0.3s ease;
        width: auto;
    }

    .cart-count {
        font-weight: 700;
    }

    /* Toggle burger mobile */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        width: 40px;
        height: 40px;
    }

    /* Dropdown compte masqué en mobile */
    .account-dropdown {
        display: none !important;
    }

    .mini-cart {
        display: none !important;
    }

    /* === MENU MOBILE OVERLAY === */

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(18, 53, 36, 0.4);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 2001;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-container {
        position: absolute;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 360px;
        height: 100%;
        background: #123524;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        padding: 40px 32px 48px;
        overflow-y: auto;
    }

    .mobile-menu-overlay.active .mobile-menu-container {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 56px;
    }

    a.mobile-menu-logo {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .text-logo-burger-menu {
        font-family: 'Lexend Giga', sans-serif;
        font-size: 16px;
        font-weight: 400;
        color: var(--color-white);
        letter-spacing: 0.5px;
        filter: drop-shadow(0px 1px 4px rgba(18, 53, 36, 0.15));
    }

    .mobile-menu-logo img {
        height: 48px;
        width: auto;
    }

    .mobile-menu-close {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease, transform 0.3s ease;
    }

    .mobile-menu-close:hover {
        opacity: 0.6;
        transform: rotate(90deg);
    }

    .mobile-menu-close svg {
        width: 28px;
        height: 28px;
        color: #ffffff;
        stroke: currentColor;
    }

    .mobile-menu-search {
        margin-bottom: 20px;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .mobile-menu-link {
        font-family: 'El Messiri', serif;
        font-size: 32px;
        font-weight: 500;
        color: #ffffff;
        text-decoration: none;
        line-height: 1.2;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        display: block;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
    }

    .mobile-menu-link:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-menu-link:hover {
        color: rgba(255, 255, 255, 0.6);
    }

    .mobile-menu-overlay.active .mobile-menu-link {
        opacity: 1;
        transform: translateX(0);
    }

    .mobile-menu-overlay.active .mobile-menu-link:nth-child(1) { transition-delay: 0.15s; }
    .mobile-menu-overlay.active .mobile-menu-link:nth-child(2) { transition-delay: 0.20s; }
    .mobile-menu-overlay.active .mobile-menu-link:nth-child(3) { transition-delay: 0.25s; }
    .mobile-menu-overlay.active .mobile-menu-link:nth-child(4) { transition-delay: 0.30s; }

    .mobile-menu-bottom {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 48px;
    }

    .mobile-menu-account {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-account-link {
        font-family: 'Work Sans', sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: #D4D4D4;
        text-decoration: none;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        transition: color 0.2s ease;
    }

    .mobile-menu-account-link:hover {
        color: #ffffff;
    }

    .mobile-menu-logout-link {
        font-family: 'Work Sans', sans-serif;
        font-size: 13px;
        font-weight: 400;
        color: #D4D4D4;
        text-decoration: none;
        letter-spacing: 0.3px;
        transition: color 0.2s ease;
    }

    .mobile-menu-logout-link:hover {
        color: rgba(255, 255, 255, 0.7);
    }

    .mobile-menu-social {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .mobile-menu-social a {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu-social a:hover {
        opacity: 0.6;
        transform: translateY(-2px);
    }

    /* === FIL D'ARIANE MOBILE === */

    .breadcrumb-section {
        padding: 16px 24px;
        margin-top: 20px;
    }

    .breadcrumb {
        font-size: 14px;
        line-height: 18px;
        gap: 6px;
    }

    .breadcrumb-separator {
        margin: 0 2px;
    }

    /* === FOOTER MOBILE === */

    .footer {
        display: none;
    }

    .footer-mobile {
        display: block;
        width: 100%;
        background: #123524;
        color: #FFFFFF;
    }

    .footer-content {
        padding: 32px 24px;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer-menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: none;
    }

    .footer-newsletter-social {
        display: flex;
        gap: 20px;
        flex-direction: column;
    }

    .footer-col {
        flex: none;
        width: 100%;
        padding: 0;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-logo-text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer-col.footer-logo {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo-name {
        line-height: 30px;
    }

    .logo-tagline {
        line-height: 20px;
    }

    .footer-col.footer-nav,
    .footer-col.footer-service {
        display: flex;
        width: auto;
        flex-direction: column;
        gap: 5px;
    }

    .footer-col h4 {
        font-family: 'Work Sans', sans-serif;
        font-size: 18px;
        line-height: 25px;
        font-weight: 700;
        color: #FFFFFF;
        margin: 0 0 20px 0;
        text-align: left;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .footer-col ul li {
        height: 35px;
        display: flex;
        align-items: center;
    }

    .footer-col ul li a {
        font-family: 'Work Sans', sans-serif;
        font-size: 18px;
        line-height: 25px;
        font-weight: 400;
        color: #FFFFFF;
        text-decoration: none;
    }

    .footer-col.footer-newsletter {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .newsletter-form .btn-primary {
        width: 183px;
        height: auto;
        background: #6B7345;
        color: #FFFFFF;
        border: none;
        border-radius: 20px;
        font-family: 'Josefin Sans', sans-serif;
        font-size: 18px;
        line-height: 25px;
        font-weight: 400;
        cursor: pointer;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
    }

    .footer-bottom-mobile {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .copyright {
        order: 3;
        text-align: center;
    }

    .footer-links {
        order: 1;
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .payment-methods {
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .payment-icons img {
        height: 23.5px;
        width: auto;
    }

    /* === UTILITIES MOBILE === */

    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }

    .text-center-mobile {
        text-align: center;
    }
}


/* =============================================
   BREAKPOINT SPÉCIFIQUE DESKTOP — max 1300px
   ============================================= */

@media (min-width: 769px) and (max-width: 1300px) {

    .hero-container {
        padding: 180px 0px 0px;
    }

    .pillar-card-inner {
        height: 320px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        height: auto;
        padding: 20px 0;
    }

    .copyright,
    .footer-links,
    .payment-methods {
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .payment-methods {
        flex-direction: column;
    }
}


/* =============================================
   TRÈS PETITS ÉCRANS (< 360px)
   ============================================= */

@media (max-width: 360px) {

    * {
        -webkit-tap-highlight-color: transparent;
    }

    .container {
        padding: 0 16px;
    }

    header {
        padding: 40px 24px 20px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .hero .subtitle {
        font-size: 18px;
        line-height: 28px;
    }

    .hero-image {
        height: 350px;
    }

    h2,
    .section-title {
        font-size: 32px;
        line-height: 40px;
        padding: 30px 24px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 24px;
    }
}
