/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    font-size: 16px;
    background-color: yellow;
    color: #333;
    line-height: 1.6;
}

p {
    margin-bottom: 1rem;
}

/* Responsive media defaults */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Navbar Styles */
.navbar {
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: yellow;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 100%;
    width: auto;
    max-height: 100px;
    margin-right: 1rem;
    object-fit: contain;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: white;
}

.cafeteria-name {
    font-size: 2.2rem;
    font-weight: bold;
    color: green;
    font-family: "Algerian", "UnifrakturCook", cursive, serif;
}

.navbar-center {
    flex: 1;
    margin: 0 2rem;
    overflow: hidden;
}

.navbar-center marquee {
    font-size: 1rem;
    color: green;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: green;
    margin-right: 1.5rem;
    text-decoration: none;
}
.cart-icon:hover {
    color: #ff5252;
}

.login-btn {
    padding: 0.5rem 1rem;
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 1.5rem;
}

.login-btn:hover {
    background-color: #ff5252;
}

.hamburger-menu {
    flex-direction: column;
    cursor: pointer;
    display: flex;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: green;
    margin: 3px 0;
    transition: 0.4s;
}

/* Mobile Menu */
.mobile-menu {
    /* display: none; */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: fixed;
    top: 80px;
    right: 0;
    width: 250px;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu a {
    padding: 1rem;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-menu a:hover {
    background-color: green;
    color: white;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
}
@supports not (aspect-ratio: 16 / 9) {
    .video-container {
        height: 0;
        padding-top: 56.25%; /* 16:9 fallback */
    }
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: white;
    z-index: 2;
    pointer-events: none;
    padding-bottom: 2.5rem;
}
.video-overlay h1,
.video-overlay .menu-btn {
    pointer-events: auto;
}
.video-overlay h1 {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
    margin-bottom: 1.2rem;
    text-align: center;
}
.video-overlay .menu-btn {
    margin-bottom: 0;
}

/* Meals Section */
.meals-section {
    padding: 4rem 2rem;
    text-align: center;
}

.meals-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: green;
    letter-spacing: 0.5px;
}

.meals-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.meal-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s;
}

.meal-card:hover {
    transform: translateY(-10px);
    background-color: #ff5252;
}

