/* ========================================== */
/* HEADER V2 — MULTI-ROW LAYERED DESIGN      */
/* CrazyStore — crazystore.com.bo             */
/* ========================================== */

/* Prevent horizontal overflow globally */
html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ============================================================
   BASE HEADER
   ============================================================ */

.crazy-v2-header {
    position: relative;
    width: 100%;
}

/* ============================================================
   ROW 1 — TOP BAR  (flash sale countdown + promo text)
   Height: ~32px · Accent background
   ============================================================ */

.crazy-v2-topbar {
    background: linear-gradient(90deg, #b71c1c 0%, #d32f2f 50%, #b71c1c 100%);
    height: 42px;
    display: flex;
    align-items: center;
}

.crazy-v2-topbar-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Centered countdown */
.crazy-v2-topbar-countdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Promo text pushed to the right */
.crazy-v2-topbar-promo {
    margin-left: auto;
}

/* ============================================================
   BANNER OFERTAS — Base styles (desktop, sticky, mobile)
   Moved from oferta-relampago_1-0-2.css for centralization
   ============================================================ */

/* ============ NEON GLOW TIMER STYLES - DESKTOP ============ */
.link-banner-ofertas {
    text-decoration: none;
    display: block;
}

.container-banner-ofertas {
    animation: container-glow 3s ease-in-out infinite;
}

@keyframes container-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5)); }
}

.banner-ofertas {
    background: #0a0a0a;
    border: 2px solid #FF0000;
    border-radius: 15px;
    padding: 10px 18px;
    text-align: center;
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 0, 0, 0.1),
        inset 0 0 40px rgba(255, 0, 0, 0.05);
    position: relative;
    overflow: visible;
    margin-left: 15px;
    margin-bottom: 10px;
    width: 260px;
    height: auto;
    min-height: 95px;
    max-height: 120px;
}

.banner-ofertas::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.banner-ofertas .label-ofertas {
    position: relative;
    z-index: 1;
    font-size: 0.65em;
    color: #FF0000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.5),
        0 0 30px rgba(255, 0, 0, 0.3);
    animation: label-glow 2s ease-in-out infinite;
}

@keyframes label-glow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(255, 0, 0, 0.8),
            0 0 20px rgba(255, 0, 0, 0.5),
            0 0 30px rgba(255, 0, 0, 0.3);
    }
    50% {
        text-shadow:
            0 0 15px rgba(255, 0, 0, 1),
            0 0 25px rgba(255, 0, 0, 0.7),
            0 0 35px rgba(255, 0, 0, 0.5);
    }
}

.banner-ofertas .label-ofertas span {
    color: #FF0000;
    font-family: 'SF UI Display Heavy', sans-serif;
    font-weight: 700;
    font-size: 1em;
    text-shadow: inherit;
}

.banner-ofertas .subbloque-reloj-ofertas {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.banner-ofertas .subbloque-reloj-ofertas .relojsito {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-time-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-unit {
    background: rgba(255, 0, 0, 0.05);
    color: #FF0000;
    padding: 6px 8px;
    border: 2px solid #FF0000;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 0, 0, 0.1),
        0 0 30px rgba(255, 0, 0, 0.2);
    position: relative;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-separator {
    color: #FF0000;
    font-size: 1.5em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    animation: separator-blink 1s ease-in-out infinite;
    line-height: 1;
    align-self: center;
}

@keyframes separator-blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0.2; }
}

.banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-unit-fallback {
    background: rgba(255, 0, 0, 0.05);
    color: #FF0000;
    padding: 6px 10px;
    border: 2px solid #FF0000;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 0, 0, 0.1),
        0 0 30px rgba(255, 0, 0, 0.2);
    letter-spacing: 2px;
}

.banner-ofertas:hover .subbloque-reloj-ofertas .relojsito .neon-unit {
    background: rgba(255, 0, 0, 0.1);
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 0, 0, 0.15),
        0 0 40px rgba(255, 0, 0, 0.4);
    transform: scale(1.05);
}

.banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 5px;
    margin-top: 3px;
}

.banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha div {
    font-size: 0.75em;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(255, 0, 0, 0.5);
    flex: 1;
    text-align: center;
}

.banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha .formato-dias,
.banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha .formato-hrs,
.banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha .formato-min,
.banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha .formato-seg {
    position: static;
    left: auto;
    right: auto;
}

/* ============ COMPACT LAYOUT FOR NARROW DESKTOP (1321px - 1408px) ============ */
@media screen and (min-width: 1321px) and (max-width: 1408px) {
    .banner-ofertas {
        width: 220px;
        padding: 8px 10px;
        min-height: 85px;
    }

    .banner-ofertas .label-ofertas {
        font-size: 0.55em;
        letter-spacing: 1px;
    }

    .banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-unit {
        padding: 4px 6px;
        font-size: 1.1em;
        min-width: 32px;
    }

    .banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-separator {
        font-size: 1.2em;
        margin: 0 2px;
    }
}

