/*
 Theme Name:   Beast Gamer Child
 Theme URI:    https://beastgamer.com
 Description:  Child theme de Astra para Beast Gamer - Tienda de accesorios gaming
 Author:       Beast Gamer
 Author URI:   https://beastgamer.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  beast-gamer-child
*/

/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
    --bg-primary:    #ffffff;
    --bg-secondary:  #ffffff;
    --bg-card:       #ffffff;
    --bg-card-hover: #fafafa;
    --color-red:      #e50000;
    --color-red-dark: #b30000;
    --color-red-glow: rgba(229, 0, 0, 0.18);
    --color-text:     #111111;
    --color-text-soft:#444444;
    --color-gray:     #777777;
    --color-gray-light:#aaaaaa;
    --color-border:   #e0e0e0;
    --font-primary: 'Barlow', 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

/* ============================================================
   BASE
   ============================================================ */
body {
    background-color: var(--bg-primary) !important;
    color: var(--color-text) !important;
    font-family: var(--font-primary) !important;
    overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text) !important;
}

a {
    color: var(--color-red) !important;
}
a:hover {
    color: var(--color-red-dark) !important;
}

::selection {
    background: var(--color-red);
    color: #ffffff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #eeeeee; }
::-webkit-scrollbar-thumb { background: var(--color-red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-red-dark); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header,
#masthead,
.ast-masthead-custom-menu-items,
.main-header-bar {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--color-red) !important;
    box-shadow: none !important;
}

.ast-header-sticked .main-header-bar,
.ast-sticky-active .main-header-bar {
    background-color: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(10px) !important;
}

.main-header-bar .ast-container,
.main-header-bar-wrap .ast-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 0 24px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.ast-site-identity {
    flex-shrink: 0 !important;
    padding: 12px 0 !important;
}

.ast-site-identity .site-title a,
.ast-site-identity .site-title {
    color: #111111 !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.ast-site-identity .site-title a::after { display: none; }

.ast-site-identity .custom-logo {
    max-height: 48px !important;
    width: auto !important;
}

#ast-desktop-nav,
.ast-nav-menu-enabled #ast-desktop-nav {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.main-header-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background-color: transparent !important;
}

/* ============================================================
   NAVEGACIÓN PRINCIPAL
   ============================================================ */
.main-header-menu > li,
.ast-nav-menu > li {
    position: relative !important;
    white-space: nowrap !important;
}

.main-header-menu > li > a,
.ast-nav-menu > li > a {
    color: #111111 !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 28px 10px !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

/* Menú activo — negro en lugar de rojo */
.main-header-menu > li > a:hover,
.ast-nav-menu > li > a:hover,
.main-header-menu > li.current-menu-item > a,
.main-header-menu > li.current-menu-ancestor > a {
    color: #111111 !important;
    font-weight: 800 !important;
}

.main-header-menu > li.menu-item-has-children > a::after,
.ast-nav-menu > li.menu-item-has-children > a::after {
    content: '▾' !important;
    font-size: 0.7rem !important;
    margin-left: 2px !important;
    color: var(--color-red) !important;
}

.main-header-menu .sub-menu,
.ast-nav-menu .sub-menu {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-top: 2px solid var(--color-red) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
    border-radius: 0 0 var(--radius) var(--radius) !important;
    min-width: 220px !important;
    z-index: 9999 !important;
}

.main-header-menu .sub-menu li a,
.ast-nav-menu .sub-menu li a {
    color: #333333 !important;
    padding: 10px 20px !important;
    font-size: 0.82rem !important;
    border-bottom: 1px solid #eeeeee !important;
    transition: var(--transition) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: block !important;
}

.main-header-menu .sub-menu li:last-child a,
.ast-nav-menu .sub-menu li:last-child a {
    border-bottom: none !important;
}

.main-header-menu .sub-menu li a:hover,
.ast-nav-menu .sub-menu li a:hover {
    color: var(--color-red) !important;
    background-color: rgba(229,0,0,0.05) !important;
    padding-left: 28px !important;
}

.ast-mobile-menu-buttons .menu-toggle,
.ast-button-wrap .menu-toggle {
    color: #ffffff !important;
    background-color: var(--color-red) !important;
    border-radius: var(--radius) !important;
}

/* ============================================================
   HEADER LAYOUT FIX
   ============================================================ */
.main-header-bar {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 0 !important;
}

.main-header-bar > .ast-container,
.main-header-bar-wrap > .ast-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 48px !important;
    gap: 16px !important;
    box-sizing: border-box !important;
}

.main-header-bar .ast-site-identity {
    flex: 0 0 auto !important;
    order: 1 !important;
    z-index: 2 !important;
    padding: 16px 0 !important;
}

.main-header-bar #ast-desktop-nav {
    flex: 1 1 auto !important;
    order: 2 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    overflow: visible !important;
}

/* ============================================================
   WOOCOMMERCE GENERAL
   ============================================================ */
.woocommerce-page,
.woocommerce {
    background-color: var(--bg-primary) !important;
}

