﻿.button-giallo {
    background: #ffd54c !important;
    font-weight: 400;
    border: 0;
    border-radius: 5px;
}
    .button-giallo:hover {
        background: #333 !important;
        color: #fff !important;
    }

.button-nero {
    background: #333 !important;
    color: #fff !important;
    border: 0;
    border-radius: 5px;
}

    .button-nero:hover {
        background: #ffd54c !important;
        color: #333 !important;
    }

.bg-giallo {
    background: #ffd54c !important;
}

    .modal-header .bg-giallo {
        background: #ffd54c !important;
        color: #333 !important;
    }

    /* Carousel */

    .carousel-container {
        position: relative;
        width: 500px; /* Larghezza fissa del contenitore del carousel */
        height: 120px;
        margin: auto;
        overflow: hidden;
    }

    .carousel-slide {
        display: flex;
        transition: transform 0.5s ease-in-out; /* Aggiungi questa linea */
    }

    .thumbnail {
        width: 100px;
        height: 100px;
        flex: 0 0 auto; /* Impedisce ai thumbnail di ridimensionarsi */
        margin: 10px;
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }


        .thumbnail:hover {
            opacity: 1;
        }

    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0,0,0,0.5);
        color: white;
        border: none;
        padding: 10px;
        z-index: 100;
    }

    .prev {
        left: 0;
    }

    .next {
        right: 0;
    }

.search-dropdown {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 200px;
}
    .search-dropdown li {
        padding: 8px;
        cursor: pointer;
    }

    .search-dropdown li:hover {
        background-color: #f0f0f0;
    }
.canvas_close_menu {
    position: absolute;
    top: 7px;
    right: 13px;
}

    .canvas_close_menu a {
        font-size: 22px;
        text-transform: uppercase;
        font-weight: 500;
        width: 35px;
        height: 35px;
        display: block;
        text-align: center;
        line-height: 33px;
    }

        .canvas_close_menu a:hover {
            color: #ffd54c;
        }
.add_to_cart2 {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}
    .add_to_cart2 a {
        line-height: 46px !important;
        width: 46px !important;
        text-align: center;
        font-size: 22px;
        display: block;
        transition: all 0.5s ease;
/*        transform: scale(0.7);
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -ms-transform: scale(0.7);
        -o-transform: scale(0.7);*/
    }

        .add_to_cart2 a:hover {
            color: #ffd54c;
        }
.single_product:hover .add_to_cart2 {
    opacity: 1;
    visibility: visible;
}

    .single_product:hover .add_to_cart2 a {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }