/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Limelight&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* ROOT */
:root {
    /* COLORI */
    --primarioChiaro: #a7c957;
    --primarioChiaro-opacity: rgba(167, 201, 87, 0.5);
    --primarioScuro: #6a994e;
    --primarioScuroOpacity: rgb(106, 153, 78, 0.5);
    --secondarioChiaro: #e9c46a;
    --secondarioChiaroOpacity: rgba(233, 196, 106, 0.5);
    --active-color: #dfc800;
    --black-opacity-medium: rgba(0, 0, 0, 0.5);

    /* bullets navigazione */
    --swiper-pagination-color: var(--dark);
    --swiper-pagination-left: 16px;
    --swiper-pagination-right: auto;
    --swiper-pagination-bottom: 32px;
    --swiper-pagination-bullet-size: 14px;
    --swiper-pagination-bullet-width: 20px;
    --swiper-pagination-bullet-height: 10px;
    --swiper-pagination-bullet-inactive-color: #000;
    --swiper-pagination-bullet-horizontal-gap: 4px;
    --swiper-pagination-bullet-vertical-gap: 4px;
    --swiper-pagination-bullet-border-radius: 0;
}

/* PARAMETRI GENERALI */
body {
    scroll-behavior: smooth;
    font-family: "Josefin Sans", sans-serif!important;
    font-style: normal;
    font-optical-sizing: auto;
}

/* BARRA DI SCORRIMENTO*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}
::-webkit-scrollbar:hover {
    width: 10px;
    height: 10px;
    cursor: pointer;
}
::-webkit-scrollbar-thumb {
    background-color: var(--grigio_base); 
    border-radius: 6px;
    cursor: pointer;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--primarioChiaro);
    cursor: pointer;
    width: 12px;
}

/* LOADER */
.loader-container {
    width: 100%;
    height: 100%;
    position: fixed;
    display: grid;
    place-items: center;
    top: 0;
    left:0;
    z-index: 999999;
    background: radial-gradient(var(--black-opacity-medium) 10%, var(--black-opacity) 100%);
    .loader-vertical-box {
        position: relative;
    }
    .loader-vertical-box::after {
        content: ''; 
        position: absolute;
        width: 190px;
        height: 180px;
        opacity: 1;
        background-image: url("/assets/media/logoLoader.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        animation: zoomIn 2s infinite ease-in-out;
        -webkit-animation: zoomIn 2s infinite ease-in-out;
    }

    /* Pulse loader */
    .loaderPulsIn {
        display: none;
    }
    .loaderPulsIn:before,
    .loaderPulsIn:after {
        content: "";
        position: absolute;
        border-radius: 50%;
        animation: none;
        filter: none;
    }
    .loaderPulsIn:after {
        content: '';  
        box-sizing: border-box;
        position: absolute;
        left: 0;
        top: 0;
        width: 112px;
        height: 112px;
        border-radius: 50%;
        border-bottom: 2px solid var(--primarioScuro);
        border-left: 2px solid transparent;
    }
    .loaderPulsIn:before {
        width: 100%;
        display: none;
        padding-bottom: 100%;
        box-shadow: none;
        animation-name: none;
    }

    /* Testo loader Smoke */
    .loaderTextSmoke{
    display: none;
    }
    .loaderTextSmoke:before {
        content: "";
    }
}

/* BOTTONI */
.btn-icon {
    position: relative;
    width: 3rem;
    height: 3rem;
    font-size: clamp(18px, 4vw, 20px);
    text-decoration: none;
    background-color: var(--primarioScuro);
    color: var(--white);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 0 8px 1px var(--light-medium);
    .badge {
        border-radius: 24px;
        padding: 0.1rem 0.35rem;
    }
}
.btn-icon:hover {
    scale: 1.01;
    color: var(--dark);
    background-color: var(--primarioChiaro);
    box-shadow: none;
}
.btn-icon:active {
    scale: 0.9;
}

.btn-standard {
    padding: 0.5rem 1rem;
    color: var(--light);
    border: 2px solid var(--light);
    box-shadow: 0 0 6px 1px var(--white-opacity);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3.5rem;
    width: 280px;
    max-width: 100%;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition:  all 0.3s ease-in-out;
}
.btn-standard:hover {
    background-color: var(--light);
    color: var(--dark);
}
.btn-standard:active {
    scale: 1.025;
}

/* Pagamenti accettati */
.pagamenti-widget {
    position: fixed;
    top: 12%;
    left: 0;
    width: 220px;
    height: 120px;
    max-width: 48%;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;

    .pagamenti-container {
        width: 100%;
        padding: 1rem;
        gap: 0.5rem;
    }
    .text-big-bold {
        font-size: clamp(12px, 4vw, 14px);
        font-weight: 500;
        color: var(--white);
    }
}

/* COOKIE */
/* Background Cookie */
.background-cookie {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1062;
    background-color: var(--black-opacity-medium);
}
/* Banner */
.banner-cookie {
    position: fixed;
    width: 100%;
    height: fit-content;
    max-height: 300px;
    overflow-y: auto;
    bottom: 0;
    background-color: var(--white);
    z-index: 1063;
    border: none;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem 1rem;
    box-shadow: 0 -4px 6px var(--grigio_base-opacity);
    .header-banner,
    .body-banner {
        width: 1200px;
        max-width: 90%;
        margin: 0 auto;
    }
    .footer-banner {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        flex-wrap: wrap;
        margin-top: 2rem;
    }
    .footer-banner button:nth-of-type(2) {
        background-color: var(--primarioChiaro);
        color: var(--white);
    }
}
.btn-cookie {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    height: 48px;
    border: 1px solid var(--grigio_light);
    border-radius: 3px;
    flex: 1 0 100%;
    max-width: 340px;
    text-wrap: nowrap;
    transition: all 0.2s ease-in-out;
}
.btn-cookie:hover {
    scale: 1.05;
    box-shadow: 0 0 4px var(--grigio_base-opacity);
}
.btn-cookie:active {
    scale: 0.95;
    box-shadow: none;
}

/* NAVIGAZIONE */
.nav-fixed {
    top: 0;
    position: fixed;
    width: 96%;
    height: 8rem;
    z-index: 1051;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;

    .nav-left {
        width: fit-content;
        min-width: 15%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: none;
    }
    .nav-center {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        min-width: fit-content;
    }
    .nav-right {
        width: fit-content;
        min-width: 15%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
    }
    .btn-icon {
        width: 3.25rem;
        height: 3.25rem;
        border-radius: 50%;
        background-color: transparent;
        border: 3px solid var(--primarioChiaro);
        color: var(--primarioChiaro);
        box-shadow: 0 0 8px var(--light), inset 0 0 6px var(--light-medium);
    }
    .logo-container-header {
        width: fit-content;
        height: 100%;
        display: flex;
        place-items: center;
        padding: 0.5rem;
    }
    .logo-img-header {
        width: 125px;
        height: fit-content;
        object-fit: contain;
        transition: all 0.2s ease-in-out;
        max-width: fit-content;
        max-height: 80%;
    }
    .logo-img-header:hover {
        scale: 1.025;
    }
    .list-group-item {
        position: relative;
        display: block;
        background-color: transparent;
        border: none;
        font-size: clamp(16px, 4vw, 18px);
        font-weight: 400;
        color: var(--grigio_light);
        text-decoration: none;
        padding: .5rem 1rem;
        transition: all 0.3s ease-in-out;
    }
    .list-group-item:hover {
        scale: 1.01;
        color: var(--primarioChiaro);
    }
    .list-group-item.active {
        z-index: 2;
        background-color: transparent;
        color: var(--primarioChiaro);
        font-weight: 700;
        font-size: clamp(20px, 4vw, 22px);
        border-left: 4px solid;
    }
}

/* MENU */
#nav-scrollspy {
    position: fixed;
    left: 0;
    width: fit-content;
    display: flex;
    flex-direction: column;
    top: 0;
    height: calc(100dvh - 8rem);
    align-items: flex-start;
    gap: 5%;
    margin: 8rem 0 0 0;

    .submenu-hover {
        position: relative; /* Necessario per posizionare il sottomenu */
    }
    .submenu-hover:hover {
        background-color: var(--grigio_dark-opacity);
        /* box-shadow: 0 0 6px 1px var(--light-opacity); */
    }
    
    .submenu-hover:hover .container-subMenu {
        display: block;
    }
    .item-subMenu {
        display: flex;
        transition: all 0.2s ease-in-out;
    }
    .item-subMenu a {
        width: 100%;
        font-size: clamp(16px, 4vw, 20px);
        font-weight: 400;
        padding: 1rem;
        color: var(--light);
        text-decoration: none;
        border-bottom: 1px solid var(--dark);
        box-shadow: inset 0 0 6px 1px var(--dark);
        transition: all 0.2s ease-in-out;
    }
    .item-subMenu:last-child {
        border-bottom: none;
    }
    .item-subMenu:hover {
        background-color: var(--dark);
        box-shadow: inset 0 0 8px 1px var(--black);
    }
    .item-subMenu:hover a {
        color: var(--active-color);
        font-weight: 600;
    }
    
    .container-subMenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--grigio_dark-opacity);
        z-index: 1000;
        padding: 0;
        /* box-shadow: 0 0 6px 1px var(--light-opacity); */
        width: fit-content;
        min-width: 14rem;
        list-style-type: none;
    }
}

