/**
 * BALA - Base visual v1.0.0
 * Desarrollo y mantenimiento: Codilogic (https://codilogic.com/)
 *
 * Reglas deliberadamente ligeras: no se alteran las plantillas de
 * WooCommerce ni los formularios de WPC Product Bundles Premium.
 * El diseño definitivo de portada, cabecera, footer, productos,
 * carrito y checkout se desarrollará por fases con Elementor.
 */

:root {
    --bala-black: #0a0a0c;
    --bala-surface: #171719;
    --bala-border: #37373a;
    --bala-white: #f5f3f0;
    --bala-muted: #bbb8b5;
    --bala-red: #dd1727;
    --bala-red-hover: #ff3040;
    --bala-content-max: 1280px;
}

/* Codilogic: base oscura coherente con la estética BALA. */
body.bala-shop {
    background-color: var(--bala-black);
    color: var(--bala-white);
}

/* Codilogic: clases reutilizables en Elementor, sin afectar a packs. */
.bala-section {
    width: min(calc(100% - 32px), var(--bala-content-max));
    margin-inline: auto;
}

.bala-section-title {
    color: var(--bala-white);
    font-family: Impact, 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.bala-accent {
    color: var(--bala-red);
}

.bala-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 25px;
    border: 1px solid var(--bala-red);
    background: var(--bala-red);
    color: #fff;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease;
}

.bala-button:hover,
.bala-button:focus-visible {
    border-color: var(--bala-red-hover);
    background: var(--bala-red-hover);
    color: #fff;
}

.bala-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .bala-section { width: min(calc(100% - 24px), var(--bala-content-max)); }
    .bala-section-title { line-height: 1.12; }
    .bala-button { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    .bala-button { transition: none; }
}


/* -------------------------------------------------------------
   Codilogic - BALA v1.1.0 | Cabecera y menú, escritorio y móvil.
   No se alteran los formularios de WooCommerce ni WPClever.
   ------------------------------------------------------------- */