.woocommerce-products-header__title,
h1.page-title,
.entry-title {
    color: var(--color-text) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

h1.page-title::after,
.entry-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #dddddd;
    margin-top: 8px;
}

.woocommerce-breadcrumb,
.ast-breadcrumbs-wrapper {
    color: var(--color-gray) !important;
    background: transparent !important;
}

.woocommerce-breadcrumb a {
    color: var(--color-gray) !important;
}
.woocommerce-breadcrumb a:hover {
    color: var(--color-red) !important;
}

.woocommerce-ordering select,
.woocommerce-result-count {
    background-color: #ffffff !important;
    color: var(--color-text) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius) !important;
}

/* ============================================================
   CARDS DE PRODUCTOS
   ============================================================ */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background-color: #ffffff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    transition: var(--transition) !important;
    padding: 0 !important;
    color: var(--color-text) !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    border-color: var(--color-red) !important;
    box-shadow: 0 4px 20px var(--color-red-glow) !important;
    transform: translateY(-4px) !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-bottom: 1px solid #eeeeee !important;
    transition: var(--transition) !important;
}

/* Contenedor de imagen con posición relativa para el badge */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link {
    position: relative !important;
    display: block !important;
}

.woocommerce ul.products li.product:hover a img {
    opacity: 0.9 !important;
    transform: scale(1.03) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    color: var(--color-text) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 12px 16px 4px !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 0 16px 8px !important;
}

/* Ocultar botón add to cart en loop */
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button:not(.bg-whatsapp-btn) {
    display: none !important;
}

/* ============================================================
   PRODUCTO INDIVIDUAL
   ============================================================ */
.single-product div.product {
    background-color: #ffffff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 30px !important;
}

.single-product .product_title {
    color: var(--color-text) !important;
    font-weight: 800 !important;
}

.single-product .price {
    color: #111111 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description p {
    color: var(--color-text-soft) !important;
}

.woocommerce-product-details__short-description,
.product_meta,
.product_meta span,
.product_meta a {
    color: var(--color-gray) !important;
}

.woocommerce-tabs ul.tabs {
    background: transparent !important;
    border-bottom: 1px solid var(--color-border) !important;
}

.woocommerce-tabs ul.tabs li {
    background: #f5f5f5 !important;
    border: 1px solid var(--color-border) !important;
}

.woocommerce-tabs ul.tabs li a {
    color: #444444 !important;
}

.woocommerce-tabs ul.tabs li.active {
    background: var(--color-red) !important;
    border-color: var(--color-red) !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
}

.woocommerce-Tabs-panel,
.woocommerce-Tabs-panel p {
    background-color: #ffffff !important;
    color: #444444 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 24px 0 !important;
}

/* Quitar bordes/líneas azules de Astra en párrafos de la descripción */
.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel h1,
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3,
.woocommerce-Tabs-panel h4 {
    border: none !important;
    border-left: none !important;
    border-top: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    margin-bottom: 12px !important;
}

