/* =============================================================
   V2 — Deco House Mayorista (estilo SHEIN)
   Paleta: negro #000 + blanco + rojo #E60023 acento.
   Toda regla anidada bajo .v2-body para no contaminar el sitio /.
   ============================================================= */

.v2-body {
    /* Variables semánticas. Los nombres red/yellow se conservan por
       estabilidad del diff; ahora alojan negro (primary) y rojo (accent). */
    --v2-red: #000000;          /* Primary (botones, header) */
    --v2-red-dark: #222222;     /* Hover de primary */
    --v2-yellow: #E60023;       /* Accent (precios, badges) */
    --v2-yellow-dark: #B8001C;
    --v2-black: #111111;
    --v2-bg: #ffffff;
    --v2-bg-soft: #FAFAFA;
    --v2-bg-image: #F5F5F5;     /* Placeholder para imágenes */
    --v2-border: #EAEAEA;
    --v2-text: #222222;
    --v2-text-soft: #666666;
    --v2-text-faint: #999999;
    --v2-shadow: 0 2px 8px rgba(0,0,0,.06);
    --v2-shadow-md: 0 6px 18px rgba(0,0,0,.10);
    --v2-radius: 4px;
    --v2-radius-lg: 8px;

    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--v2-bg);
    color: var(--v2-text);
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

/* RESETS V2 — solo aplicados a contenedores V2 (shell + secciones nativas).
   Antes los resets eran globales (.v2-body *) y rompían el contenido legacy
   del checkout/mi-cuenta/blog que se carga dentro del shell V2 cuando
   loadLegacyCss=true. */
.v2-body .v2-header *,
.v2-body .v2-footer *,
.v2-body .v2-cart-drawer *,
.v2-body .v2-megamenu *,
.v2-body .v2-section *,
.v2-body .v2-listing-section *,
.v2-body .v2-detail-section *,
.v2-body .v2-cart-page *,
.v2-body .v2-empty-page *,
.v2-body .v2-cat-banner *,
.v2-body .v2-top-strip *,
.v2-body .v2-toast,
.v2-body .v2-header *::before,
.v2-body .v2-footer *::before,
.v2-body .v2-cart-drawer *::before { box-sizing: border-box; }

.v2-body .v2-header a,
.v2-body .v2-footer a,
.v2-body .v2-cart-drawer a,
.v2-body .v2-megamenu a,
.v2-body .v2-section a,
.v2-body .v2-listing-section a,
.v2-body .v2-detail-section a,
.v2-body .v2-cart-page a,
.v2-body .v2-cat-banner a,
.v2-body .v2-breadcrumbs a {
    color: var(--v2-text);
    text-decoration: none;
}
.v2-body .v2-breadcrumbs a { color: var(--v2-text-soft); }
.v2-body .v2-breadcrumbs a:hover { color: var(--v2-black); text-decoration: none; }
.v2-body .v2-section a:hover,
.v2-body .v2-listing-section a:hover,
.v2-body .v2-detail-section a:hover,
.v2-body .v2-cart-page a:hover { color: var(--v2-yellow); }

/* === Repintar el contenido legacy con paleta SHEIN ===
   En las páginas que cargan el CSS legacy (checkout, mi-cuenta, blog, estáticas),
   redefinimos las variables CSS legacy dentro del shell V2. Como el legacy usa
   var(--color-verde) en cientos de lugares, esto repinta todo automáticamente
   sin reescribir selectores. */
.v2-body {
    --color-verde: #000000;
    --color-verde-oscuro: #222222;
    --color-verde-claro: #444444;
    --color-success: #000000;
    --color-terracota: #E60023;
    --color-terracota-claro: #FF6B6B;
    --color-terracota-oscuro: #B8001C;
    --color-beige: #FFFFFF;
    --color-beige-dark: #E8E8E8;
    --color-beige-light: #FAFAFA;
    --color-info: #555555;
    --color-texto: #1A1A1A;
    --color-texto-claro: #666666;
    --color-texto-muted: #999999;
    --color-black: #1A1A1A;
}

