/* home.css - Inicio (index.html).
   Se mantienen todos los carruseles (marcas, destacados y productos por marca) con un
   diseño nuevo, y se agregan la portada con video y la sección "Aprende a usarlos". */

.home-v2 {
    --v2-ink: #111;
    --v2-muted: #6b6b6b;
    --v2-line: #ececec;
    --v2-soft: #f5f5f4;
    background: #fff;
}

/* ---------- Encabezado de sección común ---------- */
.v2-wrap {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.v2-section {
    padding: 56px 0;
}

.v2-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
}

.v2-section-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--v2-ink);
}

.v2-section-head p {
    margin: 6px 0 0;
    font-size: 0.95rem;
    color: var(--v2-muted);
}

.v2-head-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.v2-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--v2-ink);
    text-decoration: none;
    white-space: nowrap;
}

.v2-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Flechas redondas (todas las secciones con carrusel) */
.home-v2 .v2-arrow,
.home-v2 .carousel-btn,
.home-v2 .brand-products-btn,
.home-v2 .brands-btn {
    position: static !important;
    transform: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0;
    border: 1px solid #dcdcdc !important;
    border-radius: 50%;
    background: #fff !important;
    color: var(--v2-ink) !important;
    box-shadow: none !important;
    font-size: 1.1rem !important;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-v2 .v2-arrow:hover,
.home-v2 .carousel-btn:hover,
.home-v2 .brand-products-btn:hover,
.home-v2 .brands-btn:hover {
    background: var(--v2-ink) !important;
    border-color: var(--v2-ink) !important;
    color: #fff !important;
}

.home-v2 .carousel-btn[hidden],
.home-v2 .brand-products-btn[hidden] {
    display: none !important;
}

.v2-arrows {
    display: flex;
    gap: 8px;
}

/* ---------- Portada con video ---------- */
.v2-hero {
    margin-top: calc(var(--header-height, 96px) + 8px);
    padding: 28px 0 8px;
}

.v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 40px;
}

.v2-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--v2-muted);
}

.v2-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--v2-ink);
}

.v2-hero-copy p {
    max-width: 440px;
    margin: 0 0 26px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.v2-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 26px;
    border: 1px solid var(--v2-ink);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.v2-btn--dark { background: var(--v2-ink); color: #fff; }
.v2-btn--dark:hover { background: #333; }
.v2-btn--ghost { background: #fff; color: var(--v2-ink); }
.v2-btn--ghost:hover { background: var(--v2-soft); }

.v2-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--v2-muted);
}

.v2-hero-trust li::before {
    content: "✓ ";
    font-weight: 700;
    color: var(--v2-ink);
}

.v2-hero-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #e9edf2;
}

.v2-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v2-hero-tag {
    position: absolute;
    left: 16px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--v2-ink);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(6px);
}

.v2-hero-pause {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--v2-ink);
    font-size: 0.8rem;
    cursor: pointer;
}

/* ---------- Carrusel de marcas (logos) ---------- */
.v2-brands {
    padding: 36px 0 8px;
}

.home-v2 .brands-carousel-container {
    position: static;
    padding: 0;
}

.home-v2 .brands-track {
    gap: 12px;
    padding: 4px 2px 8px;
    scroll-snap-type: x proximity;
}

.home-v2 .brand-logo-item {
    flex: 0 0 150px;
    height: 92px;
    padding: 10px;
    border: 1px solid var(--v2-line);
    border-radius: 16px;
    background: #fff;
    justify-content: center;
    scroll-snap-align: start;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-v2 .brand-logo-item:hover {
    transform: translateY(-2px);
    border-color: var(--v2-ink);
    background: #fff;
}

.home-v2 .brand-logo {
    width: 100%;
    height: 48px;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.home-v2 .brand-logo-item:hover .brand-logo {
    filter: none;
    opacity: 1;
}

.home-v2 .brand-name {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--v2-muted);
}

/* ---------- Tarjetas de producto (destacados y por marca) ---------- */
.home-v2 #featuredCarousel,
.home-v2 .brand-products-track {
    gap: 16px;
    padding: 4px 2px 10px;
}

.home-v2 #featuredCarousel .product-card,
.home-v2 .brand-products-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    padding: 0;
    min-height: 0;
    transform: none !important;
}

