/* =====================================================================
   PORTADA ESTILO TIENDA EN LÍNEA GRANDE (29-11-2026) — capa encima de remodelacion.css
   ---------------------------------------------------------------------
   Flyers con fotos IA (PC y celular), bolitas de categorías con fotos en
   fondo blanco, "Los más vendidos", segmentos con banner de promoción y
   filtros de tipo con foto. Lo arma inicio.js. Para volver a la portada
   del 22-11 basta con quitar el <link> de index.html.
   ===================================================================== */

/* ── 1. Flyers ─────────────────────────────────────────────────────── */
.vx-flyers { display: none; }
body.vx-modo-inicio .vx-flyers { display: block; }
body.vx-con-flyers .vx-hero { display: none !important; }
body.vx-buscando .vx-flyers,
body.vx-vista-marca .vx-flyers { display: none !important; }

.vx-flyers {
    position: relative;
    margin: 16px 0 0;
    border-radius: var(--vx-radio-lg, 18px);
    overflow: hidden;
    background: var(--vx-tinta, #0B0B0C);
    isolation: isolate;
}
.vx-flyers-pista {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.vx-flyers-pista::-webkit-scrollbar { display: none; }
.vx-flyer {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 12 / 5;         /* foto de 1536 x 1024 recortada con object-position (foco) */
    max-height: 540px;
    scroll-snap-align: start;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.vx-flyer picture,
.vx-flyer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* La foto llena todo el slide; el encuadre de cada una sale de portada-fotos.js (foco) */
.vx-flyer img { object-fit: cover; object-position: var(--foco, center center); }
/* Velo oscuro solo detrás del texto: el resto de la foto se ve tal cual */
.vx-flyer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 9, 10, .8) 0%, rgba(8, 9, 10, .62) 30%, rgba(8, 9, 10, .25) 48%, rgba(8, 9, 10, 0) 62%);
    pointer-events: none;
}
.vx-flyer-der::after { background: linear-gradient(270deg, rgba(8, 9, 10, .8) 0%, rgba(8, 9, 10, .62) 30%, rgba(8, 9, 10, .25) 48%, rgba(8, 9, 10, 0) 62%); }
.vx-flyer-texto {
    position: absolute;
    z-index: 1;
    left: clamp(24px, 4.6vw, 64px);
    top: 50%;
    transform: translateY(-50%);
    max-width: min(46%, 520px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.vx-flyer-der .vx-flyer-texto { left: auto; right: clamp(24px, 4.6vw, 64px); }
.vx-flyer-ceja {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--vx-verde-vivo, #1FC46F);
    margin-bottom: 12px;
}
.vx-flyer-titulo {
    font-family: var(--vx-titular, 'Archivo', sans-serif);
    font-size: clamp(2rem, 3.9vw, 3.5rem);
    font-weight: 800;
    font-variation-settings: 'wdth' 70;
    font-stretch: 70%;
    line-height: .94;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.vx-flyer-titulo em { font-style: normal; display: block; color: var(--vx-verde-vivo, #1FC46F); }
.vx-flyer-sub {
    margin-top: 14px;
    max-width: 40ch;
    font-size: 1rem;
    line-height: 1.5;
    color: #E4E6EA;
    text-wrap: pretty;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.vx-flyer-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.vx-flyer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--vx-tinta, #0B0B0C);
    font-size: .92rem;
    font-weight: 700;
    transition: transform .16s ease;
}
.vx-flyer-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.vx-flyer:hover .vx-flyer-btn svg { transform: translateX(3px); }
.vx-flyer:active .vx-flyer-btn { transform: scale(.97); }
.vx-flyer-promo {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--vx-verde-vivo, #1FC46F);
    color: var(--vx-tinta, #0B0B0C);
    font-size: .9rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.vx-flyer-promo[hidden] { display: none; }
.vx-flyer:focus-visible { outline: 3px solid var(--vx-verde-vivo, #1FC46F); outline-offset: -3px; }

.vx-flyers-flecha {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .92);
    color: var(--vx-tinta, #0B0B0C);
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, transform .16s ease;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
}
.vx-flyers-flecha svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vx-flyers-flecha.izq { left: 14px; }
.vx-flyers-flecha.der { right: 14px; }
.vx-flyers:hover .vx-flyers-flecha,
.vx-flyers-flecha:focus-visible { opacity: 1; }
.vx-flyers-flecha:active { transform: scale(.94); }
.vx-flyers-puntos {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 0;
    pointer-events: none;
}
.vx-flyers-puntos button {
    pointer-events: auto;
    position: relative;
    width: 20px;
    height: 16px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
/* El punto se estira con transform (no con width): no mueve el resto */
.vx-flyers-puntos button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    transform: scaleX(.4);
    transition: transform .25s ease, background-color .25s ease;
}
.vx-flyers-puntos button[aria-selected="true"]::before { transform: scaleX(1); background: #fff; }

/* Franja de confianza bajo los flyers */
.vx-confianza { display: none; }
body.vx-modo-inicio.vx-con-flyers .vx-confianza { display: grid; }
body.vx-buscando .vx-confianza { display: none !important; }
.vx-confianza {
    list-style: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 12px 0 0;
    padding: 14px 20px;
    border-radius: var(--vx-radio-lg, 18px);
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 11, 12, .05);
}
.vx-confianza li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: .74rem; line-height: 1.3; color: var(--vx-gris, #6B7078); }
.vx-confianza strong { display: block; font-size: .82rem; color: var(--vx-texto, #16171A); }
.vx-confianza svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--vx-verde-osc, #0E8A4A); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 699px) {
    .vx-flyers { margin: 0; border-radius: 0; }
    /* Celular: foto vertical que llena el slide (producto arriba) y el texto
       abajo, con velo oscuro solo detrás de las letras. */
    .vx-flyer { aspect-ratio: 4 / 5; max-height: none; background: #08090A; }
    .vx-flyer img { object-position: var(--foco-cel, center top); }
    .vx-flyer::after,
    .vx-flyer-der::after { background: linear-gradient(0deg, rgba(8, 9, 10, .9) 0%, rgba(8, 9, 10, .72) 28%, rgba(8, 9, 10, .3) 48%, rgba(8, 9, 10, 0) 62%); }
    .vx-flyer-texto,
    .vx-flyer-der .vx-flyer-texto {
        left: 18px;
        right: 18px;
        top: auto;
        bottom: 34px;
        transform: none;
        max-width: none;
    }
    .vx-flyer-ceja { font-size: .64rem; margin-bottom: 8px; }
    .vx-flyer-titulo { font-size: clamp(1.9rem, 9.4vw, 2.6rem); }
    /* En celular el texto va corto (sin subtítulo) para no tapar el producto */
    .vx-flyer-sub { display: none; }
    .vx-flyer-acciones { margin-top: 14px; gap: 8px; }
    .vx-flyer-btn { height: 40px; padding: 0 16px; font-size: .84rem; }
    .vx-flyer-promo { height: 30px; font-size: .82rem; }
    .vx-flyers-flecha { display: none; }
    .vx-flyers-puntos { bottom: 12px; }
    .vx-confianza {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
        margin: 0;
        padding: 14px;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid var(--vx-linea, #E6E6E3);
    }
    .vx-confianza li { align-items: flex-start; font-size: .68rem; gap: 8px; }
    .vx-confianza strong { font-size: .76rem; }
    .vx-confianza svg { width: 20px; height: 20px; }
}

/* ── 2. Bolitas de categorías (ahora también en PC) ────────────────── */
.vx-ini-cats {
    margin: 16px 0 0;
    padding: 18px 20px 16px;
    border-radius: var(--vx-radio-lg, 18px);
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 11, 12, .05);
}
.vx-ini-cats-tit {
    margin: 0 0 14px;
    font-family: var(--vx-titular, 'Archivo', sans-serif);
    font-size: 1.22rem;
    font-weight: 800;
    font-variation-settings: 'wdth' 78;
    font-stretch: 78%;
    text-transform: uppercase;
    color: var(--vx-texto, #16171A);
}
/* Una sola fila que se desliza de lado, con flechas (como las filas de productos) */
.vx-ini-cats .vx-ini-carril { padding: 0; }
.vx-ini-cats .vx-ini-accesos {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 112px;
    gap: 4px;
    padding: 4px 2px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.vx-ini-cats .vx-ini-accesos::-webkit-scrollbar { display: none; }
.vx-ini-cats .vx-ini-acceso { scroll-snap-align: start; }
.vx-ini-cats .vx-ini-flecha { top: 32%; }
.vx-ini-cats .vx-ini-flecha.izq { left: -6px; }
.vx-ini-cats .vx-ini-flecha.der { right: -6px; }
.vx-ini-cats .vx-ini-acceso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--vx-texto, #16171A);
    cursor: pointer;
}
.vx-ini-cats .vx-ini-circulo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #F2F3F1;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease;
}
/* La foto blanca se funde con el gris de la bolita (multiply: el blanco desaparece) */
.vx-ini-cats .vx-ini-circulo img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.vx-ini-cats .vx-ini-acceso:hover .vx-ini-circulo { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--vx-tinta, #0B0B0C); }
.vx-ini-cats .vx-ini-acceso:active .vx-ini-circulo { transform: scale(.95); }
.vx-ini-cats .vx-ini-acceso:focus-visible { outline: none; }
.vx-ini-cats .vx-ini-acceso:focus-visible .vx-ini-circulo { box-shadow: 0 0 0 3px var(--vx-verde-vivo, #1FC46F); }
.vx-ini-cats .vx-ini-acceso-txt { font-size: .8rem; font-weight: 600; line-height: 1.2; text-align: center; }
.vx-ini-cats .vx-ini-acceso-ofertas .vx-ini-circulo { background: #E3F7EC; box-shadow: 0 0 0 2px var(--vx-verde-vivo, #1FC46F); }
.vx-ini-cats .vx-ini-acceso-ofertas .vx-ini-acceso-txt { color: var(--vx-verde-osc, #0E8A4A); }

@media (max-width: 699px) {
    .vx-ini-cats { margin: 0; padding: 14px 0 10px; border-radius: 0; box-shadow: none; }
    .vx-ini-cats-tit { margin: 0 14px 10px; font-size: 1.05rem; }
    .vx-ini-cats .vx-ini-accesos { grid-auto-columns: 78px; gap: 2px; padding: 0 8px 4px; }
    .vx-ini-cats .vx-ini-acceso { gap: 6px; }
    .vx-ini-cats .vx-ini-flecha { top: 22px; }
    .vx-ini-cats .vx-ini-flecha.izq { left: 4px; }
    .vx-ini-cats .vx-ini-flecha.der { right: 4px; }
    .vx-ini-cats .vx-ini-circulo { width: 64px; height: 64px; }
    .vx-ini-cats .vx-ini-acceso-txt { font-size: .7rem; }
}

/* ── 3. Fotos en fondo blanco dentro de las tarjetas ───────────────── */
/* La foto ya trae su blanco: el gris de la caja la hacía ver como un recuadro */
.vx-ini-foto,
.vx-dest-foto { background: #fff; }
.vx-ini-foto img,
.vx-dest-foto img { mix-blend-mode: multiply; }

/* ── 4. Los más vendidos ───────────────────────────────────────────── */
.vx-ini-cab h2 small {
    font-family: inherit;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--vx-gris, #6B7078);
    margin-left: 6px;
}
.vx-top .vx-ini-foto { overflow: visible; }
.vx-top-n {
    position: absolute;
    z-index: 1;
    left: -2px;
    bottom: -6px;
    font-family: var(--vx-titular, 'Archivo', sans-serif);
    font-size: 3.4rem;
    font-weight: 900;
    font-variation-settings: 'wdth' 70;
    font-stretch: 70%;
    line-height: 1;
    color: #fff;
    -webkit-text-stroke: 2px var(--vx-tinta, #0B0B0C);
    paint-order: stroke fill;
    text-shadow: 3px 3px 0 var(--vx-verde-vivo, #1FC46F);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
.vx-top-etq {
    align-self: flex-start;
    padding: 2px 7px;
    border-radius: 4px;
    background: #FF7733;
    color: #fff;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ── 5. Segmentos con banner de promoción ──────────────────────────── */
.vx-seg {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 0;
    margin: 16px 0;
    border-radius: var(--vx-radio-lg, 18px);
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 11, 12, .05);
    overflow: hidden;
}
.vx-seg-banner {
    position: relative;
    display: block;
    min-height: 330px;
    margin: 0;
    padding: 0;
    border: none;
    background: var(--seg, #EEF1F4);
    color: var(--vx-texto, #16171A);
    text-align: left;
    font: inherit;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
}
.vx-seg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.vx-seg-banner:hover .vx-seg-img { transform: scale(1.04); }
.vx-seg-con-foto .vx-seg-banner { color: #fff; }
.vx-seg-con-foto .vx-seg-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 9, 10, .85) 0%, rgba(8, 9, 10, .45) 42%, rgba(8, 9, 10, 0) 70%);
}
/* Sin foto IA: tres productos en blanco fundidos sobre el color del segmento */
/* El z-index crea una capa aparte: sin su propio fondo, el multiply se mezcla
   con transparente y el blanco de las fotos se ve como un cuadro. */
.vx-seg-collage { position: absolute; inset: 0 0 42%; z-index: -1; background: var(--seg, #EEF1F4); }
.vx-seg-collage img { position: absolute; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.vx-seg-c1 { width: 62%; height: 62%; left: 19%; top: 14%; z-index: 2; }
.vx-seg-c2 { width: 42%; height: 42%; left: 2%; top: 44%; transform: rotate(-8deg); }
.vx-seg-c3 { width: 42%; height: 42%; right: 2%; top: 44%; transform: rotate(8deg); }
.vx-seg-banner:hover .vx-seg-c1 { transform: translateY(-4px) scale(1.03); }
.vx-seg-txt {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.vx-seg-cat {
    font-family: var(--vx-titular, 'Archivo', sans-serif);
    font-size: 1.7rem;
    font-weight: 800;
    font-variation-settings: 'wdth' 72;
    font-stretch: 72%;
    line-height: 1;
    text-transform: uppercase;
}
.vx-seg-promo {
    margin-top: 6px;
    font-family: var(--vx-titular, 'Archivo', sans-serif);
    font-size: 2.1rem;
    font-weight: 900;
    font-variation-settings: 'wdth' 70;
    font-stretch: 70%;
    line-height: 1;
    color: var(--vx-verde-osc, #0E8A4A);
    font-variant-numeric: tabular-nums;
}
.vx-seg-con-foto .vx-seg-promo { color: var(--vx-verde-vivo, #1FC46F); }
.vx-seg-sub { font-size: .8rem; line-height: 1.35; opacity: .85; }
.vx-seg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--vx-tinta, #0B0B0C);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}
.vx-seg-con-foto .vx-seg-btn { background: #fff; color: var(--vx-tinta, #0B0B0C); }
.vx-seg-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.vx-seg-banner:hover .vx-seg-btn svg { transform: translateX(3px); }
.vx-seg-banner:focus-visible { outline: 3px solid var(--vx-verde-vivo, #1FC46F); outline-offset: -3px; }
.vx-seg-fila { min-width: 0; padding: 14px 0 8px; align-self: center; }
.vx-seg .vx-ini-fila { grid-auto-columns: 190px; }
.vx-seg .vx-ini-flecha.izq { left: 6px; }
.vx-seg .vx-ini-flecha.der { right: 6px; }

@media (max-width: 699px) {
    .vx-seg { grid-template-columns: minmax(0, 1fr); margin: 10px 0; border-radius: 0; box-shadow: none; }
    .vx-seg-banner { min-height: 0; aspect-ratio: 16 / 8; }
    .vx-seg-collage { inset: 6% 0 6% 46%; }
    .vx-seg-c1 { width: 70%; height: 70%; left: 15%; top: 15%; }
    .vx-seg-c2, .vx-seg-c3 { display: none; }
    .vx-seg-con-foto .vx-seg-banner::after { background: linear-gradient(90deg, rgba(8, 9, 10, .85) 0%, rgba(8, 9, 10, .5) 45%, rgba(8, 9, 10, 0) 75%); }
    .vx-seg-txt { left: 16px; right: 48%; top: 50%; bottom: auto; transform: translateY(-50%); }
    .vx-seg-con-foto .vx-seg-txt { right: 40%; }
    .vx-seg-cat { font-size: 1.35rem; }
    .vx-seg-promo { font-size: 1.6rem; margin-top: 4px; }
    .vx-seg-sub { font-size: .72rem; }
    .vx-seg-btn { height: 32px; padding: 0 12px; font-size: .74rem; margin-top: 8px; }
    .vx-seg-fila { padding: 8px 0 6px; }
    .vx-seg .vx-ini-fila { grid-auto-columns: 148px; }
}

/* ── 6. Filtros de tipo con foto en fondo blanco ───────────────────── */
.tipo-filter-btn.con-foto {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-left: 5px !important;
}
.tipo-filter-img {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}

/* ── 7. Cabecera: "Categorías" y "Ofertas", como en las tiendas en línea grandes ─────── */
.vx-cats .vx-cats-todas,
.vx-cats .vx-cats-ofertas { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.vx-cats .vx-cats-todas svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.vx-cats .vx-cats-todas[aria-expanded="true"] svg { transform: rotate(180deg); }
.vx-cats .vx-cats-ofertas { color: var(--vx-verde-vivo, #1FC46F) !important; font-weight: 700; }
.vx-cats .vx-cats-sep { flex: none; width: 1px; align-self: center; height: 16px; background: rgba(255, 255, 255, .18); }
.vx-cats-menu {
    position: absolute;
    z-index: 60;
    left: 50%;
    top: 100%;
    width: min(760px, calc(100vw - 32px));
    transform: translateX(-50%);
    margin-top: 6px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px -12px rgba(11, 11, 12, .4), 0 0 0 1px rgba(11, 11, 12, .06);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 6px;
}
.vx-cats-menu[hidden] { display: none; }
.vx-cats-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: none;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: .86rem;
    font-weight: 600;
    color: var(--vx-texto, #16171A);
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease;
}
.vx-cats-menu button:hover,
.vx-cats-menu button:focus-visible { background: #F2F3F1; outline: none; }
.vx-cats-menu img { flex: none; width: 40px; height: 40px; object-fit: contain; mix-blend-mode: multiply; }
.vx-cats-menu small { display: block; font-size: .72rem; font-weight: 500; color: var(--vx-gris, #6B7078); }

@media (prefers-reduced-motion: reduce) {
    .vx-flyers-pista { scroll-behavior: auto; }
    .vx-flyer-btn svg, .vx-seg-img, .vx-seg-collage img, .vx-ini-cats .vx-ini-circulo { transition: none; }
    .vx-seg-banner:hover .vx-seg-img,
    .vx-seg-banner:hover .vx-seg-c1 { transform: none; }
}

/* ── Sello "Recomendado por Tío Vicius" (29-11-2026) ─────────────────────
   Lo pone el admin a mano (botón "Tío Vicius" de cada tarjeta). Va abajo a
   la izquierda de la foto: arriba están los botones del admin y abajo a la
   derecha el de compartir. */
.vx-sello-tio {
    position: absolute; left: 6px; bottom: 6px; z-index: 5;
    width: 27%; max-width: 78px; min-width: 46px; height: auto; aspect-ratio: 1;
    pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.22));
}
.vx-sello-tio.mini { width: 30%; max-width: 64px; min-width: 40px; left: 4px; bottom: 4px; }
.vx-sello-tio.ficha { width: 22%; max-width: 132px; left: 12px; bottom: 12px; }

/* Botones del admin al pie de la tarjeta: sello y ocultar */
body .vx-admin-acciones { order: 30; gap: 6px; align-items: center; margin-top: 8px; }
body .vx-admin-acciones .hide-product-btn { width: auto; margin: 0 0 0 auto; }
.vx-tio-btn {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 3px;
    border: 1px solid var(--vx-linea, #E2E2DF); border-radius: 999px; background: #fff;
    font: 600 .72rem/1 inherit; color: var(--vx-texto, #1A1A1A); cursor: pointer;
}
.vx-tio-btn img { width: 22px; height: 22px; filter: grayscale(1) opacity(.55); transition: filter .15s; }
.vx-tio-btn.activo { background: #E8F7EE; border-color: #16A34A; color: #0F6B35; }
.vx-tio-btn.activo img { filter: none; }
.vx-tio-btn:disabled { opacity: .6; cursor: wait; }

/* Fila "Recomendados por Tío Vicius" del inicio */
.vx-tio-sec .vx-ini-cab h2::before {
    content: ''; display: inline-block; width: 34px; height: 34px; margin-right: 8px; vertical-align: -10px;
    background: url('imagenes/marca/sello-tio-vicius.webp') center / contain no-repeat;
}

/* ── Vitrina comercial (29-11-2026) ───────────────────────────────────────
   Como en las tiendas por departamentos: panel de campaña + 3 tarjetas con
   foto, chips con datos, marca, nombre y el precio en recuadro rojo. Va
   encima de las reglas de .vx-flyers de arriba (mismo lugar en la página). */
body.vx-modo-inicio .vx-fb { display: grid; }
.vx-fb {
    grid-template-columns: minmax(230px, 1fr) 3fr;
    height: clamp(400px, 34vw, 480px);
    background: #0B0B0C;
}
.vx-fb-campana {
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    gap: 12px; padding: 28px 22px; color: #fff;
    background: radial-gradient(120% 80% at 50% 0%, #1A1D1B 0%, #0B0B0C 70%);
}
.vx-fb-ceja { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.vx-fb-titulo { margin: 0; display: flex; flex-direction: column; align-items: center; line-height: .9; }
.vx-fb-titulo span {
    font-size: clamp(2.1rem, 3.3vw, 3.3rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em;
    color: #22C55E;
}
.vx-fb-titulo em {
    font-style: normal; font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
    color: #22C55E; margin-top: 4px;
}
.vx-fb-bf .vx-fb-titulo span, .vx-fb-bf .vx-fb-titulo em { color: #22C55E; font-size: clamp(2.1rem, 3.5vw, 3.5rem); font-weight: 900; margin: 0; }
.vx-fb-linea { position: relative; width: 70%; height: 1px; background: rgba(255,255,255,.35); margin: 4px 0; }
.vx-fb-linea i { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; background: #22C55E; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 5px #0B0B0C; }
.vx-fb-tema { font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.vx-fb-reloj { display: flex; align-items: baseline; gap: 3px; font-variant-numeric: tabular-nums; }
.vx-fb-reloj[hidden] { display: none; }
.vx-fb-reloj small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-right: 6px; }
.vx-fb-reloj b { font-size: 1.35rem; font-weight: 800; background: rgba(255,255,255,.1); border-radius: 6px; padding: 2px 6px; }
.vx-fb-reloj i { font-style: normal; color: rgba(255,255,255,.5); }
.vx-fb-vertodo {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
    border: 0; border-radius: 999px; background: #fff; color: #0B0B0C; cursor: pointer;
    font: 800 .95rem/1 inherit; text-transform: uppercase; padding: 6px 6px 6px 20px;
}
.vx-fb-vertodo svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1.5px solid #0B0B0C; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vx-fb-vertodo:hover svg { background: #0B0B0C; stroke: #fff; }

.vx-fb-pista { display: grid; grid-template-columns: repeat(3, 1fr); min-width: 0; }
.vx-fb-tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; border-left: 1px solid rgba(255,255,255,.08); }
.vx-fb-tile[hidden] { display: none; }
.vx-fb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.vx-fb-tile:hover img { transform: scale(1.04); }
.vx-fb-tile::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, rgba(8,9,10,.92) 0%, rgba(8,9,10,.7) 22%, rgba(8,9,10,0) 48%),
                linear-gradient(180deg, rgba(8,9,10,.35) 0%, rgba(8,9,10,0) 18%);
}
.vx-fb-chips { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.vx-fb-chips span {
    display: inline-flex; align-items: center; gap: 4px; background: #fff; color: #0B0B0C;
    border-radius: 999px; padding: 4px 9px 4px 6px; font-size: .72rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.vx-fb-chips svg { width: 14px; height: 14px; fill: none; stroke: #16A34A; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vx-fb-info { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.vx-fb-marca { font-size: 1.05rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.vx-fb-nombre { font-size: .98rem; font-weight: 500; margin-bottom: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.vx-fb-precio { display: flex; align-items: stretch; }
.vx-fb-precio[hidden] { display: none; }
.vx-fb-rojo {
    position: relative; display: flex; flex-direction: column; justify-content: center;
    background: #E4002B; color: #fff; padding: 6px 12px 5px; border-radius: 4px 0 0 4px;
}
.vx-fb-rojo b { font-size: clamp(1.3rem, 2.1vw, 1.95rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.vx-fb-rojo small { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .9; margin-top: 2px; }
.vx-fb-rojo i {
    position: absolute; top: -11px; left: -6px; font-style: normal; background: #FFD400; color: #0B0B0C;
    font-size: .72rem; font-weight: 900; padding: 2px 6px; border-radius: 4px; transform: rotate(-6deg);
}
.vx-fb-lado {
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    background: #fff; color: #0B0B0C; padding: 5px 10px; border-radius: 0 4px 4px 0; font-size: .74rem; font-weight: 600;
}
.vx-fb-lado s { color: #6C7078; }
.vx-fb-puntos { display: none; }

@media (max-width: 899px) {
    .vx-fb { grid-template-columns: 1fr; height: auto; }
    .vx-fb-campana {
        flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left;
        gap: 4px 12px; padding: 14px 16px;
    }
    .vx-fb-ceja, .vx-fb-linea { display: none; }
    .vx-fb-titulo { flex-direction: row; align-items: baseline; gap: 8px; }
    .vx-fb-titulo span, .vx-fb-bf .vx-fb-titulo span, .vx-fb-bf .vx-fb-titulo em { font-size: 1.7rem; }
    .vx-fb-titulo em { font-size: 1rem; margin: 0; }
    .vx-fb-tema { font-size: .78rem; letter-spacing: .16em; width: 100%; order: 3; color: rgba(255,255,255,.75); }
    .vx-fb-reloj { order: 4; width: 100%; }
    .vx-fb-reloj b { font-size: 1.05rem; }
    .vx-fb-vertodo { margin: 0; font-size: .78rem; padding: 4px 4px 4px 14px; }
    .vx-fb-vertodo svg { width: 28px; height: 28px; padding: 6px; }
    .vx-fb-pista {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        gap: 8px; padding: 0 12px 12px; overscroll-behavior-x: contain;
    }
    .vx-fb-pista::-webkit-scrollbar { display: none; }
    .vx-fb-tile { flex: 0 0 min(82%, 340px); aspect-ratio: 4 / 5; border-radius: 12px; border: 0; scroll-snap-align: center; }
    .vx-fb-puntos { display: flex; justify-content: center; gap: 6px; padding: 0 0 12px; }
    .vx-fb-puntos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background-color .2s; }
    .vx-fb-puntos i.on { width: 20px; border-radius: 4px; background: #22C55E; }
    .vx-fb-puntos i[hidden] { display: none; }
}
@media (min-width: 700px) and (max-width: 899px) {
    .vx-fb-pista { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
    .vx-fb-tile { aspect-ratio: 3 / 4.2; }
    .vx-fb-puntos { display: none; }
    .vx-fb-chips span:nth-child(3) { display: none; }
    .vx-fb-info { left: 10px; right: 10px; bottom: 10px; }
    .vx-fb-rojo { padding: 5px 8px 4px; }
    .vx-fb-rojo b { font-size: 1.15rem; }
    .vx-fb-lado { font-size: .66rem; padding: 4px 7px; }
}

/* Ofertas en rojo en todas las tarjetas, como en la vitrina */
.vx-ini-precio em, .card .price-off { background: #E4002B !important; color: #fff !important; padding: 1px 5px; border-radius: 4px; }

/* ── Vitrina con varios slides (29-11-2026) ───────────────────────────────
   Cada .vx-fb-slide es un panel + 3 tarjetas. En PC pasan de a un slide; en
   celular los slides se "abren" (display: contents) y todo queda en una sola
   fila que se desliza: el panel es una tarjeta oscura más. */
body.vx-modo-inicio .vx-fb { display: block; }
.vx-fb { height: auto; position: relative; }
.vx-fb-slides {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; overscroll-behavior-x: contain;
}
.vx-fb-slides::-webkit-scrollbar { display: none; }
.vx-fb-slide {
    flex: 0 0 100%; display: grid; grid-template-columns: minmax(230px, 1fr) 3fr;
    height: clamp(400px, 34vw, 480px); scroll-snap-align: start; scroll-snap-stop: always;
}
.vx-fb-flecha {
    position: absolute; z-index: 4; top: calc(50% - 40px); width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.94); color: #0B0B0C; cursor: pointer; display: grid; place-items: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.vx-fb-flecha[hidden] { display: none; }
.vx-fb-flecha svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vx-fb-flecha.izq { left: 10px; }
.vx-fb-flecha.der { right: 10px; }
.vx-fb-puntos { display: flex; justify-content: center; gap: 7px; padding: 10px 0 12px; min-height: 8px; }
.vx-fb-puntos:empty { padding: 4px 0; }
.vx-fb-puntos i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); cursor: pointer; transition: background-color .2s; }
.vx-fb-puntos i.on { background: #22C55E; }

/* Tarjetas armadas con la foto en fondo blanco: el blanco se funde con el tono */
.vx-fb-tile-blanco { background: var(--tono, #F1F3F5); color: #0B0B0C; }
.vx-fb-tile-blanco img {
    inset: auto; top: 14%; left: 9%; width: 82%; height: 54%;
    object-fit: contain; mix-blend-mode: multiply;
}
.vx-fb-tile-blanco::after { background: linear-gradient(0deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,0) 30%); }
.vx-fb-tile-blanco .vx-fb-nombre { text-shadow: none; color: #1A1B1E; font-weight: 600; }
.vx-fb-tile-blanco .vx-fb-chips span { box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.vx-fb-tile-blanco .vx-fb-lado { border: 1px solid rgba(0,0,0,.08); border-left: 0; }

/* Panel de "Recomendados por Tío Vicius" con su sello */
.vx-fb-sello { width: 96px; height: 96px; margin-bottom: -2px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.vx-fb-tio .vx-fb-titulo span { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }

@media (max-width: 899px) {
    .vx-fb-slide { grid-template-columns: 1fr; height: auto; }
    .vx-fb-flecha { top: auto; bottom: 46%; }
}
@media (max-width: 699px) {
    .vx-fb-slide, .vx-fb-slide .vx-fb-pista { display: contents; }
    .vx-fb-slides { gap: 8px; padding: 12px 12px 0; scroll-padding: 0 12px; }
    .vx-fb-campana {
        flex: 0 0 60%; aspect-ratio: 4 / 5; border-radius: 12px; scroll-snap-align: start;
        flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: flex-start; text-align: left;
        gap: 8px; padding: 18px 16px;
    }
    .vx-fb-campana .vx-fb-titulo { flex-direction: column; align-items: flex-start; gap: 2px; }
    .vx-fb-campana .vx-fb-titulo span, .vx-fb-bf .vx-fb-titulo span, .vx-fb-bf .vx-fb-titulo em { font-size: 1.9rem; }
    .vx-fb-campana .vx-fb-titulo em { font-size: 1rem; }
    .vx-fb-tio .vx-fb-titulo span { font-size: 1.45rem; }
    .vx-fb-campana .vx-fb-tema { width: auto; order: 0; font-size: .74rem; }
    .vx-fb-campana .vx-fb-reloj { order: 0; width: auto; flex-wrap: wrap; }
    .vx-fb-campana .vx-fb-vertodo { margin-top: 4px; }
    .vx-fb-sello { width: 64px; height: 64px; }
    .vx-fb-tile { flex: 0 0 78%; scroll-snap-align: start; }
    .vx-fb-flecha { display: none; }
}

/* ── Tío Vicius y Pablito atienden aquí (29-11-2026) ─────────────────────── */
.vx-ayuda {
    display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 20px;
    background: #0B0B0C; color: #fff; border-radius: 18px; padding: 22px 28px 0; margin: 28px 0 10px; overflow: hidden;
}
.vx-ayuda-tio { width: 128px; height: auto; display: block; }
.vx-ayuda-pablito { width: 98px; height: auto; display: block; }
.vx-ayuda-texto { align-self: center; padding-bottom: 22px; }
.vx-ayuda h2 { font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -.01em; color: #fff; }
.vx-ayuda p { margin: 0 0 14px; color: rgba(255,255,255,.75); font-size: .95rem; max-width: 520px; }
.vx-ayuda-btn {
    display: inline-flex; align-items: center; gap: 8px; background: #22C55E; color: #0B0B0C;
    font-weight: 800; padding: 11px 18px; border-radius: 999px; text-decoration: none;
}
.vx-ayuda-btn:hover { background: #fff; }
@media (max-width: 600px) {
    .vx-ayuda { grid-template-columns: 1fr auto; padding: 18px 18px 0; gap: 10px; }
    .vx-ayuda-tio { display: none; }
    .vx-ayuda-pablito { width: 78px; }
    .vx-ayuda h2 { font-size: 1.15rem; }
}
