/**
 * home-sheet-sections.css
 * Estilos para las 3 secciones cargadas desde Google Sheets.
 * Diseñadas para verse bien con las paletas de facel-modern (--c-accent).
 */

/* ═══════════════════════════════════════════════════════════════
   HERO desde Sheet — Multi-columnas con hover CTA
   ═══════════════════════════════════════════════════════════════ */
.hero-sheet {
    position: relative;
    margin: 0 auto 32px;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--r-3, 16px);
}

.hero-sheet .hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 520px;
    min-height: 240px;
    overflow: hidden;
    background: var(--c-line-soft);
}

@media (max-width: 680px) {
    .hero-sheet .hero-slider {
        aspect-ratio: 4 / 5;
        max-height: 640px;
    }
}

.hero-sheet .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-cols {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 0;
}
.hero-slide-cols--full  { grid-template-columns: 1fr; }
.hero-slide-cols--col-2 { grid-template-columns: repeat(2, 1fr); }
.hero-slide-cols--col-3 { grid-template-columns: repeat(3, 1fr); }
.hero-slide-cols--col-4 { grid-template-columns: repeat(4, 1fr); }
.hero-slide-cols--col-5 { grid-template-columns: repeat(5, 1fr); }

/* En móvil, los slides multi-columna se apilan verticalmente */
@media (max-width: 680px) {
    .hero-slide-cols--col-2,
    .hero-slide-cols--col-3,
    .hero-slide-cols--col-4,
    .hero-slide-cols--col-5 { grid-template-columns: 1fr; }
    .hero-slide-cols--col-2,
    .hero-slide-cols--col-3,
    .hero-slide-cols--col-4,
    .hero-slide-cols--col-5 { grid-auto-rows: 1fr; }
}
/* En tablet, máximo 3 columnas */
@media (min-width: 681px) and (max-width: 900px) {
    .hero-slide-cols--col-4,
    .hero-slide-cols--col-5 { grid-template-columns: repeat(3, 1fr); }
}

.hero-col {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: opacity .3s, transform .3s;
    /*border-right: 1px solid rgba(255,255,255,0.1);*/
    cursor: pointer;
}
.hero-col:last-child { border-right: none; }
.hero-col:hover { text-decoration: none; color: #fff; }

/* Efecto hover: la columna activa se realza, las otras se atenúan */
.hero-col--dimmed {
   /* opacity: 0.7;
    filter: brightness(0.8);*/
}
.hero-col--hovered {
    opacity: 1;
    z-index: 3;
}
.hero-col--hovered .hero-col-img img {
    transform: scale(1.06);
}
.hero-col--hovered .hero-col-cta-wrap {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.hero-col--hovered .hero-col-info {
    transform: translateY(-8px);
}

/* En móvil, siempre mostrar CTA sin necesidad de hover */
@media (max-width: 680px) {
    .hero-col-cta-wrap {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

.hero-col-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--c-line-soft);
}
.hero-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

/* Badge esquina superior izquierda */
.hero-col-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F97316;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
@media (min-width: 768px) {
    .hero-col-badge-top { font-size: 11px; padding: 6px 14px; }
}

/* Términos esquina superior derecha */
.hero-col-terms {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 3px 8px;
    border-radius: 100px;
    text-decoration: none;
    z-index: 3;
    backdrop-filter: blur(4px);
}
.hero-col-terms:hover {
    background: rgba(0,0,0,0.75);
    color: #fff;
    text-decoration: none;
}

/* Info bottom con título + subtítulo + precio */
.hero-col-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 2;
    transition: transform .3s ease;
}
.hero-col-title {
    margin: 0 0 4px;
    font-family: var(--f-display, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (min-width: 768px) {
    .hero-col-title { font-size: 15px; }
}
@media (min-width: 1024px) {
    .hero-slide-cols--full .hero-col-title,
    .hero-slide-cols--col-2 .hero-col-title { font-size: 22px; }
    .hero-slide-cols--col-3 .hero-col-title { font-size: 18px; }
}

.hero-col-sub {
    margin: 0 0 8px;
    font-size: 11px;
    opacity: 0.9;
    line-height: 1.3;
    color: #fff;
}
@media (min-width: 768px) {
    .hero-col-sub { font-size: 12px; }
}

/* Precio con badge tarjeta (SIP, etc) */
.hero-col-price-wrap {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    padding: 4px 4px 4px 10px;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hero-col-price {
    color: #0EA5E9;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}
@media (min-width: 1024px) {
    .hero-slide-cols--full .hero-col-price,
    .hero-slide-cols--col-2 .hero-col-price { font-size: 22px; }
    .hero-col-price { font-size: 18px; }
}
.hero-col-price-tag {
    background: #0EA5E9;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
@media (min-width: 768px) {
    .hero-col-price-tag { font-size: 10px; padding: 4px 10px; }
}

/* Botón "Ver producto" flotante que aparece al hover */
.hero-col-cta-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-col-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #F97316;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.2px;
    border-radius: 100px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35), 0 0 0 4px rgba(249,115,22,0.25);
    white-space: nowrap;
}
@media (min-width: 768px) {
    .hero-col-cta { font-size: 14px; padding: 14px 24px; }
}
.hero-col-cta svg {
    width: 14px;
    height: 14px;
}

/* Flechas de navegación (prev/next) */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--c-ink);
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hero-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}
.hero-nav--prev { left: 12px; }
.hero-nav--next { right: 12px; }
@media (max-width: 680px) {
    .hero-nav { width: 32px; height: 32px; }
    .hero-nav--prev { left: 6px; }
    .hero-nav--next { right: 6px; }
}

/* Dots */
.hero-sheet .hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    background: rgba(0,0,0,0.35);
    padding: 6px 10px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
}
.hero-sheet .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: all .2s;
}
.hero-sheet .hero-dot.is-active {
    background: #fff;
    width: 24px;
}
.hero-sheet .hero-dot:hover { background: rgba(255,255,255,0.8); }

