
/* === variables.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: variables.css
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-background: #FDFBF7;
    --clr-surface: #FFFFFF;
    --clr-surface-dark: #1E1E1E;
    --clr-primary: #e24920;
    --clr-primary-dark: #c23916;
    --clr-text-primary: #1E1E1E;
    --clr-text-on-dark: #FDFBF7;
    --clr-badge-danger: #e24920;
    --clr-star: #F57F17;
    
    /* Typography */
    --ff-heading: 'Poppins', sans-serif;
    --ff-body: 'Inter', sans-serif;
    
    /* Spacing & Utilities */
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: 0.3s ease;
    --max-width: 1400px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: clip;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background-color: var(--clr-background);
    color: var(--clr-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    line-height: 1.2;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--ff-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.icon-btn .badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--clr-badge-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}





/* === skeleton.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: skeleton.css
   ========================================================================== */

@keyframes skeletonSweep {
    to {
        transform: translateX(100%);
    }
}

/* Base skeleton class for images and iframes */
.card-image,
.hero-image-frame,
.gallery-item,
.contact-map,
.circle-img,
.modal-img-wrap,
.about-image {
    background: #f6f7f8;
    position: relative;
    overflow: hidden;
}

.card-image::before,
.hero-image-frame::before,
.gallery-item::before,
.contact-map::before,
.circle-img::before,
.modal-img-wrap::before,
.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    transform: translateX(-100%);
    animation: skeletonSweep 1.5s infinite;
    will-change: transform;
    z-index: 0;
}

/* Ensure images cover the skeleton when fully loaded */
.card-image img,
.hero-image-frame img,
.gallery-item img,
.contact-map iframe,
.circle-img img,
.modal-img-wrap img,
.about-image video {
    background: transparent;
    z-index: 1;
    position: relative;
}

/* Global Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--clr-background, #FDFBF7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through */
    animation: loaderFadeOut 0.4s ease forwards;
    animation-delay: 0.3s; /* Fade out quickly regardless of JS */
}

@keyframes loaderFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(226, 73, 32, 0.2);
    border-top-color: var(--clr-primary, #e24920);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* === navigation.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: navigation.css
   ========================================================================== */

/* Navbar */
.navbar {
    background-color: var(--clr-background);
    padding: 0.5rem 0; /* Reduced to shrink header height */
    position: sticky;
    top: 0;
    z-index: 100000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-family: var(--ff-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-text-primary);
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.logo > span {
    transform: translateY(8px);
}

.logo span {
    color: var(--clr-primary);
}

.greeting {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.nav-center ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-center a {
    text-decoration: none;
    color: var(--clr-text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-center a:hover::after,
.nav-center a.active::after {
    width: 100%;
}

.nav-center a.active {
    color: var(--clr-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.2rem; /* Tighter gap: notification icon sits next to cart */
}

.header-logo {
    height: 70px;
    width: auto;
    display: block;
    max-width: 100%;
    position: relative;
    z-index: 105;
    transform: translateY(-5px);
}

.mobile-social-icons {
    display: none !important;
}

.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 24px;
    position: relative;
    z-index: 100001;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 28px;
}

.hamburger-lines .line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 10px;
    background: var(--clr-text-primary);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-menu-btn.open .line1 {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.open .line2 {
    opacity: 0;
}

.mobile-menu-btn.open .line3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-center {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--clr-surface);
        padding: 2rem;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99999;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    
    .nav-center.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-center ul {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 0;
    }

    .nav-center ul li {
        width: 100%;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-center.active ul li:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateX(0); }
    .nav-center.active ul li:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
    .nav-center.active ul li:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateX(0); }
    .nav-center.active ul li:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
    .nav-center.active ul li:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateX(0); }
    .nav-center.active ul li:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
    .nav-center.active ul li:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateX(0); }
    
    .nav-center a {
        display: block;
        width: 100%;
        padding: 1.2rem 0;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--clr-text-primary);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        transition: padding-left 0.3s ease, color 0.3s ease;
    }

    .nav-center a::after {
        display: none;
    }

    .nav-center a:hover, .nav-center a.active {
        padding-left: 1rem;
        color: var(--clr-primary);
    }
    
    .mobile-social-icons {
        display: flex !important;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2.5rem !important;
        padding: 0 !important;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-social-icons a {
        display: inline-flex;
        width: auto;
        padding: 0;
        border: none;
        color: var(--clr-text-primary);
        transition: color 0.3s ease;
    }

    .mobile-social-icons a:hover {
        color: var(--clr-primary);
    }

    .nav-center.active .mobile-social-icons {
        transition-delay: 0.4s;
        opacity: 1;
        transform: translateY(0);
    }
    
    .greeting {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .header-logo {
        height: 45px !important;
    }
    
    .logo > span {
        font-size: 1.2rem !important;
    }
}



/* Footer Logo Styles */
.footer-logo-link {
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--ff-heading);
    font-weight: 700;
}

.footer-logo-img {
    height: 70px;
    width: auto;
}

.footer-dot {
    color: var(--clr-primary);
}

/* Footer */
.footer {
    background-color: var(--clr-surface-dark);
    color: #999;
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer h2, .footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul, .footer-hours ul {
    list-style: none;
}

.footer-links li, .footer-hours li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-primary);
}

.footer-hours span {
    color: white;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--clr-primary);
}

/* Responsive specific to new sections */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .promo-banner h2 {
        font-size: 2.5rem;
    }
    
    .promo-price span {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-card, .contact-address-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}



.mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 14px;
    right: 14px;
    width: auto;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    border-radius: 50px !important;
    z-index: 100 !important;
    justify-content: space-around !important;
    padding: 0.65rem 0.5rem calc(0.65rem + env(safe-area-inset-bottom, 0px)) !important;
}


.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    font-size: 0.68rem;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
    text-align: center;
    gap: 3px;
}

.tab-item svg {
    width: 22px;
    height: 22px;
    margin: 0 auto 3px;
    display: block;
}

.tab-item span {
    display: block;
    width: 100%;
    line-height: 1;
    text-align: center;
}

.tab-item.active {
    color: var(--clr-primary);
}

@media (max-width: 768px) {
    .mobile-tab-bar {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .footer {
        padding-bottom: calc(2rem + 84px) !important;
    }
}





/* === categories.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: categories.css
   ========================================================================== */

/* Circular Categories */
.category-circles-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    margin: 0 -1rem 0.5rem -1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, gap 0.3s ease, margin 0.3s ease;
}

.category-circles-wrapper::-webkit-scrollbar {
    display: none;
}

.category-circle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    gap: 0.5rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.circle-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition), width 0.3s ease, height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-circle-btn.active .circle-img,
.category-circle-btn:hover .circle-img {
    border-color: var(--clr-primary);
    box-shadow: none;
}

.circle-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    text-align: center;
    transition: font-size 0.3s ease, padding 0.3s ease, color 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    white-space: nowrap;
}

.category-circle-btn.active .circle-label {
    color: var(--clr-primary);
}

/* ---- Sticky Category Bar ---- */
.category-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 90;
    background: transparent;
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .category-sticky-wrapper {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.category-sticky-wrapper.is-sticky {
    background: var(--clr-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.category-sticky-wrapper.is-sticky .category-circles-wrapper {
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .category-sticky-wrapper.is-sticky .category-circles-wrapper {
        margin: 0 -1rem;
    }
}

.category-sticky-wrapper.is-sticky .circle-img {
    width: 0;
    height: 0;
    opacity: 0;
    border-width: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    transform: scale(0);
}

.category-sticky-wrapper.is-sticky .category-circle-btn {
    gap: 0;
}

.category-sticky-wrapper.is-sticky .circle-label {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    background: #F4F4F4;
    border-radius: 50px;
}

.category-sticky-wrapper.is-sticky .category-circle-btn.active .circle-label {
    background: var(--clr-primary);
    color: white;
}

/* Remove scrollbar on reviews wrapper */
.reviews-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .reviews-scroll-wrapper {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}


/* === menu-cards.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: menu-cards.css
   ========================================================================== */

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background-color: var(--clr-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(167, 2, 1, 0.15);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(167, 2, 1, 0.25);
}

.product-card h3 {
    color: white !important;
}

.product-card .card-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.product-card .price {
    color: white !important;
}

.product-card .rating {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}

.product-card .rating .reviews {
    color: rgba(255, 255, 255, 0.7) !important;
}

.product-card .btn-primary {
    background: white !important;
    color: var(--clr-primary) !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

.product-card .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--clr-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15) !important;
}

.product-card .add-btn {
    background-color: white !important;
    color: var(--clr-primary) !important;
}

.product-card .add-btn:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--clr-primary-dark) !important;
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    letter-spacing: 0.5px;
}

.badge-primary { background-color: var(--clr-primary); }
.badge-secondary { background-color: #2D9CDB; }
.badge-danger { background-color: var(--clr-badge-danger); }

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.card-header h3 {
    font-size: 1.25rem;
    margin-right: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #F8F9FA;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
}

.rating .star {
    color: var(--clr-star);
    margin-right: 4px;
}

.rating .reviews {
    color: #888;
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 4px;
}

.card-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.price {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--ff-heading);
    color: var(--clr-text-primary);
}

.add-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--clr-text-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-btn:hover {
    background-color: var(--clr-primary);
    transform: rotate(90deg);
}

/* Promo Banner */
.promo-banner {
    padding: 3.5rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--clr-text-on-dark);
    text-align: center;
}

.promo-content {
    max-width: 600px;
    margin: 0 auto;
}

.promo-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--clr-badge-danger);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.promo-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.promo-price {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.promo-price span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    font-family: var(--ff-heading);
}

.promo-desc {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #eee;
}

/* Mobile Search Bar */
.mobile-search-bar {
    display: none;
    padding: 1.5rem 16px 1rem;
    background: transparent;
    border-bottom: none;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #F4F4F4;
    border: none;
    border-radius: 50px;
    padding: 0 1rem;
    height: 48px;
    width: 100%;
}

.search-input-wrapper input {
    border: none;
    background: transparent;
    flex-grow: 1;
    padding: 0 0.5rem;
    box-shadow: none;
    font-size: 14px;
}

.search-input-wrapper input:focus,
.search-input-wrapper input:active {
    outline: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.search-input-wrapper:focus-within {
    background-color: #F4F4F4 !important;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #999;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--clr-text-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-btn svg {
    width: 20px;
    height: 20px;
}

/* Button hover fixes */
.menu-contact-btn:hover,
.header-order-btn:hover {
    background-color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 2, 1, 0.3);
}

.menu-contact-btn:active,
.header-order-btn:active {
    transform: translateY(0);
}

