/*
Theme Name: Papzi Child
Theme URI: http://www.wpbingosite.com/papzi
Author: wpbingo
Description: This is a child theme for Papzi
Version: 1.5
Template: papzi
*/

/* Global: Override excessive line-height on WooCommerce buttons */
.woocommerce #respond input#submit,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    line-height: normal !important;
}

/* Force Tax and Fee (Tips) row visibility and alignment in Checkout/Cart */
.shop_table .tax-rate,
.shop_table .tax-total,
.shop_table .fee,
.cart_totals .tax-rate,
.cart_totals .tax-total,
.cart_totals .fee,
.shop_table .order-total,
.cart_totals .order-total {
    display: flex !important;
    justify-content: space-between !important;
    padding: 27px 0px !important;
    margin-top: 0px !important;
    /* Uniform spacing matches Subtotal/Tax */
    align-items: center !important;
    border-top: 1px solid #efefef !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure labels inside these flex rows match subtotal styling */
.shop_table .tax-rate div:first-child,
.shop_table .tax-total div:first-child,
.shop_table .fee th,
.cart_totals .tax-rate div:first-child,
.cart_totals .tax-total div:first-child,
.cart_totals .fee th {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #272727 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    text-align: left !important;
}

/* Ensure values inside these flex rows match subtotal styling */
.shop_table .tax-rate div:last-child,
.shop_table .tax-total div:last-child,
.shop_table .fee td,
.cart_totals .tax-rate div:last-child,
.cart_totals .tax-total div:last-child,
.cart_totals .fee td {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #272727 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    text-align: right !important;
}

@media (max-width: 991px) {

    .woocommerce #respond input#submit,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce a.button {
        font-size: 10px !important;
    }
}

/* Global: Ocultar precio duplicado en todas las resoluciones */
div.content-cart-popup .product-subtotal {
    display: none !important;
}

/* ===== CART POPUP - MOBILE FINAL DESIGN ===== */

@media (max-width: 991px) {

    /* 1. Reset General y Fondo */
    div.content-cart-popup.active {
        display: flex !important;
        background: rgba(0, 0, 0, 0.8) !important;
    }

    div.content-cart-popup .woocommerce-cart-page-popup {
        width: 94% !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    /* 2. Ocultar Bordes que chocan */
    div.content-cart-popup .woocommerce-cart-form {
        border: none !important;
    }

    /* 3. Ocultar Botones + y - */
    div.content-cart-popup button.plus,
    div.content-cart-popup button.minus {
        display: none !important;
    }

    /* 3. Ocultar Precio Duplicado (Subtotal de fila) */
    div.content-cart-popup .product-subtotal {
        display: none !important;
    }

    /* 4. Estilo Caja de Cantidad (Solo el número) */
    div.content-cart-popup .quantity {
        width: 50px !important;
        height: 40px !important;
        border: 2px solid #000 !important;
        border-radius: 8px !important;
        background: #fff !important;
        display: flex !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    div.content-cart-popup input.qty {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        background: transparent !important;
        color: #000 !important;
    }

    /* 5. Ajuste de Fila (Info a la izq, Qty a la derecha) */
    div.content-cart-popup .cart_item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #efefef !important;
    }

    div.content-cart-popup .content-cart-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex: 1 !important;
    }

    div.content-cart-popup .product-thumbnail img {
        width: 65px !important;
        border-radius: 8px !important;
    }

    div.content-cart-popup .product-name a {
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }

    /* 6. Botones Footer: Apilados Verticalmente */
    div.content-cart-popup .bottom-cart {
        display: flex !important;
        flex-direction: column !important;
        /* Uno arriba del otro */
        gap: 10px !important;
        padding-top: 15px !important;
    }

    /* Botón Pagar (Arriba - Negro) */
    div.content-cart-popup .wc-proceed-to-checkout {
        order: 1 !important;
        width: 100% !important;
    }

    div.content-cart-popup .wc-proceed-to-checkout a.checkout-button {
        background: #272727 !important;
        color: #fff !important;
        width: 100% !important;
        height: 50px !important;
        border-radius: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        border: none !important;
    }

    /* Botón Seguir Comprando (Abajo - Blanco con borde) */
    div.content-cart-popup .close-cart-popup {
        order: 2 !important;
        width: 100% !important;
        height: 50px !important;
        border-radius: 50px !important;
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }

    /* Trash icon position */
    div.content-cart-popup .product-remove {
        margin-left: 10px !important;
    }
}

