
/* ========================================================================= */
/* Strict WooCommerce Single Product Structural Overrides                    */
/* ========================================================================= */

/* Global & Typography */
.woocommerce.single-product {
    background-color: #ffffff !important;
}

/* Structural Grid: Row 1 Core (Gallery + Summary) */
.localnv-row-1-core {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px !important;
    /* Reduced for mobile fluid layout */
    margin: 0 !important;
    max-width: 1400px !important;
    width: 100% !important;
}

@media (min-width: 1024px) {
    .localnv-row-1-core {
        grid-template-columns: 1.5fr 1fr !important;
        gap: 60px !important;
        padding: 0 5vw !important;
    }
}

.woocommerce.single-product .product * {
    font-family: 'Cutive Mono', monospace;
}

/* Brand Typography */
span.brand-name {
    font-family: 'MadeTommyMedium', sans-serif !important;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* 0. The Container (Flexbox Reordering) */
.woocommerce.single-product .product .summary.entry-summary {
    display: flex !important;
    flex-direction: column !important;
}

/* Fallback order for forms and wrapper */
.woocommerce.single-product .product .summary.entry-summary>* {
    order: 10 !important;
}

.woocommerce.single-product .product .product_meta {
    order: 1 !important;
}

.woocommerce.single-product .product h1.product_title {
    order: 2 !important;
}

.woocommerce.single-product .product .price {
    order: 3 !important;
}

.woocommerce.single-product .product form.cart {
    order: 4 !important;
}

/* Variations and Cart row are typically inside form.cart */
.woocommerce.single-product .product .localnv-hamburgers,
.woocommerce.single-product .product .localnv-hamburgers-wrapper {
    order: 6 !important;
}

/* 1. Las Categorias (Order: 1) */
.woocommerce.single-product .product .product_meta {
    display: none !important;
}

.woocommerce.single-product .product .product_meta .sku_wrapper {
    display: none !important;
}

.woocommerce.single-product .product .product_meta .posted_in {
    display: inline-block !important;
    font-size: 14px !important;
    color: #000 !important;
}

.woocommerce.single-product .product .product_meta .posted_in a {
    background-color: #d9d9d9 !important;
    color: #000 !important;
    padding: 2px 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: 'Cutive Mono', monospace !important;
    text-transform: uppercase !important;
}

/* 2. Titulo y Precio (Order: 2 & 3) */
.woocommerce.single-product .product h1.product_title {
    font-size: 20px !important;
    /* Drastically reduced size */
    text-transform: uppercase !important;
    font-weight: bold !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    color: #000 !important;
    line-height: 1.2 !important;
}

.woocommerce.single-product .product .price {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #000 !important;
    margin-bottom: 20px !important;
}

/* 3. Tallas / Variations (Order: 4 - Inside form.cart) */
.woocommerce.single-product .product .variations {
    display: block !important;
    width: 100% !important;
    border: none !important;
    margin-bottom: 30px !important; /* Increased for breathing room */
    border-bottom: 1px solid #eee !important;
    /* Thin grey divider */
    padding-bottom: 0 !important;
}

.woocommerce.single-product .product .variations tbody,
.woocommerce.single-product .product .variations tr {
    display: block !important;
    width: 100% !important;
    margin-bottom: 25px !important; /* Spacing between Talla and Color rows */
}

/* Badge: SOLD OUT Overlay */
.tech-pack-image-box {
    position: relative; /* Base for absolute positioning */
}

.localnv-sold-out {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFEA00 !important; /* Brand Yellow */
    color: #000000 !important;
    padding: 1px 6px;
    line-height: 1;
    font-family: 'Cutive Mono', monospace;
    font-weight: bold;
    font-size: 0.6rem;
    z-index: 20;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.woocommerce.single-product .product .variations th.label {
    display: block !important;
    width: 100% !important;
    background: #f7f7f7 !important;
    text-align: left !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
}

.woocommerce.single-product .product .variations th.label label {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal !important;
    text-transform: capitalize !important;
    color: #000 !important;
    font-size: 14px !important;
}

/* The Dropdown */
.woocommerce.single-product .product .variations td.value {
    display: block !important;
    width: 100% !important;
}

.woocommerce.single-product .product .variations td.value select,
.woocommerce div.product .variations select {
    display: none !important;
    /* Disabling native select completely */
}

/* Size Pills (Custom ovals) */
.woocommerce.single-product .product .wc-size-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.woocommerce.single-product .product .wc-size-pill {
    border-radius: 4px !important;
    /* Slightly rounded squares */
    border: 1px solid #333 !important;
    background: transparent !important;
    color: #333 !important;
    padding: 10px 18px !important;
    text-transform: uppercase !important;
    min-width: 45px !important;
    text-align: center !important;
    cursor: pointer !important;
    font-weight: normal !important;
}

.woocommerce.single-product .product .wc-size-pill.is-active,
.woocommerce.single-product .product .custom-size-pill.selected {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    font-weight: bold !important;
}

.woocommerce div.product .disabled-size-pill,
.woocommerce div.product .out-of-stock-pill,
.woocommerce div.product .custom-size-pill.out-of-stock-pill,
.woocommerce.single-product .product .wc-size-pill.is-disabled,
.woocommerce.single-product .product .wc-size-pill.is-outofstock,
.woocommerce.single-product .product .wc-size-pill.disabled,
.woocommerce.single-product .product .wc-size-pill.out-of-stock {
    text-decoration: line-through !important;
    color: #777 !important;
    border-color: #bbb !important;
    pointer-events: none !important;
    opacity: 0.7 !important;
    background: transparent !important;
    cursor: not-allowed !important;
    user-select: none !important;
}

/* Hover Shield for Disabled States */
.woocommerce.single-product .product .disabled-size-pill:hover,
.woocommerce.single-product .product .wc-size-pill.is-disabled:hover,
.woocommerce.single-product .product .wc-size-pill.is-outofstock:hover,
.woocommerce.single-product .product .wc-size-pill.disabled:hover,
.woocommerce.single-product .product .wc-size-pill.out-of-stock:hover,
.woocommerce.single-product .product .out-of-stock-pill:hover,
.woocommerce div.product .out-of-stock-pill:hover,
.woocommerce div.product .custom-size-pill.out-of-stock-pill:hover {
    color: #b0b0b0 !important;
    border-color: #e0e0e0 !important;
    background: transparent !important;
}

/* Divider fallback if product is simple */
.woocommerce.single-product .product form.cart:not(.variations_form) {
    border-top: 1px solid #eee !important;
    padding-top: 20px !important;
}

/* 4. Unidades y Boton de Carrito (Order: 5 - Inside form.cart) */
.woocommerce.single-product .product form.cart .woocommerce-variation-add-to-cart,
.woocommerce.single-product .product form.cart.cart:not(.variations_form) {
    display: flex !important;
    align-items: stretch !important;
    gap: 15px !important;
    margin-bottom: 5px !important;
    margin-top: 0 !important;
}

/* Quantity Wrapper (Flexbox structure with buttons) */
.woocommerce.single-product .product form.cart .quantity {
    display: flex !important;
    align-items: stretch !important;
    gap: 4px !important;
    height: 45px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Base style for custom +/- buttons */
.woocommerce.single-product .product form.cart .quantity .qty-btn {
    width: 28px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    color: #000 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

.woocommerce.single-product .product form.cart .quantity .qty-btn:hover {
    background: #f7f7f7 !important;
}

.woocommerce.single-product .product form.cart .quantity input.qty {
    width: 40px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: center !important;
    padding: 0 10px !important;
    margin: 0 !important;
    font-family: 'Cutive Mono', monospace !important;
    color: #000 !important;
    /* Hide native spin buttons */
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: none !important;
}

.woocommerce.single-product .product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce.single-product .product form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to Cart Button */
.woocommerce.single-product .product form.cart .button.single_add_to_cart_button {
    background-color: #FFEA00 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    text-transform: none !important;
    /* "Añadir al carrito" normal case */
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 10px !important;
    letter-spacing: -0.5px !important;
    white-space: nowrap !important;
    height: 50px !important;
    /* Match quantity input height */
    line-height: 50px !important;
    flex-grow: 1 !important;
    box-shadow: none !important;
}

/* 5. Tech Specs / Tags (Order: 6) */
.woocommerce.single-product .product .localnv-tech-specs-wrapper {
    order: 6 !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both !important;
    margin-top: 25px !important;
    margin-bottom: 20px !important;
}

.woocommerce.single-product .product .localnv-tech-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.woocommerce.single-product .product .tech-tag {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background: #fafafa !important;
    padding: 6px 12px !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    color: #000 !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
    cursor: default !important;
    user-select: none !important;
}

.woocommerce.single-product .product .tech-tag.interactive-tag {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

.woocommerce.single-product .product .tech-tag.interactive-tag:hover {
    opacity: 0.8 !important;
}

/* Size Guide Content Block */
#localnv-size-guide-content {
    margin-top: 15px !important;
    border: 1px solid #e0e0e0 !important;
    padding: 15px !important;
    background: #fafafa !important;
}

/* 6. Dynamic Category Navigation (Order: 7) */
.woocommerce.single-product .product .localnv-category-nav-wrapper {
    order: 7 !important;
    width: 100% !important;
}

.woocommerce.single-product .product .localnv-category-nav-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.woocommerce.single-product .product .localnv-cat-nav-btn {
    flex: 1 1 calc(50% - 10px) !important;
    display: block !important;
    text-align: center !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 10px 5px !important;

    /* Grayscale Background Logo */
    background-color: #fff !important;
    background-image: url('../images/LogoCuervos.PNG') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    filter: grayscale(100%) !important;

    /* Text Overlay */
    color: #000 !important;
    font-family: 'Cutive Mono', monospace !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce.single-product .product .localnv-cat-nav-btn:hover {
    filter: grayscale(0%) invert(100%) !important;
}


/* Gallery Main Image Layer (Nuclear Specificity) */
.woocommerce.single-product div.product div.images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a img {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Gallery Thumbnails: Brutalist Filter & Horizontal Carousel */
.woocommerce.single-product .product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    margin: 15px 0 0 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.woocommerce.single-product .product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar WebKit */
}

.woocommerce.single-product .product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
    margin: 0 !important;
    /* Formula: calc(25% minus proportion of total gap space) */
    flex: 0 0 calc(25% - 7.5px) !important;
    scroll-snap-align: start;
}

.woocommerce.single-product div.product div.images .flex-control-nav.flex-control-thumbs li img {
    border-radius: 0 !important;
    border: none !important;
    filter: none !important;
    opacity: 1 !important;
    transition: border-color 0.3s ease !important;
    cursor: pointer;
    box-shadow: none !important;
    object-fit: cover !important;
    aspect-ratio: 1/1 !important;
    width: 100% !important;
    height: auto !important;
}

/* Thumbnails: Active / Hover State */
.woocommerce.single-product div.product div.images .flex-control-nav.flex-control-thumbs li img.flex-active {
    border: 1px solid #ccc !important;
}

/* -------------------------------------------------------------------------- */
/* Gallery Thumbnail Navigation Arrows (Custom JS Injection) */
/* -------------------------------------------------------------------------- */
.localnv-thumb-arrows-wrapper {
    position: absolute;
    bottom: 55px;
    /* Align vertically with thumbnails */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Let clicks pass through empty space */
    z-index: 10;
}

.localnv-thumb-arrow {
    background-color: #f5f5f5 !important;
    color: #666 !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    /* Re-enable clicks on buttons */
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    transform: translateY(50%);
    /* Center over the thumb edge */
}

/* Positioning left/right edges */
.localnv-thumb-arrow.prev-thumb {
    margin-left: -15px;
}

.localnv-thumb-arrow.next-thumb {
    margin-right: -15px;
}

.localnv-thumb-arrow:hover {
    background-color: #e0e0e0 !important;
    color: #333 !important;
    border-color: #ccc !important;
    transform: translateY(50%) scale(1.05);
}

.localnv-thumb-arrow:active {
    transform: translateY(calc(50% + 1px)) scale(1);
}

/* Mobile Swap/Pagination Dots (Flexslider Paging) */
.woocommerce.single-product .product .woocommerce-product-gallery .flex-control-nav.flex-control-paging li a {
    border-radius: 0 !important;
    width: 12px !important;
    height: 12px !important;
    background: #d9d9d9 !important;
    box-shadow: none !important;
    border: none !important;
    text-indent: -9999px;
    /* Hide text fallback */
    display: block;
    cursor: pointer;
    transition: background 0.2s ease !important;
}

.woocommerce.single-product .product .woocommerce-product-gallery .flex-control-nav.flex-control-paging li a.flex-active,
.woocommerce.single-product .product .woocommerce-product-gallery .flex-control-nav.flex-control-paging li a:hover {
    background: #000 !important;
}

/* Stock Availability Native Text Restoration */
.woocommerce div.product form.cart .woocommerce-variation-availability {
    display: block !important;
}

.woocommerce-variation-availability p.stock.in-stock {
    color: #28a745 !important;
    font-weight: bold;
    font-family: 'Cutive Mono', monospace;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ========================================================================= */
/* Final UI/UX Refinements (Mobile Margins, Bold Typography, Hide Tabs)      */
/* ========================================================================= */

@media (max-width: 768px) {
    .woocommerce.single-product .product {
        padding: 0 !important;
    }

    .woocommerce.single-product .product .summary.entry-summary {
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .woocommerce.single-product .product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
        justify-content: flex-start !important;
    }
}

.woocommerce.single-product .product .woocommerce-tabs,
.woocommerce.single-product .product #tab-additional_information {
    display: none !important;
}

.woocommerce.single-product .product .woocommerce-Price-amount {
    font-weight: bold !important;
}

/* ========================================================================= */
/* Gallery Thumbnail Active States                                           */
/* ========================================================================= */
.woocommerce.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    border: 1px solid transparent !important;
    /* No border by default */
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    opacity: 1 !important;
    /* Remove woo default hover fade */
    box-sizing: border-box !important;
}

.woocommerce.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border: 1px solid transparent !important;
    /* Strictly no hover borders */
    opacity: 1 !important;
}

.woocommerce.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border: 1px solid #ccc !important;
    /* Consistently 1px gray border ONLY when active */
    opacity: 1 !important;
}

/* ========================================================================= */
/* MOBILE MENU SCROLL LOCK — Bulletproof (iOS/Safari Compatible)             */
/* Applied via JS to BOTH html + body when menu opens                        */
/* ========================================================================= */
html.localnv-no-scroll,
body.localnv-no-scroll {
    overflow: hidden !important;
    height: 100dvh !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
    position: fixed !important;
    width: 100% !important;
}

/* ========================================================================= */
/* SCROLL-LOCK FIX                                                            */
/* Source: estilos1erDrop.css has `header { overflow: hidden }` which locks  */
/*         the page. This override restores scrolling.                        */
/* ========================================================================= */
html,
body {
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
}

/* Override the legacy `header { overflow: hidden }` from estilos1erDrop.css */
header.site-header,
.main-header,
header {
    overflow: visible !important;
}

/* Fix for Mobile Drawer Header width on Drop Pages */
/* Source: estilos1erDrop.css applies align-items: flex-start to #mobile-nav */
#mobile-nav.mobile-drawer,
#mobile-nav {
    align-items: stretch !important;
    padding-top: 0 !important;
}