.hero-fade-enter { animation: hero-fade-in .5s ease-in-out; }
.hero-fade-leave { animation: hero-fade-out .5s ease-in-out; }
@keyframes hero-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-fade-out { from { opacity: 1; } to { opacity: 0; } }

/* ═══════════════════════════════════════════════════════════════
   CATEGORÍAS desde Sheet
   ═══════════════════════════════════════════════════════════════ */
.cat-sheet-section {
    padding: 32px 0 20px;
}
.cat-sheet-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.cat-sheet-head {
    text-align: center;
    margin-bottom: 24px;
}
.cat-sheet-title {
    margin: 0 0 4px;
    font-family: var(--f-display, 'Inter', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}
.cat-sheet-sub {
    margin: 0;
    font-size: 13px;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cat-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .cat-sheet-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .cat-sheet-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (min-width: 1200px) {
    .cat-sheet-grid { grid-template-columns: repeat(6, 1fr); }
}

.cat-sheet-card {
    display: block;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-2, 12px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.cat-sheet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px var(--c-accent-l);
    border-color: var(--c-accent);
    text-decoration: none;
}

.cat-sheet-card-img {
    aspect-ratio: 1 / 1;
    background: var(--c-line-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-sheet-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cat-sheet-card-placeholder {
    color: var(--c-muted);
}

.cat-sheet-card-body {
    padding: 10px 12px 12px;
    text-align: center;
}
.cat-sheet-card-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-ink);
    line-height: 1.25;
}
.cat-sheet-card-sub {
    margin: 3px 0 0;
    font-size: 11px;
    color: var(--c-muted);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cat-sheet-card:hover .cat-sheet-card-title { color: var(--c-accent); }

/* ═══════════════════════════════════════════════════════════════
   DESTACADOS desde Sheet
   ═══════════════════════════════════════════════════════════════ */
.dest-sheet-wrapper {
    padding: 20px 0;
}
.dest-sheet-section {
    padding: 24px 0;
}
.dest-sheet-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.dest-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-accent);
}
.dest-sheet-head-text { flex: 1; min-width: 0; }
.dest-sheet-title {
    margin: 0 0 2px;
    font-family: var(--f-display, 'Inter', sans-serif);
    font-size: 20px;
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}
@media (min-width: 768px) {
    .dest-sheet-title { font-size: 24px; }
}
.dest-sheet-sub {
    margin: 0;
    font-size: 13px;
    color: var(--c-muted);
}

.dest-sheet-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--c-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--r-1, 6px);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}
.dest-sheet-cta:hover {
    background: var(--c-accent-d);
    color: #fff;
    text-decoration: none;
}

.dest-sheet-banner {
    display: block;
    margin-bottom: 16px;
    border-radius: var(--r-2, 12px);
    overflow: hidden;
}
.dest-sheet-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s;
}
.dest-sheet-banner:hover img { transform: scale(1.02); }

.dest-sheet-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
    .dest-sheet-grid-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .dest-sheet-grid-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .dest-sheet-grid-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .dest-sheet-grid-grid-6 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (min-width: 1200px) {
    .dest-sheet-grid-grid-6 { grid-template-columns: repeat(6, 1fr); }
}

.dest-sheet-product {
    display: block;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-2, 12px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all .2s;
}
.dest-sheet-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: var(--c-accent);
    text-decoration: none;
    color: inherit;
}

.dest-sheet-product-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--c-accent);
    color: #fff;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 2;
}

