/* =========================
   ANTI SCROLL HORIZONTAL (FIX)
========================= */
html, body {
    overflow-x: hidden;
}

/* =========================
   BOTÓN PRINCIPAL (FIX)
========================= */

.btn-principal {
    font-weight: 500;
    font-size: 14px;
    padding: 10px 22px;
    border: 2px solid var(--color-primario);
    background-color: var(--color-primario);
    border-radius: 50px;
    color: var(--color-secundario);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* hover */
.btn-principal:hover {
    background-color: var(--color-secundario);
    color: var(--color-primario);
    border-color: var(--color-secundario);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* icono */
.btn-principal i {
    transition: transform 0.3s ease;
}

.btn-principal:hover i {
    transform: translateX(4px);
}

/* =========================
   CATEGORÍAS
========================= */

.supermarket_deals_carousel {
    overflow: visible !important;
}

/* Evita que slick deforme los items */
.supermarket_deals_carousel .slideshow5_slider .item {
    padding: 10px;
}

/* CARD */
.supermarket_deals_carousel .category_card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 18px;
    position: relative;
    transition: all .3s ease;
    border: 1px solid #f1f1f1;
    overflow: hidden;
    /* CLAVE PARA RESPONSIVE */
    width: 100%;
    height: 100%;
    min-height: auto;
}

/* hover */
.supermarket_deals_carousel .category_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #eaeaea;
}

/* IMAGEN */
.supermarket_deals_carousel .category_image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 12px;
}

.supermarket_deals_carousel .category_image img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    transition: transform .3s ease;
}

.supermarket_deals_carousel .category_card:hover .category_image img {
    transform: scale(1.08);
}

/* TEXTO */
.supermarket_deals_carousel .category_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.supermarket_deals_carousel .category_title a {
    color: #222;
    text-decoration: none;
}

.supermarket_deals_carousel .category_meta {
    font-size: 13px;
    color: #888;
}

.supermarket_deals_carousel .item.col {
    flex: 0 0 auto;
    width: auto !important;
}

/* =========================
   SECCIÓN PRODUCTOS
========================= */
.product_section {
    background: #f8fafc;
}

/* Título */
.medical_section_title .title_text {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    position: relative;
}

.medical_section_title .title_text::after {
    content: "";
    width: 60px;
    height: 4px;
    background: var(--color-secundario);
    display: block;
    margin-top: 8px;
    border-radius: 10px;
}

/* =========================
   CARD PRODUCTO
========================= */
.medical_product_item {
    border-radius: 18px;
    padding: 18px;
    position: relative;
    transition: all .3s ease;
    border: 1px solid #eef2f7;
    overflow: visible;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px !important;
    background: #fff !important;
}

.medical_product_item:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); */
}

/* Wishlist */
.wishlist_btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: .3s;
}

.wishlist_btn:hover {
    background: #ef4444;
    color: #fff;
}

/* Badge marca */
.brand_badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-secundario);
    color: #fff;
    font-size: 7px;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 10;
}

.item_image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Título */
.item_title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 8px 0 !important;
    line-height: 1.4 !important;
}

.item_title a {
    color: var(--color-secundario) !important;
    text-decoration: none;
    transition: .3s;
    font-size: 16px !important;
}

/* Categoría */
.category_text {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.price_box {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto !important;
}

/* Precio anterior */
.old_price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 13px;
}

/* Precio actual */
.price_text {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000 !important;
    margin-bottom: 0px !important;
}

/* =========================
   NAV SLIDER
========================= */
.carousel_nav button {
    background: #fff;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .3s;
}

.carousel_nav button:hover {
    background: #0ea5e9;
    color: #fff;
}