/* Fix for Mobile Drawer Black Header Height & Link Spacing */
/* Source: estilos1erDrop.css injects global UL and A rules which bloat the header */
#mobile-nav.mobile-drawer ul {
    height: auto !important;
}

#mobile-nav.mobile-drawer ul li a {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}

#mobile-nav .drawer-header {
    width: 100% !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
}

/* ========================================================================= */
/* NUCLEAR BORDER KILL: li.product outer wrapper and all direct children     */
/* Source: style.css applies border to .woocommerce-LoopProduct-link          */
/*         and a wildard >*:not(...) rule catches the Drop page <a> tags.    */
/* ========================================================================= */
body .woocommerce ul.products li.product,
body .woocommerce ul.products li.product>a,
body .woocommerce ul.products li.product .product-inner {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Annihilate Pseudo-Elements */
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after,
.woocommerce ul.products li.product>a::before,
.woocommerce ul.products li.product>a::after {
    display: none !important;
    content: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ========================================================================= */
/* Brutalist Ordering Dropdown & Results Count                                */
/* ========================================================================= */
.woocommerce .woocommerce-result-count {
    display: none !important;
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    padding: 5px 10px !important;
    outline: none !important;
    box-shadow: none !important;
    color: #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 20px !important;
}

/* ========================================================================= */
/* Tech-Pack Brutalist Product Grid                                           */
/* ========================================================================= */

/* Base: 2 columns for Mobile & Tablet (default, up to 1023px) */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 50px 10px !important;
    list-style: none !important;
    padding: 0 5vw 0 5vw !important;
    /* 0 bottom padding, handled by section.novedades */
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Kill WooCommerce clearfix pseudo-elements */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 50px 15px !important;
        padding: 0 5vw 0 5vw !important;
        /* 0 bottom padding, handled by section.novedades */
        box-sizing: border-box !important;
    }
}