/* MENU MOBILE */
.offcanvas-menuMobile {
    height: 100dvh;
    visibility: visible;
    max-width: 50%;
    width: 240px;
    background-color: var(--black-opacity);

    .offcanvas-header {
        height: auto;
        box-shadow: 0 4px 6px var(--black-opacity);
        background-color: var(--dark);
    }
    .text-big-bold {
        color: var(--white);
    }
    .text-big {
        color: var(--primarioChiaro);
    }
    .btn-icon i {
        color: var(--primarioChiaro);
    }
    .text {
        color: var(--grigio_light);
    }
    .text-big-bold:hover {
        color: var(--primarioChiaro);
    }
    .text:hover {
        color: var(--primarioChiaro);
    }
    .text-big-bold:active {
        color: var(--primarioChiaro);
    }
    .text:active {
        color: var(--primarioChiaro);
    }
    .offcanvas-body {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 2rem 1rem 1rem;
    }
    .submenu-container {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        padding: 0 0 0 1rem;
    }
}

/* CARRELLO */
.modal-backdrop {
    z-index: 1051;
}
#offcanvasCart {
    background: var(--grigio_dark-opacity);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1052;

    .offcanvas-header {
        height: fit-content;
        background: var(--grigio_dark-opacity);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .offcanvas-header i, p {
        color: var(--white);
    }
    .offcanvas-header .btn-square {
        background: var(--light-opacity);
        color: var(--white);
    }
    .container-inline-filters i, h5 {
        color: var(--white);
    }
    .container-cart-body {
        padding: 0.5rem;
    }
    .cart-footer {
        flex-direction: row-reverse;
        background: var(--grigio_dark-opacity);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .cart-footer .btn-square {
        color: var(--white);
        background: transparent;
        border-radius: 0;
        border: 1px solid var(--light-opacity);
        transition: all 0.2 ease-in-out;
    }
    .cart-footer .btn-square:hover {
        color: var(--grigio_dark);
        background: var(--light-medium);
        border: 1px solid transparent;

    }
    .cart-footer .btn-large-round-outline {
        height: 3rem;
        border-radius: 0;
        border: 2px solid var(--primarioChiaro);
        color: var(--primarioChiaro);
        background-color: transparent;
        box-shadow: 0 0 8px var(--primarioChiaro-opacity), inset 0 0 4px var(--primarioChiaro-opacity);
        transition: all 0.2 ease-in-out;
    }
    .cart-footer .btn-large-round-outline:hover {
        border: 2px solid transparent;
        color: var(--grigio_dark);
        background-color: var(--primarioChiaro);
        box-shadow: 0 0 8px var(--primarioScuro-opacity), inset 0 0 4px var(--primarioScuro-opacity);
    }
    .empty-cart-container .empty-cart-card i {
        color: var(--light-opacity);
    }
    .empty-cart-container .empty-cart-card h6 {
        color: var(--light);
    }
    .loader {
        display: none;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--dark);
    }
    .loader::after {
        content: "";
        width: 40px;
        height: 40px;
        border: 4px solid var(--white);
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
}
/* CARD Carrello */
.cart-card-container {
    background: var(--grigio_dark-opacity);
    border: 1px solid var(--light-medium);
    box-shadow: 0 0 5px 1px var(--light-medium);
    animation: zoomInCard 0.3s ease-in-out;

    .cart-header {
        background-color: transparent;
        gap: 2%;
    }
    .title-prod-cart {
        color: var(--white);
        width: 90%;
        font-size: clamp(12px, 4vw, 14px);
        font-weight: 600;
    }
    .btn-remove-cart {
        color: var(--light-medium);
    }
    .cart-body {
        padding: 0.5rem;
    }
    .img-cart-container {
        background: radial-gradient(var(--grigio_base) 5%, var(--black-opacity) 100%);
        border: 1px solid var(--light-opacity);
    }
    .info-cart-container {
        color: var(--white);
        justify-content: space-around;
    }
    .overlay-card-prodotto {
        background-color: var(--dark);
        color: var(--light);
    }
    .body-overlay {
        width: 320px;
        min-width: 100%;
    }
    .img-cart-container {
        pointer-events: none;
    }
}

/**** HOMEPAGE ****/

    /* PAGINA SITO IN COSTRUZIONE */
    .page-costruction {
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 9999;

        .img-Box-1 {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center bottom;
        }
        .info-box {
            position: absolute;
            z-index: 3;
            top: 0;
            left: 0;
            height: 100%;
            width: 520px;
            max-width: 90%;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: center;
            padding: 0 5%;
            background: linear-gradient(to right, var(--black-opacity), transparent);
        }
        .logo-azienda {
            width: 180px;
            height: 180px;
            object-fit: contain;
        }
        .subtitle {
            /* font-family: "Limelight", sans-serif; */
            font-size: clamp(32px, 4vw, 60px);
            font-weight: 800;
            font-style: normal;
            color: var(--primarioChiaro);
        }
        .text-big-bold {
            font-size: clamp(24px, 4vw, 32px);
            font-weight: 400;
            color: var(--white);
            width: 480px;
            max-width: 90%;
        }
        .footer {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            background: transparent;
        }
        .footer .text {
            color: var(--primarioChiaro);
        }
        .logo-container {
            display: flex;
            gap: 2rem;
        }
        .logo-wide {
            width: auto;
            height: 70px;
            object-fit: contain;
        }
    }
    .page-costruction::after {
        content: "";
        background: linear-gradient(to right, var(--black-opacity) 10%, transparent 60%);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        z-index: 2;
    }

    /* CONTAINER HOME PAGE */
    .wrap-section-large {
        display: flex;
        flex-direction: column;
        background-color: var(--dark);
        overflow-y: auto;
        scroll-snap-type: y mandatory;
        height: 100dvh;
        padding: 0;
        grid-gap: 0;
    }
    /* BARRA DI SCORRIMENTO HOME */
    .wrap-section-large::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
    .wrap-section-large::-webkit-scrollbar-thumb {
        background-color: transparent; 
        border-radius: 0;
        padding: 0;
    }
    .wrap-section-large::-webkit-scrollbar-track {
        background-color: transparent; 
    }
    .wrap-section-large::-webkit-scrollbar-thumb:hover {
        background-color: transparent;
    }

    /* Azienda */
    .azienda-box {
        position: relative;
        z-index: 1;
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        padding: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        display: flex;
        align-items: center;

        .info-box {
            position: absolute;
            z-index: 2;
            padding: 6% 2rem 2% 2rem;
            height: 100%;
            background: linear-gradient(200deg, var(--primarioChiaro-opacity), var(--secondarioChiaroOpacity), var(--primarioScuro), var(--secondarioChiaro));
            background-size: 800% 800%;
            box-shadow: 0 0 12px 1px var(--light-opacity), inset 0 0 24px 1px var(--primarioScuroOpacity);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-align: start;
            flex: 1 0 420px;
            max-width: 420px;
            right: 12%;
            left: auto;
            opacity: 0;
            transform: translateX(100%);
        }
        .info-box.show {
            opacity: 1;
            transform: translateX(0);
            animation: slideInRight 0.6s ease-out 0.6s both, gradientScroll 10s ease infinite;
        }
        .info-box h1 {
            color: var(--dark);
            margin-bottom: 2rem;
            font-size: clamp(32px, 4vw, 60px);
            font-weight: 300;
            width: 100%;
            text-align: center;
        }
        .info-box h2 {
            font-size: clamp(24px, 4vw, 32px);
            font-weight: 400;
            color: var(--light);
            margin-bottom: 2rem;
            width: 100%;
            text-align: center;
        }
        .info-box h3 {
            font-size: clamp(18px, 4vw, 24px);
            font-weight: 300;
            color: var(--light);
            line-height: 140%;
            margin-bottom: 2rem;
            width: 100%;
            text-align: center;
        }
        .btn-full {
            width: 100%;
            min-width: 16rem;
            max-width: 100%;
            border: 2px solid var(--white);
            padding: 1rem 2rem;
            box-shadow: 0 0 6px var(--light-medium), inset 0 0 12px var(--light);
            background-color: transparent;
            color: var(--white);
            font-size: clamp(14px, 4vw, 16px);
            font-weight: 700;
            margin: 8% 0 0 0;
            text-transform: uppercase;
            border-radius: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease-in-out;
        }
        .btn-full:hover {
            box-shadow: 0 0 12px 1px var(--black-opacity-medium);
            background-color: var(--primarioChiaro);
            color: var(--dark);
            font-weight: 700;
            border: 2px solid transparent;
        }
        .btn-full:active {
            scale: 0.9;
        }
        .video {
            /* width: 100%;
            height: 100%;
            max-height: 100dvh;
            overflow: hidden;
            object-fit: cover; */
            transition: all 1s ease-in-out;
            -moz-transition: all 1s ease;
            -webkit-transition: all 1s ease;
            position: relative;
            box-shadow: 0 0 12px 1px var(--dark);
            right: 0;
            z-index: 1;
            opacity: 0;
            object-fit: cover;
            object-position: center;
            /* transform: translateY(130%); */
        }
        .video.show {
            opacity: 1;
            transform: translateY(0);
            transition: all 1s ease-out 1s both;
        }
    }
    .azienda-box::after {
        content: "";
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(to right, var(--black-opacity) 5%, var(--black-opacity-medium) 40%);
    }
    
    /* Sezione Olii */
    .oil-box {
        position: relative;
        z-index: 1;
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        padding: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        display: flex;
        align-items: center;

        .info-box {
            position: absolute;
            z-index: 2;
            padding: 6% 2rem 2% 2rem;
            height: 100%;
            background: linear-gradient(200deg, var(--primarioChiaro-opacity), var(--secondarioChiaroOpacity), var(--primarioScuro), var(--secondarioChiaro));
            background-size: 800% 800%;
            box-shadow: 0 0 12px var(--black-opacity-medium), inset 0 0 24px var(--primarioScuro);
            display: flex;
            flex-direction: column;
            gap: 2%;
            align-items: flex-start;
            justify-content: center;
            text-align: start;
            flex: 1 0 420px;
            max-width: 420px;
            right: 12%;
            left: auto;
            opacity: 0;
            transform: translateX(100%);
        }
        .info-box.show {
            opacity: 1;
            transform: translateX(0);
            animation: slideInRight 0.6s ease-out 0.6s both, gradientScroll 10s ease infinite;
        }
        .info-box h1 {
            color: var(--dark);
            font-size: clamp(32px, 4vw, 60px);
            font-weight: 300;
            line-height: 110%;
            width: 100%;
            text-align: center;
        }
        .info-box h2 {
            font-size: clamp(24px, 4vw, 32px);
            font-weight: 400;
            color: var(--light);
            width: 100%;
            text-align: center;
        }
        .info-box h3 {
            font-size: clamp(18px, 4vw, 24px);
            font-weight: 300;
            color: var(--light);
            line-height: 120%;
            margin-bottom: 2rem;
            width: 100%;
            text-align: center;
        }
        .btn-full {
            width: 100%;
            min-width: 16rem;
            max-width: 100%;
            border: 2px solid var(--white);
            padding: 1rem 2rem;
            box-shadow: 0 0 6px var(--light-medium), inset 0 0 12px var(--light);
            background-color: transparent;
            color: var(--white);
            font-size: clamp(14px, 4vw, 16px);
            font-weight: 700;
            margin: 5% 0 0 0;
            text-transform: uppercase;
            border-radius: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease-in-out;
        }
        .btn-full:hover {
            box-shadow: 0 0 12px 1px var(--black-opacity-medium);
            background-color: var(--primarioChiaro);
            color: var(--dark);
            font-weight: 700;
            border: 2px solid transparent;
        }
        .btn-full:active {
            scale: 0.9;
        }
        .btn-secondary {
            color: var(--black);
            border: 2px solid transparent;
            box-shadow: none;
            background-color: var(--primarioChiaro-opacity);
            text-transform: none;
            font-weight: 400;
            font-size: clamp(16px, 4vw, 18px);
            margin: 0;
            transition: all 0.2s ease-in-out;
        }
        .secondary:hover {
            color: var(--white);
            background-color: var(--primarioScuro);
        }
        .img-Box-1 {
            width: 100%;
            height: 100%;
            max-height: 100dvh;
            overflow: hidden;
            object-fit: cover;
            position: relative;
            box-shadow: 0 0 12px 1px var(--dark);
            right: 0;
            z-index: 1;
            opacity: 0;
            /* transform: translateY(130%); */
            transition: all 0.8s ease-in-out;
            -moz-transition: all 0.8s ease;
            -webkit-transition: all 0.8s ease;
        }
        .img-Box-1.show {
            opacity: 1;
            transform: translateY(0);
            transition: all 1s ease-out 1s both;
        }
    }
    .oil-box::after {
        content: "";
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(to right, var(--black-opacity) 5%, transparent 40%, var(--black-opacity-medium) 100%);
    }

    /* EVENTI */
    .wrap-box-contenuti {
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        padding: 8rem 2% 2% 12rem;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        position: relative;
        z-index: 1;
        display: flex;
        gap: 5%;
        flex-direction: column;
        align-items: center;
        background: url(/assets/media/background-eventi.png), radial-gradient(circle, var(--grigio_dark) 5%, var(--black) 100%);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 105%;
        justify-content: center;
        animation: radialMove 50s ease-in-out infinite;

        .body-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            height: 100%;
            width: 100%;
            grid-template-rows: 1fr 1fr;
        }
        .card-evento {
            width: 100%;
            min-width: 300px;
            height: 100%;
            position: relative;
            display: flex;
            overflow: hidden;
            max-width: 100%;
            max-height: 100%;
            min-height: 190px;
            box-shadow: 0 0 6px var(--dark);
            opacity: 0;
            transform: translateY(165%);
            transition: opacity 0.5s ease-out, 
                        transform 0.5s ease-out, 
                        scale 0.2s ease-in-out, 
                        box-shadow 0.2s ease-in-out;
        }
        .card-evento:hover {
            scale: 1.025;
            box-shadow: 0 0 8px 1px var(--dark);
        }
        .card-evento.show {
            opacity: 1;
            transform: translateY(0);
        }
        .container-img-evento {
            width: 300px;
            min-width: 45%;
            height: 100%;
            overflow: hidden;
            max-width: 100%;
        }
        .img-card-evento {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 1s ease-in-out;
            -moz-transition: all 1s ease;
            -webkit-transition: all 1s ease;
        }
        .info-box-evento {
            width: 100%;
            height: 100%;
            padding: 2%;
            background-color: var(--grigio_dark-opacity);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-align: start;
        }
        .info-box-evento h3 {
            color: var(--primarioChiaro);
            margin-bottom: auto;
            font-size: clamp(10px, 4vw, 16px);
            line-height: 115%;
            font-weight: 500;
            white-space: normal !important;
        }
        .info-box-evento h6 {
            font-family: "Yeseva One", serif;
            font-weight: 400;
            font-style: normal;
            font-size: clamp(16px, 4vw, 20px);
            line-height: 115%;
            color: var(--white);
            margin-bottom: auto;
            white-space: normal !important;
        }
        .info-box-evento p {
            font-weight: 300;
            color: var(--light);
            line-height: 130%;
            margin-bottom: auto;
            white-space: normal !important;
        }
        .btn-card-evento {
            width: fit-content;
            min-width: 6rem;
            max-width: 100%;
            border: none;
            border-radius: 6px;
            padding: 0.5rem 2rem;
            box-shadow: none;
            background-color: var(--primarioScuro);
            color: var(--white);
            font-size: clamp(14px, 4vw, 16px);
            font-weight: 500;
            transition: all 0.2s ease-in-out;
            margin-left: auto;
            margin-top: auto;
        }
        .btn-card-evento p {
            margin: 0;
        }
        .btn-card-evento:hover {
            box-shadow: 0px 0px 4px 1px var(--grigio_dark-opacity);
            background-color: var(--primarioChiaro);
            color: var(--dark);
            font-weight: 600;
        }
        .btn-card-evento:active {
            scale: 0.9;
        }
        /* Header sezione */
        .header-section {
            z-index: 1;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            height: 2rem;
            padding: 0 0 0.5rem 0.5rem;
            border-bottom: 1px solid var(--light-medium);

        }
        .label-section {
            font-size: clamp(14px, 4vw, 32px);
            font-weight: 700;
            color: var(--light);
        }
    }

    /* GALLERY */
    .section-gallery-fullPage {
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 0;
        position: relative;
        z-index: 1;

        .fullPage-slide-container {
            display: flex;
            align-items: center;
            height: 100dvh;
        }
        .fullPage-slide-container::after {
            content: '';
            position: absolute;
            z-index: 0;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: linear-gradient(to right, var(--black-opacity) 5%, transparent 40%, var(--black-opacity-medium) 100%);
        }
        .cont-text-container-might {
            position: absolute;
            z-index: 2;
            width: 30%;
            height: 100%;
        }
        .video {
            position: absolute;
            object-fit: cover;
            object-position: center;
        }
        .img-full-box {
            width: 100%;
            height: 100%;
            position: fixed;
            object-fit: cover;
            top: 0;
            z-index: -1;
        }
        .cont-text-container-might {
            position: absolute;
            z-index: 2;
            flex: 1 0 420px;
            max-width: 420px;
            height: 100%;
            background: linear-gradient(var(--primarioChiaro-opacity), var(--primarioScuro), var(--primarioChiaro-opacity));
            color: var(--dark);
            box-shadow: 0 0 12px var(--black-opacity-medium), inset 0 0 24px var(--primarioScuro);
            display: flex;
            flex-direction: column;
            gap: 2%;
            justify-content: center;
            padding: 6% 2rem 2% 2rem;
            opacity: 0;
            transform: translateX(100%);
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
            right: 12%;
        }
        .cont-text-container-might.show {
            opacity: 1;
            transform: translateX(0);
        }
        .title-parallax {
            color: var(--dark);
            font-size: clamp(32px, 4vw, 60px);
            font-weight: 300;
            width: 100%;
            text-align: center;
        }
        .subtitle-parallax {
            font-size: clamp(24px, 4vw, 32px);
            font-weight: 400;
            color: var(--light);
            width: 100%;
            text-align: center;
            line-clamp: 4;
            -webkit-line-clamp: 4;
        }
        .text {
            font-size: clamp(18px, 4vw, 24px);
            font-weight: 300;
            color: var(--light);
            line-height: 140%;
            width: 100%;
            text-align: center;
        }
        .btn-standard {
            width: 100%;
            min-width: 16rem;
            max-width: 100%;
            border: 2px solid var(--white);
            padding: 1rem 2rem;
            box-shadow: 0 0 6px var(--light-medium), inset 0 0 12px var(--light);
            background-color: transparent;
            color: var(--white);
            font-size: clamp(14px, 4vw, 16px);
            font-weight: 700;
            margin: 5% 0 0 0;
            text-transform: uppercase;
            border-radius: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease-in-out;
        }
        .btn-standard:hover {
            box-shadow: 0 0 12px 1px var(--black-opacity-medium);
            background-color: var(--primarioChiaro);
            color: var(--dark);
            font-weight: 700;
            border: 2px solid transparent;
        }
        .container-gallery {
            height: 100%;
            width: 900px;
            margin-left: 15%;
            opacity: 0;
            transform: translateY(100%);
            transition: opacity 0.6s ease-out, transform 0.8s ease-out;
            max-width: 45%;
            position: static;
        }
        .container-gallery.show {
            opacity: 1;
            transform: translateY(0);
        }
        .container-img-gallery {
            height: 680px!important;
            max-height: 60dvh;
            box-shadow: 0 0 12px 2px var(--light-opacity);
            overflow: hidden;
            position: relative;
            scale: 0.95;
            border: 1px solid var(--light-opacity);
            background-color: var(--light);
            /* transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -webkit-transition: all 0.3s ease-in-out; */
        }
        .img-gallery {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .container-btn-gallery {
            display: flex;
            gap: 2rem;
            width: fit-content;
            height: 100%;
            padding: 2% 0;
            bottom: 0;
            right: 0;
            flex-direction: column;
            left: 12%;
            justify-content: center;
        }
        .gallery-prev,
        .gallery-next {
            height: 3rem;
            width: 3rem;
            padding: 0.5rem 1rem;
            color: var(--dark)!important;
            border: 1px solid var(--dark);
            border-radius: 50%;
            background-color: var(--primarioChiaro-opacity);
            box-shadow: 0 0 6px 1px var(--black-opacity);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-weight: 500;
            rotate: 90deg;
            transition: all 0.2s ease-in-out;
            -moz-transition: all 0.2s ease-in-out;
            -webkit-transition: all 0.2s ease-in-out;
        }
        .gallery-prev:hover,
        .gallery-next:hover {
            background-color: var(--primarioChiaro)!important;
            color: var(--dark)!important;
            font-weight: 700!important;
            box-shadow: 0 0 6px 1px var(--light-opacity)!important;
        }
        .gallery-prev:active,
        .gallery-next:active {
            scale: 0.9;
        }
    }

    /* FOOTER */
    .footer-light {
        background-color: var(--dark)!important;
        gap: 0;
        min-height: 100dvh;
        height: 100dvh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-shadow: none;
        justify-content: space-between;
        position: static;
        z-index: auto;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        margin: auto 2% 0 14rem;
        width: auto;

        .section-container {
            position: relative;
            display: grid;
            grid-template-columns: auto auto auto auto;
            grid-template-rows: auto;
            justify-content: center;
            padding: 0 2%;
            height: fit-content;
            margin: auto 0;
            gap: 2% 0;
        }
        .col-footer {
            width: 100%;
            padding: 0.5rem 0.5rem 0.5rem 1rem;
            margin: auto auto;
            flex-direction: column;
            gap: 1rem;
            height: fit-content;
            max-width: 100%;
            justify-content: flex-start;
            min-width: 200px;
            height: 100%;
            border-left: 1px solid var(--light-opacity);
        }
        .col-footer .subtitle {
            font-size: clamp(16px, 4vw, 18px);
            font-weight: 700;
            width: fit-content;
            max-width: 100%;
            line-height: 130%;
            text-wrap: balance;
            word-wrap: break-word;
            color: var(--light);
        }
        .pagamenti-container .text-big-bold {
            color: var(--light);
        }
        .social-container {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: auto;
        }
        .social-container .subtitle {
            width: 100%;
        }
        .social-container .text-big-bold {
            margin-right: 0.25rem;
        }
        .social-container a {
            transition: all 0.2s ease-in-out;
        }
        .social-container a:hover {
            scale: 1.1;
        }
        .banner-footer {
            grid-column: span 3;
            margin: 1rem 0 0 0;
            background-color: transparent;
            width: auto;
            justify-content: space-evenly;
            box-shadow: none;
        }
        .logo-brand-container {
            width: 12rem;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            height: auto;
            margin-bottom: 2rem;
            max-width: 40%;
        }
        .footer-img-logo {
            height: 100%;
            width: 100%;
            object-fit: contain;
        }
        .logo-wide {
            height: 100%;
            width: 100%;
            object-fit: contain;
        }
        .licenza-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            width: 100%;
            gap: 1rem 2rem;
        }
        .data-container-col {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            gap: 0.25rem;
            width: 100%;
            margin: 0;
            justify-content: flex-start;
            min-width: 220px;
        }
        .data-container-col p {
            color: var(--white);
        }
        .grigio_base {
            color: var(--grigio_light)!important;
        }
        .slogan {
            display: none;
        }
    }

    /* DETTAGLIO PRODOTTO */
    .wrap-container-2-col {
        min-height: 100dvh;
        background: var(--dark);
        padding: 9rem 4% 2rem 4%;
        grid-template-columns: 70% 30%;
        border-bottom: 1px solid var(--primarioChiaro-opacity);

        /* Gallery */
        .gallery-section {
            background-color: transparent;
        }
        .container-thumb-slider {
            display: flex;
            gap: .5rem;
            border-top: none;
            padding: 0;
            border-left: none;
            border-bottom: none;
        }
        .thumb-gallery-slider .img-gallery-container {
            border-radius: 50%;
            overflow: hidden;
            width: 120px!important;
            height: 120px!important;
            padding: 0.75rem;
        }
        .thumb-gallery-slider .swiper-slide {
            height: 120px!important;
            width: 120px!important;
        }
        .swiper-slide-thumb-active {
            border-radius: 50%;
            background: radial-gradient(var(--primarioChiaro), var(--primarioChiaro-opacity), transparent);
        }
        .main-gallery-slider {
            width: 600px;
            max-width: 70%;
            border: none;
            background: radial-gradient(var(--grigio_dark) 5%, var(--dark) 60%, transparent 100%);
        }
        .swiper-pagination-fraction {
            bottom: 8px;
            margin: 0 auto 0 0;
            background: var(--primarioScuroOpacity);
        }
        .img-gallery-thumb-product {
            background: transparent;
        }
        .img-gallery-container {
            padding: 0;
        }
        /* Info */
        .container-info-product {
            background: transparent;
            box-shadow: none;
            max-height: fit-content;
        }
        .wrap-container-asimmetric {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        #m-buttons-container {
            padding: 1rem 0;
        }
        .might-container-col .title {
            font-size: clamp(32px, 4vw, 48px);
            color: var(--primarioChiaro);
            font-weight: 300;
        }
        .might-container-col .text {
            color: var(--primarioScuro);
        }
        .might-container-col .container-price {
            color: var(--white);
        }
        .might-container-col .little-info-col {
            padding: 1rem;
        }
        .btn-square-classic {
            border-radius: 8px;
        }
        .selettore-quantita {
            border: none;
        }
        .btn-qty {
            font-size: 48px;
            color: var(--primarioChiaro);
            background: transparent;
            font-weight: 300;
            border-radius: 32px;
            border: 2px solid var(--primarioChiaro);
        }
        .btn-qty:hover {
            color: var(--dark);
            background: radial-gradient(var(--primarioChiaro), var(--primarioScuro));
            border: 2px solid transparent;
        }
        .input-quantity {
            border-radius: 32px;
            background: transparent;
            color: var(--white);
            font-size: 22px;
            border: 1px solid;
        }
        .btn-animate-1.animation {
            background-image: linear-gradient(to left, var(--primarioScuro), var(--primarioChiaro-opacity), var(--primarioScuro), var(--primarioScuroOpacity));
            box-shadow: 0 4px 4px 0 var(--grigio_base-opacity);
            border-radius: 32px;
            font-size: 20px;
        }
        .message-addCart {
            color: var(--white);
        }
        .input-group-text {
            color: var(--light);
        }
        .m-addCart-buttons-container {
            flex-direction: column;
        }
        #accordionDescrizioneLibera .accordion-item {
            background: transparent;
            border: none;
        }
        #accordionDescrizioneLibera .btn-descrizione {
            background: transparent;
            color: var(--primarioChiaro);
        }
        #accordionDescrizioneLibera .body-descrizione {
            color: var(--light);
            border: none;
            max-height: fit-content;
        }
        .btn-whatsapp {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: fit-content;
            border: 1px solid var(--secondarioChiaroOpacity);
            background: transparent;
            color: var(--secondarioChiaro);
            margin: 0 0 1rem 0;
            padding: 1rem;
            transition: all 0.2s ease-in-out;
            border-radius: 48px;
        }
        .btn-whatsapp:hover {
            background: var(--secondarioChiaro);
            color: var(--white);
        }
    }

    /* WIDGET */
    /* Pagamenti accettati */
    .pagamenti-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .politiche-container a {
        color: var(--grigio_light);
        transition: all 0.2s ease-in-out;
    }
    .politiche-container a:hover {
        color: var(--primarioChiaro);
    }
    .alert-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 99%;
        height: fit-content;
        padding: 0.5rem;
        border: 1px solid var(--red-color);
        margin: 1rem auto;
        .text-big-bold {
            color: var(--red-color);
        }
    }

    .newsletter-container {
        position: fixed;
        z-index: 1020;
        left: 1rem;
        bottom: 1rem;
        top: auto;
        height: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 333px;
        max-width: 98%;
        background-color: var(--light-medium);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 1rem;
        box-shadow: 0 0 6px 1px var(--grigio_base-opacity);
        animation: zoomInCard 0.3sease-in-out forwards;

        .header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            /* align-items: center; */
        }
        .btn-icon {
            border: none;
            box-shadow: none;
            color: var(--grigio_dark);
        }
        .subtitle-big {
            color: var(--white);
        }
        .text {
            color: var(--grigio_dark);
            text-wrap: auto;
            margin-bottom: 1rem;
        }
        .form-floating {
            width: 100%;
        }
        .btn-standard {
            width: 100%;
            color: var(--primarioScuro);
            border-color: var(--primarioScuro);
        }
        .overlay-message {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-color: var(--light);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        .overlay-message::after {
            content: '';  
            box-sizing: border-box;
            width: 64px;
            height: 64px;
            border: 3px solid transparent;
            border-radius: 50%;
            border-bottom: 3px solid var(--primarioScuro);
            border-left: 3px solid var(--primarioScuro);
            animation: spin 1s linear infinite;
        }
        .success {
            color: var(--light);
            background-color: var(--green-color);
            flex-direction: column-reverse;
            gap: 1rem;
            text-align: center;
        }
        .success::after {
            content: "";
            display: block;
            width: 3rem;
            height: 3rem;
            background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath fill="white" d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"%3E%3C/path%3E%3C/svg%3E');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            border: none;
            animation: none;
            border-radius: 0;
        }
        .error {
            color: var(--light);
            background-color: var(--red-color);
            flex-direction: column-reverse;
            gap: 1rem;
            text-align: center;
        }
        .error::after {
            content: "";
            display: block;
            width: 3rem;
            height: 3rem;
            background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3Cpath fill="white" d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"%3E%3C/path%3E%3C/svg%3E');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            border: none;
            animation: none;
            border-radius: 0;
        }
    }

    .promo-Boxcontainer {
        position: fixed;
        z-index: 1022;
        width: 380px;
        max-width: 98%;
        height: 20rem;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 12px 2px var(--white);
        background: var(--white);

        .header {
            width: 100%;
            height: 100%;
            position: absolute;
            display: flex;
            flex-direction: column;
            padding: 1rem;
            gap: 1rem;
            justify-content: space-between;
            z-index: 1;
        }
        .btn-icon {
            margin: 0 0 0 auto;
        }
        .subtitle-big {
            width: 100%;
            text-align: center;
            background: var(--white);
            padding: 0.5rem;
            color: var(--primarioChiaro);
        }
        .text {
            width: 100%;
            text-align: center;
            font-weight: 600;
        }
        .btn-standard {
            background: radial-gradient(var(--primarioChiaro), var(--primarioScuro));
            width: 100%;
            box-shadow: 0 0 16px 4px var(--white);
            font-weight: 700;
            letter-spacing: 2px;
        }
        .img-widget {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.2;
        }     
    }