/* detalle producto */
.zoom-container {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.zoom-container img {
    width: 100%;
    transition: transform 0.4s ease;
}

.zoom-container:hover img {
    transform: scale(1.4);
    /* nivel de zoom */
    cursor: zoom-in;
}

.shop_details_image .nav li a {
    display: inline-block;
    border: 2px solid transparent;
    transition: 0.3s;
    border-radius: 4px;
}

.shop_details_image .nav li a.active {
    border: 2px solid #28a745;
}

.shop_details_image .nav li a:hover {
    border: 2px solid #28a745;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* CANTIDAD */

.custom-qty span:hover {
    background: var(--color-secundario);
    color: #fff !important;
}

.custom-qty input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-weight: bold;
}

.shop_details_content .quantity_input {
    border-radius: 20px;
    border: 2px solid var(--color-secundario);
}

/* BOTÓN CARRITO */
.btn-cart {
    background: var(--color-secundario);
    color: #fff;
    padding: 12px 22px;
    border-radius: 20px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}

.btn-cart:hover {
    color: white;
    transform: translateY(-2px);
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 12px 22px;
    border-radius: 20px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    color: white;
    transform: translateY(-2px);
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-category {
    background: var(--color-secundario);
    color: var(--color-primario);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: 0.3s;
    cursor: default;
}

.product-price-box {
    font-size: 14px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.price-row .label {
    color: #777;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.new-price {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.discount-badge {
    background: #3b2f2f;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.shipping-box {
    transition: all .25s ease;
    cursor: pointer;
}

.shipping-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #ddd !important;
}

.badge-discount-black {
    background: url('/assets/images/tienda_virtual/badge-discount-black.svg') no-repeat center;
    background-size: contain;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    position: relative;
    margin-left: 10px;
}

.thumbnail-border {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 3px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.thumbnail-border img {
    border-radius: 6px;
}

.thumbnail-border-selected {
    border: 2px solid #28c76f;
    box-shadow: 0 0 0 2px rgba(40, 199, 111, 0.2);
    transform: scale(1.05);
}

/* separación entre cards */
.medical_product_group .item {
    padding: 12px;
    box-sizing: border-box;
}

/* evita cortes del shadow */
.medical_product_group .slick-list {
    margin: 0 -12px;
}

/* altura uniforme */
.medical_product_item {
    height: 100%;
}

/* =========================
   PRODUCTOS MOBILE PREMIUM
========================= */

@media (max-width: 576px) {

    /* .supermarket_product_columns {
        display: flex !important;
        flex-wrap: wrap !important;
        margin: 0 -7px !important;
    }

    .supermarket_product_columns>li {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        padding: 7px !important;
        display: block !important;
    }

    .supermarket_product_listlayout {
        position: relative;
        overflow: hidden;
        width: 100% !important;
        background: #fff !important;
        border-radius: 18px !important;
        border: 1px solid #eee !important;

        display: flex !important;
        flex-direction: column !important;

        height: 100% !important;
        min-height: 420px !important;

        transition: .3s ease !important;
    }

    .supermarket_product_listlayout:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    .supermarket_product_listlayout .item_image {
        width: 100% !important;
        height: 180px;
        background: #ffffff;
        overflow: hidden;
        margin-bottom: 0 !important;
    } */

    .supermarket_product_listlayout .item_image .item {
        height: 100%;
    }

    .supermarket_product_listlayout .item_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* CONTENIDO */
    /*  .supermarket_product_listlayout .item_content {
        width: 100% !important;
        padding: 14px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    } */

    /* MARCA */
    .supermarket_product_listlayout .item_type {
        font-size: 10px;
        padding: 4px 10px;
        border-radius: 30px;
        margin-bottom: 8px;
        width: fit-content;
    }

    /* TITULO */
    .supermarket_product_listlayout .item_title {
        font-size: 14px !important;
        line-height: 1.4;
        margin-bottom: 8px;
        min-height: 40px;
    }

    .supermarket_product_listlayout .item_title a {
        font-size: 12px !important;
        color: var(--color-secundario) !important;
        text-decoration: none;
        font-weight: 400;
    }

    /* CATEGORIA */
    .supermarket_product_listlayout .category_text {
        font-size: 12px;
        color: #777;
        margin-bottom: 10px;
    }

    /* PRECIOS */
    .supermarket_product_listlayout .price_box {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .supermarket_product_listlayout .old_price {
        font-size: 12px;
        color: #999;
    }

    .supermarket_product_listlayout .price_text {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #000 !important;
    }

}

/* tablets */
@media (max-width: 992px) {
    .supermarket_deals_carousel .category_card {
        min-height: 220px;
        padding: 18px 14px;
    }
}

/* móviles */
@media (max-width: 576px) {
    .supermarket_deals_carousel .category_card {
        min-height: 200px;
        padding: 16px 12px;
    }

    .supermarket_deals_carousel .category_title {
        font-size: 14px;
    }
}

.topbar_marquee {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
}

#topbar-text {
    display: inline-block;
    transition: opacity .5s ease;
}

/* =========================
   COLUMNAS
========================= */

/* PC = 5 */
@media (min-width: 1200px) {
    .supermarket_product_columns>li {
        width: 20% !important;
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
}

/* TABLET = 3 */
@media (max-width: 1199px) and (min-width: 768px) {
    .supermarket_product_columns>li {
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
}

/* MOBILE = 2 */
@media (max-width: 767px) {
    .supermarket_product_columns>li {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* =========================
   CARD
========================= */

.supermarket_product_listlayout {
    width: 100% !important;
    background: #fff !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid #eee !important;

    display: flex !important;
    flex-direction: column !important;

    height: 100% !important;
    min-height: 420px !important;

    transition: .3s ease !important;
}

.supermarket_product_listlayout:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08) !important;
}

/* =========================
   IMAGEN
========================= */

.supermarket_product_listlayout .item_image img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 190px !important;

    object-fit: contain !important;

    margin: 0 auto !important;

    position: relative !important;
    top: 0 !important;
    bottom: 0 !important;

    transition: .3s ease !important;
}

.supermarket_product_listlayout:hover .item_image img {
    transform: scale(1.04) !important;
}

/* SUBSCRIPCION */
.newsletter_subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 18px;
}

.newsletter_form .form_item {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 620px;
    margin: auto;
}

.newsletter_form input {
    width: 100%;
    height: 60px;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 0 22px;
    font-size: 15px;
    color: #111;
    background: #fff;
    transition: all .3s ease;
}

.newsletter_form input:focus {
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    outline: none;
}

.newsletter_form button {
    height: 60px;
    padding: 0 34px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all .3s ease;
    white-space: nowrap;
}

.newsletter_form button:hover {
    opacity: .92;
}

.newsletter_form small {
    display: block;
    margin-top: 22px;
    color: #888;
    font-size: 13px;
}

.recaptcha_wrapper {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

/* LABELS */
.product_label {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 9;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
}

.product_label li {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 400 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* NUEVO */
.label_new {
    background: #82ca9c;
    width: auto !important;
    padding: 0 14px;
    border-radius: 8px !important;
    letter-spacing: 1px;
    font-size: 11px;
}

/* DESTACADO */
.label_featured {
    background: #f7b731 !important;
    font-size: 14px;
}

.product-benefits-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 430px;
}

.product-benefit-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    transition: 0.3s ease;
}

.product-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.product-benefit-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-benefit-icon i {
    font-size: 18px;
}

/* COLORS */
.product-benefit-icon.shipping {
    background: #e9fff1;
}

.product-benefit-icon.shipping i {
    color: #25D366;
}

.product-benefit-icon.fast {
    background: #fff4e5;
}

.product-benefit-icon.fast i {
    color: #ff9800;
}

.product-benefit-icon.secure {
    background: #ffeaea;
}

.product-benefit-icon.secure i {
    color: #ff4d4d;
}

.product-benefit-icon.support {
    background: #eaf4ff;
}

.product-benefit-icon.support i {
    color: #2196f3;
}

.product-benefit-content h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.product-benefit-content span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #777;
}

.product_description_card {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 32px;
    border-radius: 10px;
}

.product_description_header {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.product_title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    letter-spacing: .2px;
}

.product_description_body {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.7;
}

.product_description_body p {
    margin-bottom: 14px;
}

.product_description_body ul {
    padding-left: 18px;
}

.product_description_body img {
    max-width: 100%;
    border-radius: 6px;
}

@media (max-width: 768px) {

    /* =========================
       CENTRAR TÍTULOS SECCIONES
    ========================= */

    .medical_section_title {
        text-align: center;
    }

    .medical_section_title .title_text {
        text-align: center;
        display: inline-block;
    }

    .medical_section_title .title_text::after {
        margin-left: auto;
        margin-right: auto;
    }

    /* =========================
       PRODUCTOS / DETALLES
    ========================= */

    .product_title {
        text-align: center;
    }

    .product_description_header {
        text-align: center;
    }


}

.fm_offer_item.has_border {
    border: 4px solid var(--color-secundario);
}

.menu_item_has_child>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.arrow_icon {
    font-size: 11px;
    transition: transform .3s ease;
    opacity: .8;
}

/* Rotación al hover (look profesional tipo ecommerce) */
.menu_item_has_child:hover .arrow_icon {
    transform: rotate(180deg);
}

/* =========================================
   MENÚ CATEGORÍAS - LISTA VERTICAL (subcategorías una debajo de otra)
   ========================================= */
.menu_item_has_child .submenu.submenu_flat {
    min-width: 260px;
    max-height: 480px;
    overflow-y: auto;
}

.menu_item_has_child .submenu.submenu_flat > li > a {
    font-weight: 700;
    color: #2e2e2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu_subcat_icon {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: var(--color-secundario);
}

.submenu_flat_children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.submenu_flat_children > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    font-size: 14px;
    padding: 11px 30px 11px 42px;
    white-space: nowrap;
    color: #6b6b6b;
    transition: all .3s ease;
}

.submenu_flat_children > li:hover > a {
    color: var(--color-secundario);
    background-color: #f5f5f5;
}

/* Scroll elegante */
.submenu_flat::-webkit-scrollbar {
    width: 6px;
}

.submenu_flat::-webkit-scrollbar-thumb {
    background: #d6d6d6;
    border-radius: 10px;
}

/* dark mode */
html[data-theme="dark"] .menu_item_has_child .submenu.submenu_flat {
    background: #1f1f1f;
}

html[data-theme="dark"] .menu_item_has_child .submenu.submenu_flat > li > a {
    color: #eee;
}

html[data-theme="dark"] .submenu_flat_children > li > a {
    color: #bbb;
}

html[data-theme="dark"] .submenu_flat_children > li:hover > a {
    color: var(--color-secundario);
    background-color: #2c2c2c;
}

.custom_category_sidebar {
    display: flex;
    flex-direction: column;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Scroll elegante */
.custom_category_sidebar::-webkit-scrollbar {
    width: 5px;
}

.custom_category_sidebar::-webkit-scrollbar-thumb {
    background: #d6d6d6;
    border-radius: 20px;
}

.custom_category_sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.category_sidebar_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    transition: all .2s ease;
    gap: 10px;
}

.category_sidebar_item span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.category_sidebar_item small {
    color: #999;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.category_sidebar_item:hover span {
    color: var(--color-secundario);
    padding-left: 4px;
}

.category_sidebar_item:last-child {
    border-bottom: none;
}

.price_filter_box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price_inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price_inputs input {
    width: 100%;
    height: 38px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    outline: none;
    transition: .2s;
}

.price_inputs input:focus {
    border-color: var(--color-secundario);
}

.price_inputs span {
    color: #999;
    font-weight: 600;
}

.price_filter_btn {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: var(--color-secundario);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .25s ease;
}

.price_filter_btn:hover {
    background: #111;
    transform: translateY(-1px);
}

.electronic_sidebar .sb_widget_title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin-bottom: 18px !important;
}

