html {
    font-size: 14px;
}

/* Prevent layout shift when virtual keyboard appears */
@supports (height: 100dvh) {
    html, body {
        height: 100dvh;
    }
}

/* Prevent iOS auto-zoom on input focus */
input, select, textarea {
    font-size: max(16px, 1em) !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.easymenus {
    font-size: 24px; /* Larger size */
    color: red; /* Custom color */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Shadow effect */
    opacity: 0.9; /* Slight transparency */
}


.custom-card {
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Soft shadow effect */
    transition: transform 0.3s ease-in-out; /* Hover effect */
    padding: 15px;
}

    .custom-card:hover {
        transform: scale(1.03); /* Slight zoom effect on hover */
    }

    .custom-card img {
        border-radius: 8px; /* Rounded image corners */
    }

.badge {
    padding-left: 9px;
    padding-right: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.label-warning[href],
.badge-warning[href] {
    background-color: #c67605;
}

#lblCartCount {
    font-size: 12px;
    background: #ff0000;
    color: #fff;
    padding: 0 5px;
    vertical-align: top;
    margin-left: -10px;
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.store-card {
    transition: border-color 0.3s ease-in-out;
}

.store-card:hover {
    border: 2px solid #dc3545; /* Red border on hover */
}

/* Hide footer on screen */
#printFooter {
    display: none;
}


@media print {
    /* Force <hr> to show during printing */
    hr {
        border: 0;
        border-top: 1px solid #000;
        height: 1px;
        margin: 20px 0;
        page-break-inside: avoid;
    }

    /* Print-safe footer */
    #printFooter {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 0;
        text-align: center;
        font-size: 12px;
        color: gray;
        background: white; /* Optional: in case your print bg is not white */
        border-top: 1px solid #ccc;
    }

    /* Avoid overlapping footer with content */
    body {
        margin-bottom: 60px; /* Leave space for the footer */
    }
}

.timer-container {
    width: 160px;
    height: 160px;
    position: relative;
}

.timer-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(green 0deg, grey 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    transition: background 0.3s ease;
}

#timer-text {
    color: #2c2c2c;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
}

    .mobile-bottom-nav .nav-item {
        flex: 1;
        text-align: center;
        font-size: 12px;
        color: #555;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .mobile-bottom-nav .nav-item i {
            font-size: 20px;
            margin-bottom: 2px;
            color: #b30000;
        }

        .mobile-bottom-nav .nav-item:hover {
            background-color: #f8f8f8;
        }

