/*
------------------------------------------------------------
Extra Large (≥1200)
------------------------------------------------------------
*/
@media(max-width: 1199px){
    .misure-body .text-overlay{
        right: 158px;
    }

    .ss-main.slim .ss-single-selected{
        width: 205px;
    }
    .titolo, .contacts-form h3{
        font-size: 45px;
        line-height: 45px;
    }
    
    .bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-content ul.nav-main li a{
        font-size: 32px;
        line-height: 42px;
    }
    .bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-content ul.nav-main li.cat a{
        font-size: 28px;
        line-height: 32px;
    }

    .banner-wrapper .testo{
        font-size: 12px;
        line-height: 16px;
    }

    .banner-wrapper .titolo{
        font-size: 36px;
        line-height: 36px;
    }
    #instafeed a{
        width: calc(33.33333333% - 20px);
    }

    .content-block .block-text-image.content-text {
        font-size: 20px;
        line-height: 26px;
    }
}

/*
------------------------------------------------------------
Large (≥992)
------------------------------------------------------------
*/
@media(max-width: 991px){
    .padding-box {
        padding: 50px 15px;
    }
    .misure-body .text-overlay{
        top: 50px;
        right: 103px;
        font-size: 12px;
    }

    .ss-main.slim .ss-single-selected{
        height: 40px;
        width: 145px;
    }

    .product-details{
        margin-top: 15px;
    }
    .product-details > .row > div + div{
        margin-top: 30px;
    }

    .product-details .image-wrapper{
        max-width: 400px;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .home-carousel .overlay-box{
        background-color: rgba(255, 255, 255, 0.7);
        padding: 10px;
        border-radius: 3px;
    }

    
    .checkout-wrapper > .row > div + div{
        margin-top: 30px;
    }
    .product-sheet.responsive-table, .product-sheet.responsive-table thead tr th{
        font-size: 13px;
        line-height: 16px;
    }

    .box-wrapper .box .content .titolo{
        font-size: 10px;
    }
    .box-wrapper .box .content .testo{
        font-size: 8px;
    }
    .box-wrapper .box .content .link{
        font-size: 8px;
    }
    .box-wrapper .box .content .titolo, .box-wrapper .box .content .testo, .box-wrapper .box .content .link{
        line-height: 15px;
    }
    .box-wrapper .box .content > div + div{
        margin-top: 5px;
    }
    .box-wrapper .box .content{
        width: 115px;
    }

    .titolo, .contacts-form h3,
    .newsletter-dialog .titolo {
        font-size: 36px;
        line-height: 36px;
    }

    .overlay.gallery{
        justify-content: center;
        margin: 15px 0;
    }

    .bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-content ul.nav-main li a{
        font-size: 24px;
        line-height: 38px;
    }
    .bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-content ul.nav-main li.cat a{
        font-size: 20px;
        line-height: 26px;
    }

    .data{
        top: 10px;
        left: 25px;
        font-size: 12px;
        line-height: 14px;
        width: 45px;
        height: 45px;
    }
    .data .number{
        font-size: 14px;
        line-height: 16px;
    }

    .dettaglio .data{
        top: 15px;
        left: 30px;
        width: 75px;
        height: 75px;
    }
    .dettaglio .data .number{
        font-size: 24px;
        line-height: 32px;
    }

    .view-pagina.products .banner-wrapper{
        height: 330px;
    }

    .contacts-box .item > div + div{
        margin-top: 30px;
    }
    .contacts-box .item .testo, .contacts-box .item .testo a{
        font-size: 10px;
        line-height: 14px;
    }

    .item-wrapper .content > div + div, .item-wrapper .content .titolo + .testo{
        margin-top: 10px;
    }
    .item-wrapper .content .testo{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 8;
        text-overflow: ellipsis;

        font-size: 12px;
        line-height: 16px;
        max-height: 128px;
    }
    
    .master-contents.collezioni .image{
        max-width: 100%;
    }
    .master-contents.collezioni .image img{
        width: auto;
        max-height: 250px;
        margin: 0 auto;
        display: block;
    }

    .content-block .block-text-image.content-text{
        padding: 15px;
    }

    .content-block.fit-full{
        display: flex;
        align-items: center;
        min-height: 250px;
        padding: 15px;
    }
    .content-block.fit-full .absolute-wrapper{
        position: static;
        height: auto;
    }
    .content-block.fit-full .block-text-image img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .contact-widget {
        bottom: 80px;
    }
    .contact-widget .cwt .cwtl {
        display: none;
    }
}

/*
------------------------------------------------------------
Medium (≥768)
------------------------------------------------------------
*/
@media(max-width: 767px){
    .flex-mobile{
        display: flex;
    }

    .landscape{
        display: none !important;
    }
    .portrait{
        display: block !important;
    }

    .view-pagina.products .banner-wrapper.collezione{
        background-size: 0;
        background-color: #ebe8d9;
        height: auto;
    }

    .product-sheet.responsive-table thead tr th{
        font-size: 14px;
        line-height: 1.5;
    }
    .product-sheet.responsive-table{
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .banner-wrapper.collezione .absolute-wrapper{
        position: relative;
        height: auto;
        padding: 15px 0;
    }

    .banner-wrapper{
        height: auto;
        min-height: 140px;
        background-position: center right;
    }

    .master-contents.collezioni .image img{
        width: 100%;
        max-height: none;
    }

    .actions-group > div.langs-wrapper, header .cart-counter{
        display: none;
    }
    .actions-group > div.cart{
        width: auto;
        margin-left: 10px;
    }

    .title-box{
        display: none;
    }
    .title-box + .content-box{
        margin-top: 0;
    }

    footer .credits > div{
        width: 100%;
        text-align: center;
    }
    footer .credits > div + div::before{
        display: none;
    }
    footer .credits{
        margin-bottom: 20px;
    }

    .box-wrapper{
        flex-wrap: wrap;
    }
    .box-wrapper > div + div{
        margin: 0;
    }
    .box-wrapper .box{
        background-color: #efe9db;
    }
    .box-wrapper .box.box-1, .box-wrapper .box.box-2, .box-wrapper .multibox-wrapper, .box-wrapper .box .content{
        width: 100%;
    }
    .box-wrapper .box.box-1, .box-wrapper .box.box-2, .box-wrapper .multibox-wrapper, .item.product, .padding-box, .filters-wrapper .filters{
        max-width: 350px;
    }
    .padding-box{
        margin: 0 auto;
    }
    .box-wrapper .box.box-1 img{
        display: block;
        margin: 0 auto;
        max-height: 355px;
    }
    .box-wrapper .box.box-2{
        order: 1;
        margin-top: 10px;
    }
    .box-wrapper .box.box-2 .content{
        width: 49%;
    }
    .box-wrapper .box.box-3, .box-wrapper .box.box-4{
        width: 100%;
    }
    .box-wrapper .box.box-3 img{
        display: block;
        margin: 0 0 0 auto;
    }
    .box-wrapper .box + .box, .box-wrapper .box + .multibox-wrapper, .box-wrapper .box.box-3 + .box.box-4{
        margin-top: 10px;
    }

    .item.product img{
        display: block;
        width: 350px;
        height: auto;
        margin: 0 auto;
        padding: 0 !important;
    }

    #instafeed a{
        width: 100%;
        margin: 0;
        padding: 3px;
    }
    #instafeed a:nth-child(n+4), #instafeed .overlay{display:none;}
    #instafeed img{ display: block; margin: 0 auto;}

    .container.section{
        padding: 45px 10px 25px;
    }
    .container.section > .row{
        margin-left: -10px;
        margin-right: -10px;
    }
    .item-wrapper .row{
        justify-content: flex-start;
    }
    .item-wrapper:nth-child(even){
        background-position: center left;
    }
    .item-wrapper:nth-child(even) .row{
        justify-content: flex-end;
    }
    .item-wrapper:nth-child(even) .content{
        text-align: left;
    }
    .item-wrapper:nth-child(even) .image{
        order: 1;
        text-align: center;
    }
    .master-contents.collezioni .content{
        padding: 30px 15px;
    }

    .link{
        font-size: 11px;
    }

    .misure-body .text-overlay{
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        margin-top: 15px;
        font-size: 1rem;
    }
    .bracciali .description-block{
        margin-top: 50px;
    }

    .item.product{
        margin-left: auto;
        margin-right: auto;
    }
    .product-details .content .category{
        font-size: 18px;
        line-height: 18px;
    }
    .product-details .content .price{
        margin: 20px 0;
    }
    .product-details .content .table-responsive .help{
        display: none;
    }

    .add-cart .qta, .product-details .add-cart .button.cart{
        width: 100px;
        height: 35px;
    }
    .product-details .add-cart .button.cart{
        max-width: 175px;
        width: calc(100% - 115px);
        padding: 5px 13px;
        font-size: 11px;
        line-height: normal;
    }
    .product-details .add-cart > div + div{
        margin-left: 15px;
    }
    .product-details .add-cart{
        margin-bottom: 30px;
    }
    .product-details .content .features .name, .product-details .content .features .value{
        font-size: 12px;
        line-height: 16px;
    }
    .row.banner + .container.section{
        padding-top: 30px;
    }
    .section .section-head{
        padding: 0 0 1rem 0;
    }
    .master-contents{
        padding-top: 30px;
    }
    .master-contents + .master-contents, .master-contents .content-block + .content-block{
        margin-top: 30px;
    }
    .content-block .block-text-image{
        flex-wrap: wrap;
    }
    .content-block .block-text-image.content-text{
        padding: 15px 0 0;
    }
    .content-block .content-text{
        font-size: 18px;
        line-height: 24px;
    }

    .content-block.fit-full .content-text{
        font-size: 26px;
        line-height: 30px;
        padding: 30px 0;
    }
    .content-block.fit-full .block-text-image.content-image{
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    .content-block.fit-full .block-text-image.content-image > img{
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        height: auto;
        width: auto;
        max-width: none;
        max-height: 100%;
        min-width: 100%;
    }
    .content-block .content-text > p{
        width: 100%;
    }

    .evento-item .img-box img{
        width: 100%;
    }
    .evento-item .content-box, .contacts-box > div + div{
        margin-top: 15px;
    }
    .contacts-box .item{
        min-height: 150px;
    }
    .contacts-box .item > div + div{
        margin-top: 20px;
    }
    .form-line > div + div{
        margin-top: 30px;
    }


    .checkout-bar .steps{
        font-size: 14px;
    }
    .checkout-bar .steps .step + .step::before{
        margin: 0 10px;
    }

    .checkout-wrapper .section .product, .checkout-wrapper .section .shipping, .checkout-wrapper .section .wrapper-radio{
        padding: 15px 0;
    }
    .checkout-wrapper .section .product .content{
        padding: 0 15px;
    }
    .checkout-wrapper .section .product .content > div + div{
        margin-top: 10px;
    }
    .checkout-wrapper .section .product .delete{
        left: auto;
        right: 3px;
        z-index: 100;
    }
    .flex-bar{
        flex-wrap: wrap;
    }
    .flex-bar > div{
        width: 100%;
    }
    .flex-bar > div + div{
        margin-left: 0;
    }
    .flex-bar .add-cart{
        order: 1;
        margin-top: 15px;
    }

    .checkout-wrapper, .checkout-wrapper .checkout-box > div + div, .checkout-wrapper .checkout-box ul > li + li{
        margin-top: 15px;
    }
    .checkout-wrapper .section .titolo{
        font-size: 18px;
        line-height: 22px;
    }

    .checkout-wrapper .section .shipping, .checkout-wrapper .section .wrapper-radio, table.product-sheet{
        font-size: 14px;
        line-height: normal;
    }
    .checkout-wrapper .section .shipping .second-col, .checkout-wrapper .section .shipping .third-col, .checkout-wrapper .section .wrapper-radio .second-col, .checkout-wrapper .section .wrapper-radio .third-col{
        padding-left: 55px;
    }
    .checkout-wrapper .section .shipping .second-col{
        font-size: 11px;
        margin-top: 10px;
    }

    .checkout-wrapper .step-loader .button{
        padding: 10px 15px;
        font-size: 12px;
    }
    .checkout-wrapper .extra img{
        display: none;
    }
    .responsive-table thead tr th, .responsive-table tbody tr td{
        padding: 5px 0px 5px 5px;
    }


    .item-wrapper .content .titolo + .testo{
        margin-top: 15px;
    }
    

    .bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-content{
        padding: 15px;
    }
    .cart .item .content{
        padding: 0 5px 0 15px;
    }
    .cart .item .category, .cart .item .code, .cart .item .misura, .cart .item .add-cart, .cart .item .cart-remove{
        font-size: 14px;
    }
    .cart .item .content .block + .block{
        margin-top: 5px;
    }
    .bee-offcanvas .bee-offcanvas-bar .bee-offcanvas-content .cart-list{
        max-height: calc(100% - 206px);
    }

    .products-carousel{
        margin-top: 24px;
    }
    .products-carousel .owl-nav{
        left: 50%;
        transform: translate(-50%, -50%);
        width: 380px;
        max-width: 100%;
    }
    .products-carousel .item.product{
        margin-bottom: 0;
    }
    .instragram-wrapper{
        margin-top: 15px;
    }
    .banner-wrapper.storia{
        background-size: 0;
        background-color: #8ba5b4;
        height: auto;
    }
    .banner-wrapper.eventi .absolute-wrapper{
        display: none;
    }

    .responsive-table thead{
        display: none;
    }
    .responsive-table tbody tr{
        display: flex;
        flex-wrap: wrap;
        background: #eee;
    }
    .responsive-table tbody tr + tr{
        margin-top: 15px;
    }
    .responsive-table tbody tr td{
        position: relative;
        float: left;
        width: 100%;
    }
    .responsive-table tbody tr td.responsive-cell-50{
        width: 50%;
        order: 1;
    }
    .responsive-table tbody tr td.responsive-cell-50.centered{
        text-align: left;
    }
    .responsive-label{
        display: block;
        font-weight: 700;
        margin-bottom: 5px;
    }   
    .responsive-table tbody tr td.text-right{
        text-align: center !important;
    }
    .responsive-table tbody tr{
        border-top: 1px solid #333;
    }

    .order-details .row > div + div{
        margin-top: 25px;
    }
    .responsive-table tbody tr td.responsive-order-2{
        order: 2;
    }

    
    .contacts-box .item .testo, .contacts-box .item .testo a{
        font-size: 16px;
        line-height: 20px;
    }

    .filters-wrapper{
        margin: 0 0 30px 0;
        flex-wrap: wrap;
        border: none;
        justify-content: center;
    }
    .filters-wrapper .label{
        display: none;
    }
    .filters-wrapper .label.mobile{
        display: block;
    }
    .filters-wrapper .filters{
        flex-wrap: wrap;
        border: 1px solid #bfbfbf;
    }
    .filters-wrapper .filters > div{
        border: none;
    }
    .filters-wrapper .filters .filter{
        width: 100%;
    }
    .filters-wrapper .filters .filter + .filter{
        border-top: 1px solid #bfbfbf;
    }
    .ss-main.slim .ss-single-selected{
        height: 40px;
        width: 100%;
    }

    .popup-sconto .bee-dialog-inner{
        width: 550px;
        max-width: 100%;
    }

    .youtube-video.bee-dialog.bee-dialog-in .bee-dialog-inner{
        padding: 20px;
    }
    .youtube-video.bee-dialog .bee-dialog-inner .bee-dialog-close{
        top: 0;
        right: 0;
        font-size: 14px;
        line-height: 14px;
    }
    .newsletter-dialog.bee-dialog {
        padding: 0;
    }
    .newsletter-dialog.bee-dialog .bee-dialog-inner {
        height: 100vh;
    }
}

/*
------------------------------------------------------------
Extra Small (<490px)
------------------------------------------------------------
*/

@media(max-width: 490px){
    .table-misure thead th, .table-misure td{
        font-size: 12px;
        line-height: normal;
        padding: 0.5rem;
    }

    .titolo, .contacts-form h3{
        font-size: 30px;
        line-height: 30px;
    }

    .box-wrapper .box .content .titolo, .box-wrapper .box .content .testo, .box-wrapper .box .content .link{
        line-height: 20px;
    }
    .box-wrapper .box .content .titolo{
        font-size: 18px;
    }
    .box-wrapper .box .content .testo{
        font-size: 14px;
    }
    .box-wrapper .box .content .link{
        font-size: 11px;
    }
    .box-wrapper .box .content > div + div{
        margin-top: 10px;
    }
    .box-wrapper .box.box-3 .content{
        width: 65%;
    }
    .box-wrapper .box.box-4 .content{
        width: 54%;
    }

    .banner-wrapper .titolo{
        font-size: 36px;
        line-height: 40px;
    }

    .data, .dettaglio .data{
        top: 10px;
        left: 25px;
        font-size: 12px;
        line-height: 14px;
        width: 45px;
        height: 45px;
    }
    .data .number, .dettaglio .data .number{
        font-size: 14px;
        line-height: 16px;
    }

    .breadcrumb-wrapper{
        height: auto;
        padding: 10px 0;
    }
    .breadcrumb-wrapper .breadcrumb > li, .box-wrapper .box.box-4 .content .titolo{
        width: 100%;
    }
    .breadcrumb-wrapper .breadcrumb > li + li::before{
        content: '-';
        margin: 0 5px 0 0;
    }

    .account-content-area .section .h2{
        font-size: 17px;
    }
    .account-content-area .section h5, .order-details .title h4{
        font-size: 15px;
    }
    .responsive-label, .responsive-table tbody tr td, address{
        font-size: 13px;
    }
    .responsive-label{
        margin: 0;
    }

    .form-line > div + div, .form-line + .form-line{
        margin-top: 15px;
    }

    .sconto-banner{
        padding: 10px;
    }
    .sconto-banner .title{
        font-size: 14px;
    }
    .sconto-banner .sconto-close{
        font-size: 14px;
    }

    .popup-sconto .bee-dialog-inner{
        padding: 25px 15px;
    }
    .popup-sconto .content .title{
        max-width: none;
        font-size: 28px;
        line-height: 36px;
    }

    .img-wrapper .sconto-baloon{
        display: none;
    }
}

/*
------------------------------------------------------------
Extra Extra Small (<380px)
------------------------------------------------------------
*/

@media(max-width: 380px){
    .checkout-wrapper .section .subtotal-wrapper{
        font-size: 14px;
        line-height: normal;
    }

    #instafeed a{
        float: left;
        width: 100%;
        margin-bottom: 3px;
        max-width: none;
    }
    #instafeed a:nth-child(odd){
        padding-right: 5px;
    }
    #instafeed a:nth-child(even){
        padding-left: 5px;
    }
}