
/* =========================================================
   MITHO CORNER - COMPLETE FRONTEND STYLES
   ========================================================= */
:root{
    --red:#d92d39;
    --red-dark:#bd202c;
    --orange:#ef7b1a;
    --orange-dark:#d85d0e;
    --green:#178a55;
    --text:#171717;
    --muted:#666;
    --border:#e7e7e7;
    --light:#f8f9fa;
    --white:#fff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;
}
a{transition:.2s ease}
img{max-width:100%}

/* ================= TOP BAR ================= */
.topbar{
    height:35px;
    background:linear-gradient(90deg,#d92d39,#c9232f);
    color:#fff;
    font-size:12px;
}
.topbar-inner{
    height:35px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.topbar-left{
    display:flex;
    align-items:center;
    gap:25px;
    white-space:nowrap;
}
.topbar-left span,.follow-us{
    display:flex;
    align-items:center;
}
.topbar i{margin-right:6px}
.follow-us{gap:13px}
.follow-us a{
    color:#fff;
    text-decoration:none;
    font-size:13px;
}
.follow-us a:hover{transform:translateY(-1px);opacity:.8}
.follow-label{margin-right:2px}

/* ================= NAVIGATION ================= */
.main-nav{
    height:87px;
    background:#fff;
    border-bottom:1px solid #eee;
    box-shadow:0 2px 12px rgba(0,0,0,.07);
    position:relative;
    z-index:100;
}
.nav-inner{
    height:100%;
    display:flex;
    align-items:center;
    gap:17px;
}
.brand{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:300px;
    color:#111;
    text-decoration:none;
    flex:none;
}
.brand img,.brand-fallback{
    width:48px!important;
    height:48px!important;
    min-width:48px;
    max-width:48px;
    object-fit:cover;
    border-radius:11px;
    border:2px solid var(--orange);
    flex:none;
}
.brand-fallback{
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--orange);
    background:#fff;
    font-size:22px;
}
.brand-text b,.brand span b{
    display:block;
    font-size:22px;
    line-height:1.1;
    color:var(--orange-dark);
    letter-spacing:1px;
    font-weight:800;
}
.brand-text small,.brand span small{
    display:block;
    font-size:10px;
    line-height:1.3;
    color:#444;
    margin-top:3px;
}
.nav-links{
    display:flex;
    align-items:stretch;
    gap:2px;
    height:87px;
}
.nav-links li{list-style:none}
.nav-links .nav-link{
    height:87px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-width:65px;
    padding:0 10px;
    color:#111!important;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    border-bottom:4px solid transparent;
}
.nav-links .nav-link i{font-size:15px}
.nav-links .nav-link:hover,
.nav-links .nav-link.active{
    color:var(--orange)!important;
    border-bottom-color:var(--orange);
}
.search-box{
    height:42px;
    width:182px;
    min-width:182px;
    display:flex;
    align-items:center;
    border:1px solid #e0e0e0;
    border-radius:8px;
    background:#fff;
    overflow:hidden;
}
.search-box input{
    width:100%;
    min-width:0;
    height:100%;
    border:0;
    outline:0;
    padding:0 12px;
    font-size:12px;
}
.search-box button{
    width:38px;
    height:100%;
    border:0;
    background:#fff;
    color:#777;
}
.cart-btn,.login-btn,.signup-btn,.profile-btn{
    height:42px;
    border-radius:8px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-decoration:none;
    white-space:nowrap;
    font-size:13px;
    font-weight:700;
}
.cart-btn{
    position:relative;
    background:var(--orange);
    color:#fff;
}
.cart-btn:hover{background:#df6d0d;color:#fff}
.cart-count{
    position:absolute;
    top:-7px;
    right:-6px;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border-radius:50%;
    background:var(--red);
    color:#fff;
    font-size:10px;
    line-height:18px;
    text-align:center;
}
.login-btn{
    border:1px solid var(--red);
    color:var(--red);
    background:#fff;
}
.login-btn:hover{background:#fff2f3;color:var(--red)}
.signup-btn{
    background:var(--red);
    color:#fff;
}
.signup-btn:hover{background:var(--red-dark);color:#fff}
.profile-btn{
    border:1px solid #ddd;
    background:#fff;
    color:#222;
}
.nav-profile-photo{
    width:26px;height:26px;border-radius:50%;object-fit:cover;
}
.mobile-toggle{display:none}

/* ================= HOME HERO ================= */
.hero-home{
    height:330px;
    width:100%;
    position:relative;
    overflow:hidden;
}
.hero-home .carousel,
.hero-home .carousel-inner,
.hero-home .carousel-item{height:100%}
.hero-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.hero-dark{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.53);
}
.hero-caption{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
}
.welcome{
    color:#ffd027;
    font-size:40px;
    line-height:1;
    font-family:"Brush Script MT","Segoe Script",cursive;
    font-style:italic;
    margin-bottom:7px;
}
.hero-caption h1{
    margin:0;
    font-size:52px;
    line-height:1.05;
    font-weight:900;
    letter-spacing:1px;
}
.hero-divider{
    display:flex;
    align-items:center;
    gap:15px;
    margin:9px 0 5px;
    color:#ffc800;
    font-size:21px;
}
.hero-divider::before,.hero-divider::after{
    content:"";
    width:60px;
    height:2px;
    background:#fff;
}
.hero-caption p{
    margin:0 0 17px;
    font-size:18px;
    font-weight:500;
}
.hero-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#e9363f;
    color:#fff;
    border:0;
    border-radius:6px;
    padding:11px 23px;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
}
.hero-button:hover{
    background:#c92430;
    color:#fff;
    transform:translateY(-1px);
}
.hero-arrow{
    position:absolute;
    z-index:4;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:1px solid #fff;
    border-radius:50%;
    background:transparent;
    color:#fff;
    font-size:38px;
    line-height:38px;
}
.hero-arrow:hover{background:rgba(255,255,255,.18)}
.hero-arrow.prev{left:2.2%}
.hero-arrow.next{right:2.2%}
.carousel-indicators{z-index:5;margin-bottom:18px}
.carousel-indicators [data-bs-target]{
    width:10px;height:10px;border-radius:50%;border:0;margin:0 5px;
}

/* ================= CATEGORY STRIP ================= */
.category-strip{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:22px;
    padding:24px 0 42px;
}
.home-category{
    display:block;
    height:143px;
    overflow:hidden;
    border:1px solid #e5e5e5;
    border-radius:14px;
    background:#fff;
    box-shadow:0 2px 7px rgba(0,0,0,.04);
    text-align:center;
    color:#111;
    text-decoration:none;
    transition:.25s ease;
}
.home-category:hover{
    transform:translateY(-5px);
    color:#111;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
}
.home-category img,.category-placeholder{
    display:block;
    width:100%;
    height:103px;
    object-fit:cover;
}
.category-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff5ee;
    color:var(--orange);
    font-size:36px;
}
.home-category strong{
    display:block;
    padding:8px 5px;
    font-size:14px;
}

/* ================= BENEFITS ================= */
.benefit-strip{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    overflow:hidden;
    border:1px solid #e7e7e7;
    border-radius:12px;
    margin-bottom:22px;
    background:#fff;
}
.benefit{
    min-height:90px;
    padding:13px 14px;
    display:flex;
    align-items:center;
    gap:13px;
    border-right:1px solid #eee;
}
.benefit:last-child{border-right:0}
.benefit>i{
    width:50px;
    height:50px;
    min-width:50px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff1e5;
    color:var(--orange);
    font-size:21px;
}
.benefit:nth-child(2)>i{background:#fff0f0;color:#e53945}
.benefit:nth-child(3)>i{background:#fff0f3;color:#ef476f}
.benefit:nth-child(4)>i{background:#eaf8ee;color:#21a457}
.benefit:nth-child(5)>i{background:#edf5ff;color:#2686e8}
.benefit b,.benefit span{display:block}
.benefit b{font-size:13px;margin-bottom:6px}
.benefit span{font-size:12px;color:#555;line-height:1.45}

/* ================= SECTIONS ================= */
.section-space{padding-top:58px;padding-bottom:58px}
.section-heading{text-align:center;margin-bottom:32px}
.section-heading>span{
    color:var(--orange);
    font-size:11px;
    font-weight:800;
    letter-spacing:3px;
}
.section-heading h2{
    margin:5px 0;
    font-size:32px;
    font-weight:800;
}
.section-heading p{margin:0;color:#777;font-size:14px}

/* Today's special */
.special-card,.testimonial-card,.checkout-card,.reservation-form-card,.content-card,
.payment-card,.profile-card,.dashboard-card,.tracking-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
}
.special-card{height:100%;overflow:hidden;transition:.25s}
.special-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(0,0,0,.10)}
.special-card>img,.special-placeholder{
    width:100%;
    height:230px;
    object-fit:cover;
}
.special-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff4eb;
    color:var(--orange);
    font-size:55px;
}
.special-badge{
    display:inline-block;
    background:var(--red);
    color:#fff;
    padding:5px 10px;
    border-radius:5px;
    font-size:12px;
}
.special-card h3{font-size:22px;font-weight:800;margin:12px 0 8px}
.special-card p{color:#777;min-height:42px}
.price{font-size:24px;font-weight:800;color:var(--green);margin-bottom:14px}
.outline-btn{
    display:inline-block;
    border:1px solid var(--red);
    color:var(--red);
    text-decoration:none;
    padding:8px 17px;
    border-radius:6px;
    font-weight:600;
}
.outline-btn:hover{background:var(--red);color:#fff}
.home-empty{
    padding:40px;
    text-align:center;
    border:1px dashed #ddd;
    border-radius:15px;
    color:#777;
}
.home-empty i{font-size:40px;color:var(--orange);display:block;margin-bottom:12px}

/* Testimonials */
.testimonial-card{
    text-align:center;
    padding:28px;
    height:100%;
}
.testimonial-card img,.testimonial-avatar{
    width:82px;
    height:82px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto;
}
.testimonial-avatar{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff1e5;
    color:var(--orange);
    font-size:30px;
}
.testimonial-card h4{font-size:18px;margin:13px 0 5px}
.stars{color:#ffad00;letter-spacing:2px}
.testimonial-card p{color:#666;line-height:1.7;margin-top:10px}

/* ================= FOOTER ================= */
.site-footer{
    margin-top:20px;
    background:#fafbfc;
    border-top:1px solid #eee;
}
.footer-container{padding-top:0}
.footer-grid{
    display:grid;
    grid-template-columns:1.35fr 1fr 1fr 1.15fr 1fr;
    gap:38px;
    padding:42px 0 34px;
}
.footer-grid h5{
    margin:0 0 17px;
    font-size:13px;
    font-weight:900;
}
.footer-grid p{
    font-size:13px;
    line-height:1.8;
    margin:8px 0;
}
.footer-grid>div>a{
    display:block;
    color:#17609b;
    text-decoration:none;
    font-size:13px;
    margin:10px 0;
}
.footer-grid>div>a:hover{color:var(--red)}
.footer-brand{min-width:0!important;margin-bottom:13px}
.footer-brand img,.footer-brand .brand-fallback{
    width:40px!important;
    height:40px!important;
    min-width:40px;
}
.footer-brand .brand-text b,.footer-brand span b{font-size:17px}
.footer-brand small{font-size:10px}
.footer-about>p{max-width:260px}
.footer-social{
    display:flex;
    gap:10px;
    margin-top:13px;
}
.footer-social a{
    width:34px;
    height:34px;
    border-radius:50%;
    display:flex!important;
    align-items:center;
    justify-content:center;
    background:#222;
    color:#fff!important;
    margin:0!important;
}
.footer-social a:hover{transform:translateY(-2px);color:#fff}
.footer-contact i{color:var(--red);width:18px}
.connect-title{margin-top:30px!important}
.copyright{
    text-align:center;
    background:var(--red);
    color:#fff;
    padding:10px;
    font-size:13px;
}


/* ================= MENU CATEGORY TABS ================= */
.menu-category-tabs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    margin:0 auto 24px;
}
.menu-category-tabs a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:8px 18px;
    border:1px solid #e4e4e4;
    border-radius:999px;
    background:#fff;
    color:#333;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.menu-category-tabs a:hover,
.menu-category-tabs a.active{
    background:var(--red);
    border-color:var(--red);
    color:#fff;
    transform:translateY(-1px);
}
.page-section{padding-top:45px;padding-bottom:45px}
.filter-card{
    padding:22px;
    border:1px solid #eee;
    border-radius:16px;
    background:#fff;
    box-shadow:0 7px 25px rgba(0,0,0,.05);
}
.empty-state{
    padding:45px 25px;
    border:1px dashed #ddd;
    border-radius:16px;
    color:#777;
}
.map-placeholder{
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:#fff7f4;
    color:#d92d39;
}
.map-placeholder i{font-size:55px;margin-bottom:12px}

/* ================= OTHER PAGES ================= */
main{min-height:65vh}
.page-content{padding-top:30px}
.btn{border-radius:7px}
.food-card{
    border:none;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 7px 25px rgba(0,0,0,.06);
    transition:.25s;
}
.food-card:hover{transform:translateY(-5px)}
.food-img,.food-card>img{height:230px;object-fit:cover;width:100%}
.food-detail-img{height:500px;width:100%;object-fit:cover;border-radius:18px}
.quantity-box{max-width:180px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.gallery-photo{margin:0;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 25px rgba(0,0,0,.10)}
.gallery-photo img{width:100%;height:300px;object-fit:cover;display:block;transition:.4s}
.gallery-photo:hover img{transform:scale(1.04)}
.gallery-photo figcaption{padding:14px}
.gallery-photo figcaption b,.gallery-photo figcaption span{display:block}
.gallery-photo figcaption span{color:#777;font-size:13px;margin-top:4px}
.info-hero{padding:65px 0;background:linear-gradient(120deg,#c92534,#e14b3b);color:#fff}
.info-hero h1{font-size:44px;font-weight:800}
.content-card{padding:35px;line-height:1.8}
.map-card{height:430px;border-radius:16px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.1)}
.map-card iframe{width:100%;height:100%;border:0}
.profile-card{padding:35px}
.profile-top{text-align:center;margin-bottom:25px}
.profile-photo{width:110px;height:110px;border-radius:50%;object-fit:cover;border:4px solid var(--orange)}
.profile-placeholder{width:110px;height:110px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff1e7;color:var(--orange);font-size:45px}
.reservation-form-card{padding:30px}
.table-summary{display:flex;justify-content:center;gap:2px;margin-bottom:25px}
.table-summary>div{background:#fff;border:1px solid #eee;padding:18px 45px;text-align:center}
.table-summary b,.table-summary span{display:block}
.table-summary b{font-size:25px;color:var(--red)}
.table-summary span{font-size:12px;color:#777}
.table-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}
.table-seat{padding:12px;text-align:center;border-radius:12px;border:2px solid #28a745;background:#f3fff6}
.table-seat.occupied{border-color:var(--red);background:#fff3f3}
.table-seat img{width:100%;height:115px;object-fit:cover;border-radius:8px;margin-bottom:8px}
.table-visual{height:115px;position:relative;display:flex;align-items:center;justify-content:center;color:#9b5a2e;font-size:42px}
.payment-brand-grid{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin:25px;align-items:center}
.gateway-icon{padding:10px 18px;border-radius:10px;font-weight:800;box-shadow:0 4px 15px rgba(0,0,0,.08)}
.payment-logo{width:150px;height:50px;object-fit:contain}
.payment-card{max-width:700px;margin:auto;padding:30px}
.success-card{max-width:800px;margin:auto;padding:60px 30px;border:1px solid #eee;border-radius:20px;box-shadow:0 10px 35px rgba(0,0,0,.08)}
.success-icon{width:80px;height:80px;border-radius:50%;background:#dff7e7;color:#18a05a;display:flex;align-items:center;justify-content:center;font-size:40px;margin:auto}
.tracking-card{max-width:1000px;margin:auto;padding:30px}
.tracking-head{display:flex;justify-content:space-between;align-items:center}
.status-pill{background:#fff0d8;color:#9b5d00;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:700}
.tracking-line{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:40px 0 25px;position:relative}
.tracking-line:before{content:"";position:absolute;top:27px;left:10%;right:10%;height:3px;background:#ddd}
.track-step{position:relative;z-index:1;text-align:center}
.track-step i{width:55px;height:55px;border-radius:50%;background:#eee;color:#888;display:flex;align-items:center;justify-content:center;margin:auto auto 10px;font-size:21px}
.track-step.active i{background:var(--red);color:#fff}
.track-step b,.track-step small{display:block}
.track-step small{color:#777;margin-top:4px}
.notification-item{display:flex;gap:15px;padding:18px;border-bottom:1px solid #eee}
.notification-item>i{width:42px;height:42px;border-radius:50%;background:#fff0f1;color:var(--red);display:flex;align-items:center;justify-content:center}
.dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.dash-stats>div{background:#fff;border-radius:14px;padding:22px;box-shadow:0 5px 20px rgba(0,0,0,.06)}
.dash-stats i{font-size:22px;color:var(--red)}
.dash-stats b,.dash-stats span{display:block}
.dash-stats b{font-size:26px;margin-top:8px}
.dash-stats span{color:#777;font-size:13px}
.dashboard-card{padding:25px}
.dash-table{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee}
.auth-page{min-height:75vh;display:flex;align-items:center;background:linear-gradient(135deg,#fff7f5,#f8f9fa)}
.auth-card{border-radius:24px}
.auth-side{min-height:480px;padding:45px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;background:linear-gradient(135deg,#dc3545,#8f1d2c)}
.popup-card{border:0;border-radius:18px;overflow:hidden}
.popup-card>img{width:100%;max-height:280px;object-fit:cover}

/* ================= RESPONSIVE ================= */
@media (max-width:1199px){
    .brand{min-width:230px}
    .nav-links .nav-link{min-width:56px;padding:0 6px}
    .search-box{width:150px;min-width:150px}
    .footer-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:991px){
    .main-nav{height:auto;padding:10px 0}
    .nav-inner{display:flex;flex-wrap:wrap}
    .brand{min-width:0;margin-right:auto}
    .mobile-toggle{display:block}
    .navbar-toggler{border:1px solid #ddd}
    .navbar-collapse{width:100%;padding-top:10px}
    .nav-links{height:auto;display:block}
    .nav-links .nav-link{height:auto;display:flex;flex-direction:row;justify-content:flex-start;padding:11px;border-bottom:0}
    .search-box{width:100%;min-width:0;margin:10px 0}
    .cart-btn,.login-btn,.signup-btn,.profile-btn{margin:5px 5px 5px 0}
    .category-strip{grid-template-columns:repeat(3,1fr)}
    .benefit-strip{grid-template-columns:repeat(2,1fr)}
    .benefit{border-bottom:1px solid #eee}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
    .topbar{height:auto;padding:7px 0}
    .topbar-inner{height:auto;display:block}
    .topbar-left{gap:7px;justify-content:center;flex-wrap:wrap;font-size:10px}
    .follow-us{display:none}
    .hero-home{height:360px}
    .welcome{font-size:29px}
    .hero-caption h1{font-size:36px}
    .hero-caption p{font-size:15px}
    .hero-arrow{width:40px;height:40px;font-size:30px}
    .category-strip{grid-template-columns:repeat(2,1fr);gap:12px;padding:16px 12px 30px}
    .home-category{height:130px}
    .home-category img,.category-placeholder{height:94px}
    .benefit-strip{grid-template-columns:1fr}
    .benefit{border-right:0}
    .section-space{padding-top:40px;padding-bottom:40px}
    .section-heading h2{font-size:27px}
    .gallery-grid{grid-template-columns:1fr}
    .table-grid{grid-template-columns:1fr}
    .tracking-line{grid-template-columns:1fr;gap:18px}
    .tracking-line:before{display:none}
    .footer-grid{grid-template-columns:1fr;gap:25px}
    .dash-stats{grid-template-columns:1fr 1fr}
}
@media (max-width:480px){
    .brand-text b,.brand span b{font-size:18px}
    .brand-text small,.brand span small{font-size:9px}
    .brand img,.brand-fallback{width:44px!important;height:44px!important;min-width:44px}
    .hero-home{height:330px}
    .hero-caption h1{font-size:30px}
    .hero-divider:before,.hero-divider:after{width:35px}
    .benefit{padding:14px}
    .dash-stats{grid-template-columns:1fr}
}

/* ================= BILLING COUNTER / POS ================= */
.billing-page{background:#f7f8fa;min-height:calc(100vh - 120px);padding-bottom:50px}.billing-header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:25px 0}.billing-header h1{font-weight:800;margin:4px 0}.billing-header p{color:#777;margin:0}.billing-header-actions{display:flex;gap:10px}.billing-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.billing-stats>div{background:#fff;border:1px solid #eee;border-radius:14px;padding:17px 18px;display:flex;align-items:center;gap:13px;box-shadow:0 4px 15px rgba(0,0,0,.04)}.billing-stats i{font-size:22px;color:#d72b32}.billing-stats b{font-size:20px}.billing-stats span{display:block;color:#777;font-size:12px;margin-left:auto}.billing-card{background:#fff;border:1px solid #eee;border-radius:16px;padding:20px;box-shadow:0 5px 20px rgba(0,0,0,.04)}.billing-card-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.billing-card-title h3{font-size:19px;font-weight:800;margin:0}.billing-search{max-width:260px}.billing-menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:610px;overflow:auto;padding:2px}.billing-item{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e8e8e8;border-radius:12px;padding:9px;text-align:left;transition:.15s;cursor:pointer}.billing-item:hover{border-color:#d72b32;transform:translateY(-1px);box-shadow:0 4px 12px rgba(215,43,50,.12)}.billing-item img,.billing-item-icon{width:58px;height:58px;border-radius:9px;object-fit:cover;flex:none}.billing-item-icon{display:grid;place-items:center;background:#fff0f0;color:#d72b32;font-size:22px}.billing-item span{min-width:0}.billing-item b,.billing-item small,.billing-item strong{display:block}.billing-item b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.billing-item small{color:#888;font-size:10px}.billing-item strong{color:#d72b32;font-size:12px;margin-top:3px}.sticky-bill{position:sticky;top:90px}.customer-fields{display:grid;gap:8px}.bill-lines{max-height:320px;overflow:auto;margin-top:15px}.empty-bill{text-align:center;padding:35px 10px;color:#999}.empty-bill i{font-size:35px;color:#ddd}.bill-line{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;border-bottom:1px solid #eee;padding:10px 0}.bill-line b,.bill-line small{display:block}.bill-line small{font-size:11px;color:#888}.bill-line>strong{font-size:13px}.qty{display:flex;align-items:center;gap:6px}.qty button{border:1px solid #ddd;background:#fff;width:27px;height:27px;border-radius:6px}.qty .remove-line{color:#d72b32;border:0}.bill-total{display:flex;justify-content:space-between;border-top:2px solid #222;margin-top:10px;padding-top:12px;font-size:20px}.bill-total b{color:#d72b32}.payment-title{margin-top:18px;font-weight:800}.pos-payment-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.pos-payment-grid label{cursor:pointer}.pos-payment-grid input{display:none}.pos-payment-grid span{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #ddd;border-radius:8px;padding:9px;font-size:12px;height:44px}.pos-payment-grid input:checked+span{border:2px solid #d72b32;background:#fff7f7}.pos-payment-grid img{max-height:21px;max-width:58px}.payment-help{display:flex;gap:8px;background:#fff8e7;border-radius:8px;padding:9px;margin-top:10px;color:#775d20;font-size:11px}.billing-tables{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.pos-table{position:relative;min-height:145px;text-align:center;padding:20px 4px 0}.table-top{width:82px;height:62px;border-radius:12px;margin:0 auto;background:#e8f8ed;border:2px solid #28a45a;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#208449;position:relative;z-index:2}.pos-table.occupied .table-top{background:#fff0f0;border-color:#d72b32;color:#c62828}.table-top b{font-size:14px}.table-top small{font-size:9px}.chair-top,.chair-bottom,.chair-left,.chair-right{position:absolute;background:#cfd3d8;border-radius:5px}.chair-top,.chair-bottom{width:42px;height:12px;left:50%;transform:translateX(-50%)}.chair-top{top:4px}.chair-bottom{top:89px}.chair-left,.chair-right{width:12px;height:42px;top:37px}.chair-left{left:calc(50% - 55px)}.chair-right{right:calc(50% - 55px)}.pos-table.occupied .chair-top,.pos-table.occupied .chair-bottom,.pos-table.occupied .chair-left,.pos-table.occupied .chair-right{background:#f2b7ba}.table-toggle{margin-top:12px}.table-toggle button{border:0;background:transparent;font-size:10px;color:#555}.table-legend{font-size:11px;color:#777}.table-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 3px 0 8px}.table-legend .free{background:#28a45a}.table-legend .busy{background:#d72b32}.billing-transactions th{font-size:12px;color:#777}.billing-transactions td{font-size:13px}.section-space{margin-top:40px}
@media(max-width:1100px){.billing-menu-grid{grid-template-columns:repeat(2,1fr)}.billing-tables{grid-template-columns:repeat(4,1fr)}.billing-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.billing-header{display:block}.billing-header-actions{margin-top:15px}.billing-menu-grid{grid-template-columns:1fr}.billing-tables{grid-template-columns:repeat(2,1fr)}.sticky-bill{position:static}.billing-stats{grid-template-columns:1fr 1fr}.billing-stats span{margin-left:0}.billing-item{min-width:0}}
@media print{.site-footer,.topbar,.main-nav,.billing-header-actions,.billing-stats,.billing-card:first-child,.billing-card:nth-of-type(2),.billing-card-title .btn,.billing-page .btn{display:none!important}.billing-page{background:#fff}.billing-card{box-shadow:none;border:0}.billing-page{padding:0}}

/* =========================================================
   RELIABLE ORDER TRACKING PAGE
   ========================================================= */
.track-page{background:linear-gradient(180deg,#fff7f5 0,#fff 420px);min-height:calc(100vh - 122px);padding:42px 0 70px}
.track-hero{display:flex;align-items:center;justify-content:center;gap:18px;text-align:left;margin-bottom:28px}
.track-hero-icon{width:68px;height:68px;border-radius:18px;background:linear-gradient(135deg,var(--red),var(--orange));color:#fff;display:flex;align-items:center;justify-content:center;font-size:29px;box-shadow:0 10px 25px rgba(217,45,57,.2)}
.track-hero span{font-size:11px;letter-spacing:3px;font-weight:800;color:var(--orange)}
.track-hero h1{margin:3px 0 5px;font-size:36px;font-weight:800}
.track-hero p{margin:0;color:#666}
.track-search-card{max-width:1080px;margin:0 auto 22px;background:#fff;border:1px solid #eee;border-radius:18px;padding:23px;box-shadow:0 8px 30px rgba(0,0,0,.06)}
.track-search-card .form-label{font-size:12px;font-weight:700;margin-bottom:6px}
.track-search-card .input-group-text{background:#fff;border-right:0;color:var(--red)}
.track-search-card .form-control{border-left:0}
.track-btn{background:var(--red);border-color:var(--red);color:#fff;font-weight:700;height:48px;border-radius:9px}
.track-btn:hover{background:var(--red-dark);border-color:var(--red-dark);color:#fff}
.track-help{font-size:12px;color:#777;margin-top:13px}.track-help i{color:var(--orange);margin-right:5px}
.track-alert{max-width:1080px;margin:0 auto 20px;border-radius:12px}
.tracking-result{max-width:1080px;margin:0 auto;background:#fff;border:1px solid #eee;border-radius:20px;padding:28px;box-shadow:0 10px 35px rgba(0,0,0,.07)}
.tracking-result-head{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eee;padding-bottom:20px}
.small-label{font-size:10px;letter-spacing:2px;color:#888;font-weight:800}.tracking-result-head h2{font-size:30px;margin:4px 0}.tracking-result-head p{margin:0;color:#777;font-size:12px}
.tracking-status{padding:9px 14px;border-radius:30px;background:#fff5dd;color:#8b5b00;font-weight:800;font-size:12px}.tracking-status.completed{background:#e8f8ee;color:#168348}.tracking-status.cancelled{background:#ffe9eb;color:#bd202c}
.order-progress{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin:35px 0 32px;position:relative}.order-progress:before{content:"";position:absolute;left:8%;right:8%;top:28px;height:4px;background:#e4e4e4;border-radius:5px}.progress-step{position:relative;text-align:center;z-index:1}.progress-icon{width:56px;height:56px;margin:0 auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eee;color:#888;border:4px solid #fff;box-shadow:0 0 0 1px #ddd;font-size:20px}.progress-step.done .progress-icon{background:var(--red);color:#fff;box-shadow:0 0 0 1px var(--red)}.progress-step.current .progress-icon{box-shadow:0 0 0 4px rgba(217,45,57,.12),0 0 0 1px var(--red)}.progress-step strong{display:block;font-size:12px}.progress-step small{display:block;color:#777;font-size:10px;margin-top:4px;padding:0 3px}
.tracking-info-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:25px}.tracking-info-grid>div{display:flex;align-items:center;gap:10px;background:#fafafa;border:1px solid #eee;border-radius:12px;padding:13px}.tracking-info-grid>div>i{color:var(--red);font-size:17px}.tracking-info-grid small,.tracking-info-grid strong{display:block}.tracking-info-grid small{color:#888;font-size:10px}.tracking-info-grid strong{font-size:12px;margin-top:3px}
.tracking-items{border:1px solid #eee;border-radius:14px;overflow:hidden}.tracking-items-title{display:flex;justify-content:space-between;align-items:center;background:#fafafa;padding:13px 16px;border-bottom:1px solid #eee}.tracking-items-title h3{font-size:16px;margin:0;font-weight:800}.tracking-items-title span{font-size:11px;color:#777}.tracking-item-row{display:flex;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #eee;font-size:13px}.tracking-item-row:last-child{border-bottom:0}.tracking-item-name small{color:#777;margin-left:5px}.tracking-item-row strong{color:var(--red)}
.tracking-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.cancelled-box{display:flex;align-items:center;gap:13px;background:#fff1f2;color:#bd202c;border-radius:12px;padding:18px;margin:25px 0}.cancelled-box i{font-size:28px}.cancelled-box strong,.cancelled-box span{display:block}.cancelled-box span{font-size:12px;color:#777;margin-top:4px}.track-empty{max-width:650px;margin:35px auto;background:#fff;border:1px solid #eee;border-radius:20px;text-align:center;padding:45px 25px;box-shadow:0 8px 25px rgba(0,0,0,.05)}.track-empty-icon{width:70px;height:70px;border-radius:50%;background:#fff0f0;color:var(--red);display:flex;align-items:center;justify-content:center;font-size:30px;margin:0 auto 18px}.track-empty h3{font-weight:800}.track-empty p{color:#777;margin:0}
@media(max-width:900px){.order-progress{grid-template-columns:repeat(3,1fr);gap:24px}.order-progress:before{display:none}.tracking-info-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.track-page{padding:28px 0 45px}.track-hero{justify-content:flex-start}.track-hero h1{font-size:28px}.track-hero-icon{width:55px;height:55px;font-size:24px}.tracking-result{padding:18px}.tracking-result-head{align-items:flex-start;flex-direction:column}.order-progress{grid-template-columns:repeat(2,1fr)}.tracking-info-grid{grid-template-columns:1fr}.tracking-actions{flex-direction:column}.tracking-actions .btn{width:100%}}

/* =========================================================
   MITHO CORNER HEADER FIX v3
   The public header intentionally does NOT use Bootstrap's
   navbar/collapse classes. Bootstrap remains available for
   dropdowns and other pages, but it cannot hide the main nav.
   ========================================================= */
.main-nav{
    min-height:87px;
    height:87px;
    width:100%;
    background:#fff;
    position:relative;
    z-index:1100;
}
.main-nav .nav-inner{
    width:100%;
    height:87px;
    display:flex;
    align-items:center;
    gap:10px;
}
.main-nav .brand{
    min-width:225px;
    width:225px;
    margin:0;
}
.main-nav .brand img,
.main-nav .brand-fallback{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    max-width:48px!important;
}
.site-nav-content{
    display:flex!important;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex:1 1 auto;
    min-width:0;
    visibility:visible!important;
    opacity:1!important;
}
.site-nav-content .nav-links{
    flex:1 1 auto;
    min-width:0;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:stretch;
    justify-content:center;
    gap:0;
    height:87px;
    list-style:none;
}
.site-nav-content .nav-links li{
    list-style:none;
    margin:0;
    padding:0;
    flex:0 0 auto;
}
.site-nav-content .nav-links .nav-link{
    min-width:64px;
    height:87px;
    padding:0 8px;
    margin:0;
    display:flex!important;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    color:#111!important;
    background:transparent!important;
    border:0;
    border-bottom:4px solid transparent;
    border-radius:0;
    font-size:13px;
    font-weight:600;
    line-height:1.1;
    text-decoration:none;
    white-space:nowrap;
}
.site-nav-content .nav-links .nav-link i{
    display:block;
    font-size:15px;
    line-height:1;
}
.site-nav-content .nav-links .nav-link:hover,
.site-nav-content .nav-links .nav-link.active{
    color:var(--orange)!important;
    border-bottom-color:var(--orange);
}
.site-nav-content .search-box{
    flex:0 1 175px;
    width:175px;
    min-width:145px;
    margin:0;
}
.site-nav-content .cart-btn,
.site-nav-content .login-btn,
.site-nav-content .signup-btn,
.site-nav-content .profile-btn{
    flex:0 0 auto;
}
.site-nav-content .cart-btn{min-width:72px}
.site-nav-content .login-btn{min-width:70px}
.site-nav-content .signup-btn{min-width:76px}
.mobile-toggle{
    display:none!important;
    border:1px solid #ddd;
    background:#fff;
    color:#222;
    width:44px;
    height:42px;
    border-radius:8px;
    align-items:center;
    justify-content:center;
    font-size:19px;
    cursor:pointer;
}

/* Keep every public navigation item visible on normal desktop Chrome widths. */
@media (min-width:1051px){
    .site-nav-content{display:flex!important}
    .mobile-toggle{display:none!important}
}

/* Compact desktop/tablet: retain every link, but make the controls smaller. */
@media (min-width:1051px) and (max-width:1240px){
    .main-nav .brand{min-width:205px;width:205px}
    .main-nav .brand-text b{font-size:19px}
    .site-nav-content{gap:5px}
    .site-nav-content .nav-links .nav-link{min-width:57px;padding:0 5px;font-size:12px}
    .site-nav-content .nav-links .nav-link i{font-size:14px}
    .site-nav-content .search-box{width:145px;min-width:125px}
    .site-nav-content .cart-btn,
    .site-nav-content .login-btn,
    .site-nav-content .signup-btn,
    .site-nav-content .profile-btn{padding:0 10px;font-size:12px}
}

/* Mobile navigation is controlled by our own class, not Bootstrap collapse. */
@media (max-width:1050px){
    .main-nav{height:auto;min-height:72px;padding:10px 0}
    .main-nav .nav-inner{height:auto;min-height:52px;flex-wrap:wrap;gap:10px}
    .main-nav .brand{min-width:0;width:auto;flex:1 1 auto}
    .main-nav .brand-text b{font-size:20px}
    .mobile-toggle{display:inline-flex!important;flex:0 0 44px}
    .site-nav-content{
        display:none!important;
        width:100%;
        flex:0 0 100%;
        flex-direction:column;
        align-items:stretch;
        justify-content:flex-start;
        gap:8px;
        padding:10px 0 4px;
        border-top:1px solid #eee;
    }
    .site-nav-content.mobile-open{display:flex!important}
    .site-nav-content .nav-links{
        width:100%;
        height:auto;
        flex-direction:column;
        align-items:stretch;
        justify-content:flex-start;
    }
    .site-nav-content .nav-links li{width:100%}
    .site-nav-content .nav-links .nav-link{
        width:100%;
        min-width:0;
        height:44px;
        padding:0 14px;
        flex-direction:row;
        justify-content:flex-start;
        gap:12px;
        border-bottom:1px solid #f0f0f0;
        border-left:4px solid transparent;
    }
    .site-nav-content .nav-links .nav-link:hover,
    .site-nav-content .nav-links .nav-link.active{
        border-bottom-color:#f0f0f0;
        border-left-color:var(--orange);
        background:#fff8f3!important;
    }
    .site-nav-content .search-box{
        width:100%;
        min-width:0;
        flex:none;
    }
    .site-nav-content .cart-btn,
    .site-nav-content .login-btn,
    .site-nav-content .signup-btn,
    .site-nav-content .dropdown{
        width:100%;
        margin:0;
    }
    .site-nav-content .cart-btn,
    .site-nav-content .login-btn,
    .site-nav-content .signup-btn,
    .site-nav-content .profile-btn{
        height:44px;
    }
    .site-nav-content .dropdown .profile-btn{width:100%}
}

/* Billing-only and staff-order UI */
.billing-private-section{margin-top:20px;padding-top:18px;border-top:1px dashed #ddd}
.billing-private-item{border:1px dashed #b9b9b9!important;background:#fafafa!important}
.staff-order-alert{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px;margin:10px 0;background:#fff8e1;border-left:4px solid #f0ad00;border-radius:10px}
@media(max-width:700px){.staff-order-alert{flex-direction:column;align-items:flex-start}}


/* Notification popup */
.notification-popover{position:fixed;right:22px;bottom:22px;width:340px;background:#fff;border:1px solid #eee;border-radius:16px;box-shadow:0 18px 45px rgba(0,0,0,.18);z-index:2000;overflow:hidden}
.notification-popover-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;background:#d92d39;color:#fff}
.notification-popover-head span{background:#fff;color:#d92d39;border-radius:999px;padding:2px 8px;font-weight:700}
.notification-popover-item{display:block;text-decoration:none;color:#222;padding:11px 15px;border-bottom:1px solid #eee}
.notification-popover-item:hover{background:#fff7f7}
.notification-popover-item b,.notification-popover-item small{display:block}
.notification-popover-item small{color:#666;margin-top:3px}
.notification-popover-link{display:block;text-align:center;padding:10px;color:#d92d39;text-decoration:none;font-weight:700}
@media(max-width:600px){.notification-popover{right:10px;bottom:10px;width:calc(100% - 20px)}}

/* Mitho Corner promotions and POS QR payment */
.promotion-section{padding-top:45px;padding-bottom:20px}.promotion-card{height:100%;overflow:hidden;border:1px solid #eee;border-radius:22px;background:#fff;box-shadow:0 12px 35px rgba(0,0,0,.08);transition:transform .25s ease,box-shadow .25s ease}.promotion-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(0,0,0,.12)}.promotion-media{height:260px;background:#f8f8f8;overflow:hidden}.promotion-media img,.promotion-media video{width:100%;height:100%;object-fit:cover}.promotion-placeholder{height:100%;display:grid;place-items:center;font-size:55px;color:#d9232e;background:linear-gradient(135deg,#fff3f3,#fff)}.promotion-body{padding:25px}.promotion-badge{display:inline-block;background:#fff0f1;color:#d9232e;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800;letter-spacing:.08em}.promotion-body h3{margin:12px 0 8px;font-weight:800}.promotion-body p{color:#666;min-height:48px}.counter-qr-box{align-items:center;gap:15px;padding:12px;border:1px dashed #e34b55;border-radius:14px;background:#fff7f7}.counter-qr-box img{width:105px;height:105px;object-fit:contain;background:#fff}.counter-qr-box b{display:block;font-size:18px;color:#c71f2b}.counter-qr-box small{display:block;color:#666;margin-top:4px}.food-detail-card{border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 12px 35px rgba(0,0,0,.08)}.food-detail-placeholder{height:450px;display:grid;place-items:center;font-size:80px;color:#d9232e;background:#fff4f4}.food-detail-img{width:100%;max-height:560px;object-fit:cover}

/* Admin dashboard inspired by the supplied planning-dashboard reference */
.admin-control-shell{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 120px);background:#f5f7fa}.admin-side{background:#245f89;color:#fff}.admin-side .admin-brand{padding:22px 18px;background:#fff;color:#245f89;font-weight:900;border-bottom:1px solid #e4e8ed}.admin-side a{display:flex;align-items:center;gap:13px;padding:16px 20px;color:#fff;text-decoration:none;font-weight:700;border-left:4px solid transparent}.admin-side a:hover,.admin-side a.active{background:#174b70;border-left-color:#ffb52e}.admin-main{padding:28px}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.admin-top h1{font-weight:800;margin:0}.admin-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:16px}.admin-stat{background:#fff;border:1px solid #dce5ec;border-radius:8px;padding:18px;text-align:center;box-shadow:0 3px 12px rgba(0,0,0,.04)}.admin-stat i{font-size:34px;margin-bottom:10px;color:#2f7cae}.admin-stat b{display:block;font-size:22px}.admin-stat span{color:#777}.admin-panel{background:#fff;border:1px solid #e1e7ec;border-radius:8px;margin-top:22px;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,.04)}.admin-panel-head{padding:16px 20px;border-bottom:1px solid #e7ebef;font-weight:800}.admin-activity{width:100%;border-collapse:collapse}.admin-activity th{background:#245f89;color:#fff;padding:12px}.admin-activity td{padding:12px;border-bottom:1px solid #edf0f3}.admin-avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#2938db;color:#fff;font-weight:800;margin-right:8px}.admin-role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px}.admin-role-card{border:1px solid #e4e9ef;border-radius:8px;padding:14px}.admin-role-card b{display:block}.admin-role-card span{color:#777;font-size:13px}
@media(max-width:1200px){.admin-stat-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.admin-control-shell{grid-template-columns:1fr}.admin-side{display:none}.admin-main{padding:16px}.admin-stat-grid{grid-template-columns:repeat(2,1fr)}.admin-role-grid{grid-template-columns:1fr}.promotion-media{height:210px}}
.payment-amount-card{background:linear-gradient(135deg,#fff3f3,#fff);border:1px solid #f2c5c8;border-radius:18px;padding:18px}.payment-amount-card small{display:block;letter-spacing:.12em;color:#8a6a6d;font-weight:800}.payment-amount-card strong{display:block;font-size:38px;color:#d9232e;margin:4px 0}.payment-amount-card span{color:#666}
.footer-social a:nth-child(1){background:#1877f2}.footer-social a:nth-child(2){background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7)}.footer-social a:nth-child(3){background:#000}.footer-social a:nth-child(4){background:#ff0000}.footer-social a:nth-child(5){background:#25d366}
.follow-us a:nth-of-type(1){color:#1877f2}.follow-us a:nth-of-type(2){color:#e1306c}.follow-us a:nth-of-type(3){color:#111}.follow-us a:nth-of-type(4){color:#ff0000}.follow-us a:nth-of-type(5){color:#25d366}

/* English / Nepali language switcher */
.language-switcher{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;white-space:nowrap}
.lang-btn{border:0;background:transparent;color:#444;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:700;cursor:pointer}
.lang-btn.active{background:#dc3545;color:#fff}
@media(max-width:1050px){.language-switcher{margin:8px 0;align-self:flex-start}}
