:root {
  color-scheme: light;
  --ink: #241614;
  --muted: #7d6a60;
  --paper: #fff8ea;
  --surface: #ffffff;
  --line: #eadcc4;
  --saffron: #c8942f;
  --gold: #d7a84b;
  --gold-light: #f6df98;
  --maroon: #4c0509;
  --maroon-dark: #1b0204;
  --tomato: #6f0610;
  --mint: #2c7d63;
  --plum: #5a0710;
  --charcoal: #36050b;
  --shadow: 0 18px 45px rgba(37, 28, 17, 0.13);
  --body-font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: Cinzel, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(215, 168, 75, 0.2), transparent 25rem),
    radial-gradient(circle at 88% 8%, rgba(111, 6, 16, 0.12), transparent 22rem),
    linear-gradient(180deg, #fff8ea 0%, #fff1dd 44%, #f4ead8 100%);
  color: var(--ink);
  font-family: var(--body-font);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(54, 5, 11, 0.94);
  border-bottom: 1px solid rgba(215, 168, 75, 0.4);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(246, 223, 152, 0.76);
  background: radial-gradient(circle, #5e080f, #250206);
  color: var(--gold-light);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #e8d4a3;
  font-size: 0.78rem;
}

.brand strong {
  color: #fff8ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.5rem);
  color: #f2dfaf;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  padding: 0.45rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  min-height: auto;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(1rem, 3vw, 2rem) 0 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 1.4rem 0 0;
  color: #42504c;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-self: center;
  gap: 0.8rem;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(180deg, #8d121c, #5b060c);
  color: #fff;
  border-color: rgba(215, 168, 75, 0.42);
  box-shadow: 0 12px 30px rgba(91, 6, 12, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.daawat-poster {
  position: relative;
  width: 100%;
  min-height: 390px;
  justify-self: center;
  padding: 0.85rem;
  border: 4px solid #b8872e;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #5b3b16, #f6df98 16%, #9b6b22 34%, #f8e6a9 50%, #815416 70%, #f1d486 86%, #5b3b16),
    var(--maroon-dark);
  box-shadow: 0 28px 80px rgba(42, 4, 7, 0.34);
}

.daawat-poster::before {
  content: "";
  position: absolute;
  inset: 1.15rem;
  border: 1px solid rgba(246, 223, 152, 0.82);
  border-radius: 4px;
  pointer-events: none;
}

.poster-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(210px, 0.45fr) minmax(260px, 0.55fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  justify-items: stretch;
  min-height: 100%;
  padding: clamp(1.3rem, 3vw, 2rem);
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 15%, rgba(160, 31, 31, 0.48), transparent 18rem),
    radial-gradient(circle at 22% 68%, rgba(215, 168, 75, 0.13), transparent 12rem),
    linear-gradient(180deg, rgba(95, 6, 12, 0.96), rgba(35, 2, 5, 0.98)),
    var(--maroon);
  color: #fff8ea;
  text-align: center;
}

.poster-brand-block,
.poster-action-block,
.poster-buttons {
  position: relative;
  z-index: 1;
}

.poster-brand-block {
  text-align: left;
  padding-left: clamp(0.2rem, 2vw, 1rem);
}

.poster-action-block {
  display: grid;
  justify-items: center;
}

.poster-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 20%, transparent 0 10px, rgba(246, 223, 152, 0.22) 11px, transparent 12px),
    radial-gradient(circle at 80% 26%, transparent 0 10px, rgba(246, 223, 152, 0.18) 11px, transparent 12px);
  background-size: 58px 58px, 82px 82px;
  pointer-events: none;
}

.poster-corner {
  position: absolute;
  z-index: 2;
  width: 86px;
  height: 86px;
  border-color: var(--gold-light);
  opacity: 0.92;
}

.poster-corner::before,
.poster-corner::after {
  content: "";
  position: absolute;
  border-color: inherit;
}

.poster-corner::before {
  inset: 8px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: 8px 0 0 0;
}

.poster-corner::after {
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: 100% 0 0 0;
}

.top-left {
  top: 1.2rem;
  left: 1.2rem;
}

.top-right {
  top: 1.2rem;
  right: 1.2rem;
  transform: rotate(90deg);
}

.bottom-right {
  right: 1.2rem;
  bottom: 1.2rem;
  transform: rotate(180deg);
}

.bottom-left {
  left: 1.2rem;
  bottom: 1.2rem;
  transform: rotate(270deg);
}

.poster-kicker,
.poster-location {
  position: relative;
  margin: 0;
  color: #e6c774;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.poster-logo {
  position: relative;
  margin-top: 0.2rem;
  color: #f8e8b2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 8.7vw, 8rem);
  line-height: 0.78;
  text-shadow: 0 2px 0 #8d6423, 0 12px 28px rgba(0, 0, 0, 0.28);
  text-transform: none;
}

.gold-rule {
  position: relative;
  width: min(320px, 78%);
  height: 1px;
  margin: 1.2rem 0 1rem;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.gold-rule::before {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 52%;
  padding: 0 0.45rem;
  background: #5a0710;
  color: var(--gold-light);
  transform: translate(-50%, -50%);
}

.poster-inner h2 {
  position: relative;
  margin: 0;
  color: #e7c570;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
}

.poster-inner p {
  position: relative;
  max-width: 390px;
  margin: 0.6rem 0 0;
  color: #fff4de;
  font-size: 1.02rem;
  line-height: 1.55;
}

.poster-qr-wrap {
  position: relative;
  width: min(100%, 220px);
  padding: 0.7rem;
  border: 7px solid var(--gold);
  border-radius: 20px;
  background: #fff8ea;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.hero-qr {
  border: 0;
  border-radius: 12px;
}

.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle, #6e0710, #270206);
  color: #f6df98;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.scan-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 1rem 0;
  padding: 0.45rem 1.3rem;
  border: 1px solid #8d6423;
  background: linear-gradient(180deg, #f6df98, #bd8428);
  color: #1f0906;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.poster-buttons {
  position: relative;
  display: grid;
  gap: 0.7rem;
  width: 100%;
}

.poster-social {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  align-items: center;
  min-height: 62px;
  overflow: hidden;
  border: 1px solid rgba(215, 168, 75, 0.82);
  border-radius: 16px;
  background: rgba(35, 2, 5, 0.72);
  color: #fff8ea;
  text-align: left;
}

.poster-social span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 900;
}

.poster-social strong {
  padding: 0 0.9rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.poster-social em {
  display: grid;
  height: 100%;
  place-items: center;
  border-left: 1px solid rgba(215, 168, 75, 0.48);
  color: var(--gold-light);
  font-size: 2rem;
  font-style: normal;
}

.palace-line {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  height: 42px;
  margin-top: -0.3rem;
  border-bottom: 5px solid var(--gold);
  background:
    linear-gradient(to top, rgba(215, 168, 75, 0.88) 0 10px, transparent 10px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(215, 168, 75, 0.64) 22px 30px, transparent 30px 45px);
  clip-path: polygon(0 100%, 0 72%, 5% 72%, 5% 44%, 10% 44%, 10% 68%, 17% 68%, 17% 30%, 23% 30%, 23% 65%, 31% 65%, 31% 46%, 36% 46%, 36% 70%, 43% 70%, 43% 28%, 50% 10%, 57% 28%, 57% 70%, 64% 70%, 64% 44%, 70% 44%, 70% 66%, 78% 66%, 78% 28%, 84% 28%, 84% 68%, 91% 68%, 91% 42%, 96% 42%, 96% 74%, 100% 74%, 100% 100%);
}

.section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem);
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.scan-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 3px double var(--gold);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 18%, rgba(215, 168, 75, 0.2), transparent 15rem),
    linear-gradient(135deg, #650812, #230205 72%);
  color: #fffaf1;
  box-shadow: 0 22px 58px rgba(48, 4, 8, 0.24);
}