/* SCREEN M */
@media screen and (min-width: 1280px) and (max-width: 1479px) {
/* HOMEPAGE */
    /* NAVIGAZIONE */
    .nav-fixed {
        height: 6rem;
    }
    .nav-fixed .btn-icon {
        width: 2.75rem;
        height: 2.75rem;
        box-shadow: 0 0 12px var(--dark), inset 0 0 12px 1px var(--black-opacity-medium);
    }
    .azienda-box .info-box,
    .oil-box .info-box,
    .section-gallery-fullPage .cont-text-container-might {
        right: 0;
    }
    .wrap-box-contenuti {
        padding: 6.5rem 2% 2% 12rem;
    }
    /* DETTAGLIO PRODOTTO */
    .wrap-container-2-col {
        grid-template-columns: 65% 35%;
        padding: 6.5rem 3% 2rem 3%;
    }
    .wrap-container-2-col .thumb-gallery-slider .img-gallery-container {
        width: 100px !important;
        height: 100px !important;
    }
    .wrap-container-2-col .thumb-gallery-slider .swiper-slide {
        height: 100px !important;
        width: 100px!important;
    }
    /* FOOTER */
    .footer-light {
        justify-content: flex-end;
    }
    .footer-light .section-container {
        grid-template-columns: auto auto auto;
    }
}