h2.titulo-nov {
    margin-top: 80px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    padding-left: 5vw !important;
    box-sizing: border-box !important;
}

/* ========================================================================= */
/* Hybrid Brutalist Hero Header for Drop Pages                               */
/* ========================================================================= */
.drop-custom-header {
    width: 100%;
    margin-top: 0 !important;
    /* Flush alignment with top menu */
    margin-bottom: 50px;
    /* Space before product grid */
    box-sizing: border-box;
}

.drop-hero {
    position: relative;
    width: 100% !important;
    min-height: 250px !important;
    background-image: url('../img/WEB%20FOTOS/BANNER-DROPS.webp') !important;
    background-size: cover !important;
    background-position: 15% center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: flex-end;
    /* Align title to bottom */
    isolation: isolate;
    margin-bottom: 15px !important;
    /* Space between image and ticker */
}

/* ========================================================================= */
/* Brutalist Archive Filter Bar                                             */
/* ========================================================================= */
.localnv-archive-filters-wrapper {
    width: 100%;
    padding: 0 5vw !important;
    box-sizing: border-box !important;
    margin-bottom: 40px !important;
}

.localnv-filters-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: flex-end !important;
    border-bottom: 2px solid #000 !important;
    padding-bottom: 20px !important;
}

.localnv-filters-bar .filter-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.localnv-filters-bar .filter-group label {
    font-family: 'Cutive Mono', monospace !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    color: #000 !important;
    text-transform: uppercase !important;
}