.home-v2 #featuredCarousel .product-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 230px;
    max-width: none;
}

.home-v2 .brand-products-track .brand-products-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 220px;
}

.home-v2 #featuredCarousel .product-image,
.home-v2 .brand-products-card .product-image {
    position: relative;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: var(--v2-soft);
    overflow: hidden;
}

.home-v2 .product-image .product-real-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    mix-blend-mode: multiply;
    transition: transform 0.35s ease;
}

.home-v2 .product-card:hover .product-real-image,
.home-v2 .brand-products-card:hover .product-real-image {
    transform: scale(1.04);
}

.home-v2 .featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    width: auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--v2-ink) !important;
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.home-v2 #featuredCarousel .product-info,
.home-v2 .brand-products-card .product-info {
    min-height: 0;
    padding: 12px 2px 0;
    text-align: left;
}

.home-v2 #featuredCarousel .product-info h3,
.home-v2 .brand-products-card .product-info h4 {
    min-height: 2.6em;
    margin: 0 0 6px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-v2 .product-info .price-with-discount,
.home-v2 .product-info .product-price {
    text-align: left;
    justify-content: flex-start;
}

.home-v2 .product-info .add-to-cart {
    width: 100%;
    margin-top: 10px;
    height: 42px;
    border: 1px solid var(--v2-ink);
    border-radius: 999px;
    background: #fff;
    color: var(--v2-ink);
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-v2 .product-info .add-to-cart:hover:not(:disabled) {
    background: var(--v2-ink);
    color: #fff;
}

/* Destacados y productos por marca: flechas en el encabezado */
.home-v2 .featured-carousel {
    padding: 56px 0 24px;
    background: #fff;
}

.home-v2 .featured-carousel .carousel-header {
    display: none;
}

.home-v2 .carousel-container {
    max-width: none;
    padding: 0 !important;
}

.home-v2 .brand-showcase-section {
    padding: 32px 0 24px;
    background: #fff;
}

.home-v2 .brand-showcase-header {
    display: none;
}

.home-v2 .brand-showcase-block {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 8px;
    border-top: 1px solid var(--v2-line);
}

.home-v2 .brand-showcase-inner {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.home-v2 .brand-showcase-title-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-right: 96px; /* espacio para las flechas */
    text-align: left;
}

.home-v2 .brand-showcase-title {
    margin: 0;
    text-align: left;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.home-v2 .brand-showcase-link {
    margin-left: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--v2-ink);
}

.home-v2 .brand-showcase-link::after {
    content: " →";
}

.home-v2 .brand-products-carousel {
    position: relative;
    display: block;
}

.home-v2 .brand-products-carousel .brand-products-btn {
    position: absolute !important;
    top: -58px;
}

.home-v2 .brand-products-carousel .brand-products-prev { right: 48px; }
.home-v2 .brand-products-carousel .brand-products-next { right: 0; }

/* ---------- Aprende a usarlos (reels) ---------- */
.v2-reels {
    background: var(--v2-soft);
}

.v2-reels-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.v2-reels-track::-webkit-scrollbar {
    display: none;
}

.v2-reel {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 200px;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #222;
    cursor: pointer;
    scroll-snap-align: start;
    text-align: left;
}

.v2-reel video,
.v2-reel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-reel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.v2-reel-play {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.v2-reel-info {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
}

.v2-reel-info small {
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.v2-reel-info strong {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
}

.v2-reel:focus-visible {
    outline: 3px solid var(--v2-ink);
    outline-offset: 3px;
}

/* Reproductor a pantalla completa */
.v2-player {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 24px;
    background: rgba(10, 10, 10, 0.97);
}

.v2-player.active {
    display: flex;
}

.v2-player-video {
    height: min(86vh, 860px);
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    background: #000;
}

.v2-player-side {
    width: 300px;
    color: #fff;
}

.v2-player-side small {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.v2-player-side h3 {
    margin: 6px 0 18px;
    font-size: 1.4rem;
    line-height: 1.25;
    color: #fff;
}

.v2-player-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-player-product {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    color: var(--v2-ink);
}

.v2-player-product img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--v2-soft);
}

.v2-player-product strong {
    display: block;
    font-size: 0.85rem;
    line-height: 1.3;
}

.v2-player-product span {
    font-size: 0.85rem;
    color: var(--v2-muted);
}

.v2-player-product button {
    grid-column: 1 / -1;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--v2-ink);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.v2-player-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .home-v2 #featuredCarousel .product-card,
    .home-v2 .brand-products-track .brand-products-card,
    .v2-reel {
        flex-basis: calc((100% - 32px) / 3);
    }
}

@media (max-width: 768px) {
    .v2-section { padding: 40px 0; }
    .v2-hero { padding-top: 12px; }
    .v2-hero-grid { grid-template-columns: 1fr; gap: 22px; }
    .v2-hero-media { border-radius: 18px; }
    .v2-btn { flex: 1; padding: 0 16px; }

    /* En celular se asoma la siguiente tarjeta: se nota que hay más para deslizar */
    .home-v2 #featuredCarousel .product-card,
    .home-v2 .brand-products-track .brand-products-card {
        flex-basis: 44%;
        min-width: 0;
    }

    .home-v2 #featuredCarousel,
    .home-v2 .brand-products-track { gap: 12px; }

    .v2-reel {
        flex-basis: 62%;
        min-width: 0;
    }

    .home-v2 .brand-logo-item { flex-basis: 120px; height: 80px; }

    .v2-arrows,
    .home-v2 .brand-products-carousel .brand-products-btn,
    .home-v2 .featured-arrows {
        display: none !important;
    }

    .home-v2 .brand-showcase-title-row { padding-right: 0; }

    .v2-player {
        flex-direction: column;
        justify-content: flex-start;
        gap: 14px;
        padding: 56px 12px 16px;
        overflow-y: auto;
    }

    .v2-player-video { height: auto; width: min(100%, 420px); max-height: 66vh; }
    .v2-player-side { width: min(100%, 420px); }
    .v2-player-side h3 { font-size: 1.1rem; margin-bottom: 10px; }
}

/* Ajustes: precios alineados a la izquierda y carrusel dentro del margen */
.home-v2 .brand-products-carousel {
    width: 100%;
}

.home-v2 .brand-products-track {
    width: 100%;
    margin: 0;
    flex: none;
}

.home-v2 .brand-products-card .product-info > .product-price,
.home-v2 .brand-products-card .product-info > .price-with-discount,
.home-v2 #featuredCarousel .product-info > .product-price,
.home-v2 #featuredCarousel .product-info > .price-with-discount {
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
}

.home-v2 .brand-products-card .product-info > .product-price {
    justify-content: flex-start;
}

.home-v2 .discount-price-row {
    justify-content: flex-start;
}

/* El bloque de marca original usa 100vw y un ancho interno de 96vw: se acota al margen del sitio */
.home-v2 .brand-showcase-block {
    margin-left: auto;
    margin-right: auto;
}

.home-v2 .brand-showcase-inner {
    width: 100%;
}

/* ---------- Portada solo con video (banner a todo el ancho) ---------- */
.v2-hero .v2-hero-media {
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - var(--header-height, 96px) - 48px);
    width: 100%;
    border-radius: 24px;
}

