﻿:root {
    --bg-3: #173B59 !important;
    --disponibile: rgba(165, 222, 119, 1);
    --non-disponibile: rgba(238, 59, 32, 1);
    --riassortimento: rgba(253, 185, 19, 1);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px 8px;
    font-size: 15px;
    border-radius: 6px 0 0 6px;
    background: #fff;
    color: #000; /* testo nero */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .search-input:focus {
        border-color: #000; /* bordo nero */
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    }

.btn-submit {
    background: #000; /* bottone nero */
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}


.form_search-product {
    padding: 5px 10px;
}

.logo-image {
    height: 150px
}

.icona-categorie {
    width: 30px
}

@media (min-width: 1200px) {
    .s-page-title {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}



@media(min-width:1200px) {
    .img-chisiamo {
        position: relative;
        display: inline-block;
        border-radius: 20px;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
        overflow: visible;
        max-width: 75%
    }

        .img-chisiamo img {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            position: relative;
            z-index: 2;
            object-fit: cover;
            object-position: center;
        }

        .img-chisiamo::after {
            content: '';
            position: absolute;
            top: 8%;
            bottom: 8%;
            right: -6%;
            width: 14%;
            background: #c91330; /* rosso */
            border-radius: 10px;
            z-index: 1;
        }

        /* immagine grande */
        .img-chisiamo.big {
            width: 100%;
        }

        /* immagine piccola sovrapposta */
        .img-chisiamo.small {
            width: 40%;
            height: 50%;
            position: absolute;
            left: -10%; /* sporge un po’ a sinistra */
            bottom: -17%; /* sporge un po’ in basso */
        }


    .col-8 {
        position: relative;
    }

    .txt-chi-siamo {
        position: absolute;
        top: 50%; /* posizionata a metà */
        transform: translate(-50%, -50%); /* vera centratura */
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
        max-width: 50%; /* non troppo larga */
        z-index: 2;
    }

        .txt-chi-siamo div {
            background: #fff;
            position: relative;
            padding: 40px;
            border-radius: 20px;
            z-index: 2;
        }

        .txt-chi-siamo::after {
            content: '';
            position: absolute;
            top: 20px;
            left: -20px;
            right: 20px;
            bottom: -20px;
            background: #c91330;
            border-radius: 20px;
            z-index: -1;
        }
}

.img-team {
    width: 100%;
    height: 400px;
    object-fit: cover;
    padding: 24px 0 !important
}

main, footer {
    background: rgba(245, 245, 245, 1) !important
}

.card-product_wrapper {
    max-height: 200px;
    text-align: center
}

    .card-product_wrapper .product-img {
        height: 100%;
    }

.price-wrap .price-old::after {
    background-color: black;
}

.disponibile, .non-disponibile, .riassortimento {
    font-weight: 600;
    position: relative;
    margin-left: 20px;
}

    .disponibile::before, .non-disponibile::before, .riassortimento::before {
        content: '';
        position: absolute;
        height: 15px;
        width: 15px;
        top: 6px;
        left: -20px;
        border-radius: 50%
    }

.disponibile {
    color: var(--disponibile);
}

    .disponibile::before {
        background-color: var(--disponibile)
    }

.non-disponibile {
    color: var(--non-disponibile);
}

    .non-disponibile::before {
        background-color: var(--non-disponibile)
    }

.riassortimento {
    color: var(--riassortimento);
}

    .riassortimento::before {
        background-color: var(--riassortimento)
    }

form .select2-container .select2-selection--single {
    height: 100% !important;
}

form .select2-container--default .select2-selection--single, form textarea, form input[type=text], form input[type=password], form input[type=datetime], form input[type=datetime-local], form input[type=date], form input[type=month], form input[type=time], form input[type=week], form input[type=number], form input[type=email], form input[type=url], form input[type=search], form input[type=tel], form input[type=color] {
    outline: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
    padding: 15px 24px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    border: 1px solid var(--bg-3);
    border-radius: 999px;
    color: var(--black);
    background-color: white;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

form textarea {
    height: 150px;
    border-radius: 32px !important;
    resize: none;
}

form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 15px !important;
}

form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
}

.password-wrapper .toggle-pass {
    top: 50px
}