.banner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-copy h3 {
  max-width: 440px;
  margin: 1rem 0 0.6rem;
  color: #f6df98;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.banner-copy p {
  max-width: 460px;
  color: #eadfcf;
  line-height: 1.6;
}

.status-pill {
  align-self: flex-start;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6df98, #bd8428);
  color: #211a12;
  font-weight: 900;
}

.qr-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.qr-card {
  display: grid;
  gap: 0.7rem;
  min-height: 260px;
  padding: 1rem;
  border: 1px solid rgba(215, 168, 75, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8ea, #f4e3c5);
  color: var(--ink);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.52);
}

.qr-card strong,
.qr-card a {
  display: block;
}

.qr-card a {
  color: var(--maroon);
  font-weight: 900;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 3px;
  width: 100%;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.qr-code span {
  border-radius: 2px;
  background: transparent;
}

.qr-code span.on {
  background: #18211f;
}

.qr-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf0;
  object-fit: contain;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.social-card {
  min-height: 210px;
  padding: 1rem;
  border: 1px solid rgba(215, 168, 75, 0.56);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.94), rgba(255, 255, 255, 0.94)),
    var(--surface);
  box-shadow: 0 10px 28px rgba(77, 5, 10, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.social-card.unavailable,
.poster-social.unavailable {
  cursor: not-allowed;
  opacity: 0.56;
}

.social-card span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 2rem;
  border-radius: 8px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}