/* === Override defensivo contra el legacy CSS (frontend/main.css) que se carga
   junto al V2 en checkout/mi-cuenta/blog/static. El legacy tiene reglas globales
   `a { color: var(--color-verde) }` y `a:hover { color: oscuro }` sin .v2-body
   que pisaban el header V2. Las invalido con !important sólo en el shell V2. */
.v2-body .v2-header a,
.v2-body .v2-header a:hover,
.v2-body .v2-footer a,
.v2-body .v2-footer a:hover,
.v2-body .v2-cart-drawer a,
.v2-body .v2-megamenu a,
.v2-body .v2-megamenu a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* Imágenes responsivas — solo dentro de contenedores V2 */
.v2-body .v2-section img,
.v2-body .v2-listing-section img,
.v2-body .v2-detail-section img,
.v2-body .v2-cart-page img,
.v2-body .v2-cart-drawer img,
.v2-body .v2-megamenu img,
.v2-body .v2-cat-grid img,
.v2-body .v2-grid img,
.v2-body .v2-header img,
.v2-body .v2-footer img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Headings V2: solo dentro de secciones V2, NO en h1-h4 globales del legacy */
.v2-body .v2-section h1, .v2-body .v2-section h2, .v2-body .v2-section h3, .v2-body .v2-section h4,
.v2-body .v2-listing-section h1, .v2-body .v2-listing-section h2, .v2-body .v2-listing-section h3,
.v2-body .v2-detail-section h1, .v2-body .v2-detail-section h2, .v2-body .v2-detail-section h3,
.v2-body .v2-cart-page h1, .v2-body .v2-cart-page h2, .v2-body .v2-cart-page h3,
.v2-body .v2-cart-drawer h3, .v2-body .v2-cart-drawer h4,
.v2-body .v2-megamenu h4,
.v2-body .v2-empty-page h1, .v2-body .v2-empty-page h3 {
    font-family: inherit;
    letter-spacing: 0;
    margin: 0 0 .5em;
    line-height: 1.2;
    color: var(--v2-black);
    font-weight: 800;
}
/* h4 del footer V2 (titulos de columnas) */
.v2-body .v2-footer .v2-footer-title {
    font-family: inherit;
    margin: 0 0 12px;
    line-height: 1.2;
    color: #fff;
    font-weight: 800;
}

/* Reset de botones V2: solo botones del shell/componentes V2.
   Los <button> del checkout/legacy mantienen sus estilos Bootstrap. */
.v2-body .v2-btn,
.v2-body .v2-btn-add-mini,
.v2-body .v2-icon-btn,
.v2-body .v2-qty-btn,
.v2-body .v2-drawer-close,
.v2-body .v2-drawer-item-remove,
.v2-body .v2-detail-wishlist,
.v2-body .v2-cart-remove,
.v2-body .v2-nav-mega-trigger,
.v2-body .v2-search button,
.v2-body .v2-page-btn,
.v2-body .v2-filter-chip,
.v2-body .v2-detail-thumb-v {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Inputs V2: search bar, qty steppers, filtros, sort */
.v2-body .v2-search input,
.v2-body .v2-qty-input,
.v2-body .v2-cart-qty-input,
.v2-body .v2-sort-select {
    font-family: inherit;
    font-size: inherit;
}

/* ============== Container ============== */
.v2-body .v2-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============== Top strip (shipping promise) ============== */
.v2-body .v2-top-strip {
    background: var(--v2-black);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}
.v2-body .v2-ticker {
    display: flex;
    gap: 28px;
    white-space: nowrap;
    animation: v2-ticker 35s linear infinite;
    width: max-content;
}
@keyframes v2-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============== Header (estilo SHEIN: 2 rows) ============== */
.v2-body .v2-header {
    background: var(--v2-bg);
    border-bottom: 1px solid var(--v2-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.v2-body .v2-header-row1 {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 12px 16px;
    max-width: 1440px;
    margin: 0 auto;
}
.v2-body .v2-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Logo más grande tipo SHEIN. Imagen hasta 56px (antes 32) y texto 36px (antes 24) */
.v2-body .v2-logo-img { max-height: 56px; }
.v2-body .v2-logo-text {
    font-size: 36px;
    font-weight: 900;
    color: var(--v2-black);
    letter-spacing: -.02em;
    line-height: 1;
}
@media (max-width: 540px) {
    .v2-body .v2-logo-img { max-height: 40px; }
    .v2-body .v2-logo-text { font-size: 26px; }
}

.v2-body .v2-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--v2-black);
    border-radius: 999px;
    padding: 2px 2px 2px 16px;
    transition: border-color .12s ease;
    max-width: 520px;
    width: 100%;
    justify-self: stretch;
    height: 38px;
}
.v2-body .v2-search:focus-within {
    border-color: var(--v2-black);
}
.v2-body .v2-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 4px 8px;
    font-size: 13px;
    height: 100%;
}
.v2-body .v2-search input::placeholder { color: var(--v2-text-soft); }
.v2-body .v2-search button {
    background: var(--v2-black);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s ease;
}
.v2-body .v2-search button:hover { background: var(--v2-red-dark); }
.v2-body .v2-search button svg { display: block; }

