
/* =========================================
        0. OVERRIDE CMP (Cookie Consent)
========================================= */

#cmplz-manage-consent{
    bottom: -500px !important;
    visibility: hidden !important;
}

/* --- COMPLIANZ MOBILE: ARTIGLIERIA PESANTE --- */
@media (max-width: 768px) {
    /* Ridimensiona l'intero blocco e lo stacca dai bordi */
    .cmplz-cookiebanner.banner-1.cmplz-show {
        padding: 15px !important;
        width: min(90vw, 420px) !important;
        min-width: unset !important;
        left: 50% !important;
        right: auto !important;
        bottom: 15px !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
    
    /* Rimpicciolisce il titolo */
    .cmplz-cookiebanner.banner-1 .cmplz-title {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
    }
    
    /* Rimpicciolisce il testo e l'altezza delle righe */
    .cmplz-cookiebanner.banner-1 .cmplz-message {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    /* Impila i bottoni uno sopra l'altro */
    .cmplz-cookiebanner.banner-1 .cmplz-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 0 !important;
    }
    
    /* Fa i bottoni larghi per essere cliccati facilmente col dito */
    .cmplz-cookiebanner.banner-1 .cmplz-btn {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        font-size: 0.85rem !important;
    }
}

/* =========================================
    1. VARIABILI E REGOLE BASE
========================================= */
:root {
    --color-bordeaux: #5A0C1D; 
    --color-cherry: #FFB8C3;   
    --color-lavender: #FDEDF0; 
    --color-text: #333333;
    --font-primary: 'Times New Roman', Times, serif; 
    --font-secondary: 'Inter', sans-serif; 
}

body { margin: 0; padding: 0; font-family: var(--font-secondary); background-color: var(--color-lavender); color: var(--color-text); line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-primary); font-weight: normal; margin: 0; color: var(--color-bordeaux);text-transform: none !important; }
section { padding: 80px 20px; text-align: center; }
.container { max-width: 1000px; margin: 0 auto; }

/* =========================================
    2. POPUP COMMUNITY
========================================= */
.popup-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(90, 12, 29, 0.85); z-index: 9999;
    justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease;
}
.popup-overlay.show { display: flex; opacity: 1; }

.popup-content {
    background: white; padding: 40px; max-width: 450px; width: 95%; border-radius: 4px;
    text-align: center; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: translateY(-20px); transition: transform 0.4s ease;
    max-height: 90vh; /* Se la form è più alta del 90% dello schermo, si ferma qui... */
    overflow-y: auto; /* ...e fa apparire la barra di scorrimento interna! */
    box-sizing: border-box;
}
.popup-overlay.show .popup-content { transform: translateY(0); }

.close-popup {
    position: absolute; top: 15px; right: 20px; font-size: 28px; color: #999;
    cursor: pointer; transition: color 0.3s; z-index: 10;
}
.close-popup:hover { color: var(--color-bordeaux); }
.popup-content h2 { font-size: 2rem; margin-bottom: 5px; }
.popup-content p { color: #666; font-size: 0.9rem; margin-bottom: 20px; }

/* Campi form loyalty: stile coerente anche su Safari/WebKit */
.popup-content form[action*="admin-post.php"] input:not([type="hidden"]):not([type="checkbox"]),
.popup-content form[action*="admin-post.php"] select,
.vip-section form[action*="admin-post.php"] input:not([type="hidden"]):not([type="checkbox"]),
.vip-section form[action*="admin-post.php"] select {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px !important;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-sizing: border-box;
    color: #555;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
    background-color: #fff;
}

.popup-content form[action*="admin-post.php"] select,
.vip-section form[action*="admin-post.php"] select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 44px !important;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--color-bordeaux) 50%),
        linear-gradient(135deg, var(--color-bordeaux) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.popup-content form[action*="admin-post.php"] input[type="date"],
.vip-section form[action*="admin-post.php"] input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
}

.popup-content form[action*="admin-post.php"] input:focus,
.popup-content form[action*="admin-post.php"] select:focus,
.vip-section form[action*="admin-post.php"] input:focus,
.vip-section form[action*="admin-post.php"] select:focus {
    outline: none;
    border-color: var(--color-bordeaux);
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .popup-content {
        padding: 35px 20px 25px 20px; /* Riduce i bordi bianchi interni per dare più spazio alla form */
        width: 95%; /* Mantiene esattamente il 95% della larghezza del telefono */
    }
    .popup-content h2 {
        font-size: 1.6rem; /* Riduce leggermente il titolo per guadagnare spazio */
    }
}


/* =========================================
    SMOOTH SCROLL GLOBALE
========================================= */

html {
    scroll-behavior: smooth; /* Questo crea l'effetto scivolamento! */
}

/* =========================================
    BOTTONE FLUTTUANTE
========================================= */

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-cherry); /* Il tuo rosa */
    color: var(--color-bordeaux); /* Freccia bordeaux per contrasto */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 999; /* Lo tiene sempre in primo piano */
    transition: all 0.3s ease;
}

.floating-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

/* Effetto al passaggio del mouse (Hover) */
.floating-btn:hover {
    background-color: var(--color-bordeaux);
    color: var(--color-lavender);
    transform: translateY(-5px); /* Si solleva leggermente */
    box-shadow: 0 8px 25px rgba(90, 12, 29, 0.3);
}

/* Anima la freccia verso il basso quando ci passi sopra */
.floating-btn:hover svg {
    transform: translateY(3px);
}

/* Responsive: Su smartphone lo facciamo un po' più piccolo */
@media (max-width: 768px) {
    .floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}


/* =========================================
    3. NAVBAR FISSA
========================================= */
.fixed-navbar {
    position: fixed; top: 0; left: 0; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; padding: 12px 50px; z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); box-sizing: border-box; border-bottom: 1px solid rgba(90, 12, 29, 0.05);
}
.nav-left { justify-self: start; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: none; background: transparent; color: var(--color-bordeaux); cursor: pointer; justify-self: start; -webkit-appearance: none; appearance: none; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }
.nav-toggle svg path { stroke: var(--color-bordeaux); }
.nav-toggle,
.mobile-nav-close {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    padding: 0 !important;
    margin: 0;
    border: none;
    background: transparent !important;
    box-shadow: none !important;
    font-family: inherit;
    line-height: 1;
    flex: 0 0 auto;
    -webkit-appearance: none;
    appearance: none;
    color: var(--color-bordeaux) !important;
}
.nav-logo { justify-self: center; line-height: 0; }
.nav-logo img { height: 56px; width: auto; max-height: 56px; object-fit: contain; padding-top: 0; display: block; }
.nav-links { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; justify-self: start; align-items: center; }
.nav-links a { text-decoration: none; color: var(--color-bordeaux); font-size: 1rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 0.6; }
.nav-action { justify-self: end; }
.nav-cta-button { background-color: var(--color-cherry); color: var(--color-bordeaux); padding: 12px 24px; text-decoration: none; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; transition: 0.3s; }
.nav-cta-button:hover { background-color: var(--color-bordeaux); color: white; }
.mobile-nav-panel { position: fixed; top: 0; left: 0; width: min(320px, 86vw); height: 100vh; padding: 90px 28px 32px; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-sizing: border-box; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1100; box-shadow: 12px 0 30px rgba(90, 12, 29, 0.12); }
.mobile-nav-panel.is-open { transform: translateX(0); }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(90, 12, 29, 0.24); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 1090; }
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
        visibility: hidden;
        pointer-events: none;
    }
    .mobile-nav-panel,
    .mobile-nav-overlay {
        display: none !important;
    }
}

    @media (max-width: 768px) {
    .fixed-navbar {
        grid-template-columns: 42px 1fr 42px;
        padding: 16px 25px;
    }
    .nav-left { display: contents; }
    .nav-toggle { display: inline-flex; }
    .nav-logo { justify-self: center; }
    .nav-logo img { height: auto; width: auto; max-width: 150px; max-height: 44px; }
    .nav-links { display: none; }
    .nav-action { display: none; }
    .mobile-nav-close {
        position: absolute; top: 24px; right: 20px; border: none; background: transparent; color: var(--color-bordeaux);
        font-size: 2rem; line-height: 1; cursor: pointer; -webkit-appearance: none; appearance: none;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none !important; box-shadow: none !important;
        background: transparent !important; border-radius: 0; padding: 0;
    }
    .mobile-nav-close:focus,
    .mobile-nav-close:focus-visible,
    .mobile-nav-close:hover,
    .mobile-nav-close:active {
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        color: var(--color-bordeaux);
    }
    .mobile-nav-links {
        list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px;
    }
    .mobile-nav-links a { text-decoration: none; color: var(--color-bordeaux); font-size: 0.95rem; letter-spacing: 1.4px; text-transform: uppercase; }
    .mobile-nav-cta {
        display: inline-flex; margin-top: 32px;
    }
    body.mobile-nav-open { overflow: hidden; }
}
/* =========================================
    4. EDITORIAL HERO
========================================= */
.editorial-hero {
    min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr;
    background-color: var(--color-lavender);
    background-repeat: repeat; background-position: center; background-size: auto;
    padding-top: 80px; align-items: center; box-sizing: border-box;
}
.hero-text-content { padding: 8% 12% 8% 10%; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.hero-label { font-size: 0.85rem; letter-spacing: 3px; color: var(--color-bordeaux); text-transform: uppercase; margin-bottom: 25px; font-weight: 600; }
.hero-label::before { content: ''; display: inline-block; width: 40px; height: 1px; background-color: var(--color-bordeaux); margin-right: 15px; vertical-align: middle; }
.hero-h1 { font-size: 4.8rem; line-height: 1.05; margin-bottom: 30px; color: var(--color-bordeaux); font-family: var(--font-primary); font-weight: 400; }
.hero-p { font-size: 1.15rem; color: #555; max-width: 500px; line-height: 1.7; margin-bottom: 45px; }
.hero-link { color: var(--color-bordeaux); text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 1px solid var(--color-bordeaux); display: inline-block; align-self: flex-start; padding-bottom: 5px; transition: 0.3s; }
.hero-link:hover { opacity: 0.6; padding-right: 10px; }
.hero-image-content {
    position: relative; width: clamp(300px, 36vw, 560px); aspect-ratio: 4 / 5;
    border-radius: 14px; display: flex; justify-content: center; align-items: center;
    margin: 0 auto; box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.main-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: inherit; }
.hero-quote {
    position: absolute; bottom: 50px; left: -80px; background-color: rgba(90,12,29,0.92);
    padding: clamp(4px, 1.8vw, 10px); width: clamp(175px, 28vw, 360px); max-width: 95%;
    box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; 
    box-shadow: 0 20px 50px rgba(90, 12, 29, 0.08); z-index: 900;
}
.hero-quote p { font-family: var(--font-primary); font-style: italic; font-size: clamp(0.95rem, 1.6vw, 1.3rem); color: rgb(243,166,183); margin: 0 0 10px 0; line-height: 1.2; }
.hero-quote span { font-size: clamp(0.55rem, 0.95vw, 0.7rem); letter-spacing: 1.5px; text-transform: uppercase; color: rgb(243,166,183); display: block; opacity: 0.95; }

@media(max-width: 1024px) {
    .editorial-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; align-items: start; }
    .hero-text-content { padding: 40px 30px; }
    .hero-h1 { font-size: 3.5rem; }
    .hero-image-content { width: min(92%, 720px); aspect-ratio: 4 / 3; margin: 0 auto; }
    .hero-quote { left: 20px; bottom: -30px; max-width: 80%; padding: 30px; }
    .fixed-navbar { padding: 15px 25px; }
}
/* --- RESPONSIVE PER SMARTPHONE (Schermi piccoli) --- */
@media (max-width: 768px) {
    .fixed-navbar{
        padding: 20px 25px;
    }
    /* Rimpicciolisce il titolo principale */
    .hero-h1 { 
        font-size: 2rem; 
        line-height: 1.1; 
        margin-bottom: 20px;
    }
    
    /* Rimpicciolisce leggermente il paragrafo descrittivo */
    .hero-p { 
        font-size: 0.8rem; 
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    /* Rimpicciolisce l'etichetta in alto ("Dal 1958") */
    .hero-label {
        font-size: 0.75rem;
        margin-bottom: 15px;
    }
    
    /* Riduce lo spazio vuoto ai lati per far respirare il testo */
    .hero-text-content { 
        padding: 5px 20px; 
    }
    .editorial-hero { 
        padding: 60px 20px ; 
    }
    .hero-image-content { 
        width: 80%; 
        height: 70vw;
        margin: 20px auto; 
    }
    .hero-quote {
        bottom: -20px;
        left: -35px;
        width: 70%;
        padding: 5px;
    }
    .hero-quote p {
        font-size: 0.6rem; 
        margin-bottom: 2px;
    }
    .hero-quote span {
        font-size: 0.5rem; 
    }
}

/* --- RESPONSIVE PER SMARTPHONE MOLTO PICCOLI (es. vecchi iPhone) --- */
@media (max-width: 480px) {
    .hero-h1 { 
        font-size: 2.3rem; /* Titolo ancora più compatto */
    }
}

/* =========================================
    5. CAROSELLO BRAND
========================================= */
.brands-carousel-section { background-color: white; padding: 75px 0; overflow: hidden; text-align: center; }
.carousel-header { margin-bottom: 60px; }
.carousel-label { font-size: 0.8rem; letter-spacing: 3px; color: var(--color-cherry); text-transform: uppercase; display: block; margin-bottom: 15px; font-weight: 600; }
.brands-carousel-section h2 { font-size: 2.8rem; color: var(--color-bordeaux); font-family: var(--font-primary); }
.carousel-container { width: 100%; overflow: hidden; position: relative; }
.carousel-container::before, .carousel-container::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; }
.carousel-container::before { left: 0; background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%); }
.carousel-container::after { right: 0; background: linear-gradient(to left, white 0%, rgba(255,255,255,0) 100%); }
.carousel-track { display: flex; align-items: center; width: calc(250px * 12); animation: scroll-brands 30s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
.brand-slide { width: 250px; padding: 0 40px; display: flex; justify-content: center; align-items: center; }
.brand-slide img { max-width: 100%; max-height: 70px; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: all 0.4s ease; cursor: pointer; }
.brand-slide img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.08); }
@keyframes scroll-brands { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 6)); } }

