@media (max-width: 991px) {
    body {
        font-size: 14px;
    }
    .mobile{
        display: block;
      }
      .desktop{
        display: none;
      }
    .storefront-breadcrumb .col-full {
        padding: 0 10px;
        margin: 0;
    }
    header.site-header {
        padding-bottom: 0;
    }
    .archive div#primary {
        width: 100%;
    }
    /* BUSCADOR*/
    .woocommerce-active .site-header .site-search{
        display: none;
    }
    .buscador-mobile {
        position: absolute;
        top: 69px;
        width: 100%;
        padding: 15px;
        margin: 0;
        left: 0;
        background: #fff;
        display: none;
    }
    span#cerrar-buscador {
        position: absolute;
        right: 15px;
        top: 0;
    }
    header i {
        font-size: 20px;
        color: #000;
        padding: 0 10px;
    }
    .boton-buscar-mobile {
        cursor: pointer;
    }

    .woocommerce-active .site-search .woocommerce-product-search .search-field {
        position: absolute;
        top: 74px;
        width: 90%;
        right: 10px;
        border: solid 1px;
        display: none;

    }

    .widget_search form:not(.wp-block-search),
    .widget_product_search form:not(.wp-block-search) {
        position: unset;
    }

    /* CONTAINER MAIN */
    .container.first-container {
        max-width: 100%;
        padding: 0;
    }

    .row-info-destacada .col-12 {
        margin-bottom: 15px;
    }

    .categorias-destacadas {
        width: 100%;
    }

    .categorias-destacadas .col {
        margin-bottom: 40px;
        min-width: 30%;
    }

    .col-full,
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .site-main {
        /* padding: 10px; */
        width: 100%;
    }

    .row-info-destacada {
        margin-top: 30px;
    }

    .owl-next {
        right: 5px;
    }

    .owl-prev {
        left: 5px;
    }

    .owl-prev,
    .owl-next {
        top: 20%;
    }

    .row>* {
        /* padding: 0; */
    }

    .owl-stage-outer {
        /* padding: 15px !important; */
    }

    .container.container-carrousel {
        padding: 0;
    }

    .container-carrousel {
        margin-top: 40px;
        max-width: 100%;
    }

    .storefront-full-width-content .site-main ul.products.columns-3 li.product {
        min-width: 294px;
    }

    /* Page Product */
    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
    .summary.entry-summary {
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 0 !important;
    }

    .summary.entry-summary {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .single-product div.product form.cart {
        justify-content: center;
    }

    .single-product div.product p.price {
        display: flex;
        flex-direction: column;
        margin-bottom: 0 !important;
    }

    span.price {
        display: flex !important;
        flex-direction: column;
        min-height: 3.7rem;
    }

    h2.woocommerce-loop-product__title {
        line-height: 1.15;
    }

    .item span.price {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .item .quantity {
        margin-bottom: 10px;
    }

    .item .quantity .button-qty {
        height: 35px;
        font-size: 18px;
        line-height: 1;
        padding: 0 24px;
    }

    .item .quantity input[type="number"].qty {
        height: 35px;
    }

    a.button.product_type_simple.add_to_cart_button {
        font-size: 16px;
        padding: 5px 15px;
    }

    .tax-product_cat ul.products li.product,
    .search-results ul.products li.product,
    .single-product div.product .related.products ul.products li.product,
    .site-main ul.products.columns-3 li.product,
    li.product.type-product {
        padding: 0 0 10px 0;
        margin: 0;
    }

    /* Page Product */
    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
        width: 58% !important;
    }

    .pre-footer .container .row .antencion-cliente h2 {
        text-align: center;
    }

    .pre-footer .container .row .antencion-cliente p {
        text-align: center;
    }

    .pre-footer .container .row .suscribirse h3 {
        text-align: center;
    }

    .pre-footer .wpcf7-form p {
        justify-content: center;
    }

    .pre-footer .wpcf7-form p .wpcf7-form-control-wrap {
        width: auto;
    }

    .pre-footer .wpcf7-form p input[type="submit"] {
        margin-left: 5px;
    }

    /*************** PRE FOOTER Mobile *************/
    .pre-footer {
        padding-top: 13px;
        padding-bottom: 20px;
    }

    .pre-footer .container .row .antencion-cliente,
    .pre-footer .container .row .whatsapp,
    .pre-footer .container .row .suscribirse {
        min-height: max-content;
    }

    .pre-footer .container .row .whatsapp {
        padding-bottom: 20px;
        /* border-bottom: 1px solid #fff; */
    }

    .pre-footer .container .row .suscribirse {
        padding-top: 10px;
    }

    .pre-footer .container .row .antencion-cliente h2 {
        font-size: 20px;
    }

    .pre-footer .container .row .antencion-cliente p {
        display: none;
    }

    .pre-footer .container .row .antencion-cliente.atencion-cliente-mobile {
        display: flex;
    }

    .pre-footer .container .row .antencion-cliente.atencion-cliente-mobile p {
        display: block;
    }

    .pre-footer .container .row .antencion-cliente.atencion-cliente-mobile p {
        display: block;
        margin-top: 25px;
    }

    .pre-footer .container .row .suscribirse h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    /************** Categorías Mobile *****************/
    .archive.left-sidebar .content-area {
        width: 100%;
    }
    .storefront-sorting {
        padding: 0;
        margin: 0;
    }
    .left-sidebar .widget-area {
        display: none;
        width: 100%;
    }

    .tax-product_cat ul.products li.product,
    .search-results ul.products li.product,
    .single-product .related.products ul.products li.product,
    .site-main ul.products.columns-3 li.product,
    .site-main ul.products.columns-4 li.product{
        width: 49%;
        margin-top: 20px;
        margin-right: 2px;
    }

    li.product .price ins,
    li.product .price bdi {
        font-size: 20px;
    }

    h1.woocommerce-products-header__title.page-title {
        width: 100%;
    }

    .tax-product_cat ul.products,
    .search-results ul.products,
    .single-product .related.products ul.products {
        justify-content: space-between;
    }

    /************** Producto Mobile ***************/
    .single-product .site-content .col-full {
        margin: 0 !important;
        background-color: #fff;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product .woocommerce-tabs.wc-tabs-wrapper {
        width: 100%;
        margin: 0;
    }

    .summary.entry-summary .sku_wrapper {
        font-size: 0.6875rem;
        margin-bottom: 7px;
    }

    .summary.entry-summary .product_title.entry-title {
        font-size: 1.125rem;
    }

    .single-product div.product p.price {
        margin-bottom: 30px;
    }

    .single-product div.product p.price del {
        font-size: 0.8125rem;
        color: #8b8b8b;
    }

    .single-product div.product p.price ins {
        font-weight: bold;
        font-size: 1.625rem;
    }

    .summary.entry-summary {
        border-top: 1px solid #eee;
        /* margin: 0 20px; */
        border-radius: 0;
        /* margin-top: 40px !important; */
        /* padding-top: 15px; */
        position: relative !important;
    }

    .woocommerce-tabs ul.tabs>li a h2 {
        font-size: 1.2rem;
    }

    .woocommerce-tabs ul.tabs>li::after {
        transform: rotate(0deg);
    }

    .woocommerce-tabs ul.tabs>li.active::after {
        transform: rotate(180deg);
        right: 1rem;
    }

    ul.products li.product img,
    ul.products .wc-block-grid__product img,
    .wc-block-grid__products li.product img,
    .wc-block-grid__products .wc-block-grid__product img {
        margin: 0;
    }

    h2.woocommerce-loop-product__title,
    .single-product .related.products h2 {
        padding: 12px;
        margin: 5px 0;
    }
    /************** Carrito MObile ********************/
    #site-header-cart li:nth-child(2) {
        position: absolute;
        top: 50px;
        right: 0;
        /* agregar otras propiedades si es necesario */
    }
    .widget_shopping_cart_content, .widget_shopping_cart_content p {
        width: 300px !important;
        background: #fff;
    }
    .woocommerce-cart .wc-block-cart-items__row span.price {
        min-height: 1rem;
    }
    button.minicart-button.mobile {
        background: none;
        padding: 0;
        margin-bottom: 4px;
    }
    .mini-cart {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header.site-header .site-header-cart li:first-child .cart-contents::after{
        display: none;
    }
    .mini-cart .count {
        top: -8px;
        right: 10px;
        width: 20px;
        height: 20px;
    }
    .widget.woocommerce.widget_shopping_cart {
        /* background: #fff; */
        width: 100%;
        right: 0;
        /* position: absolute; */
        /* display: none; */
        top: 100%;
        /* padding: 10px; */
        /* margin: 0 0 0 10px; */
        /* transform: translateX(0); */
        transition: .3s;
        /* left: unset; */
    }
    .widget.woocommerce.widget_shopping_cart.show{
        /* transform: translateX(-100%); */
        display: block;
        width: 300px;
                right: 0;
    }
    li.view-all a {
        color: #000;
        padding: 5px 15px;
        display: block;
        font-weight: 600;
    }
   /* #menu-toggle i.fas.fa-times,
    #menu-toggle i.fas.fa-bars
    {
        display: none;
    }
    #menu-toggle i.fas.fa-times.show,
    #menu-toggle i.fas.fa-bars.show
    {
        display: block;
    }
        */

    /***************** MENU *********************/
    div#sidebar-menu li {
        font-size: 16px;
    }
