/*
Theme Name: Pane Tinto Child
Template:   nextawards
Description: Child theme di NextAwards per Pane Tinto — Panificio artigianale Bovolone (VR)
Author:     Marco (Marchetti Design workflow)
Version:    1.9.0
*/

/* ================================================
   PANE TINTO — CSS personalizzato
   Naming: .cc-panetinto-[componente]
   Palette: Terracotta #f47a69 | Espresso #403d3c
            Crema #FAF6F0 | Grano #D4A853
   ================================================ */

:root {
    --cc-bar-h: 36px;
}

/* -----------------------------------------------
   ANNOUNCEMENT BAR — barra fissa in cima
   ----------------------------------------------- */
.cc-announcement {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--cc-bar-h);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background-color: var(--wp--preset--color--terracotta);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.cc-announcement:hover { background-color: #e05a48; }

.cc-announcement__phone {
    width: 13px;
    height: 13px;
    stroke: rgba(250,246,240,0.65);
    flex-shrink: 0;
    transition: stroke 0.25s ease;
}
.cc-announcement:hover .cc-announcement__phone { stroke: rgba(250,246,240,0.9); }

.cc-announcement__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    white-space: nowrap;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 35%,
        rgba(255,255,255,0.45) 50%,
        #ffffff 65%,
        #ffffff 100%
    );
    background-size: 300% auto;
    background-position: 0% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cc-bar-shine 4s ease-in-out infinite;
}
.cc-announcement__text strong {
    font-weight: 700;
    -webkit-text-fill-color: transparent;
}

@keyframes cc-bar-shine {
    0%, 15%  { background-position:   0% center; }
    55%, 70% { background-position: 100% center; }
    100%     { background-position:   0% center; }
}

.cc-announcement__arrow {
    width: 11px;
    height: 11px;
    stroke: rgba(250,246,240,0.55);
    flex-shrink: 0;
    transition: transform 0.3s ease, stroke 0.25s ease;
}
.cc-announcement:hover .cc-announcement__arrow {
    transform: translateX(3px);
    stroke: rgba(250,246,240,0.9);
}

/* -----------------------------------------------
   RESET / BASE
   ----------------------------------------------- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #403d3c;
    color: var(--wp--preset--color--espresso);
}

body.no-overflow,
body.cc-panetinto-home {
    overflow-x: hidden;
}

/* Rimuove margini di default del wrapper padre su questa pagina */
body.cc-panetinto-home .wrapper,
body.cc-panetinto-home .spacer {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* -----------------------------------------------
   CONTAINER UTILITY
   ----------------------------------------------- */
.cc-panetinto-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
}

/* Tag sovrastitolo riutilizzabile */
.cc-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wp--preset--color--terracotta);
    margin-bottom: 1.25rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--wp--preset--color--terracotta);
}

/* Placeholder immagini (da sostituire con foto reali) */
.cc-panetinto-img-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(139, 90, 60, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
}

.cc-panetinto-img-placeholder--tall {
    height: 500px;
    background: linear-gradient(135deg, #e8d5c4, #d4a87a);
    border-radius: 4px;
}

.cc-panetinto-img-placeholder--storia-sx {
    height: 100%;
    min-height: 500px;
    background: linear-gradient(160deg, #8B5A3C, #403d3c);
    color: rgba(255,255,255,0.3);
    font-size: 5rem;
}

.cc-panetinto-img-placeholder--storia-dx {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, #d4a87a, #f47a69);
}

/* Emoji galleria placeholder */
.cc-panetinto-galleria__emoji {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.4);
}

/* -----------------------------------------------
   SIDEBAR — barra verticale fissa sinistra
   ----------------------------------------------- */

.cc-sidebar {
    position: fixed;
    top: var(--cc-bar-h);
    left: 0;
    bottom: 0;
    width: 44px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0 1.75rem;
    background: #ffffff;
    transition: background 0.35s ease;
}

/* WP admin bar offset */
.admin-bar .cc-sidebar { top: calc(32px + var(--cc-bar-h)); }
@media screen and (max-width: 782px) {
    .admin-bar .cc-sidebar { top: calc(46px + var(--cc-bar-h)); }
}

/* Linea sottile sul bordo destro */
.cc-sidebar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(64, 61, 60, 0.1);
    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* Quando il pannello è aperto: linea sparisce (tutto unificato) */
body.cc-nav-open .cc-sidebar::after {
    opacity: 0;
}

/* ---- Logo sidebar (solo mobile) ---- */
.cc-sidebar__logo-link {
    display: none;
}
.cc-sidebar__logo {
    height: auto;
    display: block;
}

/* ---- Toggle hamburger (top) ---- */
.cc-sidebar__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-shrink: 0;
}

.cc-sidebar__toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: rgba(64, 61, 60, 0.55);
    transition: background 0.3s ease, transform 0.35s ease, opacity 0.25s ease;
}

.cc-sidebar__toggle:hover span {
    background: #403d3c;
}

/* Trasforma in X quando pannello aperto */
body.cc-nav-open .cc-sidebar__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #403d3c;
}
body.cc-nav-open .cc-sidebar__toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
body.cc-nav-open .cc-sidebar__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #403d3c;
}

/* ---- CTA verticale (centro) ---- */
.cc-sidebar__cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wp--preset--color--cream);
    text-decoration: none;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 1.2rem 0.6rem;
    background: var(--wp--preset--color--terracotta);
    transition: background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cc-sidebar__cta:hover {
    background: #e05a48;
    color: #fff;
}

/* Quando pannello aperto: CTA si fonde col pannello (espresso) */
body.cc-nav-open .cc-sidebar__cta {
    background: var(--wp--preset--color--espresso);
    color: rgba(250, 246, 240, 0.35);
}

/* ---- Social icons (bottom) ---- */
.cc-sidebar__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    flex-shrink: 0;
}

.cc-sidebar__social-link {
    color: rgba(64, 61, 60, 0.45);
    line-height: 0;
    transition: color 0.2s ease;
}

.cc-sidebar__social-link:hover {
    color: var(--wp--preset--color--terracotta);
}

/* Quando pannello aperto: social più visibili */
body.cc-nav-open .cc-sidebar__social-link {
    color: rgba(64, 61, 60, 0.65);
}

.cc-sidebar__social-link svg {
    width: 17px;
    height: 17px;
    display: block;
}