/* ---------- Sobre Monsite ---------- */
.v2-about {
    padding: 80px 0;
    background: #fff;
}

.v2-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.v2-about-intro {
    position: sticky;
    top: calc(var(--header-height, 96px) + 24px);
}

.v2-about-intro h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--v2-ink);
}

.v2-about-intro p {
    max-width: 420px;
    margin: 0 0 26px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4a4a4a;
}

.v2-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.v2-feature {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 20px;
    background: var(--v2-soft);
    transition: transform 0.25s ease;
}

.v2-feature:hover {
    transform: translateY(-3px);
}

.v2-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--v2-ink);
}

.v2-feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.v2-feature h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--v2-ink);
}

.v2-feature p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--v2-muted);
}

.v2-hours {
    margin: 0;
}

.v2-hours div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    font-size: 0.88rem;
    border-bottom: 1px dashed #ddd;
}

.v2-hours div:last-child {
    border-bottom: 0;
}

.v2-hours dt { color: var(--v2-muted); }
.v2-hours dd { margin: 0; font-weight: 600; color: var(--v2-ink); }

/* ---------- Banda de Instagram ---------- */
.v2-social {
    padding: 0 0 80px;
    background: #fff;
}

.v2-social-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 48px 52px;
    border-radius: 28px;
    background: radial-gradient(120% 140% at 100% 0%, #3a3a3a 0%, #111 55%);
    color: #fff;
}