.social-card strong,
.social-card small {
  display: block;
}

.social-card strong {
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.social-card small {
  margin-top: 0.45rem;
  color: var(--muted);
}

.google span {
  background: #4285f4;
}

.facebook span {
  background: #1877f2;
}

.instagram span {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #515bd4);
}

.tiktok span {
  background: #111;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.56fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
}

.catalog-panel,
.cart-panel,
.settings-grid {
  border: 1px solid rgba(215, 168, 75, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.92), rgba(255, 255, 255, 0.92)),
    #fff;
  box-shadow: 0 12px 34px rgba(77, 5, 10, 0.1);
}

.catalog-panel,
.cart-panel {
  padding: 1rem;
}

.catalog-panel {
  overflow: hidden;
}

.cart-panel {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-head h3 {
  margin: 0;
  color: var(--maroon);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1;
}

.panel-head span {
  color: var(--muted);
  font-weight: 800;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.tab,
.icon-button,
.quantity-row button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.tab {
  min-height: 40px;
  width: 100%;
  padding: 0.58rem 0.65rem;
  line-height: 1.15;
  text-align: center;
}

.tab.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f6df98, #c8942f);
  color: #241614;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.8rem;
}

.menu-item {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(215, 168, 75, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.menu-card-main {
  min-width: 0;
}

.menu-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.menu-title h4 {
  margin: 0;
  color: var(--maroon);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.menu-title strong {
  white-space: nowrap;
}

.menu-item p {
  margin: 0.45rem 0 0.7rem;
  color: var(--muted);
  line-height: 1.5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-row span {
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: #f7ead0;
  color: #6a3a13;
  font-size: 0.76rem;
  font-weight: 800;
}

.menu-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(111, 6, 16, 0.1);
  color: var(--maroon);
  font-size: 0.72rem;
  font-weight: 900;
}

.quantity-row {
  display: grid;
  grid-template-columns: 36px 32px 36px;
  align-items: center;
  gap: 0.3rem;
  justify-content: end;
}

.quantity-row button,
.icon-button,
.add-item-button {
  width: 36px;
  height: 36px;
}

.add-item-button {
  justify-self: end;
  width: auto;
  min-width: 84px;
  padding: 0 0.9rem;
  border: 1px solid rgba(215, 168, 75, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, #8d121c, #5b060c);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.quantity-row span {
  text-align: center;
  font-weight: 900;
}

.cart-list {
  display: grid;
  gap: 0.6rem;
  min-height: 64px;
}

.cart-item,
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.empty-cart {
  display: grid;
  min-height: 64px;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.preferences {
  display: grid;
  gap: 0.72rem;
  margin-top: 1rem;
}

label,
.field-label {
  color: #3b4643;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.75rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 168, 75, 0.16);
}

.segmented,
.checks,
.mode-picker {
  display: grid;
  gap: 0.5rem;
}

.mode-picker,
.segmented {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segmented label,
.checks label,
.mode-picker label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.segmented input,
.checks input,
.mode-picker input {
  width: auto;
}

.mode-picker label {
  min-height: 48px;
  font-weight: 900;
}

.mode-picker label:has(input:checked),
.segmented label:has(input:checked),
.checks label:has(input:checked) {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f6df98, #d7a84b);
  color: #241614;
  box-shadow: 0 8px 18px rgba(200, 148, 47, 0.18);
}

.mode-fields {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid rgba(215, 168, 75, 0.32);
  border-radius: 12px;
  background: rgba(255, 248, 234, 0.55);
}

.mode-fields[hidden] {
  display: none;
}

.total-row {
  margin-top: 0.7rem;
  border-top: 2px solid var(--maroon);
  border-bottom: 0;
  font-size: 1.1rem;
}

.checkout {
  width: 100%;
  margin-top: 0.8rem;
}

.order-status {
  min-height: 1.3em;
  color: var(--tomato);
  font-size: 0.9rem;
  font-weight: 800;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.menu-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.menu-board-grid img {
  display: block;
  width: 100%;
  border: 1px solid rgba(215, 168, 75, 0.6);
  border-radius: 8px;
  background: #fff8ea;
  box-shadow: 0 12px 34px rgba(77, 5, 10, 0.12);
}

.settings-grid label {
  display: grid;
  gap: 0.45rem;
}

.settings-grid button {
  align-self: end;
}

@media (max-width: 980px) {
  .hero-copy,
  .poster-inner,
  .scan-banner,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    align-items: start;
  }

  .poster-brand-block {
    text-align: center;
    padding-left: 0;
  }

  .daawat-poster {
    min-height: auto;
  }

  .cart-panel {
    position: static;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 21vw, 5.4rem);
  }

  .daawat-poster {
    min-height: auto;
    padding: 0.55rem;
  }

  .poster-inner {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    text-align: left;
  }

  .poster-brand-block {
    text-align: left;
  }

  .poster-logo {
    font-size: clamp(2.85rem, 14vw, 3.35rem);
  }

  .poster-inner h2 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .poster-inner p {
    max-width: 18rem;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .poster-kicker,
  .poster-location {
    font-size: 0.6rem;
  }

  .gold-rule {
    width: 72%;
    margin: 0.65rem 0 0.55rem;
  }

  .poster-action-block {
    align-self: stretch;
    align-content: center;
  }

  .poster-qr-wrap {
    width: 104px;
    padding: 0.35rem;
    border-width: 4px;
    border-radius: 13px;
  }

  .qr-logo {
    width: 42px;
    height: 42px;
    border-width: 3px;
    font-size: 1.35rem;
  }

  .scan-label {
    min-height: 28px;
    margin: 0.55rem 0 0;
    padding: 0.24rem 0.45rem;
    font-size: 0.58rem;
    text-align: center;
  }

  .poster-buttons,
  .palace-line {
    display: none;
  }

  .poster-corner {
    width: 52px;
    height: 52px;
  }

  .poster-corner::before {
    inset: 6px;
  }

  .poster-corner::after {
    top: 15px;
    left: 15px;
    width: 24px;
    height: 24px;
  }

  .poster-social {
    grid-template-columns: 54px 1fr 30px;
    min-height: 62px;
  }

  .poster-social strong {
    font-size: 0.82rem;
  }

  .qr-strip,
  .review-grid,
  .menu-board-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    min-height: auto;
  }

  .menu-item {
    grid-template-columns: 1fr;
  }

  .quantity-row {
    justify-content: start;
  }
}

/* Production polish: responsive customer-facing layout overrides. */
body {
  min-width: 320px;
}

.hero,
.experience-strip,
.section {
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

.topbar {
  max-width: none;
  min-height: 68px;
  background:
    linear-gradient(90deg, rgba(27, 2, 4, 0.98), rgba(76, 5, 9, 0.95)),
    rgba(54, 5, 11, 0.94);
}

.brand-mark {
  position: relative;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 18%, rgba(246, 223, 152, 0.2), transparent 1.1rem),
    radial-gradient(circle, #650812, #250206);
  font-family: var(--display-font);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 234, 0.16);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 7px;
  width: 15px;
  height: 7px;
  background: linear-gradient(90deg, transparent 0 12%, var(--gold-light) 12% 22%, transparent 22% 39%, var(--gold-light) 39% 60%, transparent 60% 78%, var(--gold-light) 78% 88%, transparent 88%);
  opacity: 0.72;
}

.brand strong,
.hero h1,
.poster-logo,
.poster-inner h2,
.section-heading h2,
.banner-copy h3,
.social-card strong,
.panel-head h3,
.experience-strip strong {
  font-family: var(--display-font);
}

.hero {
  padding-bottom: clamp(1.2rem, 3vw, 2.2rem);
}

.hero-copy {
  grid-template-columns: minmax(0, 0.56fr) minmax(360px, 0.44fr);
  grid-template-areas:
    "kicker title"
    "text title"
    "actions actions";
  align-items: center;
}

.hero-copy .eyebrow {
  grid-area: kicker;
}

.hero h1 {
  grid-area: title;
  justify-self: end;
  font-size: clamp(3.4rem, 7.6vw, 6.9rem);
  line-height: 0.9;
}

.hero-text {
  grid-area: text;
  max-width: 720px;
}

.hero-actions {
  grid-area: actions;
  justify-self: start;
}

.daawat-poster {
  min-height: 360px;
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(42, 4, 7, 0.28);
}

.daawat-poster::before {
  border-radius: 10px;
}

.poster-inner {
  grid-template-columns: minmax(260px, 0.86fr) minmax(190px, 0.4fr) minmax(260px, 0.54fr);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 15%, rgba(160, 31, 31, 0.38), transparent 18rem),
    radial-gradient(circle at 22% 68%, rgba(215, 168, 75, 0.13), transparent 12rem),
    linear-gradient(180deg, rgba(95, 6, 12, 0.94), rgba(35, 2, 5, 0.98)),
    var(--maroon);
}

.poster-kicker,
.poster-location,
.scan-label,
.poster-social strong,
.menu-title h4 {
  font-family: var(--body-font);
}

.poster-logo {
  font-size: clamp(3.6rem, 8vw, 7rem);
  line-height: 0.84;
  text-shadow: 0 1px 0 #8d6423, 0 10px 22px rgba(0, 0, 0, 0.26);
}

.poster-inner h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.55rem);
  line-height: 1.08;
}

.poster-qr-wrap {
  width: min(100%, 190px);
}

.poster-social {
  grid-template-columns: 54px 1fr 32px;
  min-height: 58px;
  border-radius: 14px;
}

.poster-social span {
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  font-size: 0;
}

.poster-social svg,
.social-card svg {
  width: 31px;
  height: 31px;
}

.palace-line {
  height: 34px;
  margin-top: -0.5rem;
  border-bottom: 2px solid rgba(246, 223, 152, 0.82);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(246, 223, 152, 0.22), transparent 58%),
    linear-gradient(90deg, transparent, rgba(246, 223, 152, 0.72), transparent);
  clip-path: none;
}

.palace-line::before {
  content: "";
  position: absolute;
  inset: 8px 4% 0;
  border-top: 2px solid rgba(246, 223, 152, 0.62);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.experience-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(1rem, 5vw, 4rem) clamp(1rem, 3vw, 1.8rem);
  overflow: hidden;
  border: 1px solid rgba(215, 168, 75, 0.5);
  border-radius: 12px;
  background: rgba(215, 168, 75, 0.5);
  box-shadow: 0 14px 34px rgba(77, 5, 10, 0.08);
}

.experience-strip article {
  min-height: 128px;
  padding: 1rem;
  background: rgba(255, 250, 241, 0.94);
}

.experience-strip span {
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 900;
}

.experience-strip strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--maroon);
  font-size: 1rem;
}