@media (max-width: 768px) {
    .carousel-container::before, .carousel-container::after { width: 50px; }
    .brand-slide { width: 180px; padding: 0 20px; }
    .brand-slide img { max-height: 50px; }
    .carousel-track { width: calc(180px * 12); animation: scroll-brands-mobile 20s linear infinite; }
    @keyframes scroll-brands-mobile { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-180px * 6)); } }
}

/* =========================================
    6. L'ATMOSFERA / LA STORIA (Heritage Asimmetrico)
========================================= */
.heritage-section { padding: 120px 20px; background-color: white; overflow: hidden; }
.heritage-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.heritage-text-box { background: white; padding: 50px; border-radius: 12px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.03); z-index: 10; }
.heritage-year-bg { position: absolute; top: -40px; left: -20px; font-size: 8rem; font-family: var(--font-primary); color: rgba(243, 166, 183, 0.15); z-index: -1; user-select: none; }
.heritage-text-box h2 { font-size: 2.8rem; margin-bottom: 25px; color: var(--color-bordeaux); }
.heritage-text-box p { color: #555; font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; text-align: left;}
.heritage-sign { margin-top: 40px; display: flex; align-items: center; gap: 15px; }
.heritage-sign .line { height: 1px; flex-grow: 1; background-color: rgba(90, 12, 29, 0.1); }
.heritage-sign span { font-family: var(--font-primary); font-style: italic; color: var(--color-bordeaux); font-size: 1.2rem; }
.heritage-collage { position: relative; height: 600px; width: 100%; }
.heritage-img-large { position: absolute; top: 0; right: 0; width: 85%; height: 85%; object-fit: cover; border-radius: 12px; }
.heritage-img-small { position: absolute; bottom: 0; left: 0; width: 55%; height: 55%; object-fit: cover; border-radius: 12px; z-index: 5; }

@media (max-width: 1024px) {
    .heritage-container { grid-template-columns: 1fr; }
    .heritage-collage { height: 450px; margin-top: 40px; }
}

/* =========================================
    7. BOUTIQUE INTERATTIVA
========================================= */
.interactive-locations { padding: 120px 20px; overflow: hidden; background-color: var(--color-lavender); }
.interactive-locations .container-asymmetric { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; max-width: 1200px; margin: 0 auto; align-items: center; }
.interactive-locations .locations-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 40px; text-align: left; color: var(--color-bordeaux);}
.interactive-locations .boutique-selector { list-style: none; padding: 0; margin: 0; }
.interactive-locations .boutique-selector li { padding: 20px 0; border-bottom: 1px solid rgba(90, 12, 29, 0.1); cursor: pointer; transition: all 0.3s ease; display: flex; justify-content: space-between; align-items: center; }
.interactive-locations .boutique-selector li:hover, .interactive-locations .boutique-selector li.active-location { padding-left: 15px; }
.interactive-locations .city-name { font-family: var(--font-primary); font-size: 1.8rem; color: var(--color-bordeaux); display: block; transition: color 0.3s; text-align: left; }
.interactive-locations .boutique-selector li.active-location .city-name, .interactive-locations .boutique-selector li:hover .city-name { color: var(--color-cherry); }
.interactive-locations .city-address { font-size: 0.9rem; color: #666; margin: 5px 0 0 0; text-align: left; }
.interactive-locations .image-wrapper-editorial { position: relative; width: 100%; height: 600px; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.interactive-locations .image-wrapper-editorial img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease, transform 10s ease; }
.interactive-locations .image-wrapper-editorial:hover img { transform: scale(1.05); }
.interactive-locations .image-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(90, 12, 29, 0.9) 0%, rgba(90, 12, 29, 0) 60%); z-index: 2; pointer-events: none; }
.interactive-locations .image-overlay-content { position: absolute; bottom: 40px; left: 40px; right: 40px; z-index: 3; color: white; text-align: left; }
.interactive-locations .badge-flagship { display: inline-block; background-color: var(--color-cherry); color: var(--color-bordeaux); padding: 6px 12px; font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; border-radius: 4px; margin-bottom: 15px; text-transform: uppercase; }
.interactive-locations .overlay-title { font-family: var(--font-primary); font-size: 2.5rem; color: white; margin-bottom: 10px; }
.interactive-locations .overlay-text { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; max-width: 350px; }