/* -----------------------------------------------
   NAV PANEL — scorre da sinistra dopo la sidebar
   ----------------------------------------------- */

.cc-nav__panel {
    position: fixed;
    top: var(--cc-bar-h);
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--wp--preset--color--espresso);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 5rem 2.5rem 3rem;
    /* Parte completamente fuori schermo (nascosto + X non sbuca) */
    transform: translateX(calc(-100% - 44px));
    transition: transform 0.42s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-bar .cc-nav__panel { top: calc(32px + var(--cc-bar-h)); }
@media screen and (max-width: 782px) {
    .admin-bar .cc-nav__panel { top: calc(46px + var(--cc-bar-h)); }
}

/* Aperto: scorre fino a destra della sidebar */
.cc-nav__panel.open {
    transform: translateX(44px);
}

/* Bottone chiudi (X) — visibile solo quando pannello aperto */
.cc-nav__close {
    display: none;
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: rgba(250, 246, 240, 0.4);
    line-height: 0;
    transition: color 0.2s ease;
}
.cc-nav__panel.open .cc-nav__close { display: block; }
.cc-nav__close:hover { color: var(--wp--preset--color--cream); }
.cc-nav__close svg { width: 22px; height: 22px; display: block; }

/* Link di navigazione */
.cc-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    margin-top: 1rem;
}

.cc-nav__link {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: rgba(250, 246, 240, 0.65);
    text-decoration: none;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(250, 246, 240, 0.07);
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
}

.cc-nav__link:hover {
    color: var(--wp--preset--color--terracotta);
    padding-left: 8px;
}

/* Backdrop scuro (inizia dopo la sidebar) */
.cc-nav__backdrop {
    position: fixed;
    top: var(--cc-bar-h);
    left: 44px;
    right: 0;
    bottom: 0;
    background: rgba(64, 61, 60, 0.45);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.cc-nav__backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* -----------------------------------------------
   SIDEBAR — Mobile (≤768px): barra orizzontale
   ----------------------------------------------- */
@media (max-width: 768px) {
    .cc-sidebar {
        top: var(--cc-bar-h);
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 48px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }
    .cc-sidebar::after {
        display: none;
    }
    /* Logo: visibile e centrato su mobile */
    .cc-sidebar__logo-link {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.9;
        transition: opacity 0.2s ease;
    }
    .cc-sidebar__logo-link:hover { opacity: 1; }
    .cc-sidebar__logo {
        width: 80px;
    }
    /* CTA verticale: nascosta su mobile */
    .cc-sidebar__cta {
        display: none;
    }
    /* Social: orizzontali a destra */
    .cc-sidebar__social {
        flex-direction: row;
        gap: 0.9rem;
    }
    /* Pannello nav: parte dall'alto della barra, full width */
    .cc-nav__panel {
        left: 0;
        width: 100%;
        top: calc(48px + var(--cc-bar-h));
        height: calc(100vh - 48px - var(--cc-bar-h));
        padding: 3rem 2rem 2rem;
        transform: translateX(-100%);
    }
    .cc-nav__panel.open {
        transform: translateX(0);
    }
    /* Backdrop: full width su mobile */
    .cc-nav__backdrop {
        left: 0;
        top: calc(48px + var(--cc-bar-h));
    }
    .cc-panetinto-hero {
        padding-top: calc(48px + var(--cc-bar-h));
    }
    .admin-bar .cc-sidebar { top: calc(46px + var(--cc-bar-h)); }
    .admin-bar .cc-nav__panel { top: calc(48px + 46px + var(--cc-bar-h)); }
    .admin-bar .cc-nav__backdrop { top: calc(48px + 46px + var(--cc-bar-h)); }
}

/* -----------------------------------------------
   HEADER PADRE (nextawards .header) — override
   ----------------------------------------------- */
.header {
    background: transparent !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1.5rem 2rem;
}

.header.scrolled {
    background: var(--wp--preset--color--cream) !important;
    box-shadow: 0 2px 20px rgba(64, 61, 60, 0.08);
    transition: background 0.3s ease;
}

/* Logo nel header padre */
.header .custom-logo,
.header .site-title a {
    color: var(--wp--preset--color--espresso) !important;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

/* -----------------------------------------------
   SEZIONE: HERO
   ----------------------------------------------- */
.cc-panetinto-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #403d3c;
    overflow: visible;
    text-align: center;
    padding-top: clamp(90px, 12vh, 140px);
    padding-bottom: clamp(140px, 18vw, 240px);
}

.cc-panetinto-hero__logo-img {
    width: 92%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 1.5rem auto;
}

.cc-panetinto-hero__sovrascritta {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.75);
    margin-bottom: 1.5rem;
    display: block;
}

.cc-panetinto-hero__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--wp--preset--color--cream);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.cc-panetinto-hero__sottotitolo {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.95);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.cc-panetinto-hero__claim {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-style: italic;
    font-weight: 400;
    color: rgba(250, 246, 240, 0.7);
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto 3rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Pattern testo fantasma — Panificio / Salumi / Formaggi */
.cc-panetinto-hero__ghost {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.cc-panetinto-hero__ghost span {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(6rem, 22vw, 20rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    line-height: 0.95;
    letter-spacing: -0.02em;
    display: block;
}

.cc-panetinto-hero__content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    padding: 0 2rem;
}


/* Pulsanti hero */
.cc-panetinto-hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cc-panetinto-hero__img-placeholder {
    width: clamp(280px, 45vw, 550px);
    height: clamp(200px, 35vw, 420px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(250, 246, 240, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
}

.cc-panetinto-hero__img-hint {
    line-height: 1.6;
}

/* Scroll indicator wrapper — posizionato in alto sulla sezione chiara, subito dopo la brush */
.cc-panetinto-scroll-wrap {
    position: absolute;
    top: clamp(1.5rem, 3vw, 3rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Scroll indicator — cerchio minimal pulsante */
.cc-panetinto-hero__scroll {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--wp--preset--color--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--terracotta);
    animation: cc-scroll-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.cc-panetinto-hero__scroll svg {
    width: 22px;
    height: 22px;
    display: block;
    margin-top: 2px;
}

@keyframes cc-scroll-pulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50%       { opacity: 0.4; transform: translateY(6px); }
}

@keyframes cc-panetinto-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Bordo brush rough tra hero e sezione sotto */
.cc-panetinto-hero__brush {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}
.cc-panetinto-hero__brush svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Immagine prodotto a cavallo */
.cc-panetinto-hero__prodotto {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(min(432px, 90vw), 74vw, 984px);
    z-index: 5;
    pointer-events: none;
}
.cc-panetinto-hero__prodotto img {
    width: 100%;
    height: auto;
    display: block;
}

/* -----------------------------------------------
   SEZIONE: CHI SIAMO (2 colonne text + immagine)
   ----------------------------------------------- */
.cc-panetinto-chisiamo {
    background-color: var(--wp--preset--color--cream);
    padding: clamp(7rem, 14vw, 12rem) 0 clamp(2rem, 3vw, 3rem);
    position: relative;
    z-index: 1;
    margin-top: -4px;
}

.cc-panetinto-chisiamo__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wp--preset--color--terracotta);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--wp--preset--color--terracotta);
}

.cc-panetinto-chisiamo__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--wp--preset--color--espresso);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cc-panetinto-chisiamo__testo {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #5a3e35;
    margin-bottom: 1rem;
}

.cc-panetinto-chisiamo__immagine {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(64, 61, 60, 0.15);
    position: relative;
    align-self: stretch;
    width: 100%;
    min-height: 400px;
}

.cc-panetinto-chisiamo__immagine img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.cc-panetinto-chisiamo__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 1rem;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.75), transparent);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(250, 246, 240, 0.8);
    letter-spacing: 0.04em;
    text-align: center;
}