.experience-strip p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.scan-section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.order-section .section-heading h2 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

.scan-banner {
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border-radius: 14px;
}

.banner-copy h3 {
  max-width: 360px;
  margin-top: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.qr-card {
  min-height: auto;
  padding: 0.72rem;
  border-radius: 12px;
}

.qr-card .qr-image {
  max-width: 172px;
  justify-self: center;
}

.review-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.social-card {
  min-height: 168px;
  border-radius: 12px;
}

.social-card span {
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(215, 168, 75, 0.32);
}

.google span,
.facebook span,
.instagram span,
.tiktok span {
  background: rgba(255, 255, 255, 0.92);
}

.order-layout {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.56fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.catalog-panel,
.cart-panel {
  border-radius: 12px;
  padding: 0.9rem;
}

.tabs {
  overflow: visible;
  padding-bottom: 0;
}

.tab {
  min-height: 36px;
  padding: 0.48rem 0.65rem;
  border-radius: 10px;
  font-size: 0.88rem;
  white-space: normal;
}

.menu-list {
  gap: 0.55rem;
}

.menu-item {
  padding: 0.78rem;
  border-radius: 12px;
}

.menu-item p {
  margin: 0.28rem 0 0.55rem;
  font-size: 0.9rem;
}

.tag-row span {
  padding: 0.18rem 0.42rem;
}

.quantity-row {
  grid-template-columns: 34px 28px 34px;
}

.quantity-row button,
.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 0.72rem;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 168, 75, 0.16);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--maroon) 50%),
    linear-gradient(135deg, var(--maroon) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.menu-board-grid {
  align-items: stretch;
}

.menu-board-card {
  display: grid;
  align-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 168, 75, 0.6);
  border-radius: 12px;
  background: #fff8ea;
  box-shadow: 0 12px 34px rgba(77, 5, 10, 0.12);
}