.meal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.meal-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.meal-card p {
    padding: 0 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.meal-card .meal-qty {
    padding: 0 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.meal-card .meal-qty.low-stock {
    color: #f39c12;
    font-weight: bold;
}

.meal-card .meal-qty.out-of-stock {
    color: #e74c3c;
    font-weight: bold;
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.add-to-cart {
    padding: 0.7rem 1.5rem;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: yellow;
}
/* Meals Section */
.meats-section {
    padding: 4rem 2rem;
    text-align: center;
}

.meats-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: green;
}

.meats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.meat-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s;
}

.meat-card:hover {
    transform: translateY(-10px);
    background-color: #ff5252;
}

.meat-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.meat-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.meat-card p {
    padding: 0 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.meat-card .meal-qty {
    padding: 0 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.meat-card .meal-qty.low-stock {
    color: #f39c12;
    font-weight: bold;
}

.meat-card .meal-qty.out-of-stock {
    color: #e74c3c;
    font-weight: bold;
}

.price {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.add-to-cart {
    padding: 0.7rem 1.5rem;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: yellow;
}

/* Why Us Section */
.why-us {
    padding: 4rem 2rem;
    background-color: yellow;
    text-align: center;
}

.why-us h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    letter-spacing: 0.5px;
}

.reasons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.reason {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reason i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.reason h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reason p {
    color: #666;
}

.why-us .reason img {
    width: 100%;
    max-width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto 1rem auto;
}

/* Events Section */
.events-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f8f9fa;
}

.events-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: green;
    letter-spacing: 0.5px;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.event-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: auto;
    max-height: none;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(39, 174, 96, 0.15);
}

.event-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center top;
    flex-shrink: 0;
    display: block;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 10px;
    box-sizing: border-box;
}

.event-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.event-title {
    font-size: 1.4rem;
    color: #27ae60;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.event-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-date i {
    color: #27ae60;
}

.event-description {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.event-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-type {
    background: #e8f5e8;
    color: #27ae60;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-price {
    font-weight: 600;
    color: #e67e22;
    font-size: 1.1rem;
}

.book-event-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.book-event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.no-events {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-events i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .events-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .event-card {
        margin: 0 auto;
        max-width: 100%;
        min-height: 450px;
    }

    .event-image {
        height: 220px;
        padding: 8px;
    }

    .event-content {
        padding: 1.25rem;
    }

    .event-title {
        font-size: 1.2rem;
    }

    .event-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 2rem;
    text-align: center;
}

.social-icons {
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: green;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ff6b6b;
    transform: translateY(-2px);
}

.built-by {
    margin-top: 1rem;
    color: green;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-center {
        justify-content: center;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        min-height: unset;
        overflow: visible !important;
    }
    .navbar-left {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .navbar-right {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .navbar-center {
        display: none;
    }
    .about-body {
        flex-direction: column;
        align-items: center;
    }
    .moving-text {
        display: block !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 0.15rem 0.3rem;
        min-height: 38px;
        width: 100vw;
        box-sizing: border-box;
        gap: 0;
        overflow: hidden;
    }
    .navbar-left,
    .navbar-right {
        display: flex;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
        gap: 0.12rem;
    }
    .cafeteria-name {
        font-size: 1.05rem;
        max-width: 70px;
    }
    .logo {
        width: 32px;
        height: 32px;
        margin-right: 0.22rem;
    }
    .navbar-right {
        gap: 0.08rem;
        min-width: 0;
        flex-shrink: 1;
    }
    .cart-icon {
        font-size: 1.25rem;
        margin-right: 0.18rem;
    }
    .login-btn {
        padding: 0.22rem 0.55rem;
        font-size: 0.95rem;
        margin-right: 0.18rem;
        border-radius: 4px;
    }
    .hamburger-menu {
        margin-left: 0.01rem;
        width: 22px;
    }
    .bar {
        width: 22px;
        height: 2.5px;
    }
    /* Responsive images */
    img,
    .logo {
        max-width: 100%;
        height: auto;
    }
    /* Responsive containers */
    .meals-container,
    .team-container,
    .about-body,
    .menu-items,
    .cart-container {
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: stretch !important;
    }
    .meal-card,
    .team-member,
    .about-image,
    .about-content,
    .menu-item,
    .cart-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
    .about-section,
    .team-section,
    .menu-section,
    .cart-section {
        padding: 1.2rem 0.5rem !important;
    }
    .moving-text {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .video-overlay {
        padding: 4.5rem 0.5rem 1.5rem 0.5rem;
        justify-content: flex-end;
        background: rgba(0, 0, 0, 0.35);
    }
    .video-overlay h1 {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }
    .video-overlay .menu-btn {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
        border-radius: 5px;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    h3 {
        font-size: 1.125rem;
    }
    p,
    li,
    label,
    span {
        font-size: 1rem;
    }
    .reason {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 0.5rem 0.7rem;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        margin: 0 auto 0.5rem auto;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .reason img,
    .reason i {
        width: 56px;
        height: 56px;
        object-fit: cover;
        margin-bottom: 0.3rem;
    }
    .mobile-menu {
        width: 180px !important;
        top: 48px !important;
        right: 0 !important;
        border-radius: 0 0 0 12px !important;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.08) !important;
    }
    .mobile-menu a {
        padding: 0.65rem 0.8rem !important;
        font-size: 0.98rem !important;
    }
    .team-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 0.7rem !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
    }
    .team-member {
        min-width: 180px !important;
        max-width: 220px !important;
        flex: 0 0 auto !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.25rem !important;
    }
    h2 {
        font-size: 1.125rem !important;
    }
    h3 {
        font-size: 1rem !important;
    }
    p,
    li,
    label,
    span {
        font-size: 0.95rem !important;
    }
    .reason {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 0.5rem 0.7rem !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        margin: 0 auto 0.5rem auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .reason img,
    .reason i {
        width: 56px !important;
        height: 56px !important;
        object-fit: cover !important;
        margin-bottom: 0.3rem !important;
    }
    .video-overlay .menu-btn {
        font-size: 0.95rem !important;
        padding: 0.5rem 1rem !important;
        border-radius: 4px !important;
    }
    .mobile-menu {
        width: 150px !important;
        top: 38px !important;
        right: 0 !important;
        border-radius: 0 0 0 10px !important;
        box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
    .mobile-menu a {
        padding: 0.55rem 0.6rem !important;
        font-size: 0.92rem !important;
    }
    .team-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 0.6rem !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
    }
    .team-member {
        min-width: 150px !important;
        max-width: 180px !important;
        flex: 0 0 auto !important;
    }
}

/* About Section */
.about-section {
    margin-top: 80px;
    padding: 4rem 2rem;
    text-align: center;
}

.about-heading {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    letter-spacing: 0.5px;
}

.about-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    text-align: left;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    margin-bottom: 1rem;
    color: #666;
}

/* Team Section */
.team-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    text-align: center;
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    letter-spacing: 0.5px;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.team-member {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    font-style: italic;
}

/* Menu Section */
.menu-section {
    margin-top: 80px;
    padding: 4rem 2rem;
    text-align: center;
}

.menu-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    letter-spacing: 0.5px;
}

.menu-filter {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background-color: #f5f5f5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.filter-btn.active {
    background-color: #ff6b6b;
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.menu-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(39, 174, 96, 0.1);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition:
        box-shadow 0.3s,
        transform 0.3s;
    position: relative;
}

.menu-item:hover {
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.18);
    transform: translateY(-6px) scale(1.03);
}

.menu-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-item-details {
    text-align: center;
    width: 100%;
}

.menu-item-details h3 {
    font-size: 1.3rem;
    color: #27ae60;
    margin-bottom: 0.5rem;
    font-family: "Arial", "Helvetica Neue", Helvetica, sans-serif;
}

.menu-item-details p {
    color: #666;
    margin-bottom: 0.5rem;
}

.menu-item-details .menu-qty {
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.menu-item-details .menu-qty.low-stock {
    color: #f39c12;
    font-weight: bold;
}

.menu-item-details .menu-qty.out-of-stock {
    color: #e74c3c;
    font-weight: bold;
}

.menu-item-details .price {
    font-size: 1.25rem;
    color: #e67e22;
    font-weight: bold;
    margin-bottom: 0.8rem;
    display: block;
}

.menu-item-details .add-to-cart {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(90deg, #27ae60 60%, #2ecc71 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition:
        background 0.3s,
        transform 0.2s;
    margin-top: 0.5rem;
}

.menu-item-details .add-to-cart:hover {
    background: #ff5252;
    transform: scale(1.07);
}

@media (max-width: 600px) {
    .menu-items,
    .meals-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }
    .menu-item,
    .meal-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .menu-item img,
    .meal-card img {
        width: 64px;
        height: 64px;
        object-fit: cover;
        margin: 0 auto 0.3rem auto;
    }
}

@media (max-width: 576px) {
    .menu-items,
    .meals-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }
    .menu-item,
    .meal-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .menu-item img,
    .meal-card img {
        width: 64px !important;
        height: 64px !important;
        object-fit: cover !important;
        margin: 0 auto 0.3rem auto !important;
    }
}

/* Cart Section */
.cart-section {
    margin-top: 80px;
    padding: 4rem 2rem;
}

.cart-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

@media (min-width: 900px) {
    .cart-main {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .cart-container {
        margin: 0 auto 2rem auto;
        max-width: 600px;
        width: 100%;
    }
    .cart-summary {
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }
}

.cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cart-summary {
    align-self: center;
    margin-top: 2rem;
}

#checkoutPopupAnchor {
    width: 100%;
    display: flex;
    align-items: flex-start;
    min-height: 1px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    top: 0;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
}
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.payment-options {
    margin-top: 1rem;
}

.payment-options label {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.payment-options input {
    width: auto;
    margin-right: 0.8rem;
}

.mpesa-details .note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.submit-order-btn {
    width: 100%;
    padding: 1rem;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.submit-order-btn:hover {
    background-color: #45a049;
}

.confirmation-message {
    text-align: center;
    padding: 2rem 0;
}

.confirmation-message i {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1.5rem;
}

.confirmation-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.confirmation-message p {
    margin-bottom: 1rem;
    color: #666;
}

.continue-shopping-btn {
    padding: 0.8rem 1.5rem;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
}

.continue-shopping-btn:hover {
    background-color: #ff5252;
}

.moving-text {
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    animation: moveText 28s linear infinite;
}

@keyframes moveText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.login-container .login-btn,
.register-container .register-btn {
    transition:
        background 0.3s,
        box-shadow 0.3s;
}
.login-container .login-btn:hover,
.register-container .register-btn:hover {
    background: linear-gradient(90deg, green 60%, yellow 100%) !important;
    color: #222 !important;
    box-shadow: 0 2px 12px rgba(39, 174, 96, 0.12);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff5252;
    color: #fff;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1002;
}

.toast {
    visibility: hidden;
    min-width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: fixed;
    z-index: 2000;
    right: 30px;
    top: 30px;
    font-size: 1rem;
    opacity: 0;
    transition:
        opacity 0.5s,
        visibility 0.5s;
    font-weight: 500;
    max-width: 300px;
}
.toast.show {
    visibility: visible;
    opacity: 1;
}

.toast.error {
    background-color: #e74c3c;
}

.toast.success {
    background-color: #27ae60;
}

.toast.warning {
    background-color: #f39c12;
}

/* Cart Hero Section */
.cart-hero {
    background: linear-gradient(90deg, #fffbe7 60%, #e0ffe7 100%);
    padding: 2.5rem 2rem 1.5rem 2rem;
    text-align: center;
    border-radius: 0 0 18px 18px;
    margin-top: 80px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.cart-hero h1 {
    font-size: 2.3rem;
    color: #27ae60;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.cart-hero p {
    color: #555;
    font-size: 1.1rem;
}

.cart-page-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 70vh;
    background: #f8f8f8;
    padding-bottom: 3rem;
}

.cart-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: none;
    box-shadow: none;
    padding: 0;
}

.cart-main {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    margin-top: 2.5rem;
}

.cart-container {
    flex: 2;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 2rem 2rem 1.5rem 2rem;
    min-width: 320px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart-item {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.2rem;
    padding: 1.2rem 1rem;
    width: 100%;
    max-width: 500px;
    transition: box-shadow 0.2s;
}
.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.cart-item-details {
    flex: 1;
}
.cart-item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #222;
}
.cart-item-details .price {
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    display: block;
}
.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}
.quantity-btn {
    width: 32px;
    height: 32px;
    background: #e0ffe7;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #27ae60;
    font-weight: bold;
    margin: 0 0.5rem;
    transition: background 0.2s;
}
.quantity-btn:hover {
    background: #b2f2c9;
}
.quantity {
    min-width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: #333;
}
.remove-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: color 0.2s;
}
.remove-btn:hover {
    color: #ff5252;
}
.cart-summary {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 2rem 2rem 1.5rem 2rem;
    min-width: 280px;
    max-width: 380px;
    align-self: flex-start;
    position: sticky;
    top: 2rem;
    margin: 0 auto;
}
.cart-summary h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #222;
    font-weight: bold;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.summary-row.total {
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: none;
    margin-top: 1.5rem;
}
.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background 0.3s;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.08);
}
.checkout-btn:hover {
    background: #229954;
}
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fdff 0%, #f0f9ff 50%, #e8f4fd 100%);
    border: 2px dashed #27ae60;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-cart::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(39, 174, 96, 0.05) 0%,
        transparent 50%
    );
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem auto;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-cart-icon i {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.empty-cart h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.empty-cart p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.empty-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.empty-cart-actions.dual-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.empty-cart-primary-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-cart-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #229954, #27ae60);
}