/* --- STILE FRECCE SVG BOUTIQUE --- */
.boutique-arrow {
    color: rgba(90, 12, 29, 0.3); /* Bordeaux al 30% di opacità (come avevi prima) */
    transition: all 0.4s ease;
}

/* Quando passi col mouse (o clicchi) si colora del tutto e fa un piccolo balzo */
.boutique-selector li:hover .boutique-arrow,
.boutique-selector li.active-location .boutique-arrow {
    color: var(--color-bordeaux);
    transform: translate(4px, -4px); /* Scivola in alto a destra */
}

@media (max-width: 1024px) {
    .interactive-locations .container-asymmetric { grid-template-columns: 1fr; gap: 40px;}
    .interactive-locations .image-wrapper-editorial { height: 450px; margin-top: 30px; }
    .interactive-locations .image-overlay-content { bottom: 20px; left: 20px; right: 20px; }
}




/* =========================================
    9. BRAND CURATI (Mosaico Editoriale)
========================================= */
.curated-brands-section {
    padding: 30px 20px;
    background-color: var(--color-lavender); 
}

.curated-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    text-align: left;
}

.curated-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-bordeaux);
    margin-bottom: 15px;
    line-height: 1.1;
}

.curated-header p {
    color: #666;
    font-size: 1.05rem;
    max-width: 450px;
    margin: 0;
}