.v2-eyebrow--light {
    color: rgba(255, 255, 255, 0.6);
}

.v2-social h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -0.02em;
    color: #fff;
}

.v2-social p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.v2-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.v2-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.v2-social-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.v2-social-btn:hover {
    background: #fff;
    color: var(--v2-ink);
}

.v2-social-btn--ig {
    border-color: #fff;
    background: #fff;
    color: var(--v2-ink);
}

.v2-social-btn--ig:hover {
    background: transparent;
    color: #fff;
}

/* ---------- Pie de página ---------- */
.v2-footer {
    padding: 56px 0 28px;
    border-top: 1px solid var(--v2-line);
    background: #fff;
    color: var(--v2-ink);
}

.v2-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 36px;
}

.v2-footer-brand img {
    border-radius: 12px;
    object-fit: contain;
}

.v2-footer-brand p {
    max-width: 280px;
    margin: 14px 0 18px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--v2-muted);
}

.v2-footer-social {
    display: flex;
    gap: 8px;
}

.v2-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    color: var(--v2-ink);
    transition: background 0.2s ease, color 0.2s ease;
}

.v2-footer-social a:hover {
    background: var(--v2-ink);
    border-color: var(--v2-ink);
    color: #fff;
}

.v2-footer-social svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.v2-footer-col h4 {
    margin: 4px 0 14px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--v2-muted);
}

.v2-footer-col a,
.v2-footer-col p {
    display: block;
    margin: 0 0 10px;
    font-size: 0.92rem;
    color: var(--v2-ink);
    text-decoration: none;
}

.v2-footer-col a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.v2-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--v2-line);
    font-size: 0.82rem;
    color: var(--v2-muted);
}

.v2-footer-pay {
    display: flex;
    gap: 6px;
}

.v2-footer-pay img {
    border-radius: 4px;
}

@media (max-width: 900px) {
    .v2-about-grid { grid-template-columns: 1fr; gap: 32px; }
    .v2-about-intro { position: static; }
    .v2-footer-grid { grid-template-columns: 1fr 1fr; }
    .v2-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .v2-hero .v2-hero-media { border-radius: 16px; }
    .v2-about { padding: 56px 0; }
    .v2-about-features { grid-template-columns: 1fr; }
    .v2-feature { flex-direction: row; align-items: flex-start; padding: 18px; }
    .v2-feature-icon { flex-shrink: 0; }
    .v2-social { padding-bottom: 56px; }
    .v2-social-inner { flex-direction: column; align-items: flex-start; padding: 32px 24px; border-radius: 22px; }
    .v2-social-actions, .v2-social-btn { width: 100%; }
    .v2-social-btn { justify-content: center; }
    .v2-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .v2-hero-tag { left: 10px; top: 10px; padding: 6px 11px; font-size: 0.75rem; }
    .v2-hero-pause { right: 10px; bottom: 10px; width: 32px; height: 32px; }
}