.dest-sheet-product-img {
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.dest-sheet-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.dest-sheet-product-body {
    padding: 10px 12px 12px;
    border-top: 1px solid var(--c-line-soft);
}
.dest-sheet-product-name {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--c-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 32px;
}

.dest-sheet-product-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.dest-sheet-product-old {
    color: var(--c-muted);
    text-decoration: line-through;
    font-size: 11px;
}
.dest-sheet-product-price {
    color: var(--c-accent);
    font-weight: 800;
    font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   CINTILLOS desde Sheet (bandas superiores)
   ═══════════════════════════════════════════════════════════════ */
.cintillo-wrapper {
    display: flex;
    flex-direction: column;
}
.cintillo-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    background: var(--c-line-soft);
    transition: opacity .15s;
}
.cintillo-band:hover { opacity: .95; text-decoration: none; color: inherit; }
.cintillo-band--normal { min-height: 40px; }
.cintillo-band--large  { min-height: 80px; }
@media (min-width: 768px) {
    .cintillo-band--normal { min-height: 50px; }
    .cintillo-band--large  { min-height: 100px; }
}
.cintillo-band-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.cintillo-band-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cintillo-band-text {
    position: relative;
    z-index: 2;
    padding: 6px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
}
.cintillo-band-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-ink);
    line-height: 1.25;
}
@media (min-width: 768px) {
    .cintillo-band-title { font-size: 15px; }
    .cintillo-band--large .cintillo-band-title { font-size: 18px; }
}
.cintillo-band-sub {
    font-size: 11px;
    color: var(--c-muted);
    line-height: 1.25;
    margin-top: 2px;
}
@media (min-width: 768px) {
    .cintillo-band-sub { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOSAICO desde Sheet (grupos de banners)
   Cada grupo se renderiza en su propia sección aislada.
   ═══════════════════════════════════════════════════════════════ */
.mosaico-wrapper {
    padding: 12px 0;
    display: block;
    width: 100%;
}
.mosaico-section {
    padding: 12px 0;
    display: block;
    width: 100%;
    clear: both;
}
.mosaico-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}
.mosaico-grid {
    display: grid;
    gap: 12px;
    width: 100%;
}
@media (min-width: 768px) {
    .mosaico-grid { gap: 16px; }
}

/* Layouts: en móvil todos son 1 columna */
.mosaico-grid--col-2,
.mosaico-grid--col-3,
.mosaico-grid--col-4,
.mosaico-grid--full {
    grid-template-columns: 1fr;
}

/* Desktop layouts */
@media (min-width: 640px) {
    .mosaico-grid--col-2 { grid-template-columns: repeat(2, 1fr); }
    .mosaico-grid--col-3 { grid-template-columns: repeat(3, 1fr); }
    .mosaico-grid--col-4 { grid-template-columns: repeat(4, 1fr); }
}

/* hero-side: layout dedicado con 2 contenedores
   BIG a la izquierda + SMALLS apilados a la derecha
   Soporta cualquier cantidad ≥ 2 (loader garantiza el mínimo). */
.mosaico-heroside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}
@media (min-width: 768px) {
    .mosaico-heroside {
        grid-template-columns: 2fr 1fr;
        gap: 16px;
        min-height: 340px;
    }
}
@media (min-width: 1024px) {
    .mosaico-heroside {
        min-height: 400px;
    }
}

/* BIG: banner grande de la izquierda */
.mosaico-heroside-big {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    width: 100%;
}
@media (min-width: 768px) {
    .mosaico-heroside-big {
        aspect-ratio: auto;
        height: 100%;
        min-height: 340px;
    }
}
@media (min-width: 1024px) {
    .mosaico-heroside-big {
        min-height: 400px;
    }
}

/* SMALLS: contenedor flex con banners chicos apilados */
.mosaico-heroside-smalls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
@media (min-width: 768px) {
    .mosaico-heroside-smalls {
        gap: 16px;
        height: 100%;
    }
}

/* Cada banner chico ocupa proporción igual dentro del contenedor */
.mosaico-heroside-small {
    flex: 1 1 0;
    aspect-ratio: 16 / 9;
    min-height: 120px;
    width: 100%;
}
@media (min-width: 768px) {
    .mosaico-heroside-small {
        aspect-ratio: auto;
        min-height: 100px;
    }
}

/* Título del grande más grande que los chicos */
@media (min-width: 768px) {
    .mosaico-heroside-big .mosaico-item-title { font-size: 22px; }
    .mosaico-heroside-big .mosaico-item-overlay { padding: 20px 24px; }
}
@media (min-width: 1024px) {
    .mosaico-heroside-big .mosaico-item-title { font-size: 28px; }
}

.mosaico-item {
    position: relative;
    display: block;
    border-radius: var(--r-2, 12px);
    overflow: hidden;
    /* Fallback visual: gradient sutil si la imagen no carga */
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    aspect-ratio: 16 / 9;
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s;
    min-height: 140px;
}
.mosaico-item::before {
    /* Icono de placeholder centrado (se ve solo cuando la imagen no carga) */
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23D1D5DB' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M8.5 12.5l2.5 3 3.5-4.5 4 5.5H4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}
.mosaico-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}
.mosaico-item picture {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}
.mosaico-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
    background: transparent;
}
.mosaico-item:hover img { transform: scale(1.04); }

/* Aspect ratios especiales según layout */
.mosaico-grid--full .mosaico-item {
    aspect-ratio: 21 / 6;
}
@media (min-width: 768px) {
    /* En hero-side, los items ocupan toda su celda del grid (auto altura) */
    .mosaico-grid--hero-side .mosaico-item {
        aspect-ratio: auto;
        height: 100%;
        min-height: 150px;
    }
}

.mosaico-item-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 2;
}
.mosaico-item-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    line-height: 1.2;
}
@media (min-width: 768px) {
    .mosaico-item-title { font-size: 18px; }
    .mosaico-grid--hero-side .mosaico-item:nth-child(1) .mosaico-item-title { font-size: 24px; }
}
.mosaico-item-sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   SOLO POR HORAS desde Sheet (contador + productos)
   ═══════════════════════════════════════════════════════════════ */