.v2-body .v2-header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}
.v2-body .v2-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--v2-black);
    border-radius: 50%;
    transition: background .12s ease;
}
.v2-body .v2-icon-btn:hover { background: var(--v2-bg-soft); color: var(--v2-yellow); }
.v2-body .v2-cart-btn { padding: 0; }
.v2-body .v2-cart-count {
    background: var(--v2-yellow);
    color: #fff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2px;
    right: 2px;
    border: 2px solid #fff;
    line-height: 1;
}

/* ============== Nav (categorías horizontales tipo SHEIN) ============== */
.v2-body .v2-nav {
    background: var(--v2-bg);
    border-bottom: 1px solid var(--v2-border);
}
.v2-body .v2-nav-list {
    list-style: none;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 1440px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.v2-body .v2-nav-list::-webkit-scrollbar { display: none; }
.v2-body .v2-nav-list > li.v2-nav-divider {
    width: 1px;
    height: 18px;
    background: var(--v2-border);
    margin: 0 8px;
    flex-shrink: 0;
}
.v2-body .v2-nav-list a {
    display: inline-block;
    padding: 12px 14px;
    color: var(--v2-text) !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0;
    transition: background .12s ease;
    white-space: nowrap;
    text-decoration: none !important;
}
.v2-body .v2-nav-list a:hover {
    background: #F0F0F0;
    color: var(--v2-text) !important;
}
/* Active: solo se distingue por peso, NO por fondo gris (sin "Inicio" siempre gris) */
.v2-body .v2-nav-list a.is-active {
    background: transparent;
    color: var(--v2-text) !important;
    font-weight: 700;
}
.v2-body .v2-nav-list a.is-active:hover {
    background: #F0F0F0;
}
/* Sin acentos rojos en el nav: incluso "🔥 Ofertas" queda en color normal */
.v2-body .v2-nav-hot { color: var(--v2-text) !important; font-weight: 500 !important; }
.v2-body .v2-nav-wa { color: #25D366 !important; font-weight: 700 !important; }

/* Mega-menu trigger (Categorías ▾) — mismo comportamiento que el resto del nav */
.v2-body .v2-nav-mega-wrap {
    position: static;
}
.v2-body .v2-nav-mega-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 14px;
    background: transparent;
    color: var(--v2-black);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .12s ease;
}
.v2-body .v2-nav-mega-trigger:hover,
.v2-body .v2-nav-mega-wrap:hover .v2-nav-mega-trigger,
.v2-body .v2-nav-mega-wrap.is-open-click .v2-nav-mega-trigger {
    background: #F0F0F0;
    color: var(--v2-black);
}

/* ============== Mega-menu (overlay tipo SHEIN) ============== */
.v2-body .v2-megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--v2-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 99;
    max-height: calc(100vh - 110px);
    overflow: hidden;
    /* Cerrado: oculto pero sin transform (evita repaint que causa flicker) */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, visibility 0s .15s;
}
/* Abierto vía :hover en el wrapper o vía .is-open-click (JS) */
.v2-body .v2-nav-mega-wrap:hover .v2-megamenu,
.v2-body .v2-nav-mega-wrap.is-open-click .v2-megamenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .15s ease, visibility 0s 0s;
}
/* Bridge invisible entre trigger y menu para evitar el gap del border */
.v2-body .v2-nav-mega-trigger::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 8px;
    background: transparent;
}