.brand_filter_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand_filter_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: .2s ease;
}

.brand_filter_item:last-child {
    border-bottom: none;
}

.brand_text {
    font-size: 14px;
    font-weight: 400;
    color: #444;
    transition: .2s;
}

.brand_filter_item:hover .brand_text {
    color: var(--color-secundario);
    padding-left: 4px;
}

.brand_filter_item input {
    display: none;
}

/* círculo tipo ecommerce */
.brand_check {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ccc;
    position: relative;
    transition: .2s;
}

/* cuando está seleccionado */
.brand_filter_item input:checked+.brand_text+.brand_check {
    background: var(--color-secundario);
    border-color: var(--color-secundario);
}

.brand_filter_item input:checked+.brand_text {
    color: var(--color-secundario);
    font-weight: 500;
}

.product_search_box {
    width: 100%;
    padding: 0;
    overflow: visible;
}

.search_form {
    width: 100%;
}

.search_input_group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    height: 42px;
    box-sizing: border-box;
}

.search_input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 14px;
    height: 100%;
    font-size: 14px;
    min-width: 0;
    box-sizing: border-box;
}

.search_btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search_btn:hover {
    background: #333;
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #25d366;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
}

@media (min-width: 992px) {
    .action_btns_group .header-whatsapp-item {
        flex: 0 0 155px;
        display: flex;
        justify-content: flex-end;
    }
}