.empty-cart-secondary-btn {
    color: #27ae60;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border: 2px solid #27ae60;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
}

.empty-cart-secondary-btn:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.empty-cart-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.empty-cart-feature {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.empty-cart-feature i {
    font-size: 1.5rem;
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.empty-cart-feature span {
    display: block;
    font-size: 0.9rem;
    color: #5a6c7d;
    font-weight: 500;
}

/* Unified empty cart specific styling */
.unified-empty-cart {
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    text-align: center;
}

.unified-empty-cart .empty-cart-actions.dual-buttons .empty-cart-primary-btn {
    min-width: 220px;
    flex: 1;
    max-width: 280px;
}

.unified-empty-cart .empty-cart-secondary-btn {
    width: 100%;
    max-width: 350px;
}

.unified-empty-cart .empty-cart {
    margin: 0 auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .empty-cart {
        padding: 3rem 1.5rem;
        margin: 1rem auto;
        width: 95%;
        max-width: none;
    }

    .unified-empty-cart {
        padding: 0 0.5rem;
        margin: 1rem auto;
    }

    .empty-cart-icon {
        width: 100px;
        height: 100px;
    }

    .empty-cart-icon i {
        font-size: 2.5rem;
    }

    .empty-cart h3 {
        font-size: 1.6rem;
    }

    .empty-cart p {
        font-size: 1rem;
    }

    .empty-cart-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .empty-cart-primary-btn,
    .empty-cart-secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .empty-cart-actions.dual-buttons {
        flex-direction: column;
    }

    /* Fixed in separate media query at end of file */
}
.menu-btn {
    padding: 0.8rem 2rem;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
}
.menu-btn:hover {
    background-color: #ff5252;
}
@media (max-width: 900px) {
    .cart-page-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 1rem;
    }
    .cart-container,
    .cart-summary {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
}

/* Cart Page Professional Layout Styling */
.cart-page-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    align-items: flex-start;
}

/* When only one cart section is visible, center it properly */
.cart-page-container:has(.cart-section[style*="display: none"])
    .cart-section:not([style*="display: none"]) {
    max-width: 800px;
    margin: 0 auto;
}

/* Fallback for browsers that don't support :has() */
.cart-page-container.single-section {
    justify-content: center;
}

.cart-page-container.single-section .cart-section {
    max-width: 800px;
    margin: 0 auto;
}

.cart-section {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 2rem;
    margin-bottom: 2rem;
}

.cart-section h2 {
    color: #27ae60;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Ensure empty cart sections are perfectly centered */
.cart-section .empty-cart {
    margin: 2rem auto;
    max-width: 450px;
}

.checkout-form {
    margin-top: 1.5rem;
    background: #f7fff7;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.06);
    padding: 1.5rem 1rem 1rem 1rem;
    animation: fadeIn 0.4s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.payment-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}
.payment-option {
    display: flex;
    align-items: center;
    background: #f7fff7;
    border-radius: 7px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.05rem;
    transition:
        background 0.2s,
        color 0.2s,
        box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    color: #333;
}
.payment-option input[type="radio"] {
    margin-right: 0.7rem;
}
.payment-option i,
.payment-option .mpesa-icon {
    font-size: 1.3rem;
    margin-right: 0.5rem;
    color: #333;
    transition: color 0.2s;
}
.payment-option input[type="radio"]:checked + i,
.payment-option input[type="radio"]:checked + .mpesa-icon,
.payment-option input[type="radio"]:checked ~ i,
.payment-option input[type="radio"]:checked ~ .mpesa-icon {
    color: #27ae60;
}
.payment-option input[type="radio"]:checked ~ .payment-option {
    background: #27ae6022;
}
.payment-option input[type="radio"]:checked ~ label {
    color: #27ae60;
}
.order-type-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}
.order-type-option {
    display: flex;
    align-items: center;
    background: #f7fff7;
    border-radius: 7px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.05rem;
    transition:
        background 0.2s,
        color 0.2s,
        box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    color: #333;
}
.order-type-option input[type="radio"] {
    margin-right: 0.7rem;
}
.order-type-option i {
    font-size: 1.3rem;
    margin-right: 0.5rem;
    color: #333;
    transition: color 0.2s;
    font-size: 1.3rem;
    margin-right: 0.5rem;
    color: #333;
    transition: color 0.2s;
}
.order-type-option input[type="radio"]:checked + i,
.order-type-option input[type="radio"]:checked + span,
.order-type-option input[type="radio"]:checked ~ i,
.order-type-option input[type="radio"]:checked ~ span {
    color: #27ae60;
}
.order-type-option input[type="radio"]:checked ~ .order-type-option,
.order-type-option input[type="radio"]:checked ~ label {
    color: #27ae60;
}
.order-type-option input[type="radio"]:checked ~ .order-type-option {
    background: #27ae6022;
}
.order-type-option input[type="radio"]:checked ~ i {
    color: #27ae60;
}
.order-type-option input[type="radio"]:checked ~ span {
    color: #27ae60;
}
.order-type-option input[type="radio"]:checked ~ .order-type-option {
    background: #27ae6022;
}
.order-type-option input[type="radio"]:checked ~ .order-type-option i {
    color: #27ae60;
}
.order-type-option input[type="radio"]:checked ~ .order-type-option span {
    color: #27ae60;
}
.order-type-option input[type="radio"]:checked ~ .order-type-option {
    background: #27ae6022;
}

.empty-menu-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
    width: 100%;
    text-align: center;
    color: #888;
    font-size: 1.2rem;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}