.v2-body .v2-megamenu-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    max-width: 1440px;
    margin: 0 auto;
    height: 560px;
    max-height: calc(100vh - 110px);
}

/* Sidebar de categorías padre — EXACTO como SHEIN:
   - bg gris muy claro
   - item activo: bg blanco (más claro que el sidebar, no oscuro)
   - texto negro siempre, sin negrita
   - flecha tenue siempre visible
   - sin rojo, sin border-left, sin underline */
.v2-body .v2-megamenu-sidebar {
    background: #FAFAFA;
    overflow-y: auto;
    padding: 0;
    border-right: 1px solid var(--v2-border);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.v2-body .v2-megamenu-sidebar::-webkit-scrollbar { width: 6px; }
.v2-body .v2-megamenu-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

.v2-body .v2-megamenu-cat {
    position: relative;            /* ancla para la flecha absolute */
    display: flex;
    align-items: center;
    padding: 11px 36px 11px 16px;  /* padding-right grande para que el texto no choque con la flecha */
    color: #222 !important;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none !important;
    transition: background .1s ease;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1.3;
}
/* Flecha en columna fija a la DERECHA del sidebar, igual que SHEIN: */
.v2-body .v2-megamenu-cat svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #BBB;
    opacity: 1;
    transition: color .1s ease;
}
/* Hover y active: solo cambia el fondo a blanco. Sin color, sin negrita, sin border. */
.v2-body .v2-megamenu-cat:hover,
.v2-body .v2-megamenu-cat.is-active {
    background: #fff;
    color: #222 !important;
    font-weight: 400;
}
.v2-body .v2-megamenu-cat:hover svg,
.v2-body .v2-megamenu-cat.is-active svg {
    color: #888;
}

/* Panel principal */
.v2-body .v2-megamenu-panels {
    background: #fff;
    overflow-y: auto;
    padding: 24px 32px;
}
.v2-body .v2-megamenu-panels::-webkit-scrollbar { width: 8px; }
.v2-body .v2-megamenu-panels::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.v2-body .v2-megamenu-panel {
    display: none;
    flex-direction: column;
    gap: 24px;
}
.v2-body .v2-megamenu-panel.is-active { display: flex; }

.v2-body .v2-megamenu-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v2-body .v2-megamenu-title {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.v2-body .v2-megamenu-title-hot {
    color: #555;
}

/* Tiles redondos estilo SHEIN */
.v2-body .v2-megamenu-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 12px;
}
.v2-body .v2-megamenu-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 4px;
    border-radius: var(--v2-radius);
}
.v2-body .v2-megamenu-tile-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
/* Solo cuando hover: el círculo se agranda y aparece una sombra suave (degradada).
   Sin fondo gris ni halo extra alrededor. */
.v2-body .v2-megamenu-tile:hover .v2-megamenu-tile-img {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
}
.v2-body .v2-megamenu-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v2-body .v2-megamenu-tile-noimg {
    width: 100%;
    height: 100%;
    background: var(--v2-bg-image);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    user-select: none;
}
.v2-body .v2-megamenu-tile-label {
    font-size: 12px;
    line-height: 1.25;
    color: var(--v2-text);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}
/* Texto siempre negro como SHEIN — el feedback visual va en el círculo */
.v2-body .v2-megamenu-tile:hover .v2-megamenu-tile-label { color: var(--v2-text); }