/* =====================================================================
   v3: más ancho útil en computador + portada tipo bento
   ===================================================================== */
.v2-wrap,
.home-v2 .brand-showcase-block {
    width: min(1600px, calc(100% - 64px));
}

/* 5 tarjetas por fila en pantallas grandes */
@media (min-width: 1360px) {
    .home-v2 #featuredCarousel .product-card,
    .home-v2 .brand-products-track .brand-products-card {
        flex-basis: calc((100% - 64px) / 5);
    }
}

/* Tutoriales: ancho fijo (son altos; no deben crecer con la pantalla) */
.v2-reel {
    flex: 0 0 clamp(210px, 21vw, 290px);
}

/* ---------- Portada bento ---------- */
.v2-hero {
    padding-top: 20px;
}

.v2-bento {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.v2-bento-video {
    grid-row: 1 / span 2;
    aspect-ratio: 16 / 9;
    max-height: none !important;
}

.v2-bento-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}

.v2-bento-caption {
    position: absolute;
    left: 32px;
    bottom: 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    color: #fff;
}

.v2-bento-caption strong {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.02em;
}

.v2-chip-link {
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--v2-ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.v2-chip-link:hover {
    transform: translateY(-1px);
}

.v2-bento-video .v2-hero-pause {
    z-index: 2;
}

.v2-bento-tile {
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    color: var(--v2-ink);
    text-decoration: none;
    min-height: 0;
}

.v2-bento-label {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--v2-muted);
}

/* Oferta destacada */
.v2-bento-offer {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 6px 16px;
    padding: 44px 22px 20px;
    background: var(--v2-soft);
    transition: background 0.2s ease;
}

.v2-bento-offer:hover {
    background: #eeeeec;
}

.v2-offer-media {
    position: relative;
    grid-row: 1 / span 2;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.v2-offer-media img {
    width: 100%;
    height: 100%;
    max-height: 190px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.35s ease;
}

.v2-bento-offer:hover .v2-offer-media img {
    transform: scale(1.05) rotate(-2deg);
}

.v2-offer-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.v2-offer-badge:empty {
    display: none;
}

.v2-offer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2-offer-info strong {
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-offer-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
}

.v2-offer-prices del {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--v2-muted);
}

.v2-offer-cta {
    align-self: end;
    justify-self: start;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Aprende a usarlos (con tutorial de fondo) */
.v2-bento-learn {
    align-items: flex-end;
    background: #222;
}

.v2-bento-learn video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.v2-bento-learn:hover video {
    transform: scale(1.04);
}

.v2-bento-learn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.75) 100%);
}

.v2-bento-learn-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 22px;
    color: #fff;
}

.v2-bento-learn-text strong {
    font-size: 1.35rem;
    line-height: 1.2;
}

.v2-play-pill {
    margin-top: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--v2-ink);
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .v2-offer-media img { max-height: 140px; }
}

@media (max-width: 900px) {
    .v2-wrap,
    .home-v2 .brand-showcase-block { width: calc(100% - 32px); }
    .v2-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
    .v2-bento-video { grid-column: 1 / -1; grid-row: auto; }
    .v2-bento-offer, .v2-bento-learn { aspect-ratio: 4 / 5; }
    .v2-bento-offer { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; padding: 40px 14px 14px; }
    .v2-offer-media { grid-row: auto; }
    .v2-offer-media img { max-height: 120px; }
    .v2-bento-caption { left: 16px; bottom: 16px; }
    .v2-chip-link { padding: 8px 12px; font-size: 0.8rem; }
    .v2-bento-learn-text { padding: 14px; }
    .v2-bento-learn-text strong { font-size: 1.05rem; }
}

