@media only screen and (min-width: 768px) {
    header .bg-container{
        background-color:  var(--light-blue);
        background-image: -webkit-linear-gradient(0deg, var(--light-blue) 50%, white 50%);   
    }


    .banner img,.banner .cs-img{
        max-height: 100%;
        object-fit: cover;
    }

    .dettaglio .descrizione  .desc{
        border-right: 1px solid var(--blue);
      }
}

@media only screen and (min-width: 992px) {
    .main-wrapper{
        width: 95%;
        margin: 0 auto;
    }

    .popup-login form::after{
        content: '';
        position: absolute;
        height: 100%;
        right: -30px;
        display: block;
        border-right: 1px solid var(--cobalt);
    }
    .popup-address form::after{
        display: none
    }

    .popup-login .register{
        position: absolute;
        bottom: -5px;
    }
}

@media only screen and (min-width: 1200px) {
    .main-wrapper{
        max-width: 1140px;
        margin: 0 auto;
    }


}

@media only screen and (min-width: 1400px) {
    .main-wrapper{
        max-width: 1600px;
        margin: 0 auto;
    }

    .carrello .popup-salva{
        width: 50%;
    }
}
/* MIN */
/* MAX */
@media only screen and (max-width: 992px){
    .carrello select {
        max-width: 400px;
    }

    .carrello .rpl-main .full-blue-btn{
        width: unset !important;
    }

    .carrello .cart-products.short{
        max-height: 270px;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
        overflow-y: hidden;
      }

      .carrello .cart-products::-webkit-scrollbar {
        display: none !important;
      }

}


@media only screen and (max-width: 991px){

    .header-top a, .header-top li{
        font-size: 12px;
    }

    .popup-login{
        bottom: -510px;
    }

    .offerte .offerta-box, .offerte .offerta-box h6, .offerte .offerta-box h5{
        font-size: 14px;
    }

    .carrello .popup-salva{
        width: 100%;
        left: 53%;
    }
}

@media only screen and (max-width: 767px){

    .carrello .cart-products.short{
        max-height: 230px;
    }
    
    .offerte .offerta-box img{ 
        max-height: 280px ;
        object-fit: cover;
    }

    .carrello .cart-item img{
        max-width: 100px;
        aspect-ratio: 1 / 1;
    }
}

@media only screen and (max-width: 576px){
    
    .banner .pr .text-absolute.first{
        top: 40.5%;
        font-size: 16px;
    }
    .banner .pr .text-absolute.diff-ff{
        top: 55%;
        font-size: 35px;
    }

    .banner .pr .text-absolute.btn{
        top: 75%;
        left:50%;
        padding: 10px 30px;
    }
    .header-mobile .icon, .header-mobile .social{
        transform: scale(.7);
    }
    

    .inizia-qui h6{
        font-size: .8rem;
    }

    .popup-login .login-btn{
        padding: 5px 10px;
        width: 125px;
        border-radius: 5px;
    }

    .popup-login .orange{
        font-size: 14px;
    } 
    
    .outer-box h6{
        font-size: 14px;
    }

    .offerte .offerta-box .btn-container .full-blue-btn{
        font-size: 13px;
        padding: 4px 8px;
    }
    
    p, a{
        font-size: 14px;
    }

    .products .item .img-container{
        width: 100%;
    }

    .aside-search{
        width: 100% !important;
    }

    .filter-products.aside-open{
        display: none;
    }
    
    .checkout .riepilogo .product-name{
        font-size: 14px;
        padding-right: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;  
         text-overflow: ellipsis;
         overflow: hidden;
         word-break:break-all;
    }
    .checkout .riepilogo .product-desc{
        font-size: 12px;
        padding-right: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;  
         text-overflow: ellipsis;
         overflow: hidden;
         word-break:break-all;
    }
    .checkout .riepilogo .price{
        color: var(--blue);
        font-size: 14px !important;
        font-weight: 700;
        width: 60px;
      }

      .checkout img{
        width: 60px;
      }

      .checkout .riepilogo .quantity{
        text-transform:capitalize;
        color: var(--orange);
        font-size: 12px !important;
        font-weight: 600;
        width: 60px;
      }

      .totale.mobile{
        position: fixed;
        bottom: 80px;
        z-index: 80;
        background-color: white;
      }

      .carrello .cart-item img{
        max-width: 120px;
        aspect-ratio: 1 / 1;
    }

    .carrello h6, .carrello a,.carrello span{
        font-size: 14px !important;
        
    }

    .carrello h5{
        font-size: 16px !important;
    }

    .carrello p{
        font-size: 12px;
    }

    .number-input button {
        outline:none;
        -webkit-appearance: none;
        background-color: var(--cobalt);
        border: none;
        align-items: center;
        justify-content: center;
        width: 3.5rem;
        height: 2.5rem;
        cursor: pointer;
        margin: 0;
        position: relative;
      }
      
      
      .number-input input[type=number] {
        max-width: 4rem;
        padding: .5rem;
        border-width: 0 2px;
        border: 1px solid var(--cobalt);
        font-size: 1.2rem;
        color: #00205C;
        height: 2.5rem;
        font-weight: bold;
        text-align: center;
      }

      .carrello .cart-products.short{
        max-height: 300px;
    }

    .carrello .popup-salva input{
        width: 100%;
      }
    
      .carrello .popup-salva .mail-btn{
        position: absolute;
        top: 34%;
        right: 5%;
        transform: translate(0, -50%);
      }

      .carrello .popup-salva .close-btn{
        right: -10px;
        transform: scale(1.2);
      }
      
      

}

@media only screen and (max-width: 470px){

}

@media only screen and (max-width: 410px){
    .header-mobile .icon{
        display: none;
    }    

    header .logo{
        width: 100%;
    }

    #cart p{
        font-size: 14px;
    }

    .offerta-box{
        flex-direction: column;
    }

    .offerta-box .img-container-offerta{
        width: 100% !important;
    }

    .offerta-box .txt-container{
        width: 100% !important;
        text-align: center;
        margin-top: 20px;
    }

    
    .carrello .cart-item img{
        max-width: 100px;
        aspect-ratio: 1 / 1;
    }
    
    .banner .pr .text-absolute.btn{
        top: 70%;
        left:50%;
        padding: 5px 20px;
        font-size: 14px;
    }
}