 /* ==========================================================================
       LAYOUT STRUTTURALE (2 BOX AFFIANCATI)
       ========================================================================== */
    .product-page-container  section{
        padding: 25px 0 0 0;
    }
    .product-page-container {
        margin: 80px auto;
        @media (min-width: 1000px) {
            margin: 100px auto;
        }
         .bg-hero {
            background-color: #ffe2a6;
            width: 100%;
            height: 90vh;
            top: 0;
            left: 0;
            right: 0;
            position: absolute;
            z-index: -1;
        }
    }

    .product-columns {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    @media (min-width: 1000px) {
        .product-columns {
            flex-direction: row;
        }
        .product-box-left, 
        .product-box-right {
            flex: 1;
            width: calc(50% - 20px);
        }
    }

    /* ==========================================================================
       BOX SINISTRO: GALLERIA IN PAGINA (RIQUADRO QUADRATO 15PX BORDI)
       ========================================================================== */
    .product-gallery {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Slider Principale: FORZATO QUADRATO con aspect-ratio e bordi da 15px */
    .slider-main {
        width: 100%;
        aspect-ratio: 1 / 1; /* Rende il riquadro perfettamente quadrato */
        position: relative;
        border-radius: 15px; /* Bordi arrotondati richiesti */
        overflow: hidden;    /* Taglia le immagini che escono dagli angoli arrotondati */
        background-color: #f9f9f9;
    }

    /* Forza la struttura interna di Slick a mantenere il quadrato */
    .slider-main .slick-list,
    .slider-main .slick-track,
    .slider-main .slide-item {
        height: 100%;
    }

    .slider-main .slide-item {
        cursor: zoom-in;
        position: relative;
    }

    /* Gestione immagini interne per non deformarsi nel quadrato */
    .slider-main img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover; /* Riempie il quadrato senza distorcersi */
    }

    /* FRECCE PERSONALIZZATE CON IL TUO SVG */
    .slider-main .custom-slick-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.85);
        border: none;
        border-radius: 50%;
        color: #111;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        cursor: pointer;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 0;
    }

    .slider-main .custom-slick-arrow:hover {
        background: #ffffff;
        color: #000;
    }

    /* Posizionamento frecce */
    .slider-main .custom-prev {
        left: 15px;
    }
    .slider-main .custom-next {
        right: 15px;
    }

    /* Ruota l'SVG di 180° per la freccia "Precedente" (sinistra) */
    .slider-main .custom-prev svg {
        transform: rotate(180deg);
    }

    /* Ridimensiona l'SVG all'interno del bottone per renderlo armonioso */
    .slider-main .custom-slick-arrow svg {
        width: 25px;
        height: 25px;
        display: block;
    }

    /* MINIATURE STATICHE A TUTTA LARGHEZZA (Arrotondate a 15px per coerenza) */
    .static-thumbnails-container {
        display: flex;
        width: 100%;
        gap: 12px;
        box-sizing: border-box;
    }

    .static-thumb-item {
        flex: 1; 
        aspect-ratio: 1 / 1; /* Rende quadrate anche le miniature */
        cursor: pointer;
        border-radius: 15px; /* Bordi coerenti con lo slider grande */
        overflow: hidden;
    }

    .static-thumb-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        border: 4px solid transparent;
        border-radius: 15px;
        transition: border-color 0.2s, opacity 0.2s;
        box-sizing: border-box;
    }

    /* Evidenzia miniatura attiva */
    .static-thumb-item.is-active img {
        border-color: #F44379;
    }

    .static-thumb-item:hover img {
        opacity: 0.85;
    }

    /* CONTENITORE NASCOSTO PER LIGHTGALLERY */
    #hidden-lightgallery-trigger {
        display: none !important;
    }