.input-icon-wrapper input[type="password"],
.input-icon-wrapper input[type="text"] {
    padding-right: 2.5rem;
}
.input-icon-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 1.2rem;
    z-index: 2;
}

.contact-card {
    transition:
        background 0.3s,
        color 0.3s;
}
.contact-card:hover {
    background: #27ae60 !important;
}
.contact-card:hover h4,
.contact-card:hover p,
.contact-card:hover a {
    color: #fff !important;
}
.contact-card:hover i {
    color: #fff !important;
}

.video-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none !important;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* Delivery Location Popup Styles */
.delivery-location-popup {
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.15);
    border: 2px solid #27ae60 !important;
}

.delivery-location-popup h4 {
    color: #27ae60;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.delivery-location-popup .form-group {
    margin-bottom: 1.2rem;
}

.delivery-location-popup label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.delivery-location-popup input,
.delivery-location-popup textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.delivery-location-popup input:focus,
.delivery-location-popup textarea:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

#getLocationBtn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

#getLocationBtn:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

#getLocationBtn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#locationStatus {
    text-align: center;
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
    display: none;
}

#locationStatus i {
    margin-right: 0.5rem;
}

#mapContainer {
    height: 200px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

#mapContainer.has-map {
    border-color: #27ae60;
    border-style: solid;
}