@media (max-width: 600px) {
    .v2-bento-caption .v2-eyebrow { display: none; }
    .v2-bento-caption strong { font-size: 1.4rem; }
    .v2-offer-info strong { font-size: 0.85rem; }
    .v2-offer-prices { font-size: 1.05rem; flex-wrap: wrap; }
    .v2-bento-label { top: 12px; left: 14px; font-size: 0.65rem; }
}

/* El video llena todo el alto del bloque (sin huecos) */
@media (min-width: 901px) {
    .v2-bento {
        height: clamp(440px, 38vw, 640px);
    }

    .v2-bento-video {
        aspect-ratio: auto;
        height: 100%;
    }
}

/* Marcas sin logo: se muestra el nombre en vez del cuadro de color */
.home-v2 .brand-logo-placeholder {
    display: none;
}

.home-v2 .brand-logo-item:has(.brand-logo-placeholder) .brand-name {
    margin-top: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--v2-ink);
}

/* =====================================================================
   Paleta cálida (hueso): fondo suave, tarjetas blancas, acentos negros
   ===================================================================== */
.home-v2 {
    --v2-bg: #faf8f5;      /* fondo de la página */
    --v2-card: #ffffff;    /* tarjetas */
    --v2-soft: #f1ede7;    /* recuadros de fotos de productos */
    --v2-alt: #f3efe9;     /* secciones alternas */
    --v2-line: #e7e2da;
    --v2-ink: #141414;
    --v2-muted: #6e6a64;
    background: var(--v2-bg);
    color: var(--v2-ink);
}

.home-v2 .header,
.home-v2 .featured-carousel,
.home-v2 .brand-showcase-section,
.home-v2 .v2-about,
.home-v2 .v2-social {
    background: var(--v2-bg);
}

.home-v2 .header {
    box-shadow: none;
    border-bottom: 1px solid var(--v2-line);
}

.home-v2 .shipping-banner {
    background: var(--v2-ink);
    color: #fff;
}

.home-v2 .shipping-banner p,
.home-v2 .shipping-banner-close {
    color: #fff;
}

/* Tarjetas blancas sobre el fondo hueso */
.home-v2 .brand-logo-item,
.home-v2 .v2-bento-offer,
.home-v2 .v2-feature {
    background: var(--v2-card);
    border-color: var(--v2-line);
}

.home-v2 .v2-bento-offer:hover {
    background: var(--v2-card);
    box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.home-v2 .v2-feature {
    border: 1px solid var(--v2-line);
}

.home-v2 .v2-hours div {
    border-bottom-color: var(--v2-line);
}

/* Secciones alternas */
.home-v2 .v2-reels,
.home-v2 .v2-footer {
    background: var(--v2-alt);
}

.home-v2 .v2-footer {
    border-top-color: var(--v2-line);
}

.home-v2 .v2-footer-social a,
.home-v2 .v2-arrow,
.home-v2 .carousel-btn,
.home-v2 .brand-products-btn,
.home-v2 .brands-btn {
    background: var(--v2-card) !important;
    border-color: var(--v2-line) !important;
}

.home-v2 .v2-arrow:hover,
.home-v2 .carousel-btn:hover,
.home-v2 .brand-products-btn:hover,
.home-v2 .brands-btn:hover {
    background: var(--v2-ink) !important;
    border-color: var(--v2-ink) !important;
}

/* Botones de agregar: fondo hueso para no verse "recortados" */
.home-v2 .product-info .add-to-cart {
    background: transparent;
}

.home-v2 .v2-btn--ghost {
    background: transparent;
}

.home-v2 .brand-showcase-block {
    border-top-color: var(--v2-line);
}

/* Logo con fondo blanco: se integra al fondo hueso */
.home-v2 .logo,
.home-v2 .mobile-nav-logo,
.home-v2 .v2-footer-brand img {
    mix-blend-mode: multiply;
}

/* ---------- Carrusel de ofertas ---------- */
.home-v2 .v2-bento-offer {
    display: block;
    padding: 0;
}

.v2-offer-count {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--v2-muted);
    font-variant-numeric: tabular-nums;
}