/* -----------------------------------------------
   BRAND DI ECCELLENZA — marquee loghi
   ----------------------------------------------- */
.cc-brands {
    padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(1rem, 1.5vw, 1.5rem);
}

.cc-brands__header {
    text-align: center;
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cc-brands__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--wp--preset--color--espresso);
    line-height: 1.2;
    margin: 0;
}

.cc-brands__marquee-wrap {
    position: relative;
    overflow: hidden;
    cursor: grab;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.cc-brands__marquee-wrap.is-dragging {
    cursor: grabbing;
}

.cc-brands__track {
    display: flex;
    width: max-content;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

.cc-brands__logo-group {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    padding: 0.75rem clamp(1.25rem, 2.5vw, 2.5rem);
}

.cc-brands__logo {
    height: 46px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    flex-shrink: 0;
}


/* -----------------------------------------------
   SEZIONE: PRODOTTI SLIDER (Panificio / Salumi / Formaggi)
   ----------------------------------------------- */
.cc-prodotti-slider {
    background-color: var(--wp--preset--color--espresso, #2C1810);
    padding: clamp(5rem, 10vw, 8rem) 0;
    overflow: hidden;
}

.cc-prodotti-slider__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

/* ---- LEFT: vertical tabs ---- */
.cc-prodotti-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 16px;
}

.cc-prodotti-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1rem 1.1rem 0.75rem;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s ease;
    position: relative;
    outline: none;
    border: none;
    background: transparent;
    text-align: left;
    width: 100%;
}

.cc-prodotti-tab:hover {
    background: rgba(196, 92, 42, 0.07);
}

.cc-prodotti-tab.active {
    background: rgba(196, 92, 42, 0.1);
}

.cc-prodotti-tab__icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(139, 90, 60, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #8B5A3C;
    transition: background 0.25s ease, color 0.25s ease;
}

.cc-prodotti-tab.active .cc-prodotti-tab__icon-wrap {
    background: var(--wp--preset--color--terracotta, #C45C2A);
    color: #fff;
}

.cc-prodotti-tab__icon-wrap svg {
    width: 18px;
    height: 18px;
}

.cc-prodotti-tab__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cc-prodotti-tab__num {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: #8B5A3C;
    letter-spacing: 0.14em;
    opacity: 0.55;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.cc-prodotti-tab.active .cc-prodotti-tab__num {
    color: var(--wp--preset--color--terracotta, #C45C2A);
    opacity: 1;
}

.cc-prodotti-tab__label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8B5A3C;
    transition: color 0.2s ease;
}

.cc-prodotti-tab.active .cc-prodotti-tab__label {
    color: var(--wp--preset--color--espresso, #2C1810);
}

.cc-prodotti-tab__arrow {
    font-size: 1rem;
    color: var(--wp--preset--color--terracotta, #C45C2A);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.cc-prodotti-tab.active .cc-prodotti-tab__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Vertical progress bar */
.cc-prodotti-progress {
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: rgba(196, 92, 42, 0.15);
    border-radius: 3px;
}

.cc-prodotti-progress__fill {
    width: 100%;
    background: var(--wp--preset--color--terracotta, #C45C2A);
    border-radius: 3px;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RIGHT: stage — layout 2 colonne su desktop (img | testo) ---- */
.cc-prodotti-stage {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    row-gap: 1rem;
    min-width: 0;
    align-items: start;
}

/* Immagine: portrait, occupa tutte le righe a sinistra */
.cc-prodotti-stage__img-wrap {
    grid-column: 1;
    grid-row: 1 / -1;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: #e8d5c4;
    align-self: stretch;
}

.cc-prodotti-stage__img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
}

.cc-prodotti-stage__img.active {
    opacity: 1;
}

.cc-prodotti-stage__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Due foto per slide con crossfade interno */
.cc-slide-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 0;
    transition: opacity 1s ease;
}
.cc-slide-photo.active {
    opacity: 1;
}

.cc-prodotti-stage__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Counter: colonna destra, riga 1 */
.cc-prodotti-counter {
    grid-column: 2;
    grid-row: 1;
}

/* Viewport (testo slide): colonna destra, riga 2 */
.cc-prodotti-viewport {
    grid-column: 2;
    grid-row: 2;
}

/* Dots + frecce: colonna destra, riga 3 */
.cc-prodotti-bottom {
    grid-column: 2;
    grid-row: 3;
}

/* Navigazione mobile (frecce + label) — nascosta su desktop */
.cc-prodotti-mobile-nav {
    display: none;
}

.cc-prodotti-counter {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8B5A3C;
    letter-spacing: 0.08em;
}

.cc-prodotti-counter__current {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--wp--preset--color--terracotta, #C45C2A);
}

.cc-prodotti-counter__sep {
    opacity: 0.35;
}

.cc-prodotti-viewport {
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.cc-prodotti-track {
    display: flex;
    width: 100%;
    will-change: transform;
}

.cc-prodotti-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0.25rem 0;
    box-sizing: border-box;
    overflow: hidden;
}

.cc-prodotti-slide__stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.cc-prodotti-slide__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cc-prodotti-slide__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--wp--preset--color--terracotta, #C45C2A);
    line-height: 1;
}

.cc-prodotti-slide__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #8B5A3C;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cc-prodotti-slide__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--wp--preset--color--espresso, #2C1810);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cc-prodotti-slide__testo {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #5a3e35;
    margin-bottom: 2rem;
    max-width: 52ch;
}

/* Bottom bar: dots + frecce (frecce nascoste su desktop) */
.cc-prodotti-bottom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cc-prodotti-dots {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.cc-prodotti-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(196, 92, 42, 0.22);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.cc-prodotti-dot.active {
    background: var(--wp--preset--color--terracotta, #C45C2A);
    width: 24px;
    border-radius: 4px;
}

/* Frecce — nascoste su desktop, visibili su mobile */
@keyframes cc-arrow-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(196, 92, 42, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(196, 92, 42, 0);
        transform: scale(1.06);
    }
}

.cc-prodotti-arrow {
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(196, 92, 42, 0.45);
    background: rgba(196, 92, 42, 0.06);
    color: var(--wp--preset--color--terracotta, #C45C2A);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    animation: cc-arrow-pulse 2s ease-in-out infinite;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.cc-prodotti-arrow:hover,
.cc-prodotti-arrow:focus-visible {
    background: rgba(196, 92, 42, 0.14);
    border-color: var(--wp--preset--color--terracotta, #C45C2A);
    animation: none;
    transform: scale(1.08);
    outline: none;
}

.cc-prodotti-arrow:active {
    transform: scale(0.94);
}

.cc-prodotti-arrow svg {
    width: 24px;
    height: 24px;
}

/* ---- COLORI SU SFONDO SCURO ---- */
.cc-prodotti-slider .cc-prodotti-tab {
    color: rgba(250, 246, 240, 0.6);
}
.cc-prodotti-slider .cc-prodotti-tab:hover {
    background: rgba(250, 246, 240, 0.06);
}
.cc-prodotti-slider .cc-prodotti-tab.active {
    background: rgba(250, 246, 240, 0.09);
}
.cc-prodotti-slider .cc-prodotti-tab__icon-wrap {
    background: rgba(250, 246, 240, 0.1);
    color: rgba(250, 246, 240, 0.55);
}
.cc-prodotti-slider .cc-prodotti-tab.active .cc-prodotti-tab__icon-wrap {
    background: var(--wp--preset--color--terracotta, #C45C2A);
    color: #fff;
}
.cc-prodotti-slider .cc-prodotti-tab__num {
    color: rgba(250, 246, 240, 0.35);
}
.cc-prodotti-slider .cc-prodotti-tab.active .cc-prodotti-tab__num {
    color: var(--wp--preset--color--terracotta, #C45C2A);
    opacity: 1;
}
.cc-prodotti-slider .cc-prodotti-tab__label {
    color: rgba(250, 246, 240, 0.55);
}
.cc-prodotti-slider .cc-prodotti-tab.active .cc-prodotti-tab__label {
    color: #FAF6F0;
}
.cc-prodotti-slider .cc-prodotti-progress {
    background: rgba(250, 246, 240, 0.12);
}
.cc-prodotti-slider .cc-prodotti-counter {
    color: rgba(250, 246, 240, 0.5);
}
.cc-prodotti-slider .cc-prodotti-stage__img-wrap {
    background: rgba(250, 246, 240, 0.07);
}
.cc-prodotti-slider .cc-prodotti-slide__titolo {
    color: #FAF6F0;
}
.cc-prodotti-slider .cc-prodotti-slide__testo {
    color: rgba(250, 246, 240, 0.72);
}
.cc-prodotti-slider .cc-prodotti-slide__label {
    color: rgba(250, 246, 240, 0.45);
}
.cc-prodotti-slider .cc-prodotti-dot {
    background: rgba(250, 246, 240, 0.22);
}
.cc-prodotti-slider .cc-prodotti-dot.active {
    background: var(--wp--preset--color--terracotta, #C45C2A);
}
.cc-prodotti-slider .cc-prodotti-arrow {
    border-color: rgba(250, 246, 240, 0.3);
    color: #FAF6F0;
    background: rgba(250, 246, 240, 0.06);
}
.cc-prodotti-slider .cc-prodotti-arrow:hover {
    background: rgba(250, 246, 240, 0.12);
    border-color: rgba(250, 246, 240, 0.6);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
    .cc-prodotti-slider__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Nascondi l'intera colonna delle tab su mobile */
    .cc-prodotti-tabs-wrapper {
        display: none;
    }

    /* Stage: torna a colonna singola su mobile */
    .cc-prodotti-stage {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Immagine: quadrata su mobile, occupa tutta la larghezza */
    .cc-prodotti-stage__img-wrap {
        grid-column: unset;
        grid-row: unset;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    /* Ripristina posizionamento grid sui figli */
    .cc-prodotti-counter,
    .cc-prodotti-viewport,
    .cc-prodotti-bottom {
        grid-column: unset;
        grid-row: unset;
    }

    /* Mostra le frecce accanto ai dots */
    .cc-prodotti-arrow {
        display: flex;
    }

    .cc-prodotti-slide__stats {
        gap: 1.5rem;
    }

    .cc-prodotti-slide__testo {
        max-width: 100%;
    }
}

/* -----------------------------------------------
   SEZIONE: LA NOSTRA STORIA (magazine layout)
   ----------------------------------------------- */
.cc-panetinto-storia {
    background-color: var(--wp--preset--color--cream);
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.cc-panetinto-storia__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    align-items: stretch;
    min-height: min(750px, 85vh);
}

.cc-panetinto-storia__img-principale {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(64, 61, 60, 0.15);
}

.cc-panetinto-storia__img-principale img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cc-panetinto-storia__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(transparent, rgba(44, 24, 16, 0.6));
    display: flex;
    align-items: flex-end;
    min-height: 80px;
}

.cc-panetinto-storia__caption-tag {
    display: inline-block;
    background: var(--wp--preset--color--terracotta);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.75rem;
}

.cc-panetinto-storia__destra {
    display: flex;
    flex-direction: column;
}

.cc-panetinto-storia__destra .cc-panetinto-storia__testo {
    padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.cc-panetinto-storia__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wp--preset--color--terracotta);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--wp--preset--color--terracotta);
}

.cc-panetinto-storia__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--wp--preset--color--espresso);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.cc-panetinto-storia__corpo {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5a3e35;
}

.cc-panetinto-storia__sliders {
    display: flex;
    gap: 0.6rem;
    flex: 1;
    min-height: 0;
}

.cc-storia-slider-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(64, 61, 60, 0.15);
    min-height: 150px;
}

.cc-storia-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.cc-storia-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    clip-path: inset(0 100% 0 0);
    z-index: 0;
}

/* Transizione gestita via inline style in JS */

/* -----------------------------------------------
   SEZIONE: GALLERIA (sfondo scuro espresso)
   ----------------------------------------------- */
.cc-panetinto-galleria {
    background-color: var(--wp--preset--color--espresso);
    padding: clamp(4rem, 8vw, 7rem) 0;
    overflow: hidden;
}

.cc-panetinto-galleria__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 max(1.5rem, calc(50% - 470px));
    margin-bottom: 3rem;
    gap: 2rem;
}

.cc-panetinto-galleria__icona-social {
    width: 32px;
    height: 32px;
    color: var(--wp--preset--color--terracotta);
    margin-bottom: 1rem;
}

.cc-panetinto-galleria__eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wp--preset--color--terracotta);
    margin-bottom: 0.75rem;
}

.cc-panetinto-galleria__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--wp--preset--color--cream);
    line-height: 1.15;
    max-width: 400px;
    margin-bottom: 0.75rem;
}

.cc-panetinto-galleria__sottotitolo {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(250, 246, 240, 0.6);
    max-width: 380px;
}

.cc-panetinto-galleria__ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.cc-panetinto-galleria__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: stretch;
    background: var(--wp--preset--color--terracotta);
    color: white !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.cc-panetinto-galleria__cta:hover {
    background: #e05a48;
}

.cc-panetinto-galleria__cta--facebook {
    background: #1877F2;
}

.cc-panetinto-galleria__cta--facebook:hover {
    background: #166fe5;
}

.cc-panetinto-galleria__strip {
    display: flex;
    gap: 1rem;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
    overflow-x: auto;
    scrollbar-width: none;
}

.cc-panetinto-galleria__strip::-webkit-scrollbar {
    display: none;
}

.cc-panetinto-galleria__card {
    flex: 0 0 auto;
    width: 220px;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.cc-panetinto-galleria__card--arrow {
    background-color: var(--wp--preset--color--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-panetinto-galleria__arrow {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.cc-panetinto-galleria__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cc-panetinto-galleria__card:hover img {
    transform: scale(1.05);
}

/* -----------------------------------------------
   SOCIAL CAROUSEL 3D
   ----------------------------------------------- */
.cc-social__carousel-wrap {
    padding: 1rem 0 2.5rem;
}

.cc-social__stage {
    position: relative;
    height: 370px;
    perspective: 1200px;
}

.cc-social__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cc-social__card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 391 / 493;
    object-fit: cover;
}

.cc-social__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.cc-social__play svg {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease;
}

.cc-social__card:hover .cc-social__play svg {
    transform: scale(1.1);
}

.cc-social__views {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.25rem 0.55rem;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
}

.cc-social__views svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.cc-social__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.cc-social__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(250, 246, 240, 0.3);
    background: transparent;
    color: rgba(250, 246, 240, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.cc-social__btn svg {
    width: 18px;
    height: 18px;
}

.cc-social__btn:hover {
    border-color: var(--wp--preset--color--terracotta);
    color: var(--wp--preset--color--terracotta);
    background: rgba(196, 92, 42, 0.1);
}

.cc-social__counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(250, 246, 240, 0.45);
    letter-spacing: 0.08em;
    min-width: 62px;
    text-align: center;
}

@media (max-width: 782px) {
    .cc-social__stage  { height: 285px; }
    .cc-social__card   { width: 200px; }
    .cc-social__play svg { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .cc-social__stage  { height: 235px; }
    .cc-social__card   { width: 165px; }
    .cc-social__play svg { width: 36px; height: 36px; }
}

/* -----------------------------------------------
   RECENSIONI GOOGLE — Marquee infinito
   ----------------------------------------------- */
.cc-reviews {
    background-color: var(--wp--preset--color--cream);
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
    overflow: hidden;
}

.cc-reviews__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cc-reviews__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--wp--preset--color--espresso);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.cc-reviews__badge {
    display: inline-block;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
}

.cc-reviews__badge:hover {
    transform: translateY(-2px);
}

.cc-reviews__badge-img {
    display: block;
    height: 90px;
    width: auto;
    filter: drop-shadow(0 4px 16px rgba(64, 61, 60, 0.12));
}

/* Contenitore marquee */
.cc-reviews__marquee-wrap {
    position: relative;
    overflow: hidden;
}

/* Sfumature laterali */
.cc-reviews__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 8vw, 120px);
    z-index: 2;
    pointer-events: none;
}
.cc-reviews__fade--left {
    left: 0;
    background: linear-gradient(to right, var(--wp--preset--color--cream), transparent);
}
.cc-reviews__fade--right {
    right: 0;
    background: linear-gradient(to left, var(--wp--preset--color--cream), transparent);
}

/* Striscia scorrevole: contiene i duplicati */
@keyframes cc-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.cc-reviews__marquee {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: cc-marquee-scroll 60s linear infinite;
    padding: 1rem 0 1.5rem; /* spazio per ombre card */
}

.cc-reviews__marquee:hover,
.cc-reviews__marquee.paused {
    animation-play-state: paused;
}

/* Singola card */
.cc-reviews__card {
    flex: 0 0 300px;
    width: 300px;
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(64, 61, 60, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(64, 61, 60, 0.06);
}

.cc-reviews__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(64, 61, 60, 0.12);
}

.cc-reviews__card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cc-reviews__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.cc-reviews__avatar img { width: 100%; height: 100%; object-fit: cover; }

.cc-reviews__card-meta { flex: 1; min-width: 0; }

.cc-reviews__card-nome {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wp--preset--color--espresso);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-reviews__stelle { display: flex; gap: 2px; }
.cc-reviews__stella { width: 15px; height: 15px; }
.cc-reviews__stella.piena { fill: #F4B942; }
.cc-reviews__stella.vuota { fill: #e0d5cc; }

.cc-reviews__g-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.75;
}

.cc-reviews__card-testo {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #5a3e35;
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-reviews__card-data {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #a08070;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(64, 61, 60, 0.06);
}

/* Velocità ridotta su mobile */
@media (max-width: 600px) {
    .cc-reviews__marquee { animation-duration: 40s; }
    .cc-reviews__header { flex-direction: column; align-items: flex-start; }
    .cc-reviews__card { flex: 0 0 260px; width: 260px; }
}

/* ── Reviews: colonne verticali scorrevoli ── */
.cc-reviews--columns {
    overflow: hidden;
}

.cc-reviews__col-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Box centrato che raccoglie titolo + badge, proporzionale su ogni schermo */
.cc-reviews__header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0.75rem auto 0;
    max-width: 620px;
    width: 100%;
    flex-wrap: nowrap;
}

.cc-reviews__col-header .cc-reviews__titolo {
    margin-top: 0;
    margin-bottom: 0;
    font-size: clamp(1.1rem, 3.5vw, 2.2rem);
}

@media (min-width: 768px) {
    .cc-reviews__badge-img {
        height: 110px;
    }
}

.cc-reviews__columns-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.cc-reviews__columns-wrap {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-height: 740px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.cc-reviews__col {
    flex: 0 0 clamp(240px, 28vw, 320px);
    min-width: 0;
}

.cc-reviews__col--2 { display: none; }
.cc-reviews__col--3 { display: none; }

@media (min-width: 640px) {
    .cc-reviews__col--2 { display: block; }
}

@media (min-width: 1024px) {
    .cc-reviews__col--3 { display: block; }
}

.cc-reviews__col-track {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    animation: cc-col-scroll var(--col-duration, 15s) linear infinite;
}

@keyframes cc-col-scroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

.cc-reviews__columns-wrap:hover .cc-reviews__col-track {
    animation-play-state: paused;
}

.cc-reviews--columns .cc-reviews__card {
    flex: none;
    width: 100%;
}

/* -----------------------------------------------
   SEZIONE: TESTIMONIANZE (vecchio — tenuto come fallback)
   ----------------------------------------------- */
.cc-panetinto-testimonianze {
    background-color: var(--wp--preset--color--cream);
    padding: clamp(5rem, 10vw, 8rem) 0;
    text-align: center;
}

.cc-panetinto-testimonianze__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wp--preset--color--terracotta);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--wp--preset--color--terracotta);
}

.cc-panetinto-testimonianze__titolo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--wp--preset--color--espresso);
    margin-bottom: 4rem;
}

