﻿@media all and (max-width: 1200px) {
    /*MENU MOBILE*/
    .mobile-menu-items .header-link-wrapper a {
        background-color: #fff !important;
    }
   
    .plus-button:before {
        color: #909090;
    }

    .block .title,
    .cart td {
        border-bottom: none !important;
    }

    .responsive-nav-wrapper .mobile-logo,
    .close-menu .mobile-logo {
        padding: 0;
    }

    .responsive-nav-wrapper .mobile-logo a,
    .close-menu .mobile-logo a {
        height: 50px;
    }

    .header-menu, .current-language-selector.selector-title {
        background-color: var(--white);
    }

    .dark-theme .header-menu > ul li, .mobile-collapse {
        background-color: var(--gray-light-super);
    }

    .dark-theme .header-menu > ul li .back-button {
        background-color: #fff;
    }

    .header-menu .sublist-wrap{
        background-color: #fff !important;
    }

    .header-menu > ul li > a, .header-menu > ul li > span{
        color: var(--gray-dark);
    }

    /* HEADER */
    .header,
    .plus-button:before,
    .responsive-nav-wrapper,
    .responsive-nav-wrapper .cart-qty,
    .selector-title:before {
        color: var(--gray) !important;
    }

    .cart .subtotal label,
    .header-menu .back-button span,
    .current-language-selector.selector-title,
    .current-language-selector.selector-title .selector-options-item {
        color: var(--gray-dark) !important;
    }

    .header-links a, .selector-title {
        border-bottom: 1px dashed var(--gray);
    }

    .responsive-nav-wrapper {
        background: var(--white);
        box-shadow: 0 0 14px rgba(0,0,0,0.06);
    }

    .responsive-nav-wrapper .mobile-logo,
    .close-menu .mobile-logo {
        width: 121px;
    }

    .responsive-nav-wrapper .cart-qty {
        border: dashed 1px var(--gray);
    }

    .master-column-wrapper {
        margin-top: -10px;
    }
    .home-page-body .slider-wrapper {
        margin-top: -15px;
    }

    .mobile-menu-items .selector-options-item label {
        cursor: pointer;
    }

    .tax-display-type-selector, .currency-selector, .language-selector{
        border-color: var(--gray);
    }

    /* GENERALI */
    .mobile-hide {
        display: none !important;
    }

    .sevenspikes-cloudzoom-gallery .slick-dots button {
        background-color: var(--gray) !important;
    }

    .sevenspikes-cloudzoom-gallery .slick-dots .slick-active button {
        background-color: var(--gray-dark-super) !important;
    }

   
    /* HOME */
    body.home-page-body .home-page-category-grid .slick-track .carousel-item {
        width: 50% !important;
        min-width: 50% !important;
        flex-wrap: wrap;
    }

    body.home-page-body .home-page-category-grid .slick-track {
        flex-wrap: wrap;
    }

    /* CATEGORIA */
    .search-page-body .master-wrapper-content {
        padding-top: 40px !important;
    }

    .category-page-body .master-wrapper-content {
        padding-top: 70px !important;
    }

    .block {
        width: 100%;
    }

    .block .listbox {
        background-color: var(--white);
    }

    .block .title strong:before {
        right: 10px;
        text-transform: none;
        top: 22px;
    }

    .block .title {
        padding: 16px 16px;
    }

    .block .title:before, .block .listbox:before {
        background-color: var(--white) !important;
    }

    .filter-block ul.checkbox-list {
        margin-left: 16px;
    }

    /* CLIENTE */
    .page.account-page ul.languages li {
        width: 100%;
    }

    /* PRODOTTO */
    .overview {
        text-align: left;
    }

    .product-details-page .picture-thumbs {
        margin-top: 20px !important;
    }

    .product-essential-wrapper {
        background: var(--white);
    }

    .sdf-venture-addtocart {
        height: 70px;
    }

    .sdf-venture-addtocart div.add-to-cart {
        text-align: end;
    }

    .sdf-variant-cnt input.add-to-cart-variant {
        max-width: 34px !important
    }

    .product-specs-box .table-wrapper {
        padding: 10px;
    }

    .product-essential-usefullinfo {
        max-width: 90%;
    }

    .product-collateral > div {
        border-bottom: solid 30px white !important;
    }

    /* PRODOTTO AGGREGATO */
    .sdf-variant-product-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .product-variant-list .sdf-variant-price .product-price {
        margin-top: 0px;
    }

    .sdf-variant-qty-btn div.inputNumber {
        display: flex;
        flex-direction: row-reverse;
    }
    .sdf-variant-qty-btn{
        display: flex;
        margin-right: 10px;
    
    }

    .sdf-variant-qty-btn div.inputNumber button {
        position: relative;
        height: 34px !important;
        width: 34px;
    }

    .sdf-variant-qty-btn div.inputNumber button:nth-child(2){
        margin-right: 2px;
    }

    .sdf-variant-out-of-stock {
        min-width: 160px;
    }

    .sdf-variant-qty{
        min-width: 126px;
    }

    /* PROMO */
    .sdf-promo-box-cnt {
        top: 10px !important;
        right: 10px !important;
    }

    .checkout-page .sdf-promo-box-cnt,
    .shopping-cart-page .sdf-promo-box-cnt,
    .wishlist-page .sdf-promo-box-cnt {
        top: -48px !important;
        right: 0px !important;
    }
    
    .sdf-promo-simple-cnt {
        right: 0px !important;
    }

    .sdf-promo-box-img,
    .sdf-promo-simple-img {
        border-left: 40px solid transparent;
        border-top: 40px solid var(--promo-background-color);
        display: inline-block;
        height: 0;
        width: 0;
    }

    .sdf-promo-box-text,
    .sdf-promo-simple-text {
        color: var(--promo-color);
        font-size: 18px;
        font-weight: bold;
        position: absolute;
        right: 5px;
        top: 0px;
    }

    .sdf-promo-simple-img {
        border-left: 60px solid transparent;
        border-top: 60px solid var(--promo-background-color);
    }

    .block-category-navigation .title strong {
        font-size: 18px !important;
    }

    .sdf-promo-simple-text {
        font-size: 29px;
    }

    /* ORDINE */
    .page.order-details-page .data-table td.quantity,
    .page.order-details-page .order-details-area td.sdf-order-table-1,
    .page.order-details-page .shipments td {
        text-align: left !important;
    }

    .order-details-page .products tr {
        width: 100%;
    }
    
    .order-details-page .products tr {
        margin: 0 0 25px 0;
    }

    .order-review-data, .order-details-area, .shipment-details-area {
        margin: 0 0 50px;
    }

    .page.order-details-page .order-details-area td {
        float: left !important;
        display: block !important;
        width: 100% !important;
    }

    .page.order-details-page .order-details-area td.sdf-order-table-2 {
        background-color: var(--gray-light-super);
        height: 20px;
    }

    .order-details-page .data-table td:first-child {
        padding-left: 20px;
    }
    /* RESO */
    /* VARIE */
    /* SHOPPING CART */
    .order-summary-content .table-wrapper,
    .order-summary .table-wrapper {
        box-shadow: none !important;
    }

    .cart td.sku {
        border-bottom: dashed 1px var(--gray) !important;
    }
    .cart .quantity,
    .cart .subtotal {
        border-top: dashed 1px var(--gray) !important;
    }
    .wishlist-page .remove-from-cart:before,
    .shopping-cart-page .remove-from-cart:before {
        display: none;
    }
    
    .cart .add-to-cart:before,
    .cart .remove-from-cart:before,
    .shopping-cart-page .remove-from-cart,
    .wishlist-page .remove-from-cart {
        background-color: var(--gray-light-super) !important;
    }

    .shopping-cart-page .remove-from-cart .sdf-sc-remove {
        width: 100%;
    }

    .wishlist-page .remove-from-cart .sdf-sc-remove {
        height: 24px;
        left: 10px;
        position: absolute;
        top: 14px;
        width: 24px;
        z-index: 2;
    }

    .checkout-page .cart-item-row .unit-price label,
    .shopping-cart-page .cart-item-row .unit-price label,
    .wishlist-page .cart-item-row .unit-price label {
        display: none;
    }

    .checkout-page .cart-item-row .quantity,
    .checkout-page .cart-item-row .subtotal {
        padding: 10px 15px 15px 15px !important;
        height: 60px;
    }

    .shopping-cart-page .cart-item-row .quantity,
    .shopping-cart-page .cart-item-row .subtotal,
    .wishlist-page .cart-item-row .quantity,
    .wishlist-page .cart-item-row .subtotal {
        padding: 10px 15px 15px 15px !important;
        height: 85px;
    }

    .checkout-page .cart-item-row .quantity label,
    .checkout-page .cart-item-row .subtotal label,
    .shopping-cart-page .cart-item-row .quantity label,
    .shopping-cart-page .cart-item-row .subtotal label,
    .wishlist-page .cart-item-row .quantity label,
    .wishlist-page .cart-item-row .subtotal label {
        display: block;
        text-transform: uppercase;
    }

    .checkout-page .cart-item-row .quantity label,
    .shopping-cart-page .cart-item-row .quantity label,
    .wishlist-page .cart-item-row .quantity label {
        line-height: unset;
        text-align: left;
    }

    .shopping-cart-page .cart-item-row .quantity input,
    .wishlist-page .cart-item-row .quantity input {
        display: block;
        height: 34px;
        margin: 10px 0;
        width: 50px;
    }

    .checkout-page .cart-item-row .quantity .product-quantity {
        display: block;
        line-height: unset;
        padding-top: 4px;
        text-align: left;
    }

    .shopping-cart-page .cart-item-row .subtotal .product-subtotal,
    .wishlist-page .cart-item-row .subtotal .product-subtotal {
        margin: 25px 0;
    }

}