@media (max-width: 900px) {
    .v2-body .v2-megamenu-inner {
        grid-template-columns: 1fr;
        height: auto;
    }
    .v2-body .v2-megamenu-sidebar {
        max-height: 220px;
        border-right: none;
        border-bottom: 1px solid var(--v2-border);
    }
}

/* ============== Hero ============== */
.v2-body .v2-hero {
    background: var(--v2-black);
    color: #fff;
    padding: 56px 0;
    overflow: hidden;
    position: relative;
}
.v2-body .v2-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 30%, rgba(230,0,35,.18) 0, transparent 45%);
    pointer-events: none;
}
.v2-body .v2-hero-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.v2-body .v2-hero-tagline {
    display: inline-block;
    background: var(--v2-yellow);
    color: #fff;
    padding: 5px 14px;
    border-radius: 2px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.v2-body .v2-hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 16px;
    letter-spacing: -.01em;
}
.v2-body .v2-hero-accent {
    color: var(--v2-yellow);
}
.v2-body .v2-hero-sub {
    font-size: 16px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
    max-width: 560px;
}
.v2-body .v2-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.v2-body .v2-hero-stack {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.v2-body .v2-hero-burst {
    width: 150px;
    height: 150px;
    background: var(--v2-yellow);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 16px 40px rgba(230,0,35,.4);
    transform: rotate(-6deg);
}
.v2-body .v2-hero-burst-2 {
    background: #fff;
    color: var(--v2-black);
    transform: rotate(4deg);
    width: 120px;
    height: 120px;
    margin-top: 36px;
    box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.v2-body .v2-burst-label { font-size: 11px; }
.v2-body .v2-burst-percent {
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

/* ============== Strip de beneficios (estilo SHEIN: blanco con bordes) ============== */
.v2-body .v2-strip {
    background: var(--v2-bg);
    color: var(--v2-text);
    padding: 24px 0;
    border-bottom: 1px solid var(--v2-border);
}
.v2-body .v2-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.v2-body .v2-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--v2-text);
    border-right: 1px solid var(--v2-border);
    padding-right: 16px;
}
.v2-body .v2-strip-item:last-child { border-right: none; }
.v2-body .v2-strip-icon { font-size: 28px; }
.v2-body .v2-strip-text { font-size: 13px; line-height: 1.3; color: var(--v2-text-soft); }
.v2-body .v2-strip-text strong {
    color: var(--v2-black);
    font-size: 13px;
    letter-spacing: .02em;
    font-weight: 800;
    display: block;
}

/* ============== Sections ============== */
.v2-body .v2-section {
    padding: 40px 0;
}
.v2-body .v2-section-yellow {
    background: var(--v2-bg-soft);
}
.v2-body .v2-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.v2-body .v2-section-title {
    font-size: clamp(20px, 2.4vw, 26px);
    margin: 0;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .02em;
}
.v2-body .v2-section-title-xl { font-size: clamp(26px, 3vw, 36px); }
.v2-body .v2-section-sub {
    background: var(--v2-yellow);
    color: #fff;
    padding: 4px 10px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .06em;
    border-radius: 2px;
    text-transform: uppercase;
}
.v2-body .v2-section-link {
    color: var(--v2-text);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .02em;
    border-bottom: 1px solid var(--v2-text);
}
.v2-body .v2-section-link:hover { color: var(--v2-yellow); border-color: var(--v2-yellow); }

/* ============== Grid de productos (denso, 5-6 cols como SHEIN) ============== */
.v2-body .v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px 8px;
}

/* ============== Categorías (estilo SHEIN: círculos + label debajo) ==============
   Uso flex en vez de grid para que cuando hay pocas categorías se centren
   automáticamente (auto-fill grid mantiene tracks vacíos). */