.cc-panetinto-testimonianze__virgolette {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--wp--preset--color--grano);
    margin-bottom: -1rem;
}

.cc-panetinto-testimonianze__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--wp--preset--color--cream);
    box-shadow: 0 0 0 4px var(--wp--preset--color--terracotta);
    margin: 0 auto 1.5rem;
    display: block;
}

.cc-panetinto-testimonianze__avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wp--preset--color--terracotta), var(--wp--preset--color--grano));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--wp--preset--color--cream);
    box-shadow: 0 0 0 4px var(--wp--preset--color--terracotta);
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.cc-panetinto-testimonianze__testo {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5a3e35;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.cc-panetinto-testimonianze__nome {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wp--preset--color--espresso);
}

.cc-panetinto-testimonianze__luogo {
    font-size: 0.8rem;
    color: #8b6b5a;
}

.cc-panetinto-testimonianze__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.cc-panetinto-testimonianze__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4b8ac;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.cc-panetinto-testimonianze__dot.active {
    background: var(--wp--preset--color--terracotta);
}

/* -----------------------------------------------
   SEZIONE: INFO PRATICHE (orari, indirizzo, mappa)
   ----------------------------------------------- */
.cc-panetinto-info {
    background-color: var(--wp--preset--color--espresso);
    padding: clamp(5rem, 10vw, 8rem) 0 0;
    position: relative;
}

