/* Shared pill buttons. Preserve each surface's existing brand colors. */
:root {
    --button-radius: 999px;
    --button-height: 58px;
    --button-padding: 30px;
}

:is(.btn, .btn-nav, .btn-dark, .whatsapp-start-btn, .back-btn,
    .hero-text-link, .section-link, .stats-link, .cta-btn, .opt, .button) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 22px;
    box-sizing: border-box;
    min-height: var(--button-height) !important;
    max-width: 100%;
    padding: 15px var(--button-padding) !important;
    border-radius: var(--button-radius) !important;
    font-family: inherit;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    animation: none !important;
    box-shadow: none !important;
    transition: background-color 180ms ease, border-color 180ms ease,
        color 180ms ease, transform 180ms ease;
}

:is(.btn-primary, .btn-nav) {
    background: var(--accent-color, #45e5aa) !important;
    border: 2px solid var(--accent-color, #45e5aa) !important;
    color: #06110d !important;
}

:is(.btn-primary, .btn-nav):hover {
    background: #65ebba !important;
    border-color: #65ebba !important;
    transform: translateY(-1px);
}

:is(.btn-outline, .hero-text-link, .section-link, .stats-link) {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.52) !important;
    color: var(--text-primary, #fff) !important;
}

:is(.btn-outline, .hero-text-link, .section-link, .stats-link):hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--accent-color, #45e5aa) !important;
    transform: translateY(-1px);
}

/* One drawn arrow, including after loading labels are restored by forms. */
:is(.btn-primary, .btn-nav)::after {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M6 6h12v12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M6 6h12v12'/%3E%3C/svg%3E") center / contain no-repeat;
}

:is(.btn-primary, .btn-nav) > span[aria-hidden="true"] {
    display: none;
}

.nav-links :is(.btn, .btn-nav) {
    min-height: 46px !important;
    padding: 10px 22px !important;
    font-size: 0.875rem !important;
    gap: 14px;
}

.nav-links .btn-nav::before,
.nav-links .btn-nav::after {
    /* Navigation link underline rules must not become the button arrow. */
    position: static;
    transform: none;
}

.nav-links .btn-nav::before { display: none; }

.hero-buttons :is(.btn, .hero-text-link), .geo-actions .btn {
    min-height: 50px !important;
    padding: 12px 20px !important;
    font-size: 0.875rem !important;
    white-space: nowrap;
    width: auto !important;
    gap: 14px;
    flex-shrink: 0;
}

.hero-buttons, .geo-actions { flex-wrap: wrap; }
.hero-buttons { flex-direction: row !important; gap: 12px !important; }

:is(.btn, .btn-nav, .btn-dark, .whatsapp-start-btn, .back-btn,
    .hero-text-link, .section-link, .stats-link, .cta-btn, .opt, .button):focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

:is(.btn, .cta-btn, .opt):disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

@media (max-width: 600px) {
    :root { --button-height: 54px; --button-padding: 22px; }
    .hero-buttons :is(.btn, .hero-text-link), .geo-actions .btn {
        width: 100%;
        min-height: 58px !important;
        padding: 15px 24px !important;
        font-size: 1rem !important;
        flex-shrink: 1;
    }
    .hero-buttons :is(.btn, .hero-text-link) {
        width: auto !important;
        min-height: 44px !important;
        padding: 10px 10px !important;
        font-size: 0.6875rem !important;
        gap: 8px;
        flex-shrink: 0;
    }
    .hero-buttons .btn-primary::after { width: 14px; height: 14px; flex-basis: 14px; }
    .hero-buttons { gap: 8px !important; }
}

@media (max-width: 360px) {
    .hero-buttons { gap: 4px !important; }
    .hero-buttons .btn-primary::after { width: 10px; height: 10px; flex-basis: 10px; }
    .hero-buttons :is(.btn, .hero-text-link) {
        padding: 10px 2px !important;
        font-size: 0.625rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.btn, .btn-nav, .btn-dark, .whatsapp-start-btn, .back-btn,
        .hero-text-link, .section-link, .stats-link, .cta-btn, .opt, .button) {
        transition: none;
    }
}

/* Original WhatsApp glyphs downloaded from Meta's brand resource center. */
.whatsapp-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.whatsapp-official { display: block; width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.whatsapp-float .whatsapp-official { width: 34px; height: 34px; }
.whatsapp-start-btn .whatsapp-official { width: 26px; height: 26px; }
.social-whatsapp { background-image: url('../icons/whatsapp-white.svg') !important; }
.foods-whatsapp-icon { display: none; }

/* No decorative rules before introductory text. */
.eyebrow::before { content: none !important; display: none !important; }