.bala-header,
.bala-header * { box-sizing: border-box; }
.bala-header {
    position: relative;
    width: 100%;
    z-index: 100;
    background: #0c0c0e;
    border-bottom: 2px solid #d71925;
    color: #f5f3f0;
}
.bala-header__inner {
    width: min(100% - 40px, 1340px);
    min-height: 92px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(130px, 225px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 2vw, 34px);
}
.bala-header__brand { display: inline-flex; align-items: center; text-decoration: none; max-width: 100%; }
.bala-header__logo { display: block; max-width: min(100%, 215px); max-height: 70px; width: auto; height: auto; object-fit: contain; }
.bala-header__brand-text { font-family: Impact, 'Arial Narrow', sans-serif; font-weight: 900; font-style: italic; font-size: 42px; letter-spacing: -.05em; line-height: 1; color: #f5f3f0; }
.bala-header__nav { min-width: 0; }
.bala-menu { margin: 0; padding: 0; list-style: none; display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 28px); }
.bala-menu li { list-style: none; position: relative; margin: 0; padding: 0; }
.bala-menu a { display: inline-flex; align-items: center; min-height: 44px; color: #f5f3f0; font-size: 13px; font-weight: 800; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.bala-menu a:hover, .bala-menu a:focus-visible, .bala-menu .current-menu-item > a, .bala-menu .current-menu-ancestor > a { color: #ef2c36; }
.bala-menu a:focus-visible, .bala-action:focus-visible, .bala-header__toggle:focus-visible { outline: 2px solid #f5f3f0; outline-offset: 4px; }
.bala-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 195px; padding: 12px 16px; margin: 0; list-style: none; background: #19191d; border: 1px solid #39393f; display: none; z-index: 20; }
.bala-menu li:hover > .sub-menu, .bala-menu li:focus-within > .sub-menu { display: block; }
.bala-menu .sub-menu a { width: 100%; font-size: 12px; }
.bala-header__actions { display: flex; gap: 17px; align-items: center; justify-content: flex-end; }
.bala-action { display: inline-flex; align-items: center; justify-content: center; position: relative; min-width: 35px; min-height: 44px; color: #f5f3f0; text-decoration: none; }
.bala-action:hover, .bala-action:focus-visible { color: #ef2c36; }
.bala-cart-count { position: absolute; right: -6px; top: 3px; border-radius: 99px; background: #df1c27; color: white; min-width: 16px; height: 16px; font: 700 10px/16px Arial, sans-serif; text-align: center; padding: 0 3px; }
.bala-header__toggle { display: none; background: transparent; border: 0; width: 42px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.bala-header__toggle-line { display: block; width: 23px; height: 2px; background: #f5f3f0; }

@media (max-width: 1024px) {
    .bala-header__inner { width: min(100% - 28px, 1340px); grid-template-columns: minmax(95px, 1fr) auto; min-height: 76px; }
    .bala-header__logo { max-height: 55px; max-width: 165px; }
    .bala-header__nav { position: absolute; left: 0; right: 0; top: 100%; background: #111114; border-bottom: 2px solid #d71925; padding: 10px max(14px, calc((100% - 1340px)/2)); box-shadow: 0 20px 35px rgb(0 0 0 / .3); display: none; }
    .bala-header__nav.is-open { display: block; }
    .bala-menu { display: block; }
    .bala-menu > li { border-bottom: 1px solid #333338; }
    .bala-menu > li:last-child { border-bottom: 0; }
    .bala-menu > li > a { display: flex; padding: 6px 12px; min-height: 50px; }
    .bala-menu .sub-menu { position: static; display: block; border: 0; padding: 0 0 10px 18px; background: none; }
    .bala-menu .sub-menu a { padding: 4px 10px; min-height: 42px; }
    .bala-header__toggle { display: inline-flex; }
}
@media (max-width: 480px) {
    .bala-header__inner { min-height: 66px; }
    .bala-header__logo { max-width: 128px; max-height: 48px; }
    .bala-header__brand-text { font-size: 34px; }
    .bala-header__actions { gap: 6px; }
    .bala-action { min-width: 31px; }
}
@media (prefers-reduced-motion: reduce) {
    .bala-menu a { transition: none; }
}





/*
 * CODILOGIC - BALA
 * Diseño de categorías de merchandising
 * Proyecto: tienda.somosbala.com
 * Autor: Codilogic
 */

/* SECCIÓN PRINCIPAL */
.bala-merch-section {
    background: #09090b;
    padding: 85px 24px 100px;
    overflow: hidden;
}

/* TÍTULO PRINCIPAL */
.bala-merch-title {
    position: relative;
    text-align: center;
    margin: 0 auto 48px;
    padding-bottom: 22px;
}

.bala-merch-title .elementor-heading-title {
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
}

.bala-merch-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) skewX(-18deg);
    width: 100px;
    height: 5px;
    background: #ed1c24;
}

/* REJILLA DE CATEGORÍAS */
.bala-merch-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px !important;
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
}

/* TARJETAS */
.bala-merch-card {
    position: relative !important;
    isolation: isolate;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    min-width: 0;
    min-height: 340px;
    overflow: hidden;
    padding: 32px !important;
    border: 1px solid #333;
    border-radius: 2px;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

/* DEGRADADO SOBRE FOTOGRAFÍA */
.bala-merch-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.06) 5%,
        rgba(0,0,0,.28) 40%,
        rgba(0,0,0,.94) 100%
    );
    z-index: 0;
    pointer-events: none;
    transition: background .3s ease;
}

/* LÍNEA ROJA INFERIOR */
.bala-merch-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: #ed1c24;
    z-index: 3;
    pointer-events: none;
    transition: width .4s ease;
}

/* CONTENIDO POR ENCIMA DEL DEGRADADO */
.bala-merch-card > .elementor-element {
    position: relative;
    z-index: 2;
}

/* TITULOS CAMISETAS, VINILOS, ETC */
.bala-merch-name .elementor-heading-title {
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    text-shadow: 0 3px 12px rgba(0,0,0,.6);
}

/* ENLACES DE LAS CATEGORÍAS */
.bala-merch-action,
.bala-merch-action .elementor-heading-title,
.bala-merch-action a,
.bala-merch-action p {
    color: #ff333b !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .25s ease;
}

/* EFECTOS HOVER */
@media (hover: hover) {
    .bala-merch-card:hover {
        transform: translateY(-7px);
        border-color: #ed1c24;
        box-shadow: 0 18px 38px rgba(0,0,0,.55);
    }

    .bala-merch-card:hover::after {
        width: 100%;
    }

    .bala-merch-card:hover .bala-merch-action a {
        color: #fff !important;
    }
}

.bala-merch-card:focus-within {
    border-color: #ed1c24;
    outline: 2px solid #ed1c24;
    outline-offset: 2px;
}

/* TABLET */
@media (max-width: 1024px) {
    .bala-merch-card {
        min-height: 290px;
        padding: 25px !important;
    }
}

/* MÓVIL */
@media (max-width: 767px) {
    .bala-merch-section {
        padding: 55px 15px 65px;
    }

    .bala-merch-title {
        margin-bottom: 32px;
    }

    .bala-merch-grid {
        grid-template-columns: 1fr;
        gap: 14px !important;
    }

    .bala-merch-card {
        min-height: 255px;
        padding: 22px !important;
    }

    .bala-merch-name .elementor-heading-title {
        font-size: 35px;
    }

    .bala-merch-action a,
    .bala-merch-action p {
        font-size: 13px;
    }
}

/* ACCESIBILIDAD: REDUCIR ANIMACIONES */
@media (prefers-reduced-motion: reduce) {
    .bala-merch-card,
    .bala-merch-card::after {
        transition: none;
    }
}



/*
 * CODILOGIC - BALA
 * Mejora visual de categorías v2
 * tienda.somosbala.com
 * Autor: Codilogic
 */

/* TITULO PRINCIPAL */
.bala-merch-title .elementor-heading-title,
.bala-merch-title h1,
.bala-merch-title h2,
.bala-merch-title h3 {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(36px, 4.5vw, 60px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: 2px !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-transform: uppercase;
}

/* TARJETAS */
.bala-merch-card {
    min-height: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding: 30px !important;
    border: 1px solid #333 !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate;
    background-size: cover !important;
    background-position: center !important;
    transition: transform .35s ease,
                border-color .35s ease,
                box-shadow .35s ease;
}

/* DEGRADADO PROGRESIVO */
.bala-merch-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.08) 35%,
        rgba(0,0,0,.45) 65%,
        rgba(0,0,0,.92) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* TEXTOS POR ENCIMA DEL DEGRADADO */
.bala-merch-card .elementor-widget,
.bala-merch-card .bala-merch-name,
.bala-merch-card .bala-merch-action {
    position: relative !important;
    z-index: 3 !important;
}

/* NOMBRE DE CATEGORIA */
.bala-merch-card .bala-merch-name,
.bala-merch-card .bala-merch-name *,
.bala-merch-card .bala-merch-name .elementor-heading-title {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    text-transform: uppercase;
    text-shadow: 0 3px 12px rgba(0,0,0,.8);
}

/* ENLACE VER COLECCION */
.bala-merch-card .bala-merch-action,
.bala-merch-card .bala-merch-action *,
.bala-merch-card .bala-merch-action a {
    color: #ff454d !important;
    -webkit-text-fill-color: #ff454d !important;
    opacity: 1 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 1px;
    text-decoration: none !important;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #000;
}

.bala-merch-card .bala-merch-name,
.bala-merch-card .bala-merch-action {
    margin: 0 !important;
    width: 100%;
}

.bala-merch-card .bala-merch-action {
    margin-top: 8px !important;
}

/* LINEA ROJA INFERIOR */
.bala-merch-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 0;
    background: #ed1c24;
    z-index: 4;
    pointer-events: none;
    transition: width .35s ease;
}

/* HOVER */
@media (hover: hover) {
    .bala-merch-card:hover {
        transform: translateY(-6px);
        border-color: #ed1c24 !important;
        box-shadow: 0 16px 36px rgba(0,0,0,.5);
    }

    .bala-merch-card:hover::after {
        width: 100%;
    }

    .bala-merch-card:hover .bala-merch-action a {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

/* MOVIL */
@media (max-width: 767px) {
    .bala-merch-card {
        min-height: 260px !important;
        padding: 24px !important;
    }

    .bala-merch-card .bala-merch-name,
    .bala-merch-card .bala-merch-name * {
        font-size: 34px !important;
    }

    .bala-merch-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
    .bala-merch-card,
    .bala-merch-card::after {
        transition: none !important;
    }
}




/*
 * CODILOGIC - BALA
 * Productos destacados WooCommerce
 * Versión: 1.0
 * Autor: Codilogic
 */

/* SECCIÓN PRINCIPAL */
.bala-featured-section {
    background: #09090b;
    padding: 85px 24px 100px;
    color: #fff;
}

/* ENCABEZADO */
.bala-featured-title {
    text-align: center;
    position: relative;
    margin-bottom: 45px !important;
    padding-bottom: 22px;
}

.bala-featured-title .elementor-heading-title {
    font-family: Impact, "Arial Black", sans-serif !important;
    color: #fff !important;
    font-size: clamp(36px, 4.5vw, 60px) !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bala-featured-title::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 5px;
    background: #ed1c24;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) skewX(-18deg);
}

/* REJILLA WOOCOMMERCE */
.bala-featured-section .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px !important;
    max-width: none; /* Codilogic: utilizar ancho completo del contenedor Elementor */
    margin: 0 auto !important;
    padding: 0 !important;
}

/* TARJETAS */
.bala-featured-section .woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column;
    position: relative;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 0 20px !important;
    background: #161618;
    border: 1px solid #303034;
    overflow: hidden;
    box-sizing: border-box;
    text-align: left;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

/* ENLACE PRINCIPAL */
.bala-featured-section .woocommerce li.product
a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none !important;
}

/* IMÁGENES ORIGINALES */
.bala-featured-section .woocommerce ul.products
li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    background: #101012;
    margin: 0 0 18px !important;
    transition: transform .35s ease;
}

/* NOMBRE DE PRODUCTO */
.bala-featured-section .woocommerce ul.products
li.product .woocommerce-loop-product__title {
    font-family: Impact, "Arial Black", sans-serif !important;
    color: #fff !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 0 18px !important;
    margin: 0 0 12px !important;
}

/* PRECIOS */
.bala-featured-section .woocommerce ul.products
li.product .price {
    display: block;
    color: #ff343e !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    margin: auto 18px 20px !important;
    line-height: 1.5;
}

.bala-featured-section .woocommerce li.product
.price ins {
    color: #ff343e !important;
    background: none !important;
    text-decoration: none;
    font-weight: 900;
}

.bala-featured-section .woocommerce li.product
.price del {
    color: #999 !important;
    font-size: 15px;
    font-weight: 400;
    opacity: 1;
}

/* ETIQUETA DE OFERTA */
.bala-featured-section .woocommerce
ul.products li.product .onsale {
    position: absolute;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 5;
    background: #ed1c24 !important;
    color: #fff !important;
    padding: 6px 11px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

/* BOTÓN COMPRAR / SELECCIONAR OPCIONES */
.bala-featured-section .woocommerce ul.products
li.product .button {
    display: block;
    margin: auto 18px 0 !important;
    padding: 15px 12px !important;
    background: #ed1c24 !important;
    border: 1px solid #ed1c24 !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: Arial, sans-serif;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    transition:
        background .25s ease,
        color .25s ease;
}

/* HOVER */
@media (hover: hover) {
    .bala-featured-section .woocommerce
    ul.products li.product:hover {
        transform: translateY(-7px);
        border-color: #ed1c24;
        box-shadow: 0 18px 35px rgba(0,0,0,.55);
    }

    .bala-featured-section .woocommerce
    li.product .button:hover {
        background: #fff !important;
        border-color: #fff !important;
        color: #111 !important;
    }
}

/* TABLET */
@media (max-width: 1024px) {
    .bala-featured-section .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px !important;
    }
}

/* MÓVIL */
@media (max-width: 600px) {
    .bala-featured-section {
        padding: 60px 15px 70px;
    }

    .bala-featured-section .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px !important;
    }

    .bala-featured-section .woocommerce ul.products
    li.product .woocommerce-loop-product__title {
        font-size: 17px !important;
        padding: 0 10px !important;
    }

    .bala-featured-section .woocommerce ul.products
    li.product .price {
        font-size: 17px !important;
        margin: auto 10px 15px !important;
    }

    .bala-featured-section .woocommerce ul.products
    li.product .button {
        margin: auto 10px 0 !important;
        font-size: 10px !important;
        padding: 12px 6px !important;
    }
}