/* Bordo superiore a brush */
.cc-panetinto-info::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--wp--preset--color--espresso);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.cc-panetinto-info__logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--wp--preset--color--cream);
    margin-bottom: 2rem;
}

.cc-panetinto-info__col-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wp--preset--color--terracotta);
    margin-bottom: 1rem;
}

.cc-panetinto-info__indirizzo,
.cc-panetinto-info__tel,
.cc-panetinto-info__orari {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(250, 246, 240, 0.75);
}

.cc-panetinto-info__link {
    color: rgba(250, 246, 240, 0.75) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cc-panetinto-info__link:hover {
    color: var(--wp--preset--color--terracotta) !important;
}

/* Form contatti */
.cc-panetinto-info__form input,
.cc-panetinto-info__form textarea {
    width: 100%;
    background: rgba(250, 246, 240, 0.06);
    border: 1px solid rgba(250, 246, 240, 0.15);
    border-radius: 2px;
    padding: 0.85rem 1rem;
    color: var(--wp--preset--color--cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.cc-panetinto-info__form input::placeholder,
.cc-panetinto-info__form textarea::placeholder {
    color: rgba(250, 246, 240, 0.4);
}

.cc-panetinto-info__form input:focus,
.cc-panetinto-info__form textarea:focus {
    border-color: var(--wp--preset--color--terracotta);
}

.cc-panetinto-info__form textarea {
    height: 120px;
    resize: vertical;
}

.cc-panetinto-info__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.cc-panetinto-info__submit {
    background: var(--wp--preset--color--terracotta) !important;
    color: white !important;
    border: none;
    padding: 0.85rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.cc-panetinto-info__submit:hover {
    background: #e05a48 !important;
}

/* -----------------------------------------------
   CTA BUTTON globale
   ----------------------------------------------- */
.cc-panetinto-btn {
    display: inline-block;
    background: var(--wp--preset--color--terracotta);
    color: white !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.5rem;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cc-panetinto-btn:hover {
    background: #e05a48;
    transform: translateY(-2px);
}

.cc-panetinto-btn--outline {
    background: transparent;
    border: 2px solid var(--wp--preset--color--terracotta);
    color: var(--wp--preset--color--terracotta) !important;
}

.cc-panetinto-btn--outline:hover {
    background: var(--wp--preset--color--terracotta);
    color: white !important;
}

/* Variante ghost (per hero su sfondo colorato) */
.cc-panetinto-btn--ghost {
    background: transparent;
    border: 2px solid rgba(250, 246, 240, 0.5);
    color: rgba(250, 246, 240, 0.9) !important;
}

.cc-panetinto-btn--ghost:hover {
    background: rgba(250, 246, 240, 0.15);
    border-color: rgba(250, 246, 240, 0.8);
    transform: translateY(-2px);
}

.cc-panetinto-hero__cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* -----------------------------------------------
   FOOTER
   ----------------------------------------------- */
.cc-panetinto-footer__copyright {
    background: rgba(0, 0, 0, 0.2);
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(250, 246, 240, 0.5);
    line-height: 1.8;
}

.cc-panetinto-footer__credit {
    color: rgba(250, 246, 240, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}
.cc-panetinto-footer__credit:hover {
    color: rgba(250, 246, 240, 0.8);
}

/* -----------------------------------------------
   MAPPA
   ----------------------------------------------- */
.cc-panetinto-mappa {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
    display: block;
}

/* -----------------------------------------------
   RESPONSIVE
   ----------------------------------------------- */
/* -----------------------------------------------
   GRIGLIE DESKTOP (definizione base)
   ----------------------------------------------- */

.cc-panetinto-chisiamo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: stretch;
}

.cc-panetinto-valori__grid {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cc-panetinto-valori__numeri {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.cc-panetinto-valori__numero {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--wp--preset--color--terracotta);
    line-height: 1;
}

.cc-panetinto-valori__numero-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--wp--preset--color--marrone);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cc-panetinto-valori__corpo {
    font-size: 1rem;
    line-height: 1.8;
    color: #5a3e35;
    margin-bottom: 2rem;
}

.cc-panetinto-storia__grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}

.cc-panetinto-storia__testo-box {
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cc-panetinto-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
}

.cc-panetinto-info__colonne {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cc-panetinto-info__destra {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cc-panetinto-mappa-wrap {
    flex: 1;
    min-height: 350px;
    border-radius: 4px;
    overflow: hidden;
}

/* -----------------------------------------------
   RESPONSIVE — Tablet (≤ 1024px)
   ----------------------------------------------- */
@media (max-width: 1024px) {

    .cc-panetinto-valori__grid {
        grid-template-columns: 1fr 1fr;
    }
    .cc-panetinto-valori__icone {
        display: none;
    }
    .cc-panetinto-storia__grid {
        grid-template-columns: 1fr;
    }
    .cc-panetinto-storia__sliders {
        aspect-ratio: 3 / 2;
        flex: none;
        width: 100%;
    }
}

/* -----------------------------------------------
   RESPONSIVE — Mobile (≤ 782px)
   ----------------------------------------------- */
@media (max-width: 782px) {

    /* Header */
    .cc-header__nav       { display: none; }
    .cc-header__hamburger { display: flex; }
    .cc-header__inner     { padding: 1rem 1.5rem; }

    /* Hero */
    .cc-panetinto-hero {
        padding-top: 80px;
        padding-bottom: 100px;
        min-height: auto;
        text-align: center;
        align-items: flex-start;
    }
    .cc-panetinto-hero__logo-img {
        width: 92%;
    }
    .cc-panetinto-hero__sottotitolo {
        letter-spacing: 0.15em;
        font-size: 0.85rem;
    }
    .cc-panetinto-hero__prodotto {
        bottom: -50px;
        width: 94%;
    }
    .cc-panetinto-hero__scroll {
        width: 42px;
        height: 42px;
    }
    .cc-panetinto-chisiamo {
        padding-top: 6rem;
    }

    /* Chi siamo: 2 col → 1 col */
    .cc-panetinto-chisiamo__grid {
        grid-template-columns: 1fr;
    }
    .cc-panetinto-chisiamo__immagine {
        max-width: 100%;
        height: auto;
    }
    .cc-panetinto-chisiamo__immagine img {
        width: 100%;
        height: auto;
        object-fit: unset;
    }

    /* Valori: 3 col → 1 col, nasconde icone */
    .cc-panetinto-valori__grid {
        grid-template-columns: 1fr;
    }
    .cc-panetinto-valori__icone {
        display: none;
    }
    .cc-panetinto-valori__numeri {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    /* Storia: 2 col → 1 col */
    .cc-panetinto-storia__grid {
        grid-template-columns: 1fr;
    }
    .cc-panetinto-storia__img-principale {
        min-height: 300px;
    }

    /* Galleria */
    .cc-panetinto-galleria__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Reviews marquee */
    .cc-reviews__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cc-reviews__marquee { animation-duration: 40s; }
    .cc-reviews__card    { flex: 0 0 260px; width: 260px; }

    /* Contatti: 2 col → 1 col */
    .cc-panetinto-info__grid {
        grid-template-columns: 1fr;
    }
    .cc-panetinto-info__colonne {
        grid-template-columns: 1fr;
    }
    .cc-panetinto-info__form-grid {
        grid-template-columns: 1fr;
    }
    .cc-panetinto-mappa-wrap {
        min-height: 260px;
    }
}

/* -----------------------------------------------
   RESPONSIVE — Piccolo mobile (≤ 480px)
   ----------------------------------------------- */
@media (max-width: 480px) {

    .cc-panetinto-galleria__card {
        width: 160px;
        height: 220px;
    }

    .cc-panetinto-hero__titolo {
        font-size: clamp(3rem, 18vw, 5rem);
    }

    .cc-panetinto-valori__numeri {
        flex-direction: column;
        align-items: flex-start;
    }

    .cc-reviews__card {
        flex: 0 0 240px;
        width: 240px;
        padding: 1.25rem;
    }
}

/* ================================================
   COOKIE CONSENT — banner GDPR (palette Pane Tinto)
   ================================================ */
.cc-cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 99999;
    background: #FAF6F0;
    color: #403d3c;
    border: 1px solid rgba(64,61,60,0.12);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
    opacity: 0; transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
}
.cc-cookie-banner.is-open { opacity: 1; transform: translateY(0); }
.cc-cookie-banner__inner {
    display: flex; align-items: center; gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1180px; margin: 0 auto;
    padding: 1.1rem 1.4rem;
}
.cc-cookie-banner__text { flex: 1 1 320px; min-width: 260px; }
.cc-cookie-banner__text strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; display: block; margin-bottom: .25rem; }
.cc-cookie-banner__text p { font-size: .9rem; line-height: 1.55; margin: 0; }
.cc-cookie-banner__text a { color: #f47a69; text-decoration: underline; }
.cc-cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

.cc-cookie-btn {
    font-family: 'Inter', sans-serif;
    font-size: .8rem; font-weight: 500; letter-spacing: .03em;
    padding: .7rem 1.3rem; border-radius: 999px; cursor: pointer;
    border: 1px solid #403d3c; background: transparent; color: #403d3c;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
    white-space: nowrap;
}
.cc-cookie-btn--ghost:hover { background: rgba(64,61,60,0.08); }
.cc-cookie-btn--primary { background: #f47a69; border-color: #f47a69; color: #fff; }
.cc-cookie-btn--primary:hover { background: #e05a48; border-color: #e05a48; }

/* Modale preferenze */
.cc-cookie-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; }
.cc-cookie-modal.is-open { opacity: 1; }
.cc-cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(40,38,37,0.55); }
.cc-cookie-modal__panel {
    position: relative; width: min(560px, 92vw); max-height: 88vh; overflow-y: auto;
    background: #FAF6F0; color: #403d3c; border-radius: 16px;
    padding: 2rem 1.8rem 1.6rem; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cc-cookie-modal__close { position: absolute; top: .8rem; right: 1rem; background: none; border: none; font-size: 1.8rem; line-height: 1; color: #403d3c; cursor: pointer; }
.cc-cookie-modal__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.8rem; margin: 0 0 .3rem; }
.cc-cookie-modal__intro { font-size: .88rem; margin: 0 0 1.2rem; opacity: .85; }
.cc-cookie-cat { border-top: 1px solid rgba(64,61,60,0.12); padding: .9rem 0; }
.cc-cookie-cat__head { display: flex; align-items: center; justify-content: space-between; }
.cc-cookie-cat__name { font-weight: 600; font-size: .98rem; }
.cc-cookie-cat__desc { font-size: .82rem; line-height: 1.5; margin: .35rem 0 0; opacity: .8; }

/* Switch */
.cc-cookie-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 auto; }
.cc-cookie-switch input { opacity: 0; width: 0; height: 0; }
.cc-cookie-switch span { position: absolute; inset: 0; background: #c9c2b8; border-radius: 999px; transition: background .2s ease; cursor: pointer; }
.cc-cookie-switch span::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s ease; }
.cc-cookie-switch input:checked + span { background: #f47a69; }
.cc-cookie-switch input:checked + span::before { transform: translateX(20px); }
.cc-cookie-switch--locked span { background: #9fd39f; cursor: not-allowed; }

.cc-cookie-modal__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.3rem; }
.cc-cookie-modal__actions .cc-cookie-btn { flex: 1 1 auto; text-align: center; }
.cc-cookie-modal__links { text-align: center; font-size: .8rem; margin: 1rem 0 0; }
.cc-cookie-modal__links a { color: #f47a69; text-decoration: underline; }

/* Pulsante riapertura (FAB) */
.cc-cookie-fab {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 99990;
    width: 44px; height: 44px; border-radius: 50%;
    background: #403d3c; color: #FAF6F0; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.cc-cookie-fab svg { width: 24px; height: 24px; }
.cc-cookie-fab:hover { background: #f47a69; }

/* Placeholder mappa (consenso) */
.cc-map-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
    width: 100%; height: 100%; min-height: 280px; padding: 1.5rem; text-align: center;
    background: rgba(250,246,240,0.06); color: #FAF6F0; border-radius: inherit;
}
.cc-map-placeholder p { font-size: .9rem; margin: 0; opacity: .9; }
.cc-map-load { font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 500; padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid #f47a69; background: #f47a69; color: #fff; cursor: pointer; }
.cc-map-load:hover { background: #e05a48; border-color: #e05a48; }

@media (max-width: 600px) {
    .cc-cookie-banner__actions { width: 100%; }
    .cc-cookie-banner__actions .cc-cookie-btn { flex: 1 1 auto; text-align: center; }
}

/* FIX: l'attributo [hidden] deve davvero nascondere (display:flex lo sovrascriveva
   facendo coprire lo schermo da un overlay invisibile che bloccava i click) */
.cc-cookie-banner[hidden],
.cc-cookie-modal[hidden],
.cc-cookie-fab[hidden] { display: none !important; }

/* ================================================
   PAGINE STANDARD (Privacy, Cookie, ecc.) — header sito + sfondo chiaro
   ================================================ */
.cc-page {
    background: #FAF6F0;
    color: #403d3c;
    min-height: 100vh;
    padding: calc(var(--cc-bar-h) + 2.5rem) 1.5rem 3rem;
    box-sizing: border-box;
}
@media (min-width: 783px) {
    .cc-page {
        padding-left: calc(44px + 3rem);
        padding-right: 3rem;
        padding-top: calc(var(--cc-bar-h) + 3.5rem);
    }
}
.cc-page .cc-page__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.1;
    color: #403d3c;
    margin: 0 0 1.6rem;
}
.cc-page h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.7rem; margin: 2.2rem 0 .6rem; }
.cc-page h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; margin: 1.6rem 0 .5rem; }
.cc-page h4 { font-weight: 600; font-size: 1.05rem; margin: 1.2rem 0 .4rem; }
.cc-page p, .cc-page li { font-size: 1rem; line-height: 1.7; }
.cc-page ul { padding-left: 1.2rem; margin: .5rem 0 1rem; }
.cc-page li { margin-bottom: .35rem; }
.cc-page a { color: #f47a69; }
.cc-page a:hover { color: #e05a48; }

.cc-page__footer {
    max-width: 820px;
    margin: 3.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(64,61,60,0.15);
    font-size: .85rem;
    text-align: center;
}
.cc-page__footer-links a { color: #f47a69; text-decoration: underline; margin: 0 .15rem; cursor: pointer; }
.cc-page__footer-copy { margin-top: .7rem; opacity: .7; }
