.thumbnail-container .variant-links {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 20px 0;
}

.color, .custom-checkbox input[type=checkbox] + span.color {
    width: 24px;
    height: 24px;
    margin: 0 4px;
}

.product_list img[data-src] {
    display: block;
    height: 100% !important;
    /* overflow: hidden; */
    padding-bottom: 0% !important;
    position: relative;
}

img[data-src] {
    width: 100%;
    display: block;
    position: relative;
    /*background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s infinite;*/
}

img[data-src]:not([src])::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s infinite;
}


img[src] {
    background: none;
    animation: none;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.slideshow-desktop {
width: 100%;
    aspect-ratio: 1900 / 768;
min-height: 150px;
    height: 100% !important; /* Sovrascrive l’altezza inline */
}

#rev_slider_12_1_forcefullwidth {
    width: 100%;
    aspect-ratio: 1900 / 768;
    min-height: 150px;
    height: 100% !important; /* Sovrascrive l’altezza inline */
}

#rev_slider_12_1, #rev_slider_12_1_wrapper {
    height: 100% !important;
}

.slideshow-mobile {
width: 100%;
    aspect-ratio: 480 / 624;
min-height: 400px;
    height: 100% !important; /* Sovrascrive l’altezza inline */
}

#rev_slider_13_1_forcefullwidth {
    width: 100%;
    aspect-ratio: 480 / 624;
    min-height: 400px;
    height: 100% !important; /* Sovrascrive l’altezza inline */
}

#rev_slider_13_1, #rev_slider_13_1_forcefullwidth {
height: 100% !important;
}

img.object-fit-contain {
    -o-object-fit: contain !important;
    object-fit: contain !important;
}

.object-fit-contain img {
    -o-object-fit: contain !important;
    object-fit: contain !important;
}

img.lazy, img[data-src]:not([src]) {
    position: relative; /* Necessario per il ::after */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    /*text-indent: -9999px;*/
}

.popup-over button.popup-title {
    display: inline-block;
    vertical-align: top;
    width: 40px;
    padding: 0;
    height: 45px;
    background: transparent;
    line-height: 45px;
    text-align: center;
    border: 0;
}

.popup-over .popup-content li button {
    display: block;
    line-height: 20px;
    padding: 5px 18px;
color: #777;
border: none;
background: transparent;
}

.leo-fly-cart-icon-wrapper button {
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    padding: 0;
    display: block;
    background-color: #fff;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, .15);
    font-size: 22px;
    border: 0;
}

.leo-fly-cart-icon-wrapper button:after {
    content: "\e04f";
    font-family: 'Simple-Line-Icons';
}

.boxed-categories .category-image.big_image img { 
	aspect-ratio: 16/9; 
	object-fit: cover 
}

.boxed-categories .category-image.medium_image img { 
	aspect-ratio: 4/3; 
	object-fit: cover 
}

.product-miniature {
width: 100%;
}

.ApImage.icon-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 120px; /* Altezza minima per riservare spazio */
    justify-content: center; /* Centra il contenuto */
}

.ApImage.icon-box img {
    display: block;
    margin: auto;
    order: 1;
    padding-bottom: 10px;
    width: 120px; /* Rinforza le dimensioni */
    height: 120px;
}

/* MEGAMENU APRILE 2025 */

nav[data-megamenu-id="1892079845"] .dropdown-menu-inner > .row {
    margin-right: 0;
    margin-left: 0;
}

nav[data-megamenu-id="1892079845"] .dropdown-menu-inner > .row > .col,
nav[data-megamenu-id="1892079845"] .dropdown-menu-inner > .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

nav[data-megamenu-id="1892079845"] .dropdown-menu li a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
}

nav[data-megamenu-id="1892079845"] .dropdown-menu {
    padding: 20px 0;
}

.leo-megamenu .dropdown-submenu:hover > .dropdown-menu,
nav[data-megamenu-id="1892079845"] .dropdown-submenu:hover > .dropdown-menu {
    position: absolute;
    top: 0px !important;
    left: 100% !important;
    transform: translateY(-20px);
}

@media (min-width: 992px) {
    .leo-megamenu .dropdown-menu {
        min-width: 270px !important;

    }
}

.dropdown-toggle::after {
    display: inline-block;
    font-family: 'FontAwesome';
    font-weight: 600;
    font-size: 16px;
    border: none !important;
    content: "\f105";
    height: 100%;
    width: auto;
}

.leo-megamenu .navbar-nav > li > a.dropdown-toggle:after {
    font-size: 16px;
    margin: 0 0 0 10px;
}

/* MEGAMENU END */


.no-gutters {
    margin-right: 0;
    margin-left: 0;

    > .col,
    > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 992px) {
    .leo-megamenu .dropdown-menu {
        min-width: 270px !important;
    }
}

.product-thumb-images .thumb {
height: auto;
}


.header-container .leo-cart-dropdown-action a.btn{
color: white !important;
}