/* ===== PRODUCT LOOP BUTTONS (Related Products, etc.) ===== */

/* Make Add to Cart button a nice pill, single line */
.products .add_to_cart_button,
.products .product_type_simple,
.products .single_add_to_cart_button {
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    margin-top: 10px !important;
    width: auto !important;
    max-width: 100% !important;
}

/* Quantity controls in loop - Make them more compact */
.products .quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #ddd !important;
    border-radius: 50px !important;
    padding: 2px 8px !important;
    max-width: 100px !important;
    margin: 10px auto 0 !important;
}

.products .quantity button.plus,
.products .quantity button.minus {
    background: none !important;
    border: none !important;
    width: 25px !important;
    height: 25px !important;
    font-size: 16px !important;
    padding: 0 !important;
    color: #333 !important;
}

.products .quantity input.qty {
    width: 30px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14px !important;
    background: transparent !important;
}

/* Centering in Related Products */
.related.products {
    text-align: center !important;
}

.related.products .item-product {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Ensure images are visible in related products on mobile */
@media (max-width: 991px) {
    .related.products .products-entry {
        display: block !important;
        padding: 15px !important;
        background: #fff !important;
        border-radius: 15px !important;
        text-align: center !important;
    }

    .related.products .products-thumb {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 15px 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .related.products .products-thumb img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        object-fit: cover !important;
    }

    .related.products .product-thumb-hover,
    .related.products .product-thumb-hover a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Hide quantity selector in related products cards to save space and keep it clean */
    .related.products .tuespacioweb-loop-cart .quantity {
        display: none !important;
    }

    .related.products .tuespacioweb-loop-cart {
        margin-top: 10px !important;
    }

    /* Global Fix: Ensure images are visible in ANY product list on mobile */
    ul.products li .products-thumb,
    ul.products li .products-thumb img,
    ul.pampa-mobile-products-list li .products-thumb,
    ul.pampa-mobile-products-list li .products-thumb img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
}

/* ===== FOOTER - MOBILE CENTERING (ELEMENTOR COMPATIBLE) ===== */
@media (max-width: 991px) {

    /* Main Footer Container */
    #bwp-footer.footer-1,
    .elementor-11196 {
        text-align: center !important;
    }

    /* Force all columns to be full width and center content */
    .elementor-11196 .elementor-column,
    .elementor-11196 .elementor-inner-column {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Center Widget Wrappers */
    .elementor-11196 .elementor-widget-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Center Headings and Text */
    .elementor-11196 .elementor-heading-title,
    .elementor-11196 .elementor-text-editor,
    .elementor-11196 p,
    .elementor-11196 h2 {
        text-align: center !important;
    }

    /* Center Images (Logo, etc.) */
    .elementor-11196 .elementor-widget-image img {
        margin: 0 auto !important;
        display: block !important;
    }

    /* CENTER CATEGORIES LIST VERTICALLY */
    .elementor-element-da5f038 ul.elementor-icon-list-items {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* CENTER PAYMENTS (Payment Icons) */
    .elementor-element-96b82fc {
        text-align: center !important;
        margin: 30px auto 20px !important;
        /* Más espacio arriba y abajo */
        width: 100% !important;
        display: block !important;
    }

    .elementor-element-96b82fc .elementor-widget-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        /* Espacio entre tarjetas */
        flex-wrap: wrap !important;
    }

    .elementor-element-96b82fc img {
        max-width: 45px !important;
        /* Tamaño controlado para que no se amontonen */
        height: auto !important;
        display: inline-block !important;
    }

    /* CENTER SOCIAL LINKS SIDE BY SIDE */
    .elementor-element-a0ea0af {
        margin-top: 20px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        clear: both !important;
        /* Evitar que floten elementos anteriores */
    }

    .elementor-element-a0ea0af ul.social-link {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
    }


    .elementor-element-a0ea0af ul.social-link li {
        display: inline-block !important;
        margin: 0 !important;
    }

    /* PRODUCT PAGE - SOCIAL SHARE LINKS SIDE BY SIDE */
    .social-icon {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .social-share {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
    }

    .social-share a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 13px !important;
        text-transform: uppercase !important;
    }


    /* DECORATIONS TO THE SIDES (Orange lines) */
    /* Decoration 1 (flo-2.png) */
    .elementor-element-dec2bc6 {
        position: absolute !important;
        left: 0 !important;
        top: auto !important;
        bottom: 10px !important;
        width: 60px !important;
    }

    /* Decoration 2 (flo-1.png) */
    .elementor-element-7845715 {
        position: absolute !important;
        right: 0 !important;
        top: auto !important;
        bottom: 10px !important;
        width: 60px !important;
    }

    /* Specific fix for images that were forced to relative before */
    .elementor-11196 .elementor-absolute {
        margin: 0 !important;
    }

    /* Center Copyright Widget */
    .elementor-element-b9f25eb {
        text-align: center !important;
        width: 100% !important;
        padding: 0 50px !important;
        /* Space for decorations */
    }

    /* ===== PRODUCT VARIATIONS FIX - MOBILE (FINAL BRUTE FORCE) ===== */

    /* 1. RESET DE PADRES: Si un padre tiene transform o zoom, el menú de iOS sale chiquito o desplazado. */
    .single-product div.product,
    .single-product .summary,
    .single-product .variations_form,
    .single-product .variations_form * {
        transform: none !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        zoom: 1 !important;
    }

    /* 2. REGLA PARA LA TABLA */
    .variations,
    .variations tbody,
    .variations tr,
    .variations td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        float: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .variations tr {
        margin-bottom: 20px !important;
    }

    /* 3. FIX "DOS TILDES" Y TAMAÑO SELECCIÓN: Volvemos a nativo puro sin flecha manual */
    .variations select {
        display: block !important;
        width: 100% !important;
        height: 55px !important;
        font-size: 16px !important;
        /* Crucial para iPhone */
        border: 2px solid #333 !important;
        border-radius: 8px !important;
        padding: 10px !important;
        background: #fff !important;
        /* Quitamos el SVG que causaba el doble tilde */
        color: #000 !important;
        appearance: auto !important;
        /* Dejamos que el sistema ponga su flecha nativa */
        -webkit-appearance: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Títulos de las variaciones */
    .variations td.label label {
        display: block !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    /* REDUCE MOBILE HEADER HEIGHT */
    .header-mobile {
        padding: 5px 0 !important;
        min-height: auto !important;
    }

    .header-mobile .wpbingoLogo img {
        max-height: 50px !important;
        /* Logo más chico */
        width: auto !important;
        margin: 5px auto !important;
    }

    .header-mobile .header-center {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header-mobile .navbar-toggle {
        margin: 0 !important;
        padding: 10px !important;
    }

    .header-mobile .icons-cart {
        padding: 10px !important;
    }
}

/* ===== NEW MOBILE SHOP LAYOUT (PLP) ===== */
.product-description-summary {
    display: none;
}

/* 1. Category Slider */
.pampa-mobile-category-slider-wrapper {
    background: #fff !important;
    padding: 10px 0 !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--header-mobile-height, 90px) !important;
    z-index: 899 !important;
    /* Higher than products, but lower than header if header is fixed. But wait... */
    /* If the header is fixed and has a high z-index, we need to be just below it but above content */
    border-bottom: 1px solid #eee !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.pampa-category-menu-icon {
    padding: 0 15px;
    border-right: 1px solid #eee;
    color: #333;
}

.pampa-mobile-category-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    padding: 0 15px;
    margin: 0;
    gap: 10px;
}

.pampa-mobile-category-slider::-webkit-scrollbar {
    display: none;
}

.pampa-mobile-category-slider li {
    flex: 0 0 auto;
}

.pampa-mobile-category-slider li a {
    display: block;
    padding: 8px 18px;
    background: #f5f5f5;
    color: #333;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pampa-mobile-category-slider li a.active {
    background: #272727;
    color: #fff;
}

/* 2. Grouped Products Layout */
.pampa-category-section {
    margin-bottom: 40px;
    clear: both;
}

.pampa-category-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-left: 10px;
    color: #272727;
    border-left: 4px solid #ff6b00;
    line-height: 1.2;
}

/* 3. Product Card Specifics (Mobile Only) */
@media (max-width: 991px) {
    .pampa-mobile-shop-logic {
        padding: 0 10px !important;
        margin: 0 !important;
        overflow: visible !important;
        /* Critical for position: sticky to work */
    }

    ul.pampa-mobile-products-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    ul.pampa-mobile-products-list li {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        float: none !important;
        background: transparent !important;
    }

    /* Style the entry inside the li */
    ul.pampa-mobile-products-list li .products-entry {
        display: flex !important;
        flex-direction: row-reverse !important;
        padding: 12px !important;
        background: #fff !important;
        border: 1px solid #eee !important;
        border-radius: 15px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04) !important;
        align-items: center !important;
        gap: 12px !important;
        justify-content: flex-end !important;
        /* Force content to start from right to left because of row-reverse */
        width: 100% !important;
        margin: 0 !important;
    }

    ul.pampa-mobile-products-list li .products-thumb {
        flex: 0 0 90px !important;
        width: 90px !important;
        max-width: 90px !important;
        margin: 0 !important;
        order: 1 !important;
        /* Push image to the right in row-reverse */
    }

    ul.pampa-mobile-products-list li .products-thumb img {
        border-radius: 10px !important;
        width: 90px !important;
        height: 90px !important;
        object-fit: cover !important;
    }

    ul.pampa-mobile-products-list li .products-content {
        flex: 1 !important;
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
        order: 2 !important;
        /* Push text to the left in row-reverse */
        min-width: 0 !important;
        /* Allow shrinking */
    }

    ul.pampa-mobile-products-list li .product-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.2 !important;
        color: #272727 !important;
    }

    ul.pampa-mobile-products-list li .product-description-summary {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: #666 !important;
    }

    ul.pampa-mobile-products-list li .price {
        font-size: 15px !important;
        color: #ff6b00 !important;
        font-weight: 800 !important;
        margin-bottom: 8px !important;
        display: block !important;
    }

    /* Hide redundant thumb hover effect in mobile */
    .product-thumb-hover .hover-image {
        display: none !important;
    }

    /* Hide theme default add to cart button to use the custom one with quantity */
    ul.pampa-mobile-products-list li .btn-atc {
        display: none !important;
    }

    ul.pampa-mobile-products-list li .tuespacioweb-loop-cart {
        margin-top: 5px !important;
    }

    ul.pampa-mobile-products-list li .tuespacioweb-loop-cart form {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    ul.pampa-mobile-products-list li .tuespacioweb-loop-cart .quantity {
        display: flex !important;
        margin: 0 !important;
        height: 32px !important;
        border: 1px solid #ddd !important;
        border-radius: 6px !important;
        width: 85px !important;
        /* Fixed width for consistency */
    }

    ul.pampa-mobile-products-list li .tuespacioweb-loop-cart .add_to_cart_button {
        padding: 6px 12px !important;
        font-size: 11px !important;
        min-height: 32px !important;
        margin: 0 !important;
        flex: 1 !important;
    }
}

.pampa-whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.pampa-whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 991px) {
    .pampa-whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* ===== ABOUT US PAGE STYLES ===== */
.about-us {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #444;
}

.about-us section {
    margin-bottom: 50px;
}

.about-us h2 {
    font-size: 28px;
    font-weight: 800;
    color: #272727;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-us h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background: #ff6b00;
    /* Color naranja institucional */
}

/* Selector ultra-específico para que NO afecte al logo ni al footer */
.about-us>div img,
.about-us>p img,
section.about-us>div:first-child img {
    width: 40% !important;
    /* Desktop default */
    max-width: 100% !important;
    height: auto !important;
    border-radius: 30px !important;
    /* Bordes redondeados premium */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    /* Sombra profunda */
    transition: all 0.4s ease !important;
    border: 5px solid #fff !important;
    display: block !important;
    margin: 20px auto !important;
}

/* Reset para asegurar que el logo y el footer NO hereden esto si están dentro de un contenedor con clase about-us */
#bwp-header img,
#bwp-footer img,
.wpbingoLogo img {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

.about-us img:hover {
    transform: translateY(-10px) rotate(2deg) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2) !important;
}

/* Response for About Us Image */
@media (max-width: 1024px) {

    .about-us>div img,
    section.about-us>div:first-child img {
        width: 70% !important;
        /* Tablets / iPads */
    }
}

@media (max-width: 768px) {

    .about-us>div img,
    section.about-us>div:first-child img {
        width: 90% !important;
        /* Celulares */
        border-radius: 20px !important;
    }

    .about-us h2 {
        font-size: 24px;
    }
}

/* ===== STICKY HEADER - DESKTOP & IPAD PRO IMPROVEMENTS ===== */
@media (min-width: 992px) {

    /* Fondo sólido y sombra para que resalte sobre el contenido */
    header.bwp-header.sticky .header-sticky {
        background-color: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 5px 0 !important;
    }

    /* Contraste de los links del menú */
    header.bwp-header.sticky .header-sticky .std-menu ul.menu>li>a {
        color: #272727 !important;
        /* Negro/Gris oscuro */
        font-weight: 700 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        padding: 10px 18px !important;
        /* Más espacio entre categorías */
        display: block !important;
        transition: all 0.3s ease !important;
    }

    /* Efecto hover en las categorías */
    header.bwp-header.sticky .header-sticky .std-menu ul.menu>li>a:hover {
        color: #ff6b00 !important;
        /* Naranja institucional */
        transform: translateY(-2px) !important;
    }

    /* Logo más compacto en sticky */
    header.bwp-header.sticky .header-sticky .wpbingoLogo img {
        max-height: 50px !important;
        width: auto !important;
        transition: all 0.3s ease !important;
    }

    /* Ajuste de iconos (Lupa, User, Carrito) */
    header.bwp-header.sticky .header-sticky .header-page-link i,
    header.bwp-header.sticky .header-sticky .icons-cart i {
        color: #272727 !important;
        font-size: 20px !important;
    }

    /* Contador del carrito en sticky (fondo negro, texto blanco) */
    header.bwp-header.sticky .header-sticky .cart-count {
        background-color: #ff6b00 !important;
        color: #fff !important;
    }

    /* Separación extra para que no se agrupen */
    header.bwp-header.sticky .header-sticky .std-menu ul.menu>li {
        margin: 0 2px !important;
    }
}

/* ===== FIX HEADER CATEGORIES WRAPPING (DESKTOP) ===== */
@media (min-width: 1200px) {

    /* Redistribuir espacio: 25% Logo | 50% Menú | 25% Iconos */
    .header-desktop .header-wrapper .row>div.header-left {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .header-desktop .header-wrapper .row>div.text-center {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .header-desktop .header-wrapper .row>div.header-right {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    /* Reducir un poco el padding entre categorías para que entren todas cómodas */
    .std-menu ul.menu>li>a {
        padding: 10px 12px !important;
        font-size: 13px !important;
        /* Ajuste sutil de tamaño para asegurar espacio */
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-sticky .header-left {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }

    .header-sticky .header-center {
        flex: 0 0 60% !important;
        max-width: 60% !important;
    }

    .header-sticky .header-right {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
}

/* ===== CHECKOUT TIP (PROPINA) STYLES ===== */
.checkout-tip-container {
    margin: 25px 0;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer, more premium shadow */
}

.tip-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
    color: #272727 !important;
    border-bottom: 2px solid #ff6b00;
    display: inline-block;
    padding-bottom: 4px;
    letter-spacing: 1.5px;
}

.tip-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .tip-buttons-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
        /* More breathable space on desktop */
    }
}

.pampa-tip-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #333;
    min-height: 75px;
    /* Fixed height for all buttons */
}

.pampa-tip-btn .p-percent {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pampa-tip-btn .p-val {
    font-size: 13px;
    font-weight: 800;
    color: #272727;
}

.pampa-tip-btn .p-lbl {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.pampa-tip-btn:hover {
    border-color: #ff6b00;
    background: #fff7f2;
}

.pampa-tip-btn.active {
    background: #272727;
    color: #fff;
    border-color: #272727;
}

.pampa-tip-btn.active .p-val {
    color: #fff;
}

.pampa-tip-btn.custom-tip-trigger.active {
    background: #272727;
    border-color: #272727;
}

.pampa-custom-tip-field {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.pampa-custom-tip-field p {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.custom-tip-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.custom-tip-input-wrapper .currency {
    padding: 0 12px;
    background: #eee;
    height: 45px;
    display: flex;
    align-items: center;
    font-weight: 800;
    color: #555;
}

.custom-tip-input-wrapper input {
    flex: 1;
    border: none !important;
    height: 45px;
    padding: 0 15px !important;
    font-size: 16px;
    font-weight: 700;
    min-width: 0;
    /* Allow shrinking to prevent button cut off */
}

.custom-tip-input-wrapper button {
    background: #272727 !important;
    color: #fff !important;
    border: none !important;
    padding: 0 20px !important;
    height: 45px;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    flex-shrink: 0;
    /* Prevent button from shrinking */
}

.checkout-tip-container.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== PAMPA QUICK COMPOSITE SELECTOR ===== */
.pampa-quick-selector-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.pampa-qs-section {
    border-bottom: 1px solid #f0f0f0;
}

.pampa-qs-section:last-child {
    border-bottom: none;
}

.pampa-qs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    transition: background 0.3s;
}

.pampa-qs-header.clickable {
    cursor: pointer;
}

.pampa-qs-header.clickable:hover {
    background: #fafafa;
}

.pampa-qs-header .h-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pampa-qs-header .h-left i {
    font-size: 14px;
    color: #ff6b00;
    transition: transform 0.3s;
}

.pampa-qs-section.expanded .h-left i {
    transform: rotate(180deg);
}

.pampa-qs-header h3 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    color: #272727;
    letter-spacing: 0.5px;
}

.pampa-qs-counter {
    background: #272727;
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 11px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.pampa-qs-counter.full {
    background: #4caf50;
}

.pampa-qs-body {
    padding: 0 20px 25px 20px;
}

/* Search Bar */
.pampa-qs-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.pampa-qs-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

.pampa-qs-search {
    width: 100% !important;
    height: 45px !important;
    padding: 0 15px 0 45px !important;
    border: 1px solid #eee !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    background: #f9f9f9 !important;
    outline: none !important;
    transition: all 0.3s !important;
}

.pampa-qs-search:focus {
    border-color: #ff6b00 !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.05) !important;
}

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

@media (min-width: 480px) {
    .pampa-qs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .pampa-qs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .pampa-qs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pampa-qs-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    min-width: 0;
    /* Hack for grid overflow */
}

.pampa-qs-item:hover {
    border-color: #ff6b00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pampa-qs-img img {
    max-width: 100%;
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 10px auto;
}

.pampa-qs-name {
    display: block;
    font-size: 11px;
    font-weight: 700;
    min-height: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #272727;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pampa-qs-ctrl {
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between !important;
    background: #f8f8f8 !important;
    padding: 2px !important;
    border-radius: 100px !important;
    border: 1px solid #e0e0e0 !important;
    height: 32px !important;
    width: 100% !important;
    max-width: 100px !important;
    box-sizing: border-box !important;
    margin: 8px auto 0 auto !important;
}

.pampa-qs-ctrl button {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    border: none !important;
    background: #fff !important;
    color: #272727 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    transition: all 0.2s !important;
}

.pampa-qs-ctrl button:active {
    transform: scale(0.9) !important;
}

.pampa-qs-ctrl input {
    width: 24px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #272727 !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    flex-grow: 1 !important;
    -moz-appearance: textfield !important;
}

.pampa-qs-ctrl input::-webkit-outer-spin-button,
.pampa-qs-ctrl input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Hide extra plugin images ONLY on single product page, inside the components area */
.single-product .summary .wooco-components,
.single-product .summary .wooco-component-image,
.single-product .summary .wooco-component-product-image,
.single-product .summary .woocommerce-product-gallery--wooco {
    display: none !important;
}

/* Custom Confirm Modal Styling */
.pampa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.pampa-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.pampa-modal {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.pampa-modal-overlay.active .pampa-modal {
    transform: translateY(0);
}

.pampa-modal h3 {
    margin: 0 0 15px 0;
    color: #272727;
    font-size: 22px;
    font-weight: 800;
}

.pampa-modal p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.pampa-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.pampa-modal-btn {
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
}

.pampa-modal-btn.cancel {
    background: #f0f0f0;
    color: #666;
}

.pampa-modal-btn.confirm {
    background: #ff6b00;
    color: #fff;
}

.pampa-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pampa-modal-btn.confirm:hover {
    background: #e66000;
}

/* Fix cart totals padding */
.cart_totals table.shop_table td,
.cart_totals table.shop_table th {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.cart_totals .cart-subtotal th,
.cart_totals .cart-subtotal td,
.cart_totals .order-total th,
.cart_totals .order-total td,
.cart_totals .tax-rate th,
.cart_totals .tax-rate td,
.cart_totals .shipping th,
.cart_totals .shipping td,
.cart_totals .fee th,
.cart_totals .fee td {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Hide main product quantity on composite products to avoid slot conflicts */
.type-composite .summary .quantity,
.type-composite .composite_data .quantity {
    display: none !important;
}

/* Force Add to Cart button to full width on mobile for composite products */
@media (max-width: 991px) {
    .type-composite .single_add_to_cart_button {
        width: 100% !important;
        margin-left: 0 !important;
        display: block !important;
        float: none !important;
    }
}