.localnv-filters-bar .custom-select-wrapper {
    position: relative !important;
}

.localnv-filters-bar select {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    padding: 8px 30px 8px 12px !important;
    outline: none !important;
    box-shadow: none !important;
    color: #000 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    min-width: 140px !important;
}

/* Custom indicator arrow */
.localnv-filters-bar .custom-select-wrapper::after {
    content: "↓" !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 1rem !important;
    pointer-events: none !important;
    color: #000 !important;
}

.localnv-filters-bar .reset-filters {
    font-family: 'Cutive Mono', monospace !important;
    font-size: 0.85rem !important;
    font-weight: bold !important;
    color: #000 !important;
    text-decoration: underline !important;
    margin-bottom: 10px !important;
    display: inline-block !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .localnv-filters-bar {
        gap: 15px !important;
        justify-content: space-between !important;
    }
    
    .localnv-filters-bar .filter-group {
        flex: 1 1 calc(50% - 15px) !important;
    }
    
    .localnv-filters-bar select {
        width: 100% !important;
        min-width: unset !important;
    }

    .localnv-filters-bar .reset-group {
        flex: 1 1 100% !important;
        text-align: center !important;
    }
}

@media (min-width: 1024px) {
    .drop-hero {
        min-height: 300px !important;
    }
}

/* Dark overlay for contrast */
.drop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* 40% dark overlay */
    z-index: -1;
}

.drop-hero-title {
    font-family: 'Cutive Mono', monospace;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    /* White text */
    margin: 0;
    padding-left: 5vw;
    padding-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Subtle shadow */
    text-align: left !important;
    line-height: 1;
}

@media (min-width: 1024px) {
    .drop-hero-title {
        font-size: 5rem;
    }
}