.header-whatsapp i {
    font-size: 21px;
}

.header-whatsapp-number {
    display: inline-block;
    overflow: hidden;
    min-width: 10px;
    border-right: 2px solid currentColor;
    padding-right: 2px;
    animation: header-whatsapp-caret .7s step-end infinite;
}

@keyframes header-whatsapp-caret {
    0%,
    100% {
        border-color: currentColor;
    }

    50% {
        border-color: transparent;
    }
}

.header-whatsapp:hover {
    color: #128c7e;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .header-whatsapp span {
        display: none;
    }

    .header-whatsapp i {
        font-size: 20px;
        margin-top: 7px;
    }
}

.product_grid_bg {
    background: #f7f7f7 !important;
    padding: 20px;
    border: 2px solid #ededed;
}

.product_list_bg {
    background: #f7f7f7 !important;
    padding: 20px;
    border: 2px solid #ededed;
}

.filtros-productos-grid {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #ededed;
    background-color: #fcfcfc;
    padding: 20px;
    margin-bottom: 20px;
}

#grid_layout .medical_product_item {
    min-height: 100% !important;
}

#grid_layout .electronic_product_columns {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin: 0 -8px !important;
    padding: 0;
}

/* ITEM BASE */
#grid_layout .electronic_product_columns>li {
    display: flex !important;
    padding: 10px !important;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    #grid_layout .electronic_product_columns>li {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    #grid_layout .electronic_product_columns>li {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* SOLO TABLET Y MÓVIL */
@media (max-width: 991px) {

    #grid_layout .item_content {
        text-align: left !important;
        align-items: flex-start !important;
    }

    #grid_layout .item_content a {
        font-size: 13px !important;
        text-align: left !important;
        display: block;
    }

    #grid_layout .item_title {
        font-size: 13px !important;
        text-align: left !important;
        line-height: 1.3;
    }

    /* CATEGORIA */
    #grid_layout .category_text {
        font-size: 11px !important;
        text-align: left !important;
        opacity: 0.8;
    }

    /* PRECIO SIEMPRE A LA IZQUIERDA */
    #grid_layout .price_box {
        justify-content: flex-start !important;
        display: flex;
        width: 100%;
    }

    #grid_layout .price_text,
    #grid_layout .old_price {
        font-size: 12px !important;
    }

    /* MARCA */
    #grid_layout .brand_badge {
        font-size: 10px !important;
        text-align: left !important;
    }
}