/* SCREEN S */
@media screen and (min-width: 768px) and (max-width: 1279px) {
    /* NAVIGAZIONE */
    .nav-fixed {
        height: 5rem;
    }
    .nav-fixed .btn-icon {
        width: 2.75rem;
        height: 2.75rem;
        box-shadow: 0 0 12px var(--dark), inset 0 0 12px 1px var(--black-opacity-medium);
    }
    /* HOMEPAGE */
    .nav-fixed .btn-icon {
        box-shadow: 0 0 12px var(--dark), inset 0 0 12px 1px var(--black-opacity-medium);
    }
    .azienda-box .info-box,
    .oil-box .info-box,
    .section-gallery-fullPage .cont-text-container-might {
        right: 0;
    }
    /* Main Slider (Linee) */
    .section-fullPage-contenuti .full-slide-next, .full-slide-prev {
        padding: 30% 15%;
    }
    .section-fullPage-contenuti .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
        left: 2%;
    }
    /* Eventi */
    .wrap-box-contenuti {
        padding: 5.5rem 2% 2% 12rem;
    }
    .info-box-evento h6 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-clamp: 1;
        -webkit-line-clamp: 1; 
        white-space: normal;
        height: fit-content;
    }
    .info-box-evento p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-clamp: 2;
        -webkit-line-clamp: 2; 
        white-space: normal;
        height: fit-content;
    }
    .btn-card-evento {
        box-shadow: none!important;
        position: absolute!important;
        width: 100%!important;
        height: 100%!important;
        left: 0!important;
        top: 0!important;
        background-color: transparent!important;
    }
    .btn-card-evento p {
        display: none!important;
    }

    /* DETTAGLIO PRODOTTO */
    .wrap-container-2-col {
        grid-template-columns: 60% 40%;
        padding: 5.5rem 1% 2rem 1%;
    }
    .wrap-container-2-col .thumb-gallery-slider .img-gallery-container {
        width: 80px !important;
        height: 80px !important;
    }
    .wrap-container-2-col .thumb-gallery-slider .swiper-slide {
        height: 80px !important;
        width: 80px!important;
    }
    .wrap-container-2-col .container-info-product {
        max-height: fit-content!important;
    }
    .gallery-section {
        flex-direction: row-reverse;
    }

    .page-contenuti-container .corpo-article-container {
        width: 80%!important;
    }

    /* FOOTER */
    .footer-light {
        justify-content: flex-end;
    }
    .footer-light .section-container {
        gap: 1rem 0;
    }
    .footer-light .section-container .col-footer {
        grid-column: span 1;
    }
    .footer-light .section-container .col-footer:last-child {
        grid-column: span 3;
        flex-direction: row;
        gap: 6rem;
    }
    .footer-light .social-container {
        margin-top: 0;
        border-left: 1px solid var(--light-opacity);
        padding: 0 0 0 1rem;
    }
}