@media all and (min-width: 768px) {
    .footer-disclaimer {
        display: block;
        text-align: center;
    }

    .footer-disclaimer span:nth-child(2) {
        padding-left: 100px;
    }

    .footer-block.newsetter .footer-collapse {
        padding: 4px 0px;
    }

    .product-list .item-box input[type="button"].product-box-add-to-cart-button {
        background-image: none;
    }
}

@media all and (max-width: 768px) {
    /* GENERALI */
    .footer .footer-block ul.list {
        background: var(--gray-light-super) !important;
    }

    .footer .footer-block {
        border-bottom: dashed 1px var(--gray-light) !important;
    }

    .footer .footer-block .title {
        border-top: unset !important;
    }

    /* HOME */
    body .home-page-body .home-page-category-grid .slick-track .carousel-item {
        min-width: 50% !important;
        width: 50% !important;
    }

    body.home-page-body .home-page-product-grid .slick-track {
        transform: unset !important;
        width: 100% !important;
    }

    body.home-page-body .carousel-item {
        width: 48% !important;
    }

    .item-box {
        width: 48%;
    }

    /* PRODOTTO */

    /* SHOPPING CART */
    .shopping-cart-page .cart-collaterals .coupon-code input[type="text"] {
        width: 100%;
    }

    .shopping-cart-page .cart-collaterals .coupon-code input[type="submit"] {
        width: 100%;
    }

    .cart-total .cart-total-left {
        vertical-align: top;
    }

    .cart-total .cart-total-right {
        text-wrap: unset !important;
        vertical-align: top;
    }

    /* SPEDIZIONE */
    .shipment-details-page .shipment-overview {
        display: block;
    }
    .shipment-details-page .shipment-overview ul.shipping-address,
    .shipment-details-page .shipment-overview ul.shipping-details {
        width: 100%;
        padding: 50px;
        background-color: white;
    }

    .shipment-details-page ul.shipping-details {
        margin-bottom: 25px !important;
    }
    .shipment-details-page ul.shipping-address {
        margin-bottom: 50px !important;
    }

    /* FOOTER */
    .footer-disclaimer {
        flex-direction:column;
    }
}