@media (max-width: 575px) {
    #grid_layout .electronic_product_columns>li {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.item_content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px;
}

.category_sidebar_item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.2s;
    color: #333;
    text-decoration: none;
}

.category_sidebar_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.2s;
}

.category_sidebar_item a {
    text-decoration: none;
    color: inherit;
}

.category_sidebar_item.active span {
    color: var(--color-secundario) !important;
    font-weight: 600;
}

.remove_filter {
    margin-left: 10px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    padding: 0 6px;
    border-radius: 50%;
    transition: 0.2s;
}

.remove_filter:hover {
    color: red;
}

.main_menu ul li a.active-menu {
    color: var(--color-secundario);
    position: relative;
    font-weight: 600;
}

.main_menu ul li a.active-menu::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--color-secundario);
    border-radius: 2px;
}

.search_overlay {
    background: rgba(0, 0, 0, 0.55);
}

.search_body {
    padding: 20px 15px;
}

.search_form {
    max-width: 600px;
    margin: 0 auto;
}

/* CONTENEDOR INPUT + BOTÓN */
.search_inline {
    position: relative;
}

/* INPUT LIMPIO Y DELGADO */
.search_inline input {
    width: 100%;
    color: black !important;
    padding: 10px 42px 10px 12px;
    /* espacio para el icono */
    font-size: 14px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    outline: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* BOTÓN DENTRO */
.search_inline button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: var(--color-secundario);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

/* HOVER SUAVE */
.search_inline button:hover {
    opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .search_form {
        max-width: 100%;
    }

    .search_inline input {
        font-size: 13px;
        padding: 9px 40px 9px 10px;
    }

    .search_inline button {
        width: 32px;
        height: 32px;
    }
}

.topbar_main {
    background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 10px !important;
    padding: 9px 0;
    line-height: 1;
}

.fashion_minimal_header .header_top.topbar_main {
    min-height: auto;
}

.fashion_minimal_header .contact_info > li,
.fashion_minimal_header .contact_info > li:not(:last-child) {
    height: auto;
    margin-right: 10px;
    padding-right: 10px;
    line-height: 1;
}

/* CONTENEDOR FLEX PRINCIPAL */
.topbar_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 0;
}

/* IZQUIERDA */
.topbar_left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* redes */
.topbar_left ul {
    display: flex;
    gap: 6px;
    margin: 0;
}

/* texto al lado de redes */
.topbar_text {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* DERECHA */
.topbar_right ul {
    display: flex;
    gap: 14px;
    margin: 0;
    align-items: center;
}

/* iconos */
.topbar_main i {
    color: var(--color-secundario);
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .topbar_flex {
        flex-direction: column;
        gap: 6px;
    }

    .topbar_left,
    .topbar_right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .topbar_text {
        font-size: 11px;
    }
}

/* BLOG */
.blog_section {
    position: relative;
    background: linear-gradient(180deg, #f8f9fb 0%, #f3f5f9 100%);
    overflow: hidden;
}

.blog_section::before {
    content: "";
    position: absolute;
    top: -18%;
    right: -8%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.blog_section > .container {
    position: relative;
    z-index: 1;
}

.blog_card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); */
    height: 100%;
    transition: all .3s ease;
    position: relative;
}

.blog_card:hover {
    transform: translateY(-8px);
    /*  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); */
}

/* IMAGE */
.blog_image {
    display: block;
    position: relative;
    overflow: hidden;
}

.blog_image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog_card:hover .blog_image img {
    transform: scale(1.08);
}

/* overlay suave */
.blog_image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

/* DATE */
.blog_date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 999px;
    z-index: 2;
    backdrop-filter: blur(6px);
}

/* CONTENT */
.blog_content {
    padding: 20px;
}

.blog_category {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background: var(--color-secundario);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    text-decoration: none;
}

.blog_title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog_title a {
    color: #111;
    text-decoration: none;
}

.blog_excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* BUTTON */
.blog_btn {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-secundario);
    text-decoration: none;
    transition: .2s;
}

.blog_btn:hover {
    color: #111;
    letter-spacing: .3px;
}

/* SWIPER BUTTONS */
.blog_section .swiper-button-next,
.blog_section .swiper-button-prev {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -21px;
    z-index: 2;
    transition: .2s ease;
}

.blog_section .swiper-button-next:hover,
.blog_section .swiper-button-prev:hover {
    background: var(--color-secundario);
    color: #fff;
    transform: scale(1.05);
}

.blog_section .swiper-button-next::after,
.blog_section .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .blog_section .swiper-button-next,
    .blog_section .swiper-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }

    .blog_section .swiper-button-next::after,
    .blog_section .swiper-button-prev::after {
        font-size: 12px;
    }
}

/* CONTACT */
.contact-one {
    background: #f3f3f3;
    padding: 40px 20px;
}