.curated-header-link {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-bordeaux);
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--color-bordeaux);
    padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
}

.curated-header-link:hover {
    color: var(--color-cherry);
    border-bottom-color: var(--color-cherry);
}

/* La Griglia Asimmetrica */
.curated-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.1fr; /* Proporzioni perfette per il mosaico */
    gap: 20px;
}

.curated-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f4f4f4;
}

.curated-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.curated-rotating-card {
    position: relative;
}

.curated-rotating-card .curated-image-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.curated-rotating-card .curated-image-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none !important;
}

.curated-rotating-card .curated-image-current {
    transform: translateX(0);
}

.curated-rotating-card.is-sliding .curated-image-current {
    animation: curated-slide-out 0.7s ease-in-out forwards;
}

.curated-rotating-card .curated-image-next {
    transform: translateX(100%);
}

.curated-rotating-card.is-sliding .curated-image-next {
    animation: curated-slide-in 0.7s ease-in-out forwards;
}

@keyframes curated-slide-out {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes curated-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.curated-card:not(.curated-rotating-card):hover img {
    transform: scale(1.05); /* Zoom elegante al passaggio del mouse */
}

.curated-rotating-card:hover .curated-image-stage {
    transform: scale(1.05);
}

.curated-rotating-card:hover .curated-image-current,
.curated-rotating-card:hover .curated-image-next {
    transform: none;
}

.curated-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.curated-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    text-align: left;
}