/* Quitar el markdown sin renderizar — ocultar # y ** que WC no parsea */
.woocommerce-Tabs-panel {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Galería del producto */
.woocommerce-product-gallery {
    background: #f9f9f9 !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius) !important;
    overflow: hidden !important;
}

/* Ocultar botones de compra */
.single-product .cart,
.single-product form.cart,
.single-product button.single_add_to_cart_button,
.single-product .add_to_cart_button {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

p.stock, .stock { display: none !important; }

/* ============================================================
   BOTÓN WHATSAPP
   ============================================================ */
.bg-whatsapp-btn {
    display: block !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 10px 16px !important;
    margin: 8px 16px 16px !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
}

.bg-whatsapp-btn:hover {
    background-color: #1ebe5d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37,211,102,0.35) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.beast-single-whatsapp .bg-whatsapp-btn,
.single-product .bg-whatsapp-btn {
    padding: 14px 32px !important;
    font-size: 1rem !important;
    display: inline-block !important;
}

/* ============================================================
   STOCK BADGES
   ============================================================ */
.beast-stock-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    display: inline-block !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 50px !important;
    letter-spacing: 0.3px !important;
    z-index: 2 !important;
    margin: 0 !important;
}

.beast-stock-badge--in {
    background: rgba(37,211,102,0.1) !important;
    color: #1a9e50 !important;
    border: 1px solid rgba(37,211,102,0.3) !important;
}

.beast-stock-badge--low {
    background: rgba(255,165,0,0.1) !important;
    color: #b37700 !important;
    border: 1px solid rgba(255,165,0,0.3) !important;
}

.beast-stock-badge--out {
    background: rgba(229,0,0,0.08) !important;
    color: #cc0000 !important;
    border: 1px solid rgba(229,0,0,0.2) !important;
}

.beast-stock-single {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 18px !important;
    border-radius: var(--radius) !important;
    font-size: 0.9rem !important;
    margin: 12px 0 !important;
    font-weight: 500 !important;
}

.beast-stock-single--in {
    background: rgba(37,211,102,0.08) !important;
    border: 1px solid rgba(37,211,102,0.25) !important;
    color: #1a9e50 !important;
}

.beast-stock-single--low {
    background: rgba(255,165,0,0.08) !important;
    border: 1px solid rgba(255,165,0,0.25) !important;
    color: #b37700 !important;
}

.beast-stock-single--out {
    background: rgba(229,0,0,0.08) !important;
    border: 1px solid rgba(229,0,0,0.2) !important;
    color: #cc0000 !important;
}

.beast-btn-disabled {
    display: block !important;
    background-color: #eeeeee !important;
    color: #aaaaaa !important;
    text-align: center !important;
    padding: 10px 16px !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    cursor: not-allowed !important;
    border: 1px solid #dddddd !important;
}

/* ============================================================
   CATEGORÍAS - CARDS WC
   ============================================================ */
.woocommerce ul.products li.product-category,
.woocommerce-page ul.products li.product-category {
    background-color: #ffffff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: var(--transition) !important;
}

.woocommerce ul.products li.product-category:hover,
.woocommerce-page ul.products li.product-category:hover {
    border-color: var(--color-red) !important;
    box-shadow: 0 4px 20px var(--color-red-glow) !important;
    transform: translateY(-4px) !important;
}

.woocommerce ul.products li.product-category a,
.woocommerce-page ul.products li.product-category a {
    display: block !important;
    padding: 0 !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.woocommerce ul.products li.product-category img,
.woocommerce-page ul.products li.product-category img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    background: #f5f5f5 !important;
}

.woocommerce ul.products li.product-category h2,
.woocommerce-page ul.products li.product-category h2 {
    background: rgba(0,0,0,0.55) !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.woocommerce ul.products li.product-category h2 .count,
.woocommerce-page ul.products li.product-category h2 .count {
    display: block !important;
    color: #ffaaaa !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    background: none !important;
    padding: 0 !important;
    margin-top: 2px !important;
}

.woocommerce ul.products li.product-category a::before,
.woocommerce ul.products li.product-category a::after,
.woocommerce ul.products li.product-category mark {
    display: none !important;
    background: none !important;
    content: none !important;
}

/* ============================================================
   TIENDA - BÚSQUEDA Y FILTROS
   ============================================================ */
.beast-shop-wrap {
    padding: 0 !important;
    max-width: 100% !important;
}

.beast-search-bar {
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid #eeeeee;
}

.beast-search-bar__form { max-width: 700px; margin: 0 auto; }

.beast-search-bar__inner {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #dddddd;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    gap: 12px;
    transition: border-color 0.3s ease;
}

.beast-search-bar__inner:focus-within {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(229,0,0,0.08);
}

.beast-search-bar__icon { font-size: 1.1rem; flex-shrink: 0; }

.beast-search-bar__input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #111111 !important;
    font-size: 0.95rem !important;
    padding: 8px 0 !important;
    box-shadow: none !important;
}

.beast-search-bar__input::placeholder { color: #aaaaaa !important; }

.beast-search-bar__btn {
    background: var(--color-red);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.beast-search-bar__btn:hover { background: var(--color-red-dark); }

.beast-filter-bar {
    background: #ffffff;
    padding: 16px 24px;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.beast-filter-bar--sub {
    background: #f9f9f9;
    padding: 12px 24px;
    position: static;
    box-shadow: none;
}

.beast-filter-bar__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.beast-filter-bar__label {
    color: #aaaaaa;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    white-space: nowrap;
}

.beast-filter-bar__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.beast-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none !important;
    color: #555555 !important;
    background: #f0f0f0;
    border: 1px solid #dddddd;
    transition: var(--transition);
    white-space: nowrap;
}

.beast-pill:hover {
    color: var(--color-red) !important;
    border-color: var(--color-red);
    background: rgba(229,0,0,0.05);
}

.beast-pill--active {
    background: var(--color-red) !important;
    border-color: var(--color-red) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(229,0,0,0.25);
}

.beast-pill--sub {
    padding: 4px 12px;
    font-size: 0.72rem;
    background: #f9f9f9;
    border-color: #eeeeee;
}

.beast-pill__count {
    background: rgba(0,0,0,0.08);
    border-radius: 50px;
    padding: 1px 6px;
    font-size: 0.65rem;
    font-weight: 700;
}

.beast-pill--active .beast-pill__count { background: rgba(255,255,255,0.25); }

.beast-shop-header {
    padding: 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.beast-shop-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.beast-no-results {
    text-align: center;
    padding: 80px 24px;
    color: var(--color-gray);
}

.beast-no-results p {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--color-gray) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ast-footer-copyright,
.ast-copyright-footer,
[class*="ast-copyright"],
.site-footer .ast-row .ast-footer-copyright {
    display: none !important;
}

.beast-footer {
    background-color: #1a1a1a !important;
    border-top: 3px solid var(--color-red) !important;
    color: #aaaaaa !important;
    margin-top: 0 !important;
}

.beast-footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.beast-footer__top {
    padding: 60px 0 48px;
}

.beast-footer__top .beast-footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    align-items: flex-start;
}

.beast-footer__logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 16px;
}

.beast-footer__logo-white { color: #ffffff; }
.beast-footer__logo-red   { color: var(--color-red); }

.beast-footer__logo-img {
    max-width: 110px;
    width: auto;
    height: auto;
    display: block;
    mix-blend-mode: lighten;
    filter: drop-shadow(0 0 10px rgba(229,0,0,.5));
    transition: filter .3s ease;
}
.beast-footer__logo-img:hover {
    filter: drop-shadow(0 0 18px rgba(229,0,0,.8));
}

.beast-footer__pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.beast-pay-badge {
    display: inline-block;
    background: rgba(229,0,0,.12);
    border: 1px solid rgba(229,0,0,.3);
    color: #cccccc;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .4px;
}

.beast-footer__desc {
    color: #888888;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}

.beast-footer__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.3);
    color: #25D366 !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: var(--transition);
}

.beast-footer__whatsapp:hover {
    background: rgba(37,211,102,0.2) !important;
    color: #25D366 !important;
    text-decoration: none !important;
}

.beast-footer__title {
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #2a2a2a !important;
}
.beast-footer__title::after { display: none !important; }

.beast-footer__links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.beast-footer__links li { margin-bottom: 10px !important; }

.beast-footer__links li a {
    color: #888888 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.beast-footer__links li a::before {
    content: '›';
    color: var(--color-red);
    font-size: 1rem;
}

.beast-footer__links li a:hover {
    color: #ffffff !important;
    padding-left: 4px !important;
}

.beast-footer__info-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.beast-footer__info-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    color: #888888 !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
}

.beast-footer__info-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.beast-footer__bottom {
    background: #111111;
    border-top: 1px solid #222222;
    padding: 18px 0;
}

.beast-footer__bottom-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.beast-footer__copy {
    color: #555555 !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
}

.beast-footer__copy strong { color: var(--color-red); }

/* Redes sociales */
.beast-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.beast-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none !important;
    transition: var(--transition);
    border: 1px solid #2a2a2a;
    color: #666666 !important;
    background: #1a1a1a;
}

.beast-footer__social-link:hover { transform: translateY(-3px); border-color: transparent !important; }
.beast-footer__social-link--fb:hover { background: #1877F2 !important; color: #ffffff !important; box-shadow: 0 4px 15px rgba(24,119,242,0.4); }
.beast-footer__social-link--ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; color: #ffffff !important; }
.beast-footer__social-link--tt:hover { background: #010101 !important; color: #69C9D0 !important; }

/* Responsive footer */
@media (max-width: 1024px) {
    .beast-footer__top .beast-footer__container { grid-template-columns: 1fr 1fr; gap: 36px; }
    .beast-footer__col--brand { grid-column: 1 / -1; }
    .beast-footer__desc { max-width: 100%; }
}
@media (max-width: 600px) {
    .beast-footer__top .beast-footer__container { grid-template-columns: 1fr; gap: 28px; }
    .beast-footer__col--brand { grid-column: auto; }
    .beast-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.beast-wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beast-wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37,211,102,0.7);
    text-decoration: none !important;
}

.beast-wa-float__icon { width: 32px; height: 32px; color: #ffffff; position: relative; z-index: 2; }

.beast-wa-float__pulse {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    animation: beast-wa-pulse 2s ease-out infinite;
}

@keyframes beast-wa-pulse {
    0%   { transform: scale(1);   opacity: 0.5; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   HOMEPAGE FIXES
   ============================================================ */
.home #page, .home #content, .home #primary,
.home .site-content, .home .entry-content,
.home .ast-article-single, .home .ast-article-post, .home article {
    max-width: 100% !important; width: 100% !important;
    padding: 0 !important; margin: 0 !important; float: none !important;
}
.home #secondary, .home .widget-area { display: none !important; }
.home .entry-header, .home .page-header, .home .ast-breadcrumbs-wrapper { display: none !important; }
.ast-above-header-bar, .ast-above-header { display: none !important; }

#beast-homepage, #beast-homepage > section {
    width: 100% !important; max-width: 100% !important;
    margin-left: 0 !important; margin-right: 0 !important;
    padding-left: 0 !important; padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* ============================================================
   CARD BTN
   ============================================================ */
.beast-product-card__btn {
    display: block !important;
    background: transparent !important;
    color: var(--color-red) !important;
    text-align: center !important;
    padding: 9px 16px !important;
    border-radius: 6px !important;
    border: 1px solid var(--color-red) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    margin-top: 8px !important;
}
.beast-product-card__btn:hover {
    background: var(--color-red) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.beast-tag--out { display: block; text-align: center; color: #aaaaaa !important; font-size: 0.8rem; padding: 8px; }
.beast-tag--in  { display: block; text-align: center; color: #1a9e50 !important; font-size: 0.75rem; padding: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .main-header-menu > li > a, .ast-nav-menu > li > a {
        font-size: 0.68rem !important; padding: 18px 7px !important; letter-spacing: 0.2px !important;
    }
}
@media (max-width: 768px) {
    .main-header-bar > .ast-container, .main-header-bar-wrap > .ast-container { padding: 0 16px !important; }
    .ast-site-identity .site-title a, .ast-site-identity .site-title { font-size: 1.1rem !important; }
    .woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img { height: 160px !important; }
    .beast-wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
    .beast-wa-float__icon { width: 26px; height: 26px; }
    .beast-filter-bar { padding: 12px 16px; }
    .beast-filter-bar__label { display: none; }
    .beast-search-bar { padding: 16px; }
}

/* ============================================================
   FIX - Quitar líneas/bordes entre párrafos (Astra)
   ============================================================ */
.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel li,
.woocommerce-Tabs-panel h1,
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3,
.woocommerce-Tabs-panel h4,
.woocommerce-Tabs-panel h5,
.single-product .woocommerce-product-details__short-description p,
.entry-content p,
.ast-article-single p {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
}


/* Smooth scroll */
html { scroll-behavior: smooth; }
   ============================================================ */
.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel li,
.woocommerce-Tabs-panel h1,
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3,
.woocommerce-Tabs-panel h4,
.single-product .woocommerce-product-details__short-description p,
.entry-content p,
.ast-article-single p {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ============================================================
   FIX - Homepage a ancho completo
   ============================================================ */
.home .site-content,
.home #content,
.home #primary,
.home .entry-content,
.home .ast-article-single,
.home article.page {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
}

/* El contenedor de Astra que limita el ancho */
.home .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#beast-homepage,
#beast-homepage > section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ============================================================
   FIX - Padding lateral del header (override Astra)
   ============================================================ */
#masthead .ast-container,
#masthead .main-header-bar-wrap,
#masthead .main-header-bar-wrap .ast-container,
.main-header-bar-wrap,
.site-header .ast-container {
    padding-left: 48px !important;
    padding-right: 48px !important;
}

/* ============================================================
   LOGO HEADER
   ============================================================ */
.beast-header-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.beast-header-logo {
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
    display: block !important;
    mix-blend-mode: multiply !important;
}

.ast-site-identity {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 0 !important;
}

/* ============================================================
   MARCA DE AGUA - Logo de fondo centrado
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('wp-content/themes/beast-gamer-child/images/logo-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   FIX - Menú móvil
   ============================================================ */
@media (max-width: 768px) {
    .main-header-menu,
    .ast-nav-menu {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .main-header-menu > li > a,
    .ast-nav-menu > li > a {
        font-size: 0.62rem !important;
        padding: 12px 6px !important;
        letter-spacing: 0.2px !important;
    }

    /* Menú hamburguesa de Astra - mostrar en móvil */
    .ast-mobile-menu-buttons {
        display: flex !important;
    }

    /* Ocultar menú horizontal en móvil y usar el hamburguesa */
    #ast-desktop-nav {
        display: none !important;
    }

    .ast-mobile-menu-buttons .menu-toggle {
        display: flex !important;
    }
}

/* ============================================================
   SINGLE PRODUCT - Layout
   ============================================================ */
.beast-single-wrap {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
}

.beast-single-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px;
}

/* GALERÍA */
.beast-gallery__main {
    border-radius: 12px;
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid #eeeeee;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beast-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.beast-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.beast-gallery__thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eeeeee;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.beast-gallery__thumb:hover,
.beast-gallery__thumb--active {
    border-color: #e50000;
}

/* INFO */
.beast-single-cat {
    display: inline-block;
    color: #e50000 !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    margin-bottom: 8px;
}

.beast-single-title {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: #111111 !important;
    line-height: 1.2 !important;
    margin: 8px 0 16px !important;
    text-transform: uppercase !important;
}
.beast-single-title::after { display: none !important; }

.beast-single-price {
    font-size: 2rem;
    font-weight: 900;
    color: #111111;
    margin-bottom: 20px;
}

.beast-single-desc {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 16px 0 20px;
    border-top: 1px solid #eeeeee;
    padding-top: 16px;
}

.beast-single-meta {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #aaaaaa;
}

.beast-single-meta a {
    color: #888888 !important;
}

.beast-single-whatsapp {
    margin-top: 20px;
}

.beast-single-whatsapp__note {
    color: #aaaaaa;
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ============================================================
   SELECTOR DE VARIACIONES POR COLOR
   ============================================================ */
.beast-variants {
    margin: 20px 0;
}

.beast-variants__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.beast-variants__label span {
    color: #111111;
    font-weight: 800;
}

.beast-variants__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.beast-variant-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111111;
    text-align: left;
}

.beast-variant-btn:hover:not(.beast-variant-btn--out) {
    border-color: #111111;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.beast-variant-btn--active {
    border-color: #111111 !important;
    background: #f9f9f9 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
}

.beast-variant-btn--out {
    opacity: 0.4;
    cursor: not-allowed;
}

.beast-variant-btn__swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: inline-block;
}

.beast-variant-btn__name {
    text-transform: capitalize;
    flex: 1;
}

.beast-variant-btn__low {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ff8800;
    background: rgba(255,136,0,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
}

.beast-variant-btn__out {
    font-size: 0.65rem;
    font-weight: 700;
    color: #999999;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
    text-decoration: none;
}

/* DESCRIPCIÓN COMPLETA */
.beast-single-full-desc {
    margin-top: 40px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px;
}

.beast-single-full-desc__title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #111111 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #e50000 !important;
}
.beast-single-full-desc__title::after { display: none !important; }

.beast-single-full-desc__content {
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.8;
}

.beast-single-full-desc__content p {
    margin-bottom: 12px;
    border: none !important;
    box-shadow: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .beast-single-product {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }

    .beast-single-title { font-size: 1.4rem !important; }
    .beast-single-price { font-size: 1.6rem; }
    .beast-single-wrap  { padding: 0 16px; margin: 20px auto; }
}

/* ============================================================
   CARRITO
   ============================================================ */
.woocommerce-cart .woocommerce,
.woocommerce-cart #content {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
}

.woocommerce-cart table.shop_table {
    background: #ffffff;
    border: 1px solid #e0e0e0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    border-collapse: separate !important;
}

.woocommerce-cart table.shop_table th {
    background: #f9f9f9 !important;
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 16px !important;
    border-bottom: 1px solid #eeeeee !important;
}

.woocommerce-cart table.shop_table td {
    padding: 16px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    color: #111111 !important;
    vertical-align: middle !important;
}

.woocommerce-cart .cart-subtotal th,
.woocommerce-cart .order-total th {
    color: #111111 !important;
    font-weight: 700 !important;
}

.woocommerce-cart .order-total .amount {
    color: #111111 !important;
    font-size: 1.3rem !important;
    font-weight: 900 !important;
}

/* Botón actualizar carrito */
.woocommerce-cart .button[name="update_cart"] {
    background: #f5f5f5 !important;
    color: #111111 !important;
    border: 1px solid #dddddd !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Botón proceder al checkout */
.woocommerce-cart .checkout-button,
.woocommerce .checkout-button {
    background: #e50000 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.woocommerce-cart .checkout-button:hover {
    background: #b30000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229,0,0,0.3) !important;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.woocommerce-checkout .woocommerce {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 24px;
}

.woocommerce-checkout h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #111111 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #e50000 !important;
}
.woocommerce-checkout h3::after { display: none !important; }

.woocommerce-checkout .form-row label {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: #444444 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-checkout .form-row input {
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    color: #111111 !important;
    width: 100% !important;
    transition: border-color 0.2s ease !important;
    background: #ffffff !important;
}

.woocommerce-checkout .form-row input:focus {
    border-color: #e50000 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(229,0,0,0.08) !important;
}

/* Sección de pago */
#payment {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
}

#payment .payment_methods {
    border-bottom: 1px solid #eeeeee !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
}

#payment .payment_methods li {
    padding: 12px 0 !important;
}

#payment .payment_methods li label {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #111111 !important;
}

#payment .payment_box {
    background: #f9f9f9 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 0.85rem !important;
    color: #666666 !important;
}