/* XS SCREEN */
@media screen and (max-width: 767px) {
    /* Loader */
    .loader-vertical-box::after {
        width: 200px!important;
        height: 120px!important;
    }

    /* Contenitore HomePage */
    .wrap-section-large {
        padding: 0!important;
        height: 100%;
        scroll-snap-type: none;
        overflow: hidden;
    }
    .section-fullPage-contenuti,
    .wrap-full-box,
    .wrap-box-contenuti,
    .section-gallery-fullPage,
    .footer-light {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }
    .pagamenti-widget {
        display: none;
    }

    /* Banner Cookie */
    .banner-cookie {
        max-height: fit-content;
    }

    /* Barra navigazione */
    .nav-fixed {
        height: 5rem;
        align-items: flex-start;
        width: 100%;
        padding: 0 0.75rem;
        background: var(--grigio_dark-opacity);
    }
    .nav-fixed .logo-container-header {
        padding: 0.6rem;
    }
    .nav-fixed .logo-img-header {
        width: auto;
        min-width: auto;
        max-width: fit-content;
    }
    .nav-right .btn-icon {
        background-color: transparent!important;
        width: 3rem;
        height: 3rem;
    }
    .nav-fixed .nav-right {
        gap: 1rem!important;
    }

    /* Azienda section */
    .azienda-box {
        height: 40rem;
        min-height: fit-content;
        max-height: 100%;
        flex-direction: column;
    }
    .azienda-box .video {
        opacity: 1;
        transform: none;
    }
    .azienda-box .video.show {
        opacity: 1;
        transform: none;
    }
    .azienda-box::after {
        display: none;
    }
    .azienda-box .info-box {
        left: 0;
        height: 100%;
        padding: 1rem;
        bottom: 0;
        opacity: 1;
        transform: translateX(0);
        animation: none;
        position: relative;
    }
    .azienda-box .info-box.show {
        animation: none;
    }

    /* Box Olii */
    .oil-box {
        max-height: fit-content;
        flex-direction: column;
        min-height: fit-content;
        height: fit-content;
    }
    .oil-box .img-Box-1 {
        object-position: 40% 100%;
        min-height: 28rem;
        box-shadow: none;
    }
    .oil-box .info-box {
        left: 0;
        height: fit-content;
        position: relative;
        padding: 2rem 1rem;
        gap: 1rem;
        opacity: 1;
        transform: translateX(0);
        animation: none;
    }
    .oil-box .info-box.show {
        animation: none;
    }

    /* Eventi */
    .wrap-box-contenuti {
        padding: 1rem;
        background-size: 350%;
        background-position: left;
        animation: none;
        height: fit-content;
        min-height: fit-content;
        max-height: fit-content;
    }
    .wrap-box-contenuti .body-container {
        display: flex;
        gap: 0.75rem;
        justify-content: flex-start;
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 1rem 0;
    }
    .wrap-box-contenuti .container-img-evento {
            width: 100%;
    }
    .wrap-box-contenuti .card-evento {
        flex-direction: column;
        width: 90%;
        height: 25rem;
    }
    .wrap-box-contenuti .card-evento:hover {
        scale: 1;
    }
    .wrap-box-contenuti .info-box-evento {
        padding: 1rem;
        gap: 1rem;
    }
    .info-box-evento h3, h6, p {
        margin-bottom: 0.25rem!important;
    }
    .card-evento .info-box-evento h6 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-clamp: 1;
        -webkit-line-clamp: 1; 
        white-space: normal;
        height: fit-content;
    }
    .card-evento .info-box-evento p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-clamp: 2;
        -webkit-line-clamp: 2; 
        white-space: normal;
        height: fit-content;
    }
    .btn-card-evento {
        box-shadow: none!important;
        position: absolute!important;
        width: 100%!important;
        height: 100%!important;
        left: 0!important;
        top: 0!important;
        background-color: transparent!important;
    }
    .btn-card-evento p {
        display: none!important;
    }

    /* Sezione Gallery Homepage */
    .section-gallery-fullPage {
        height: fit-content;
        min-height: fit-content;
        max-height: fit-content;
    }
    .section-gallery-fullPage .cont-text-container-might {
        width: 100%;
        height: fit-content;
        bottom: 0;
        gap: 1rem;
        padding: 1.5rem 1rem;
        right: 0;
        position: relative;
        opacity: 1;
        transform: translateX(0);
    }
    .section-gallery-fullPage .subtitle-parallax {
        margin: 0 auto;
        text-align: center;
    }
    .section-gallery-fullPage .title-parallax, .section-gallery-fullPage .btn-standard {
        margin: 0 auto;
    } 
    .section-gallery-fullPage .container-gallery {
        width: 100%;
        height: 24rem;
        margin: 0;
        max-width: 100%;
        padding: 1rem 0;
    }
    .section-gallery-fullPage .container-img-gallery {
        max-height: 22rem;
    }
    .section-gallery-fullPage .fullPage-slide-container {
        display: flex;
        align-items: center;
        height: fit-content;
        flex-direction: column-reverse;
    }
    .section-gallery-fullPage .video {
        position: relative;
    }
    .section-gallery-fullPage .fullPage-slide-container::after {
        display: none;
    }

    /* Taxonomy */
    .listaContenuti-container {
        padding-top: 6rem!important;
    }
    .listaContenuti-container .card-ListaContenuto {
        max-width: 100%;
    }

    /* Dettaglio Prodotto */
    .wrap-container-2-col {
        display: flex;
        flex-direction: column;
        padding: 6rem 0.5rem 1rem 0.5rem;
    }
    .wrap-container-2-col .container-info-product {
        box-shadow: none!important;
    }

    /* Elenco prodotti */
    .lineeProdotti-container {
        flex-direction: column;
    }
    .lineeProdotti-container .copertina-container {
        width: 100%;
        max-height: fit-content;
        position: relative;
        min-height: inherit;
        display: flex;
        flex-direction: column;
    }
    .lineeProdotti-container .img-copertina {
        position: sticky;
        z-index: 2;
        top: 6rem;
        width: 70%;
        left: 0;
        transform: translate(0);
        margin: 1rem auto;
    }
    .lineeProdotti-container .info-linea-container {
        max-height: fit-content;
        min-height: 60dvh;
        position: relative;
        bottom: 100%;
    }
    .lineeProdotti-container .text-descrizioneLinea {
        max-height: fit-content;
    }

    /* Card Prodotto */
    .card-prodotto-linea {
        display: flex;
        flex-direction: column;
    }
    .card-prodotto-linea .info-container {
        padding: 1rem 0.75rem;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 1rem;
    }
    .info-container .btn-icon {
        width: fit-content;
        margin: 0;
        padding: 0 1rem;
        min-width: 12rem;
        position: relative;
        display: flex;
        gap: 1rem;
        right: 0;
        top: 0;
        border: 1px solid;
        max-width: 60%;
    }
    .info-container h4 {
        height: fit-content;
        width: 100%;
    }
    .social-container .btn-icon {
        position: relative;
        margin: 0 auto;
        display: flex;
        gap: 1rem;
        right: 0;
        top: 0;
        width: 100%;
        border: 1px solid;
    }
    .social-container .btn-icon {
        width: 3rem;
        margin: 0;
    }
    .social-container .btn-icon::after {
        display: none;
    }
    .card-prodotto-linea .btn-icon::after {
        position: static;
    }
    .galleryLinee-section {
        width: 100%;
        min-width: 100%;
    }
    .card-prodotto-linea .btn-square-classic {
        position: relative;
        right: 0;
    }
    .card-prodotto-linea #m-buttons-container {
        padding: 1rem;
    }
    .card-prodotto-linea .selettore-quantita {
        width: 100%;
    }
    .card-prodotto-linea .btn-add-cart {
        width: 100%;
    }

    /* Newsletter */
    .newsletter-container {
        left: 50%;
        transform: translateX(-50%);
    }
    /* Box Promo */
    .promo-Boxcontainer {
        height: calc(100% - 5rem);
        bottom: 0;
        top: auto;
        transform: translate(-50%, 0);
    }

    /* Footer */
    .footer-light {
        height: 100%;
        min-height: fit-content;
        margin: 0;
    }
    .footer-light .section-container {
        display: flex;
        flex-direction: column;
        margin: 5rem 0 1rem 0;
    }
    .footer-light .col-footer {
        border-left: none;
        border-bottom: 1px solid;
        margin: 0 !important;
    }
    .col-footer .text {
        margin-bottom: 0;
    }
    .footer-light .licenza-list {
        display: flex;
        flex-direction: column;
    }
    .footer-light .banner-footer {
        margin-top: 0;
        gap: 1rem !important;
        padding: 1rem !important;
    }
}

/* ANIMAZIONI */
@keyframes radialMove {
    0% {
        background-position: 50% 50%;
    }
    25% {
        background-position: 0% 20%;
    }
    50% {
        background-position: 90% 80%;
    }
    75% {
        background-position: 30% 70%;
    }
    100% {
        background-position: 50% 50%;
    }
}

@keyframes zoomIn {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
}

@keyframes zoomInCard {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}

/* Animazione di rotazione */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animazione di movimento gradiente */
@keyframes gradientScroll {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}