:root {
  --cream: #fbf3e2;
  --paper: #fffaf0;
  --parchment: #f3e3c3;
  --maroon: #7a1420;
  --maroon-2: #9b1c2a;
  --gold: #c9862b;
  --gold-soft: #f5dfb4;
  --ink: #2b1a14;
  --muted: #7b6658;
  --line: #e6d3ad;
  --veg: #1f8a3a;
  --nonveg: #c0232f;
  --wa: #1f9d55;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(74, 20, 10, .14);
  --serif: "Playfair Display", Georgia, serif;
  --body: "Lora", Georgia, serif;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--maroon);
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s, background .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-2); }
.btn-ghost { background: transparent; color: var(--maroon); }
.btn-ghost:hover { background: var(--maroon); color: #fff; }
.btn-whatsapp { width: 100%; background: var(--wa); border-color: var(--wa); color: #fff; font-size: 1.05rem; }
.btn-whatsapp:hover { filter: brightness(1.07); }

/* ---------- Banner (all pages, styled after the owner's banner artwork) ---------- */
:root {
  --banner-bg: #fbedd2;   /* sampled from the artwork so the photos blend in */
  --ochre: #a26a1a;
  --leaf: #3f5a26;
  --rule: #c3a774;
}
.banner {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(0, auto) auto minmax(110px, 1fr);
  grid-template-areas: "left quote center card right";
  align-items: center;
  column-gap: clamp(16px, 2.4vw, 36px);
  min-height: 250px;
  background: var(--banner-bg);
  border-bottom: 6px solid var(--maroon);
  overflow: hidden;
}
.banner-photo {
  grid-area: left; align-self: stretch;
  width: 100%; height: 100%; min-height: 250px;
  /* Anchor each photo on its inner edge, where the artwork already fades to cream. */
  object-fit: cover; object-position: right center;
}
.banner-photo-right { grid-area: right; object-position: left center; }
/* As in the artwork, the photos' faded edges run in behind the quote and the WhatsApp card. */
.banner-photo-left { margin-right: calc(-1 * clamp(40px, 7vw, 130px)); width: calc(100% + clamp(40px, 7vw, 130px)); }
.banner-photo-right { margin-left: calc(-1 * clamp(40px, 7vw, 130px)); width: calc(100% + clamp(40px, 7vw, 130px)); }
.banner-quote, .banner-center, .banner-card { position: relative; z-index: 1; }

.banner-quote {
  grid-area: quote; margin: 0; text-align: center;
  font-family: "Galada", cursive; font-size: 1.55rem; line-height: 1.3;
  color: var(--maroon); transform: rotate(-4deg);
}
.banner-quote svg { display: block; width: 80px; margin: .2rem auto 0; color: var(--maroon); }

.banner-center { grid-area: center; text-align: center; padding: 16px 0; min-width: 0; }
.banner-ornament { display: flex; align-items: center; gap: 10px; color: var(--leaf); }
.banner-ornament span { flex: 1; height: 1.5px; background: var(--rule); }
.banner-ornament svg { width: 34px; height: 24px; }

.logotype {
  margin: 0;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 4.3rem); line-height: 1.15;
  color: var(--maroon); white-space: nowrap;
}
.banner .logotype { border-bottom: 1.5px solid var(--rule); padding: .05em .15em .12em; }
.lt-bn { font-family: "Noto Serif Bengali", serif; font-weight: 700; font-size: 1.1em; color: var(--ochre); }

.banner-tagline {
  margin: .4em 0 .55em;
  font-family: "Noto Serif Bengali", serif; font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem); color: var(--leaf);
}
.banner-features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: .3rem;
  font-family: "Noto Sans Bengali", sans-serif; font-weight: 500; font-size: .85rem; color: #3b3f24;
}
.banner-features li { display: inline-flex; align-items: center; gap: .3rem; padding: 0 .7rem; }
.banner-features li + li { border-left: 1px solid var(--rule); }
.banner-features svg { width: 14px; height: 14px; color: var(--leaf); }

.banner-card {
  grid-area: card;
  display: grid; justify-items: center; gap: .3rem;
  padding: 14px 22px; border-radius: 10px;
  background: var(--maroon); color: #ffefe1; text-decoration: none; text-align: center;
  font-family: "Noto Sans Bengali", sans-serif;
  box-shadow: 0 8px 20px rgba(122, 28, 34, .25);
  transition: filter .15s;
}
.banner-card:hover { filter: brightness(1.1); }
.banner-card-label { font-weight: 600; font-size: .95rem; }
.banner-card-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 1.75rem; line-height: 1.1; color: #fff; white-space: nowrap; }
.banner-card-phone svg { width: 22px; height: 22px; }
.banner-card-note { font-size: .85rem; padding-top: .35rem; border-top: 1px solid rgba(255, 239, 225, .35); }
.banner-card-cats { font-size: .8rem; opacity: .9; }