.v2-body .v2-cat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 12px;
}
.v2-body .v2-cat-tile { width: 130px; }
.v2-body .v2-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: var(--v2-text);
}
.v2-body .v2-cat-tile:hover { color: var(--v2-text); }
.v2-body .v2-cat-circle {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--v2-bg-image);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .25s ease, box-shadow .25s ease;
}
.v2-body .v2-cat-tile:hover .v2-cat-circle {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
}
.v2-body .v2-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v2-body .v2-cat-circle-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.v2-body .v2-cat-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--v2-text);
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* SHEIN no cambia el color del texto en hover. El feedback visual va en el círculo. */
.v2-body .v2-cat-tile:hover .v2-cat-label { color: var(--v2-text); }

@media (max-width: 540px) {
    .v2-body .v2-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
    .v2-body .v2-cat-circle { width: 84px; height: 84px; }
}

/* ============== CTA band ============== */
.v2-body .v2-cta-band {
    background: var(--v2-black);
    color: #fff;
    padding: 36px 0;
}
.v2-body .v2-cta-band-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.v2-body .v2-cta-title {
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.v2-body .v2-cta-sub {
    color: rgba(255,255,255,.75);
    margin: 0;
    font-size: 14px;
}

/* ============== Botones ============== */
.v2-body .v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.v2-body .v2-btn-xl {
    font-size: 14px;
    padding: 14px 32px;
}
/* !important porque los resets scoped (.v2-body .v2-cart-page a) tienen mayor
   specificity que .v2-body .v2-btn-primary y pisaban el color blanco. */
.v2-body .v2-btn-primary,
.v2-body .v2-cart-page .v2-btn-primary,
.v2-body .v2-cart-drawer .v2-btn-primary,
.v2-body .v2-section .v2-btn-primary,
.v2-body .v2-detail-section .v2-btn-primary {
    background: var(--v2-black) !important;
    color: #fff !important;
}
.v2-body .v2-btn-primary:hover,
.v2-body .v2-cart-page .v2-btn-primary:hover,
.v2-body .v2-cart-drawer .v2-btn-primary:hover,
.v2-body .v2-section .v2-btn-primary:hover,
.v2-body .v2-detail-section .v2-btn-primary:hover { background: var(--v2-red-dark) !important; color: #fff !important; }
/* Outline negro por default (funciona sobre fondo claro). Override a blanco
   solo sobre el hero (que es negro). */
.v2-body .v2-btn-ghost {
    background: transparent;
    color: var(--v2-black);
    border-color: var(--v2-black);
}
.v2-body .v2-btn-ghost:hover { background: var(--v2-black); color: #fff; }
/* Override en cart/drawer/section por specificity de los resets de <a> */
.v2-body .v2-cart-page .v2-btn-ghost,
.v2-body .v2-cart-drawer .v2-btn-ghost,
.v2-body .v2-section .v2-btn-ghost,
.v2-body .v2-detail-section .v2-btn-ghost {
    background: transparent !important;
    color: var(--v2-black) !important;
    border-color: var(--v2-black) !important;
}
.v2-body .v2-cart-page .v2-btn-ghost:hover,
.v2-body .v2-cart-drawer .v2-btn-ghost:hover,
.v2-body .v2-section .v2-btn-ghost:hover,
.v2-body .v2-detail-section .v2-btn-ghost:hover {
    background: var(--v2-black) !important;
    color: #fff !important;
}
.v2-body .v2-hero .v2-btn-ghost {
    color: #fff !important;
    border-color: #fff !important;
}
.v2-body .v2-hero .v2-btn-ghost:hover { background: #fff !important; color: var(--v2-black) !important; }
.v2-body .v2-btn-disabled {
    background: var(--v2-bg-soft);
    color: var(--v2-text-faint);
    cursor: not-allowed;
}
.v2-body .v2-btn-whatsapp {
    background: #25D366;
    color: #fff;
}
.v2-body .v2-btn-whatsapp:hover { background: #1ea954; color: #fff; }

/* ============== Footer ============== */
.v2-body .v2-footer {
    background: var(--v2-black);
    color: #ccc;
    padding: 48px 0 16px;
    margin-top: 48px;
}
.v2-body .v2-footer a { color: #ccc; }
.v2-body .v2-footer a:hover { color: #fff; }
.v2-body .v2-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.v2-body .v2-footer-title {
    color: #fff;
    font-size: 13px;
    letter-spacing: .12em;
    margin: 0 0 12px;
    text-transform: uppercase;
    font-weight: 800;
}
.v2-body .v2-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}
.v2-body .v2-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 16px;
    display: flex;
    justify-content: center;
    font-size: 12px;
    color: #777;
}

.v2-body .v2-footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
}
.v2-body .v2-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background .12s ease, color .12s ease;
}
.v2-body .v2-footer-social a:hover {
    background: var(--v2-yellow);
    color: #fff;
}
.v2-body .v2-footer-newsletter {
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
    margin: 8px 0 0;
}
.v2-body .v2-footer-newsletter a { color: var(--v2-yellow); }

.v2-body .v2-newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
    transition: border-color .12s ease;
}
.v2-body .v2-newsletter-form:focus-within { border-color: rgba(255,255,255,.4); }
.v2-body .v2-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    padding: 6px 8px 6px 0;
    outline: none;
    min-width: 0;
}
.v2-body .v2-newsletter-input::placeholder { color: #888; }
.v2-body .v2-newsletter-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--v2-yellow);
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .12s ease;
}
.v2-body .v2-newsletter-btn:hover { background: #fff; color: var(--v2-yellow); }
.v2-body .v2-newsletter-btn:disabled { opacity: .5; cursor: wait; }
.v2-body .v2-newsletter-msg {
    font-size: 12px;
    margin-top: 8px;
    color: #aaa;
    min-height: 1em;
}
.v2-body .v2-newsletter-msg.is-ok { color: #82E0AA; }
.v2-body .v2-newsletter-msg.is-error { color: #FF8C8C; }

/* ============== Listing layout (sidebar + main) ============== */
.v2-body .v2-listing-section { padding: 16px 0 48px; }
.v2-body .v2-listing-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}
.v2-body .v2-sidebar {
    position: sticky;
    top: 110px;
    background: var(--v2-bg);
}
.v2-body .v2-sidebar-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--v2-black);
    font-weight: 800;
}
.v2-body .v2-sidebar-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--v2-border);
    font-size: 13px;
}
.v2-body .v2-sidebar-total-label {
    color: var(--v2-text-soft);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em;
}
.v2-body .v2-sidebar-total-num {
    color: var(--v2-text-soft);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
}
.v2-body .v2-filter-group {
    border-bottom: 1px solid var(--v2-border);
    padding: 12px 0;
}
.v2-body .v2-filter-group summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--v2-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}
.v2-body .v2-filter-group summary::-webkit-details-marker { display: none; }
.v2-body .v2-filter-group summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}
.v2-body .v2-filter-group[open] summary::after { content: "−"; }
.v2-body .v2-filter-list {
    list-style: none;
    padding: 8px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.v2-body .v2-filter-link {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    font-size: 12px;
    color: var(--v2-text);
    border-radius: var(--v2-radius);
    transition: background .12s ease;
}
.v2-body .v2-filter-link:hover { background: var(--v2-bg-soft); color: var(--v2-yellow); }
.v2-body .v2-filter-count {
    color: var(--v2-text-faint);
    font-size: 11px;
}
.v2-body .v2-filter-chip {
    display: block;
    padding: 6px 12px;
    border: 1px solid var(--v2-border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--v2-text);
    margin-bottom: 4px;
    transition: border-color .12s ease, background .12s ease;
}
.v2-body .v2-filter-chip:hover { border-color: var(--v2-black); }
.v2-body .v2-filter-chip.is-active {
    background: var(--v2-black);
    color: #fff;
    border-color: var(--v2-black);
    font-weight: 700;
}
.v2-body .v2-filter-help {
    font-size: 12px;
    color: var(--v2-text-soft);
    line-height: 1.5;
    padding: 4px 0;
}
.v2-body .v2-filter-help strong { color: var(--v2-yellow); }

/* Toolbar arriba del grid (h1 + sort) */
.v2-body .v2-listing-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.v2-body .v2-listing-h1 {
    font-size: clamp(20px, 2.4vw, 26px);
    margin: 0;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .02em;
}
.v2-body .v2-listing-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}
.v2-body .v2-sort-form {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--v2-text-soft);
}
.v2-body .v2-sort-label { color: var(--v2-text-soft); }
.v2-body .v2-sort-select {
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-radius);
    padding: 6px 28px 6px 12px;
    font-size: 13px;
    background: #fff
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23000' d='M0 0l5 6 5-6z'/></svg>")
        no-repeat right 10px center;
    appearance: none;
    color: var(--v2-text);
    cursor: pointer;
    font-weight: 600;
}
.v2-body .v2-sort-select:focus { outline: none; border-color: var(--v2-black); }