.menu-board-grid img {
  height: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.settings-section[hidden] {
  display: none;
}

.admin-only[hidden] {
  display: none;
}

.about-grid,
.feature-grid,
.featured-grid,
.menu-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.menu-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-grid article,
.feature-grid article,
.featured-grid article,
.menu-preview-grid a {
  min-height: 176px;
  padding: 1.1rem;
  border: 1px solid rgba(215, 168, 75, 0.5);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.94), rgba(255, 255, 255, 0.92)),
    #fff;
  box-shadow: 0 12px 34px rgba(77, 5, 10, 0.08);
}

.featured-grid article {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 220px;
  overflow: hidden;
}

.featured-grid article::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 168, 75, 0.22), transparent 68%);
}

.featured-grid span {
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  background: rgba(111, 6, 16, 0.1);
  color: var(--maroon);
  font-size: 0.76rem;
  font-weight: 900;
}

.featured-grid strong {
  margin-top: 1rem;
  color: var(--maroon);
}

.menu-preview-grid a {
  display: grid;
  min-height: 92px;
  place-items: center;
  color: var(--maroon);
  font-weight: 900;
  text-align: center;
}

.about-grid h3,
.feature-grid strong,
.featured-grid h3 {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--maroon);
  font-family: var(--display-font);
  font-size: 1.15rem;
  line-height: 1.15;
}