@media (max-width: 1249px) {
  .banner { grid-template-columns: minmax(90px, 1fr) minmax(0, auto) auto minmax(90px, 1fr); grid-template-areas: "left center card right"; }
  .banner-quote { display: none; }
  .banner-features { font-size: .8rem; }
  .banner-features li { padding: 0 .5rem; }
}
@media (max-width: 899px) {
  .banner { grid-template-columns: minmax(0, auto) auto; grid-template-areas: "center card"; justify-content: center; padding: 8px 16px; }
  .banner-photo { display: none; }
}
@media (max-width: 679px) {
  .banner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "left right" "center center" "card card";
    padding: 0 0 18px; gap: 4px 0;
  }
  /* Phones: show each photo's solid outer part (their faded edges would leave a cream gap
     in the middle) and let the right photo overlap the left with a soft blend. */
  .banner-photo { display: block; min-height: 0; height: max(150px, 44vw); }
  .banner-photo-left { margin: 0; width: 100%; object-position: left center; }
  .banner-photo-right {
    margin: 0 0 0 -48px; width: calc(100% + 48px); object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px);
    mask-image: linear-gradient(90deg, transparent, #000 48px);
  }
  .banner-center, .banner-card { margin: 0 16px; }
  .banner-center { padding-top: 4px; }
  .banner-features { font-size: .8rem; }
  .banner-features li { padding: 0 .5rem; }
}

