/* ============ Anam's Kitchen — colourful theme (matches the logo & poster) ============ */
:root {
  --cream: #fdf4ec;
  --cream-2: #f9e9dc;
  --paper: #fffaf5;
  --pink-bg: #fbe1df;
  --pink: #f8d0d3;
  --pink-2: #f0b3ba;
  --rose: #d2587a;
  --rose-dark: #9c3550;
  --berry: #b8405f;
  --brown: #3a2419;
  --brown-2: #5c3a2a;
  --wood: #4a2e20;
  --muted: #84695d;
  --gold: #e0a93f;
  --gold-2: #f6dba0;
  --gold-dark: #b07d1c;
  --leaf: #5f8f4e;
  --leaf-2: #8db874;
  --sage: #9cc3a3;
  --veg: #2e8b57;
  --nonveg: #c0392b;
  --line: #f0d8cc;
  --white: #fffdfb;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(156, 53, 80, .10);
  --shadow-lg: 0 18px 50px rgba(156, 53, 80, .18);
  --script: 'Dancing Script', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; font-family: 'Poppins', system-ui, sans-serif; color: var(--brown); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 208, 211, .55) 0, transparent 35%),
    radial-gradient(circle at 100% 30%, rgba(246, 219, 160, .35) 0, transparent 30%),
    radial-gradient(circle at 0% 80%, rgba(248, 208, 211, .45) 0, transparent 35%),
    var(--cream);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; }