.tf-slideshow.tf-btn-swiper-main,
.tf-slideshow.tf-btn-swiper-main .slideshow-container,
.tf-slideshow.tf-btn-swiper-main .tf-swiper,
.tf-slideshow.tf-btn-swiper-main .swiper-wrapper,
.tf-slideshow.tf-btn-swiper-main .swiper-slide,
.tf-slideshow.tf-btn-swiper-main .slider-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

    .tf-slideshow.tf-btn-swiper-main .slider-wrap {
        display: flex;
    }

        .tf-slideshow.tf-btn-swiper-main .slider-wrap img {
            height: auto;
            object-fit: cover;
            display: block;
            width: 100%;
            object-position: center center
        }

    .tf-slideshow.tf-btn-swiper-main .sld_content {
        position: absolute;
        top: 50%;
        left: 50px;
        transform: translateY(-50%);
        text-align: left;
        z-index: 10;
        max-width: 600px;
    }

    .tf-slideshow.tf-btn-swiper-main .text-white h2,
    .tf-slideshow.tf-btn-swiper-main .text-white h3 {
        color: white !important;
    }

    .tf-slideshow.tf-btn-swiper-main .text-dark h2,
    .tf-slideshow.tf-btn-swiper-main .text-dark h3 {
        color: black !important;
    }

@@media (max-width: 768px) {
    .tf-slideshow.tf-btn-swiper-main .sld_content {
        left: 20px;
        max-width: 90%;
    }

        .tf-slideshow.tf-btn-swiper-main .sld_content h2 {
            font-size: 1.5rem;
            line-height: 1.2;
        }
}

.wg-brand img {
    object-fit: contain !important;
}

.article-blog .entry_image img {
    height: 350px !important;
}

.article-blog {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .article-blog img {
        transition: transform 0.5s ease, filter 0.5s ease;
        display: block;
        width: 100%;
        height: auto;
    }

    .article-blog:hover img {
        transform: scale(1.1); /* Zoom leggero */
        filter: brightness(0.8); /* Scurisce leggermente l'immagine */
    }

    .article-blog .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.25);
        opacity: 0;
        transition: opacity 0.5s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .article-blog:hover .overlay {
        opacity: 1;
    }

    .article-blog .overlay-text {
        color: #fff;
        font-size: 1rem;
        text-align: center;
        padding: 10px;
    }

.card-product_wrapper img {
    object-fit: contain !important
}

/*.article-blog .entry_image img {
    object-fit: contain !important;
}*/

@media (max-width: 1199px) {
    body {
        padding-bottom: 0 !important;
    }
}

@media(min-width:992px) {
    .tf-slideshow.tf-btn-swiper-main .slider-wrap img {
        object-fit:contain
    }
}

.collection_image.img-style, .hover-img .img-style > img {
    width: 100% !important;
    height: 100% !important;
}

.youtube-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16/9;
    cursor: pointer;
}

    .youtube-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .youtube-wrapper .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 255, 255, 0.6);
        border: none;
        border-radius: 50%;
        width: 68px;
        height: 68px;
        background-image: url(/images/icons/play-button-arrowhead.svg);
        background-repeat: no-repeat;
        background-position: 16px 13px;
        background-size: 43px;
        cursor: pointer;
    }

@media (max-width: 768px) {
    .footer-wrap-1,
    .footer-wrap-2 {
        display: none;
    }

    .footer-col-block {
        text-align: center;
        margin: 0 auto 20px;
    }

    .footer-body .row > .col-12.col-sm-6:last-child {
        margin-top: 30px;
    }
}

#wrapper-menu-navigation li a {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

#wrapper-menu-navigation li {
    margin-bottom: 1rem;
}

    #wrapper-menu-navigation li a:hover {
        color: #007bff;
    }

.nav-category-wrap {
    position: relative;
    display: inline-block;
    z-index: 9999; /* sopra header */
}

.box-nav-category {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    min-width: 220px;
    padding: 10px 0;
    z-index: 10000; /* sopra tutto */
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.btn-nav-drop.active i.icon-caret-down {
    transform: rotate(180deg);
    transition: 0.2s;
}

.header-inner_wrap {
    overflow: visible !important;
}

/* Desktop: nasconde menu mobile */
@media (min-width: 1200px) {
    #mobileMenu {
        display: none !important;
    }
}

/* Mobile: nasconde menu desktop */
@media (max-width: 1199px) {
    .nav-category-wrap {
        display: none !important;
    }
}

.article-blog .blog-image {
    position: relative;
    display: inline-flex;
    width: 100%;
    height: 100%;
}

.card-product_wrapper {
    justify-content: center
}

.tf-btn.btn-blue {
    text-align: center
}

@media (max-width: 1439px) {
    .tf-slideshow .slider-wrap {
        height: 100% !important;
    }
}