#mapContainer .map-placeholder {
    text-align: center;
    color: #666;
}

#mapContainer .map-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #95a5a6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for delivery location popup */
@media (max-width: 768px) {
    .delivery-location-popup {
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .delivery-location-popup h4 {
        font-size: 1.1rem;
    }

    #getLocationBtn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    #mapContainer {
        height: 150px;
    }

    .delivery-location-popup input,
    .delivery-location-popup textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

/* --- Professional Styles for Services Pages --- */
.services-list h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
    text-align: center;
    font-family: "UnifrakturCook", "Arial", cursive, sans-serif;
}
.services-list > div[style*="display:flex"] {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.services-list img {
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.1);
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #fff;
    transition: transform 0.2s;
    margin-bottom: 1.2rem;
}
.services-list img:hover {
    transform: scale(1.04);
}
.services-list p {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .services-list img {
        max-width: 320px;
        height: 180px;
    }
    .services-list h3 {
        font-size: 1.4rem;
    }
}
@media (max-width: 600px) {
    .services-list img {
        max-width: 98vw;
        height: 120px;
        min-width: 90px;
    }
    .services-list h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .services-list p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    .services-list > div[style*="display:flex"] {
        gap: 0.5rem;
    }
}
/* ===== Modal Styles ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* JS will change this to flex */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

#modal-price-options {
    margin: 20px 0;
    text-align: left;
}

.price-option {
    margin-bottom: 15px;
}

.price-option label {
    margin-left: 8px;
    font-size: 16px;
}

#modal-add-to-cart-btn {
    padding: 10px 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

#modal-add-to-cart-btn:hover {
    background-color: #219150;
}

/* Fix for unified empty cart mobile responsive */
@media (max-width: 768px) {
    .unified-empty-cart
        .empty-cart-actions.dual-buttons
        .empty-cart-primary-btn {
        max-width: 100%;
    }

    /* Mobile cart page layout */
    .cart-page-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .cart-section {
        padding: 1.5rem;
    }

    .cart-section .empty-cart {
        max-width: 100%;
        margin: 1rem auto;
    }
}