.curated-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-cherry);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.curated-content h3 {
    font-size: 2.2rem;
    color: white;
}

/* Colonna Centrale (Divisa in due) */
.curated-middle-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 620px; /* MAGIA: Blocca l'altezza identica alle foto laterali */
}

.curated-text-card {
    background-color: var(--color-cherry);
    padding: 30px 25px; /* Spazi interni rimpiccioliti */
    border-radius: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.curated-text-card h3 {
    font-size: 1.8rem; /* Titolo leggermente più compatto */
    margin-bottom: 10px; /* Spazio ridotto */
}

.curated-text-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px; /* Spazio ridotto */
    line-height: 1.5;
}

.curated-text-card a {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-bordeaux);
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(90, 12, 29, 0.3);
    align-self: flex-start;
    padding-bottom: 3px;
    transition: 0.3s;
}

.curated-text-card a:hover {
    color: var(--color-cherry);
    border-color: var(--color-cherry);
}

/* Immagine piccola sotto al testo */
.curated-small {
    flex: 1;
    min-height: 280px;
}

.curated-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: white;
    color: var(--color-bordeaux);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 2;
}

/* Altezze Fisse per mantenere la griglia allineata */
.curated-large { height: 620px; }
.curated-tall { height: 620px; }



/* --- ESTENSIONE GALLERIA STILE MAGAZINE --- */

.curated-grid-extension {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Divide lo spazio: la prima foto è il doppio della seconda */
    gap: 20px; /* Assicurati che questo spazio sia uguale a quello delle foto sopra */
    margin-top: 20px; /* Spazio dalla riga superiore */
}

/* Altezze fisse per le nuove foto */
.curated-grid-extension .curated-card {
    height: 350px;
    position: relative;
    border-radius: 8px; /* O usa lo stesso raggio dei bordi del tuo tema */
    overflow: hidden;
}

/* Fa in modo che le foto riempiano tutto lo spazio senza schiacciarsi */
.curated-grid-extension .curated-card img {
    width: 100%;
    
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Effetto zoom quando passi col mouse (come sopra) */
.curated-grid-extension .curated-card:hover img {
    transform: scale(1.05);
}

/* Su mobile le mettiamo una sotto l'altra */
@media (max-width: 768px) {
    .curated-grid-extension {
        grid-template-columns: 1fr; /* Una sola colonna */
        margin-top: 15px;
        gap: 15px;
    }
    .curated-grid-extension .curated-card {
        height: 250px; /* Più basse sui telefoni */
    }
}
@media (max-width: 1024px) {
    .curated-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .curated-large, .curated-tall, .curated-small { height: 400px; }
    .curated-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}



/* =========================================
    8. FORM CLUB VIP
========================================= */
.vip-section { 
    background: var(--color-bordeaux);
    background-repeat: repeat; background-position: center; background-size: auto;
}
.vip-content { max-width: 500px; margin: 0 auto; background: white; padding: 50px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
input { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; font-family: var(--font-secondary); box-sizing: border-box; }
button { width: 100%; padding: 15px; background: var(--color-bordeaux); color: white; border: none; font-size: 1.1rem; font-family: var(--font-primary); cursor: pointer; transition: 0.3s; text-transform: uppercase; }
button:hover { background: var(--color-cherry); color: var(--color-bordeaux); }

/* L'animazione chiave per lo scorrimento infinito */
@keyframes scroll-brands {
    0% { transform: translateX(0); }
    /* Si sposta esattamente della metà della sua larghezza (il primo set di loghi) */
    100% { transform: translateX(calc(-250px * 6)); } 
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-container::before,
    .carousel-container::after {
        width: 50px; /* Sfumature più piccole su mobile */
    }
    .brand-slide {
        width: 180px;
        padding: 0 20px;
    }
    .brand-slide img {
        max-height: 50px;
    }
    .carousel-track {
        width: calc(180px * 12);
        animation: scroll-brands-mobile 20s linear infinite;
    }
    @keyframes scroll-brands-mobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-180px * 6)); }
    }
}