button.menu-toggle2 {
    background: no-repeat;
    position: absolute;
    top: 0;
    right: -8px;
  }
  body.admin-bar #menu nav {
    margin-top: 32px;
  }
  #menu  ul.nivel-0 {
    width: 210px;
    float: right;
    /* padding-right: 15px; */
    margin-top: 20px;
  }
  #menu  ul.nivel-0 li{
    padding-right: 15px;
    text-align: left;
    min-width: 100%;
    width: 100%;
  }
  
  .fondo-menu {
    position: absolute;
    background: #000;
    width: 100%;
    height: 100vh;
    display: block;
    /* right: -402%; */
    top: 0;
    display: none;
    left: 0;
  }
  div#menu:has(.menu-open) .fondo-menu {
    display: block;
    opacity: .3;
  }
  #menu ul.nivel-1 {
    display: none;
    position: absolute;
    top: 0;
    padding: 80px 20px;
    transition: .3s;
    transform: translateX(0);
    height: 100vh;
  }
  ul.nivel-2 {
    display: none;
  }
  #menu ul.nivel-1 strong{
    /* margin-top: 15px; */
    display: block;
  }
  
  #menu ul.nivel-0 li a {
    display: flex;
    width: 100%;
    justify-content: space-between;
  
  }
  #menu ul.nivel-0 > li > a {
    font-weight: 600;
  }
  #menu ul.nivel-1 li a {
    font-size: 14px;
  }
  #menu ul.nivel-1 li a:hover {
    text-decoration: underline;
  }
  
  #menu a{
    color: #000;
  }
  #menu ul.nivel-0 li:hover ul.nivel-1 {
    display: flex;
    transform: translateX(190px);
    background: #fff;
    /* padding: 20px; */
    /* columns: 2; */ /* Crea dos columnas */
    /* -webkit-columns: 4; */ /* Soporte para navegadores WebKit */
    -moz-columns: 2; /* Soporte para navegadores Mozilla */
    /* list-style-type: none; */ /* Opcional: elimina los puntos de la lista */
    padding: 60px 0 0 30px;
    flex-direction: column;
    width: 220px;
  } 
  #menu ul.nivel-1 li:hover ul.nivel-2 {
    display: block;
    transform: translateX(190px);
    background: #fff;
    padding: 20px;
    columns: 2;
    -webkit-columns: 4;
    -moz-columns: 2;
    list-style-type: none;
    padding: 60px 0 0 30px;
    flex-direction: column;
    /* width: 220px; */
    TOP: 0;
    POSITION: ABSOLUTE;
    left: 0;
    height: 100vh;
  }
  ul.nivel-1 li {
    padding: 1px 15px 0 10px;
    width: max-content;
  }
  div#menu, div#header-links {