/* Responsive Menu */
@media (max-width: 768px) {
    .category-strip {
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-search-bar {
        display: block;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        flex-direction: row;
        height: 130px;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .card-badge { display: none; }

    .card-image {
        height: 100%;
        width: auto;
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
    }

    .card-content {
        flex: 1;
        min-width: 0;
        padding: 0.8rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-header { margin-bottom: 2px; }
    .rating { display: none; }

    .card-desc {
        font-size: 13px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: auto;
    }

    .card-footer { margin-top: 0; }
    .price { font-size: 1.1rem; }
}


/* === cart-ui.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: cart-ui.css
   ========================================================================== */

/* Quantity Stepper */
.quantity-stepper {
    display: flex;
    align-items: center;
    background-color: #F8F9FA;
    border-radius: 50px;
    border: 1px solid #E5E5E5;
    height: 40px;
}

.stepper-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper-value {
    font-weight: 600;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

/* Floating Cart Summary */
.floating-cart-bar {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 20px;
    right: 20px;
    background-color: var(--clr-surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
    box-shadow: none;
}

.cart-info {
    display: flex;
    flex-direction: column;
}

.cart-count {
    font-size: 0.75rem;
    color: #555;
}

.cart-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-view-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    height: 40px;
    border-radius: 50px;
}

/* Cart Page Items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #e5e5e5;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details { flex-grow: 1; }

.cart-item-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    margin-bottom: 0.3rem;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-remove-btn {
    color: #bbb;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-remove-btn:hover { color: #e74c3c; }

.checkout-summary-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.cart-grid-wrapper,
.profile-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 768px) {
    .cart-item {
        padding: 1rem;
        gap: 1rem;
    }

    .cart-item-img {
        width: 80px;
        height: 80px;
    }

    .cart-item-title { font-size: 1.05rem; }

    .quantity-stepper { height: 32px; }

    .stepper-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cart-item {
        display: grid !important;
        grid-template-columns: 80px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 1rem !important;
        align-items: start !important;
    }

    .cart-item-img {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: 80px !important;
        height: 80px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }

    .cart-item-details {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .cart-item-actions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
}


/* === mobile-ui.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: mobile-ui.css
   ========================================================================== */

/* App-style Mobile UI Overrides */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    h2 { font-size: 24px !important; }
    h3 { font-size: 18px !important; }

    .header-logo {
        height: 95px;
        margin-top: -15px;
        margin-bottom: -25px;
    }

    .header-order-btn { display: none; }

    .nav-right a[aria-label="Profile"] { display: none !important; }

    .mobile-hide { display: none !important; }

    .hero-order-btn,
    .res-form .btn {
        width: 100%;
        height: 52px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* === reservations.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: reservations.css
   ========================================================================== */

.reservation-page {
    padding: 2.5rem 0;
    background-color: var(--clr-background);
}

.reservation-container {
    max-width: 100%;
    padding: 0 4rem;
}

@media (max-width: 1024px) {
    .reservation-container { padding: 0 2rem; }
}

@media (max-width: 768px) {
    .reservation-container { padding: 0 16px; }
}

.reservation-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .reservation-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.res-form-container form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.res-form-container h3 {
    margin-bottom: 1.5rem;
    color: var(--clr-text-primary);
}

.res-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.res-info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.res-info-card h3 {
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.res-info-card ul {
    list-style: none;
    padding: 0;
    color: #555;
    line-height: 1.8;
}

.res-info-card li {
    display: flex;
    gap: 0.5rem;
}

.res-info-card li span { color: var(--clr-primary); }

.location-details {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.map-placeholder {
    height: 250px;
    background: #eee;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Compact Reservation Form */
.compact-res-form .form-group { margin-bottom: 1.2rem; }

.compact-res-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #444;
    font-size: 0.9rem;
}

.compact-res-form input,
.compact-res-form select,
.compact-res-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: #F8F9FA;
    font-family: var(--ff-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.compact-res-form input:focus,
.compact-res-form select:focus,
.compact-res-form textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: white;
}


/* === notifications.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: notifications.css
   ========================================================================== */

.notification-wrapper { position: relative; }

.notification-panel {
    position: absolute;
    top: 130%;
    right: 0;
    width: 320px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.notification-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .notification-panel {
        position: fixed;
        top: 70px;
        left: 1rem;
        right: 1rem;
        width: auto;
        transform: translateY(10px);
    }

    .notification-panel.show { transform: translateY(0); }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.notification-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--clr-text-primary);
}

.notification-header .mark-read {
    font-size: 0.8rem;
    color: var(--clr-primary);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.notification-header .mark-read:hover {
    color: var(--clr-primary-dark);
    text-decoration: underline;
}

.notification-body {
    padding: 1rem 1.5rem;
    max-height: 350px;
    overflow-y: auto;
}

.notification-body.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    color: #888;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show { opacity: 1; }

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    object-fit: contain;
}

.lightbox.show .lightbox-content { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover { color: var(--clr-primary); }


/* === gallery.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: gallery.css
   ========================================================================== */

.gallery-section {
    padding: 2.5rem 0;
    background-color: var(--clr-background);
}

.gallery-grid {
    column-count: 4;
    column-gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-item img:hover,
.gallery-item video:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .gallery-grid { column-count: 3; }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 1rem;
    }

    .gallery-item { margin-bottom: 1rem; }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 0.8rem;
    }

    .gallery-item { margin-bottom: 0.8rem; }
}


/* === orders.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: orders.css
   ========================================================================== */

/* Orders Page */
.order-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.order-card.active-order { border-left: 5px solid var(--clr-primary); }

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.order-status {
    background: rgba(167, 2, 1, 0.1);
    color: var(--clr-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.order-status.delivered {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.order-id {
    margin-top: 1rem;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.order-time { color: #666; font-size: 0.95rem; }

.order-price {
    font-size: 1.5rem;
    color: var(--clr-text-primary);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
}

.order-items {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.order-progress-box {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
}

.order-progress-title {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--clr-text-primary);
    font-weight: 600;
}

.order-progress-bar {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.order-progress-fill {
    width: 50%;
    height: 100%;
    background: var(--clr-primary);
    border-radius: 10px;
}

.order-progress-steps {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

.order-progress-steps .active { color: var(--clr-primary); }

/* Profile Nav Buttons */
.profile-nav-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.profile-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--clr-text-primary);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.profile-btn:hover {
    border-color: var(--clr-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(167, 2, 1, 0.15);
    color: var(--clr-primary);
}

.profile-btn.active {
    background: rgba(167, 2, 1, 0.05);
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.profile-btn.danger { color: #e74c3c; }

.profile-btn.danger:hover {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.15);
}

.profile-btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.profile-btn .btn-icon svg {
    width: 1.8rem;
    height: 1.8rem;
}

@media (max-width: 768px) {
    .profile-nav-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .order-header {
        flex-direction: column;
        gap: 1rem;
    }

    .order-price { font-size: 1.25rem; }
    .order-card { padding: 1.5rem; }
}


/* === chatbot.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: chatbot.css
   ========================================================================== */

/* Chatbot Widget (Redesigned) */
/* ============================================================
   Chatbot Widget Styling - Glassmorphism & Clean Aesthetics
   ============================================================ */
:root {
  --chat-accent:       var(--clr-primary);
  --chat-accent-dark:  var(--clr-primary-dark);
  --chat-bg:           rgba(255, 255, 255, 0.88);
  --chat-surface:      rgba(249, 249, 249, 0.7);
  --chat-border:       rgba(0, 0, 0, 0.08);
  --chat-bot-bubble:   #f0f0f0;
  --chat-user-bubble:  var(--clr-primary);
  --chat-radius:       20px;
  --chat-shadow:       0 12px 30px rgba(0, 0, 0, 0.08);
  --chat-width:        360px;
  --chat-height:       500px;
  --chat-bottom:       80px;
  --chat-right:        0px;
}

/* ============================================================
   Chatbot Toggle Button
   ============================================================ */
.chatbot-toggle {
  position: relative !important;
  bottom: 0px;
  right: 0px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  cursor: pointer;
  background: #e5e5e5 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-primary) !important;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: none !important;
}

.chatbot-toggle:active {
  transform: scale(0.95);
}

.chatbot-toggle svg {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.chatbot-toggle .icon-chat {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.chatbot-toggle .icon-close {
  opacity: 0;
  transform: scale(0) rotate(-90deg);
}

.chatbot-toggle.active .icon-chat {
  opacity: 0;
  transform: scale(0) rotate(90deg);
}

.chatbot-toggle.active .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ============================================================
   Chat Container (Glassmorphism)
   ============================================================ */
.chatbot-container {
  position: absolute !important;
  bottom: var(--chat-bottom);
  right: var(--chat-right);
  z-index: 99998;
  width: var(--chat-width);
  height: var(--chat-height);
  max-height: calc(100vh - 120px);
  background: var(--chat-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--chat-radius);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--chat-shadow);
  overflow: hidden;
  display: none;
  flex-direction: column;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-container.show {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Header ─────────────────────────────────────────────────── */
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  color: white;
  flex-shrink: 0;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-title h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading, sans-serif);
  color: white !important;
}

.online-status {
  font-size: 0.72rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.online-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* ── Messages Area ───────────────────────────────────────────── */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: linear-gradient(180deg, #FDFBF7 0%, #F5EFEB 100%);
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* ── Message Bubble ────────────────────────────────────────── */
.chat-message {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  animation: messageFadeIn 0.3s ease-out forwards;
}

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

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.bot .msg-content {
  background: #ffffff;
  color: var(--clr-text-primary, #1e1e1e);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px 16px 16px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message.user .msg-content {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  color: white;
  border-radius: 16px 16px 0 16px;
  box-shadow: 0 4px 12px rgba(167, 2, 1, 0.15);
}

.msg-content {
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  word-break: break-word;
}

/* ── Typing Indicator ────────────────────────────────────────── */
.typing-bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.2rem 0.1rem;
}

.typing-bubble span {
  width: 6px;
  height: 6px;
  background: #999;
  border-radius: 50%;
  display: inline-block;
  animation: typingBlink 1.4s infinite both;
}

.typing-bubble span:nth-child(2) { animation-delay: .2s; }
.typing-bubble span:nth-child(3) { animation-delay: .4s; }

@keyframes typingBlink {
  0% { opacity: .2; transform: scale(0.8); }
  20% { opacity: 1; transform: scale(1); }
  100% { opacity: .2; transform: scale(0.8); }
}

/* ── Input Box ─────────────────────────────────────────────── */
.chatbot-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.chatbot-input input {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  outline: none;
  background: #fafafa;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.chatbot-input input:focus {
  border-color: var(--clr-primary);
  background-color: #ffffff;
}

.chatbot-input button {
  background: none;
  border: none;
  color: var(--clr-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  padding: 4px;
}

.chatbot-input button:hover:not(:disabled) {
  color: var(--clr-primary-dark);
  transform: scale(1.1);
}

.chatbot-input button:active:not(:disabled) {
  transform: scale(0.95);
}

.chatbot-input button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   Mobile Responsive Adjustments
   ============================================================ */
@media (max-width: 480px) {
  .chatbot-container {
    width: calc(100vw - 32px);
    height: 60vh;
    max-height: 400px;
    bottom: 75px;
    right: 0px;
    border-radius: 16px;
  }
}



/* ==========================================================================
   Desktop-Specific Layout Enhancements
   ========================================================================== */
@media (min-width: 769px) {
    /* 1. Homepage Menu Restructure */
    .menu .category-circles-wrapper {
        display: none !important;
    }
    
    /* Hide the individual category titles on desktop */
    .menu #deals,
    .menu #skewers,
    .menu #soups,
    .menu #drinks,
    .menu #desserts {
        display: none !important;
    }

    /* Convert the container into a grid to house all products */
    .menu .container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }
    
    /* Flatten the menu-grid wrappers so product-cards become direct grid items */
    .menu .menu-grid {
        display: contents;
    }
    
    /* Make the button at the bottom span full width */
    .menu .container > div:last-child {
        grid-column: 1 / -1;
    }
    
    /* Add the MENU label at the very top */
    .menu .container::before {
        content: "MENU";
        grid-column: 1 / -1;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--clr-primary);
        letter-spacing: 2px;
        text-transform: uppercase;
        text-align: left;
        margin-bottom: -1rem; /* pull grid items closer */
        display: block;
    }

    /* Square images with consistent dimensions and cropping */
    .menu .card-image img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    /* 2. Homepage Contact Section Restructure */
    .contact-grid-wrapper {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 4rem;
        align-items: start;
    }
    
    /* 3. About Page Restructure */
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
    
    /* 4. Cart Page Restructure */
    .cart-grid-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    /* 5. Profile Page Restructure */
    .profile-grid-wrapper {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 3rem;
        align-items: start;
    }
}

/* ==========================================================================
   Phase 1 — Additional Mobile & Contact Fixes
   ========================================================================== */

/* Keep hamburger button separated from notification/cart group */
@media (max-width: 1024px) {
    .nav-right {
        gap: 0.2rem;
    }
    .nav-right .mobile-menu-btn {
        margin-left: 0.5rem;
    }
}

/* Contact cards: full available width on mobile */
@media (max-width: 768px) {
    .contact-card-group {
        width: 100%;
    }
    .contact-card.minimal-card {
        width: 100%;
    }
    .contact-section {
        padding: 2.5rem 0;
    }
    .gallery-section {
        padding: 2rem 0 !important;
    }
    /* Reduce hero section gap on mobile */
    .refined-hero {
        padding: 0.4rem;
    }
    /* Tighten offers/promo banner gap */
    .offers-banners {
        padding: 0.5rem 0 1.5rem !important;
    }
    /* Footer tighter on mobile */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    /* Contact address card tighter */
    .contact-address-card {
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   Phase 4 — Menu Item Modal & Header Contact Modal
   ========================================================================== */

/* ---- Shared Modal Overlay ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1500;
    display: flex;
    align-items: flex-end;  /* Sheet slides up from bottom on mobile */
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal-overlay.active .modal-sheet {
    transform: translateY(0);
}

/* ---- Modal Sheet (Bottom Sheet on mobile, centered dialog on desktop) ---- */
.modal-sheet {
    background: var(--clr-surface);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.modal-sheet::-webkit-scrollbar { display: none; }

/* Drag handle */
.modal-drag-handle {
    width: 40px;
    height: 4px;
    background: #DDD;
    border-radius: 2px;
    margin: 12px auto 0;
    flex-shrink: 0;




/* === modals.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: modals.css
   ========================================================================== */

}

/* ---- Item Detail Modal ---- */
#item-modal .modal-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#item-modal .modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
#item-modal .modal-body {
    padding: 1.25rem 1.25rem 2rem;
}
#item-modal .modal-category-tag {
    display: inline-block;
    background: rgba(167, 2, 1, 0.1);
    color: var(--clr-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}
#item-modal .modal-item-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
#item-modal .modal-item-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}
#item-modal .modal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
#item-modal .modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-primary);
}
#item-modal .modal-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}
#item-modal .modal-rating span { color: var(--clr-star); font-size: 1rem; }

/* Add-ons section */
#item-modal .modal-addons-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-text-primary);
    margin-bottom: 0.6rem;
}
#item-modal .addon-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
#item-modal .addon-chip {
    border: 1.5px solid #E5E5E5;
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #F8F8F8;
    user-select: none;
}
#item-modal .addon-chip.selected {
    border-color: var(--clr-primary);
    background: rgba(167, 2, 1, 0.08);
    color: var(--clr-primary);
}

/* Quantity + Cart footer */
#item-modal .modal-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
#item-modal .modal-qty-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #F4F4F4;
    border-radius: 50px;
    padding: 0.3rem 0.4rem;
    flex-shrink: 0;
}
#item-modal .modal-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--clr-text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: var(--transition);
}
#item-modal .modal-qty-btn:hover { background: var(--clr-primary); color: white; }
#item-modal .modal-qty-val {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-text-primary);
}
#item-modal .modal-add-btn {
    flex: 1;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ---- Contact Quick-Action Modal ---- */
#contact-modal .modal-sheet {
    border-radius: 24px 24px 0 0;
}
#contact-modal .contact-modal-header {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#contact-modal .contact-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-text-primary);
}
#contact-modal .contact-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F4F4F4;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: var(--transition);
}
#contact-modal .contact-modal-close:hover { background: #E8E8E8; color: var(--clr-text-primary); }
#contact-modal .contact-modal-body {
    padding: 0.75rem 1.25rem 2rem;
}
.contact-action-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #F5F5F5;
    text-decoration: none;
    transition: var(--transition);
}
.contact-action-row:last-child { border-bottom: none; }
.contact-action-row:hover { opacity: 0.8; }
.contact-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-action-icon.phone  { background: rgba(76, 175, 80, 0.12); color: #2E7D32; }
.contact-action-icon.whatsapp { background: rgba(37, 211, 102, 0.12); color: #128C7E; }
.contact-action-icon.email  { background: rgba(33, 150, 243, 0.12); color: #1565C0; }
.contact-action-text { flex: 1; }
.contact-action-label {
    display: block;
    font-size: 0.78rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.1rem;
}
.contact-action-value {
    display: block;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--clr-text-primary);
}
.contact-action-arrow {
    color: #CCC;
}

/* Contact icon in header nav-right */
.contact-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--clr-text-primary);
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
}
.contact-header-btn:hover {
    color: var(--clr-primary);
}

/* Desktop: modal is centered, not bottom-sheet */
@media (min-width: 600px) {
    .modal-overlay {
        align-items: center;
    }
    .modal-sheet {
        border-radius: 24px;
        transform: translateY(20px) scale(0.97);
        max-height: 88vh;
    }
    .modal-overlay.active .modal-sheet {
        transform: translateY(0) scale(1);
    }
    .modal-drag-handle { display: none; }
    #item-modal .modal-img-wrap {
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 400px) {
    #item-modal .modal-img-wrap { height: auto; aspect-ratio: 1 / 1; }
    #item-modal .modal-item-name { font-size: 1.2rem; }
    #item-modal .modal-price { font-size: 1.4rem; }
}






/* === pages.css === */
/* ==========================================================================
   Bonfire Pizza CSS Module: pages.css
   ========================================================================== */

/* Hero Section */
.hero {
    padding: 3rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(167, 2, 1, 0.1);
    color: var(--clr-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--clr-text-primary);
}

.hero-title .highlight {
    color: var(--clr-primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--clr-primary);
    opacity: 0.2;
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--clr-text-primary);
    border: 2px solid #E5E5E5;
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.hero-image-wrapper {
    position: relative;
    height: 550px;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background-color: var(--clr-surface-dark);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-badge.badge-1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    top: 60px;
    right: -20px;
    animation-delay: 1.5s;
}

.stars {
    color: var(--clr-star);
    letter-spacing: 2px;
}

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

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        height: 400px;
        margin-top: 2rem;
    }
    
    .floating-badge {
        display: none;
    }
}

/* Section Header */
.section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--clr-text-primary);
    margin-bottom: 0.4rem;
}