/* Listing-head viejo (mantengo por compatibilidad con cart/category sin sidebar) */
.v2-body .v2-listing-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--v2-border);
}
.v2-body .v2-listing-count {
    font-weight: 600;
    color: var(--v2-text-soft);
    font-size: 13px;
}
.v2-body .v2-empty {
    text-align: center;
    padding: 64px 16px;
    color: var(--v2-text-soft);
}
.v2-body .v2-empty h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--v2-black);
}
.v2-body .v2-empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.v2-body .v2-empty-msg {
    text-align: center;
    font-size: 16px;
    color: var(--v2-text-soft);
    margin-bottom: 0;
}
.v2-body .v2-empty-page {
    padding: 80px 0;
    text-align: center;
}
.v2-body .v2-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.v2-body .v2-page-btn {
    background: var(--v2-bg);
    color: var(--v2-black) !important;
    border: 1px solid var(--v2-border);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}
.v2-body .v2-page-btn:hover {
    background: var(--v2-black);
    color: #fff !important;
    border-color: var(--v2-black);
}
.v2-body .v2-page-info {
    font-weight: 700;
    color: var(--v2-text-soft);
    font-size: 13px;
}

/* ============== Breadcrumbs ============== */
.v2-body .v2-breadcrumbs {
    font-size: 12px;
    color: var(--v2-text-soft);
    margin-bottom: 12px;
}
.v2-body .v2-breadcrumbs a:hover { color: var(--v2-black); }