/* MÓVILES ESTRECHOS */
@media (max-width: 380px) {
    .bala-featured-section .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
    .bala-featured-section .woocommerce
    ul.products li.product,
    .bala-featured-section .woocommerce
    li.product .button {
        transition: none !important;
    }
}



/*
 * CODILOGIC - BALA
 * Corrección de cuadrícula WooCommerce
 * Autor: Codilogic
 */

/* Eliminar pseudo-elementos que ocupan columnas */
.bala-featured-section .woocommerce ul.products::before,
.bala-featured-section .woocommerce ul.products::after {
    content: none !important;
    display: none !important;
}

/* Cuatro productos correctamente distribuidos */
.bala-featured-section .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100%;
    max-width: none; /* Codilogic: evitar limite heredado de 1250px */
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Evitar conflictos con los estilos antiguos */
.bala-featured-section .woocommerce ul.products li.product,
.bala-featured-section .woocommerce ul.products li.product.first,
.bala-featured-section .woocommerce ul.products li.product.last {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0 !important;
    min-width: 0;
}

/* TABLET */
@media (max-width: 1024px) {
    .bala-featured-section .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* MOVIL */
@media (max-width: 600px) {
    .bala-featured-section .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* MOVILES ESTRECHOS */
@media (max-width: 380px) {
    .bala-featured-section .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/*
 * CODILOGIC - BALA
 * Banner promocional de packs exclusivos
 * Autor: Codilogic
 */

.bala-packs-banner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 !important;
    width: 100%;
    max-width: none; /* Codilogic: ancho completo del banner */
    min-height: 420px;
    margin: 80px auto !important;
    background: #111113;
    border: 1px solid #353535;
    overflow: hidden;
}

/* Imagen original del producto */
.bala-packs-image {
    min-height: 420px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

/* Oscurecido suave */
.bala-packs-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 55%,
        #111113 100%
    );
    pointer-events: none;
}

/* Zona de texto */
.bala-packs-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding: 55px 45px !important;
}