/* ============ HORIZONTAL LAYOUT FOR MEDIUM SCREENS ============ */
@media screen and (min-width: 1025px) and (max-width: 1320px) {
    .banner-ofertas {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 5px 15px;
        min-height: 65px;
        max-height: 75px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .banner-ofertas .label-ofertas {
        margin-bottom: 0;
        flex: 0 0 auto;
        font-size: 0.8em;
        white-space: nowrap;
        margin-top: 0;
        line-height: 1;
    }

    .banner-ofertas .subbloque-reloj-ofertas {
        flex: 0 1 auto;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        justify-content: center;
    }

    .banner-ofertas .subbloque-reloj-ofertas .relojsito {
        width: auto;
        flex: 0 0 auto;
    }

    .banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-time-split {
        gap: 4px;
    }

    .banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-unit {
        padding: 2px 6px;
        font-size: 1.1em;
        min-width: 32px;
        background: rgba(255, 0, 0, 0.1);
        border: 1px solid #FF0000;
        border-radius: 4px;
        box-shadow: none;
        text-shadow: 0 0 5px red;
    }

    .banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-unit:hover {
        transform: none;
        background: transparent;
        box-shadow: none;
    }

    .banner-ofertas .subbloque-reloj-ofertas .relojsito .neon-separator {
        font-size: 1.1em;
        margin: 0 2px;
    }

    .banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .banner-ofertas .subbloque-reloj-ofertas .contenedor-fecha div {
        font-size: 0.7em;
        width: 32px;
        text-align: center;
        opacity: 0.8;
    }
}

/* ============ NEON GLOW TIMER STYLES - STICKY HEADER ============ */
.banner-ofertas-fixed {
    background: #0a0a0a;
    border: 2px solid #FF0000;
    border-radius: 15px;
    padding: 10px 18px;
    text-align: center;
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 0, 0, 0.1),
        inset 0 0 40px rgba(255, 0, 0, 0.05);
    position: relative;
    overflow: visible;
    width: 260px;
    height: auto;
    min-height: 95px;
    max-height: 120px;
}

.banner-ofertas-fixed::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.banner-ofertas-fixed .label-ofertas {
    position: relative;
    z-index: 1;
    font-size: 0.65em;
    color: #FF0000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.5),
        0 0 30px rgba(255, 0, 0, 0.3);
    animation: label-glow 2s ease-in-out infinite;
}

