/* Explain: Styles for UI components including buttons, cards, badges, and chat elements. */
.btn-deal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: var(--neon-color);
    color: #050505;
    border: 1px solid var(--neon-color);
    padding-inline: 1.35rem;
    font-weight: 600;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-deal:hover,
.btn-deal:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--glow-neon);
}

.btn-outline-deal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: #0c1607;
    color: var(--neon-color);
    border: 1px solid rgba(57, 255, 20, 0.55);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-outline-deal:hover,
.btn-outline-deal:focus-visible {
    border-color: var(--neon-color);
    background: #13260a;
    box-shadow: var(--glow-neon);
}

.btn-champagne {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: var(--neon-color);
    color: #050505;
    border: 1px solid var(--neon-color);
    padding-inline: 1.35rem;
    font-weight: 600;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-champagne:hover,
.btn-champagne:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--glow-neon);
}

.editorial-card {
    border: 1px solid rgba(57, 255, 20, 0.18);
    background: rgba(16, 16, 16, 0.82);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.deal-card {
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft), var(--glow-neon);
}

.deal-card img {
    transition: transform 600ms ease;
}

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

.discount-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    border-radius: var(--radius-oval);
    background: var(--neon-color);
    color: #050505;
    padding: 0 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.category-chip {
    min-height: 2.75rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--surface-color);
    color: var(--text-muted);
    padding: 0.55rem 1.1rem;
    cursor: pointer;
    transition: all 240ms ease;
}

.category-chip:hover {
    border-color: var(--neon-color);
    color: var(--neon-color);
}

.category-chip.is-active {
    background: var(--neon-color);
    color: #050505;
    border-color: var(--neon-color);
}

.category-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--surface-color);
    text-align: center;
    transition: all 300ms ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 255, 20, 0.6);
    box-shadow: var(--shadow-card), var(--glow-neon);
}

.category-card::after {
    content: '';
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: -70%;
    width: 40%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 30%,
        rgba(255, 255, 255, 0.38) 50%,
        rgba(255, 255, 255, 0.05) 70%,
        transparent 100%
    );
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.category-card:hover::after,
.category-card:focus-visible::after {
    animation: category-shine 900ms ease-out;
}

@keyframes category-shine {
    0% {
        left: -70%;
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    100% {
        left: 135%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-card:hover::after,
    .category-card:focus-visible::after {
        animation: none;
    }
}

.coupon-box {
    border: 1.5px dashed var(--neon-color);
    border-radius: 1.25rem;
    background: rgba(57, 255, 20, 0.08);
}

.coupon-code {
    font-family: var(--font-heading);
    letter-spacing: 0.2em;
    font-weight: 700;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-oval);
    background: var(--neon-color);
    color: #050505;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    transition: transform 240ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.toast-deal {
    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-deal.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes whatsapp-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3.25rem;
    padding-inline: 1.1rem;
    border-radius: var(--radius-oval);
    background: #25D366;
    color: #050505;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(37, 211, 102, 0.4);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid #25D366;
    pointer-events: none;
    animation: whatsapp-ring 2.4s ease-out infinite;
}

.whatsapp-float::after {
    animation-delay: 1.2s;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(37, 211, 102, 0.55);
}

.cat-mascot {
    position: absolute;
    left: 50%;
    bottom: calc(100% - 2.5rem);
    z-index: 20;
    width: clamp(7rem, 16vw, 11rem);
    height: auto;
    transform: translateX(-50%);
    pointer-events: none;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.6));
}

.whatsapp-float-label {
    display: none;
}

@media (min-width: 640px) {
    .whatsapp-float-label {
        display: inline;
    }
}

.price-alert-box {
    border: 1px solid rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.05);
}

.price-alert-bell {
    background: rgba(57, 255, 20, 0.14);
    color: var(--neon-color);
}

.slider-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgba(57, 255, 20, 0.55);
    background: rgba(57, 255, 20, 0.06);
    color: var(--neon-color);
    cursor: pointer;
    transition: all 300ms ease;
}

.slider-nav:hover,
.slider-nav:focus-visible {
    background: rgba(57, 255, 20, 0.16);
    box-shadow: var(--glow-neon);
}

.slider-nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.guias-swiper .swiper-wrapper {
    align-items: stretch;
}

.guias-swiper .swiper-slide {
    height: auto;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    height: 2px;
    width: 0;
    border-radius: var(--radius-oval);
    background: var(--neon-color);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
    transition: width 320ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
    width: 100%;
}