.v2-offer-slides {
    position: absolute;
    inset: 0;
}

.v2-offer-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 16px;
    padding: 44px 22px 34px;
    color: var(--v2-ink);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(14px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}

.v2-offer-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.v2-offer-slide:focus-visible {
    outline: 2px solid var(--v2-ink);
    outline-offset: -6px;
    border-radius: 24px;
}

.home-v2 .v2-offer-media {
    grid-row: auto;
    height: 100%;
}

.v2-offer-slide .v2-offer-info {
    gap: 8px;
}

.v2-offer-slide .v2-offer-cta {
    margin-top: 6px;
}

.v2-offer-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
}

.v2-offer-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d5cfc6;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.v2-offer-dots button[aria-selected="true"] {
    width: 20px;
    background: var(--v2-ink);
}

@media (prefers-reduced-motion: reduce) {
    .v2-offer-slide { transition: none; transform: none; }
}

@media (max-width: 900px) {
    .v2-offer-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        gap: 8px;
        padding: 36px 14px 28px;
    }

    .home-v2 .v2-offer-media img { max-height: 110px; }
    .v2-offer-count { top: 11px; right: 12px; font-size: 0.68rem; }
    .v2-offer-dots { bottom: 9px; gap: 4px; }
    .v2-offer-dots button { width: 5px; height: 5px; }
    .v2-offer-dots button[aria-selected="true"] { width: 14px; }
}

/* Navegación del carrusel de ofertas: flechas pequeñas + barra de progreso */
.v2-offer-dots {
    left: 20px;
    right: 20px;
    bottom: 12px;
    align-items: center;
    gap: 10px;
    transform: none;
}

.v2-offer-nav {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 1px solid var(--v2-line);
    border-radius: 50%;
    background: var(--v2-card);
    color: var(--v2-ink);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

.v2-offer-nav:hover {
    background: var(--v2-ink);
    border-color: var(--v2-ink);
    color: #fff;
}

.v2-offer-progress {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: var(--v2-line);
    overflow: hidden;
}

.v2-offer-progress span {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: var(--v2-ink);
    transform-origin: left center;
    animation: v2-offer-progress 3s linear forwards;
}

.v2-bento-offer.is-paused .v2-offer-progress span {
    animation-play-state: paused;
}

@keyframes v2-offer-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .v2-offer-progress { display: none; }
}

.v2-offer-slide {
    padding-bottom: 46px;
}

@media (max-width: 900px) {
    .v2-offer-dots { left: 10px; right: 10px; bottom: 8px; gap: 6px; }
    .v2-offer-nav { width: 24px; height: 24px; font-size: 0.8rem; }
    .v2-offer-slide { padding-bottom: 36px; }
}

.v2-offer-dots .v2-offer-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid var(--v2-line);
    border-radius: 50%;
    background: var(--v2-card);
    color: var(--v2-ink);
}

.v2-offer-dots .v2-offer-nav:hover {
    width: 26px;
    background: var(--v2-ink);
    border-color: var(--v2-ink);
    color: #fff;
}

@media (max-width: 900px) {
    .v2-offer-slide { grid-template-rows: 96px auto; align-items: start; }
    .home-v2 .v2-offer-media { height: 96px; justify-content: flex-start; }
    .home-v2 .v2-offer-media img { height: 96px; width: auto; max-width: 100%; max-height: 96px; margin: 0 auto; }
    .v2-offer-dots .v2-offer-nav,
    .v2-offer-dots .v2-offer-nav:hover { width: 24px; height: 24px; }
    .v2-offer-slide .v2-offer-cta { display: none; }
}