.about-grid p,
.feature-grid p,
.featured-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1800px;
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1rem, 5vw, 4rem);
  border-top: 1px solid rgba(215, 168, 75, 0.45);
  background: linear-gradient(135deg, #36050b, #1b0204);
  color: #fff8ea;
}

.site-footer strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--display-font);
  font-size: 1.6rem;
}

.site-footer span {
  display: block;
  color: var(--gold-light);
  font-weight: 900;
}

.site-footer p {
  margin: 0.4rem 0 0;
  color: #eadfcf;
  line-height: 1.6;
}

.visit-section {
  padding-bottom: 0;
}

.category-select {
  display: none;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

body.order-page .hero,
body.order-page .about-section,
body.order-page .feature-section,
body.order-page .experience-strip,
body.order-page .review-section,
body.order-page .menu-board-section,
body.order-page .visit-section,
body.order-page .scan-section,
body.order-page .site-footer,
body.order-page .featured-dishes-section,
body.order-page .menu-preview-section {
  display: none;
}

body.order-page .order-section {
  max-width: 1380px;
  padding-top: clamp(1.2rem, 3vw, 2rem);
}

body.order-page .order-section .section-heading {
  max-width: 920px;
}

@media (min-width: 1801px) {
  .hero,
  .experience-strip,
  .section {
    max-width: 1720px;
  }

  .hero h1 {
    font-size: 7.4rem;
  }

  .section-heading h2 {
    font-size: 4.2rem;
  }
}

@media (max-width: 1200px) {
  .poster-inner {
    grid-template-columns: minmax(250px, 0.9fr) minmax(176px, 0.4fr) minmax(220px, 0.52fr);
  }

  .poster-social strong {
    font-size: 0.76rem;
  }
}

@media (max-width: 980px) {
  .hero-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "text"
      "actions";
  }

  .hero h1 {
    justify-self: start;
  }

  .experience-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scan-banner {
    grid-template-columns: 1fr;
  }

  .qr-strip {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }

  .about-grid,
  .feature-grid,
  .featured-grid,
  .menu-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    gap: 0.75rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .nav {
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 0.35rem 0.2rem;
  }

  .hero {
    padding-bottom: 1rem;
  }

  .hero-copy {
    gap: 0.8rem;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .experience-strip {
    grid-template-columns: 1fr;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .experience-strip article {
    min-height: auto;
  }

  .qr-strip {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .qr-card {
    grid-template-columns: 88px 1fr auto;
    align-items: center;
  }

  .qr-card .qr-image {
    width: 88px;
  }

  .section {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .review-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .about-grid,
  .feature-grid,
  .featured-grid,
  .menu-preview-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .category-select {
    display: grid;
  }

  .tabs {
    display: none;
  }

  .catalog-panel,
  .cart-panel {
    padding: 0.75rem;
  }

  .mode-picker,
  .segmented {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mode-picker label,
  .segmented label,
  .checks label {
    padding-left: 0.42rem;
    padding-right: 0.42rem;
    font-size: 0.78rem;
  }

  .order-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  body.order-page {
    padding-bottom: 92px;
  }

  body.order-page.has-cart {
    padding-bottom: 196px;
  }

  body.order-page .cart-panel {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 30;
    max-height: 72vh;
    overflow: auto;
    box-shadow: 0 18px 42px rgba(37, 28, 17, 0.22);
  }

  body.order-page:not(.has-cart) .cart-list,
  body.order-page:not(.has-cart) .preferences,
  body.order-page:not(.has-cart) .total-row,
  body.order-page:not(.has-cart) .checkout,
  body.order-page:not(.has-cart) .order-status {
    display: none;
  }

  .social-card {
    min-height: 144px;
    padding: 0.85rem;
  }

  .menu-title {
    display: grid;
    gap: 0.25rem;
  }

  .menu-item {
    grid-template-columns: 1fr;
  }

  .tag-row {
    display: none;
  }
}

@media (max-width: 430px) {
  .poster-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .poster-brand-block {
    text-align: center;
  }

  .poster-qr-wrap {
    width: 132px;
  }

  .gold-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .mode-picker,
  .segmented {
    gap: 0.35rem;
  }

  .checks {
    grid-template-columns: 1fr;
  }

  .menu-item {
    grid-template-columns: 1fr;
  }

  .quantity-row {
    justify-content: start;
  }
}

/* Final scale pass: keep the first viewport balanced on laptops and projectors. */
.hero {
  gap: clamp(0.8rem, 2vw, 1.2rem);
  padding-bottom: clamp(1rem, 2.4vw, 1.8rem);
}

.hero-copy {
  padding-top: clamp(0.45rem, 1.5vw, 0.9rem);
}

.hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.95;
}

.daawat-poster {
  min-height: 312px;
}

.poster-inner {
  gap: clamp(0.85rem, 2.2vw, 1.45rem);
  padding: clamp(1rem, 2.2vw, 1.45rem);
}

.poster-logo {
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
}

.poster-inner h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
}

.poster-inner p {
  font-size: 0.94rem;
}

.poster-qr-wrap {
  width: min(100%, 168px);
}

.poster-social {
  min-height: 54px;
}

@media (min-width: 1801px) {
  .hero h1 {
    font-size: 6.2rem;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  .daawat-poster {
    min-height: auto;
  }
}