/* CONTENEDOR */
.auto-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CARD FORM */
.contact-wrapper {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-box {
    padding: 50px;
}

/* TITULOS */
.sec-title_three {
    margin-bottom: 50px;
    text-align: center;
}

.sec-title_three-title {
    color: var(--color-secundario);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.sec-title_three-heading {
    font-size: 36px;
    color: var(--color-texto);
    font-weight: 800;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.required {
    color: red;
}

/* INPUTS */
.form-control,
.form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
    background: #fff;
    height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-secundario);
    box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.15);
}

/* SELECT FIX */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* TELEFONO */
.phone-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-weight: 600;
    color: #334155;
}

.phone-group input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 0 10px 10px 0;
    outline: none;
}

.phone-group input:focus {
    border-color: var(--color-secundario);
    box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.15);
}

/* HONEYPOT */
.honeypot {
    display: none;
}

/* RECAPTCHA */
.recaptcha {
    margin-top: 10px;
}

/* BOTON */
.btn-send {
    background: var(--color-secundario);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background: black;
    color: #fff !important;
}


/* SOBRE NOSOTROS */
/* HERO */
.nosotros-hero {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.nosotros-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.nosotros-hero p {
    font-size: 18px;
    opacity: 0.85;
}


/* MVV */
.mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 80px;
}

.card-mvv {
    padding: 35px 25px;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
}

.card-mvv:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-mvv h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #111827;
}

.card-mvv p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mvv {
        grid-template-columns: 1fr;
    }

    .nosotros-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {

    .header_content_wrap {
        min-height: 70px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .header_content_wrap .brand_logo img {
        max-width: 100% !important;
        height: auto !important;
    }

    .header_content_wrap .mh_action_btns li button i,
    .header_content_wrap .action_btns_group li button i {
        font-size: 18px;
    }

}

.footer_section {
    background: #0f0f0f;
    color: #d8d8d8;
}

.footer_widget_area {
    padding: 90px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
    max-width: 180px;
}

.footer_description {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .70);
}

.footer_widget_title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    position: relative !important;
}

.footer_widget_title::after {
    content: '';
    width: 45px;
    height: 2px;
    background: var(--color-principal);
    display: block;
    margin-top: 10px;
}

.footer_links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer_links li {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .70);
    font-size: 15px;
    line-height: 1.7;
}

.footer_links li span {
    color: #fff;
    font-weight: 600;
}

.footer_links li a {
    color: rgba(255, 255, 255, .70);
    transition: .3s ease;
    text-decoration: none;
    font-size: 12px;
}

.footer_links li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer_widget_title {
    position: relative;
    font-size: 15px !important;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    padding-bottom: 14px;
    letter-spacing: .3px;
}

/* línea principal */
.footer_widget_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    border-radius: 30px;
    background: #fff;
}

/* línea suave secundaria */
.footer_widget_title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    max-width: 140px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.payment_methods img {
    max-width: 220px;
    width: 100%;
}

.footer_bottom {
    padding: 22px 0;
    background: #090909;
}

.footer_bottom_content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.copyright_text {
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
}