/* Botón confirmar pedido */
#place_order {
    background: #e50000 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 18px 32px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#place_order:hover {
    background: #b30000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229,0,0,0.3) !important;
}

/* ============================================================
   PÁGINA DE AGRADECIMIENTO
   ============================================================ */
.beast-thankyou {
    text-align: center;
    padding: 60px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.beast-thankyou__icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.beast-thankyou__title {
    font-size: 2rem !important;
    font-weight: 900 !important;
    color: #111111 !important;
    margin-bottom: 16px !important;
}
.beast-thankyou__title::after { display: none !important; }

.beast-thankyou__text {
    color: #555555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.beast-thankyou__wa {
    display: inline-block;
    background: #25D366;
    color: #ffffff !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.beast-thankyou__wa:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* ============================================================
   BOTÓN ADD TO CART EN LOOP
   ============================================================ */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: block !important;
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
    margin: 8px 16px 16px !important;
    border: none !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
    background: #e50000 !important;
    color: #ffffff !important;
}

/* Botón add to cart en single product */
.beast-add-to-cart-btn {
    display: block !important;
    width: 100% !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 16px !important;
}

.beast-add-to-cart-btn:hover {
    background: #e50000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229,0,0,0.25) !important;
}

.beast-add-to-cart-btn:disabled {
    background: #cccccc !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================================
   BOTÓN REGRESAR
   ============================================================ */
.beast-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #555555 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-bottom: 24px !important;
    padding: 10px 18px !important;
    border: 1px solid #dddddd !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.beast-back-btn:hover {
    color: #e50000 !important;
    border-color: #e50000 !important;
    background: #fff5f5 !important;
}

/* ============================================================
   SINGLE PRODUCT v2 — Diseño adulto / minimalista
   ============================================================ */
.bsp-wrap {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 24px;
}

.bsp-wrap .woocommerce-breadcrumb {
    font-size: 0.78rem;
    color: #aaaaaa !important;
    margin-bottom: 24px;
}

.bsp-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    z-index: 1;
}