.section-header p {
    color: #555;
    font-size: 1.05rem;
}

/* Menu Section */
.menu {
    padding: 0.5rem 0 2.5rem;
}



/* About Section */
.about {
    padding: 3.5rem 0;
    background-color: var(--clr-background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.trust-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    text-align: left;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.trust-item .icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trust-item .icon svg {
    width: 2rem;
    height: 2rem;
    display: block;
}

@media (max-width: 768px) {
    .trust-item .icon svg {
        width: 1.8rem;
        height: 1.8rem;
    }
}

.dummy-block-for-bracket {
    display: none;
}

.trust-item .trust-text {
    font-weight: 600;
    color: var(--clr-text-primary);
}

@media (max-width: 768px) {
    .trust-icons {
        gap: 0.75rem;
    }
    .trust-item {
        padding: 0.8rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
    }
    .trust-item .icon {
        font-size: 1.5rem;
    }
    .trust-item .trust-text {
        font-size: 0.85rem;
    }
}

/* About Redesign Styles */
.about-hero-section {
    background-color: var(--clr-background);
    padding: 4rem 0 2rem;
    color: var(--clr-text-primary);
    text-align: center;
    border-radius: 0;
}

/* About Page Premium Layouts */
.about-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(167, 2, 1, 0.1);
    color: var(--clr-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.1;
    margin-bottom: 0.3rem;
    font-family: var(--ff-heading);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-about-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    color: white;
    border-color: transparent;
}

.social-about-btn.facebook:hover {
    background: #1877F2;
    color: white;
    border-color: transparent;
}

.social-about-btn.twitter:hover {
    background: #000000;
    color: white;
    border-color: transparent;
}

/* Image Slider Navigation Buttons */
.about-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    color: var(--clr-text-primary);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-slider-btn:hover {
    background: var(--clr-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(167, 2, 1, 0.3);
}

.about-slider-btn.prev {
    left: 15px;
}

.about-slider-btn.next {
    right: 15px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    #about-img-display {
        height: 450px !important;
    }
    
    .about-stats {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 80px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--clr-text-primary);
    position: relative;
    display: inline-block;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--clr-primary);
    border-radius: 2px;
}

.about-section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-section-subtitle {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.why-us-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(167, 2, 1, 0.08);
    border-color: rgba(167, 2, 1, 0.15);
}

.why-us-icon {
    width: 50px;
    height: 50px;
    background: rgba(167, 2, 1, 0.1);
    color: var(--clr-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.why-us-icon svg {
    width: 24px;
    height: 24px;
}

.why-us-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--clr-text-primary);
}

.why-us-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
}

