/* Hilltop FastFoods - extras shared by every page (including the home page).
   Uses literal colours so it works with both the home page and the theme. */

/* Returning visitors skip the loading screen */
.hilltop-returning #preloader {
    display: none !important;
}

/* Empty price slots on meal cards are hidden until prices are added */
.meal-price:empty {
    display: none;
}

/* Room at the very end of the page so the floating buttons never cover the
   footer's last links (same colour as the footer's bottom bar) */
body:not([data-no-float])::after {
    content: '';
    display: block;
    height: 84px;
    background: #1d1715;
}

/* Floating WhatsApp + Call buttons */
.ht-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.ht-float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    min-width: 54px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ht-float-btn i {
    font-size: 1.35rem;
}

.ht-float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.ht-float-wa {
    background: #25d366;
    padding: 0 20px 0 16px;
}

.ht-float-call {
    background: #e8473f;
    width: 54px;
}

.ht-float-call i {
    font-size: 1.1rem;
}

/* Gentle pulse so the order button is noticed, once per visit */
.ht-float-wa {
    animation: htPulse 2.4s ease-out 2;
}

@keyframes htPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    100% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 10px 25px rgba(0, 0, 0, 0.25);
    }
}

/* On phones the WhatsApp button becomes a round icon */
@media (max-width: 600px) {
    .ht-float {
        right: 14px;
        bottom: 14px;
    }

    .ht-float-wa {
        width: 54px;
        padding: 0;
    }

    .ht-float-wa span {
        display: none;
    }
}

/* Order + PDF buttons on the menu page */
.ht-menu-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ht-btn-wa,
.ht-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

.ht-btn-wa {
    background: #25d366;
    color: #fff;
}

.ht-btn-wa:hover {
    background: #1eb457;
    transform: translateY(-3px);
}

.ht-btn-outline {
    color: #231a17;
    border: 2px solid #231a17;
}

.ht-btn-outline:hover {
    background: #231a17;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .ht-float-wa {
        animation: none;
    }
}