.copyright_text strong {
    color: #fff;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    transition: .3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* RESPONSIVE */

@media(max-width:768px) {

    .footer_widget_area {
        padding: 70px 0 40px;
    }

    .footer_widget {
        margin-bottom: 35px;
    }

    .footer_bottom_content {
        flex-direction: column;
        gap: 10px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        font-size: 28px;
        right: 18px;
        bottom: 18px;
    }

}

.product_link_card {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.product_link_card:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* ========================================= */
/* TITULOS DE SECCIONES */
/* ========================================= */

.section_heading {
    margin-bottom: 42px;
}

.section_heading_title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}

.section_heading_title span {
    width: 54px;
    height: 3px;
    background: var(--color-secundario);
    border-radius: 10px;
}

.section_heading_title small {
    font-family: "Jost", sans-serif;
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 600;
    letter-spacing: -0.02em;
    /* text-transform: uppercase; */
    color: #222;
    line-height: 1.1;
    margin: 0;
}

.section_heading_description {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.section_heading_title.justify-content-start {
    justify-content: flex-start;
}

.section_heading_title.justify-content-start span {
    width: 42px;
}

.section_heading h2 {
    font-size: 42px;
    font-weight: 500;
    color: #222;
    margin-top: 25px;
}

@media (max-width:768px) {

    .section_heading_title {
        gap: 10px;
    }

    .section_heading_title span {
        width: 28px;
        height: 2px;
    }

    .section_heading_title small {
        font-size: clamp(32px, 9vw, 42px);
    }

    .section_heading_description {
        font-size: 15px;
        padding: 0 15px;
    }

    .section_heading h2 {
        font-size: 28px;
    }
}

/* ============ MARCAS MARQUEE ============ */
.marcas_row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.marcas_texto {
    flex: 0 0 auto;
    text-align: center;
    max-width: 600px;
}

.marcas_texto .section_heading_title {
    justify-content: center;
    margin-bottom: 12px;
}

.marcas_texto .section_heading_description {
    font-size: 15px;
    line-height: 1.7;
    color: #777;
    margin: 0;
}

.marcas_marquee {
    flex: 1;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marcas_track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marcasScroll 30s linear infinite;
}

.marcas_item {
    flex: 0 0 auto;
    width: 200px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
}

.marcas_item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.marcas_item img:hover {
    transform: scale(1.08);
}

@keyframes marcasScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marcas_item {
        width: 150px;
        height: 85px;
        padding: 12px 20px;
    }

    .marcas_track {
        animation-duration: 18s;
    }
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.home-page .scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s cubic-bezier(.22, .61, .36, 1),
                transform 0.65s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.home-page .scroll-reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes de dirección */
.home-page .scroll-reveal.reveal-left {
    transform: translateX(-22px);
}
.home-page .scroll-reveal.reveal-left.reveal-visible {
    transform: translateX(0);
}

.home-page .scroll-reveal.reveal-right {
    transform: translateX(22px);
}
.home-page .scroll-reveal.reveal-right.reveal-visible {
    transform: translateX(0);
}

.home-page .scroll-reveal.reveal-scale {
    transform: translateY(12px) scale(0.99);
}
.home-page .scroll-reveal.reveal-scale.reveal-visible {
    transform: translateY(0) scale(1);
}

/* Stagger para hijos dentro de la sección */
.home-page .scroll-reveal.reveal-visible .reveal-child {
    opacity: 1;
    transform: translateY(0);
}

.home-page .reveal-child {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s cubic-bezier(.22, .61, .36, 1),
                transform 0.45s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.home-page .reveal-child:nth-child(1) { transition-delay: 0.03s; }
.home-page .reveal-child:nth-child(2) { transition-delay: 0.07s; }
.home-page .reveal-child:nth-child(3) { transition-delay: 0.11s; }
.home-page .reveal-child:nth-child(4) { transition-delay: 0.15s; }
.home-page .reveal-child:nth-child(5) { transition-delay: 0.19s; }
.home-page .reveal-child:nth-child(6) { transition-delay: 0.23s; }

/* Respetar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .home-page .scroll-reveal,
    .home-page .reveal-child {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* =============================================================
   FONDOS Y DECORACIONES POR SECCIÓN - HOME
   ============================================================= */

/* ============ RUBROS ============ */
.rubros_section {
    background: #ffffff;
    position: relative;
}

.rubros_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right,
        var(--color-secundario),
        var(--color-primario),
        var(--color-secundario));
}

/* ============ CATEGORÍAS ============ */
/* .deals_section {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    position: relative;
}
 */
.deals_section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}

/* ============ MARCAS ============ */
.barnd_section {
    background: #ffffff;
    position: relative;
}

.barnd_section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-secundario) 5%, transparent) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============ PRODUCTOS (CATÁLOGO) ============ */
.product_section {
    background: linear-gradient(180deg, #f5f5f5 0%, #ececec 100%);
    position: relative;
}

.product_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-secundario) 20%, transparent), transparent);
}

/* ============ PROMOCIONES ============ */
.offer_section {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--color-secundario) 5%, transparent) 0%,
        color-mix(in srgb, var(--color-primario) 10%, transparent) 50%,
        color-mix(in srgb, var(--color-secundario) 5%, transparent) 100%);
    position: relative;
}

/* ============ PRODUCTOS DESTACADOS ============ */
.bestseller_section {
    background: #ffffff;
    position: relative;
}

.bestseller_section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-secundario), transparent);
    border-radius: 20px;
}

/* ============ STEPS / POR QUÉ ELEGIRNOS ============ */
.gadget_feature_section {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%) !important;
    position: relative;
}

/* .gadget_feature_section::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-secundario);
    border-radius: 20px;
} */

/* ============ SUSCRIPCIÓN / NEWSLETTER ============ */
.newsletter_section {
    background: linear-gradient(135deg,
        var(--color-secundario) 0%,
        color-mix(in srgb, var(--color-secundario) 70%, #000) 50%,
        var(--color-secundario) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter_section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter_section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border: 30px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter_section .section_heading_title small {
    color: #fff;
}

.newsletter_section .section_heading_description {
    color: rgba(255, 255, 255, 0.8);
}

/* ============ PREGUNTAS FRECUENTES ============ */
.faq-section {
    background: #ffffff;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-secundario) 15%, transparent), transparent);
}

/* ============ BLOG ============ */
.blog_section {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    position: relative;
}

/* ============ TESTIMONIOS / CASOS DE ÉXITO ============ */
.success_cases_section {
    background: linear-gradient(160deg, #111 0%, #1a1a1a 50%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

.success_cases_section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-secundario) 12%, transparent) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.success_cases_section .section_heading_title small {
    color: #fff;
}

.success_cases_section .section_heading_description {
    color: rgba(255, 255, 255, 0.7);
}

/* ============ SEPARADORES DECORATIVOS ============ */
.section_divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-secundario), var(--color-primario));
    border-radius: 20px;
    margin: 0 auto 20px;
}