.soloporhoras-section {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    background-size: cover;
    background-position: center;
    padding: 28px 0 32px;
    margin: 24px 0;
    color: #fff;
    position: relative;
}
.soloporhoras-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}
.soloporhoras-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.soloporhoras-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .soloporhoras-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.soloporhoras-flag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 100px;
    backdrop-filter: blur(6px);
    margin-bottom: 8px;
}
.soloporhoras-title {
    margin: 0 0 4px;
    font-family: var(--f-display, 'Inter', sans-serif);
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
@media (min-width: 768px) {
    .soloporhoras-title { font-size: 30px; }
}
.soloporhoras-sub {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.soloporhoras-countdown {
    text-align: center;
    flex-shrink: 0;
}
.soloporhoras-countdown-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 6px;
    font-weight: 700;
}
.soloporhoras-countdown-clock {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}
.soloporhoras-countdown-cell {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--r-1, 8px);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    backdrop-filter: blur(6px);
}
.soloporhoras-countdown-num {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) {
    .soloporhoras-countdown-num { font-size: 26px; }
    .soloporhoras-countdown-cell { min-width: 62px; padding: 10px 14px; }
}
.soloporhoras-countdown-unit {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-top: 3px;
    font-weight: 700;
}
.soloporhoras-countdown-sep {
    font-size: 20px;
    font-weight: 800;
    color: rgba(255,255,255,0.5);
    padding: 0 2px;
}

.soloporhoras-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
    .soloporhoras-grid--grid-4 { grid-template-columns: repeat(3, 1fr); }
    .soloporhoras-grid--grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .soloporhoras-grid--grid-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .soloporhoras-grid--grid-6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}

.soloporhoras-product {
    display: block;
    background: #fff;
    border-radius: var(--r-2, 12px);
    overflow: hidden;
    text-decoration: none;
    color: var(--c-ink);
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.soloporhoras-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    text-decoration: none;
    color: var(--c-ink);
}

.soloporhoras-product-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FBBF24;
    color: #78350F;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    z-index: 2;
    text-transform: uppercase;
}

.soloporhoras-product-img {
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.soloporhoras-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.soloporhoras-product-body {
    padding: 10px 12px 12px;
    border-top: 1px solid var(--c-line-soft);
}
.soloporhoras-product-name {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--c-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 32px;
}
.soloporhoras-product-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.soloporhoras-product-old {
    color: var(--c-muted);
    text-decoration: line-through;
    font-size: 11px;
}
.soloporhoras-product-price {
    color: #DC2626;
    font-weight: 800;
    font-size: 15px;
}

.soloporhoras-cta-wrap {
    text-align: center;
    margin-top: 20px;
}
.soloporhoras-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #fff;
    color: #DC2626;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--r-1, 6px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform .15s;
}
.soloporhoras-cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: #DC2626;
}

/* ═══════════════════════════════════════════════════════════════
   PROD-CARD unificado — grid AGRESIVO 6 columnas en desktop
   Aplica a TODOS los grids de productos, sin importar el TIPO del sheet.
   ═══════════════════════════════════════════════════════════════ */
.prod-grid,
.dest-sheet-grid,
.dest-sheet-grid-grid-4,
.dest-sheet-grid-grid-6,
.soloporhoras-grid,
.soloporhoras-grid--grid-4,
.soloporhoras-grid--grid-6,
.dtabs-grid,
.dtabs-grid--grid-4,
.dtabs-grid--grid-6 {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
    .prod-grid,
    .dest-sheet-grid,
    .dest-sheet-grid-grid-4,
    .dest-sheet-grid-grid-6,
    .soloporhoras-grid,
    .soloporhoras-grid--grid-4,
    .soloporhoras-grid--grid-6,
    .dtabs-grid,
    .dtabs-grid--grid-4,
    .dtabs-grid--grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .prod-grid,
    .dest-sheet-grid,
    .dest-sheet-grid-grid-4,
    .dest-sheet-grid-grid-6,
    .soloporhoras-grid,
    .soloporhoras-grid--grid-4,
    .soloporhoras-grid--grid-6,
    .dtabs-grid,
    .dtabs-grid--grid-4,
    .dtabs-grid--grid-6 { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (min-width: 1024px) {
    .prod-grid,
    .dest-sheet-grid,
    .dest-sheet-grid-grid-4,
    .dest-sheet-grid-grid-6,
    .soloporhoras-grid,
    .soloporhoras-grid--grid-4,
    .soloporhoras-grid--grid-6,
    .dtabs-grid,
    .dtabs-grid--grid-4,
    .dtabs-grid--grid-6 { grid-template-columns: repeat(6, 1fr); gap: 10px; }
}
@media (min-width: 1280px) {
    .prod-grid,
    .dest-sheet-grid,
    .dest-sheet-grid-grid-4,
    .dest-sheet-grid-grid-6,
    .soloporhoras-grid,
    .soloporhoras-grid--grid-4,
    .soloporhoras-grid--grid-6,
    .dtabs-grid,
    .dtabs-grid--grid-4,
    .dtabs-grid--grid-6 { gap: 12px; }
}

.prod-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all .18s;
    display: flex;
    flex-direction: column;
}
.prod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    border-color: var(--c-accent);
}

.prod-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}
.prod-card-link:hover { text-decoration: none; color: inherit; }

.prod-card-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--c-accent);
    color: #fff;
    padding: 2px 7px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
    z-index: 2;
    text-transform: uppercase;
}
.prod-card-tag--flash {
    background: #FBBF24;
    color: #78350F;
}