/* Título */
.bala-packs-title .elementor-heading-title {
    color: #fff !important;
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(42px, 5vw, 76px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botón */
.bala-packs-button .elementor-button {
    background: #ed1c24 !important;
    color: #fff !important;
    border: 2px solid #ed1c24 !important;
    border-radius: 0 !important;
    padding: 17px 36px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s ease;
}

.bala-packs-button .elementor-button:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
}

/* Responsive */
@media (max-width: 767px) {
    .bala-packs-banner {
        grid-template-columns: 1fr;
        margin: 45px auto !important;
    }

    .bala-packs-image {
        min-height: 260px;
    }

    .bala-packs-image::after {
        background: linear-gradient(
            180deg,
            transparent 50%,
            #111113 100%
        );
    }

    .bala-packs-content {
        padding: 30px 22px 40px !important;
    }

    .bala-packs-title .elementor-heading-title {
        font-size: 44px !important;
    }
}




/*
 * CODILOGIC - BALA
 * Ajustes banner Packs Exclusivos v2
 * Autor: Codilogic
 */

.bala-packs-banner {
    display: grid !important;
    grid-template-columns: 52% 48% !important;
    width: calc(100% - 40px) !important;
    max-width: none !important; /* Codilogic: sin limite en escritorio */
    min-height: 420px;
    margin: 75px auto !important;
    gap: 0 !important;
    background: #111113;
    border: 1px solid #333;
    overflow: hidden;
}

.bala-packs-banner .bala-packs-image {
    min-width: 0;
    min-height: 420px;
    background-position: center !important;
    background-size: cover !important;
}

.bala-packs-banner .bala-packs-content {
    min-width: 0;
    padding: 50px 45px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 22px !important;
}

.bala-packs-banner .bala-packs-title
.elementor-heading-title {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(44px, 5vw, 76px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bala-packs-banner .bala-packs-title
.elementor-heading-title span {
    color: #ed1c24 !important;
    display: block;
}

.bala-packs-banner .bala-packs-button
a.elementor-button {
    background: #ed1c24 !important;
    background-color: #ed1c24 !important;
    color: #fff !important;
    border: 2px solid #ed1c24 !important;
    border-radius: 0 !important;
    padding: 17px 36px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bala-packs-banner .bala-packs-button
a.elementor-button:hover {
    background: #fff !important;
    color: #111 !important;
    border-color: #fff !important;
}

/* CODILOGIC - Versión móvil */
@media (max-width: 767px) {
    .bala-packs-banner {
        grid-template-columns: 1fr !important;
        width: calc(100% - 24px) !important;
        margin: 40px auto !important;
    }

    .bala-packs-banner .bala-packs-image {
        min-height: 280px;
    }

    .bala-packs-banner .bala-packs-content {
        padding: 35px 25px !important;
    }

    .bala-packs-banner .bala-packs-title
    .elementor-heading-title {
        font-size: 46px !important;
    }
}





/*
 * CODILOGIC - BALA
 * Banner Packs - Widget HTML
 * Autor: Codilogic
 */

/* TÍTULO GRUNGE */
.bala-packs-banner .bala-packs-title {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(46px, 5vw, 78px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 22px !important;
}

/* EXCLUSIVOS EN ROJO */
.bala-packs-banner .bala-packs-title span {
    display: block;
    color: #ed1c24 !important;
    -webkit-text-fill-color: #ed1c24 !important;
}

/* SUBTÍTULO */
.bala-packs-banner .bala-packs-subtitle {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.5;
    margin: 0 0 28px !important;
    padding-bottom: 12px;
    border-bottom: 3px solid #ed1c24;
}

/* BOTÓN ELEMENTOR */
.bala-packs-banner .elementor-widget-button .elementor-button {
    background: #ed1c24 !important;
    background-color: #ed1c24 !important;
    color: #ffffff !important;
    border: 2px solid #ed1c24 !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    padding: 17px 38px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease;
}

.bala-packs-banner .elementor-widget-button .elementor-button:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #111111 !important;
}

/* MÓVIL */
@media (max-width: 767px) {
    .bala-packs-banner .bala-packs-title {
        font-size: clamp(40px, 10vw, 56px) !important;
    }

    .bala-packs-banner .bala-packs-subtitle {
        font-size: 13px !important;
        letter-spacing: 1px;
    }
}



/*
 * CODILOGIC - BALA
 * Ajustes finales del banner de packs
 * Autor: Codilogic
 */

.bala-packs-banner .bala-packs-content {
    gap: 12px !important;
    justify-content: center !important;
}

.bala-packs-banner .bala-packs-copy {
    margin-bottom: 0 !important;
}

.bala-packs-banner .bala-packs-subtitle {
    margin-bottom: 8px !important;
}

.bala-packs-banner .elementor-widget-button {
    margin-top: 0 !important;
    align-self: flex-start;
}

.bala-packs-banner .elementor-widget-button a.elementor-button,
.bala-packs-button a.elementor-button {
    background: #ed1c24 !important;
    color: #fff !important;
    border-radius: 0 !important;
}

.bala-packs-banner .elementor-widget-button a.elementor-button:hover,
.bala-packs-button a.elementor-button:hover {
    background: #fff !important;
    color: #111 !important;
}


/*
 * CODILOGIC - BALA
 * Hover banner Packs Exclusivos
 * Autor: Codilogic
 */

.bala-packs-banner {
    border: 1px solid rgba(255,255,255,0.10);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
}

.bala-packs-banner:hover {
    border-color: #ed1c24;
    box-shadow: 0 0 0 1px #ed1c24 inset;
}

/* Opcional: que también cambie un poco la imagen al pasar */
.bala-packs-banner .bala-packs-image,
.bala-packs-banner .elementor-widget-image img {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.bala-packs-banner:hover .bala-packs-image,
.bala-packs-banner:hover .elementor-widget-image img {
    transform: scale(1.02);
}

/* Opcional: reforzar también el título en hover */
.bala-packs-banner:hover .bala-packs-title-red,
.bala-packs-banner:hover .bala-packs-title span {
    color: #ff2a2a;
}
/*como arriba*/

/*
 * CODILOGIC - BALA
 * Hover simple igual a bloques superiores
 * Autor: Codilogic
 */

.bala-packs-banner {
    border: 1px solid #2a2a2a;
    transition: border-color 0.25s ease;
}

.bala-packs-banner:hover {
    border: 1px solid #ed1c24;
}



/*
 * CODILOGIC - BALA
 * Selectores de variaciones y botón de compra
 * Autor: Codilogic
 * Solo para fichas individuales WooCommerce.
 */

/* BLOQUE DE SELECCIÓN DE VARIACIONES */
body.single-product form.cart table.variations {
    width: 100% !important;
    background: #151518 !important;
    border: 1px solid #303036 !important;
    border-collapse: separate !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
}

body.single-product form.cart table.variations th,
body.single-product form.cart table.variations td {
    border: 0 !important;
    padding: 8px !important;
    vertical-align: middle;
}

/* ETIQUETA TALLA */
body.single-product form.cart table.variations label {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* DESPLEGABLE DE TALLAS */
body.single-product form.cart table.variations select,
body.single-product .woosb-wrap select {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    background-color: #202024 !important;
    background-image:
        linear-gradient(45deg, transparent 50%, #fff 50%),
        linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position:
        calc(100% - 22px) center,
        calc(100% - 16px) center;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    color-scheme: dark;
    border: 1px solid #62626a !important;
    border-radius: 0 !important;
    padding: 12px 42px 12px 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: border-color .25s ease;
}

body.single-product form.cart select option {
    background: #202024;
    color: #fff;
}

/* ENFOQUE Y SELECCIÓN */
body.single-product form.cart select:hover,
body.single-product form.cart select:focus {
    border-color: #ed1c24 !important;
}

body.single-product form.cart select:focus-visible {
    outline: 2px solid #ed1c24 !important;
    outline-offset: 2px;
}

/* ENLACE LIMPIAR SELECCIÓN */
body.single-product form.cart .reset_variations {
    color: #ff454d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* BOTÓN DE COMPRA HABILITADO */
body.single-product form.cart
.single_add_to_cart_button:not(:disabled):not(.disabled):not([aria-disabled="true"]) {
    background: #ed1c24 !important;
    background-color: #ed1c24 !important;
    color: #fff !important;
    border: 2px solid #ed1c24 !important;
    border-radius: 0 !important;
    min-height: 50px;
    padding: 14px 30px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .6px;
    cursor: pointer;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* HOVER BOTÓN HABILITADO */
body.single-product form.cart
.single_add_to_cart_button:not(:disabled):not(.disabled):hover {
    background: #fff !important;
    color: #111 !important;
    border-color: #fff !important;
}

/* BOTÓN DESHABILITADO */
body.single-product form.cart
.single_add_to_cart_button:disabled,
body.single-product form.cart
.single_add_to_cart_button.disabled,
body.single-product form.cart
.single_add_to_cart_button[aria-disabled="true"] {
    background: #48484e !important;
    color: #ddd !important;
    border-color: #48484e !important;
    opacity: .6 !important;
    cursor: not-allowed !important;
}

/* PRECIO PRINCIPAL EN ROJO */
body.single-product div.product .summary > .price,
body.single-product div.product .summary .price ins,
body.single-product div.product .summary .woocommerce-variation-price .price {
    color: #ff353d !important;
    font-weight: 800 !important;
}

/* CAMPO CANTIDAD */
body.single-product form.cart .quantity input.qty {
    min-height: 50px !important;
    width: 70px !important;
    background: #202024 !important;
    color: #fff !important;
    border: 1px solid #62626a !important;
    border-radius: 0 !important;
    text-align: center;
}

/* MÓVIL */
@media (max-width: 767px) {
    body.single-product form.cart table.variations {
        padding: 10px !important;
    }

    body.single-product form.cart
    .single_add_to_cart_button {
        padding: 13px 18px !important;
    }
}


/*
 * CODILOGIC - BALA
 * Diseño de productos relacionados y pestañas
 * Autor: Codilogic
 */

/* PRODUCTOS RELACIONADOS */
body.single-product .related.products {
    width: 100%;
    margin-top: 60px;
}

body.single-product .related.products > h2 {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    color: #fff !important;
    text-transform: uppercase;
    margin-bottom: 30px !important;
    padding-bottom: 15px;
    border-bottom: 3px solid #ed1c24;
}

/* CUATRO COLUMNAS */
body.single-product .related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.single-product .related ul.products::before,
body.single-product .related ul.products::after {
    display: none !important;
    content: none !important;
}

/* TARJETAS */
body.single-product .related ul.products li.product {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    min-width: 0;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
    background: #161618;
    border: 1px solid #303034;
    transition: border-color .3s, transform .3s;
}

body.single-product .related ul.products li.product:hover {
    border-color: #ed1c24;
    transform: translateY(-5px);
}

/* FOTOGRAFÍAS */
body.single-product .related li.product img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 15px !important;
}

/* NOMBRE DEL PRODUCTO */
body.single-product .related
.woocommerce-loop-product__title {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: 21px !important;
    color: #fff !important;
    text-transform: uppercase;
    padding: 0 15px !important;
    line-height: 1.2;
}

/* PRECIOS */
body.single-product .related li.product .price,
body.single-product .related li.product .price ins {
    color: #ff353d !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    background: transparent !important;
}

body.single-product .related li.product .price {
    margin: 12px 15px 18px !important;
}

body.single-product .related li.product .price del {
    color: #999 !important;
    font-size: 13px;
}

/* BOTONES */
body.single-product .related li.product .button {
    display: block !important;
    margin: auto 15px 0 !important;
    padding: 14px 10px !important;
    background: #ed1c24 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    text-align: center;
}

body.single-product .related li.product .button:hover {
    background: #fff !important;
    color: #111 !important;
}

/* ETIQUETAS OFERTA */
body.single-product .related li.product .onsale {
    background: #ed1c24 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 5px 10px !important;
}

/* PESTAÑAS DESCRIPCIÓN */
body.single-product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    border-bottom: 1px solid #444;
}

body.single-product .woocommerce-tabs ul.tabs::before {
    border: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    background: #202024 !important;
    border: 1px solid #333 !important;
    border-radius: 0 !important;
    margin: 0 5px 0 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    color: #fff !important;
    padding: 12px 18px !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
    background: #ed1c24 !important;
    border-color: #ed1c24 !important;
}

body.single-product .woocommerce-tabs .panel {
    color: #eee;
    padding-top: 25px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    body.single-product .related ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.single-product .related ul.products {
        gap: 12px !important;
    }

    body.single-product .related
    .woocommerce-loop-product__title {
        font-size: 17px !important;
    }

    body.single-product .related li.product .button {
        font-size: 10px !important;
        padding: 12px 6px !important;
        margin: auto 8px 0 !important;
    }
}


/*
 * CODILOGIC - BALA
 * Catálogo y archivos de categorías WooCommerce
 * Proyecto: tienda.somosbala.com
 * Versión: 1.0.0 (2026-10-19)
 * Autor: Codilogic
 * Diseño visual exclusivamente: no altera lógica de compra ni bundles.
 */

/* Sólo el catálogo y las páginas de categoría, no los productos individuales. */
:is(body.tax-product_cat, body.post-type-archive-product) .site-main {
    width: calc(100% - 40px) !important;
    max-width: 1240px !important;
    margin-inline: auto !important;
}

/* Cabeceras de categoría y título del catálogo. */
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-products-header__title,
:is(body.tax-product_cat, body.post-type-archive-product) .page-title {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(34px, 4vw, 56px) !important;
    line-height: 1.08 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff !important;
    margin: 0 0 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 4px solid #ed1c24;
}

/* Controles superiores: cantidad de resultados y ordenación. */
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-result-count {
    color: #bcbcc2 !important;
    font-size: 14px;
    margin: 0 0 24px;
}
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-ordering {
    margin: 0 0 24px !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-ordering select {
    background: #1b1b1e !important;
    color: #fff !important;
    border: 1px solid #57575d !important;
    border-radius: 0 !important;
    padding: 12px 32px 12px 14px !important;
    min-height: 44px;
    max-width: 100%;
    color-scheme: dark;
}
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-ordering select:focus-visible {
    outline: 2px solid #ed1c24;
    outline-offset: 3px;
}

/* Cuadrícula de productos: evitar que los clearfix ocupen columnas. */
:is(body.tax-product_cat, body.post-type-archive-product) ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 26px 20px !important;
    padding: 0 !important;
    margin: 0 0 48px !important;
    list-style: none !important;
    width: 100% !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products::before,
:is(body.tax-product_cat, body.post-type-archive-product) ul.products::after {
    content: none !important;
    display: none !important;
}

/* Tarjetas coherentes con destacados y relacionados. */
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product {
    position: relative;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 20px !important;
    background: #161618 !important;
    border: 1px solid #333338;
    border-radius: 0 !important;
    overflow: hidden;
    text-align: left !important;
    box-sizing: border-box;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    text-decoration: none !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #101012;
    margin: 0 0 18px !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product .woocommerce-loop-product__title {
    color: #fff !important;
    font-family: Impact, "Arial Black", sans-serif !important;
    font-size: clamp(18px, 1.5vw, 23px) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    line-height: 1.2 !important;
    letter-spacing: .35px;
    margin: 0 0 12px !important;
    padding: 0 16px !important;
    overflow-wrap: anywhere;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product .price {
    display: block;
    color: #ff353d !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    margin: auto 16px 18px !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product .price ins {
    color: #ff353d !important;
    background: transparent !important;
    text-decoration: none !important;
    font-weight: 900 !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product .price del {
    color: #a7a7ac !important;
    font-size: 14px !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

/* Etiquetas de oferta (no cambiar el descuento real). */
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product .onsale {
    position: absolute !important;
    z-index: 3;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 0 !important;
    background: #ed1c24 !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

/* Botones nativos de WooCommerce, sin alterar su acción. */
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.button,
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.added_to_cart {
    display: block !important;
    width: calc(100% - 32px);
    box-sizing: border-box;
    margin: auto 16px 0 !important;
    padding: 14px 10px !important;
    background: #ed1c24 !important;
    color: #fff !important;
    border: 1px solid #ed1c24 !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: .2px;
    line-height: 1.35 !important;
    text-decoration: none !important;
    white-space: normal;
}
:is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
@media (hover: hover) {
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product:hover {
        transform: translateY(-6px);
        border-color: #ed1c24;
        box-shadow: 0 16px 30px rgba(0, 0, 0, .45);
    }
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.button:hover,
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.added_to_cart:hover {
        background: #fff !important;
        color: #101012 !important;
        border-color: #fff !important;
    }
}

/* Paginación coherente con la identidad BALA. */
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-pagination ul.page-numbers {
    border: none !important;
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
}
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-pagination .page-numbers li {
    border: none !important;
    float: none !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-pagination .page-numbers a,
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-pagination .page-numbers span {
    background: #1b1b1e !important;
    border: 1px solid #45454b !important;
    color: #fff !important;
    padding: 12px 15px !important;
    line-height: 1 !important;
}
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-pagination .page-numbers .current,
:is(body.tax-product_cat, body.post-type-archive-product) .woocommerce-pagination .page-numbers a:hover {
    background: #ed1c24 !important;
    border-color: #ed1c24 !important;
    color: #fff !important;
}

/* Diseño responsive. */
@media (max-width: 1024px) {
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    :is(body.tax-product_cat, body.post-type-archive-product) .site-main {
        width: calc(100% - 24px) !important;
    }
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products {
        gap: 12px !important;
    }
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product {
        padding-bottom: 12px !important;
    }
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product .woocommerce-loop-product__title {
        font-size: 17px !important;
        padding: 0 10px !important;
    }
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product .price {
        font-size: 16px !important;
        margin: auto 10px 12px !important;
    }
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.button,
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product a.added_to_cart {
        width: calc(100% - 20px);
        margin: auto 10px 0 !important;
        font-size: 10px !important;
        padding: 12px 5px !important;
    }
}
@media (max-width: 390px) {
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products {
        grid-template-columns: 1fr !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    :is(body.tax-product_cat, body.post-type-archive-product) ul.products li.product {
        transition: none !important;
    }
}
.woosb-alert {
  padding: 6px 10px 6px 14px;
  border-left: 4px solid #222;
  background-color: #222;
  font-size: 14px;
}


/*
 * CODILOGIC - BALA
 * Menú escritorio inspirado en la web de Alber
 */
@media (min-width: 1025px) {

    body header nav a,
    body .elementor-nav-menu--main .elementor-item {
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 20px !important;
        text-transform: uppercase !important;
        letter-spacing: 0 !important;
    }

}
