/* ---- Hero ---- */
.hero {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    background: #e7d8ca;
    isolation: isolate;
}
.hero__track {
    display: flex;
    transition: transform .65s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.hero__slide {
    position: relative;
    flex: 0 0 100%;
    min-height: clamp(540px, calc(100vh - 215px), 760px);
    overflow: hidden;
}
.hero__imagen,
.hero__velo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero__imagen {
    z-index: 0;
    object-fit: contain;
    object-position: right center;
}
.hero__velo {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgb(var(--hero-fondo-rgb, 231, 216, 202)) 0%,
            rgb(var(--hero-fondo-rgb, 231, 216, 202)) 43%,
            rgba(var(--hero-fondo-rgb, 231, 216, 202), .96) 49%,
            rgba(var(--hero-fondo-rgb, 231, 216, 202), .78) 57%,
            rgba(var(--hero-fondo-rgb, 231, 216, 202), .42) 66%,
            rgba(var(--hero-fondo-rgb, 231, 216, 202), 0) 78%
        ),
        linear-gradient(0deg, rgba(18, 16, 16, .08), transparent 35%);
}
.hero__contenido {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: inherit;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}
.hero__texto {
    width: min(560px, 48%);
    color: #171515;
}
.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1rem;
    color: #8d4e67;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.hero__eyebrow::before {
    content: '';
    width: 42px;
    height: 1px;
    background: currentColor;
}
.hero__titulo {
    max-width: 10ch;
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3.2rem, 5.4vw, 6rem);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.hero__subtitulo {
    max-width: 46ch;
    margin: 1.5rem 0 2rem;
    color: #4d4644;
    font-size: clamp(.95rem, 1.25vw, 1.1rem);
    line-height: 1.7;
}
.hero__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    min-height: 52px;
    padding: .85rem 1.6rem;
    border: 1px solid #171515;
    border-radius: 999px;
    background: #171515;
    color: #fff;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hero__boton:hover,
.hero__boton:focus-visible {
    border-color: var(--color-primario);
    background: var(--color-primario);
    color: #171515;
    transform: translateY(-2px);
}
.hero__boton span {
    font-size: 1.15rem;
    line-height: 1;
}
.hero__detalle {
    margin: 1.2rem 0 0;
    color: #716866;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hero__dots {
    position: absolute;
    z-index: 3;
    right: clamp(1.5rem, 5vw, 5rem);
    bottom: 1.5rem;
    display: flex;
    gap: .5rem;
}
.hero__dot {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.hero__dot.is-activo {
    width: 48px;
    background: #171515;
}

@media (max-width: 900px) {
    .hero__slide {
        min-height: clamp(560px, 78vh, 700px);
    }
    .hero__imagen {
        object-fit: cover;
        object-position: 64% center;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hero__velo {
        background:
            linear-gradient(90deg, rgba(248, 243, 237, .93) 0%, rgba(248, 243, 237, .68) 48%, rgba(248, 243, 237, .08) 82%),
            linear-gradient(0deg, rgba(248, 243, 237, .92) 0%, transparent 48%);
    }
    .hero__texto {
        width: min(520px, 62%);
    }
}

@media (max-width: 620px) {
    .hero__slide {
        min-height: 640px;
    }
    .hero__imagen {
        object-position: 68% center;
    }
    .hero__velo {
        background:
            linear-gradient(0deg, rgba(248, 243, 237, .98) 0%, rgba(248, 243, 237, .88) 38%, rgba(248, 243, 237, .08) 72%),
            linear-gradient(90deg, rgba(248, 243, 237, .28), transparent 80%);
    }
    .hero__contenido {
        align-items: flex-end;
        padding: 3rem 1.35rem 4.5rem;
    }
    .hero__texto {
        width: 100%;
    }
    .hero__titulo {
        max-width: 11ch;
        font-size: clamp(2.7rem, 13vw, 4rem);
    }
    .hero__subtitulo {
        max-width: 34ch;
        margin: 1rem 0 1.35rem;
        font-size: .9rem;
        line-height: 1.55;
    }
    .hero__detalle {
        display: none;
    }
    .hero__dots {
        right: 1.35rem;
        bottom: 1.5rem;
    }
}

/* ---- Categorías destacadas ---- */
.categorias-destacadas__grid {
    max-width: var(--max-width);
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 0 1.5rem;
}
.categorias-destacadas__item {
    text-align: center;
}
.categorias-destacadas__nombre {
    display: block;
    font-weight: 600;
    margin-top: .5rem;
}
.categorias-destacadas__ver-todos {
    font-size: .8rem;
    color: var(--color-primario);
}

/* ---- Colecciones (encabezado de la sección; la grilla de productos
   en sí vive en producto-card.css, que se comparte con Tienda/Favoritos) ---- */
.colecciones {
    /* Cuatro tarjetas de aproximadamente 260–270 px en escritorio, un tamaño
       equivalente al que alcanzan dentro del área de productos de Tienda. */
    max-width: 1200px;
    margin: 3.5rem auto;
    padding: 0 1.5rem;
}
.colecciones__titulo {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    letter-spacing: .05em;
}

/* ---- Banner promo ---- */
.banner-promo {
    position: relative;
    max-width: var(--max-width);
    margin: 3rem auto;
}
.banner-promo__texto {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}
.banner-promo__boton {
    display: inline-block;
    margin-top: 1rem;
    padding: .75rem 1.5rem;
    background: var(--color-primario);
    color: #fff;
}