.info-details-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.info-details-card h3 {
    font-size: 1.5rem;
    color: var(--clr-text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.info-details-card h3 svg {
    color: var(--clr-primary);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.info-list li svg {
    color: var(--clr-primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.info-list strong {
    color: var(--clr-text-primary);
}

.social-links-about {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-about-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--clr-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-about-btn:hover {
    background: var(--clr-primary);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 4rem 0;
    }
    .about-hero-title {
        font-size: 2.5rem;
    }
    .about-hero-subtitle {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 3.5rem 0;
    background-color: var(--clr-surface);
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-card-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%; /* stretch to full width */
}

.contact-card.minimal-card {
    flex-grow: 1;
    justify-content: flex-start;
    min-width: 0; /* allow text to shrink-wrap properly */
}

.minimal-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    margin: 0;
}

.outside-icon {
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.outside-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(167, 2, 1, 0.2);
}

.contact-card, .contact-address-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.contact-address-card {
    margin-bottom: 2.5rem;
}

.contact-card.minimal-card {
    padding: 1rem 1.5rem;
    height: auto;
}

.contact-card:hover, .contact-address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(167, 2, 1, 0.1);
    color: var(--clr-primary);
    border-radius: 14px; /* Square with rounded corners instead of circle */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
}

.contact-card-info h4 {
    font-size: 1.1rem;
    color: var(--clr-text-primary);
    margin-bottom: 0.3rem;
}

.contact-card-info p {
    color: #666;
    font-size: 0.95rem;
}

.contact-map {
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
    background-color: #eee;
}

.contact-map iframe {
    display: block;
    width: 100%;
}

.contact-form-container {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 600px; /* Reduced from 100% for better desktop appearance */
    margin: 0 auto;
}

@media (min-width: 769px) {
    .desktop-hide {
        display: none !important;
    }
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #E5E5E5;
    border-radius: var(--border-radius);
    font-family: var(--ff-body);
    font-size: 1rem;
    background-color: #F8F9FA;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: white;
}

.compact-form .form-group {
    margin-bottom: 1rem;
}

.compact-form input, .compact-form textarea {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

.compact-form .btn {
    padding: 0.8rem;
    font-size: 1rem;
}



/* Refined Hero container */
.refined-hero {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem; /* Small gap from walls, reduced bottom gap */
}

.hero-image-frame {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden; /* Clips the image perfectly inside the border radius */
    box-shadow: none; /* Removed box shadow to prevent dark blur leaking into next section */
    background-color: transparent; /* Removed dark background */
}

.hero-full-img {
    display: block;
    width: 100%;
    height: auto; /* Ensures the image aspect ratio is preserved and never cropped */
}

.hero-image-frame .hero-order-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    font-size: 1rem; /* Reduced size */
    padding: 0.8rem 1.8rem; /* Reduced padding */
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-frame .hero-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(167, 2, 1, 0.5);
}

@media (max-width: 768px) {
    .refined-hero {
        padding: 0.5rem; /* Too small gap on mobile */
    }
    
    .hero-image-frame .hero-order-btn {
        display: none; /* Remove button on mobile */
    }
}

/* --- Mobile Specific Additions --- */



/* Profile Grid Responsive */
@media (max-width: 768px) {
    .profile-grid-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .profile-content {
        padding: 2rem 1.5rem !important;
    }
    .profile-nav-buttons {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    .profile-btn {
        flex: 1 1 auto;
        justify-content: center;
        border-left: none !important;
        border-bottom: 4px solid transparent;
        padding: 0.8rem 1rem !important;
    }
    .profile-btn.active {
        border-bottom-color: var(--clr-primary) !important;
        background: transparent !important;
    }
}


/* Chatbot Widget Wrapper (Restored) */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
}
@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 90px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .profile-grid-row {
        grid-template-columns: 1fr !important;
    }
}

/* Chatbot styling and color overrides */
.chatbot-toggle {
    background: #e5e5e5 !important;
    background-color: #e5e5e5 !important;
    color: var(--clr-text-primary) !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.chatbot-toggle:hover {
    transform: scale(1.08) !important;
    box-shadow: none !important;
}


/* Floating Cart Summary Box */
.floating-cart-bar {
    background-color: #e5e5e5 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
    bottom: 90px !important;
    color: var(--clr-text-primary) !important;
}

/* View Cart Button */
.cart-view-btn, .cart-view-btn:hover {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Profile Form Grid Layouts */
.profile-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.profile-form-row.address {
    grid-template-columns: 2fr 1fr;
}

.profile-form-row.three {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
    .profile-form-row,
    .profile-form-row.address,
    .profile-form-row.three {
        grid-template-columns: 1fr !important;
    }
}

/* Desktop Fixes */
@media (min-width: 769px) {
    /* 1. Category Sticky Wrapper */
    .category-sticky-wrapper { display: none !important; }
    .desktop-menu-heading { display: block !important; }

    /* 2. Fix menu container — undo chatbot.css 4-column grid flattening */
    .menu .container {
        display: block !important;
        grid-template-columns: unset !important;
    }
    /* Undo display:contents so each menu-grid is its own row */
    .menu .menu-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    /* Remove the injected "MENU" pseudo-element from chatbot.css */
    .menu .container::before {
        display: none !important;
        content: none !important;
    }
    /* Show all category heading divs — override chatbot.css hide rules */
    .menu #deals,
    .menu #burgers,
    .menu #pizzas,
    .menu #fries,
    .menu #chicken,
    .menu #drinks,
    .menu #desserts {
        display: flex !important;
    }

    /* 3. Menu Item Modal — desktop two-column, enlarged */
    #item-modal .modal-sheet {
        max-width: min(90vw, 1080px) !important;
        width: min(90vw, 1080px) !important;
        display: flex !important;
        flex-direction: row !important;
        padding: 0 !important;
        overflow: hidden;
        max-height: 85vh !important;
    }
    #item-modal .modal-img-wrap {
        width: 460px !important;
        min-width: 460px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0;
        border-radius: 0 !important;
        align-self: stretch;
    }
    #item-modal .modal-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }
    #item-modal .modal-body {
        flex: 1 !important;
        width: auto !important;
        padding: 3rem !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
    }
    #item-modal .modal-category-tag { align-self: flex-start !important; margin-bottom: 1rem !important; }
    #item-modal .modal-item-name { font-size: 1.8rem !important; }
    #item-modal .modal-item-desc { font-size: 1rem !important; }
    #item-modal .modal-price { font-size: 2rem !important; }

    /* Category section headings — desktop only */
    #deals, #burgers, #pizzas, #fries, #chicken, #drinks, #desserts {
        margin-top: 3rem !important;
        margin-bottom: 1.25rem !important;
        padding-bottom: 0.75rem !important;
        border-bottom: 2px solid rgba(0,0,0,0.06) !important;
        display: flex !important;
        align-items: center !important;
    }
    #deals h3, #burgers h3, #pizzas h3, #fries h3,
    #chicken h3, #drinks h3, #desserts h3 {
        font-size: 1.6rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.01em !important;
        color: var(--clr-text-primary) !important;
    }
    /* First category gets no extra top margin */
    #deals { margin-top: 1.5rem !important; }

    /* 4. Header Search */
    .mobile-search-bar { display: none !important; }
    .header-desktop-search {
        display: flex !important;
        align-items: center;
        background: var(--clr-background, #f4f4f4);
        border-radius: 50px;
        padding: 0.4rem 0.8rem;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        overflow: hidden;
        margin-right: 1rem;
        cursor: pointer;
        position: relative;
        z-index: 100;
    }
    .header-desktop-search:focus-within {
        width: 250px;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        cursor: text;
    }
    .header-desktop-search input {
        border: none;
        background: transparent;
        outline: none;
        width: 100%;
        margin-left: 0.5rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .header-desktop-search:focus-within input {
        opacity: 1;
    }

    /* 5. Contact Section */
    .contact-grid-wrapper {
        display: flex !important;
        gap: 3rem !important;
        align-items: stretch !important;
    }
    .contact-left-col {
        flex: 1;
        max-width: none !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .contact-map {
        flex: 1;
        margin-top: 0 !important;
    }
    .contact-map iframe {
        height: 100% !important;
        min-height: 0 !important;
        border-radius: 16px;
    }

    /* 6. Contact Modal Animation */
    #contact-modal .modal-sheet {
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translate(-50%, 100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-radius: 20px 20px 0 0 !important;
        max-width: 500px !important;
        width: 100% !important;
        margin: 0 !important;
    }
    #contact-modal.active .modal-sheet {
        transform: translate(-50%, 0) !important;
    }

    /* 7. View Cart Bar */
    .floating-cart-bar {
        left: 20px !important;
        right: auto !important;
        transform: none !important;
        width: 350px !important;
        bottom: 20px !important;
        border-radius: 50px !important;
    }

    /* 8. Chatbot Container */
    .chatbot-container {
        right: 0 !important;
        bottom: 80px !important; /* above cart/chatbot icon */
        max-height: calc(100vh - 120px) !important;
        transform-origin: bottom right !important;
    }
}
.desktop-menu-heading { display: none; }


/* Desktop Hide nav links when search active */
.nav-links { transition: opacity 0.3s ease, transform 0.3s ease; }
.nav-links.search-active {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-20px);
}