.drop-ticker-bar {
    width: 100%;
    background: #000;
    color: #fff;
    padding: clamp(0.25rem, 0.5vh, 0.4rem) 0 !important;
    /* Made thinner */
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-track span {
    font-family: 'Cutive Mono', monospace;
    font-size: clamp(0.6rem, 1vw, 0.75rem) !important;
    /* Scaled down slightly */
    font-weight: bold;
    letter-spacing: 0.15em !important;
    /* Cloned from homepage text */
    margin-right: 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================================================= */
/* Footer Clearance & Anti-Margin Collapse for Drop Pages                    */
/* ========================================================================= */
section.novedades {
    padding-bottom: 35px !important;
}

footer.site-footer {
    clear: both !important;
    display: block !important;
    position: relative !important;
    margin-top: 35px !important;
    width: 100% !important;
}

/* ---- NUCLEAR RESET: Strip ALL native WooCommerce grid chrome ---- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* Kill the native .woocommerce-LoopProduct-link wrapper border/bg/padding */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Kill the wildcard child border from style.css line 2589 */
.woocommerce ul.products li.product>*:not(.woocommerce-LoopProduct-link):not(.button):not(.onsale) {
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
}

/* ---- TECH-PACK INNER BOXES ---- */
.woocommerce ul.products li.product .tech-pack-image-box {
    border: 1px solid #000 !important;
    outline: none !important;
    box-shadow: none !important;
    position: relative;
    border-radius: 0;
    margin-bottom: 8px !important;
    /* Gap between image box and data box */
    background: #fff;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.product .tech-pack-image-box img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: block;
    width: 100%;
    height: auto;
}

.woocommerce ul.products li.product .tech-pack-ref {
    display: none !important;
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    font-family: 'Cutive Mono', monospace;
    font-size: 0.75rem;
    padding: 4px 8px;
    font-weight: bold;
    border-radius: 0;
    z-index: 9;
}

.woocommerce ul.products li.product .tech-pack-data-box {
    border: 1px solid #000 !important;
    margin-top: 0 !important;
    padding: 10px !important;
    border-radius: 0;
    background: #fff;
    font-family: 'Cutive Mono', monospace;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    position: relative !important;
    z-index: 2 !important;
}

.woocommerce ul.products li.product .tech-pack-id {
    display: none !important;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: left !important;
}

.woocommerce ul.products li.product .tech-pack-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #000;
    font-weight: normal;
    margin-bottom: 0 !important;
    line-height: 1.2;
    min-height: 3.6em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
}

.woocommerce ul.products li.product .tech-pack-price-row {
    display: flex;
    justify-content: flex-start !important;
    gap: 5px;
    align-items: flex-end;
    width: 100%;
    border-top: none;
    text-align: left !important;
}

.woocommerce ul.products li.product .price-label {
    font-size: 0.75rem;
    color: #666;
}

.woocommerce ul.products li.product .price-value {
    font-size: 1rem;
    color: #000;
    font-weight: normal;
}

/* ========================================================================= */
/* Strict Mobile & Tablet Overrides (Kill WooCommerce Native Floats)         */
/* ========================================================================= */
@media (max-width: 1023px) {

    /* Add padding wrapper safely around native product div to avoid touching screen edges */
    body.single-product .woocommerce div.product,
    body.single-product .woocommerce-page div.product {
        padding: 0 24px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* Constrain Gallery Width on Mobile/Tablet */
    body.single-product .woocommerce #content div.product div.images,
    body.single-product .woocommerce div.product div.images,
    body.single-product .woocommerce-page #content div.product div.images,
    body.single-product .woocommerce-page div.product div.images {
        width: 100% !important;
        max-width: 500px !important;
        float: none !important;
        clear: both !important;
        margin: 0 auto 30px auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Ensure Gallery Images maintain fluidity */
    body.single-product .woocommerce div.product div.images img,
    body.single-product .woocommerce-page div.product div.images img {
        width: 100% !important;
        height: auto !important;
    }

    /* Force full width on summary */
    body.single-product .woocommerce #content div.product div.summary,
    body.single-product .woocommerce div.product div.summary,
    body.single-product .woocommerce-page #content div.product div.summary,
    body.single-product .woocommerce-page div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        margin: 0 0 30px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ========================================================================= */
/* Desktop Layout: WooCommerce Single Two-Column Grid (@media min-width: 1024)*/
/* ========================================================================= */
@media (min-width: 1024px) {

    /* 1. Hijack Native Product Container into Flex Grid */
    body.single-product .woocommerce div.product,
    body.single-product .woocommerce-page div.product {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 40px !important;
        width: 100% !important;
        float: none !important;
        position: relative !important;
    }

    /* Neutralize WooCommerce Ghost Tables */
    body.single-product .woocommerce div.product::before,
    body.single-product .woocommerce div.product::after,
    body.single-product .woocommerce-page div.product::before,
    body.single-product .woocommerce-page div.product::after {
        display: none !important;
    }

    /* Absolute position the Sale Badge so it doesn't consume a Flex column */
    body.single-product .woocommerce div.product>span.onsale,
    body.single-product .woocommerce-page div.product>span.onsale {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 10 !important;
        margin: 0 !important;
    }

    /* 2. Gallery (Strictly Left Column - Defeat native .woocommerce div.product div.images) */
    body.single-product .woocommerce #content div.product div.images,
    body.single-product .woocommerce div.product div.images,
    body.single-product .woocommerce-page #content div.product div.images,
    body.single-product .woocommerce-page div.product div.images {
        box-sizing: border-box !important;
        flex: 0 0 48% !important;
        width: 48% !important;
        max-width: 48% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    /* 3. Summary (Strictly Right Column) */
    body.single-product .woocommerce #content div.product div.summary,
    body.single-product .woocommerce div.product div.summary,
    body.single-product .woocommerce-page #content div.product div.summary,
    body.single-product .woocommerce-page div.product div.summary {
        box-sizing: border-box !important;
        flex: 0 0 48% !important;
        width: 48% !important;
        max-width: 48% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    /* 3.5. Row 2: Category Navigation (Break the Row) */
    body.single-product .woocommerce div.product .localnv-category-nav-wrapper,
    body.single-product .woocommerce-page div.product .localnv-category-nav-wrapper {
        display: block !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin: 40px 0 20px 0 !important;
        clear: both !important;
    }

    body.single-product .woocommerce div.product .localnv-category-nav-grid,
    body.single-product .woocommerce-page div.product .localnv-category-nav-grid {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
        clear: both !important;
    }

    /* 4. Tabs & Description (Hidden on PC) */
    body.single-product .woocommerce div.product .woocommerce-tabs,
    body.single-product .woocommerce-page div.product .woocommerce-tabs {
        display: none !important;
    }

    /* 5. Related Products / Cross-Sells (Absolute Bottom) */
    body.single-product .woocommerce div.product .related.products,
    body.single-product .woocommerce div.product .upsells.products,
    body.single-product .woocommerce-page div.product .related.products,
    body.single-product .woocommerce-page div.product .upsells.products {
        display: block !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-top: 50px !important;
        clear: both !important;
    }
}

/* ========================================================================= */
/* Desktop Header & Navigation Enhancements                                  */
/* ========================================================================= */

/* Remove Dropdown Bullets Completely */
ul.sub-menu,
ul.wp-block-navigation__submenu-container,
.nav-menu ul.sub-menu,
.wp-block-navigation .wp-block-navigation__submenu-container,
.wp-block-navigation-submenu {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

ul.sub-menu li,
ul.wp-block-navigation__submenu-container li,
.nav-menu ul.sub-menu li,
.wp-block-navigation .wp-block-navigation__submenu-container li,
.wp-block-navigation-submenu li {
    list-style: none !important;
    list-style-type: none !important;
}

ul.sub-menu li::before,
ul.wp-block-navigation__submenu-container li::before,
.nav-menu ul.sub-menu li::before,
.wp-block-navigation .wp-block-navigation__submenu-container li::before,
.wp-block-navigation-submenu li::before {
    content: none !important;
    display: none !important;
}

@media (min-width: 1024px) {

    /* 1. Scale Up Logo */
    img.custom-logo,
    .site-logo img,
    .wp-block-site-logo img {
        max-width: 240px !important;
        height: auto !important;
    }

    /* 2. Scale Up Menu Text */
    .nav-menu>li>a,
    .wp-block-navigation-item>a,
    .primary-menu>li>a,
    .menu-item>a {
        font-size: 1.15rem !important;
    }
}

/* ========================================================================= */
/* WooCommerce Catalog Sorting Dropdown (Tech-Pack)                          */
/* ========================================================================= */

/* 1. Flex container for label + select alignment */
.woocommerce-ordering {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-right: 25px !important;
    /* Mobile: slight breathing room */
    margin-bottom: 20px !important;
    font-family: 'Cutive Mono', monospace !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
}

/* Desktop: push dropdown further left to align with grid boundary */
@media (min-width: 768px) {
    .woocommerce-ordering {
        margin-right: 8vw !important;
    }
}

/* 2. Injected "Ordenar por:" label via pseudo-element */
.woocommerce-ordering::before {
    content: 'Ordenar por: ' !important;
    font-family: inherit !important;
    font-size: inherit !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    margin-right: 10px !important;
    color: #000 !important;
    font-weight: normal !important;
}

/* 3. Style the native <select> element */
.woocommerce-ordering select.orderby {
    font-family: 'Cutive Mono', monospace !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    padding-right: 28px !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-width 0.15s ease !important;
    outline: none !important;
}

/* 4. Focus state: subtle border-only feedback (NO black background) */
.woocommerce-ordering select.orderby:focus,
.woocommerce-ordering select.orderby:active {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    outline: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
}

/* ========================================================================= */
/* Custom Accordion Dropdown Wrapper (Tech-Pack)                             */
/* ========================================================================= */

/* Hide native select when custom dropdown is active */
.woocommerce-ordering.has-custom-dropdown select.orderby {
    display: none !important;
}

/* The custom trigger button */
.localnv-dropdown-trigger {
    font-family: 'Cutive Mono', monospace !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    padding: 6px 12px !important;
    padding-right: 28px !important;
    cursor: pointer !important;
    position: relative !important;
    white-space: nowrap !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    transition: border-width 0.15s ease !important;
}

.localnv-dropdown-trigger:hover {
    border-width: 2px !important;
}

/* The options list container */
.localnv-dropdown-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #000 !important;
    border-top: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    z-index: 100 !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    /* Accordion animation via max-height */
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform-origin: top !important;
    transition: max-height 0.25s ease, opacity 0.2s ease !important;
}

/* Open state */
.localnv-dropdown-list.is-open {
    max-height: 300px !important;
    opacity: 1 !important;
}

/* Individual option items */
.localnv-dropdown-list li {
    font-family: 'Cutive Mono', monospace !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
    color: #000 !important;
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
    transition: background-color 0.1s ease !important;
    white-space: nowrap !important;
}

.localnv-dropdown-list li:last-child {
    border-bottom: none !important;
}

.localnv-dropdown-list li:hover {
    background-color: #f0f0f0 !important;
}

.localnv-dropdown-list li.is-selected {
    font-weight: bold !important;
    background-color: #f5f5f5 !important;
}

/* Wrapper needs relative positioning for the list */
.localnv-dropdown-wrapper {
    position: relative !important;
    display: inline-block !important;
}

/* ========================================================================= */
/* Mobile Drawer: Compressed Vertical Rhythm (Brutalist Tight)               */
/* ========================================================================= */
@media (max-width: 1023px) {

    /* 1. Tighter main link item spacing (was 15px → 10px) */
    #mobile-nav .accordion-header,
    #mobile-nav .direct-link {
        padding: 10px 0 !important;
    }

    /* 2. Tighter sub-menu item spacing */
    #mobile-nav .submenu li {
        margin-bottom: 6px !important;
    }

    #mobile-nav .submenu li:last-child {
        margin-bottom: 0 !important;
    }

    #mobile-nav .submenu li a {
        padding: 8px 0 !important;
    }

    /* 3. Less space above the black divider line */
    #mobile-nav .drawer-footer-elements {
        margin-top: 6px !important;
        padding-top: 8px !important;
    }

    /* 4. Less bottom container padding */
    #mobile-nav .drawer-footer-elements {
        padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    }
}