/* GALERÍA */
.bsp-gallery__main {
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eeeeee;
}

.bsp-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .2s;
}

.bsp-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.bsp-thumb {
    width: 68px;
    height: 68px;
    border-radius: 6px;
    border: 1.5px solid #e8e8e8;
    overflow: hidden;
    padding: 0;
    background: #f8f8f8;
    cursor: pointer;
    transition: border-color .2s;
}

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

.bsp-thumb:hover,
.bsp-thumb--active {
    border-color: #111111;
}

/* INFO */
.bsp-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999999 !important;
    text-decoration: none !important;
    margin-bottom: 12px;
}

.bsp-cat:hover { color: #111111 !important; }

.bsp-title {
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.25 !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.3px !important;
}
.bsp-title::after { display: none !important; }

.bsp-price {
    font-size: 1.7rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.bsp-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0;
}

/* SELECTOR DE VARIACIONES */
.bsp-variants { margin-bottom: 16px; }

.bsp-variants__label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.bsp-variants__key {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999999;
}

.bsp-variants__val {
    font-size: 0.82rem;
    font-weight: 500;
    color: #111111;
}

.bsp-variants__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.bsp-variant {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: all .15s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: #111111;
    text-align: left;
}

.bsp-variant:hover:not(:disabled) {
    border-color: #111111;
    background: #fafafa;
}

.bsp-variant--active {
    border-color: #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
}

.bsp-variant--active .bsp-variant__dot {
    border-color: rgba(255,255,255,0.3) !important;
}

.bsp-variant--out {
    opacity: 0.38;
    cursor: not-allowed;
}

.bsp-variant__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.bsp-variant__name { flex: 1; }

.bsp-variant__tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
}