/* =========================================
        FOOTER EDITORIALE LIGHT (Stile Tailwind Tradotto) 
=========================================*/


.site-footer-light {
    background-color: var(--color-lavender); /* Sfondo chiaro come nel tuo esempio */
    padding:  20px 15px 10px;
    border-top: 1px solid rgba(90, 12, 29, 0.05); /* Linea sottilissima in alto */
    font-family: var(--font-secondary);
}

.footer-container-light {
    max-width: 95vw; /* Molto largo e arioso */
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-brand-col {
    max-width: 450px;
}

.footer-logo-text {
    font-family: var(--font-primary);
    /* Minimo 1.8rem, ideale 3% dello schermo, massimo 2.8rem */
    font-size: clamp(1.8rem, 3vw, 2.8rem); 
    font-weight: bold;
    color: var(--color-bordeaux);
    margin-bottom: 25px;
    display: block;
}

.footer-brand-desc {
    color: rgba(90, 12, 29, 0.6);
    /* Minimo 0.9rem, ideale 1.2% dello schermo, massimo 1.1rem */
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
}

.footer-links-group {
    display: flex;
    gap: 100px; /* Ampio respiro tra le colonne */
}

.footer-link-col h4 {
    font-family: var(--font-secondary);
    font-weight: bold;
    /* Minimo 0.7rem, ideale 1% dello schermo, massimo 0.85rem */
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-bordeaux);
    margin: 0 0 25px 0;
}

.footer-link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link-col a {
    color: rgba(90, 12, 29, 0.7);
    /* Minimo 0.8rem, ideale 1% dello schermo, massimo 0.95rem */
    font-size: clamp(0.7rem, 0.9vw, 0.90rem);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-col a:hover {
    color: var(--color-cherry); /* Diventa rosa al passaggio */
}

.footer-bottom-light {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    border-top: 1px solid rgba(90, 12, 29, 0.1);
    font-size: 0.75rem;
    color: rgba(90, 12, 29, 0.4);
    font-family: monospace; /* Font stile "codice" come nel tuo esempio */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive per Tablet e Smartphone */
@media (max-width: 1024px) {
    .footer-links-group {
        gap: 50px; /* Riduce lo spazio su schermi medi */
    }
}/* Responsive per Tablet e Smartphone */
@media (max-width: 768px) {
    .footer-top-row {
        flex-direction: column; /* Tiene il logo sopra e i link sotto */
        gap: 50px;
    }
    
    /* QUI AVVIENE LA MAGIA: Mette le 3 colonne in riga invece che in colonna */
    .footer-links-group {
        flex-direction: row; 
        justify-content: space-between;
        flex-wrap: wrap; /* Va a capo solo se lo schermo è davvero minuscolo */
        gap: 15px;
        width: 100%;
    }
    
    /* Assicura che le tre colonnine si dividano lo spazio equamente */
    .footer-link-col {
        flex: 1;
        min-width: 28%; /* Impedisce che si stringano troppo */
        text-align: left; /* Mantiene l'allineamento pulito */
    }

    .footer-link-col h4 {
        font-size: 0.7rem; /* Leggermente più piccolo per far stare tutto in riga */
        margin-bottom: 15px;
    }
    
    .footer-link-col a {
        font-size: 0.8rem; /* Rimpicciolisce i link per non farli andare a capo */
    }

    .footer-bottom-light {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-container-light {
        padding: 0 10px;
    }
}



/* =========================================
   PULSANTE WHATSAPP FLUTTUANTE
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Posizionato a SINISTRA */
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde ufficiale WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 999; /* Sempre in primo piano */
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    transition: transform 0.3s ease;
}

/* Effetto al passaggio del mouse (per i PC) */
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Responsive: Su smartphone lo facciamo un po' più piccolo per non dare fastidio */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px; /* Rimane a SINISTRA anche da mobile */
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
