/* Explain: Styling for UI components, including hero banner, buttons, and cards. */
.hero-panel {
    position: relative;
    overflow: hidden;
}

/* Fundo do banner de ofertas — azul-marinho mais claro, com gradiente moderno */
.hero-banner-bg {
    background-color: #0A3161;
    background-image: linear-gradient(135deg, #0A3161 0%, #12508F 55%, #1B63B0 100%);
}

.btn-primary {
    min-height: 3rem;
    border-radius: var(--radius-soft);
    background: var(--brand-orange);
    color: #ffffff;
    border: 1px solid var(--brand-orange);
    padding-inline: 1.5rem;
    transition: all 300ms ease;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--brand-orange-hover);
    border-color: var(--brand-orange-hover);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-secondary {
    min-height: 3rem;
    border-radius: var(--radius-soft);
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    padding-inline: 1.5rem;
    transition: all 300ms ease;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--brand-blue);
    color: #ffffff;
}

.store-card {
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    box-shadow: var(--shadow-card);
    transition: box-shadow 300ms ease, transform 300ms ease;
}

.store-card:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}

.product-card img {
    transition: transform 400ms ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.toast-store {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 80;
    transform: translateX(-50%) translateY(1rem);
    opacity: 0;
    pointer-events: none;
    transition: all 240ms ease;
}

.toast-store.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.mobile-sticky-cta {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* Carrossel de ofertas sem dependência externa */
.hero-swiper {
    overflow: hidden;
    position: relative;
}

.hero-swiper .swiper-wrapper {
    display: flex;
    transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-swiper .swiper-slide {
    flex: 0 0 100%;
    opacity: 0.42;
    transition: opacity 900ms ease;
}

.hero-swiper .swiper-slide.is-active {
    opacity: 1;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    z-index: 30;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transform: translateY(-50%);
    transition: all 260ms ease;
    backdrop-filter: blur(8px);
}

.hero-swiper .swiper-button-prev {
    left: 1rem;
}

.hero-swiper .swiper-button-next {
    right: 1rem;
}

.hero-swiper .swiper-button-prev::after {
    content: '‹';
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
}

.hero-swiper .swiper-button-next::after {
    content: '›';
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:focus-visible,
.hero-swiper .swiper-button-prev:focus-visible {
    border-color: var(--brand-orange);
    background: var(--brand-orange);
    color: #ffffff;
}

.hero-swiper .swiper-pagination {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transform: translateX(-50%);
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    cursor: pointer;
    opacity: 0.5;
    transition: all 300ms ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 24px;
    background-color: var(--brand-orange);
    opacity: 1;
}

@media (min-width: 1024px) {
    .hero-swiper .swiper-pagination {
        bottom: 1.5rem;
    }

    .hero-swiper .swiper-button-prev {
        left: 2rem;
    }

    .hero-swiper .swiper-button-next {
        right: 2rem;
    }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-scroll {
    animation: scroll 20s linear infinite;
    width: max-content;
}
.hover\:animation-paused:hover {
    animation-play-state: paused;
}