@media (min-width: 769px) { header:has(.header-desktop-search:focus-within) .nav-links { opacity: 0; pointer-events: none; transform: translateX(-20px); } }

@media (min-width: 769px) { header:has(.header-desktop-search:focus-within) .nav-center { opacity: 0 !important; pointer-events: none; transform: translateX(-20px); transition: all 0.3s ease; } }

/* Global Header Search */
.header-desktop-search {
    display: flex !important;
    align-items: center;
    background: transparent;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    height: 40px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 100;
}
.header-desktop-search:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.header-search-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin: 0 auto; /* Center in the 40x40 circle */
}
.header-desktop-search:focus-within {
    width: 220px;
    background: white;
    /* Professional, subtle, truncated shadow */
    box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    cursor: text;
    padding: 0 0.8rem;
}
.header-desktop-search:focus-within:hover {
    background-color: white; /* don't get grey on hover when focused */
}
.header-desktop-search:focus-within .header-search-icon {
    margin: 0; /* Reset margin so it sits next to input */
}
@media (min-width: 769px) {
    .header-desktop-search:focus-within {
        width: 300px;
    }
}
.header-desktop-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-family: inherit;
    font-size: 0.95rem;
}
.header-desktop-search:focus-within input {
    opacity: 1;
    transition-delay: 0.1s;
}

