@media (min-width: 768px) {
    .woocommerce table.cart td.actions .coupon {
        width: 335px;
        max-width: 100%;
    }
}

@media (max-width: 1350px) {
    .fancybox-close-small {
        right: -1px !important;
        top: -1px !important;
    }
    .header-tools span {
        display: none;
    }
}

@media (max-width: 1023px) {
    #woofc-count #woofc-count-number {
        display: none;
    }
    #page.hide-logo #header {
        transform: none;
    }
    
    
    /* Header */
    .hamburger {
        display: inline-flex;
        vertical-align: top;
        align-items: center;
        height: 65px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        cursor: pointer;
    }
    .menu-icon {
        cursor: pointer;
        padding: 20px 15px;
        display: block;
        -webkit-user-select: none;
           -moz-user-select: none;
            -ms-user-select: none;
                user-select: none;
        transition: all 0.5s;
    }
    .menu-icon .navicon {
        background-color: #000;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 25px;
    }
    .menu-icon .navicon:before,
    .menu-icon .navicon:after {
        background-color: #000;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
    }
    #header.open .menu-icon .navicon{
        background-color: transparent;
    }
    #header.open .menu-icon .navicon:before,
    #header.open .menu-icon .navicon:after {
        background: #000;
        top: 0px;
    }
    #header.open .menu-icon  .navicon:before {
        transform: rotate(-45deg);
    }
    #header.open .menu-icon  .navicon:after {
        transform: rotate(45deg);
    }
    .menu-icon .navicon:before {
        top: 7px;
    }
    .menu-icon .navicon:after {
        top: -7px;
    }
    #header {
        font-size: 16px;
    }
    #header.open {
