@media (max-width: 1024px) {
    :root {
        --header-height: 80px;
    }
    .resp-xl {
        display: block;
    }
    .modal-popup .modal-inner-wrap {
        margin-top: var(--header-height);
        margin-bottom: 10px;
        max-height: calc(100vh - (var(--header-height) + 10px)) !important;
    }


    /* HEADER */
    /* .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    } */
    .top-bar, .header-bottom {
        display: none;
    }
    .header-content {
        background: var(--color-bg);
        box-shadow: 0px 2px 2px 0px #9a9a9a;
    }
    .header-bottom {
        position: fixed;
        top: var(--header-height);
        bottom: 0;
        width: 400px;
        max-width: 100%;
        padding: 0;
        background: var(--color-bg);
        flex-direction: column;
        overflow-y: auto;
        border-top: 1px solid var(--color-primary);
    }
    .header-bottom.active {
        display: flex;
    }
    .header-bottom:after {
        content: '';
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 400px;
        background: #0000006b;
    }
    .header-bottom .navigation {
        padding: 0;
        overflow: initial;
    }
    .header-bottom .navigation ul li.level0 {
        margin: 0;
    }
    .header-bottom .navigation ul,
    .header-bottom .cuenta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .header-bottom .cuenta {
        margin-top: auto;
    }
    .header-bottom .navigation ul li.level0 > a,
    .header-bottom .cuenta a {
        line-height: 35px;
        background: #e8e7e7;
        border-bottom: 1px solid #fff;
        padding: 0 15px;
        text-transform: uppercase;
        font-weight: bold;
        display: block;
    }
    .header-bottom .navigation ul li.level0 > a {
        display: block;
        width: 100%;
    }
    .header-bottom .cuenta a:nth-last-child(1) {
        border-bottom: 0;
    }
    .header-bottom .navigation .level-top:after,
    .navigation .level0.parent>.level-top>.ui-menu-icon {
        display: none !important;
    }
    .header-bottom .navigation .submenu {
        position: initial !important;
        border: 0 !important;
        display: none !important;
    }
    .header-bottom .navigation .submenu li.level1 {
        width: 100%;
        padding: 0;
        text-align-last: left;
        padding: 0 15px;
    }
    .header-bottom .navigation .submenu li.level1 a {
        line-height: 35px
    }
    .header-bottom .navigation .submenu img {
        display: none;
    }


    /* FOOTER */
    .tlf-float {
        display: none;
    }
    .footer-content .flex-container {
        flex-wrap: wrap;
    }
    .footer-content .bloque {
        flex: 0 0 calc((100% / 4) - 30px);
        margin-bottom: 30px;
    }
    .footer-content .bloque.newsletter {
        flex: 0 0 100%;
        margin-bottom: 0;
    }
    .footer-bottom .flex-container {
        flex-direction: column;
    }
    .footer-legacy {
        order: -1;
        margin-bottom: 10px;
    }


    /* HOME */
    .banner {
        margin-top: 0;
    }


    /* CATEGORY */
    .page-products .columns {
        display: flex;
        flex-direction: column;
    }
    .page-products .columns .main,
    .page-products .columns .sidebar {
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-products .columns .sidebar {
        order: -1;
    }
    .block.filter {
        margin-bottom: 15px;
    }
    .block.filter .block-content {
        display: none;
        width: 100% !important;
        padding: 10px;
        border: 1px solid var(--color-bg);
        border-top: 0;
    }
    .block.filter .block-title {
        padding: 10px;
        background: var(--color-bg);
        cursor: pointer;
        margin-bottom: 0;
        border: 0;
    }
    .block.filter .block-title:after {
        font-family: 'FontAwesome';
        content: "\f0b0";
        display: inline-block;
        float: right;
    }
    .block.filter .items {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .block.filter .item {
        min-width: 50%;
    }
    .filter-options .filter-options-content:nth-last-child(1) {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }
    .filter-options .swatch-option-link-layered {
        width: auto;
    }


    /* PRODUCT */
    .catalog-product-view .fotorama--fullscreen {
        z-index: 9999 !important;
    }
    .productos {
        flex-wrap: wrap;
    }
    .product-media {
        flex: 0 0 100%;
        padding-right: 0;
        max-width: 100%;
    }
    .product-datos {
        flex: 0 0 100%;
    }


    /* CART */
    .cart-container {
        flex-direction: column;
    }
    .cart-summary {
        position: initial !important;
        margin-top: 30px;
    }


    /* CUSTOMER */
    .login-container {
        flex-wrap: wrap;
    }
    .login-container .customer-login {
        flex: 0 0 100%;
    }
    .login-container .customer-login:nth-child(2) {
        margin-top: 30px;
    }
    .account .sidebar .block .title {
        width: 100%;
        height: auto;
        position: initial;
        margin: 0;
        padding: 10px;
        background: var(--color-bg);
        cursor: pointer;
        margin-bottom: 0;
    }
    .account .sidebar .block .title strong {
        text-transform: uppercase;
        font-size: 16px;
    }
    .account .sidebar .block .title:after {
        font-family: 'FontAwesome';
        content: "\f007";
        display: inline-block;
        float: right;
    }
    .account .page-title {
        margin-top: 0;
    }
    .account-nav {
        margin-bottom: 15px;
    }
    .account-nav .content {
        margin-top: 0;
        display: none;
        background: none;
        width: 100% !important;
        padding: 10px;
        border: 1px solid var(--color-bg);
        border-top: 0;
    }
    .account-nav .item a,
    .account-nav .item.current strong,
    .account-nav .item .delimiter {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        border-left: 0;
    }
    .account .columns {
        display: flex;
        flex-direction: column;
    }
    .account .columns .main,
    .account .columns .sidebar {
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
    }
    .account .columns .sidebar {
        order: -1;
    }
    .sales-order-view .order-status,
    .sales-order-invoice .order-status {
        top: 8px;
    }


    /* CHECKOUT */
    .checkout-index-index .checkout-header .title {
        margin-top: 0;
    }

    
    /* CMS */
    .catalogo {
        flex: 0 0 100%;
    }
    .contact-index-index .login-container .customer-login:nth-child(2) {
        order: -1;
        margin: 0 0 30px 0;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 45px;
    }
    .block.block-search {
        width: initial;
    }
    .minicart-wrapper .action.showcart .text {
        display: none;
    }
    .minicart-wrapper .action.showcart {
        padding: 5px;
    }    
    .form .field .control {
        width: initial !important;
        border: none;
    }  
    .block-search .label.active+.control input {
        position: absolute;
        left: 0;
    }      
    .navigation ul {
        padding: 0;
        display: initial;
        justify-content: initial;
    }    
    .sections.nav-sections .navigation li.level0 {
        text-align: left;
    }    
    .sections.nav-sections .navigation .level0 .submenu li {
        width: 100%;
    }
    .all-category {
        display: none !important;
    }
    .navigation .submenu:not(:first-child)>li>a>img {
        display: none;
    }
    .sections.nav-sections .navigation .level0 .submenu li {
        margin: 0;
        display: block;
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .resp-md {
        display: block;
    }
    .max-width {
        padding-left: 15px;
        padding-right: 15px;
    }
    .modal-popup {
        left: 0 !important;
        top: var(--header-height) !important;
    }

    /* HEADER */
    .header-content .flex-container {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .header-content .logo {
        margin-right: auto;
        width: 120px;
    }
    .header .toggle,
    .header-content .flex-container .showcart {
        font-size: 20px;
        color: #333;
        font-weight: normal;
        line-height: 30px;
    }
    .header-content .buscador {
        flex: 0 0 100%;
        order: 100;
        margin: 10px 0 0;
        width: 100% !important;
        display: none;
    }
    .header-content .flex-container {
        flex-wrap: wrap;
    }
    .header-content .flex-container .showcart {
        padding: 0;
        background: none;
    }
    .header-content .flex-container .showcart span {
        display: none;
    }
    #search {
        border: 1px solid var(--color-primary);
    }


    /* FOOTER */
    .footer-content {
        text-align: center;
    }
    .footer-content .bloque {
        flex: 0 0 calc((100% / 2) - 30px);
    }


    /* HOME */
    .banner .text {
        position: initial;
        width: 100%;
        max-width: none;
        padding: 15px;
    }
    .sticky.home {
        flex-wrap: wrap;
    }
    .sticky .block {
        flex: 0 0 100%;
        margin-bottom: 15px;
        padding: 15px;
        background-size: 120px !important;
    }
    .sticky .block:nth-last-child(1) {
        margin-bottom: 0;
    }


    /* PRODUCT LIST */
    .toolbar-amount {
        display: none;
    }
    .page-products .toolbar .limiter {
        margin-left: 0;
    }
    .pages a.page, .pages strong.page {
        padding: 0 15px;
    }
    .product-box {
        flex: 0 0 calc(50% - 30px);
    }


    /* PRODUCT */
    .product.info.detailed .product.data.items .item.title {
        border: 0 !important;
    }
    .product.info.detailed .product.data.items .item.title .switch {
        line-height: 30px;
        padding: 0 10px;
        background: var(--color-bg);
        height: 30px;
        position: relative;
        border-bottom: 2px solid #fff;
    }
    .product.info.detailed .product.data.items .item.title .switch:after {
        position: absolute;
        content: "\f0a9";
        width: 30px;
        height: 30px;
        top: 0;
        bottom: 0;
        text-align: center;
        right: 0;
        font-family: 'FontAwesome';
        transition: all .3s;
    }
    .product.info.detailed .product.data.items .item.title.active a:after {
        transform: rotate(90deg);
    }
    .product.info.detailed .product.data.items .item.content {
        margin: 0 0 15px 0;
        padding: 10px;
        border: 1px solid var(--color-bg);
        top: -2px;
    }
    .additional-attributes .item {
        flex: 0 0 calc(100% - 60px);
    }
    .additional-attributes .item:nth-last-child(1) {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }


    /* CART */
    .form-cart tr.item-info {
        position: relative;
        display: flex;
        flex-wrap: wrap;
    }
    .form-cart .col.delete {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 99;
    }
    .form-cart .col.item {
        flex: 0 0 100%;
    }
    .form-cart .cart.item .product-item-details {
        padding-left: 70px;
        padding-right: 30px;
    }
    .cart.table-wrapper .item .col.qty {
        text-align: left;
    }
    .cart.table-wrapper .item .col.subtotal {
        flex: auto;
        text-align: right;
    }
    .form-cart .cart.actions .action {
        margin: 0;
    }


    /* CUSTOMER */
    .login-container .customer-login {
        padding: 15px;
    }
    .sales-order-view .order-status,
    .sales-order-invoice .order-status {
        top: 0;
    }
    .sales-order-view .order-date,
    .sales-order-view .order-actions-toolbar,
    .sales-order-invoice .order-date,
    .sales-order-invoice .order-actions-toolbar {
        flex: 0 0 100%;
        justify-content: flex-start;
    }
    .sales-order-view .order-date,
    .sales-order-invoice .order-date,
    .prrma-returns-order-history .order-date {
        border-bottom: 0;
    }


    /* CHECKOUT */
    #checkout .authentication-wrapper .custom-slide {
        top: var(--header-height);
        left: 0;
    }


    /* CMS */
    .catalogo img {
        display: none;
    }
    .catalogo .name {
        width: 100%;
    }
    .nosotros ul {
        display: block;
    }
}

@media (max-width: 639px) {
    .opc-wrapper .form-login,
    .opc-wrapper .form-shipping-address {
        width: 100% !important;
        border: 0;
    }
    .opc-wrapper .step-title {
        font-size: 2.6rem;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
    }
    .opc-wrapper .shipping-address-item {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .resp-xs {
        display: block;
    }


    /* FOOTER */
    .footer-content .bloque {
        flex: 0 0 100%;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--color-secondary);
    }
    .footer-content .bloque:nth-last-child(1) {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .footer-content .newsletter .subscribe {
        padding: 0 5px;
    }
    .footer-legacy .links {
        flex-direction: column;
    }
    .footer-legacy li {
        margin: 0 0 10px 0;
    }
    .footer-legacy li.separator {
        display: none;
    }


    /* PRODUCT LIST */
    .product-box {
        flex: 0 0 calc(100% - 30px);
    }
    .page-products .toolbar .limiter,
    .page-products .toolbar .sorter {
        display: flex;
        flex-wrap: wrap;
        text-align: left;
    }
    .page-products .toolbar .limiter label,
    .page-products .toolbar .sorter label {
        flex: 0 0 100%;
    }
    .page-products .toolbar select {
        margin-left: 0;
    }


    /* PRODUCT */
    .adicional {
        flex-wrap: wrap;
    }
    .adicional .bloque {
        flex: 0 0 100%;
        margin-bottom: 30px;
        margin-left: 0;
        display: flex;
        justify-content: center;
    }
    .adicional .bloque:nth-last-child(1) {
        margin-bottom: 0;
    }


    /* ACOUNT */
    .sales-order-view .page-title-wrapper .page-title,
    .sales-order-invoice .page-title-wrapper .page-title {
        margin-bottom: 10px;
    }
    .sales-order-view .order-status,
    .sales-order-invoice .order-status {
        position: initial;
        margin-bottom: 10px;
    }
}