.bsp-variant__tag--out { background: #f0f0f0; color: #999999; }
.bsp-variant__tag--low { background: #fff7e6; color: #b45309; }

/* STOCK */
.bsp-stock {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
}

.bsp-stock--in  { background: #f0fdf4; color: #166534; }
.bsp-stock--low { background: #fffbeb; color: #92400e; }
.bsp-stock--out { background: #fef2f2; color: #991b1b; }

/* DESCRIPCIÓN CORTA */
.bsp-short-desc {
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

.bsp-short-desc p  { margin-bottom: 6px; }
.bsp-short-desc ul { padding-left: 18px; }
.bsp-short-desc li { margin-bottom: 4px; }
.bsp-short-desc strong { color: #111111; font-weight: 600; }

/* BOTONES */
.bsp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bsp-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
    text-decoration: none !important;
}

.bsp-btn--primary {
    background: #111111;
    color: #ffffff !important;
}

.bsp-btn--primary:hover:not(:disabled) {
    background: #333333;
}

.bsp-btn--primary:disabled {
    background: #e8e8e8;
    color: #999999 !important;
    cursor: not-allowed;
}

.bsp-btn--wa {
    background: #25D366;
    color: #ffffff !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bsp-btn--wa::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.bsp-btn--wa:hover {
    background: #1ebe5d;
    color: #ffffff !important;
    border: none;
}

/* META */
.bsp-meta {
    margin-top: 20px;
    font-size: 0.75rem;
    color: #aaaaaa;
}

.bsp-meta a { color: #aaaaaa !important; }
.bsp-meta a:hover { color: #111111 !important; }

/* DESCRIPCIÓN COMPLETA */
.bsp-desc {
    margin-top: 48px;
    padding: 32px;
    border-radius: 12px;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.bsp-desc__title {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: #999999 !important;
    margin-bottom: 24px !important;
}
.bsp-desc__title::after { display: none !important; }

.bsp-desc__content {
    font-size: 0.92rem;
    color: #444444;
    line-height: 1.8;
    max-width: 720px;
}

.bsp-desc__content h1,
.bsp-desc__content h2,
.bsp-desc__content h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 24px 0 8px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.bsp-desc__content h1::after,
.bsp-desc__content h2::after,
.bsp-desc__content h3::after { display: none !important; }

.bsp-desc__content p  { margin-bottom: 16px; border: none !important; }
.bsp-desc__content ul { padding-left: 20px; margin-bottom: 12px; }
.bsp-desc__content li { margin-bottom: 6px; }
.bsp-desc__content strong { color: #111111; font-weight: 600; }
.bsp-desc__content hr { border: none; border-top: 1px solid #eeeeee; margin: 24px 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .bsp-product { grid-template-columns: 1fr; gap: 28px; }
    .bsp-title   { font-size: 1.3rem !important; }
    .bsp-price   { font-size: 1.4rem; }
    .bsp-wrap    { padding: 0 16px; margin: 20px auto; }
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.bcd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.bcd-overlay--open {
    opacity: 1;
    pointer-events: all;
}

.bcd {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 32px rgba(0,0,0,0.12);
}

.bcd--open {
    transform: translateX(0);
}

/* HEADER */
.bcd__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.bcd__title {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.3px;
}

.bcd__close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color .2s, background .2s;
    line-height: 1;
}

.bcd__close:hover {
    color: #111111;
    background: #f5f5f5;
}

/* BODY */
.bcd__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.bcd__empty {
    text-align: center;
    color: #aaaaaa;
    font-size: 0.88rem;
    padding: 48px 0;
}

/* ITEMS */
.bcd__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bcd-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.bcd-item__img {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #eeeeee;
    flex-shrink: 0;
    background: #f8f8f8;
}

.bcd-item__info {
    flex: 1;
    min-width: 0;
}

.bcd-item__name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bcd-item__variant {
    font-size: 0.75rem;
    color: #888888;
    margin-bottom: 8px;
}

.bcd-item__price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
}

.bcd-item__qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.bcd-item__qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    font-size: 1rem;
    line-height: 1;
    color: #111111;
    cursor: pointer;
    transition: background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bcd-item__qty-btn:hover { background: #f5f5f5; }

.bcd-item__qty-num {
    font-size: 0.88rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    color: #111111;
}

.bcd-item__remove {
    background: none;
    border: none;
    color: #cccccc;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: color .2s;
    flex-shrink: 0;
    align-self: center;
}

.bcd-item__remove:hover { color: #e50000; }

/* FOOTER */
.bcd__footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #ffffff;
}

.bcd__total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bcd__total-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.5px;
}

.bcd__checkout-btn {
    display: block;
    width: 100%;
    background: #111111;
    color: #ffffff !important;
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: background .2s;
    margin-bottom: 10px;
}

.bcd__checkout-btn:hover {
    background: #333333;
    color: #ffffff !important;
}

.bcd__continue {
    display: block;
    width: 100%;
    background: none;
    border: 1px solid #e8e8e8;
    color: #555555;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bcd__continue:hover {
    border-color: #111111;
    color: #111111;
}

/* CONTADOR EN HEADER */
.beast-cart-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background .2s;
    position: relative;
    background: none;
    border: none;
    color: #111111;
    font-weight: 600;
    font-size: 0.82rem;
}

.beast-cart-counter:hover { background: #f5f5f5; }

.beast-cart-counter__icon { font-size: 1.1rem; }

.beast-cart-counter__badge {
    background: #e50000;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

@media (max-width: 600px) {
    .bcd { width: 100vw; }
}

/* ============================================================
   FILTRO DE MARCA — DROPDOWN
   ============================================================ */
.beast-brand-bar {
    background: #ffffff;
    padding: 12px 24px;
    border-bottom: 1px solid #eeeeee;
}

.beast-brand-bar__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.beast-brand-bar__label {
    color: #aaaaaa;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.beast-brand-dropdown-wrap {
    position: relative;
}

.beast-brand-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #dddddd;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.beast-brand-dropdown-btn:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

.beast-brand-dropdown-btn__arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.beast-brand-dropdown-btn[aria-expanded="true"] .beast-brand-dropdown-btn__arrow {
    transform: rotate(180deg);
}

.beast-brand-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 2px solid var(--color-red);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    min-width: 200px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.beast-brand-dropdown--open {
    display: block;
}

.beast-brand-option {
    display: block;
    padding: 10px 18px;
    font-size: 0.85rem;
    color: #333333 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.beast-brand-option:last-child {
    border-bottom: none;
}

.beast-brand-option:hover {
    background: rgba(229,0,0,0.05);
    color: var(--color-red) !important;
    padding-left: 24px;
}

.beast-brand-option--active {
    color: var(--color-red) !important;
    font-weight: 700;
    background: rgba(229,0,0,0.04);
}

.beast-brand-clear {
    font-size: 0.78rem;
    font-weight: 600;
    color: #999999 !important;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid #dddddd;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.beast-brand-clear:hover {
    color: var(--color-red) !important;
    border-color: var(--color-red);
}

@media (max-width: 768px) {
    .beast-brand-bar { padding: 10px 16px; }
    .beast-brand-bar__label { display: none; }
}

/* ============================================================
   BOTÓN FLOTANTE CARRITO
   ============================================================ */
.beast-cart-float {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    background: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    color: #ffffff;
}

.beast-cart-float__icon {
    font-size: 28px !important;
    line-height: 1 !important;
    display: block !important;
    width: 28px !important;
    height: 28px !important;
}

.beast-cart-float:hover {
    transform: scale(1.12);
    background: #e50000;
    box-shadow: 0 6px 30px rgba(229,0,0,0.4);
}

.beast-cart-float__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e50000;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #ffffff;
    pointer-events: none;
}

@media (max-width: 768px) {
    .beast-cart-float { bottom: 88px; right: 20px; width: 52px; height: 52px; }
}

/* Ocultar botones Pay/Cancel en página de agradecimiento */
.woocommerce-order-overview ~ .woocommerce-order-details .woocommerce-order-actions,
.woocommerce-order .order-actions,
.woocommerce-thankyou-order-details ~ p .button,
td.woocommerce-orders-table__cell-order-actions { display: none !important; }

/* Ocultar fila Actions completa */
.woocommerce-table--order-details tfoot tr:last-child,
.order_details tfoot .order-actions-row,
.woocommerce-order-details + p { display: none !important; }

/* ============================================================
   LIGHTBOX - Zoom de imagen de producto
   ============================================================ */
.bsp-gallery__zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.bsp-gallery__main:hover .bsp-gallery__zoom-hint {
    opacity: 1;
}

.bsp-gallery__main {
    position: relative;
}

.bsp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.bsp-lightbox--open {
    display: flex;
}

.bsp-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}

.bsp-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 1;
}

.bsp-lightbox__close:hover {
    background: rgba(255,255,255,0.25);
}