.prod-card-img {
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.prod-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.prod-card-body {
    padding: 8px 10px 6px;
}
.prod-card-name {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--c-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 28px;
}
.prod-card-prices {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.prod-card-old {
    color: var(--c-muted);
    text-decoration: line-through;
    font-size: 10px;
}
.prod-card-price {
    color: var(--c-accent);
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
}
.prod-card-price--flash {
    color: #DC2626;
    font-size: 15px;
}

.prod-card-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    margin: 0 8px 8px;
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: all .15s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.prod-card-add:hover {
    background: var(--c-accent-d);
    transform: translateY(-1px);
}
.prod-card-add--flash {
    background: #DC2626;
}
.prod-card-add--flash:hover {
    background: #991B1B;
}
.prod-card-add--compact {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 8px;
    border-radius: 100px;
    align-self: flex-end;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
}
.prod-card-add--compact span { display: none; }

/* ═══════════════════════════════════════════════════════════════
   TOPBAR CAMPAÑA (barra superior con countdown gigante)
   ═══════════════════════════════════════════════════════════════ */
.topbar-campana {
    background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 10px 0;
    position: relative;
}
.topbar-campana::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    pointer-events: none;
}
.topbar-campana-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
}
@media (min-width: 768px) {
    .topbar-campana-inner { justify-content: space-between; }
}

.topbar-campana-left {
    display: flex;
    flex-direction: column;
    text-align: center;
}
@media (min-width: 768px) {
    .topbar-campana-left { text-align: left; }
}
.topbar-campana-flag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 2px;
}
.topbar-campana-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .topbar-campana-title { font-size: 16px; }
}

.topbar-campana-clock {
    display: flex;
    align-items: center;
    gap: 8px;
}
.topbar-campana-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
}
.topbar-campana-cells {
    display: flex;
    align-items: center;
    gap: 3px;
}
.topbar-campana-cell {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 36px;
}
.topbar-campana-num {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}
.topbar-campana-unit {
    font-size: 8px;
    opacity: 0.75;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
    font-weight: 700;
}
.topbar-campana-sep {
    font-size: 14px;
    opacity: 0.6;
    font-weight: 800;
}

.topbar-campana-cta {
    background: #fff;
    color: #4F46E5;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: transform .15s;
    white-space: nowrap;
}
.topbar-campana-cta:hover {
    text-decoration: none;
    color: #4F46E5;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   CUPÓN (bloque de cupón con código + botón APLICAR)
   ═══════════════════════════════════════════════════════════════ */
.cupon-wrapper {
    padding: 20px 0;
}
.cupon-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .cupon-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .cupon-container { grid-template-columns: repeat(3, 1fr); }
}

.cupon-card {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}
.cupon-card::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cupon-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cupon-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cupon-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.cupon-flag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 4px;
}

.cupon-titulo {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
}
@media (min-width: 768px) {
    .cupon-titulo { font-size: 18px; }
}

.cupon-codigo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.25);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px dashed rgba(255,255,255,0.35);
    margin-bottom: 10px;
}
.cupon-codigo-label {
    font-size: 9px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.cupon-codigo {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.cupon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    color: #059669;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all .15s;
}
.cupon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.cupon-btn--copied {
    background: #FCD34D;
    color: #78350F;
}

.cupon-terms {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
}
.cupon-terms:hover { color: #fff; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   DESTACADOS CON TABS
   ═══════════════════════════════════════════════════════════════ */
.dtabs-wrapper {
    padding: 12px 0;
}
.dtabs-section {
    padding: 20px 0;
}
.dtabs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.dtabs-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-accent);
}
@media (min-width: 768px) {
    .dtabs-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.dtabs-title {
    margin: 0;
    font-family: var(--f-display, 'Inter', sans-serif);
    font-size: 20px;
    font-weight: 900;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}
@media (min-width: 768px) {
    .dtabs-title { font-size: 24px; }
}

.dtabs-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}
.dtabs-tabs::-webkit-scrollbar { display: none; }

.dtabs-tab {
    background: transparent;
    border: 1.5px solid var(--c-line);
    color: var(--c-muted);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}
.dtabs-tab:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}
.dtabs-tab--active {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

.dtabs-banner {
    display: block;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
}
.dtabs-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s;
}
.dtabs-banner:hover img { transform: scale(1.02); }

.dtabs-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--c-muted);
    background: var(--c-line-soft);
    border-radius: 10px;
}

.dtabs-cta-wrap {
    text-align: center;
    margin-top: 20px;
}
.dtabs-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--c-ink);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-decoration: none;
}
.dtabs-cta:hover {
    background: var(--c-accent);
    color: #fff;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   BANNER CON PRECIO ANCLADO
   ═══════════════════════════════════════════════════════════════ */
.bprecio-wrapper {
    padding: 12px 0;
}
.bprecio-section {
    padding: 8px 0;
}
.bprecio-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
.bprecio-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
    .bprecio-grid--col-2 { grid-template-columns: repeat(2, 1fr); }
    .bprecio-grid--col-3 { grid-template-columns: repeat(3, 1fr); }
    .bprecio-grid--col-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
    .bprecio-grid { gap: 14px; }
}