/* ========================================================================= */
/* 15. WOOCOMMERCE PAGINATION (Perfect Horizontal Centering)                 */
/* ========================================================================= */
nav.woocommerce-pagination,
.woocommerce-pagination {
    margin-top: 50px !important;
    padding: 0 !important;
    clear: both !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    border: none !important;
}

.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
}

.woocommerce-pagination ul.page-numbers li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

    nav.woocommerce-pagination,
    .woocommerce-pagination {
        margin-top: 30px !important;
    }
}

/* ========================================================================= */
/* 16. LEGAL PAGES (Privacidad, Devoluciones, Términos)                      */
/* ========================================================================= */

.legal-content-wrapper {
    max-width: 850px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    /* Basic padding for desktop */
}

@media (max-width: 1023px) {
    .legal-content-wrapper {
        padding: 0 24px !important;
        /* Match other page paddings */
    }
}

.legal-content-wrapper h1,
.legal-content-wrapper h2,
.legal-content-wrapper h3 {
    font-family: 'MadeTommyBold', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-top: 60px !important;
    margin-bottom: 25px !important;
    line-height: 1.2 !important;
    color: #000 !important;
}

.legal-content-wrapper h1:first-of-type,
.legal-content-wrapper h2:first-of-type {
    margin-top: 80px !important;
    /* Required 80px space from banner */
}

.legal-content-wrapper p {
    line-height: 1.8 !important;
    margin-bottom: 35px !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 0.95rem !important;
    color: #444 !important;
    text-align: justify;
}

/* Section Dividers */
.legal-content-wrapper hr,
.legal-divider {
    border: 0;
    border-top: 1px solid #000 !important;
    margin: 40px 0 !important;
    width: 100% !important;
}

