/* ============================================================
   SAAN - FULL UPDATED styles.css  (CLEAN + FIXED)
   - keeps your existing design
   - ✅ FIXED: cart mobile overlap (Qty/Subtotal label + value no longer collide)
   - ✅ keeps: mini-cart + floating cart + in-cart badge + cart totalbar
============================================================ */

/* =========================
   RESET & BASE STYLES
========================= */
*{ margin:0; padding:0; box-sizing:border-box; }

html, body{ max-width:100%; overflow-x:hidden; }

/* Smooth scrolling + anchor offset for sticky header */
html{ scroll-behavior:smooth; }
#home, #menu, #about, #brands, #locations, #franchise, #contact{ scroll-margin-top:95px; }

body{
  font-family:'Montserrat', sans-serif;
  color:#212121;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 100%);
  line-height:1.6;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

h1,h2,h3{ font-family:'Montserrat', sans-serif; }

a{
  text-decoration:none;
  color:#D32F2F;
  transition: color 0.3s ease;
}

img{ max-width:100%; height:auto; display:block; }

/* Premium focus (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px rgba(255, 213, 79, 0.35);
  border-color:#FFD54F;
  border-radius:12px;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  *{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

/* =========================
   BUTTONS
========================= */
.cta-button{
  background: linear-gradient(45deg, #D32F2F, #FF5722);
  color:#fff;
  padding: 12px 24px;
  border-radius: 999px;
  display:inline-block;
  font-weight:800;
  box-shadow:0 4px 10px rgba(211,47,47,0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  border:none;
  cursor:pointer;
}
.cta-button:hover{
  transform: translateY(-2px);
  box-shadow:0 8px 18px rgba(211,47,47,0.35);
  filter: brightness(0.98);
}

/* ✅ do NOT override all buttons */
.btn{
  background:#D32F2F;
  color:#fff;
  border:none;
  padding:10px 20px;
  border-radius:999px;
  cursor:pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  font-weight:900;
}
.btn:hover{ background:#B71C1C; transform: translateY(-1px); }
.btn.btn-sm{ padding:8px 12px; border-radius:999px; font-size:13px; }

/* =========================
   ✅ FLOATING CART BUTTON
========================= */
.floating-cart-btn{
  position:fixed;
  left:16px;
  bottom:16px;
  z-index:1600;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background: rgba(255,255,255,0.96);
  border:1px solid rgba(211,47,47,0.20);
  color:#111;
  font-weight:900;
  box-shadow:0 14px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.floating-cart-btn:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 40px rgba(0,0,0,0.22);
  background: rgba(255,255,255,1);
}

.fc-badge{
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  background: linear-gradient(45deg, #D32F2F, #FF5722);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:900;
}

.fc-total{
  font-size:12px;
  font-weight:900;
  color:#D32F2F;
  background: rgba(211,47,47,0.08);
  border:1px solid rgba(211,47,47,0.12);
  padding:6px 10px;
  border-radius:999px;
}

@media (max-width:640px){
  .floating-cart-btn{
    left:12px;
    bottom:12px;
    padding:10px 12px;
    gap:8px;
  }
  .fc-total{ display:none; }
}

/* =========================
   ✅ FLOATING CART WRAP + MINI CART
========================= */
.floating-cart-wrap{
  position:fixed;
  left:16px;
  bottom:16px;
  z-index:1700;
}

.mini-cart{
  position:absolute;
  left:0;
  bottom:58px;
  width: min(320px, calc(100vw - 32px));
  background: rgba(255,255,255,0.97);
  border:1px solid rgba(211,47,47,0.18);
  border-radius:18px;
  box-shadow:0 18px 45px rgba(0,0,0,0.20);
  overflow:hidden;
  display:none;
}
.mini-cart.open{ display:block; }

.mini-cart-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  background: linear-gradient(90deg, rgba(211,47,47,0.95), rgba(33,33,33,0.92));
  color:#fff;
}
.mini-x{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.mini-cart-body{
  padding:12px 14px;
  max-height:260px;
  overflow:auto;
}
.mini-row{
  padding:10px 0;
  border-bottom:1px dashed rgba(0,0,0,0.10);
}
.mini-row:last-child{ border-bottom:0; }
.mini-name{ font-weight:900; color:#111; }
.mini-meta{
  font-size:12px;
  font-weight:800;
  color:#555;
  margin-top:3px;
}

.mini-cart-foot{
  padding:12px 14px;
  border-top:1px solid rgba(0,0,0,0.08);
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.mini-total{
  display:flex;
  flex-direction:column;
  gap:3px;
  font-weight:900;
}
.mini-go{
  padding:10px 14px;
  border-radius:999px;
  background: linear-gradient(45deg, #D32F2F, #FF5722);
  color:#fff;
  font-weight:900;
  white-space:nowrap;
}

@media (max-width:640px){
  .floating-cart-wrap{ left:12px; bottom:12px; }
  .mini-cart{ bottom:54px; }
}

/* =========================
   QUICK LINKS (Floating)
========================= */
.quick-links {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-links .ql {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.88) 0%, rgba(0, 86, 179, 0.88) 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 123, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.quick-links .ql:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.92) 0%, rgba(0, 64, 133, 0.92) 100%);
  box-shadow: 0 14px 28px rgba(0, 123, 255, 0.22);
}
.quick-links .ql span { font-size: 13px; white-space: nowrap; }

@media (max-width: 640px) {
  .quick-links { right: 12px; bottom: 12px; gap: 8px; }
  .quick-links .ql span { display: none; }
  .quick-links .ql { padding: 10px; }
}

/* =========================
   HEADER
========================= */
.main-header{
  background: linear-gradient(90deg, #212121, #424242);
  position: sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,0.12);
}

.header-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding: 10px 20px;
  min-height:0;
}

/* brand */
.brand{ display:flex; align-items:center; }
.brand-link{
  display:inline-flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}
.brand-text{ margin-top:-1px; }
.brand-logo{
  width:76px;
  height:76px;
  object-fit:cover;
  border-radius:16px;
  background: rgba(255,255,255,0.06);
  padding:0;
  box-shadow:0 8px 20px rgba(0,0,0,0.28);
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-title{
  font-size:22px;
  font-weight:900;
  letter-spacing:0.6px;
  color:#FFD54F;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.45);
}
.brand-subtitle{
  font-size:13px;
  font-weight:700;
  margin-top:2px;
  color: rgba(255,255,255,0.85);
}

/* nav */
.main-nav{ display:flex; }

.nav-right{
  list-style:none;
  display:flex;
  align-items:center;
  gap:20px;
}
.nav-right li{ color:#fff; font-size:14px; }

.nav-right a{
  color:#fff;
  font-weight:600;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  padding:8px 10px;
  border-radius:10px;
}
.nav-right a:hover{
  color:#FFD54F;
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
}
.welcome{ color:#FFD54F; font-weight:800; }

/* =========================
   HERO (Rectangle Split + Offers)
========================= */
.hero{
  background: linear-gradient(to right, #D32F2F, #212121);
  padding: 60px 20px;
}

.hero-shell{
  max-width:1200px;
  margin:0 auto;
  background: rgba(255,255,255,0.95);
  border-radius:18px;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-left{
  padding: 50px 40px;
  color:#222;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-left h1{
  font-size:44px;
  margin-bottom:12px;
  color:#D32F2F;
  font-weight:900;
}

.hero-left p{
  font-size:16px;
  max-width:480px;
  margin-bottom:20px;
  color:#333;
}

.hero-right{
  background:#111;
  position:relative;
  min-height:360px;
}

.hero-carousel{ width:100%; height:100%; position:relative; }

.hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition: opacity 0.6s ease;
}
.hero-image.active{ opacity:1; }

/* Offers strip */
.offers-strip{
  max-width:1200px;
  margin:18px auto 0 auto;
  background: rgba(0,0,0,0.18);
  border-radius:14px;
  padding:16px;
  color:#fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}
.offers-title{
  font-weight:900;
  margin-bottom:10px;
  letter-spacing:0.3px;
}
.offers-slider{ position:relative; min-height:120px; }

.offer-slide{
  position:absolute;
  inset:0;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-radius:12px;
  background: rgba(255,255,255,0.92);
  color:#222;
  opacity:0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  cursor:pointer;
}
.offer-slide.active{ opacity:1; transform: translateY(0); }

.offer-text h4{
  font-size:18px;
  margin-bottom:4px;
  color:#D32F2F;
  font-weight:900;
}
.offer-text p{ font-size:14px; color:#333; margin:0; }

.offer-img img{
  width:110px;
  height:80px;
  object-fit:cover;
  border-radius:10px;
}

/* Hero responsive */
@media (max-width:900px){
  .hero-shell{ grid-template-columns:1fr; }
  .hero-right{ min-height:260px; }
  .hero-left{ padding:35px 25px; }
  .hero-left h1{ font-size:34px; }
}

/* =========================
   BASIC SECTION
========================= */
.section{ padding:40px 20px; text-align:center; }

/* =========================
   MENU
========================= */
.menu-section{
  padding:70px 20px;
  background:#fffdf6;
}

.menu-header{
  text-align:center;
  max-width:900px;
  margin:0 auto 25px auto;
}
.menu-header h2{
  font-size:42px;
  color:#D32F2F;
  font-weight:900;
  letter-spacing:0.5px;
}
.menu-header p{ color:#444; margin-top:8px; }

.menu-category-grid{
  max-width:1200px;
  margin:25px auto 35px auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

.menu-category-card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  min-height:170px;
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
  transform:translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color:#fff;
}
.menu-category-card:hover{
  transform: translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,0.18);
}
.menu-card-bg{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, #D32F2F 0%, #8b1b1b 55%, #111 100%);
  opacity:0.96;
}
.menu-card-content{ position:relative; padding:18px; flex:1; }
.menu-card-content h3{
  font-size:22px;
  font-weight:900;
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:0.8px;
}
.menu-card-content p{ font-size:13px; opacity:0.9; }

.menu-card-thumb{
  position:relative;
  width:160px;
  background: rgba(255,255,255,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
}
.menu-card-thumb img{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(0,0,0,0.25);
}
.menu-thumb-placeholder{
  width:120px;
  height:120px;
  border-radius:14px;
  background: rgba(255,255,255,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:1px;
}

.menu-full{ max-width:1200px; margin:0 auto; }

.menu-category-section{ margin-bottom:40px; scroll-margin-top:90px; }

.menu-category-banner{
  background: linear-gradient(90deg, #D32F2F, #212121);
  color:#fff;
  padding:18px;
  border-radius:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.menu-category-banner h3{
  font-size:22px;
  font-weight:900;
  text-transform:uppercase;
}

.submenu-chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  background: rgba(255,255,255,0.18);
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.chip:hover{ background: rgba(255,255,255,0.28); transform: translateY(-1px); }

.menu-subcategory-block{ margin-top:18px; padding:14px 0; scroll-margin-top:90px; }

.menu-subcategory-title{
  font-size:18px;
  font-weight:900;
  color:#222;
  margin:12px 0 14px 0;
  display:inline-block;
  border-left:5px solid #D32F2F;
  padding-left:10px;
}

.menu-items-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}

.menu-item-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display:flex;
  flex-direction:column;
}
.menu-item-card:hover{
  transform: translateY(-4px);
  box-shadow:0 14px 28px rgba(0,0,0,0.12);
}

.menu-item-img{ width:100%; height:170px; background:#f6f6f6; }
.menu-item-img img{ width:100%; height:100%; object-fit:cover; }

.menu-item-body{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}
.menu-item-body h5{ font-size:16px; font-weight:900; color:#111; }
.menu-item-body p{ font-size:13px; color:#555; min-height:34px; }

.menu-item-bottom{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.menu-price{ font-weight:900; color:#D32F2F; }

.menu-cart-form{ display:flex; align-items:center; gap:8px; }

/* menu qty input */
.qty{
  width:55px;
  padding:7px 8px;
  border:1px solid #ddd;
  border-radius:10px;
  font-weight:900;
}

.add-btn{
  background: linear-gradient(45deg, #D32F2F, #FF5722);
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
}
.add-btn:hover{ filter: brightness(0.95); }

.menu-footer-cta{ text-align:center; margin-top:20px; }
.menu-empty{ text-align:center; padding:30px 0; color:#444; }

@media (max-width:1024px){
  .menu-category-grid{ grid-template-columns: repeat(2, 1fr); }
  .menu-items-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:768px){
  .menu-category-grid{ grid-template-columns: 1fr; }
  .menu-items-grid{ grid-template-columns: repeat(2, 1fr); }
  .menu-card-thumb{ width:140px; }
}
@media (max-width:480px){
  .menu-items-grid{ grid-template-columns: 1fr; }
}

/* ✅ In-cart badge on menu cards (optional)
   NOTE: keep hidden by default; JS shows when qty > 0 */
.in-cart-badge{
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: #fff;
  background: rgba(192, 57, 43, 0.90);
  border: 1px solid rgba(192, 57, 43, 0.70);
  display:none;
}

/* =========================
   PREMIUM SECTION SYSTEM
========================= */
.saan-section{ padding:80px 20px; }
.saan-section.alt{ background:#fffaf0; }
.saan-container{ max-width:1200px; margin:0 auto; }

.section-head{ text-align:center; max-width:850px; margin:0 auto 28px auto; }
.section-head h2{ font-size:38px; color:#D32F2F; font-weight:900; }
.section-head p{ margin-top:8px; color:#444; }

/* =========================
   ABOUT
========================= */
.about-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 28px rgba(0,0,0,0.08);
  display:grid;
  grid-template-columns: 1fr 1.2fr;
}
.about-left{
  padding:28px;
  background: linear-gradient(135deg, #D32F2F, #212121);
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.about-badge{
  width:fit-content;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(255,255,255,0.18);
  font-weight:900;
  letter-spacing:1px;
}
.about-left h3{ font-size:24px; font-weight:900; }
.about-left p{ opacity:0.92; }
.about-right{ padding:28px; }
.about-right.about-content{ max-width:100%; margin:0; }
.about-right.about-content p{ margin-bottom:12px; }
.about-right.about-content img{ border-radius:14px; }

/* =========================
   BRANDS
========================= */
.brand-grid.premium{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.brand-card.premium{
  border-radius:18px;
  overflow:hidden;
  border:1px solid #eee;
  box-shadow:0 12px 26px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background:#fff;
}
.brand-card.premium:hover{
  transform: translateY(-4px);
  box-shadow:0 18px 34px rgba(0,0,0,0.12);
}
.brand-img{ height:180px; background:#f3f3f3; }
.brand-img img{ width:100%; height:100%; object-fit:cover; }
.brand-body{ padding:16px; text-align:left; }
.brand-body h3{ font-size:18px; font-weight:900; margin-bottom:6px; }
.brand-body p{ font-size:14px; color:#555; }

/* =========================
   OUTLETS
========================= */
.outlets-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

.outlet-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 26px rgba(0,0,0,0.08);
}

.outlet-top{ padding:16px; text-align:left; }
.outlet-top h3{ font-size:18px; font-weight:900; margin-bottom:6px; }
.outlet-address{ font-size:14px; color:#555; }

.outlet-map iframe{ width:100%; height:220px; border:0; display:block; }

.outlet-bottom{
  padding:14px 16px 18px 16px;
  display:flex;
  gap:10px;
  justify-content:space-between;
}
.outlet-btn{
  flex:1;
  text-align:center;
  padding:10px 12px;
  border-radius:999px;
  background: linear-gradient(45deg, #D32F2F, #FF5722);
  color:#fff;
  font-weight:900;
  font-size:13px;
}
.outlet-btn.secondary{
  background:#fff;
  color:#D32F2F;
  border:1px solid #f0c1c1;
}

/* Backward compatibility (old outlets) */
.outlets-container{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:center;
}
.outlet{
  flex:1 1 300px;
  max-width:350px;
  text-align:center;
  background:#fff;
  border:1px solid #E0E0E0;
  border-radius:12px;
  padding:15px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
.outlet h3{ margin-bottom:10px; font-size:18px; font-weight:900; }
.outlet p{ margin-bottom:15px; font-size:14px; }
.map-container iframe{ width:100%; height:200px; border-radius:10px; }

/* =========================
   FRANCHISE
========================= */
.franchise-card{
  border-radius:18px;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1.3fr 0.9fr;
  box-shadow:0 14px 28px rgba(0,0,0,0.10);
  border:1px solid #eee;
  background:#fff;
}

.franchise-left{ padding:28px; text-align:left; }
.franchise-left h2{ color:#D32F2F; font-weight:900; margin-bottom:10px; }

.franchise-points{
  margin:16px 0 18px 0;
  display:grid;
  gap:8px;
}

.point{
  background:#fff6f1;
  border:1px solid #ffd7c9;
  padding:10px 12px;
  border-radius:12px;
  font-weight:800;
  color:#333;
}

.franchise-right{
  padding:28px;
  background: linear-gradient(135deg, #212121, #D32F2F);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
}

.franchise-badge{
  width:fit-content;
  padding:6px 12px;
  border-radius:999px;
  background: rgba(255,255,255,0.18);
  font-weight:900;
}

/* =========================
   MODAL (Premium)
========================= */
#franchise-modal{
  display:none;
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.55);
  z-index:2000;
  align-items:center;
  justify-content:center;
  padding:18px;
}
#franchise-modal .modal{
  width:100%;
  max-width:520px;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,0.25);
}
#franchise-modal .modal-head{
  padding:14px 16px;
  background: linear-gradient(90deg, #D32F2F, #212121);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
#franchise-modal .modal-head h3{ margin:0; font-weight:900; }
#franchise-modal .modal-x{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color:#fff;
  font-size:18px;
  cursor:pointer;
}
#franchise-modal .modal-form{ padding:18px; max-width:none; margin:0; }
#franchise-modal .form-row{ margin-bottom:12px; }

#franchise-modal label{
  display:block;
  margin-bottom:6px;
  font-weight:800;
  color:#333;
  font-size:14px;
}
#franchise-modal input,
#franchise-modal textarea{
  width:100%;
  border-radius:12px;
  border:1px solid #ddd;
  padding:10px 12px;
}

#franchise-modal .modal-actions{
  margin-top:10px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.btn-ghost{
  background:#fff;
  color:#D32F2F;
  border:1px solid #f0c1c1;
  padding:12px 18px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
}
.btn-ghost:hover{ filter: brightness(0.98); }

/* =========================
   CONTACT
========================= */
.contact-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:18px;
  align-items:start;
}
.contact-cards{ display:grid; gap:12px; }

.info-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 22px rgba(0,0,0,0.06);
  display:flex;
  gap:12px;
  align-items:center;
  text-align:left;
}

.info-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:#fff2ec;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.contact-form-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 26px rgba(0,0,0,0.08);
  text-align:left;
}
.contact-form-card h3{
  margin-bottom:10px;
  color:#D32F2F;
  font-weight:900;
}

/* Alerts */
.alert{
  padding:10px 12px;
  border-radius:12px;
  margin-bottom:12px;
  font-weight:900;
}
.alert.success{ background:#eaffea; border:1px solid #b9f0b9; color:#1f6f1f; }
.alert.error{ background:#ffecec; border:1px solid #ffc1c1; color:#8b1b1b; }

.contact-form-card form,
#franchise-modal form{ max-width:500px; margin:0 auto; }

input, textarea{
  width:100%;
  padding:10px 12px;
  margin-bottom:10px;
  border-radius:12px;
  border:1px solid #BDBDBD;
  outline:none;
}
input:focus, textarea:focus{
  border-color:#D32F2F;
  box-shadow:0 0 0 3px rgba(211,47,47,0.15);
}

/* =========================
   FOOTER
========================= */
.main-footer, footer{
  background: linear-gradient(90deg, #212121, #424242);
  color:#fff;
  text-align:center;
  padding:10px 20px;
  box-shadow:0 -2px 10px rgba(0,0,0,0.1);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px 14px;
  min-height:0;
}
.footer-nav{ margin-bottom:0; font-size:12px; }
.footer-nav a{ color:#fff; font-weight:700; margin:0 6px; }
.footer-nav a:hover{ color:#FFD54F; }

.social-links{
  margin-top:0;
  margin-bottom:0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  width:auto;
}
.social-links a{
  width:30px;
  height:30px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color:#fff;
  font-size:14px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.social-links a:hover{
  background: rgba(255,213,79,0.14);
  color:#FFD54F;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}
.social-fallback{
  width:24px;
  height:24px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.14);
  font-weight:900;
  font-size:12px;
}

.muted{ color:#6c757d; }

/* =========================
   RESPONSIVE
========================= */
@media (min-width:768px){
  .brand-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (min-width:1024px){
  .header-container{ padding: 10px 40px; }
  .section{ padding:60px 40px; }
  .hero{ padding:80px 40px; }
}

/* =========================
   MOBILE HEADER FIX (Hamburger)
========================= */
.menu-toggle{ display:none; }

@media (max-width:767px){
  .header-container{
    position:relative;
    padding:12px 14px;
    justify-content:space-between;
    align-items:center;
    gap:12px;
  }

  .brand{ order:1; }
  .menu-toggle{ order:2; }

  .brand-logo{ width:64px; height:64px; padding:0; }
  .brand-title{ font-size:18px; }
  .brand-subtitle{ font-size:12px; }

  .menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.10);
    color:#FFD54F;
    font-size:22px;
    cursor:pointer;
    flex:0 0 auto;
    margin-left:auto;
  }

  .main-nav{ width:auto; }

  .nav-right{
    display:none;
    position:absolute;
    top:100%;
    right:14px;
    left:14px;
    margin-top:10px;
    flex-direction:column;
    gap:8px;
    padding:12px;
    border-radius:16px;
    background: rgba(33,33,33,0.96);
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:0 18px 40px rgba(0,0,0,0.30);
    z-index:2000;
  }

  #nav-links.open,
  .nav-right.open{ display:flex !important; }
}

/* Premium responsive */
@media (max-width:1024px){
  .brand-grid.premium{ grid-template-columns: repeat(2, 1fr); }
  .outlets-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-card{ grid-template-columns: 1fr; }
  .franchise-card{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width:520px){
  .outlets-grid{ grid-template-columns: 1fr; }
  .brand-grid.premium{ grid-template-columns: 1fr; }
  .outlet-bottom{ flex-direction:column; }
  .outlet-btn{ width:100%; }
  .outlet-map iframe{ height:200px; }
}

/* ============================================================
   ORDER STATUS + REVIEW
============================================================ */
.order-details{
  background:#fff;
  padding:20px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  margin-bottom:30px;
}
.order-details p{ margin:10px 0; }
.order-details .status{ font-weight:bold; }

.timeline{
  display:flex;
  justify-content:space-between;
  margin:20px 0;
  list-style:none;
  background:#fff;
  padding:10px;
  border-radius:10px;
}
.timeline li{
  flex:1;
  text-align:center;
  position:relative;
  font-size:14px;
  color:#333;
}
.timeline li::before{
  content:'';
  width:100%;
  height:4px;
  background:#ddd;
  position:absolute;
  top:18px;
  left:50%;
  transform: translateX(-50%);
  z-index:-1;
}
.timeline li:first-child::before{ left:50%; width:50%; }
.timeline li:last-child::before{ width:50%; left:0; }

.timeline span{
  display:inline-block;
  padding:8px 16px;
  border-radius:20px;
  background:#007bff;
  color:white;
  font-weight:bold;
  margin-bottom:10px;
}
.timeline .completed span{ background:#28a745; }

.review-form{
  background:#fff;
  padding:20px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  margin-top:30px;
}
.review-form label{ font-size:16px; font-weight:bold; margin-bottom:5px; }
.review-form input[type="number"], .review-form textarea{
  width:100%;
  padding:10px;
  margin:10px 0;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:16px;
}
.review-form button{
  background-color:#007bff;
  color:white;
  padding:12px 20px;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  text-transform:uppercase;
  width:100%;
}
.review-form button:hover{ background-color:#0056b3; }

.cancel-reason{
  padding:12px;
  background-color:#f8d7da;
  border-radius:8px;
  margin-top:20px;
  color:#721c24;
}

/* ============================================================
   ✅ CART PAGE (Premium Table + Layout)  (KEEP LAST)
============================================================ */
.cart-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:18px;
}

.cart-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:18px;
  padding:16px;
  box-shadow:0 12px 26px rgba(0,0,0,0.08);
}

.cart-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  background:#fff;
}

.cart-table thead th{
  background:#fff3e6;
  border-bottom:1px solid #f2d6d6;
  padding:14px 12px;
  text-align:left;
  font-weight:900;
  color:#222;
  white-space:nowrap;
}

.cart-table tbody td{
  padding:14px 12px;
  border-bottom:1px solid #eee;
  vertical-align:middle;
  color:#222;
  background:#fff;
}

.cart-table tbody tr:hover td{ background:#fffdf8; }

.cart-table .col-item{ width:52%; }
.cart-table .col-price{ width:14%; }
.cart-table .col-qty{ width:12%; }
.cart-table .col-sub{ width:14%; }
.cart-table .col-remove{ width:8%; }

.cart-table .itemcell{
  display:flex;
  align-items:center;
  gap:12px;
}

.cart-table img.thumb{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid #eee;
  background:#f5f5f5;
  box-shadow:0 8px 16px rgba(0,0,0,0.08);
}

.cart-table .itemmeta{ min-width:0; }

.cart-table .iname{
  font-weight:900;
  line-height:1.15;
  margin:0;
  word-break:break-word;
}

.cart-table .small{
  font-size:12px;
  color:#777;
  font-weight:800;
  margin-top:4px;
}

.cart-table .num{
  text-align:right;
  white-space:nowrap;
  font-weight:800;
}

.cart-table .strong{ font-weight:900; }

/* cart qty input (more specific than menu qty) */
.cart-table input.qty{
  width:78px;
  padding:8px 10px;
  border:1px solid #ddd;
  border-radius:12px;
  font-weight:900;
  text-align:center;
  background:#fff;
}

.cart-table input.qty:focus{
  border-color:#D32F2F;
  box-shadow:0 0 0 3px rgba(211,47,47,0.14);
}

.cart-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin-top:14px;
}

/* ✅ Total bar */
.cart-totalbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  background:#fffdf8;
  border-radius:14px;
  border:1px dashed #f0c1c1;
  font-weight:900;
  margin-top:12px;
}
.cart-totalbar .label{ color:#222; }
.cart-totalbar .value{ color:#111; white-space:nowrap; }

/* ============================================================
   ✅ MOBILE CART CARD LAYOUT (Full Overhaul for Mobile)
   - Hides table on mobile and shows card-based layout
   - Ensures buttons are full-width, centered, and visible
============================================================ */
@media (max-width: 900px) {
  /* Hide the table on mobile */
  .cart-table { display: none !important; }

  /* Show the mobile card container */
  .cart-mobile-cards { display: block !important; }

  /* Card styles */
  .cart-mobile-cards .cart-item-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cart-item-card .itemcell {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .cart-item-card .thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    background: #f5f5f5;
    flex-shrink: 0;
  }

  .cart-item-card .itemmeta {
    flex: 1;
    min-width: 0;
  }

  .cart-item-card .iname {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 4px;
    word-break: break-word;
  }

  .cart-item-card .small {
    font-size: 12px;
    color: #777;
    font-weight: 800;
  }

  .cart-item-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 900;
    color: #D32F2F;
  }

  .cart-item-card .qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
  }

  .cart-item-card .qty-row label {
    font-weight: 900;
    color: #666;
    font-size: 14px;
  }

  .cart-item-card input.qty {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-weight: 900;
    text-align: center;
    background: #fff;
  }

  .cart-item-card .sub-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 900;
    color: #222;
  }

  .cart-item-card .sub-row .label {
    color: #666;
  }

  .cart-item-card .remove-row {
    margin-top: 8px;
  }

  .cart-item-card .remove-row a.btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

/* Hide mobile cards on desktop */
@media (min-width: 901px) {
  .cart-mobile-cards { display: none !important; }
}
/* ============================================================
   ✅ GLASSMORPHISM (Water-Glass) HEADER / NAV (SAFE ADD-ON)
   - Does NOT overwrite your current design unless you add class="glass-header"
   - Keeps hamburger + dropdown + all existing features
============================================================ */

/* Add this class to your header: <header class="main-header glass-header"> */
.main-header.glass-header{
  background: rgba(18, 18, 18, 0.55) !important;   /* glass dark */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* Slightly soften header container spacing in glass mode */
.main-header.glass-header .header-container{
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Logo tile looks nicer on glass */
.main-header.glass-header .brand-logo{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Nav hover + active state stays premium */
.main-header.glass-header .nav-right a:hover{
  background: rgba(255,255,255,0.08);
}

/* Mobile dropdown panel: keep readable glass */
@media (max-width: 767px){
  .main-header.glass-header .nav-right{
    background: rgba(18,18,18,0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.10);
  }
}

/* Optional: glass footer look (only if you add class 'glass-footer' to footer) */
.main-footer.glass-footer{
  background: rgba(18,18,18,0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.10);
}
/* ============================================================
   ✅ PREMIUM HEADER (Better than glass)
   - Clean, modern, stable
   - Uses gradient + subtle shine
   - Keeps your hamburger + dropdown working
============================================================ */