/* ---------- Homepage intro ---------- */
.hero {
  background: radial-gradient(ellipse at top, rgba(255,255,255,.7), transparent 60%), var(--cream);
  border-bottom: 6px double var(--gold);
}
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 2.5rem 16px 2.25rem; text-align: center; }
.tagline { margin: 0 0 .6rem; font-family: var(--hand); font-size: 1.45rem; color: var(--gold); }
.headline {
  font-family: var(--serif);
  color: var(--maroon);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
.intro { max-width: 560px; margin: 0 auto 1.4rem; color: #4a3428; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.advance-note { margin: 1.1rem 0 0; font-size: .95rem; color: var(--muted); }
.advance-note strong { color: var(--maroon); }

/* ---------- Toolbar ---------- */
.toolbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 243, 226, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.toolbar-inner { max-width: 1100px; margin: 0 auto; padding: .6rem 16px; display: grid; gap: .5rem; }
.filters { display: flex; gap: .4rem; }
.filter {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  padding: .35rem .85rem; border-radius: 999px; font-size: .9rem;
}
.filter.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.chips {
  display: flex; gap: .4rem;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 0 16px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  font-family: var(--serif);
  font-size: .9rem;
  text-decoration: none;
  color: var(--maroon);
  background: var(--gold-soft);
  padding: .3rem .8rem;
  border-radius: 999px;
  white-space: nowrap;
}
.chip.is-current { background: var(--maroon); color: #fff; }

/* ---------- Veg / non-veg marks ---------- */
.dot {
  display: inline-block; width: 14px; height: 14px; flex: none;
  border: 1.5px solid currentColor; border-radius: 3px; position: relative;
}
.dot::after {
  content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: currentColor;
}
.dot-veg { color: var(--veg); }
.dot-nonveg { color: var(--nonveg); }
.filter.is-active .dot { color: #fff; }

/* ---------- Menu ---------- */
.menu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 16px 2rem;
  columns: 1;
  column-gap: 2.5rem;
}
@media (min-width: 860px) { .menu { columns: 2; column-rule: 1px solid var(--line); } }

.section { break-inside: avoid-column; margin-bottom: 1.75rem; }
.section-title {
  display: table;
  margin: 0 auto 1rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--maroon);
  background: linear-gradient(90deg, transparent, var(--gold-soft) 15%, var(--gold-soft) 85%, transparent);
  padding: .2rem 2.2rem;
}
.section-title::before, .section-title::after { content: "•"; margin: 0 .5rem; font-size: .9em; }

.dish {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .25rem .75rem;
  align-items: start;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--line);
}
.dish:last-child { border-bottom: 0; }
.dish .dot { margin-top: .35rem; }
.dish-name { font-size: 1.08rem; font-weight: 500; margin: 0; }
.dish-tag { font-style: italic; color: var(--maroon-2); font-weight: 400; margin-left: .3rem; }
.dish-desc { margin: .1rem 0 0; font-style: italic; color: var(--muted); font-size: .92rem; }
.dish-variants { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.variant {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; color: var(--ink);
}
.variant.is-selected { border-color: var(--maroon); background: var(--maroon); color: #fff; }
.dish-side { display: grid; justify-items: end; gap: .4rem; }
.price { font-family: var(--serif); font-weight: 700; color: var(--maroon); font-size: 1.05rem; white-space: nowrap; }

.add-btn {
  border: 1.5px solid var(--maroon); color: var(--maroon); background: var(--paper);
  border-radius: 999px; padding: .2rem .95rem; font-size: .88rem; font-weight: 500;
}
.add-btn:hover { background: var(--maroon); color: #fff; }

.stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--maroon); border-radius: 999px; overflow: hidden;
  background: var(--maroon); color: #fff;
}
.stepper button { border: 0; background: transparent; color: inherit; width: 30px; height: 28px; font-size: 1.05rem; }
.stepper span { min-width: 22px; text-align: center; font-size: .9rem; }

.dish.is-hidden, .section.is-hidden { display: none; }

/* ---------- Custom request + footer ---------- */
.custom {
  max-width: 760px; margin: 0 auto; padding: 1.5rem 16px 2.5rem; text-align: center;
  border-top: 1px solid var(--line);
}
.custom p { margin: 0; }
.custom-em { color: var(--maroon-2); font-style: italic; margin: .2rem 0 1rem !important; font-size: 1.1rem; }

.footer {
  background: linear-gradient(180deg, var(--maroon-2), var(--maroon));
  color: #fbe9cc;
  text-align: center;
  padding: 2.5rem 16px 3rem;
}
.footer-with-fab { padding-bottom: 7rem; }
.footer h3 { font-family: var(--serif); color: var(--gold-soft); font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.2; margin: 0 0 .7rem; }
.footer p { max-width: 560px; margin: 0 auto .6rem; }
.footer-label { margin-top: 1.4rem !important; font-size: 1.1rem; }
.footer-phone {
  display: inline-block;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  color: #fff; text-decoration: none;
}
.footer-sign { font-style: italic; }
.footer-small { font-size: .85rem; opacity: .8; margin-top: 1.6rem !important; }

/* ---------- Site header (all pages) ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header-inner {
  max-width: 1100px; margin: 0 auto; padding: .6rem 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-logo { text-decoration: none; }
.logotype-sm { font-size: 1.35rem; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  text-decoration: none; padding: .4rem .7rem; border-radius: 999px; font-size: .95rem; color: var(--ink);
}
.site-nav a:hover { background: var(--gold-soft); }
.site-nav a[aria-current="page"] { color: var(--maroon); font-weight: 500; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.site-nav .site-nav-cta { background: var(--wa); color: #fff; padding: .4rem .9rem; margin-left: .25rem; }
.site-nav .site-nav-cta:hover { background: var(--wa); filter: brightness(1.07); }
.site-nav a { white-space: nowrap; }
/* On phones the banner right below already shows the name, so the header keeps only the links. */
@media (max-width: 480px) {
  .site-logo { display: none; }
  .site-header-inner { justify-content: center; }
}

/* ---------- Menu page banner ---------- */
.page-banner {
  text-align: center; padding: 1.6rem 16px 1.4rem;
  background: var(--cream);
  border-bottom: 6px double var(--gold);
}
.page-banner h1 { font-family: var(--serif); color: var(--maroon); font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.15; margin: .2rem 0 .6rem; }
.page-banner p { margin: 0 auto; max-width: 560px; color: #4a3428; }
.page-banner strong { color: var(--maroon); }

/* ---------- Homepage ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; margin-top: 1.8rem; }
.eyebrow {
  margin: 0 0 .3rem; text-align: center;
  font-family: var(--hand); font-size: 1.45rem; color: var(--gold);
}
.page-banner .eyebrow { margin-bottom: 0; }
.section-heading {
  font-family: var(--serif); color: var(--maroon); text-align: center;
  font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.15; margin: 0 0 1.8rem;
}
.section-heading.left, .story .eyebrow { text-align: left; }
.home-section { padding: 3.5rem 0; }
.home-section:nth-of-type(even) { background: var(--paper); }

.promise-grid, .steps { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px) { .promise-grid, .steps { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 359px) { .promise-grid, .steps { grid-template-columns: 1fr; } }
.promise-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; text-align: center;
}
.promise-card svg { width: 44px; height: 44px; color: var(--maroon-2); }
.promise-card h3 { font-family: var(--serif); color: var(--maroon); margin: .5rem 0 .3rem; font-size: 1.2rem; }
.promise-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.dish-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.dish-card {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.dish-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dish-card-top { display: flex; align-items: center; gap: .5rem; }
.dish-card-section { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dish-card h3 { margin: .2rem 0 0; font-size: 1.2rem; font-weight: 500; }
.dish-card .dish-tag { font-size: .95rem; margin-left: 0; }
.dish-card p { margin: 0; font-style: italic; color: var(--muted); font-size: .93rem; }
.dish-card-price { margin-top: auto; padding-top: .5rem; font-family: var(--serif); font-weight: 700; color: var(--maroon); font-size: 1.1rem; }

.category-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.category-tile {
  display: grid; gap: .15rem; align-content: start; text-decoration: none;
  padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--gold-soft); border: 1px solid transparent;
  transition: border-color .15s, background .15s;
}
.category-tile:hover { border-color: var(--maroon); background: #f9e8c4; }
.category-name { font-family: var(--serif); font-weight: 700; color: var(--maroon); font-size: 1.1rem; }
.category-meta { font-size: .85rem; color: var(--muted); }

.steps {
  list-style: none; margin: 0; padding: 0;
}
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.2rem; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--maroon); color: #fff; font-family: var(--serif); font-weight: 700;
}
.steps h3 { font-family: var(--serif); color: var(--maroon); margin: .6rem 0 .25rem; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.how-note { text-align: center; max-width: 620px; margin: 1.6rem auto 0; font-style: italic; color: #4a3428; }

.story-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 820px) { .story-grid { grid-template-columns: 1.2fr 1fr; } }
.story p { color: #4a3428; }
.accent { color: var(--maroon-2); }
.poster {
  display: block; position: relative; max-width: 340px; margin: 0 auto;
  transform: rotate(2deg); box-shadow: var(--shadow); border-radius: 6px; overflow: hidden;
  transition: transform .2s;
}
.poster:hover { transform: rotate(0); }
.poster img { display: block; width: 100%; height: auto; }
.poster span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem; text-align: center;
  background: linear-gradient(transparent, rgba(60, 10, 10, .85)); color: #fff; font-weight: 500;
}

/* ---------- Cart button + drawer ---------- */
.cart-fab {
  position: fixed; z-index: 30;
  left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .85rem 1.1rem;
  border: 0; border-radius: 999px;
  background: var(--maroon); color: #fff;
  box-shadow: var(--shadow);
  font-weight: 500;
}
.cart-fab-count {
  background: var(--gold-soft); color: var(--maroon);
  border-radius: 999px; min-width: 28px; padding: .05rem .5rem; font-weight: 700;
}
.cart-fab-total { font-family: var(--serif); font-weight: 700; }
.cart-fab.bump { animation: bump .3s; }
@keyframes bump { 50% { transform: translateX(-50%) scale(1.04); } }

.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(30, 10, 5, .45); }
.cart {
  position: fixed; z-index: 50; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper);
  box-shadow: -10px 0 30px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: transform .25s ease;
  visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 16px; border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-family: var(--serif); color: var(--maroon); font-size: 1.4rem; }
.icon-btn { border: 0; background: transparent; font-size: 1.2rem; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); }
.icon-btn:hover { background: var(--gold-soft); }
.cart-body { flex: 1; overflow-y: auto; padding: .5rem 16px 1rem; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px dashed var(--line);
}
.cart-item-name { font-weight: 500; }
.cart-item-sub { font-size: .85rem; color: var(--muted); }
.cart-item .stepper { grid-row: span 2; }
.cart-empty { color: var(--muted); text-align: center; padding: 1.5rem 0; }

.order-form { margin-top: 1rem; display: grid; gap: .75rem; }
.field { display: grid; gap: .25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field label { font-size: .88rem; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px;
  padding: .55rem .7rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.muted { color: var(--muted); font-weight: 400; }
.form-error { margin: 0; color: var(--nonveg); font-size: .9rem; min-height: 1.2em; }

.cart-foot { padding: .9rem 16px 1rem; border-top: 1px solid var(--line); background: var(--cream); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; }
.cart-total strong { font-family: var(--serif); font-size: 1.4rem; color: var(--maroon); }
.cart-hint { margin: .5rem 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

body.cart-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cart, .btn, .dish-card, .poster, .banner-card { transition: none; }
  .cart-fab.bump { animation: none; }
}