/* Technical Lists */
.legal-content-wrapper ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 35px !important;
}

.legal-content-wrapper ul li {
    font-family: 'Cutive Mono', monospace !important;
    line-height: 1.8 !important;
    margin-bottom: 15px !important;
    position: relative;
    padding-left: 30px !important;
}

.legal-content-wrapper ul li::before {
    content: "//" !important;
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #000;
}

/* Links in legal pages */
.legal-content-wrapper a {
    text-decoration: underline !important;
    color: #000 !important;
    transition: opacity 0.2s ease;
}

.legal-content-wrapper a:hover {
    opacity: 0.6 !important;
}

/* ========================================================================= */
/* 17. WOOCOMMERCE NOTICES BRUTALIST SYSTEM                                   */
/* ========================================================================= */

.woocommerce-notices-wrapper {
    position: fixed !important;
    top: 80px !important; /* Pushed down to clear the desktop sticky header (~56px) and mobile fixed header (~60px) */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 650px !important;
    z-index: 100000 !important; /* Higher than header's z-index (99999) */
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    pointer-events: none; /* Ignore clicks on the wrapper gap */
}

/* Allow click/hover interaction with the notices themselves */
.woocommerce-notices-wrapper > * {
    pointer-events: auto;
}

/* Base style for notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
ul.woocommerce-error {
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    padding: 16px 24px !important;
    margin: 0 !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 4px 4px 0px #000000 !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Specific styling for ul.woocommerce-error */
ul.woocommerce-error {
    flex-direction: column !important;
    align-items: flex-start !important;
    list-style: none !important;
}

ul.woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove default WooCommerce checkmark and warning icons */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
ul.woocommerce-error::before {
    display: none !important;
    content: none !important;
}