/* ============== Responsive ============== */
@media (max-width: 900px) {
    .v2-body .v2-header-inner {
        grid-template-columns: auto auto;
        grid-template-areas: "logo cart" "search search";
        gap: 12px;
    }
    .v2-body .v2-logo { grid-area: logo; }
    .v2-body .v2-cart-btn { grid-area: cart; }
    .v2-body .v2-search { grid-area: search; max-width: none; }
    .v2-body .v2-hero-inner { grid-template-columns: 1fr; }
    .v2-body .v2-hero-stack { justify-content: flex-start; }
    .v2-body .v2-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .v2-body .v2-strip-item:nth-child(2) { border-right: none; }
    .v2-body .v2-cta-band-inner { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 900px) {
    .v2-body .v2-listing-layout { grid-template-columns: 1fr; }
    .v2-body .v2-sidebar { position: static; }
}

@media (max-width: 540px) {
    .v2-body .v2-grid { grid-template-columns: repeat(2, 1fr); gap: 8px 6px; }
    .v2-body .v2-section { padding: 28px 0; }
    .v2-body .v2-hero { padding: 32px 0; }
    .v2-body .v2-strip-grid { grid-template-columns: 1fr; }
    .v2-body .v2-strip-item { border-right: none; padding-right: 0; }
    .v2-body .v2-footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
    .v2-body .v2-header-row1 {
        grid-template-columns: auto auto;
        grid-template-areas: "logo icons" "search search";
        gap: 10px;
    }
    .v2-body .v2-logo { grid-area: logo; }
    .v2-body .v2-header-icons { grid-area: icons; }
    .v2-body .v2-search { grid-area: search; max-width: none; }
}