.banner-ofertas-fixed .label-ofertas span {
    color: #FF0000;
    font-family: 'SF UI Display Heavy', sans-serif;
    font-weight: 700;
    font-size: 1em;
    text-shadow: inherit;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .relojsito {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .relojsito .neon-time-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .relojsito .neon-unit {
    background: rgba(255, 0, 0, 0.05);
    color: #FF0000;
    padding: 6px 8px;
    border: 2px solid #FF0000;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 0, 0, 0.1),
        0 0 30px rgba(255, 0, 0, 0.2);
    position: relative;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .relojsito .neon-separator {
    color: #FF0000;
    font-size: 1.5em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    animation: separator-blink 1s ease-in-out infinite;
    line-height: 1;
    align-self: center;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .relojsito .neon-unit-fallback {
    background: rgba(255, 0, 0, 0.05);
    color: #FF0000;
    padding: 6px 10px;
    border: 2px solid #FF0000;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 0, 0, 0.1),
        0 0 30px rgba(255, 0, 0, 0.2);
    letter-spacing: 2px;
}

.banner-ofertas-fixed:hover .subbloque-reloj-ofertas .relojsito .neon-unit {
    background: rgba(255, 0, 0, 0.1);
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 0, 0, 0.15),
        0 0 40px rgba(255, 0, 0, 0.4);
    transform: scale(1.05);
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .contenedor-fecha {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 5px;
    margin-top: 3px;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .contenedor-fecha div {
    font-size: 0.65em;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(255, 0, 0, 0.5);
    flex: 1;
    text-align: center;
}

.banner-ofertas-fixed .subbloque-reloj-ofertas .contenedor-fecha .formato-dias,
.banner-ofertas-fixed .subbloque-reloj-ofertas .contenedor-fecha .formato-hrs,
.banner-ofertas-fixed .subbloque-reloj-ofertas .contenedor-fecha .formato-min,
.banner-ofertas-fixed .subbloque-reloj-ofertas .contenedor-fecha .formato-seg {
    position: static;
    left: auto;
    right: auto;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .banner-ofertas-fixed {
        float: right;
        margin-bottom: 10px;
        margin-top: -25px;
        margin-left: 15px;
        width: 240px;
        min-height: 100px;
    }
}

/* ============ NEON GLOW TIMER STYLES - MOBILE (Horizontal Layout) ============ */
.banner-ofertas-movil {
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 4px 15px;
    text-align: center;
    box-shadow: none;
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.banner-ofertas-movil::before {
    display: none;
}

.banner-ofertas-movil .label-ofertas {
    position: relative;
    z-index: 1;
    font-size: 0.85em;
    color: #FF0000;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.5),
        0 0 30px rgba(255, 0, 0, 0.3);
    animation: label-glow 2s ease-in-out infinite;
    flex: 0 0 auto;
    white-space: nowrap;
}

.banner-ofertas-movil .label-ofertas span {
    color: #FF0000;
    font-family: 'SF UI Display Heavy', sans-serif;
    font-weight: 700;
    font-size: 1em;
    text-shadow: inherit;
}

.banner-ofertas-movil .subbloque-reloj-ofertas {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 0 1 auto;
}

.banner-ofertas-movil .subbloque-reloj-ofertas .relojsito {
    width: auto;
    position: relative;
    display: flex;
    justify-content: center;
}

.banner-ofertas-movil .subbloque-reloj-ofertas .relojsito .neon-time-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.banner-ofertas-movil .subbloque-reloj-ofertas .relojsito .neon-unit {
    background: rgba(255, 0, 0, 0.05);
    color: #FF0000;
    padding: 5px 8px;
    border: 2px solid #FF0000;
    border-radius: 6px;
    font-size: 1.15em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    box-shadow:
        0 0 12px rgba(255, 0, 0, 0.4),
        inset 0 0 12px rgba(255, 0, 0, 0.1),
        0 0 25px rgba(255, 0, 0, 0.2);
    position: relative;
    min-width: 34px;
    text-align: center;
    transition: all 0.3s ease;
}

.banner-ofertas-movil .subbloque-reloj-ofertas .relojsito .neon-separator {
    color: #FF0000;
    font-size: 1.25em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    animation: separator-blink 1s ease-in-out infinite;
    line-height: 1;
    align-self: center;
}

.banner-ofertas-movil .subbloque-reloj-ofertas .relojsito .neon-unit-fallback {
    background: rgba(255, 0, 0, 0.05);
    color: #FF0000;
    padding: 10px 12px;
    border: 2px solid #FF0000;
    border-radius: 8px;
    font-size: 1.5em;
    font-weight: 700;
    font-family: 'Courier New', 'Courier', monospace;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.6);
    box-shadow:
        0 0 12px rgba(255, 0, 0, 0.4),
        inset 0 0 12px rgba(255, 0, 0, 0.1),
        0 0 25px rgba(255, 0, 0, 0.2);
    letter-spacing: 2.5px;
}

.banner-ofertas-movil:hover .subbloque-reloj-ofertas .relojsito .neon-unit {
    background: rgba(255, 0, 0, 0.1);
    box-shadow:
        0 0 18px rgba(255, 0, 0, 0.6),
        inset 0 0 18px rgba(255, 0, 0, 0.15),
        0 0 35px rgba(255, 0, 0, 0.4);
    transform: scale(1.05);
}

.banner-ofertas-movil .subbloque-reloj-ofertas .contenedor-fecha {
    display: flex;
    justify-content: space-between;
    width: auto;
    gap: 3px;
    margin-top: 0;
}

.banner-ofertas-movil .subbloque-reloj-ofertas .contenedor-fecha div {
    font-size: 0.7em;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(255, 0, 0, 0.5);
    min-width: 34px;
    text-align: center;
}

.banner-ofertas-movil .subbloque-reloj-ofertas .contenedor-fecha .formato-dias,
.banner-ofertas-movil .subbloque-reloj-ofertas .contenedor-fecha .formato-hrs,
.banner-ofertas-movil .subbloque-reloj-ofertas .contenedor-fecha .formato-min,
.banner-ofertas-movil .subbloque-reloj-ofertas .contenedor-fecha .formato-seg {
    position: static;
    left: auto;
    right: auto;
}

.subbloque-producto-relampago-cero {
    color: #FF0000;
    font-family: 'SF UI Display Heavy', sans-serif;
    font-weight: 700;
    font-size: 1em;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.5);
    letter-spacing: 1.5px;
    animation: label-glow 2s ease-in-out infinite;
    padding: 8px 0;
}

/* ============================================================
   TOPBAR-SPECIFIC OVERRIDES (slim inline countdown)
   ============================================================ */

/* Countdown section */
.crazy-v2-topbar-countdown {
    display: flex;
    align-items: center;
}

/* --- Strip neon box styles inside topbar --- */
.crazy-v2-topbar-countdown .container-banner-ofertas {
    margin: 0;
    animation: none;
}

.crazy-v2-topbar-countdown .banner-ofertas {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 212, 128, 0.6);
    border-radius: 20px;
    padding: 6px 18px;
    margin: 0;
    width: auto;
    min-height: auto;
    max-height: none;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 0 12px rgba(255, 212, 128, 0.3);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep effect on the pill button */
.crazy-v2-topbar-countdown .link-banner-ofertas .banner-ofertas::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    animation: topbar-shimmer 1.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes topbar-shimmer {
    0%   { left: -100%; }
    30%  { left: 120%; }
    100% { left: 120%; }
}

.crazy-v2-topbar-countdown .banner-ofertas:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 212, 128, 0.7);
}

/* ::before is now used for shimmer — old neon glow ::before hidden via the
   more-specific .link-banner-ofertas .banner-ofertas::before rule above */

.crazy-v2-topbar-countdown .banner-ofertas::after {
    content: "→";
    font-size: 13px;
    color: #ddd;
    margin-left: 4px;
    transition: transform 0.2s;
}

.crazy-v2-topbar-countdown .banner-ofertas:hover::after {
    transform: translateX(3px);
}

.crazy-v2-topbar-countdown .label-ofertas {
    margin: 0;
    animation: none;
    text-shadow: none;
    margin-right: 8px;
    padding-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.crazy-v2-topbar-countdown .label-ofertas span {
    font-size: 13px !important;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: none;
}

/* --- Inline countdown: 270 Dias : 08 Hrs : 39 Min : 24 Seg --- */
.crazy-v2-topbar-countdown .subbloque-reloj-ofertas {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.crazy-v2-topbar-countdown .relojsito {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'SF Mono', 'Courier New', monospace;
    letter-spacing: 0;
}

/* Hide the separate labels row — labels shown via ::after on each unit */
.crazy-v2-topbar-countdown .contenedor-fecha {
    display: none !important;
}

/* Neon time split — horizontal row, never wrap */
.crazy-v2-topbar-countdown .neon-time-split {
    display: flex !important;
    align-items: baseline;
    flex-wrap: nowrap !important;
    gap: 0;
}

/* Neon units — compact inline, no box styling */
.crazy-v2-topbar-countdown .neon-unit {
    display: inline-block !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700;
    font-family: 'SF Mono', 'Courier New', monospace;
    padding: 0 !important;
    min-width: auto !important;
    text-shadow: none !important;
    transition: none !important;
    white-space: nowrap !important;
}

/* Add label text next to each number — warm gold for contrast */
.crazy-v2-topbar-countdown .neon-unit:nth-child(1)::after { content: " Dias"; font-size: 12px; color: #ffd480; font-weight: 500; letter-spacing: 0; font-family: sans-serif; }
.crazy-v2-topbar-countdown .neon-unit:nth-child(3)::after { content: " Hrs"; font-size: 12px; color: #ffd480; font-weight: 500; letter-spacing: 0; font-family: sans-serif; }
.crazy-v2-topbar-countdown .neon-unit:nth-child(5)::after { content: " Min"; font-size: 12px; color: #ffd480; font-weight: 500; letter-spacing: 0; font-family: sans-serif; }
.crazy-v2-topbar-countdown .neon-unit:nth-child(7)::after { content: " Seg"; font-size: 12px; color: #ffd480; font-weight: 500; letter-spacing: 0; font-family: sans-serif; }

/* Separators — compact colons */
.crazy-v2-topbar-countdown .neon-separator {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 16px !important;
    font-weight: 600;
    text-shadow: none !important;
    animation: none !important;
    margin: 0 8px;
}

/* Fallback plain text */
.crazy-v2-topbar-countdown .neon-unit-fallback {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'SF Mono', 'Courier New', monospace;
    padding: 0;
    text-shadow: none;
}

/* "¡Ver Ofertas!" text when no active sale */
.crazy-v2-topbar-countdown .subbloque-producto-relampago-cero {
    color: #ffffff;
    font-size: 14px;
    text-shadow: none;
    animation: none;
    padding: 0;
}

/* Promo text — (positioned via margin-left:auto above) */

.crazy-v2-topbar-promo span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 0 6px #ff0d0c, 0 0 12px #ff0d0c, 0 0 24px #ff0d0c66;
    animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-pulse {
    0%, 100% { text-shadow: 0 0 6px #ff0d0c, 0 0 12px #ff0d0c, 0 0 24px #ff0d0c66; }
    50% { text-shadow: 0 0 3px #ff0d0c88, 0 0 8px #ff0d0c44, 0 0 16px #ff0d0c22; }
}

/* ============================================================
   ROW 2 — MAIN BAR  (logo + search + icons)
   Height: ~60px · Dark #2b2b2b
   ============================================================ */

.crazy-v2-mainbar {
    background-color: #2b2b2b;
    padding: 8px 0;
}

.crazy-v2-mainbar-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.crazy-v2-logo {
    flex: 0 0 auto;
}

.crazy-v2-logo .custom-logo {
    max-height: 70px;
    width: auto;
}

.crazy-v2-logo .site-title a {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.crazy-v2-logo .site-description {
    display: none;
}

/* Search */
.crazy-v2-search {
    flex: 1 1 auto;
    max-width: 550px;
    min-width: 280px;
}

.crazy-v2-search #search-box {
    width: 100%;
}

.crazy-v2-search #search-form {
    background-color: #ffffff;
    border-radius: 8px;
    border: 2px solid transparent;
    display: flex !important;
    overflow: hidden;
    align-items: stretch;
    height: 44px;
    transition: border-color 0.2s;
}

.crazy-v2-search #search-form:focus-within {
    border-color: #ff0d0c;
}

.crazy-v2-search #search-text {
    background-color: transparent;
    color: #333;
    border: none;
    padding: 0 15px;
    flex: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 14px;
    min-width: 180px;
}

.crazy-v2-search #search-text::placeholder {
    color: #999;
}

.crazy-v2-search .vert-brd {
    width: 1px;
    background-color: #e0e0e0;
}

.crazy-v2-search select {
    background-color: transparent;
    color: #333;
    border: none;
    padding: 0 12px;
    display: block !important;
    visibility: visible !important;
    max-width: 170px;
    font-size: 13px;
    cursor: pointer;
    height: 100%;
}

.crazy-v2-search select option {
    background-color: #fff;
    color: #333;
    font-size: 13px;
}

.crazy-v2-search #search-button {
    background-color: #ff0d0c;
    border: none;
    color: white;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    width: 52px;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.crazy-v2-search #search-button:hover {
    background-color: #e00b0a;
}

.crazy-v2-search #search-button::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Icons */
.crazy-v2-icons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Reorder: Cart first, Account second */
.crazy-v2-icons .woofc-menu-item {
    order: 1;
}

.crazy-v2-icons .header-icon {
    order: 2;
}

/* Icon button style (circle) */
.crazy-v2-icons .header-icon a,
.crazy-v2-icons .woofc-menu-item a {
    color: #ffffff !important;
    font-size: 18px !important;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid #666 !important;
    border-radius: 50% !important;
    background-color: #3d3d3d;
}

.crazy-v2-icons .header-icon a:hover,
.crazy-v2-icons .woofc-menu-item a:hover {
    color: #ffffff !important;
    background-color: #ff0d0c !important;
    border-color: #ff0d0c !important;
}

.crazy-v2-icons .woofc-menu-item {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide text/price, show only icon */
.crazy-v2-icons .woofc-menu-item .woofc-menu-item-inner-subtotal,
.crazy-v2-icons .woofc-menu-item .woocommerce-Price-amount {
    display: none !important;
}

.crazy-v2-icons .woofc-menu-item-inner {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.crazy-v2-icons i,
.crazy-v2-icons .th-icon,
.crazy-v2-icons .woofc-icon-cart4 {
    line-height: 1 !important;
    font-size: 18px !important;
    margin: 0 !important;
}

/* Cart count badge */
.crazy-v2-icons .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 4px;
}

.crazy-v2-icons .cart-count[data-count="0"] {
    display: none;
}

.crazy-v2-icons .tooltiptext {
    display: none;
}

/* Hide wishlist, keep only account + cart */
.crazy-v2-icons .header-icon .whishlist {
    display: none !important;
}

/* Fly Cart badge position */
.crazy-v2-icons .woofc-menu-item .woofc-menu-item-inner:after {
    left: 18px !important;
    top: -6px !important;
}

/* ============================================================
   ROW 3 — NAV BAR  (horizontal menu links)
   Height: ~40px · Slightly different dark shade
   ============================================================ */

.crazy-v2-navbar {
    background-color: #1e1e1e;
    border-top: 1px solid #444;
}

.crazy-v2-navbar-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.crazy-v2-nav-menu {
    display: flex;
    align-items: center;
    height: 40px;
}

/* Hide menu toggle on desktop */
.crazy-v2-nav-menu .menu-toggle {
    display: none !important;
}

.crazy-v2-nav-menu {
    justify-content: center;
}

.crazy-v2-nav-menu .big-store-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    gap: 28px;
}

.crazy-v2-nav-menu .big-store-menu li {
    margin: 0;
}

.crazy-v2-nav-menu .big-store-menu a {
    color: #dddddd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-block;
}

.crazy-v2-nav-menu .big-store-menu a:hover {
    color: #ff0d0c;
    background: rgba(255, 13, 12, 0.1);
    transform: translateY(-1px);
}

.crazy-v2-nav-menu .big-store-menu a:focus-visible {
    color: #ff0d0c;
    background: rgba(255, 13, 12, 0.1);
    outline: 2px solid rgba(255, 13, 12, 0.5);
    outline-offset: 2px;
}

.crazy-v2-nav-menu .big-store-menu .current-menu-item a {
    color: #ff0d0c;
    font-weight: 600;
}

/* Hide MI CUENTA from nav bar if present */
.crazy-v2-nav-menu .menu-item-352 {
    display: none !important;
}

/* Hide cart from nav bar */
.crazy-v2-nav-menu .woofc-menu-item {
    display: none !important;
}

/* ============================================================
   MOBILE HEADER — 2-ROW LAYOUT
   ============================================================ */

/* Hide mobile by default (shown via media query) */
.crazy-v2-mobile {
    display: none;
}

/* Mobile Top Bar (compact countdown) */
.crazy-v2-mobile-topbar {
    background: linear-gradient(90deg, #b71c1c 0%, #d32f2f 50%, #b71c1c 100%) !important;
    padding: 8px 15px;
    min-height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.crazy-v2-mobile-topbar .container-banner-ofertas {
    margin: 0;
}

/* Mobile Main Bar */
.crazy-v2-mobile-mainbar {
    background-color: #2b2b2b !important;
    padding: 8px 15px;
}

.crazy-v2-mobile-mainbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Hamburger */
.crazy-v2-mobile-hamburger {
    flex: 0 0 auto;
    order: 1;
}

.crazy-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.crazy-menu-btn .icon-bar {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Logo */
.crazy-v2-mobile-logo {
    flex: 0 0 auto;
    order: 2;
}

/* Search Bar (inline, always visible) */
.crazy-v2-mobile-mainbar-inner .crazy-v2-search {
    flex: 1 1 auto;
    order: 3;
    min-width: 0;
}

.crazy-v2-mobile-mainbar-inner .crazy-v2-search #search-form {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
}

.crazy-v2-mobile-mainbar-inner .crazy-v2-search #search-text {
    flex: 1;
    min-width: 0;
    border: none;
    font-size: 14px;
}

.crazy-v2-mobile-mainbar-inner .crazy-v2-search select {
    display: none;
}

.crazy-v2-mobile-mainbar-inner .crazy-v2-search #search-button {
    background-color: #ff0d0c;
    color: white;
    border: none;
    padding: 0;
    width: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crazy-v2-mobile-mainbar-inner .crazy-v2-search #search-button::before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.crazy-v2-mobile-logo .custom-logo {
    max-height: 40px;
    width: auto;
}

.crazy-v2-mobile-logo .site-title a {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.crazy-v2-mobile-logo .site-description {
    display: none;
}

/* Mobile action icons (account + cart) */
.crazy-v2-mobile-actions {
    flex: 0 0 auto;
    order: 4;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Style account icon in mobile actions — match desktop */
.crazy-v2-mobile-actions .header-icon a {
    color: #ffffff !important;
    font-size: 18px !important;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid #666 !important;
    border-radius: 50% !important;
    background-color: #3d3d3d;
}

.crazy-v2-mobile-actions .header-icon a:hover {
    color: #ffffff !important;
    background-color: #ff0d0c !important;
    border-color: #ff0d0c !important;
}

.crazy-v2-mobile-actions .header-icon .whishlist {
    display: none !important;
}

.crazy-v2-mobile-actions .header-icon .tooltiptext {
    display: none;
}

/* Search toggle button */
.crazy-v2-search-toggle {
    background: none;
    border: 1px solid #4a4a4a;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.crazy-v2-search-toggle:hover,
.crazy-v2-search-toggle:active {
    background-color: #ff0d0c;
    border-color: #ff0d0c;
}

/* Mobile cart — match desktop icon style
   Target both .crazy-v2-mobile-cart (JS class) and
   .crazy-v2-mobile-actions .woofc-menu-item (direct selector) */
.crazy-v2-mobile-cart,
.crazy-v2-mobile-actions .woofc-menu-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.crazy-v2-mobile-cart a,
.crazy-v2-mobile-actions .woofc-menu-item a {
    color: #ffffff !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid #666 !important;
    border-radius: 50% !important;
    background-color: #3d3d3d;
}

.crazy-v2-mobile-cart a:hover,
.crazy-v2-mobile-actions .woofc-menu-item a:hover {
    color: #ffffff !important;
    background-color: #ff0d0c !important;
    border-color: #ff0d0c !important;
}

/* Hide text/price, show only icon */
.crazy-v2-mobile-cart .woofc-menu-item-inner-subtotal,
.crazy-v2-mobile-cart .woocommerce-Price-amount,
.crazy-v2-mobile-actions .woofc-menu-item .woofc-menu-item-inner-subtotal,
.crazy-v2-mobile-actions .woofc-menu-item .woocommerce-Price-amount {
    display: none !important;
}

/* Global mobile subtotal hide (broader selector as fallback) */
.crazy-v2-mobile .woofc-menu-item-inner-subtotal {
    display: none !important;
}

.crazy-v2-mobile-cart .woofc-menu-item-inner,
.crazy-v2-mobile-actions .woofc-menu-item .woofc-menu-item-inner {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.crazy-v2-mobile-cart i,
.crazy-v2-mobile-cart .woofc-icon-cart4,
.crazy-v2-mobile-actions .woofc-menu-item i,
.crazy-v2-mobile-actions .woofc-menu-item .woofc-icon-cart4 {
    line-height: 1 !important;
    font-size: 18px !important;
    margin: 0 !important;
}

/* Fly Cart badge position */
.crazy-v2-mobile-cart .woofc-menu-item-inner:after,
.crazy-v2-mobile-actions .woofc-menu-item .woofc-menu-item-inner:after {
    left: 16px !important;
    top: -6px !important;
}

/* Mobile search dropdown */
.crazy-v2-mobile-search-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.crazy-v2-mobile-search-dropdown.is-open {
    max-height: 60px;
    padding: 8px 0 0;
}

.crazy-v2-mobile-search-dropdown #search-form {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
}

.crazy-v2-mobile-search-dropdown #search-text {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    border: none;
    font-size: 14px;
}

.crazy-v2-mobile-search-dropdown select {
    background-color: transparent;
    color: #333;
    border: none;
    padding: 0 8px;
    font-size: 12px;
    max-width: 120px;
    flex-shrink: 0;
}

.crazy-v2-mobile-search-dropdown #search-button {
    background-color: #ff0d0c;
    color: white;
    border: none;
    padding: 0;
    width: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crazy-v2-mobile-search-dropdown #search-button::before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================================
   MOBILE SIDEBAR (reused from v1 — keep styles)
   ============================================================ */

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    backdrop-filter: blur(2px);
}

/* Sidebar panel */
.mobile-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-nav-bar.big-store-menu-hide {
    transform: translateX(-100%);
}

.mobile-nav-bar:not(.big-store-menu-hide) {
    transform: translateX(0);
}

.mobile-nav-bar .menu-close {
    padding: 15px 20px;
    background: #D32F2F;
    border-bottom: 1px solid #c62828;
}

.mobile-nav-bar .menu-close-btn {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
}

.mobile-nav-bar .sider-inner {
    padding: 20px;
}

.mobile-nav-bar .mobile-nav-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.mobile-nav-bar .mobile-nav-tabs li {
    flex: 1;
}

.mobile-nav-bar .mobile-nav-tabs a {
    display: block;
    padding: 10px;
    text-align: center;
    color: #333;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.mobile-nav-bar .mobile-nav-tabs li.active a {
    color: #ff0d0c;
    border-bottom-color: #ff0d0c;
}

.mobile-nav-bar .big-store-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-bar .big-store-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-bar .big-store-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-nav-bar .big-store-menu a:hover {
    background-color: #f5f5f5;
    color: #ff0d0c;
}

.mobile-nav-bar .panel {
    display: block;
}

.mobile-nav-bar #mobile-nav-tab-category {
    display: none;
}

.mobile-nav-bar .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-bar .product-categories li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-bar .product-categories a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
}

.mobile-nav-bar .product-categories a:hover {
    background-color: #f5f5f5;
    color: #ff0d0c;
}

/* Hide cart from sidebar menu */
.mobile-nav-bar .menu-item-cart,
.mobile-nav-bar .woofc-menu-item {
    display: none !important;
}

/* ============================================================
   STICKY BEHAVIOR — Main bar + Nav bar stick on scroll
   (Top bar scrolls away)
   ============================================================ */

.crazy-v2-header.is-sticky .crazy-v2-mainbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.crazy-v2-header.is-sticky .crazy-v2-navbar {
    position: fixed;
    top: 60px; /* mainbar height */
    left: 0;
    width: 100%;
    z-index: 9998;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Spacer to prevent content jump when sticky kicks in */
.crazy-v2-header.is-sticky::after {
    content: '';
    display: block;
    height: 136px; /* topbar(36) + mainbar(60) + navbar(40) */
}

/* ============================================================
   EXISTING STICKY HEADER (from custom.js) — keep compatible
   ============================================================ */

.sticky-header {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: #2b2b2b;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: top 0.3s ease-in-out;
}

.sticky-header.is-visible {
    top: 0;
}

.sticky-header .container {
    max-width: 100%;
    padding: 10px 20px;
}

.sticky-header .container .sticky-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.sticky-header .container .sticky-header-bar .sticky-header-col1 {
    flex: 0 0 auto;
}

.sticky-header .container .sticky-header-bar .sticky-header-col1 img {
    max-height: 50px;
    width: auto;
}

.sticky-header .container .sticky-header-bar .sticky-header-col2 {
    flex: 1 1 auto;
    max-width: 600px;
}

.sticky-header .container .sticky-header-bar .sticky-header-col3 {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.machi-navbar .menu-item-480,
.machi-navbar .menu-item-350 {
    display: none;
}

.machi-sticky_searchbox #search-box #search-form {
    display: flex;
}

/* ============================================================
   USDT TOP BAR
   ============================================================ */

@media (max-width: 768px) {
    .usdt-text-desktop {
        display: none !important;
    }

    .usdt-text-mobile {
        display: inline !important;
    }

    .usdt-topbar {
        padding: 6px 0 !important;
    }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Desktop (1025px+): Show all 3 rows, hide mobile ---- */
@media screen and (min-width: 1025px) {
    .crazy-v2-mobile {
        display: none !important;
    }

    .crazy-v2-topbar,
    .crazy-v2-mainbar,
    .crazy-v2-navbar {
        display: flex;
    }
}

/* ---- Tablet/Mobile (<1024px): Show mobile layout, hide desktop rows ---- */
@media screen and (max-width: 1024px) {
    .crazy-v2-topbar {
        display: none !important;
    }

    .crazy-v2-mainbar {
        display: none !important;
    }

    .crazy-v2-navbar {
        display: none !important;
    }

    .crazy-v2-mobile {
        display: block !important;
    }

    /* Sticky header bar for mobile */
    .machi_sticky-header-bar {
        display: none;
    }
}

/* Hide old sticky header bar globally */
.machi_sticky-header-bar {
    display: none !important;
}

/* Old responsive header — permanently hidden (replaced by .crazy-v2-mobile) */
.machi_responsive-main-header {
    display: none !important;
}

/* ---- Mobile countdown: compact for tablets ---- */
@media screen and (max-width: 1024px) {
    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .banner-ofertas {
        padding: 3px 10px;
        gap: 6px;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .label-ofertas {
        margin-right: 4px;
        padding-right: 6px;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .label-ofertas span {
        font-size: 10px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-unit {
        font-size: 12px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-separator {
        margin: 0 3px;
        font-size: 12px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-unit::after {
        font-size: 9px !important;
    }
}

/* ---- Mobile 2-row header split (<=768px) ---- */
/* Row 1: hamburger + logo + account + cart                */
/* Row 2: full-width search bar (no category dropdown)     */
@media screen and (max-width: 768px) {
    /* Make mainbar-inner wrap into 2 rows */
    .crazy-v2-mobile-mainbar-inner {
        flex-wrap: wrap;
    }

    /* Row 1: hamburger(1) + logo(2) + actions(3) — full width */
    .crazy-v2-mobile-actions {
        order: 3;
        margin-left: auto;
    }

    /* Search becomes Row 2 — full width */
    .crazy-v2-mobile-mainbar-inner .crazy-v2-search {
        order: 4;
        flex: 1 0 100%;
        margin-top: 6px;
    }

    /* Slightly shorter search bar in 2-row layout */
    .crazy-v2-mobile-mainbar-inner .crazy-v2-search #search-form {
        height: 36px;
    }

    /* Hide category dropdown to save space */
    .crazy-v2-mobile-mainbar-inner .crazy-v2-search .search-cat {
        display: none !important;
    }
}

/* ---- Mobile countdown: compact for small tablets / large phones ---- */
@media screen and (max-width: 768px) {
    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .banner-ofertas {
        padding: 3px 8px;
        gap: 3px;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .label-ofertas {
        margin-right: 3px;
        padding-right: 5px;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .label-ofertas span {
        font-size: 9px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-unit {
        font-size: 11px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-unit::after {
        font-size: 7px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-separator {
        margin: 0 2px;
        font-size: 11px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .banner-ofertas::after {
        font-size: 11px;
        margin-left: 2px;
    }
}

/* ---- Small mobile tweaks ---- */
@media screen and (max-width: 480px) {
    .crazy-v2-mobile-topbar {
        padding: 5px 10px;
    }

    .crazy-v2-mobile-mainbar {
        padding: 6px 10px;
    }

    .crazy-v2-mobile-logo .custom-logo {
        max-height: 35px;
    }

    .crazy-v2-mobile-cart a {
        width: 32px;
        height: 32px;
    }

    /* Extra compact countdown for small phones */
    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-unit {
        font-size: 10px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-unit::after {
        font-size: 7px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .neon-separator {
        margin: 0 1px;
        font-size: 10px !important;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .banner-ofertas {
        padding: 2px 8px;
        gap: 2px;
        border-radius: 14px;
    }

    .crazy-v2-mobile-topbar .crazy-v2-topbar-countdown .banner-ofertas::after {
        display: none;
    }
}

/* ---- Narrow desktop (1025–1200px): Compact nav ---- */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .crazy-v2-nav-menu .big-store-menu {
        gap: 18px;
    }

    .crazy-v2-nav-menu .big-store-menu a {
        font-size: 12px;
    }

    .crazy-v2-logo .custom-logo {
        max-height: 45px;
    }

    .crazy-v2-search {
        min-width: 220px;
    }
}

/* ============================================================
   MOBILE SIDEBAR (off-canvas menu)
   ============================================================ */

/* Overlay */
.crazy-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
}

.crazy-sidebar-overlay.is-active {
    display: block;
}

/* Sidebar panel — hidden off-screen to the left */
.crazy-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
}

.crazy-sidebar.is-active {
    transform: translateX(0);
}

/* Header */
.crazy-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #222;
    color: #fff;
}

.crazy-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.crazy-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

/* Scrollable content area */
.crazy-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

/* Menu list */
.crazy-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.crazy-menu-list .menu-item a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.crazy-menu-list .menu-item a:hover {
    background: #f5f5f5;
}

/* Footer with cart link */
.crazy-sidebar-footer {
    border-top: 1px solid #eee;
    padding: 0;
}

.crazy-cart-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.crazy-cart-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crazy-cart-icon {
    font-size: 18px;
}

.crazy-cart-badge {
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ============================================================
   END HEADER V2 CSS
   ============================================================ */