.bprecio-item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: var(--c-line-soft);
    text-decoration: none;
    color: inherit;
    transition: transform .2s;
}
.bprecio-item:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.bprecio-item-img {
    position: absolute;
    inset: 0;
}
.bprecio-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.bprecio-item:hover .bprecio-item-img img { transform: scale(1.05); }

.bprecio-item-flag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    max-width: 60%;
}
.bprecio-item-context {
    font-size: 9px;
    font-weight: 700;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}
.bprecio-item-precio {
    font-size: 18px;
    font-weight: 900;
    color: var(--c-accent);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 2px;
}
@media (min-width: 768px) {
    .bprecio-item-precio { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   BRAND ROW (marca + productos)
   ═══════════════════════════════════════════════════════════════ */
.brandrow-wrapper {
    padding: 12px 0;
}
.brandrow-section {
    padding: 12px 0;
}
.brandrow-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
.brandrow-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    background: var(--c-line-soft);
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}
@media (min-width: 900px) {
    .brandrow-grid {
        grid-template-columns: 260px 1fr;
        gap: 16px;
        padding: 16px;
    }
}

.brandrow-banner {
    background-size: cover;
    background-position: center;
    background-color: var(--c-accent);
    border-radius: 10px;
    padding: 24px 20px;
    color: #fff;
    text-decoration: none;
    min-height: 160px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}
.brandrow-banner:hover { text-decoration: none; color: #fff; }
.brandrow-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
    pointer-events: none;
}
.brandrow-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.brandrow-banner-sub {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 4px;
}
.brandrow-banner-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
@media (min-width: 768px) {
    .brandrow-banner-title { font-size: 22px; }
}
.brandrow-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
}

.brandrow-products {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    min-width: 0;
}
@media (min-width: 640px) {
    .brandrow-products { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
    .brandrow-products { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
    .brandrow-products { grid-template-columns: repeat(6, 1fr); }
}
.brandrow-products .prod-card { background: #fff; }

/* ═══════════════════════════════════════════════════════════════
   BANNERS PIE (últimos banners antes del footer)
   Layout automático según cantidad: 1, 2 o 3 columnas.
   ═══════════════════════════════════════════════════════════════ */
.bpie-wrapper {
    padding: 20px 0 32px;
    display: block;
    width: 100%;
}
.bpie-section {
    padding: 10px 0;
    display: block;
    width: 100%;
}
.bpie-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
.bpie-grid {
    display: grid;
    gap: 12px;
    width: 100%;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .bpie-grid { gap: 16px; }
    .bpie-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .bpie-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.bpie-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 6;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    transition: transform .25s, box-shadow .25s;
    min-height: 140px;
}
.bpie-grid--1 .bpie-item { aspect-ratio: 21 / 5; }
.bpie-grid--3 .bpie-item { aspect-ratio: 16 / 9; }

.bpie-item::before {
    /* Placeholder icon si la imagen no carga */
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23D1D5DB' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M8.5 12.5l2.5 3 3.5-4.5 4 5.5H4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 44px;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
.bpie-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}

.bpie-item-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}
.bpie-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
    background: transparent;
}
.bpie-item:hover .bpie-item-img img { transform: scale(1.03); }

.bpie-item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--c-accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bpie-item-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 2;
}
.bpie-item-title {
    margin: 0;
    font-family: var(--f-display, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    line-height: 1.2;
}
@media (min-width: 768px) {
    .bpie-item-title { font-size: 18px; }
    .bpie-grid--1 .bpie-item-title { font-size: 24px; }
}
.bpie-item-sub {
    margin: 3px 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.92);
    line-height: 1.3;
}
.bpie-item-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
}

/* ═══════════════════════════════════════════════════════════════
   CART WIDGETS — toast + mini-cart flotante
   ═══════════════════════════════════════════════════════════════ */

/* Toast container */
.facel-toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    pointer-events: none;
    max-width: calc(100vw - 40px);
}

.facel-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--c-ink);
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    font-size: 13px;
    font-weight: 600;
    max-width: 400px;
    pointer-events: auto;
}
.facel-toast--success {
    background: #10B981;
    color: #fff;
}
.facel-toast--error {
    background: #EF4444;
    color: #fff;
}
.facel-toast--info {
    background: #3B82F6;
    color: #fff;
}
.facel-toast svg { flex-shrink: 0; }

.facel-toast-in { animation: facel-toast-in .25s cubic-bezier(0.4, 0, 0.2, 1); }
.facel-toast-out { animation: facel-toast-out .2s ease-in; }
@keyframes facel-toast-in {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes facel-toast-out {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-16px); }
}

/* Mini cart FAB (floating action button) */
.facel-cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
}
@media (max-width: 680px) {
    .facel-cart-fab {
        bottom: 16px;
        right: 16px;
    }
}