.lg-outer .lg-content{
    top: 0!important;
}

    /* ==========================================================================
       BOX DESTRO: INFORMAZIONI PRODOTTO
       ========================================================================== */
    .product-info-box {
        display: flex;
        flex-direction: column;
        border-radius: 1rem;
        aspect-ratio: 4 / 5;
        overflow-x: hidden;
        padding: 20px 20px 20px 20px;
        box-sizing: border-box;
        scrollbar-width: none;
        -ms-overflow-style: none;
        @media (min-width: 769px){
        padding: 40px 40px 40px 40px;
        }
    }

    .product-title {
        font-size: 2.5rem;
        margin: 0;
    }

    .subtitle {
        text-transform: uppercase;
    }

    .benefici{
        h5{
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
        }
    }


    hr {
    margin: 20px 0;
    color: #202020;
    border: 0;
    border-top: 1px solid;
    opacity: .25;
    }

    .prodotti-correlati-container {
        background-color: #fff;
        border-radius: 15px;
        padding: 20px;
        margin-top: 10px;
        article{
            padding: 10px 0;
            .flex{
                flex-direction: row;
            }
            h3{
                font-size: 22px;
                @media (min-width: 769px){
                font-size: 30px;
                }
            }
        }
    }

    article .col-4{
    width: 33.33333333%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    }
    article .col-8{
        flex: 0 0 auto;
        width: auto;
        justify-content: center;
        display: flex;
        flex-direction: column;
        @media (min-width: 769px){
            width: 66.66666667%;
        }
    }

    .section-text-image{
        .flex{
            gap: 0;
            border-radius: 15px;
            overflow: hidden;
        }
        .text-area{
            background-color: #fcc7d7!important;
            h5{
                font-weight: 600;
                margin-bottom: 8px;
            }
        }
    }

        .ingredienti {
            width: 100%;
            margin: 20px auto;
        }

        /* L'accordion con fondo bianco e bordi arrotondati */
        .accordion {
            background-color: #ffffff;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            border: 1px solid #eaeaea;
        }

        /* L'header cliccabile: titolo a sinistra, bottone a destra */
        .accordion-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            cursor: pointer;
            user-select: none;
        }

        .accordion-header .name {
        }

        /* Il pallino rosa sulla destra */
        .toggle-btn {
            background-color: #ffddfc;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            position: relative;
            transition: background-color 0.3s ease;
            span{
                color: #000;
                z-index: 1;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
                    font-size: 28px;
                    margin-top: 1px;
            }
        }


        /* Contenuto nascosto di default via CSS */
        .accordion-content {
            display: none; 
            padding: 0 20px 20px 20px;
            text-align: left;
        }

        /* Stile del testo interno */
        .accordion-content p {
            font-size: 14px;
            line-height: 1.6;
            margin: 0 0 15px 0;
        }

        .accordion-content small {
            display: block;
            font-size: 12px;
        }


    .testimonials{
        @media (min-width: 960px){
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        }
        .row{
            display: flex;
            gap: 20px;
            padding-bottom: 20px;
            @media (min-width: 960px){
            width: calc(50% - 10px);
            padding-bottom: 0px;
            }
            .bridtv{
                width: 50%;
                border-radius: 15px;
                overflow: hidden;
                aspect-ratio: 9 / 16;
                .video-consent{
                    display: flex;
                    height: 100%;
                    align-items: center;
                    background: #ffddfc;
                    text-align: center;
                    p{
                        padding: 20px;
                    }
                }
                video{
                    object-fit:cover;
                    aspect-ratio: 9 / 16;
                }
            }
            .box-testo{
                aspect-ratio: 9 / 16;
                width: 50%;
                background-color: #e9f2ff;
                border-radius: 1rem;
                overflow: hidden;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-self: center;
                text-align: left;
                padding: 1.5rem !important;
                p,span,a{
                    font-size: 16px;
                    @media (min-width: 769px){
                    font-size: 24px;
                    }
                }
            }
        }
    }


/*
.bestseller {
    padding: 20px 20px;
    h2 {
        margin-bottom: 30px;
    }
}
.swiper-pagination-bullet-active {
        background: #000;
    }
.bestseller-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;

        h2 {
            margin: 0;
            text-align: left;
        }

        .frecce-container {
            display: flex;
            gap: 10px; 
            position: relative;

            .swiper-button-next,
            .swiper-button-prev {
                position: static; 
                margin-top: 0;    
                background-color: #fff;
                width: 40px;
                height: 40px;
                border-radius: 50%;
                transition: all 0.2s ease;
                display: flex;
                align-items: center;
                justify-content: center;

                &::after {
                    display: none; 
                }
            }

        }
    
}



    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
        transition: all 0.2s ease;
        margin-left: 50px;
        svg {
            width: 25px;
            height: 25px;
            color: #000;
            transition: transform 0.2s ease;
        }
        &::after {
            display: none; 
        }

        
    }

    .swiper-button-next:hover svg { transform: translateX(2px); }
    .swiper-button-prev:hover svg { transform: translateX(-2px); }



.carosello {
    width: 100%;
    position: relative;

    .link.swiper-slide {
        text-decoration: none;
        display: block; 
        height: auto;
        
        &:hover {
            .card {
                .primary-img { opacity: 0; }
                .secondary-img { opacity: 1; scale: 1.15;}
            }
        }
    }

    .card {
        background: #ffadff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
        position: relative; 
        display: flex;
        flex-direction: column;
        height: 100%;
        transition: all .15s ease-in-out;
        .card-img {
            width: 100%;
            aspect-ratio: 4 / 5;
            object-fit: contain;
            display: block;

        }
        .primary-img {
            height: 80%;
        }
        .secondary-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: bottom;
            border-radius: 1rem;
            opacity: 0;
            position: absolute;
            transition: all .15s ease-in-out;
        }

        .card-img-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 25px 20px 20px 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            .card-title {
                color: #000;
                font-size: 30px;
            }
            .flex {
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-direction: row;

                p {
                    color: #000;
                    margin: 0;
                    opacity: 0.9;
                }

                .btn-icon {
                    transition: transform 0.2s ease;
                    flex-shrink: 0;
                    flex: none;
                }
            }
        }
    }

}
*/