*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Poppins',Arial,sans-serif;background:#fffaf2;color:#24170f;line-height:1.6}
img{display:block;width:100%;height:100%;object-fit:cover}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}
.container{width:min(1160px,92%);margin:auto}
.small-container{max-width:760px}
.site-header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #eadfd1}
.nav-wrap{height:78px;display:flex;align-items:center;justify-content:space-between;position:relative}
.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:800;color:#24170f}
.brand-icon{width:42px;height:42px;border-radius:12px;background:#f5a900;display:grid;place-items:center;font-size:25px;box-shadow:0 5px 15px #c88a2938}
nav{display:flex;gap:28px;font-weight:600;color:#5c4536}
nav a:hover{color:#b85c20}
.header-actions{display:none;align-items:center;gap:14px}
.menu-toggle{display:none;border:0;background:none;font-size:28px;cursor:pointer}
.cart-btn{position:relative;border:0;background:#fff2df;color:#b85c20;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.cart-count{position:absolute;top:-4px;right:-4px;background:#b85c20;color:white;font-size:11px;font-weight:800;min-width:19px;height:19px;border-radius:999px;display:none;align-items:center;justify-content:center;padding:0 4px}

.hero{min-height:760px;padding-top:78px;position:relative;background:url('https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=2000&q=90') center/cover no-repeat;display:flex;align-items:center;color:white}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(25,13,5,.82),rgba(25,13,5,.42),rgba(25,13,5,.2))}
.hero-content{position:relative;z-index:1;max-width:760px}
.eyebrow{display:inline-block;letter-spacing:3px;font-size:12px;font-weight:800;color:#ffd277;margin-bottom:18px}
.eyebrow.brown{color:#b85c20}
.hero h1{font-size:clamp(44px,7vw,78px);line-height:1.05;font-weight:800;margin-bottom:22px}
.hero h1 span{color:#ffbd43}
.hero p{font-size:18px;max-width:650px;color:#f6eee5;margin-bottom:34px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 26px;border-radius:999px;border:0;cursor:pointer;font-weight:700;transition:.25s}
.btn-primary{background:#b85c20;color:white;box-shadow:0 10px 25px #7b3a1833}
.btn-primary:hover{background:#954719;transform:translateY(-2px)}
.btn-primary:disabled{background:#d8bda3;cursor:not-allowed;transform:none;box-shadow:none}
.btn-light{background:white;color:#5b321e}
.btn-light:hover{background:#fff1dc}
.section{padding:100px 0}
.section-heading{text-align:center;max-width:700px;margin:0 auto 44px}
.section-heading h2{font-size:clamp(32px,5vw,48px);line-height:1.15;margin-bottom:12px;color:#2d1b11}
.section-heading p{color:#806e60}
.filters{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-bottom:38px}
.filter-btn{border:1px solid #dfcbb7;background:white;color:#684a38;padding:10px 18px;border-radius:999px;cursor:pointer;font-weight:600;transition:.25s}
.filter-btn:hover,.filter-btn.active{background:#b85c20;color:white;border-color:#b85c20}
.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.menu-loading{grid-column:1/-1;text-align:center;color:#806e60;padding:40px 0}
.menu-card{background:white;border-radius:22px;overflow:hidden;border:1px solid #eadfd1;box-shadow:0 12px 35px rgba(83,48,25,.08);transition:.3s}
.menu-card:hover{transform:translateY(-7px);box-shadow:0 18px 45px rgba(83,48,25,.14)}
.food-image{height:245px;position:relative;overflow:hidden;background:#eee}
.food-image img{transition:.45s}
.menu-card:hover .food-image img{transform:scale(1.06)}
.badge{position:absolute;top:14px;left:14px;background:#fff3d6;color:#9a531f;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:800}
.card-body{padding:20px}
.card-body h3{font-size:20px;margin-bottom:7px}
.card-body p{font-size:14px;color:#806e60;min-height:46px}
.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:15px}
.card-bottom strong{font-size:20px;color:#b85c20}
.add-btn{width:38px;height:38px;border-radius:50%;border:0;background:#b85c20;color:white;font-size:25px;line-height:1;cursor:pointer}
.gallery-section{background:#fff}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gallery-grid img{height:280px;border-radius:20px;transition:.35s}
.gallery-grid img:hover{transform:scale(1.025)}

/* ---------- LOCATION (touched up) ---------- */
.location-section{background:linear-gradient(180deg,#fffaf2,#fff5e6)}
.location-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:26px}
.contact-card,.map-card,.feedback-card,.track-card,.order-status-card{background:white;border:1px solid #eadfd1;border-radius:24px;box-shadow:0 12px 35px rgba(83,48,25,.08)}
.contact-card{padding:38px;display:flex;flex-direction:column;gap:22px}
.contact-block{display:flex;gap:16px;align-items:flex-start}
.contact-icon-badge{flex:0 0 auto;width:46px;height:46px;border-radius:14px;background:#fff2df;color:#b85c20;display:grid;place-items:center}
.contact-block h3{font-size:16px;margin-bottom:4px;color:#2d1b11}
.contact-block p{color:#806e60;font-size:14.5px}
.contact-block a{color:#b85c20;font-weight:700}
.socials{display:flex;gap:10px;flex-wrap:wrap;padding-top:6px;border-top:1px solid #f0e4d4}
.social-icon{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:12px;background:#fff2df;color:#9a531f;font-size:14px;font-weight:700;transition:.2s}
.social-icon:hover{background:#b85c20;color:white;transform:translateY(-2px)}
.map-card{overflow:hidden;min-height:390px}
.map-card iframe{width:100%;height:100%;min-height:390px;border:0}

/* ---------- TRACK ORDER ---------- */
.track-card{padding:30px}
.track-inputs{display:flex;gap:10px;flex-wrap:wrap}
.track-inputs input{flex:1 1 200px;border:1px solid #ddcdbc;border-radius:13px;padding:13px 15px;background:#fffdfa;outline:none}
.track-inputs input:focus{border-color:#b85c20;box-shadow:0 0 0 3px #b85c2018}
.order-status-card{margin-top:22px;padding:30px}
.order-status-card.hidden{display:none}
.order-status-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.order-status-header h3{font-size:22px}
.status-pill{padding:7px 14px;border-radius:999px;font-size:12.5px;font-weight:800;background:#fff2df;color:#9a531f}
.status-pill.status-completed{background:#e4f5e8;color:#2c8a48}
.status-pill.status-cancelled{background:#fbe6e2;color:#b8442a}
.status-track{display:flex;flex-direction:column;gap:0;margin-bottom:22px}
.status-step{display:flex;align-items:center;gap:14px;padding:9px 0;color:#b7a794;position:relative}
.status-step:not(:last-child)::before{content:"";position:absolute;left:5px;top:28px;width:2px;height:100%;background:#ecdfcd}
.status-step .status-dot{width:12px;height:12px;border-radius:50%;background:#ecdfcd;flex:0 0 auto}
.status-step.done{color:#2d1b11}
.status-step.done .status-dot{background:#b85c20}
.status-step.current .status-label{font-weight:800;color:#b85c20}
.status-label{font-size:14.5px;font-weight:600}
.invoice-note{margin-top:14px;color:#2c8a48;font-weight:700;font-size:14.5px}

/* ---------- FEEDBACK ---------- */
.feedback-section{background:#fff}
.feedback-card{padding:34px}
.feedback-card label{display:block;font-weight:700;margin:0 0 8px}
.feedback-card input,.feedback-card textarea,.track-card textarea,.checkout-form textarea{width:100%;border:1px solid #ddcdbc;border-radius:13px;padding:13px 15px;margin-bottom:22px;outline:none;background:#fffdfa}
.feedback-card input:focus,.feedback-card textarea:focus{border-color:#b85c20;box-shadow:0 0 0 3px #b85c2018}
.stars{display:flex;gap:6px;margin-bottom:22px}
.stars button{border:0;background:none;color:#d8c8b9;font-size:34px;cursor:pointer;transition:.2s}
.stars button.selected{color:#f3a51b}
.submit-btn{width:100%}
.feedback-message{text-align:center;margin-top:15px;color:#39834a;font-weight:600;min-height:1em}
.error-message{color:#c24a2c!important}

footer{background:#2c180d;color:#eadfd1;padding:30px 0}
.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}
.footer-inner strong{color:white;font-size:18px}
.footer-inner p{font-size:13px;color:#c9b6a5}

/* =========================================
   CART DRAWER
   ========================================= */
.drawer-overlay{position:fixed;inset:0;background:rgba(25,13,5,.45);z-index:1200;opacity:0;pointer-events:none;transition:.25s}
.drawer-overlay.open{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:-420px;width:min(420px,92vw);height:100%;background:#fffaf2;z-index:1300;box-shadow:-20px 0 50px rgba(0,0,0,.15);transition:.3s;display:flex;flex-direction:column}
.cart-drawer.open{right:0}
.cart-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #eadfd1}
.cart-drawer-header h3{font-size:20px}
.drawer-close{border:0;background:#fff2df;color:#b85c20;width:34px;height:34px;border-radius:50%;font-size:15px;cursor:pointer}
.cart-items{flex:1;overflow-y:auto;padding:18px 24px}
.cart-empty{color:#806e60;text-align:center;padding:40px 0}
.cart-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #f0e4d4}
.cart-item img{width:64px;height:64px;border-radius:14px;flex:0 0 auto}
.cart-item-info{flex:1}
.cart-item-info h4{font-size:15px;margin-bottom:3px}
.cart-item-info>span{color:#b85c20;font-weight:700;font-size:14px}
.qty-control{display:flex;align-items:center;gap:10px;margin-top:8px}
.qty-btn{width:26px;height:26px;border-radius:50%;border:1px solid #ddcdbc;background:white;cursor:pointer;font-size:16px;line-height:1}
.remove-btn{margin-left:auto;border:0;background:none;color:#c24a2c;font-size:12.5px;font-weight:700;cursor:pointer}
.cart-footer{padding:20px 24px;border-top:1px solid #eadfd1}
.cart-total-row{display:flex;justify-content:space-between;font-weight:800;font-size:18px;margin-bottom:14px}

/* =========================================
   MODALS (checkout + confirmation)
   ========================================= */
.modal-overlay{position:fixed;inset:0;background:rgba(25,13,5,.5);z-index:1400;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:.25s;padding:20px}
.modal-overlay.open{opacity:1;pointer-events:auto}
.modal-card{position:relative;background:#fffaf2;border-radius:24px;padding:34px;width:min(480px,100%);max-height:88vh;overflow-y:auto;box-shadow:0 30px 70px rgba(0,0,0,.25)}
.modal-card h3{font-size:22px;margin-bottom:18px}
.modal-card label{display:block;font-weight:700;margin:0 0 8px}
.modal-card input{width:100%;border:1px solid #ddcdbc;border-radius:13px;padding:13px 15px;margin-bottom:18px;outline:none;background:#fffdfa}
.modal-card input:focus,.modal-card textarea:focus{border-color:#b85c20;box-shadow:0 0 0 3px #b85c2018}
.checkout-summary{background:#fff2df;border-radius:16px;padding:16px 18px;margin-bottom:20px}
.summary-row{display:flex;justify-content:space-between;font-size:14.5px;padding:5px 0;color:#5c4536}
.summary-total{font-weight:800;font-size:16px;color:#2d1b11;border-top:1px solid #e8d3b4;margin-top:6px;padding-top:10px}
.confirm-icon{font-size:44px;text-align:center;margin-bottom:6px}
.modal-card h3{text-align:center}
.order-code-box{display:flex;gap:14px;margin:18px 0;flex-wrap:wrap}
.order-code-box>div{flex:1;background:#fff2df;border-radius:14px;padding:14px;text-align:center}
.order-code-box span{display:block;font-size:12px;color:#9a531f;font-weight:700;margin-bottom:4px}
.order-code-box strong{font-size:18px;color:#2d1b11}
.small-note{text-align:center;color:#806e60;font-size:13.5px;margin-bottom:16px}

@media(max-width:900px){.menu-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.location-grid{grid-template-columns:1fr}}
@media(max-width:700px){
  .nav-wrap{height:70px}.brand{font-size:18px}.brand-icon{width:36px;height:36px;font-size:21px}
  .header-actions{display:flex}
  .menu-toggle{display:block}
  nav{display:none;position:absolute;top:70px;left:0;width:100%;padding:18px 5%;background:white;border-bottom:1px solid #eadfd1;flex-direction:column;gap:14px}
  nav.open{display:flex}
  .hero{min-height:680px}
  .hero h1{font-size:46px}
  .hero p{font-size:16px}
  .section{padding:72px 0}
  .menu-grid,.gallery-grid{grid-template-columns:1fr}
  .gallery-grid img{height:300px}
  .footer-inner{flex-direction:column;text-align:center}
  .track-inputs{flex-direction:column}
}
@media(min-width:701px){.header-actions{display:flex}}

/* =========================================
   SHARED DASHBOARD LOOK (admin.html / kitchen.html)
   ========================================= */
.dash-body{background:#f6f0e6;min-height:100vh}
.dash-header{background:#fffaf2;border-bottom:1px solid #eadfd1;padding:18px 0;position:sticky;top:0;z-index:100}
.dash-header .container{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.dash-tabs{display:flex;gap:8px;flex-wrap:wrap}
.dash-tab{border:1px solid #dfcbb7;background:white;color:#684a38;padding:9px 18px;border-radius:999px;cursor:pointer;font-weight:600}
.dash-tab.active{background:#b85c20;color:white;border-color:#b85c20}
.dash-main{padding:36px 0 70px}
.dash-panel{display:none}
.dash-panel.active{display:block}
.dash-card{background:white;border:1px solid #eadfd1;border-radius:20px;box-shadow:0 10px 28px rgba(83,48,25,.06);padding:26px}
.dash-grid{display:grid;gap:20px}
.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}
.login-card{width:min(400px,100%);background:white;border:1px solid #eadfd1;border-radius:22px;padding:36px;box-shadow:0 20px 50px rgba(83,48,25,.1);text-align:center}
.login-card h1{font-size:22px;margin-bottom:6px}
.login-card p{color:#806e60;margin-bottom:24px;font-size:14px}
.login-card input{width:100%;border:1px solid #ddcdbc;border-radius:13px;padding:13px 15px;margin-bottom:16px;outline:none}
.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:26px}
.stat-box{background:white;border:1px solid #eadfd1;border-radius:18px;padding:20px}
.stat-box span{display:block;font-size:12.5px;font-weight:700;color:#9a531f;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.stat-box strong{font-size:26px;color:#2d1b11}
table{width:100%;border-collapse:collapse;font-size:14px}
table th{text-align:left;color:#9a531f;font-size:12.5px;text-transform:uppercase;letter-spacing:.4px;padding:10px 12px;border-bottom:2px solid #eadfd1}
table td{padding:12px;border-bottom:1px solid #f0e4d4;vertical-align:middle}
table tr:hover td{background:#fffaf2}
.table-wrap{overflow-x:auto}
.dish-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dish-form-grid label{grid-column:1/-1;font-weight:700;margin-bottom:-8px;font-size:13.5px}
.dish-form-grid input,.dish-form-grid textarea,.dish-form-grid select{width:100%;border:1px solid #ddcdbc;border-radius:12px;padding:11px 13px;outline:none}
.dish-thumb{width:52px;height:52px;border-radius:10px;object-fit:cover}
.chip{display:inline-block;padding:4px 11px;border-radius:999px;font-size:11.5px;font-weight:800}
.chip-pending{background:#fff2df;color:#9a531f}
.chip-accepted{background:#e9f0fb;color:#2c5aa3}
.chip-preparing{background:#f5edfd;color:#7a3fc0}
.chip-ready{background:#fff8dd;color:#a17b00}
.chip-delivered{background:#e8f6ee;color:#2c8a48}
.chip-completed{background:#e4f5e8;color:#227a3c}
.chip-cancelled{background:#fbe6e2;color:#b8442a}
.icon-btn{border:0;background:#fff2df;color:#b85c20;padding:8px 14px;border-radius:10px;font-weight:700;cursor:pointer;font-size:13px}
.icon-btn:hover{background:#b85c20;color:white}
.icon-btn.danger{background:#fbe6e2;color:#b8442a}
.icon-btn.danger:hover{background:#c24a2c;color:white}
.icon-btn:disabled{opacity:.4;cursor:not-allowed}
.form-actions{display:flex;gap:10px;grid-column:1/-1}
.section-title{font-size:20px;margin-bottom:18px;color:#2d1b11}
.empty-state{text-align:center;padding:50px 0;color:#806e60}
.order-card{border:1px solid #eadfd1;border-radius:16px;padding:18px;margin-bottom:14px;background:#fffdf9}
.order-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;flex-wrap:wrap;gap:8px}
.order-card-head strong{font-size:16px}
.order-card ul{list-style:none;margin:10px 0;font-size:13.5px;color:#5c4536}
.order-card ul li{display:flex;justify-content:space-between;padding:3px 0}
.order-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;flex-wrap:wrap;gap:10px}
.order-actions{display:flex;gap:8px;flex-wrap:wrap}
.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.top-bar-user{display:flex;align-items:center;gap:12px}
.top-bar-user span{font-size:13.5px;color:#806e60}
.logout-btn{border:0;background:#fbe6e2;color:#b8442a;padding:9px 16px;border-radius:999px;font-weight:700;cursor:pointer}
.error-box{background:#fbe6e2;color:#b8442a;padding:12px 16px;border-radius:12px;font-size:13.5px;margin-bottom:16px}
.hidden{display:none!important}