.facel-cart-fab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-accent);
    color: #fff;
    padding: 12px 16px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    font-size: 13px;
    transition: transform .18s;
}
.facel-cart-fab-link:hover {
    transform: translateY(-2px);
    background: var(--c-accent-d, var(--c-accent));
    color: #fff;
    text-decoration: none;
}
.facel-cart-fab-count {
    background: #fff;
    color: var(--c-accent);
    min-width: 22px;
    height: 22px;
    border-radius: 100px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.facel-cart-fab-total {
    padding-left: 4px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-weight: 800;
    letter-spacing: -0.02em;
}
@media (max-width: 500px) {
    .facel-cart-fab-total { display: none; }
}

.facel-fab-in { animation: facel-fab-in .3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.facel-fab-out { animation: facel-fab-out .18s ease-in; }
@keyframes facel-fab-in {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes facel-fab-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to   { opacity: 0; transform: translateY(10px) scale(0.9); }
}


/* ═══════════════════════════════════════════════════════════════
   ═══════════════════════════════════════════════════════════════
   NUEVOS MÓDULOS E6+E7+E8 (welcomePopup, flashBanners, brandCarousel)
   Agregados el 2026-07-17
   ═══════════════════════════════════════════════════════════════
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   Welcome Popup — Modal de bienvenida desde el Sheet
   ═══════════════════════════════════════════════════════════════ */

.facel-welcome-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100010;   /* arriba del megamenu (99999) */
    background: rgba(8, 10, 20, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.facel-welcome-modal {
    position: relative;
    max-width: 620px;
    width: 100%;
    max-height: calc(100vh - 40px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
    background: #fff;
    animation: facel-welcome-scale-in .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 680px) {
    .facel-welcome-modal {
        max-width: 100%;
        border-radius: 18px;
    }
}

.facel-welcome-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform .2s, background .2s;
}
.facel-welcome-close:hover {
    background: #fff;
    transform: scale(1.08);
}
.facel-welcome-close:active { transform: scale(0.95); }

.facel-welcome-body {
    display: block;
    line-height: 0;
}
.facel-welcome-body picture,
.facel-welcome-body img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* ═══ Animaciones ═══ */
@keyframes facel-welcome-scale-in {
    0% { opacity: 0; transform: scale(0.85) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes facel-welcome-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes facel-welcome-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}
@keyframes facel-welcome-scale-out {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.9); }
}

.facel-welcome-fade-enter { animation: facel-welcome-fade-in .25s ease-out forwards; }
.facel-welcome-fade-leave { animation: facel-welcome-fade-out .2s ease-in forwards; }
.facel-welcome-scale-enter { animation: facel-welcome-scale-in .35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.facel-welcome-scale-leave { animation: facel-welcome-scale-out .2s ease-in forwards; }

/* ═══════════════════════════════════════════════════════════════
   Flash Banners — Solo x Horas con banners deslizables
   ═══════════════════════════════════════════════════════════════ */

.flashbanners-wrapper {
    padding: 24px 0;
    display: block;
    width: 100%;
}

.flashbanners-section {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

/* ═══ Encabezado rojo ═══ */
.flashbanners-head {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: #fff;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}
.flashbanners-head::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.flashbanners-head-in {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.flashbanners-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.flashbanners-clock-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: flashbanners-pulse 2s ease-in-out infinite;
}
@keyframes flashbanners-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.flashbanners-title {
    margin: 0;
    font-family: inherit;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .flashbanners-title { font-size: 32px; }
}

/* Countdown */
.flashbanners-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.flashbanners-cd-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
}
.flashbanners-cd-num {
    font-family: 'JetBrains Mono', 'Consolas', 'SF Mono', monospace;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
    .flashbanners-cd-num { font-size: 26px; }
    .flashbanners-cd-cell { min-width: 52px; }
}
.flashbanners-cd-unit {
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    opacity: 0.85;
    margin-top: 2px;
    font-weight: 600;
}

/* Subtítulo con "🔥 Ofertas WOW" */
.flashbanners-sub {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.3px;
    flex: 1;
    min-width: 0;
    text-align: right;
}
@media (min-width: 900px) {
    .flashbanners-sub { font-size: 18px; font-weight: 800; }
}
@media (max-width: 899px) {
    .flashbanners-sub { text-align: center; width: 100%; }
}

/* ═══ Carrusel de banners ═══ */
.flashbanners-carousel-wrap {
    position: relative;
    padding: 20px 60px;
}
@media (max-width: 680px) {
    .flashbanners-carousel-wrap { padding: 16px 40px; }
}

.flashbanners-viewport {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.flashbanners-viewport:active { cursor: grabbing; }
.flashbanners-viewport img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.flashbanners-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    will-change: transform;
}

.flashbanners-item {
    flex-shrink: 0;
    padding: 0 8px;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .25s;
}
.flashbanners-item:hover {
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}
.flashbanners-item picture {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    aspect-ratio: 1 / 1;
}
.flashbanners-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.flashbanners-item:hover img { transform: scale(1.03); }

/* Flechas de navegación */
.flashbanners-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 100px;
    background: rgba(30, 41, 59, 0.85);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all .2s;
}
.flashbanners-nav:hover {
    background: #1E293B;
    transform: translateY(-50%) scale(1.08);
}
.flashbanners-nav--prev { left: 10px; }
.flashbanners-nav--next { right: 10px; }
@media (max-width: 680px) {
    .flashbanners-nav { width: 34px; height: 34px; }
    .flashbanners-nav--prev { left: 4px; }
    .flashbanners-nav--next { right: 4px; }
}

/* Dots */
.flashbanners-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 0 16px;
}
.flashbanners-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 100px;
    background: rgba(15, 23, 42, 0.25);
    cursor: pointer;
    padding: 0;
    transition: all .2s;
}
.flashbanners-dot.is-active {
    background: #DC2626;
    width: 24px;
}
.flashbanners-dot:hover { background: rgba(15, 23, 42, 0.5); }

/* Botón "Ver todo" al final */
.flashbanners-cta-wrap {
    text-align: center;
    padding: 0 24px 20px;
}
.flashbanners-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #DC2626;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
    transition: transform .2s;
}
.flashbanners-cta:hover {
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   Brand Carousel — Banner grande + productos deslizables
   ═══════════════════════════════════════════════════════════════ */

.bcar-wrapper {
    padding: 24px 0;
    display: block;
    width: 100%;
}

.bcar-section {
    padding: 12px 0;
    margin-bottom: 20px;
}

.bcar-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .bcar-container {
        grid-template-columns: 340px 1fr;
        gap: 20px;
    }
}
@media (min-width: 1200px) {
    .bcar-container {
        grid-template-columns: 380px 1fr;
    }
}