/* Hide header navigation text when search is focused */
.nav-center {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
}

header:has(.header-desktop-search:focus-within) .nav-center {
    max-width: 0;
    opacity: 0 !important;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .about-left {
        text-align: center;
    }
    .about-left .about-badge {
        display: table;
        margin: 0 auto 0.5rem auto;
    }
    .text-center .about-badge {
        display: table;
        margin: 0 auto 0.5rem auto;
    }

    /* Mobile search bar focus behavior */
    .header-desktop-search {
        display: flex !important;
    }
    .header-desktop-search:focus-within {
        position: absolute;
        right: 15px;
        left: 15px;
        width: auto !important;
        background: white;
        z-index: 100005;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 0;
    }
    header:has(.header-desktop-search:focus-within) .nav-left {
        opacity: 0;
        pointer-events: none;
    }
}

.search-close-icon {
    display: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    margin-left: 0.2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.search-close-icon:hover {
    color: var(--clr-primary, #e74c3c);
}

.header-desktop-search:focus-within .search-close-icon {
    display: block;
    pointer-events: auto;
}

/* Accessibility contrast fixes */
.review-card {
    color: #1a1a1a !important;
}
.review-timestamp {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #6b6b6b !important;
}
.hours-text {
    font-size: 0.85rem; 
    color: #5c5c5c !important; 
    margin-top: 0.3rem;
}
.contact-card-text {
    color: #1a1a1a !important;
}
