/* Home: keeps the carousel stable without affecting the other page heroes. */
.page-home .hero-carousel-shell {
    gap: 16px;
    padding: clamp(34px, 4.8vw, 60px);
}

.page-home .hero-carousel-viewport {
    min-width: 0;
}

.page-home .hero-carousel-track {
    align-items: stretch;
    transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.page-home .hero-carousel-slide {
    display: grid;
    min-width: 0;
}

.page-home .hero-slide-grid {
    min-height: 430px;
}

.page-home .hero-copy {
    align-self: center;
    min-width: 0;
}

.page-home .hero-zorrito-image {
    margin: 0 auto;
    max-height: 370px;
    width: min(100%, 390px);
}

.page-home .home-hero-visual {
    align-self: stretch;
    display: grid;
    isolation: isolate;
    min-width: 0;
    place-items: center;
    position: relative;
}

.page-home .home-hero-visual::before {
    background: linear-gradient(145deg, rgba(191, 232, 249, 0.78), rgba(255, 218, 229, 0.58));
    border-radius: 48% 52% 46% 54% / 51% 48% 52% 49%;
    content: "";
    height: min(86%, 360px);
    position: absolute;
    transform: rotate(-5deg);
    width: min(92%, 390px);
    z-index: -1;
}

.page-home .home-hero-visual-favorites::before {
    background: linear-gradient(145deg, rgba(255, 230, 239, 0.9), rgba(248, 225, 202, 0.66));
    transform: none;
}

.page-home .home-hero-visual-store::before {
    background: linear-gradient(145deg, rgba(255, 228, 235, 0.88), rgba(255, 241, 216, 0.62));
    transform: rotate(4deg);
}

.page-home .home-hero-illustration {
    display: block;
    filter: drop-shadow(0 20px 22px rgba(118, 70, 85, 0.15));
    max-height: 330px;
    max-width: min(100%, 400px);
    object-fit: contain;
    position: relative;
    width: 100%;
}

.page-home .home-hero-visual-favorites .home-hero-illustration {
    height: 120%;
    max-height: none;
    max-width: none;
    transform: translateY(2%) rotate(-2deg);
    width: 120%;
}

.page-home .home-hero-visual-favorites {
    align-self: center;
    aspect-ratio: 1;
    border-radius: 50%;
    justify-self: center;
    min-height: 0;
    overflow: hidden;
    width: min(92%, 390px);
}

.page-home .home-order-counter {
    align-items: center;
    color: #8b6475;
    display: flex;
    font-size: .78rem;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    margin: 14px auto 0;
    text-align: center;
}

.page-home .home-order-counter i,
.page-home .home-order-counter strong {
    color: #fa5d89;
}

.page-home .home-hero-visual-favorites::before {
    height: 100%;
    width: 100%;
}

.page-home .hero-carousel-controls {
    margin-top: 2px;
}

.page-home .hero-carousel-dot {
    position: relative;
}

.page-home .hero-carousel-dot::before {
    content: "";
    inset: -9px;
    position: absolute;
}

@media (max-width: 920px) {
    .page-home .hero-carousel-shell {
        padding: 40px clamp(22px, 6vw, 44px) 30px;
    }

    .page-home .hero-slide-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        row-gap: 26px;
    }

    .page-home .hero-copy {
        margin: 0 auto;
        max-width: 680px;
        text-align: center;
    }

    .page-home .hero-badge {
        margin-inline: auto;
    }

    .page-home .hero-copy p {
        margin-inline: auto;
    }

    .page-home .hero-actions {
        justify-content: center;
    }

    .page-home .hero-zorrito-image {
        max-height: 300px;
        width: min(100%, 330px);
    }

    .page-home .home-hero-visual {
        min-height: 290px;
    }
}

@media (max-width: 640px) {
    .page-home .hero-carousel-shell {
        border-radius: 28px;
        padding: 28px 18px 22px;
    }

    .page-home .hero-slide-grid {
        gap: 20px;
    }

    .page-home .hero-zorrito-image {
        margin: 0 auto;
        max-height: 250px;
        width: min(100%, 230px);
    }

    .page-home .home-hero-visual {
        min-height: 230px;
    }

    .page-home .home-hero-visual::before {
        height: 220px;
        width: min(88%, 270px);
    }

    .page-home .home-hero-illustration {
        max-height: 218px;
        max-width: 260px;
    }

    .page-home .home-hero-visual-favorites {
        width: min(84vw, 280px);
    }

    .page-home .hero-carousel-controls {
        margin-top: 4px;
    }
}

@media (max-width: 380px) {
    .page-home .hero-carousel-shell {
        padding-inline: 14px;
    }

    .page-home .hero-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-carousel-track {
        transition: none;
    }
}