/* ============ CTA AYUDA / WHATSAPP ============ */
.cta_ayuda_section {
    padding: 24px 0;
}

.cta_ayuda_wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #0f0f0f;
    /* background: linear-gradient(135deg,
        var(--color-secundario) 0%,
        color-mix(in srgb, var(--color-secundario) 75%, #000) 100%); */
    border-radius: 20px;
    padding: 30px 45px;
    box-shadow: 0 15px 40px color-mix(in srgb, var(--color-secundario) 20%, transparent);
    position: relative;
    overflow: hidden;
}

.cta_ayuda_wrap::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta_ayuda_icon {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta_ayuda_icon i {
    font-size: 34px;
    color: #fff;
}

.cta_ayuda_content {
    flex: 1;
    color: #fff;
}

.cta_ayuda_content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.3;
}

.cta_ayuda_content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.cta_ayuda_btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #25d366;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    white-space: nowrap;
}

.cta_ayuda_btn i {
    font-size: 18px;
}

.cta_ayuda_btn:hover {
    background: #1fbd5b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.5);
}

@media (max-width: 992px) {
    .cta_ayuda_wrap {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
}

@media (max-width: 576px) {
    .cta_ayuda_section {
        padding: 20px 0;
    }

    .cta_ayuda_content h2 {
        font-size: 22px;
    }

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

/* ============ CLIENTES (CARRUSEL) ============ */
.cliente_section {
    background: #ffffff;
    position: relative;
}

.cliente_section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-primario) 5%, transparent) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cliente_card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 24px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.cliente_card:hover {
    border-color: color-mix(in srgb, var(--color-secundario) 40%, transparent);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--color-secundario) 12%, transparent);
    transform: translateY(-4px);
}

.cliente_logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cliente_card:hover .cliente_logo {
    transform: scale(1.06);
}

/* Cliente activo (uno por uno, solo borde) */
.cliente_card.cliente-activo {
    border-color: color-mix(in srgb, var(--color-secundario) 70%, transparent);
    border-width: 2px;
    box-shadow: 0 0 14px color-mix(in srgb, var(--color-secundario) 20%, transparent);
}

.cliente_nombre {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
}

/* Navegación del carrusel: flechas a los lados, centradas verticalmente */
.clientes_carousel_wrap {
    position: relative;
}

.clientes_carousel_wrap .left_arrow_clientes,
.clientes_carousel_wrap .right_arrow_clientes {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--color-secundario);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.clientes_carousel_wrap .left_arrow_clientes {
    left: -24px;
}

.clientes_carousel_wrap .right_arrow_clientes {
    right: -24px;
}

.clientes_carousel_wrap .left_arrow_clientes:hover,
.clientes_carousel_wrap .right_arrow_clientes:hover {
    background: var(--color-secundario);
    color: #fff;
    border-color: var(--color-secundario);
}

@media (max-width: 576px) {
    .cliente_card {
        height: 130px;
        padding: 20px 16px;
    }

    .cliente_logo {
        max-height: 55px;
    }

    .clientes_carousel_wrap .left_arrow_clientes {
        left: -8px;
    }

    .clientes_carousel_wrap .right_arrow_clientes {
        right: -8px;
    }

    .clientes_carousel_wrap .left_arrow_clientes,
    .clientes_carousel_wrap .right_arrow_clientes {
        width: 40px;
        height: 40px;
    }
}

html[data-theme="dark"] .cliente_section {
    background: #161616;
}

html[data-theme="dark"] .cliente_card {
    background: #1f1f1f;
    border-color: #2e2e2e;
}

html[data-theme="dark"] .cliente_nombre {
    color: #aaa;
}

html[data-theme="dark"] .clientes_carousel_wrap .left_arrow_clientes,
html[data-theme="dark"] .clientes_carousel_wrap .right_arrow_clientes {
    background: #1f1f1f;
    border-color: #333;
    color: var(--color-secundario);
}
/* ============ TITULOS DE SECCION (HOMOLOGADOS) ============ */
.sec-titulo-eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--color-secundario);
    font-weight: 600;
    text-transform: uppercase;
}

.sec-titulo {
    font-size: 38px;
    font-weight: 800;
    margin-top: 10px;
    line-height: 1.2;
    color: var(--color-texto);
}

.sec-titulo span {
    color: var(--color-secundario);
}

.sec-titulo-claro {
    color: #fff;
}

@media (max-width: 768px) {
    .sec-titulo {
        font-size: 28px;
    }
}

/* ============ FIN TITULOS DE SECCION (HOMOLOGADOS) ============ */