/*
        overflow: scroll;
        overflow-x: hidden;
        overflow-y: auto;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        background-color: #fff !important;
*/
    }
    .menu-active {
        height: auto;
        overflow: hidden !important;
    }
    .menu-active #header {
	    background: #fff !important;
    }
    #header .container-fluid {
        padding: 0;
    }
    .brand-logo {
        width: 120px;
    }
    .header-bar {
        -webkit-display: flex;
        -ms-display: flex;
        display: flex;
        flex-wrap: wrap;
    }
    ul.menu,
    .header-tools {
        width: 100%;
        text-align: center;
    }
    ul.menu > li, 
    .header-tools > * {
        padding-bottom: 0;
    }
    ul.menu {
        border-bottom: solid 1px #000;
    }
    ul.menu > li {
        width: 100%;
        margin: 0 !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #header.open ul.menu,
    #header.open .header-tools {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    ul.menu,
    .header-tools .menu-newsletter,
    .header-tools .socialgroup {
        opacity: 0;
        visibility: hidden;
        height: 0;
        overflow: hidden;
    }
    .header-tools {
        height: 0;
    }
    #header.open ul.menu,
    #header.open .header-tools .menu-newsletter,
    #header.open .header-tools .socialgroup {
        opacity: 1;
        visibility: visible;
        height: unset;
        overflow: unset;
    }
    #header ul.menu {
	    position: absolute;
	    top: 100%;
	    left: 0;
	    background: #fff;
	    border-bottom: 1px solid #000;
    }
    
	.menu-main .socialgroup {
		display: block;
	}
    
    .header-tools .socialgroup {
	    display: none;
    }
    #woofc-count,
    .menu-account,
    .menu-search {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%)!important;
        right: 15px;
        z-index: 10;
        margin-right: 0 !important;
        padding-top: 0;
    }
    #woofc-count {
        right: 75px !important;
        top: 50% !important;
        transform: translateY(-50%);
    }
    .menu-account {
        right: 45px;
    }
    .menu-category {
        order: 1;
    }
    .menu-main {
        order: 2;
    }
    .header-tools {
        order: 3;
    }
    .header-tools i {
        font-size: 15px;
    }
    ul.menu li.has-sub > a {
        position: relative;
    }
    ul.menu li.has-sub > a:after {
        font-family: "icomoon";
        content: "\e901";
        position: absolute;
        top: 2px;
        right: -20px;
        font-size: 12px;
    }
    ul.menu > li > ul {
        opacity: 1;
        visibility: visible;
        width: 100%;
        padding: 5px 15px;
        transform: none;
        position: static;
        display: block;
        top: auto;
        left: auto;
        transition: none;
        display: none;
    }
    ul.menu > li > ul > li {
        width: 100%;
        padding: 5px 15px;
    }
    ul.menu > li > ul > li > a {
        font-weight: 500;
    }
    ul.menu > li > ul > li > ul {
        display: block;
        /*position: absolute;
        top: 60px;
        left: 0;
        display: none;*/
        background-color: #fff;
        width: 100%;
        z-index: 10;
        font-size: 14px;
    }
    ul.menu > li > ul > li > ul > li {
        width: 100%;
        padding: 5px 15px;
    }
    ul.menu > li > ul > li > ul .back {
        text-align: left;
        padding: 5px 15px 15px;
        display: none;
    }
    ul.menu > li > ul > li > ul .back:before {
        font-family: "icomoon";
        content: "\e902";
        margin-right: 5px;
        display: inline-block;
        vertical-align: top;
    }
    ul.menu > li > ul:after,
    #page.header-transparent ul.menu > li.has-sub:before {
        display: none;
    }
    .search-panel {
        top: 43px;
        right: -15px;
        width: 100vw;
        transform: none;
    }
    
    
    #header .container-fluid {
	    height: 65px;
    }
    
    
    
    /* Products */
    ul.products {
        /*
        grid-template-columns: repeat(3,1fr);
        grid-row-gap: 40px;
        */
        margin: -20px;
    }
    ul.products .product {
        width: 33.3333333%;
        padding: 20px;
    }
    ul.products .product:after {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
    ul.products .product .tag {
        
    }
    
    .product .tag {
        right: 15px;
    }
    
    
    .sc-category .swiper-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .sc-category .swiper-button-next {
        right: 0;
        transform: translateY(-50%);
    }
    .sc-category .swiper-button-prev {
        left: 0;
        transform: translateY(-50%);
    }
    
    .rand-elem {
        width: calc(100% - 60px);
        height: calc(100% - 60px);
    }
    .rand-elem img.rellax-elem {
        max-width: 60px;
    }
    .footer-nav {
        width: 350px;
    }
    .process-bar {
        padding-top: 50px;
        padding-bottom: 0;
    }
    .page-collection .titleblock {
        margin-bottom: 30px;
    }
    .product-onlinestore {
        padding-top: 0;
        padding-bottom: 0;
    }
/*
    .product-variation {
        margin-top: 30px;
    }
*/
    .product-variation .product-size {
        width: 100%;
        margin-bottom: 15px;
    }
    .product-variation .btn {
        margin-left: 0;
        width: calc(100% - 50px);
    }
    .product-single {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    
    #page nav.woocommerce-MyAccount-navigation ul {
        display: block;
    }
}

