:root {
    --color-primary: #2170FF;
    --color-primary-opacity: rgba(0, 76, 215, 0.8);
    --color-secondary: #09D9C7;
    --color-secondary-opacity: rgba(57, 195, 184, 0.8);
    --color-tertiary: #00241B;
    --color-lilla: #E0CAFA;
    --color-grey: #D8DCF0;
    --color-grey-light: #EDEDED;
    --sezione: 90px;
    --svg: 30px;
}

/* GENERAL */
.psb {
    padding-bottom: var(--sezione);
}

.pst {
    padding-top: var(--sezione);
}

.padding-first {
    padding-top: var(--header-height, 0px);
}

.regular-svg {
    width: var(--svg);
    max-height: var(--svg);
    object-fit: contain;
}

.first-caps::first-letter {
    text-transform: uppercase;
}

.color-primary {
    color: var(--color-primary);
}

.allwhite {
    * {
        color: white !important;
        fill: white !important;
    }
}

.font-light {
    font-weight: 400 !important;
}

.testo-gradiente {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gradiente-custom {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;

    &.homepage {
        height: 100dvh;

        &::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(white 0%, transparent 10%, transparent 85%, white 100%);
            z-index: 3;
        }
    }
}

.navigation.pagination {
    display: flex;
    justify-content: center;

    .page-numbers {
        color: var(--color-secondary);
    }

    .page-numbers.current {
        color: var(--color-primary);
    }
}

.gradient {
    position: relative;

    &::after {
        pointer-events: none;
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(white 0%, transparent 20%, transparent 80%, white 100%);
        z-index: 10;
    }
}

.standard-h {
    height: 400px;
}

.icona {
    height: 40px !important;
    width: 40px !important;
    object-fit: contain;
    text-align: center;
}

.video-business {
    height: 450px;
}

/* .section-business {
        background-image: linear-gradient(transparent 20%, #EDEDED 40%);
} */

.video-scegliere-emoteam {
    position: absolute;
    bottom: 0;
    right: 25%;
    height: 100%;
}

.button {
    padding: 6px 24px;
    border-radius: var(--bs-border-radius-pill) !important;
    display: inline-flex;
    justify-content: center;
    gap: .3rem;
    align-items: center;
    text-transform: uppercase !important;
    position: relative;
    overflow: hidden;
    transition: 0.5s;

    &.white-outline {
        border: 1px solid white;
        color: white;
    }

    &.primary-solid {
        border: 1px solid var(--color-primary);
        background-color: var(--color-primary);
        color: white;

        &:hover {
            border-color: transparent;
            background-image: linear-gradient(var(--color-secondary) 10%, transparent 60%);
            background-clip: padding-box;
        }
    }

    &.secondary-solid {
        border: 1px solid var(--color-secondary);
        background-color: var(--color-secondary);
        color: white;
    }

    &.primary-outline {
        border: 1px solid var(--color-primary);
        color: var(--color-primary);
        background-color: transparent;
    }

    &.white-solid {
        border: 1px solid white;
        background-color: white;
        color: var(--color-primary);
    }
}

.owl-theme .owl-dots .owl-dot.active span {
    background-color: var(--color-primary);
}

.bounce {
    &:hover {
        transform: scale(102%);
    }
}

.glass {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.3), 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);

    .liquidGlass-effect {
        position: absolute;
        z-index: 0;
        inset: 0;
        backdrop-filter: blur(1px);
        filter: url(#glass-distortion);
        overflow: hidden;
        isolation: isolate;
    }

    .liquidGlass-tint {
        z-index: 1;
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.2);
    }

    .liquidGlass-shine {
        position: absolute;
        inset: 0;
        z-index: 2;
        overflow: hidden;
        pointer-events: none;
        border-radius: inherit;

        padding: 1.5px;
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.1) 45%,
                rgba(255, 255, 255, 0.4) 55%,
                rgba(255, 255, 255, 0.4) 100%);

        -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }

    .glass-content {
        position: relative;
        z-index: 3;
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }
}

.rounded-lg {
    border-radius: var(--bs-border-radius-lg);
}

.card-evidenza {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
}

