*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* Catchup Brand Colors */
    --brand-red: #bf1b21;
    --brand-yellow: #fbc823;
    --brand-green: #27ae60;
    --white: #ffffff;
    --text-dark: #333333;
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.app-container {
    max-width: 1200px; /* Adjust based on mobile vs desktop focus */
    margin: 0 auto;
    padding: 20px;
}

/* Sticky Menu Categories Bar */
.menu-categories-bar {
    background-color: rgba(255, 255, 255, 0.95); /* Slight transparency */
    backdrop-filter: blur(10px); /* Glassmorphism premium effect */
    position: sticky;
    top: 80px; /* Docks right under the main header */
    z-index: 99;
    padding: 10px 20px; /* Made the bar much thinner vertically */
    margin: 0 -20px; /* Overrides the app-container padding so it touches the edges */
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* Beautiful floating shadow */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.menu-categories-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.menu-category-list {
    list-style: none;
    display: flex;
    justify-content: center; /* Center aligned */
    gap: 10px;
    white-space: nowrap;
}

.cat-item {
    color: var(--text-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px; /* Smaller font to fit better */
    cursor: pointer;
    padding: 6px 16px; /* Smaller padding to make it thinner */
    border: 2px solid var(--brand-yellow);
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-item:hover, .cat-item.active {
    background-color: var(--brand-yellow);
    color: #000; 
    transform: translateY(-3px); /* Float up gently */
    box-shadow: 0 6px 12px rgba(251, 200, 35, 0.4); /* Yellow glow */
}

/* Nav Arrows for sticky bar */
.nav-arrow {
    background: transparent;
    border: none;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.nav-arrow:hover {
    color: var(--brand-red);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px); /* Beautiful background blur */
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 550px; /* Made it wider horizontally */
    max-height: 95vh; /* Allow it to be much longer vertically to fit everything comfortably */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background-color: var(--brand-red);
    padding: 20px;
    text-align: center;
}

.modal-logo {
    height: 45px;
}

.modal-body {
    padding: 30px;
    text-align: center;
    overflow-y: auto; /* Adds scrollable space instead of growing infinitely vertically */
}

.modal-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.order-type-toggle {
    display: flex;
    background-color: #f5f5f5;
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 25px;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.toggle-btn.active {
    background-color: var(--brand-yellow);
    color: #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.use-location-btn {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px solid var(--brand-yellow);
    color: #c99b08; /* Darker yellow for text contrast */
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.use-location-btn:hover {
    background-color: var(--brand-yellow);
    color: #000;
}

.status-msg {
    font-size: 12px;
    margin-bottom: 15px;
    min-height: 18px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--brand-red);
}

.modal-footer {
    padding: 20px 30px;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.modal-submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--brand-red);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.modal-submit-btn:hover {
    background-color: #a0151b;
    box-shadow: 0 4px 12px rgba(191, 27, 33, 0.3);
}

/* Branch Location Card */
.branch-location-card {
    background-color: #fffcf0;
    border: 1px solid #ffecb3;
    border-radius: 12px;
    padding: 15px;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.branch-icon-container {
    background-color: #ffedcc;
    color: #e5a700; /* Darker yellow for contrast */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.branch-info-container {
    display: flex;
    flex-direction: column;
}

.branch-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.branch-address {
    font-family: var(--font-body);
    font-size: 13px;
    color: #555;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.map-link-text {
    color: #e5a700;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.map-link-text:hover {
    color: #b88600;
}

/* Menu Sections & Grid */
.menu-content {
    padding: 30px 0 60px 0;
}

.menu-section {
    margin-bottom: 50px;
    scroll-margin-top: 140px; /* Offset so header doesn't cover title when clicked */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px; /* Dramatic large size */
    font-weight: 800;
    letter-spacing: -1.5px; /* Tighter for a modern, bold look */
    text-transform: uppercase;
    margin-bottom: 35px;
    color: #000; /* Pitch black */
    display: inline-block;
    position: relative;
    border-bottom: none;
    padding-bottom: 0;
}

/* Dramatic red underline to anchor the black text */
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 6px;
    background-color: var(--brand-red);
    margin-top: 8px;
    border-radius: 3px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.food-card {
    background-color: var(--white);
    border: 1px solid var(--brand-yellow);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.food-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f1f1f1; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.food-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.food-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.food-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1; /* Pushes price to the bottom */
}

.food-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-weight: 800;
    font-size: 18px;
    color: var(--brand-red);
}

.add-btn {
    background-color: var(--brand-yellow);
    color: #000;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(251, 200, 35, 0.4);
}

.add-btn:hover {
    transform: scale(1.15);
    background-color: var(--brand-red);
    color: var(--white);
    box-shadow: 0 3px 8px rgba(191, 27, 33, 0.4);
}

a.cat-item {
    text-decoration: none;
    display: inline-block;
}

/* Footer Styles */
.site-footer {
    background-color: #111; /* Very dark background to anchor the design */
    color: #f1f1f1;
    padding: 60px 0 0 0;
    margin-top: 40px;
    font-family: var(--font-body);
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); 
}

.footer-desc {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #222;
    color: var(--brand-yellow);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background-color: var(--brand-yellow);
    color: #000;
    transform: translateY(-3px);
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--brand-yellow);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--brand-red);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--brand-red);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #0a0a0a;
    border-top: 1px solid #222;
}