.script { font-family: var(--script); }
.sprite { display: none; }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--brown); color: #fff; font: 600 15px 'Poppins', sans-serif; padding: 13px 24px;
  border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s;
  box-shadow: 0 6px 16px rgba(58, 36, 25, .18);
}
.btn:hover { background: var(--brown-2); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.rose { background: linear-gradient(135deg, #e0708f, var(--berry)); box-shadow: 0 8px 20px rgba(184, 64, 95, .35); }
.btn.rose:hover { background: linear-gradient(135deg, #d8617f, var(--rose-dark)); }
.btn.gold { background: linear-gradient(135deg, #f3c766, var(--gold)); color: var(--brown); box-shadow: 0 8px 20px rgba(224, 169, 63, .4); }
.btn.ghost { background: var(--white); color: var(--brown); border: 2px solid var(--brown); box-shadow: none; }
.btn.ghost:hover { background: var(--brown); color: #fff; }
.btn.block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-link { background: none; border: 0; color: var(--rose-dark); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.btn.gpay { background: #fff; color: #1f1f1f; border: 2px solid #dadce0; box-shadow: none; }
.btn.gpay:hover { background: #f5f5f5; }

label { display: block; font-weight: 500; font-size: 13.5px; margin-bottom: 5px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--brown); padding: 11px 14px; border: 2px solid var(--line);
  border-radius: 14px; background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(210, 88, 122, .12); }
textarea { resize: vertical; min-height: 70px; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--rose); box-shadow: none; }
.field { margin-bottom: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .row, .row3 { grid-template-columns: 1fr; } }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.err { color: var(--nonveg); font-size: 13.5px; min-height: 1em; }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border: 1.5px solid #f6e3da; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--pink); color: var(--rose-dark); text-transform: uppercase; letter-spacing: .04em;
}
.badge.party { background: var(--gold-2); color: #7a5410; }
.badge.green { background: #d9f0e0; color: var(--veg); }
.badge.red { background: #fbdcd7; color: var(--nonveg); }
.badge.grey { background: #efe4dc; color: var(--muted); }
.badge.blue { background: #dce8f8; color: #2b5797; }

/* veg / non-veg mark */
.vdot { width: 15px; height: 15px; border: 1.6px solid var(--veg); border-radius: 3px; display: inline-grid; place-items: center; flex: none; background: #fff; vertical-align: -2px; }
.vdot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--veg); }
.vdot.nonveg { border-color: var(--nonveg); }
.vdot.nonveg::after { background: none; border-radius: 0; width: 0; height: 0; border: 4px solid transparent; border-bottom: 7px solid var(--nonveg); border-top: 0; }

/* ---------- announcement strip ---------- */
.ticker {
  background: linear-gradient(90deg, var(--wood), var(--brown-2), var(--wood)); color: var(--gold-2);
  font-size: 13px; font-weight: 500; overflow: hidden; white-space: nowrap; padding: 7px 0;
}
.ticker div { display: inline-block; padding-left: 100%; animation: ticker 32s linear infinite; }
.ticker span { margin: 0 28px; }
@keyframes ticker { to { transform: translateX(-100%); } }
.banner { text-align: center; padding: 10px 16px; font-weight: 500; }
.banner.warn { background: #fde7c3; color: #7a4d00; }
.banner.closed { background: var(--berry); color: #fff; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 250, 245, .9); backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--pink); display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 22px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.brand span { font-family: var(--script); font-size: 28px; font-weight: 700; }
.topbar nav { display: flex; gap: 6px; align-items: center; }
.topbar nav a { color: var(--brown); text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 7px 14px; border-radius: 999px; transition: background .2s; }
.topbar nav a:hover { background: var(--pink); color: var(--rose-dark); }
.topbar nav a.nav-cta { background: var(--rose); color: #fff; }
.topbar nav a.nav-cta:hover { background: var(--rose-dark); color: #fff; }
@media (max-width: 680px) { .topbar nav .hide-sm { display: none; } .brand span { font-size: 23px; } .brand img { width: 42px; height: 42px; } .topbar { padding: 8px 14px; } }

/* ---------- decorations ---------- */
.leaf { position: absolute; width: 90px; height: 126px; pointer-events: none; z-index: 0; opacity: .95; }
.heart { position: absolute; color: var(--rose); pointer-events: none; animation: bob 4s ease-in-out infinite; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 46px 0 90px;
  background:
    radial-gradient(circle at 75% 45%, #f9c9cf 0, transparent 42%),
    radial-gradient(circle at 15% 20%, #fde3d8 0, transparent 40%),
    linear-gradient(180deg, var(--pink-bg) 0%, var(--cream) 100%);
}
.hero .l1 { left: -10px; top: 10px; transform: rotate(-25deg); }
.hero .l2 { right: 10px; top: -6px; transform: rotate(30deg) scaleX(-1); }
.hero .l3 { left: 40%; bottom: 40px; transform: rotate(-70deg); width: 70px; opacity: .6; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 34px; position: relative; z-index: 1; }
.hero-grid > * { min-width: 0; }
.kicker {
  display: inline-flex; gap: 8px; align-items: center; background: var(--white); color: var(--rose-dark);
  font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); margin: 0 0 18px;
}
.hero h1 { font-family: var(--script); font-weight: 700; font-size: clamp(46px, 6.4vw, 80px); line-height: 1.02; color: var(--brown); position: relative; }
.hero h1 em { display: block; font-style: normal; color: var(--berry); }
.hero h1 .doodle { position: absolute; width: 110px; right: 6%; bottom: -34px; color: var(--brown); }
.hero p.lead { font-size: 17px; color: var(--brown-2); max-width: 520px; margin: 30px 0 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-pill {
  display: inline-flex; flex-direction: column; align-items: center; margin-top: 26px; position: relative;
  background: linear-gradient(135deg, #fbd6da, #f6c2c9); border-radius: 22px; padding: 8px 26px 10px;
  box-shadow: 0 8px 22px rgba(184, 64, 95, .2);
}
.contact-pill small { font-size: 12.5px; color: var(--brown-2); }
.contact-pill b { font-size: 19px; letter-spacing: .02em; }
.contact-pill b a { color: var(--brown); text-decoration: none; }
.contact-pill::before, .contact-pill::after { content: '〃'; position: absolute; top: 12px; color: var(--brown); font-size: 18px; }
.contact-pill::before { left: -22px; transform: rotate(-30deg); }
.contact-pill::after { right: -22px; transform: rotate(30deg) scaleX(-1); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-art .ring {
  position: absolute; inset: 4%; border-radius: 50%; border: 3px dashed var(--gold);
  animation: spin 60s linear infinite;
}
.hero-art .ring2 { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 70%); }
.hero-art .logo-big {
  position: absolute; inset: 11%; width: 78%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 24px 60px rgba(184, 64, 95, .35); border: 6px solid #fff;
}
.bowl {
  position: absolute; width: 30%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 5px solid #fff; box-shadow: 0 14px 30px rgba(58, 36, 25, .28); animation: bob 5s ease-in-out infinite;
}
.bowl.b1 { left: -6%; bottom: 2%; animation-delay: -1s; }
.bowl.b2 { right: -4%; bottom: 8%; width: 26%; animation-delay: -2.5s; }
.bowl.b3 { right: -6%; top: 4%; width: 27%; animation-delay: -3.5s; }
.brush {
  position: absolute; left: -12%; top: 8%; font-family: var(--script); font-weight: 700; font-size: 30px; line-height: 1;
  color: var(--brown); padding: 12px 22px; transform: rotate(-8deg);
  background: linear-gradient(100deg, transparent 0 3%, rgba(246, 178, 190, .9) 6% 92%, transparent 97%);
  border-radius: 40% 12% 38% 10% / 20% 50% 18% 50%;
}
.hero .heart.h1 { left: 46%; top: 6%; font-size: 26px; }
.hero .heart.h2 { left: 4%; top: 58%; font-size: 18px; animation-delay: -2s; }
.hero .heart.h3 { right: 3%; top: 48%; font-size: 22px; animation-delay: -1s; color: var(--gold); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; width: 100%; color: var(--cream); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero { padding: 26px 0 80px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { max-width: 340px; grid-row: 1; }
  .hero p.lead { margin: 26px auto 22px; }
  .hero .cta { justify-content: center; }
  .hero h1 .doodle { display: none; }
  .brush { font-size: 22px; left: -4%; top: 0; }
  .kicker { margin-bottom: 12px; }
}

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.feature {
  background: var(--white); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center;
  border-bottom: 4px solid var(--c, var(--rose));
}
.feature .ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--bg, var(--pink)); }
.feature b { display: block; font-size: 15px; }
.feature small { color: var(--muted); font-size: 12.5px; line-height: 1.35; display: block; }
.feature.f1 { --c: var(--rose); --bg: #fde0e4; }
.feature.f2 { --c: var(--gold); --bg: #fdedc8; }
.feature.f3 { --c: #3c9a63; --bg: #d9f1e1; }
.feature.f4 { --c: #4c7fd0; --bg: #dfe9fb; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features { gap: 10px; } .feature { flex-direction: column; text-align: center; padding: 14px 10px; } }

/* ---------- menu ---------- */
.section { padding: 46px 0; position: relative; }
.title-wrap { text-align: center; margin-bottom: 18px; }
.section-title { font-family: var(--script); font-size: clamp(40px, 5vw, 56px); display: inline-flex; align-items: center; gap: 14px; }
.section-title::before, .section-title::after { content: ''; width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-title::after { transform: scaleX(-1); }
.section-sub { text-align: center; color: var(--muted); margin: 4px 0 0; }

.mode-toggle {
  display: flex; max-width: 520px; margin: 18px auto 10px; background: var(--white); border-radius: 999px;
  padding: 6px; box-shadow: var(--shadow); border: 2px solid var(--pink);
}
.mode-toggle button {
  flex: 1; border: 0; background: none; padding: 13px 10px; border-radius: 999px; font: 600 15.5px 'Poppins', sans-serif;
  color: var(--brown-2); cursor: pointer; transition: all .25s;
}
.mode-toggle button.active[data-mode=single] { background: linear-gradient(135deg, #e0708f, var(--berry)); color: #fff; box-shadow: 0 6px 16px rgba(184, 64, 95, .35); }
.mode-toggle button.active[data-mode=party] { background: linear-gradient(135deg, #f3c766, var(--gold)); color: var(--brown); box-shadow: 0 6px 16px rgba(224, 169, 63, .4); }
.mode-hint { text-align: center; color: var(--muted); font-size: 13.5px; margin: 6px 0 22px; }

.menu-paper {
  background: var(--paper); border-radius: 30px; padding: 10px 26px 30px; box-shadow: var(--shadow-lg);
  border: 2px solid #f7dcd5; position: relative;
}
.menu-paper .leaf.m1 { right: -28px; top: -40px; transform: rotate(25deg) scaleX(-1); }
.menu-paper .leaf.m2 { left: -34px; bottom: 60px; transform: rotate(-30deg); }
@media (max-width: 600px) { .menu-paper { padding: 6px 14px 22px; border-radius: 22px; } .menu-paper .leaf { display: none; } }

.toolbar {
  position: sticky; top: 69px; z-index: 20; background: var(--paper); padding: 14px 0 12px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-bottom: 2px dashed var(--pink-2);
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; min-width: 0; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; border: 2px solid var(--pink); background: var(--white); color: var(--brown);
  padding: 7px 15px; border-radius: 999px; cursor: pointer; font: 500 13.5px 'Poppins', sans-serif; transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--pink-2); background: #fff5f6; }
.chip.active { background: var(--rose); border-color: var(--rose); color: #fff; }
.toolbar .search { flex: 1; min-width: 180px; }
.toolbar .search input { padding: 9px 16px 9px 40px; border-radius: 999px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239c3550' stroke-width='2.2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") 14px 50% no-repeat; }
.vegfilter { display: flex; gap: 6px; }

.cat-block { margin: 30px 0 6px; scroll-margin-top: 190px; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat-head h2 {
  background: linear-gradient(90deg, #f7c3cb, #fadadd); color: var(--rose-dark); padding: 8px 26px 8px 18px;
  border-radius: 999px; font-size: 21px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center;
  box-shadow: 0 4px 12px rgba(184, 64, 95, .12);
}
.cat-head h2 i { font-style: normal; color: var(--berry); }
.cat-head .count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.cat-head .line { flex: 1; border-top: 2px dashed var(--pink-2); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 20px; }
.dish {
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; border: 2px solid #f8e1dc;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--pink-2); }
.dish-img { aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; position: relative; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish-img .tag {
  position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .92); border-radius: 999px;
  padding: 3px 10px 3px 7px; font-size: 11.5px; font-weight: 600; display: flex; gap: 5px; align-items: center;
}
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px;
  background: radial-gradient(circle at 30% 30%, #fff 0, transparent 45%), linear-gradient(135deg, #f9c9d0 0%, #fde6c8 100%);
}
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.dish-title h3 { font-size: 16.5px; font-weight: 600; }
.dish-desc { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.dish-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 19px; color: var(--berry); }
.price small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }

.qty { display: inline-flex; align-items: center; background: linear-gradient(135deg, #e0708f, var(--berry)); border-radius: 999px; color: #fff; box-shadow: 0 6px 14px rgba(184, 64, 95, .3); }
.qty button { background: none; border: 0; color: #fff; width: 34px; height: 34px; font-size: 18px; cursor: pointer; border-radius: 50%; }
.qty button:hover { background: rgba(255, 255, 255, .2); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- party ---------- */
.party-box {
  position: relative; overflow: hidden; border-radius: 30px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
  background: radial-gradient(circle at 90% 10%, rgba(246, 219, 160, .9) 0, transparent 40%), linear-gradient(135deg, #f7c3cb 0%, #fbe0d4 60%, #fdf0d8 100%);
  box-shadow: var(--shadow-lg);
}
.party-box::before { content: '🎈'; position: absolute; font-size: 70px; left: 44%; top: -8px; transform: rotate(-12deg); opacity: .85; }
.party-box h2 { font-family: var(--script); font-size: clamp(40px, 5vw, 56px); color: var(--rose-dark); }
.party-box p { color: var(--brown-2); font-size: 16px; }
.party-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; position: relative; }
.party-box li { background: rgba(255, 255, 255, .85); padding: 13px 18px; border-radius: 16px; box-shadow: 0 4px 12px rgba(184, 64, 95, .1); display: flex; gap: 12px; align-items: center; }
.party-box li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.party-box li b { color: var(--rose-dark); }
@media (max-width: 780px) { .party-box { grid-template-columns: 1fr; padding: 28px 22px; } .party-box::before { left: auto; right: 10px; font-size: 50px; } }

/* ---------- Bon appétit board ---------- */
.board-wrap { position: relative; padding: 30px 0 10px; }
.board {
  position: relative; max-width: 720px; margin: 0 auto; text-align: center; color: #fff; padding: 26px 30px 30px;
  border-radius: 26px; border: 5px solid #7a4a2e;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, transparent 1px 160px),
    linear-gradient(180deg, #5a3726, #3c2418);
  box-shadow: 0 20px 40px rgba(58, 36, 25, .35), inset 0 0 0 2px rgba(224, 169, 63, .35);
}
.board .l1 { font-family: var(--script); font-size: clamp(26px, 3.6vw, 38px); }
.board .l2 { font-family: var(--script); font-size: clamp(42px, 6vw, 66px); color: var(--gold); line-height: 1.05; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.board .btn { margin-top: 14px; }
.board-food { position: absolute; width: 170px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--shadow-lg); bottom: 0; }
.board-food.left { left: 2%; }
.board-food.right { right: 2%; }
@media (max-width: 1000px) { .board-food { display: none; } }

/* ---------- footer ---------- */
footer {
  color: var(--cream-2); padding: 70px 0 26px; margin-top: 50px; position: relative;
  background: linear-gradient(180deg, #45291c, #2c1a11);
}
footer .wave-top { position: absolute; top: -1px; left: 0; width: 100%; height: 50px; color: var(--cream); transform: rotate(180deg); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer .flogo { width: 90px; border-radius: 50%; border: 3px solid var(--gold); margin-bottom: 10px; }
footer h4 { font-family: var(--script); font-size: 28px; color: var(--gold-2); margin-bottom: 8px; }
footer a { color: #fff; }
footer p { margin: 5px 0; font-size: 14px; }
footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; font-size: 12.5px; opacity: .75; text-align: center; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; text-align: center; } footer .flogo { margin: 0 auto 10px; } }

/* ---------- cart ---------- */
.cart-fab {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 40; border: 3px solid #fff; cursor: pointer;
  background: linear-gradient(135deg, #e0708f, var(--berry)); color: #fff; border-radius: 999px; padding: 13px 26px;
  font: 500 15px 'Poppins', sans-serif; box-shadow: 0 12px 30px rgba(184, 64, 95, .45); display: flex; gap: 10px;
  align-items: center; white-space: nowrap; animation: pop .35s ease;
}
.cart-fab b { color: #fff3c9; font-size: 16px; }
@keyframes pop { from { transform: translateX(-50%) scale(.8); opacity: 0; } }
.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(58, 36, 25, .45); display: flex; justify-content: flex-end; }
.drawer-panel { width: min(440px, 100%); height: 100%; background: var(--cream); display: flex; flex-direction: column; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: linear-gradient(90deg, #f7c3cb, #fbe0d4); }
.drawer-head h3 { font-size: 19px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 22px; border-top: 2px dashed var(--pink-2); background: var(--white); }
.icon-btn { background: var(--white); border: 0; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 16px; box-shadow: var(--shadow); }
.cart-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--pink-2); }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .name { font-weight: 600; font-size: 14.5px; }
.cart-line .sub { font-size: 12.5px; color: var(--muted); }
.cart-line .amt { font-weight: 700; min-width: 64px; text-align: right; color: var(--berry); }
.progress { height: 8px; background: var(--pink); border-radius: 8px; overflow: hidden; margin: 6px 0 12px; }
.progress div { height: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); }
.totals { width: 100%; border-collapse: collapse; }
.totals td { padding: 4px 0; }
.totals td:last-child { text-align: right; }
.totals tr.grand td { font-weight: 700; font-size: 18px; border-top: 2px solid var(--line); padding-top: 10px; }
.totals tr.due td { color: var(--rose-dark); font-weight: 600; }

/* ---------- checkout ---------- */
.page-title { font-family: var(--script); font-size: 48px; margin: 26px 0 4px; color: var(--brown); }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; padding-bottom: 40px; }
.checkout .card h3 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; color: var(--rose-dark); }
.checkout .card + .card { margin-top: 18px; }
.checkout aside { position: sticky; top: 84px; }
.checkout aside .card { border-top: 6px solid var(--rose); }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .checkout aside { position: static; } }
.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .options.two { grid-template-columns: 1fr; } }
.opt {
  display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 16px;
  padding: 13px 14px; cursor: pointer; background: var(--white); margin: 0; font-weight: 400; transition: all .2s;
}
.opt:has(input:checked) { border-color: var(--rose); background: #fff3f5; box-shadow: 0 4px 14px rgba(184, 64, 95, .12); }
.opt input { margin-top: 4px; }
.opt b { display: block; font-size: 15px; }
.opt small { color: var(--muted); }
.opt.disabled { opacity: .5; pointer-events: none; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }

/* ---------- order / bill page ---------- */
.order-head { text-align: center; padding: 26px 0 8px; }
.order-head .tick { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #7cc49a, #3c9a63); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 10px; box-shadow: 0 10px 24px rgba(60, 154, 99, .35); }
.order-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: start; padding-bottom: 40px; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 34px; color: var(--muted); }
.steps li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--pink-2); background: var(--white); }
.steps li::after { content: ''; position: absolute; left: 13px; top: 20px; bottom: 0; width: 2px; background: var(--pink-2); }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--brown); font-weight: 500; }
.steps li.done::before { background: var(--rose); border-color: var(--rose); }
.steps li.current { color: var(--rose-dark); font-weight: 600; }
.pay-box { text-align: center; border-top: 6px solid var(--gold); }
.pay-box .amount { font-size: 38px; font-weight: 700; margin: 4px 0 14px; color: var(--berry); }
.pay-box .qr { width: 220px; margin: 14px auto; border: 8px solid #fff; border-radius: 14px; box-shadow: var(--shadow); }
.pay-box .btns { display: grid; gap: 10px; max-width: 320px; margin: 0 auto; }
.upi-id { display: inline-flex; gap: 8px; align-items: center; background: var(--cream-2); padding: 6px 12px; border-radius: 10px; font-family: monospace; font-size: 14px; }
.utr-form { display: flex; gap: 8px; max-width: 380px; margin: 10px auto 0; }
.notice { background: #e6f4ea; color: #245c39; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.notice.warn { background: #fdf0d8; color: #7a4d00; }

.invoice { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 6px solid var(--rose); }
.inv-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; border-bottom: 2px solid var(--brown); padding-bottom: 14px; }
.inv-head .k { display: flex; gap: 12px; align-items: center; }
.inv-head img { width: 66px; height: 66px; border-radius: 50%; }
.inv-head h2 { font-family: var(--script); font-size: 32px; }
.inv-head .meta { text-align: right; font-size: 13px; }
.inv-head .meta b { font-size: 16px; }
.inv-small { font-size: 12.5px; color: var(--muted); }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; font-size: 13.5px; }
.inv-parties h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.inv-table th { text-align: left; background: var(--pink-bg); padding: 8px; font-weight: 600; }
.inv-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.inv-table .r { text-align: right; white-space: nowrap; }
.inv-totals { margin-left: auto; width: min(300px, 100%); margin-top: 12px; font-size: 14px; }
.inv-foot { text-align: center; margin-top: 22px; font-family: var(--script); font-size: 26px; color: var(--rose-dark); }
@media (max-width: 520px) {
  .inv-head { flex-direction: column; }
  .inv-head .meta { text-align: left; }
  .invoice { padding: 18px; }
  .inv-parties { grid-template-columns: 1fr; }
}

/* ---------- toast ---------- */
#toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 100; background: var(--brown);
  color: #fff; padding: 12px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; max-width: 92vw;
  transition: opacity .3s; opacity: 0; pointer-events: none;
}
#toast.show { opacity: 1; }
#toast.error { background: var(--nonveg); }

/* ---------- admin ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, #f7c3cb, #fde6c8); }
.login-card { width: min(370px, 100%); text-align: center; }
.login-card img { width: 130px; margin: 0 auto 10px; border-radius: 50%; }
.login-card h2 { font-family: var(--script); font-size: 36px; margin-bottom: 16px; }
.login-card input { margin-bottom: 12px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 8px 14px; border-radius: 999px; font: 500 14px 'Poppins', sans-serif; cursor: pointer; color: var(--brown); }
.tabs button.active { background: var(--rose); color: #fff; }
.tabs .badge { background: var(--gold); color: var(--brown); margin-left: 4px; }
.admin-main { max-width: 1240px; margin: 0 auto; padding: 22px 18px 60px; }
.admin-main h2 { font-size: 22px; margin-bottom: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.filters > * { width: auto; }
.filters input, .filters select { padding: 8px 11px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; border-left: 5px solid var(--rose); }
.stat:nth-child(4n+2) { border-left-color: var(--gold); }
.stat:nth-child(4n+3) { border-left-color: #3c9a63; }
.stat:nth-child(4n+4) { border-left-color: #4c7fd0; }
.stat .v { font-size: 24px; font-weight: 700; }
.stat .l { color: var(--muted); font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px; border-bottom: 2px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl .thumb { width: 56px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--pink); display: grid; place-items: center; font-size: 20px; }
.tbl-wrap { overflow-x: auto; }
.ocard { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 14px; border-left: 6px solid var(--line); }
.ocard.s-new { border-left-color: var(--rose); }
.ocard.s-confirmed, .ocard.s-preparing { border-left-color: var(--gold); }
.ocard.s-out_for_delivery { border-left-color: #4c7fd0; }
.ocard.s-delivered { border-left-color: var(--veg); opacity: .85; }
.ocard.s-cancelled { border-left-color: #999; opacity: .6; }
.ocard .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.ocard .no { font-weight: 700; font-size: 16px; }
.ocard .grid3 { display: grid; grid-template-columns: 1.1fr 1.3fr .9fr; gap: 16px; margin-top: 10px; font-size: 13.5px; }
@media (max-width: 860px) { .ocard .grid3 { grid-template-columns: 1fr; } }
.ocard .items { margin: 0; padding-left: 16px; }
.ocard .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ocard .actions select { width: auto; padding: 6px 10px; }
dialog { border: 0; border-radius: 20px; padding: 0; width: min(620px, 94vw); box-shadow: 0 20px 60px rgba(0,0,0,.25); background: var(--cream); color: var(--brown); }
dialog::backdrop { background: rgba(58, 36, 25, .5); }
dialog form { padding: 22px; }
dialog h3 { margin-bottom: 14px; }
.img-prev { width: 140px; aspect-ratio: 4/3; border-radius: 10px; object-fit: cover; background: var(--pink); }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; margin: 0; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.settings-grid .card h3 { margin-bottom: 14px; font-size: 17px; }

/* ---------- print (bill) ---------- */
@media print {
  body { background: #fff; }
  body * { visibility: hidden; }
  .invoice, .invoice * { visibility: visible; }
  .invoice { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; padding: 0; border: 0; }
  .no-print { display: none !important; }
}
/* ---------- bulk order terms & conditions ---------- */
.terms-section { padding-top: 10px; }
.terms-home {
  background: var(--paper); border-radius: 28px; padding: 30px 34px; box-shadow: var(--shadow-lg);
  border: 2px dashed var(--pink-2); max-width: 900px; margin: 0 auto;
}
.terms-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.terms-head h2 { font-family: var(--script); font-size: clamp(30px, 4vw, 42px); color: var(--rose-dark); }
.terms-head .hint { margin: 2px 0 0; font-size: 13.5px; }
.terms-ic { width: 58px; height: 58px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 30px; background: linear-gradient(135deg, #fde0e4, #fdedc8); }
.terms-text ol, .terms-box ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 8px; }
.terms-text li, .terms-box li { counter-increment: t; position: relative; padding: 9px 14px 9px 50px; background: var(--white); border-radius: 14px; border: 1px solid #f6e3da; line-height: 1.45; }
.terms-text li::before, .terms-box li::before {
  content: counter(t); position: absolute; left: 12px; top: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #e0708f, var(--berry)); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
.terms-text p, .terms-box p { margin: 14px 0 0; text-align: center; font-family: var(--script); font-size: 24px; color: var(--rose-dark); line-height: 1.2; }
.terms-text p + p, .terms-box p + p { margin-top: 2px; }
@media (max-width: 600px) { .terms-home { padding: 22px 16px; border-radius: 22px; } .terms-head { align-items: flex-start; } .terms-ic { width: 46px; height: 46px; font-size: 24px; } }

.terms-card { border: 2px solid var(--pink-2); transition: border-color .25s, box-shadow .25s; }
.terms-card.accepted { border-color: #3c9a63; box-shadow: 0 8px 24px rgba(60, 154, 99, .15); }
.terms-box { max-height: 260px; overflow-y: auto; padding: 12px; border-radius: 16px; background: var(--pink-bg); font-size: 13.5px; outline: none; }
.terms-box li { padding-left: 46px; }
.terms-box li::before { width: 24px; height: 24px; font-size: 12px; }
.terms-box p { font-size: 20px; }
.agree {
  display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 16px;
  background: #fff7e6; border: 2px solid var(--gold-2); cursor: pointer; font-weight: 400; font-size: 14px; line-height: 1.45;
}
.agree input { width: 22px; height: 22px; margin-top: 1px; flex: none; cursor: pointer; }
.terms-card.accepted .agree { background: #e9f6ee; border-color: #9fd6b3; }
.agree-hint { font-size: 13px; color: #8a5a00; background: #fff4dc; border-radius: 12px; padding: 8px 12px; margin: 0 0 10px; }
.btn.locked { opacity: .55; filter: grayscale(.3); }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.inv-terms { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--muted); }
.inv-terms h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; color: var(--brown-2); }
.inv-terms ol { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.inv-terms p { margin: 6px 0 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