@media (max-width: 768px) {
    .woocommerce #content table.cart td.actions .coupon .button, 
    .woocommerce #content table.cart td.actions .coupon .input-text, 
    .woocommerce #content table.cart td.actions .coupon input, 
    .woocommerce table.cart td.actions .coupon .button, 
    .woocommerce table.cart td.actions .coupon .input-text, 
    .woocommerce table.cart td.actions .coupon input, 
    .woocommerce-page #content table.cart td.actions .coupon .button, 
    .woocommerce-page #content table.cart td.actions .coupon .input-text, 
    .woocommerce-page #content table.cart td.actions .coupon input, 
    .woocommerce-page table.cart td.actions .coupon .button, 
    .woocommerce-page table.cart td.actions .coupon .input-text, 
    .woocommerce-page table.cart td.actions .coupon input {
        width: 50%;
    }
    .woocommerce .quantity .qty {
        text-align: right;
    }
    a.checkout-button.button.alt.wc-forward {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .bottom-bar a {
        min-width: 30%;
        margin: 3px 1px;
        padding: 0 10px;
    }
    
    
    /* Popup */
    .popup-template .object-fit:before {
        padding-top: 75%;
    }
    #account-popup {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    
    
    /* Products */
    /*
    ul.products {
        grid-template-columns: repeat(2,1fr);
    }
    */
    ul.products .product {
        width: 50%;
    }
    
    .product .tag {
        top: 15px;
        right: 15px;
    }
    
    
    .sc-sale .swiper-slide {
        width: 275px;
    }
    .sc-instagram .swiper-slide {
        max-width: unset;
        width: 130px;
    }
    .sc-subscribe {
        padding-top: 0;
        padding-bottom: 0;
    }
    .sc-collection .object-fit:before {
        padding-top: 100%;
    }
    .rand-elem {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
    .rand-elem img.rellax-elem {
        max-width: 40px;
    }
    .footer-social {
        margin-bottom: 40px;
    }
    .footer-nav .col {
        width: 50%;
        padding-right: 15px;
    }
    #footer {
        padding-bottom: 30px;
    }
    .footer-link {
        margin-left: 0;
        margin-top: 10px;
    }
    .subscribe-form input[type="submit"] {
        width: 100%;
        display: block;
        position: static;
        top: auto;
        right: auto;
    }
    .process-bar .control {
        font-size: 8px;
    }
    .page-single .entry-header {
        margin-bottom: 30px;
    }
    .help-item .titleblock {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
    .help-item .listgroup {
        width: 100%;
    }
    .page-help .container > .titleblock {
        margin-bottom: 40px;
    }
    .help-item:last-child {
        margin-bottom: 0;
    }
    .contact-info .container {
        grid-template-columns: 1fr;
    }
    .contact-info .col {
        text-align: center !important;
    }
    .entry-content [class*="wp-block-"]:not(:first-child) {
        margin-top: 30px;
    }
    .entry-content [class*="wp-block-"]:not(:last-child) {
        margin-bottom: 30px;
    }
    .sc-story .titleblock {
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .sc-story .titleblock .title:after {
        right: 0;
        top: -40px;
    }
    .grid-col--3 {
        display: none;
    }    
    .collection-col {
        width: 50%;
    }
    .collection-item {
        margin-bottom: 20px;
    }
    .collection-sg-hero .object-fit:before {
        padding-top: 75%;
    }
    
    .product-single-gallery {
        width: 100%;
        margin-bottom: 15px;
    }
    .product-single-meta {
        width: 100%;
        padding-left: 0;
    }
    

    /* Font Size */
    .sc-story .entry-content {
        font-size: 12px;
    }
    .index-hero .hero-description,
    .entry-title,
    .sc-title,
    .sc-subtitle,
    .sc-category .category-name,
    .sale-banner-name,
    .instagram-head,
    .sc-collection .collection-name,
    .gotostore .headline,
    .sc-story .title {
        font-size: 24px;
    }
    
    
    
    
    nav.woocommerce-MyAccount-navigation li {
        width: 50%;
        margin-bottom: 5px;
    }
    li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard {
        width: 100%;
    }
    
    .woocommerce-address-fields button.button,
    a.button.alt.woocommerce-button.wpdt-wc-bacs-payment-button {
        width: 100%;
        text-align: center;
    }
    .woocommerce ul.order_details li {
        width: 100%;
        margin-bottom: 20px;
    }
    table.wpdt-wc-payment-table.wpdt-wc-payment-table-banks.woocommerce-table.shop_table.td {
        font-size: 0.75em;
    }
    
    table.wpdt-wc-payment-table .bank-icon {
        display: none;
    }
    form.form-wpdt-wc-payment section {
        float: none;
    }
    form.form-wpdt-wc-payment div.bank-table .row {
        float: none;
    }
    form.form-wpdt-wc-payment div.bank-table div.row div:first-child,
    form.form-wpdt-wc-payment div.bank-table div.row div {
        float: none;
    }
    form.form-wpdt-wc-payment {
        width: 100%;
    }
    
    
    #woofc-count #woofc-count-number:before,
    #woofc-count #woofc-count-number:after {
        display: none;
    }
    
    
    
	.page-product-single .gallery-grid .item {
	    width: 100%;
	    min-height: 100vw;
    }
}