/*******CSS FOR MOBILE - 767px******/
@media only all and (max-width: 767px) {

    /*Header*/
    .site_header {
        padding-top: 16px;
    }

    .header_top {
        flex-direction: column;
        align-items: stretch !important;
        gap: 14px;
        margin-bottom: 16px;
    }

    .header_top .subname {
        text-align: center;
        font-size: 12px;
    }

    .header_actions {
        width: 100%;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .search_box {
        order: 1;
        width: 100%;
        height: 40px;
    }

    .header_phone {
        order: 2;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .header_login,
    .header_cart {
        order: 3;
        font-size: 20px;
    }

    .header_login {
        margin-right: 0;
    }

    .main_nav {
        width: 100%;
        height: auto;
        min-height: 56px;
        padding: 7px 18px;
        border-radius: 18px;
        flex-wrap: wrap;
    }

    .navbar-brand img {
        width: 145px;
        height: auto;
    }

    .main_nav .navbar-nav {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 14px;
        flex-direction: column;
        gap: 6px;
    }

    .main_nav .nav-link {
        padding: 8px 0;
        font-size: 13px;
        border-bottom: 1px solid #edf1f3;
    }

    .main_nav .nav-link:last-child {
        border-bottom: 0;
    }

    .main_nav .dropdown-menu {
        position: static;
        float: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px 12px;
        margin: 0;
    }

    .main_nav .dropdown-item {
        font-size: 12px;
        padding: 6px 0;
    }

    /*Login y registro*/
    .auth_row{
        padding: 75px 26px;
    }
    .auth_image{
        display: none;
    }

    .auth_panel{
        width: 100%;
        max-width: 100%;
    }


    /*Home*/
    .hero_section {
        margin-top: -12px;
    }

    .hero_box {
        height: 520px;
        border-radius: 20px;
    }

    .hero_box::after {
        background: rgba(28, 39, 45, .62);
    }

    .hero_content {
        left: 22px;
        right: 22px;
        bottom: 28px;
        display: block;
    }

    .hero_content h1 {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 32px;
        line-height: 1.12;
    }

    .hero_text {
        max-width: 100%;
    }

    .hero_text p {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.45;
    }

    .btn_cta {
        width: 100%;
        justify-content: center;
    }

    .benefits_section {
        padding: 26px 0;
    }

    .benefit_item {
        justify-content: flex-start;
        gap: 14px;
        margin-bottom: 14px;
    }

    .benefit_icon {
        font-size: 48px;
    }

    .benefit_item p {
        font-size: 16px;
    }

    .category_large img {
        right: 25%;
        width: 52%;
    }

    .category_small img {
        right: 36%;
        width: 36%;
    }

    .categories_section {
        padding-bottom: 22px;
    }

    .slider_controls {
        margin: 22px 0;
    }

    .product_slider .product_card {
        flex: 0 0 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }

    .info_section {
        padding: 6px 0 48px;
    }

    .info_card {
        min-height: auto;
        padding: 24px;
        border-radius: 10px;
        gap: 18px;
    }

    .info_card h3 {
        font-size: 20px;
    }

    .info_card p {
        max-width: 100%;
        height: auto;
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.4;
    }

    .info_card img {
        width: 82px;
        height: 82px;
        flex-shrink: 0;
    }

    .info_card .btn_cta2 {
        width: 100%;
        justify-content: center;
    }

    .featured_section .product_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .brands_section {
        padding: 0;
    }

    .brands_list {
        gap: 16px;
    }

    .brand_item img {
        max-height: 62px;
    }

    .site_footer {
        padding: 36px 0 22px;
    }

    .site_footer .row {
        row-gap: 34px;
    }

    .site_footer .col-3 {
        width: 100%;
    }

    .site_footer h3 {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .site_footer a,
    .site_footer p {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .footer_bottom {
        margin-top: 34px;
        padding-top: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer_bottom p {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer_bottom img {
        max-width: 180px;
    }

    /* Filtro categorias */
    .products_toolbar {
        justify-content: space-between;
        margin-bottom: 24px;
    }

    .filter_btn {
        font-size: 14px;
        padding: 0 14px;
    }

    /*Productos*/
    .product_info {
        margin-top: 32px;
    }

    .btn_cart,
    .btn_buy {
        font-size: 12.35px;
    }

    .product_tabs {
        padding-top: 15px;
    }

    .product_tabs_nav {
        gap: 12px;
        flex-flow: nowrap;
    }

    .product_tabs_nav button {
        font-size: 18px;
    }

    .product_benefits {
        padding: 42px 0;
    }

    .benefits_grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .benefit_logo {
        text-align: center;
        margin-bottom: 8px;
    }

    .benefit_logo img {
        width: 170px;
        height: auto;
        margin-bottom: 10px;
    }

    .benefit_logo .marca_text_fallback {
        font-size: 16px;
    }

    .benefit_logo p {
        margin-bottom: 0;
        font-size: 12px;
        line-height: 1.4;
    }

    .benefit_box {
        min-height: auto;
        padding: 18px 16px;
    }

    .benefit_box h3 {
        margin-bottom: 8px;
        font-size: 15px;
        line-height: 1.2;
    }

    .benefit_box p {
        font-size: 14px;
        line-height: 1.35;
    }

    .related_products h2 {
        font-size: 16px;
    }
    .related_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /*Contacto*/
    .contact_info_box h2 {
        font-size: 22px;
    }
    .contact_info_item a {
        font-size: 13px;
    }
    .page-wrapper.__pages{
        padding: 40px 0;
    }
    .pages_content h1 {
        font-size: 28px;
    }
    .pages_content h2 {
        font-size: 16px;
    }
}



/*******CSS FOR TABLET******/
@media (min-width: 768px) and (max-width: 991px) {

    /*Header*/
    .site_header {
        padding-top: 20px;
    }

    .header_top {
        gap: 18px;
        margin-bottom: 18px;
        flex-wrap: wrap;
    }

    .header_top .subname {
        width: 100%;
        text-align: center;
        font-size: 13px;
    }

    .header_actions {
        width: 100%;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .search_box {
        width: 320px;
    }

    #mobileMenu .search_box {
        width: 100%;
    }

    .header_phone {
        font-size: 14px;
    }

    .header_login,
    .header_cart {
        font-size: 19px;
    }

    .header_login {
        margin-right: -6px;
    }

    .main_nav {
        width: 100%;
        height: auto;
        min-height: 64px;
        padding: 11px 22px;
        border-radius: 22px;
        flex-wrap: wrap;
    }

    .navbar-brand img {
        width: 155px;
        height: auto;
    }

    .main_nav .navbar-nav {
        width: 100%;
        margin-top: 16px;
        margin-left: 0 !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .main_nav .nav-link {
        padding: 6px 8px;
        font-size: 12px;
    }

    .main_nav .dropdown-menu {
        border-radius: 10px;
        border: 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    }

    .main_nav .dropdown-item {
        font-size: 13px;
        padding: 8px 14px;
    }

    /*Login y registro*/
    .auth_image{
        display: none;
    }
    .auth_panel{
        width: 100%;
        max-width: 100%;
    }

    /*Home*/
    .hero_section {
        margin-top: -18px;
    }

    .hero_box {
        height: 520px;
        border-radius: 24px;
    }

    .hero_content {
        left: 36px;
        right: 36px;
        bottom: 36px;
        gap: 32px;
    }

    .hero_content h1 {
        max-width: 380px;
        font-size: 34px;
    }

    .hero_text {
        max-width: 320px;
    }

    .hero_text p {
        font-size: 15px;
    }

    .benefit_item p {
        font-size: 18px;
    }

    .category_large img {
        right: 20%;
        width: 60%;
    }

    .product_slider .product_card {
        flex: 0 0 calc((100% - 26px) / 2);
        max-width: calc((100% - 26px) / 2);
    }

    .info_card {
        flex-direction: column-reverse;
    }

    .info_card p {
        max-width: 100%;
        height: 145px;
    }

    .info_card img {
        margin-bottom: 16px;
    }

    .featured_section .product_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site_footer {
        padding: 38px 0 18px;
    }

    .site_footer .row {
        row-gap: 32px;
    }

    .site_footer .col-3 {
        width: 50%;
    }

    .site_footer h3 {
        margin-bottom: 14px;
        font-size: 15px;
    }

    .site_footer a,
    .site_footer p {
        font-size: 14px;
        line-height: 1.45;
    }

    .footer_bottom {
        margin-top: 32px;
        padding-top: 18px;
        gap: 20px;
    }

    .footer_bottom p {
        max-width: 500px;
        font-size: 12px;
        line-height: 1.4;
    }

    .footer_bottom img {
        max-width: 190px;
    }

    /*Categorias*/
    /* Filtro categorias */
    .products_toolbar {
        justify-content: space-between;
        margin-bottom: 24px;
    }

    /*Productos*/
    .product_benefits {
        padding: 56px 0;
    }

    .benefits_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .benefit_logo {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 4px;
    }

    .benefit_logo img {
        width: 190px;
        height: auto;
        margin-bottom: 10px;
    }

    .benefit_logo p {
        margin-bottom: 0;
        font-size: 13px;
    }

    .benefit_box {
        min-height: 130px;
        padding: 20px 16px;
    }

    .benefit_box h3 {
        font-size: 15px;
    }

    .benefit_box p {
        font-size: 14px;
    }

    .related_grid {
        grid-template-columns: repeat(3, 1fr);
    }


}



@media (max-width: 991.98px) {
    .navbar-nav.__desk,
    .filtro_cat {
        display: none !important;
    }
    .related_grid.is_carousel .product_card {
        flex: 0 0 calc((100% - 48px) / 3);
    }
}
@media (min-width: 992px) {
    .mobile_menu_btn,
    .filter_btn {
        display: none !important;
    }

}

@media (max-width: 575px) {
    .related_grid.is_carousel .product_card {
        flex: 0 0 100%;
    }
}

/*Tablet pro: min.992 - max. 1200
@media only screen and (min-width: 992px) and (max-width: 1200px)*/



.invisible {
    visibility: hidden !important;
}

.hidden-xs-up {
    display: none !important;
}

@media (max-width: 575px) {
    .hidden-xs-down {
        display: none !important;
    }
}

@media (min-width: 576px) {
    .hidden-sm-up {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hidden-sm-down {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hidden-md-up {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hidden-md-down {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .hidden-lg-up {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .hidden-lg-down {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .hidden-xl-up {
        display: none !important;
    }
}

.hidden-xl-down {
    display: none !important;
}