.footer-bottom p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* ==========================================================================
   Product Detail Modal Styles
   ========================================================================== */
.product-modal-content {
    background-color: var(--white);
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    height: auto;
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

/* Desktop layout */
@media (min-width: 768px) {
    .product-modal-content {
        flex-direction: row;
        height: 80vh;
    }
}

/* Left Column: Image */
.pm-image-col {
    position: relative;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .pm-image-col {
        flex: 1; /* Takes 50% width on desktop */
        min-height: auto;
    }
}

.pm-image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.pm-image-title {
    position: relative;
    z-index: 2;
    color: var(--brand-yellow);
    font-size: 36px;
    font-weight: 800;
    padding: 20px 30px;
    margin: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0 #111; /* Edgy text shadow */
}

/* Right Column: Info & Controls */
.pm-info-col {
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

@media (min-width: 768px) {
    .pm-info-col {
        flex: 1;
        overflow-y: auto;
    }
}

.pm-top-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.pm-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--brand-yellow);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(251, 200, 35, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.pm-action-btn:hover {
    transform: scale(1.1);
}

.pm-action-btn.btn-close {
    background-color: white;
    color: var(--brand-red);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.pm-scroll-content {
    padding: 30px;
    flex: 1;
    padding-bottom: 20px;
}

.pm-price {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #111; /* Clean black */
    font-family: var(--font-heading);
}

.pm-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Addons Section - Clean & Elegant */
.pm-addons-section {
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.pm-addons-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.pm-addons-header h4 {
    margin: 0;
    font-size: 16px;
    color: #111;
    font-weight: 700;
}

.badge-optional {
    background-color: #fde8e8;
    color: var(--brand-red);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.pm-addon-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pm-addon-row:hover {
    background-color: #fafafa;
}

.pm-addon-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pm-checkbox {
    width: 22px;
    height: 22px;
    accent-color: var(--brand-red);
    margin-right: 15px;
    cursor: pointer;
}

.pm-addon-name {
    flex: 1;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.pm-addon-price {
    font-weight: 700;
    font-size: 14px;
    color: #111;
}

/* Special Instructions */
.pm-special-instructions h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.pm-textarea {
    width: 100%;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    resize: none;
}

.pm-textarea:focus {
    outline: none;
    border-color: var(--brand-yellow);
}

/* Sticky Footer */
.pm-sticky-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px 30px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
}

.pm-qty-selector {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 30px;
    padding: 5px;
    border: 1px solid #eee;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s, transform 0.1s;
}

.qty-btn:hover {
    background-color: #f1f1f1;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-num {
    width: 35px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #111;
}

.pm-add-cart-btn {
    background-color: var(--brand-yellow);
    color: #111;
    border: none;
    border-radius: 30px;
    padding: 14px 25px;
    flex: 1;
    margin-left: 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(251, 200, 35, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pm-add-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 200, 35, 0.4);
}

/* ==========================================================================
   Cart Drawer Styles
   ========================================================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 100%;
    height: 100vh;       /* Fallback for older browsers */
    height: 100dvh;      /* Dynamic viewport height - accounts for mobile browser bar */
    background-color: #f9f9f9;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.cart-drawer.open {
    transform: translateX(0); /* Slide in */
}

.cart-header {
    background-color: var(--brand-red);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-close-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cart-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
}

/* Individual Cart Item */
.cart-item {
    background: white;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0; /* Image placeholder */
    background-image: linear-gradient(45deg, #f0f0f0 25%, #e8e8e8 25%, #e8e8e8 50%, #f0f0f0 50%, #f0f0f0 75%, #e8e8e8 75%, #e8e8e8 100%);
    background-size: 20px 20px;
    border-radius: 10px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 24px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 800;
    font-size: 16px;
    color: #111;
    margin: 0 0 5px 0;
    font-family: var(--font-heading);
}

.cart-item-price {
    font-weight: 700;
    color: #555;
    margin: 0;
    font-size: 14px;
}

.cart-item-addons {
    font-size: 12px;
    color: #888;
    margin: 5px 0 0 0;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    background: #fdfaf0;
    border-radius: 20px;
    border: 1px solid #f2e3cc;
    padding: 3px;
}

.cart-item-qty button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #333;
}

.cart-item-qty span {
    width: 25px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-red);
}

/* Add more items button */
.add-more-items-btn {
    width: 100%;
    padding: 15px;
    border: 2px dashed #f2e3cc;
    background: transparent;
    color: var(--brand-yellow);
    font-weight: 700;
    font-size: 16px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.add-more-items-btn:hover {
    background: #fffdf5;
}

/* Cross sell section */
.cross-sell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 15px 0;
}

.cross-sell-header h4 {
    font-size: 16px;
    margin: 0;
    color: #111;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-yellow);
    border: none;
    color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(251, 200, 35, 0.4);
    transition: transform 0.2s, background-color 0.2s;
    z-index: 10;
}

.scroll-arrow.arrow-left {
    left: -10px;
}

.scroll-arrow.arrow-right {
    right: -10px;
}

.scroll-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: #f0c01a;
}

.cross-sell-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.cross-sell-scroll::-webkit-scrollbar {
    display: none;
}

.cross-sell-card {
    min-width: 120px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
}

.cross-sell-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px auto;
    background-color: #f0f0f0; /* Image placeholder */
    background-image: linear-gradient(45deg, #f0f0f0 25%, #e8e8e8 25%, #e8e8e8 50%, #f0f0f0 50%, #f0f0f0 75%, #e8e8e8 75%, #e8e8e8 100%);
    background-size: 20px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
}

.cross-sell-price {
    font-weight: 800;
    color: #111;
    margin: 0;
    font-size: 14px;
}

.cross-sell-name {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
}

.cross-sell-add {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-yellow);
    border: none;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(251, 200, 35, 0.4);
    cursor: pointer;
}

/* Cart Footer */
.cart-footer {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.checkout-btn {
    width: 100%;
    position: relative;
    overflow: hidden;
    
    /* Dark Glossy Effect */
    background: linear-gradient(to bottom, #e53935 0%, #b71c1c 100%);
    border: none; /* Removed the weird outline */
    box-shadow: 
        inset 0 -3px 6px rgba(0, 0, 0, 0.25), /* Subtle dark bottom edge for depth */
        0 8px 25px rgba(183, 28, 28, 0.4); /* Outer glow */
    
    color: white;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Moving shine animation */
.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite; /* Slowed down significantly */
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(183, 28, 28, 0.6);
}

/* ==========================================================================
   Mobile Responsiveness (Media Queries)
   ========================================================================== */
@media (max-width: 768px) {
    /* Decrease Section Title size only on mobile */
    .section-title {
        font-size: 26px !important;
        margin-bottom: 20px !important;
    }
    .section-title::after {
        width: 40px !important;
        height: 4px !important;
    }

    /* Header & Navigation */
    .header-content {
        flex-direction: row;
        padding: 5px 8px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .header-left {
        width: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px; /* Tighter gap */
    }

    #header-clipart, #brand-logo {
        height: 28px !important;
    }

    /* Shrink and show contact info */
    .phone-link, .social-links {
        display: flex !important;
    }
    
    .phone-link {
        font-size: 10px !important;
        padding: 4px 6px !important;
        border-width: 1px !important;
        margin-right: 10px !important; /* Pushes it to the left */
    }
    
    .social-links {
        gap: 5px !important;
        margin-left: 0 !important;
    }
    
    .social-icon {
        font-size: 14px !important;
    }
    
    .cart-btn img {
        height: 28px !important;
    }
    
    /* Category Sticky Nav */
    .menu-categories-bar {
        padding: 5px 0;
    }
    
    .menu-category-list {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        justify-content: flex-start; /* Fixes left-side cutoff */
        gap: 8px;
        flex: 1; /* Take up remaining space between arrows */
        min-width: 0; /* CRITICAL: Allows flex item to shrink and scroll internally */
    }
    
    .menu-category-list::-webkit-scrollbar {
        display: none; /* Hide scrollbar Webkit */
    }
    
    .cat-item {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* Hero Banner & Layout */
    .app-container {
        padding: 10px;
    }
    
    .promo-banner {
        padding: 15px 10px;
    }
    
    .promo-content h1 {
        font-size: 24px;
    }

    /* Food Grid */
    .food-grid {
        grid-template-columns: 1fr 1fr; /* Two items per row on mobile */
        gap: 10px;
    }

    .food-img-placeholder {
        /* aspect-ratio handles this automatically now, no need for fixed height */
    }
    
    .food-info {
        padding: 10px;
    }
    
    .food-info h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .food-info p {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .price {
        font-size: 14px;
    }
    
    .add-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    /* Product Modal */
    .product-modal-content {
        flex-direction: column;
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }
    
    .pm-image-col {
        width: 100%;
        min-height: 200px;
        flex: 0 0 200px;
    }
    
    .pm-info-col {
        width: 100%;
    }
    
    .pm-scroll-content {
        padding: 15px;
    }

    /* Location Modal */
    .modal-content {
        width: 90%;
        padding: 15px;
    }
    
    .modal-header img {
        height: 40px !important;
    }
    
    .modal-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .order-type-toggle {
        flex-direction: row;
    }

    /* Cart Drawer - transform approach works on all sizes, no override needed */

    /* Footer */
    .site-footer {
        padding: 25px 0 0 0;
        margin-top: 15px;
    }
    .menu-categories-bar {
        width: calc(100% + 20px);
        margin: 0 -10px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 0 15px;
        text-align: left;
    }
    
    .footer-brand {
        display: contents; /* Unbox to place children in grid */
    }
    
    .footer-logo {
        grid-column: 1 / span 2;
        grid-row: 1;
        height: 35px;
        margin-bottom: 5px;
        justify-self: center; /* Center horizontally across the 2 columns */
    }
    
    .footer-desc {
        display: none; /* Hide on mobile to save space */
    }
    
    .footer-contact {
        grid-column: 1;
        grid-row: 2;
    }
    
    .footer-socials {
        grid-column: 1;
        grid-row: 3;
        justify-content: flex-start;
        align-self: start;
        margin-top: 0;
    }
    
    .footer-links {
        grid-column: 2;
        grid-row: 2 / span 2;
    }
    
    .footer-socials a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .footer-links h4, .footer-contact h4 {
        font-size: 14px;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }
    
    .footer-links h4::after, .footer-contact h4::after {
        left: 0;
        transform: none;
    }
    
    .footer-links a, .footer-contact p {
        font-size: 11px;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 10px;
        margin-top: 15px;
    }
}
/* Header Styles */
.header-brand {
    background-color: var(--brand-red);
    color: var(--white);
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0; /* Reduced to bring items closer */
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
}

.social-icon {
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s, color 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    color: var(--brand-yellow);
}

/* Phone Link Styles */
.phone-link {
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 50px; /* Circular pill outline */
    padding: 6px 14px;
    font-size: 15px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.phone-link:hover {
    background-color: var(--white);
    color: var(--brand-red);
}

/* Cart Button Styles */
.cart-btn {
    text-decoration: none;
    font-size: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.cart-btn:hover {
    transform: scale(1.1);
}

.cart-btn:active {
    transform: scale(0.95);
}

.cart-count {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo-link {
    display: inline-block;
}

#header-clipart {
    height: 50px; /* Base height so header doesn't grow */
    width: auto;
    transform: scale(1.5); /* Enlarge visually */
    margin-right: 0px; /* Adjusting gap to nudge the logo right */
}

#main-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

#brand-logo {
    height: 50px; /* Constrain the logo height to fit nicely in the header */
    width: auto;
    display: block;
}

/* Sticky Categories Bar */
.sticky-categories {
    background-color: var(--brand-green);
    position: sticky;
    top: 80px; /* Sits right below the 80px header */
    z-index: 99;
    padding: 12px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.category-list {
    list-style: none;
    display: flex;
    gap: 15px;
    white-space: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.category-list li {
    color: var(--white);
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-list li.active, .category-list li:hover {
    background-color: var(--white);
    color: var(--brand-green);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Hide scrollbar for category list */
.sticky-categories::-webkit-scrollbar {
    display: none;
}
.sticky-categories {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hero Carousel */
.hero-carousel {
    width: 100%;
    height: 500px; /* Increased height for a massive hero banner */
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.carousel-track {
    display: flex;
    width: 200%; /* For 2 slides */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--brand-yellow);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.carousel-slide h2 {
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 800;
}

.carousel-slide p {
    font-size: 18px;
    font-weight: bold;
}

.slide-1 {
    background: url('catchupcarasoul1.jpg') center/cover no-repeat;
}

.slide-2 {
    background: url('catchupcarasoul2.jpg') center/cover no-repeat;
}



/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Makes the image a perfect circle */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive Design for Mobile Phones */
@media (max-width: 768px) {
    .app-container {
        padding: 10px;
    }

    .header-brand {
        padding: 10px 15px;
    }

    #header-clipart {
        height: 40px; /* Scale base height down slightly */
        transform: scale(1.3);
        margin-right: -5px;
    }

    #brand-logo {
        height: 40px; /* Scale text logo down */
    }

    .cart-btn {
        font-size: 24px;
    }

    .phone-link {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* Adjust Hero size for mobile */
    .hero-carousel {
        height: 220px; 
        border-radius: 10px;
        margin-bottom: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    .carousel-track {
        transform: none !important;
        transition: none !important;
    }
    
    .carousel-slide {
        scroll-snap-align: start;
    }

    /* Force images to fill all space without white edges */
    .slide-1, .slide-2 {
        background-size: 100% 100%;
        background-position: center;
    }

    .carousel-btn {
        display: none !important;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
    .menu-categories-bar {
        top: 60px; /* Header is shorter on mobile */
        margin: 0 -10px; 
        padding: 10px; /* Thinner on mobile too */
        justify-content: flex-start; /* Often better on mobile if they overflow, but flex handles it */
        width: calc(100% + 20px);
    }
    
    .nav-arrow {
        display: none !important;
    }

    .cat-item {
        flex-shrink: 0;
    }

    /* Adjust floating WhatsApp */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}