/* Success Notices - White */
.woocommerce-message {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Close button inside notices */
.localnv-notice-close {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-left: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s ease !important;
    text-shadow: none !important;
}

.localnv-notice-close:hover {
    opacity: 0.6 !important;
}

/* Info Notices - Solid Black */
.woocommerce-info {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

/* Error Notices - Solid Black with Yellow border */
.woocommerce-error,
ul.woocommerce-error {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #FFEA00 !important;
}

/* CTA buttons inside notices (e.g. "Ver carrito" / "View cart") */
.woocommerce-message a.button,
.woocommerce-message .button,
.woocommerce-info a.button,
.woocommerce-info .button,
.woocommerce-error a.button,
.woocommerce-error .button,
ul.woocommerce-error a.button,
ul.woocommerce-error .button {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    padding: 8px 16px !important;
    font-family: 'Cutive Mono', monospace !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    display: inline-block !important;
    margin-left: 20px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
}

/* Button hover state inside success notice */
.woocommerce-message a.button:hover,
.woocommerce-message .button:hover {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

/* CTA buttons inside dark/black notices (error/info) */
.woocommerce-info a.button,
.woocommerce-info .button,
.woocommerce-error a.button,
.woocommerce-error .button,
ul.woocommerce-error a.button,
ul.woocommerce-error .button {
    background-color: #FFEA00 !important; /* Yellow button for highlight */
    color: #000000 !important;
    border-color: #FFEA00 !important;
}

.woocommerce-info a.button:hover,
.woocommerce-info .button:hover,
.woocommerce-error a.button:hover,
.woocommerce-error .button:hover,
ul.woocommerce-error a.button:hover,
ul.woocommerce-error .button:hover {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #FFFFFF !important;
}

/* Mobile responsive styling for notices */
@media (max-width: 768px) {
    .woocommerce-notices-wrapper {
        top: 75px !important;
        width: 92% !important;
    }

    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error,
    ul.woocommerce-error {
        padding: 14px 20px !important;
        font-size: 11px !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    .woocommerce-message a.button,
    .woocommerce-message .button,
    .woocommerce-info a.button,
    .woocommerce-info .button,
    .woocommerce-error a.button,
    .woocommerce-error .button,
    ul.woocommerce-error a.button,
    ul.woocommerce-error .button {
        margin-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

/* ========================================================================= */
/* 18. FLOATING CART BUTTON                                                  */
/* ========================================================================= */

.localnv-floating-cart {
    position: fixed !important;
    bottom: 95px !important; /* Positioned 15px above #back-to-top (which is bottom 30px + height 50px = 80px) */
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important; /* Brutalist sharp corners */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    transform: translateY(0) !important;
    box-shadow: 4px 4px 0px #000000 !important; /* Flat brutalist shadow */
}

/* Hidden state */
.localnv-floating-cart.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
}

/* Icon wrapper relative position */
.floating-cart-icon-wrapper {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Dynamic count badge in the corner */
.floating-cart-count {
    position: absolute !important;
    top: -12px !important;
    right: -12px !important;
    background-color: #FFEA00 !important; /* Brand Signature Yellow */
    color: #000000 !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important; /* Sharp corners */
    font-family: 'Cutive Mono', monospace !important;
    font-size: 10px !important;
    font-weight: bold !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* Hover effects */
.localnv-floating-cart:hover {
    background-color: #FFEA00 !important; /* Brand Yellow background */
    color: #000000 !important;
    border-color: #FFEA00 !important;
    transform: translateY(-5px) !important; /* Matches #back-to-top hover lift */
}

/* Invert count badge colors on hover for legibility */
.localnv-floating-cart:hover .floating-cart-count {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .localnv-floating-cart {
        bottom: 75px !important; /* 20px bottom + 40px height + 15px gap */
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
        box-shadow: 3px 3px 0px #000000 !important;
    }

    .localnv-floating-cart .floating-cart-count {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        top: -10px !important;
        right: -10px !important;
    }
}

/* ========================================================================= */
/* 19. WOOCOMMERCE CART SYSTEM STRUCTURAL OVERHAUL                           */
/* ========================================================================= */

/* Force all WooCommerce cart typography to inherit global font-family explicitly */
.woocommerce-cart,
.woocommerce-cart *,
.woocommerce-cart-container,
.woocommerce-cart-container * {
    font-family: var(--font-mono), 'Cutive Mono', monospace !important;
}

/* Remove remaining redundant page titles specifically on the cart page */
.woocommerce-cart .entry-title,
.woocommerce-cart .page-title,
.woocommerce-cart .hero-title,
.woocommerce-cart .page-header-title,
.woocommerce-cart h1.page-title,
.woocommerce-cart .entry-header {
    display: none !important;
}

/* Reduce Top Spacing on Cart Page content wrappers */
.woocommerce-cart .site-content,
.woocommerce-cart .entry-content,
.woocommerce-cart #content,
.woocommerce-cart main,
.woocommerce-cart #main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.localnv-cart-container {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    max-width: 800px !important;
    margin: 20px auto 40px auto !important; /* sit flush right below header */
    padding: 0 20px !important;
}

@media (max-width: 1023px) {
    .woocommerce-cart .localnv-cart-container {
        margin-top: 60px !important; /* clears fixed mobile menu flush */
    }
}

.localnv-cart-title {
    font-size: 24px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-bottom: 40px !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 10px !important;
    color: #000000 !important;
}

.localnv-cart-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
}

.localnv-cart-item {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding-bottom: 20px !important;
}

.localnv-cart-item-thumbnail {
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
}

.localnv-cart-item-thumbnail img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.localnv-cart-item-details {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.localnv-cart-item-title-row {
    margin-bottom: 4px !important;
}

.localnv-cart-item-title {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.localnv-cart-item-price-row {
    margin-bottom: 6px !important;
}

.localnv-cart-item-price {
    font-size: 14px !important;
    color: #000000 !important;
}

.localnv-cart-item-meta-row dl.variation {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 6px 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    color: #666666 !important;
    list-style: none !important;
}

.localnv-cart-item-meta-row dl.variation dt {
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
}

.localnv-cart-item-meta-row dl.variation dd {
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
}

.localnv-cart-item-meta-row dl.variation p {
    margin: 0 !important;
}

.localnv-cart-item-actions-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 10px !important;
}

/* Quantity Input Styling Override */
.localnv-cart-item-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #000000 !important;
    height: 35px !important;
    border-radius: 0 !important;
}

.localnv-cart-item-quantity .qty-btn {
    width: 30px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    color: #000000 !important;
    user-select: none !important;
}

.localnv-cart-item-quantity input.qty {
    width: 35px !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #000000 !important;
    border-right: 1px solid #000000 !important;
    font-size: 14px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #000000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}

.localnv-cart-item-quantity input.qty::-webkit-outer-spin-button,
.localnv-cart-item-quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.localnv-remove-btn {
    font-size: 12px !important;
    color: #000000 !important;
    text-decoration: underline !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

.localnv-remove-btn:hover {
    opacity: 0.6 !important;
}

/* Cart Totals styling */
.localnv-cart-collaterals {
    margin-top: 50px !important;
    border-top: 2px solid #000000 !important;
    padding-top: 30px !important;
}

.localnv-totals-title {
    font-size: 18px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    color: #000000 !important;
    border: none !important;
}

.localnv-cart-totals-rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
}

.localnv-totals-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding-bottom: 15px !important;
}

.localnv-totals-row .totals-label {
    font-size: 14px !important;
    text-transform: uppercase !important;
    color: #666666 !important;
}

.localnv-totals-row .totals-value {
    font-size: 14px !important;
    color: #000000 !important;
}

.localnv-totals-row.order-total {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.localnv-totals-row.order-total .totals-label-main {
    font-size: 18px !important;
    color: #000000 !important;
    font-weight: bold !important;
}

.localnv-totals-row.order-total .totals-value-main {
    font-size: 20px !important;
    color: #000000 !important;
    font-weight: bold !important;
}

/* Shipping custom overrides */
.shipping-row .totals-value ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.shipping-row .totals-value ul#shipping_method li {
    font-size: 12px !important;
    color: #000000 !important;
    margin-bottom: 5px !important;
    list-style: none !important;
}

.shipping-row .woocommerce-shipping-calculator {
    margin-top: 10px !important;
}

.shipping-row a.shipping-calculator-button {
    font-size: 11px !important;
    text-transform: uppercase !important;
    text-decoration: underline !important;
    color: #000000 !important;
}

/* Checkout Button styling override */
.wc-proceed-to-checkout {
    margin-top: 30px !important;
}

.wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

/* Hide default checkout/cart collaterals tables if standard templates are pulled by other elements */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
    display: none !important;
}

/* Mobile responsive styling */
@media (max-width: 600px) {
    .localnv-cart-container {
        margin: 60px auto 30px auto !important;
    }
    
    .localnv-cart-item {
        gap: 15px !important;
    }

    .localnv-cart-item-thumbnail {
        width: 80px !important;
        height: 80px !important;
    }

    .localnv-cart-item-thumbnail img {
        width: 80px !important;
        height: 80px !important;
    }

    .localnv-cart-item-title {
        font-size: 14px !important;
    }

    .localnv-cart-item-price {
        font-size: 13px !important;
    }
}

/* ========================================================================= */
/* 20. INLINE STYLE OVERRIDES FOR CART PAGE WRAPPERS                         */
/* ========================================================================= */

/* Force-override hardcoded inline padding styles on cart page container */
.woocommerce-cart div[style*="padding: 150px"],
.woocommerce-cart div[style*="padding:150px"] {
    padding: 0px 5% 100px 5% !important;
}

/* Force-hide any inline styled hardcoded cart title */
.woocommerce-cart h1[style*="Cutive Mono"] {
    display: none !important;
}