@media all and (min-width: 481px) {
    /* LOGIN  */
    .customer-pages-body .master-column-wrapper {
        padding: 0;
    }

    .customer-pages-body .login-page .page-title,
    .customer-pages-body .registration-page .page-title {
        left: 0;
        width: 100%;
    }

    .customer-pages-body .center-2 {
        width: unset;
    }
}

@media all and (max-width: 480px) {
    /* GENERALI */
    .item-box {
        min-height: 330px;
    }

    .home-page .item-box {
        min-height: unset;
    }

    /* CLIENTE */
    .customer-pages-body .block .list .customer-contact-us a:before,
    .customer-pages-body .block .list .customer-change-language a:before,
    .customer-pages-body .block .list .customer-logout a:before {
        content: none;
    }

    .customer-pages-body .master-column-wrapper .center-2 {
        margin-left: 0px;
    }

    .customer-pages-body .side-2 .title:before {
        color: var(--gray-dark-ultra) !important;
        content: 'y' !important;
    }
    .customer-pages-body .side-2 .title.open:before {
        color: var(--gray-dark-ultra) !important;
        content: 'x' !important;
        z-index: 2;
    }

    .customer-pages-body .side-2 .title strong:before {
        top: 3px;
    }

    .customer-pages-body .side-2 .title.open strong:before {
        content: 'h';
    }

    .product-specs-box .data-table .spec-value{
        text-align: center;
    }

    /* HOME */
    body.home-page-body .home-page-category-grid .slick-track .carousel-item {
        min-width: 100% !important;
        width: 100% !important;
    }

    body.home-page-body .home-page-category-grid .carousel-item .category-item .title a{
        font-size: 22px;
    }

    /* PRODOTTO */
    

    .sdf-variant-cnt {
        clear: both;
        display: block;
        height: 112px;
        margin-top: 10px;
        position: relative;
    }

    .sdf-variant-cnt > div {
        display: block;
        position: absolute;
        top: 0;
    }

    .sdf-variant-cnt .sdf-variant-product {
        left: 0;
        max-height: 60px;
        width: 40%;
    }

    .sdf-variant-cnt .sdf-promo-variant-cnt {
        right: 0;
    }

    .sdf-variant-cnt .sdf-variant-price {
        right: 0;
        padding-right: 0;
    }

    .sdf-variant-cnt .sdf-variant-wishlist {
        left: 0px;
        top: 60px;
    }

    .sdf-variant-cnt .sdf-variant-qty {
        margin-top: 0 !important;
        right: 50px;
        top: 60px;
    }

    .sdf-variant-out-of-stock {
        bottom: 10px !important;
        right: 0px;
        top: unset !important;
    }

    .sdf-variant-cnt .sdf-variant-shopping-cart-add {
        right: 0px;
        top: 60px;
    }

    .sdf-venture-addtocart .add-to-cart-panel .buttons {
        right: 76px;
    }

    .sdf-venture-addtocart div.add-to-cart .add-to-cart-panel input.add-to-cart-button {
        background-image: url(../../img/product-shopping-cart-light.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 20px 20px;
        color: transparent !important;
        max-width: 50px;
        min-width: 50px;
        height: 50px;
        position: absolute;
        right: 0px;
        width: 50px;
    }

    .product-specs-box .data-table tr{
        display: flex;
        flex-direction: column;
        width: 100%;

    }

    .product-specs-box .data-table tr td{
        width: 100%;
    }

    .product-specs-box .data-table .spec-name{
        text-align: center;
    }
}

@media all and (max-width: 412px) {

    /* PRODOTTO AGGREGATO */
    .sdf-variant-cnt {
        height: 132px;
    }

    .sdf-variant-cnt .sdf-variant-qty,
    .sdf-variant-cnt .sdf-variant-shopping-cart-add,
    .sdf-variant-cnt .sdf-variant-wishlist {
        top: 80px;
    }
    
    .sdf-variant-cnt .sdf-variant-product .sdf-variant-product-name {
        margin-top: 20px;
        width: 392px;
    }
    /* SHOPPING-CART */
    .checkout-page table.cart td.product-picture,
    .shopping-cart-page table.cart td.product-picture,
    .wishlist-page table.cart td.product-picture {
        height: 172px;
    }

    .checkout-page table.cart td.product a,
    .shopping-cart-page table.cart td.product a,
    .wishlist-page table.cart td.product a {
        height: 70px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media all and (max-width: 360px) {

    /* HOME */
    body.home-page-body .home-page-category-grid .carousel-item .category-item .title a {
        height: 58px;
        font-size: 14px;
    }

    body.home-page-body .home-page-product-grid .slick-track {
        transform: unset !important;
        width: 100% !important;
    }

    body.home-page-body .carousel-item {
        width: 100% !important;
    }

    .item-box {
        width: 100%;
        margin: 0px 0px 20px 0px;
    }

    .home-page .item-box {
        min-height: unset;
    }

    .item-box .buttons {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
    }

    /* CATEGORY */
    .sub-category-toggle-select,
    .title-picture-wrapper h1 span {
        font-size: 16px;
    }

    /* PRODOTTO AGGREGATO */
    .sdf-variant-cnt {
        height: 132px;
    }

    .sdf-variant-cnt .sdf-variant-qty,
    .sdf-variant-cnt .sdf-variant-shopping-cart-add,
    .sdf-variant-cnt .sdf-variant-wishlist {
        top: 80px;
    }
    
    .sdf-variant-cnt .sdf-variant-product .sdf-variant-product-name {
        margin-top: 20px;
        width: 340px;
    }
    /* PROMO */
    .sdf-promo-box-img {
        border-left: 60px solid transparent;
        border-top: 60px solid var(--promo-background-color);
        display: inline-block;
        height: 0;
        width: 0;
    }

    .sdf-promo-box-text {
        color: var(--promo-color);
        font-size: 30px;
        font-weight: bold;
        position: absolute;
        right: 5px;
        top: 0px;
    }

    /* SHOPPING-CART */
    .checkout-page table.cart td.product-picture,
    .shopping-cart-page table.cart td.product-picture,
    .wishlist-page table.cart td.product-picture {
        height: 152px;
    }

    .checkout-page table.cart td.product a,
    .shopping-cart-page table.cart td.product a,
    .wishlist-page table.cart td.product a {
        height: 52px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}