/* ═══ Banner grande a la izquierda ═══ */
.bcar-banner {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.bcar-banner:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}
.bcar-banner picture,
.bcar-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bcar-banner img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.bcar-banner-cta {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #0F172A;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    transition: transform .2s;
}
.bcar-banner:hover .bcar-banner-cta {
    transform: translateX(-50%) translateY(-2px);
}

/* ═══ Carrusel de productos ═══ */
.bcar-carousel-wrap {
    position: relative;
    padding: 0 44px;
    min-width: 0;   /* previene overflow en flex/grid */
}
@media (max-width: 680px) {
    .bcar-carousel-wrap { padding: 0 32px; }
}

.bcar-viewport {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    border-radius: 12px;
}
.bcar-viewport:active { cursor: grabbing; }
.bcar-viewport img {
    -webkit-user-drag: none;
    user-select: none;
}

.bcar-track {
    display: flex;
    align-items: stretch;
    will-change: transform;
}

.bcar-item {
    flex-shrink: 0;
    padding: 0 6px;
    box-sizing: border-box;
}
@media (min-width: 900px) {
    .bcar-item { padding: 0 8px; }
}

/* ═══ Card de producto ═══ */
.bcar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.bcar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.1);
}

/* Tag esquina superior izquierda */
.bcar-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #F97316;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35);
}

/* Corazón favorito esquina superior derecha */
.bcar-card-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    color: #64748B;
    transition: all .18s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.bcar-card-fav:hover {
    background: #fff;
    color: #EF4444;
    transform: scale(1.08);
}

/* Imagen del producto */
.bcar-card-img {
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}
.bcar-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}
.bcar-card:hover .bcar-card-img img {
    transform: scale(1.05);
}

/* Cuerpo con info + precios + botón */
.bcar-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.bcar-card-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #0F172A;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 34px;
}
@media (min-width: 900px) {
    .bcar-card-name { font-size: 14px; }
}

/* Marca — chip azul con dot */
.bcar-card-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 3px 10px;
    background: #E0F2FE;
    color: #0369A1;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.bcar-card-brand-dot {
    display: inline-flex;
    color: #0EA5E9;
}

/* Bloque de precios */
.bcar-card-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-variant-numeric: tabular-nums;
}
.bcar-card-price-old {
    font-size: 12px;
    color: #94A3B8;
    text-decoration: line-through;
    line-height: 1.2;
}
.bcar-card-price {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.1;
}
.bcar-card-price-sip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 800;
    color: #0369A1;
    line-height: 1.1;
}
.bcar-card-sip-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #0EA5E9;
    color: #fff;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

/* Botón Agregar al carrito */
.bcar-card-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: #10B981;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.2px;
    margin-top: auto;
    transition: all .18s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.bcar-card-add:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

/* Flechas prev/next */
.bcar-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 100px;
    background: #fff;
    color: #0F172A;
    border: 1px solid rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all .2s;
}
.bcar-nav:hover {
    background: #0F172A;
    color: #fff;
    transform: translateY(-50%) scale(1.06);
    border-color: #0F172A;
}
.bcar-nav--prev { left: 4px; }
.bcar-nav--next { right: 4px; }
@media (max-width: 680px) {
    .bcar-nav { width: 30px; height: 30px; }
}


/* ═══════════════════════════════════════════════════════════════
   Brand Carousel — Fixes para theme facel-modern
   • Container alineado con los otros módulos (max-width: 1280, padding: 16)
   • Botón "Agregar al carrito" con los estilos del theme (var(--c-accent), etc.)
   ═══════════════════════════════════════════════════════════════ */

.bcar-container {
    max-width: 1280px;
    padding: 0 16px;
}

.bcar-card-add {
    background: var(--c-accent);
    color: #fff;
    padding: 8px 6px;
    margin: 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: none;
    transition: all .15s;
}
.bcar-card-add:hover {
    background: var(--c-accent-d);
    transform: translateY(-1px);
    box-shadow: none;
}

/* Wrapper padding para respirar como los demás */
.bcar-wrapper {
    padding: 32px 0 20px;
}


/* ═══════════════════════════════════════════════════════════════
   Flash Banners — Fix ancho alineado con otras secciones modern
   ═══════════════════════════════════════════════════════════════ */

.flashbanners-wrapper {
    padding: 32px 0 20px;
    max-width: 1280px;
    margin: 0 auto;
}
.flashbanners-section {
    margin-left: 16px;
    margin-right: 16px;
}