/*    width: 20%;*/
    display: flex;
  }
  div#header-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: relative;
  }
  #mobile-menu {
    position: relative;
  }
  div#sidebar-menu.menu-open nav {
    transform: translateX(0);
  }
  div#sidebar-menu.menu-closed nav {
/*    transform: translateX(-100%);*/
  }
  .info-destacada {
    
    padding: 17px 10px;
}
  div#sidebar-menu nav {
    width: 250px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    background: #fff;
    z-index: 100000000;
    position: absolute;
    /* top: 46px; */
    padding-top: 40px;
    padding-bottom: 20px;
    height: 100%;
    transition: .3s;
    transform: translateX(-100%);
  }
  #menu-toggle {
    font-size: 25px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-weight: normal;
    margin-right: 25px;
    color: #000;
  }
  
  #sidebar-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: inherit;
    height: 100%;
    /* background: rgba(0,0,0,.5); */
    transform: translateX(-100%);
    transition: opacity 0.3s ease;
    /* transition: .4s; */
  }
  
  #sidebar-menu.menu-open {
    transform: translateX(0);
    opacity: 1;
  }
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .category-item, .sub-category-item, .sub-sub-category-item  {
    padding: 5px 15px;
    background: #fff;
    /* border-bottom: 1px solid #ddd; */
    cursor: pointer;
    display: flex;
    background: url('../images/flecha_menu.svg');
    background-repeat: no-repeat;
    background-position: right center;
    margin-right: 15px;
    align-items: center;
  }
  
  li.sub-sub-category-item {
  background-image: none;
  }
  
  li.sub-sub-category-item a {
  color: #000;
  }
  
  .sub-category-list {
    position: absolute;
    top: 0;
    left: 100%;  /* Desplazarlo a la derecha inicialmente */
    width: 250px;
    background: #fff;
    height: 100%;
    transform: translateX(100%);  /* Oculto inicialmente */
    transition: transform 0.3s ease;
    padding: 40px 0 20px;
    display: block;
  }
  
  .sub-category-list.hidden {
    display: none;
  }
  
  .sub-category-list .back {
    padding: 15px;
    cursor: pointer;
    /* background: #ddd; */
    top: 0;
    position: absolute;
    padding: 10px;
    display: flex;
    align-items: center;
  }
  
  li.back img {
  margin-right: 10px;
  }
  
  /* Cuando se desplace desde la izquierda */
  .sub-category-list.show {
    transform: translateX(0);
    left: 0;
  }
  
  .buscador {
        position: absolute;
        top: 40px;
        background: #fff;
        padding: 15px;
        right: 0;
        padding-top: 25px;
        box-shadow: 1px -1px 12px -1px rgba(0, 0, 0, 0.75);
        -webkit-box-shadow: 1px -1px 12px -1px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 1px -1px 12px -1px rgba(0,0,0,0.75);
        min-width: 360px;
  }
  .buscador form label,
  .buscador form label input{
    width: 100%;
  }
  .buscador form{
    margin: 0;
    display: flex;  
  }
  span#cerrar-buscador {
        top: 0;
        right: -5px;
        margin: 3px 0px;
  }
  
  .site-branding .logo{
/*    padding: 15px;*/
  }
  







    button.menu-toggle2 {
        position: absolute;
        top: 0;
        right: 0;
        font-weight: normal;
        background: none;
        padding: 10px 15px;
    }
    div#sidebar-menu h2 {
        border-bottom: solid 1px #D5D5D5;
        padding: 5px 10px;
        margin: 5px 10px;
        font-size: 15px;
        font-family: 'Montserrat';
        font-weight: 500;
    }
    li.category-item img {
        width: 16px;
        height: 16px;
        margin-right: 10px;
        /* border: solid; */
    }
    .woocommerce-active .site-header .site-header-cart {
        width: auto;
    }
    .wc-block-cart-item__quantity {
        display: flex;
        justify-content: space-between;
    }
    .wc-block-cart-item__wrap {
        padding-right: 10px;
    }
    .wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block {
        background: #fff;
        padding: 0px 10px 0 10px!important;
        position: relative;
      }
      .wc-block-components-product-price__value.is-discounted{
        margin-left: 0!important;
      }
    .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block{
        margin: 20px 0;
        padding: 10px!important;

    }

    /************** Footer Mobile *****************/
    .footer .menus-footer {
        flex-direction: column;
        text-align: center;
    }

    footer .logo img {
        max-width: 70%;
        margin: auto;
    }

    .footer .logo a.btn.btn-arrepentimiento {
        display: none;
    }

    .footer .logo.arrepentimiento-mobile {
        margin-top: 40px;
    }

    .footer .logo.arrepentimiento-mobile a.btn.btn-arrepentimiento {
        display: block;
        max-width: 230px;
        font-size: 12px;
        margin: auto;
    }

    .footer .menus-footer {
        flex-direction: column;
        text-align: center;
    }
    .footer .menus-footer h2 {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    /***** MI CUENTA ****/
    .woocommerce-account .entry-content .woocommerce {
        display: flex;
        flex-direction: column;
    }
    .left-sidebar:not(.page-template-template-fullwidth-php) .woocommerce-MyAccount-content {
        margin-left: 0;
        background: #fff;
        padding: 25px;
        margin-top: 25px;
    }
    .col2-set#customer_login .col-1, .col2-set.addresses .col-1,
    .col2-set#customer_login .col-2, .col2-set.addresses .col-2{
        width: 100%;
    }
    .col2-set#customer_login .col-2, .col2-set.addresses .col-2{
        margin-top: 25px;
    }
    /***************** MENU *********************/
    #mobile-menu {
        position: relative;
    }
    div#sidebar-menu nav {
        width: 250px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        background: #fff;
        z-index: 100000000;
        position: absolute;
        /* top: 46px; */
        padding-top: 40px;
        padding-bottom: 20px;
        height: 100%;
    }
    #menu-toggle {
        font-size: 25px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        font-weight: normal;
        margin-right: 25px;
        color: #000;
    }
   
    #sidebar-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.5);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 100;
    }
    
    #sidebar-menu.menu-open {
        transform: translateX(0);
    }
    
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .category-item, .sub-category-item, .sub-sub-category-item  {
        padding: 5px 15px;
        background: #fff;
        /* border-bottom: 1px solid #ddd; */
        cursor: pointer;
        display: flex;
        background: url('../images/flecha_menu.svg');
        background-repeat: no-repeat;
        background-position: right center;
        margin-right: 15px;
        align-items: center;
    }

    li.sub-sub-category-item {
        background-image: none;
    }

    li.sub-sub-category-item a {
        color: #000;
    }
    
    .sub-category-list {
        position: absolute;
        top: 0;
        left: 100%;  /* Desplazarlo a la derecha inicialmente */
        width: 250px;
        background: #fff;
        height: 100%;
        transform: translateX(100%);  /* Oculto inicialmente */
        transition: transform 0.3s ease;
        padding: 40px 0 20px;
        display: block;
    }
    
    .sub-category-list.hidden {
        display: none;
    }
    
    .sub-category-list .back {
        padding: 15px;
        cursor: pointer;
        /* background: #ddd; */
        top: 0;
        position: absolute;
        padding: 10px;
        display: flex;
        align-items: center;
    }

    li.back img {
        margin-right: 10px;
    }
    
    /* Cuando se desplace desde la izquierda */
    .sub-category-list.show {
        transform: translateX(0);
        left: 0;
    }
    
    

}