@media (max-width: 900px) {
    .v2-offer-slide { grid-template-rows: 70px auto; padding-top: 32px; }
    .home-v2 .v2-offer-media,
    .home-v2 .v2-offer-media img { height: 70px; max-height: 70px; }
    .v2-offer-slide .v2-offer-info { gap: 4px; }
    .v2-offer-slide .v2-offer-info strong { -webkit-line-clamp: 2; font-size: 0.8rem; }
    .v2-offer-badge { font-size: 0.68rem; padding: 3px 7px; }
}

/* Flechas del carrusel de ofertas: mobile-polish.css da min-height: 40px a todos los botones en
   celular y las estiraba en óvalos altos que tapaban el precio */
.v2-offer-dots .v2-offer-nav {
    min-height: 0;
}

/* Celulares angostos (Samsung ~360 px): imagen más baja para que el precio no llegue a las flechas */
@media (max-width: 400px) {
    .v2-offer-slide { grid-template-rows: 56px auto; padding-top: 28px; }
    .home-v2 .v2-offer-media,
    .home-v2 .v2-offer-media img { height: 56px; max-height: 56px; }
}

/* ---------- Portada: carrusel de videos ----------
   Dos <video> superpuestos: el activo se ve y el otro precarga el siguiente.
   Al terminar un video entra el siguiente con un fundido. */
.v2-bento-video video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.v2-bento-video video.is-active {
    opacity: 1;
}

.v2-bento-caption {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.v2-bento-caption.is-changing {
    opacity: 0;
    transform: translateY(6px);
}

/* Barras de progreso (una por video) */
/* Barra de avance pegada al borde inferior del video (las esquinas redondeadas la recortan) */
.v2-hero-steps {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    gap: 3px;
}

.v2-hero-steps[hidden] {
    display: none;
}

.v2-hero-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.v2-hero-step span {
    position: relative;
    display: block;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
}

.v2-hero-step span::after {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--progress, 0%);
    background: #fff;
}

.v2-hero-step.is-done span::after {
    width: 100%;
}

.v2-hero-step:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .v2-bento-video video,
    .v2-bento-caption { transition: none; }
}

/* Un video de la portada puede no tener texto o enlace */
.v2-bento-caption[hidden],
.v2-bento-caption [hidden] {
    display: none;
}

/* ---------- Mercado Libre (junto a Instagram y en el pie) ---------- */
.v2-social-btn--ml {
    border-color: #ffe600;
    background: #ffe600;
    color: #2d3277;
}

.v2-social-btn--ml img {
    display: block;
    width: 30px;
    height: auto;
}

.v2-social-btn--ml:hover {
    border-color: #fff;
    background: #fff;
    color: #2d3277;
}

.home-v2 .v2-footer-social a.v2-footer-ml img {
    display: block;
    width: 26px;
    height: auto;
}

.home-v2 .v2-footer-social a.v2-footer-ml:hover {
    border-color: #2d3277 !important;
    background: #ffe600 !important;
}

/* Enlace dentro del texto de contacto */
.v2-footer-col p a {
    display: inline;
    margin: 0;
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Compra por marca: sin líneas separadoras (en celular podían confundirse con un buscador);
   la separación entre marcas la da el espacio */
.home-v2 .brand-showcase-block {
    border-top: 0;
    padding-top: 36px;
}

.home-v2 .v2-section-head + .brand-showcase-block,
.home-v2 #productos-section .brand-showcase-block:first-of-type {
    padding-top: 20px;
}

/* Botón "Ver la línea completa" de la portada: área táctil mínima en celular */
.v2-chip-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}

/* En celular la franja de pasos del video (14 px, abajo) tapaba parte del botón: el texto sube
   por encima de esa franja y queda sobre ella */
/* Pasos del video: 24 px de área táctil (WCAG 2.2); la barra visible sigue siendo fina porque se
   alinea abajo (justify-content: flex-end) */
.v2-hero-step { height: 24px; }

@media (max-width: 900px) {
    .v2-bento-caption { bottom: 30px; z-index: 3; }
}