.blur {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.one-element {
    .owl-dots .owl-dot:nth-child(even) {
        display: none !important;
    }
}

.card-team {
    position: relative;
    overflow: hidden;

    h4, p {
        position: absolute;
        z-index: 1;
        color: white;
        left: 7%;
    }

    h4 {
        bottom: 12%;
    }

    p {
        bottom: 5%;
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(234deg, rgba(0, 0, 0, 0.00) 1.77%, rgba(0, 0, 0, 0.20) 51.15%);
    }
}

/* HEADER */
#header {
    z-index: 999;

    .brand {
        width: 270px;
    }

    .liquidGlass-shine {
        background: none;
    }

    &.glass {
        overflow: unset;
        box-shadow: 0 2px 10px -5px rgba(0, 0, 0, .5);

        &:hover {
            transform: none;
        }
    }

    #menu-primary-menu {
        background-color: var(--color-primary-opacity);
        border-radius: var(--bs-border-radius-pill);
        padding: 8px 24px;

        span {
            text-transform: uppercase;
        }

        .dropdown-menu {
            overflow: hidden;
            position: fixed !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            top: 180px !important;

            border: none;
            border-radius: var(--bs-border-radius-xl);
            padding: 2.5rem;

            &.show {
                display: flex;
                flex-wrap: wrap;

                li {
                    width: calc(100% / 3);
                    padding: 0 5px;
                }
            }

            span {
                text-transform: lowercase;
            }

            li {
                display: block;
                margin-bottom: 10px;
                break-inside: avoid;

                a {
                    color: #007bff !important;
                    text-decoration: none;
                    border-bottom: 1px solid lightgray;

                    span {
                        display: inline-block;
                    }

                    span::first-letter {
                        text-transform: uppercase !important;
                    }

                    &:hover {
                        color: #0056b3 !important;
                        background: transparent;
                    }
                }
            }

            li:first-child {
                display: none !important;
            }

            li:last-child {
                position: absolute;
                bottom: 10px;
                right: 10px;
                width: auto !important;

                a {
                    border: none;
                }
            }

            &::before {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 5px;
                background-color: var(--color-secondary);
            }
        }
    }

    #menu-secondary-menu {
        background-color: var(--color-secondary-opacity);
        border-radius: var(--bs-border-radius-pill);
    }

    .menu-item {
        color: white;

        span {
            font-family: 'Lexend';
            font-weight: 500 !important;
        }

        &.icon-profile {
            position: relative;
            padding: 8px;
            padding-left: 38px;

            &::before {
                content: '';
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 1px;

                width: 36px;
                height: 36px;

                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath style='fill: %23fff;' d='M38.3,35.8c-3.14,3.86-7.93,6.33-13.29,6.33s-10.16-2.47-13.31-6.33c1.25-4.33,4.58-7.78,8.82-9.22-1.08-1.1-1.72-2.62-1.72-4.27,0-3.43,2.77-6.2,6.2-6.2s6.2,2.77,6.2,6.2c0,1.65-.65,3.17-1.72,4.27,4.25,1.45,7.56,4.89,8.81,9.22Z' /%3E%3Cpath style='fill:%232170ff;' d='M42.13,24.99c0,4.09-1.43,7.86-3.83,10.81-1.25-4.33-4.56-7.78-8.81-9.22,1.08-1.1,1.72-2.62,1.72-4.27,0-3.43-2.79-6.2-6.2-6.2s-6.2,2.77-6.2,6.2c0,1.65.65,3.17,1.72,4.27-4.25,1.45-7.57,4.89-8.82,9.22-2.4-2.95-3.83-6.71-3.83-10.81,0-9.46,7.68-17.12,17.14-17.12s17.12,7.67,17.12,17.12Z' /%3E%3C/svg%3E");
                background-repeat: no-repeat;
                background-position: center;
                background-size: contain;
            }
        }
    }
}

/* OFFCANVAS */
.offcanvas {
    background-color: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    .brand {
        width: 220px;
    }

    .menu-item {
        color: white;
        padding-bottom: 2.5rem;

        a {
            span {
                font-size: 36px;
            }
        }
    }

    .dropdown-menu {
        position: relative !important;
        background-color: transparent;
        border: none;

        .menu-item {
            border-bottom: 1px solid lightgray;
            padding-bottom: .5rem;
            margin-bottom: .5rem;

            a {
                span {
                    color: white;
                    font-size: 18px;
                }
            }
        }
    }

    #menu-secondary-menu-1 {
        .menu-item {
            background-color: var(--color-secondary);
            border-radius: var(--bs-border-radius-pill);

            a {
                span {
                    font-size: 16px;
                }
            }

            &.icon-profile {
                position: relative;
                padding: 8px;
                padding-left: 38px;

                &::before {
                    content: '';
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    left: 1px;

                    width: 36px;
                    height: 36px;

                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath style='fill: %23fff;' d='M38.3,35.8c-3.14,3.86-7.93,6.33-13.29,6.33s-10.16-2.47-13.31-6.33c1.25-4.33,4.58-7.78,8.82-9.22-1.08-1.1-1.72-2.62-1.72-4.27,0-3.43,2.77-6.2,6.2-6.2s6.2,2.77,6.2,6.2c0,1.65-.65,3.17-1.72,4.27,4.25,1.45,7.56,4.89,8.81,9.22Z' /%3E%3Cpath style='fill:%232170ff;' d='M42.13,24.99c0,4.09-1.43,7.86-3.83,10.81-1.25-4.33-4.56-7.78-8.81-9.22,1.08-1.1,1.72-2.62,1.72-4.27,0-3.43-2.79-6.2-6.2-6.2s-6.2,2.77-6.2,6.2c0,1.65.65,3.17,1.72,4.27-4.25,1.45-7.57,4.89-8.82,9.22-2.4-2.95-3.83-6.71-3.83-10.81,0-9.46,7.68-17.12,17.14-17.12s17.12,7.67,17.12,17.12Z' /%3E%3C/svg%3E");
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: contain;
                }
            }
        }
    }
}

/* FOOTER */
#footer {
    color: white;

    .menu-item {
        display: flex;
        gap: .3rem;
        align-items: center;
    }
}

/* STORE LOCATOR */
#wpsl-wrap {
    .wpsl-search {
        background-color: white;
        margin-bottom: 2rem !important;

        form {
            display: flex;
            gap: 1rem;
            flex-wrap: nowrap;
            align-items: center;


            * {
                margin: 0 !important;
            }
        }

        .wpsl-input {
            label {
                display: none !important;
            }

            #wpsl-search-input {
                box-shadow: var(--bs-box-shadow) !important;
                border-radius: var(--bs-border-radius-pill) !important;
            }
        }

        #wpsl-search-btn {
            border-radius: var(--bs-border-radius-xl) !important;
            color: white !important;
            background-color: var(--color-primary) !important;
            background-image: none !important;
            box-shadow: none !important;
        }
    }

    #wpsl-gmap {
        height: 650px !important;
        border-radius: var(--bs-border-radius-xl) !important;
    }

    #wpsl-stores {
        height: 650px !important;
    }
}

/* .wpsl-info-actions {
    display: none !important;
}

.place-details-compact-container {
    display: none !important;
} */