:root {
  --ink: #25231f;
  --muted: #716b62;
  --paper: #f7f2e9;
  --paper-soft: #fcfaf4;
  --clay: #b96f50;
  --moss: #65715a;
  --charcoal: #373732;
  --line: rgba(37, 35, 31, 0.13);
  --shadow: 0 20px 60px rgba(37, 35, 31, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(37, 35, 31, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(circle at 80% 10%, rgba(185, 111, 80, 0.15), transparent 26rem);
}

body.landing-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 233, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(8.5rem, 22vw, 13rem);
  height: auto;
  max-height: 3rem;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.hero-logo-wrap {
  max-width: min(100%, 46rem);
  margin: 0 0 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  background: rgba(252, 250, 244, 0.74);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem);
  overflow: hidden;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 12vw, 9.5rem);
  line-height: 0.82;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.hero-copy p:not(.eyebrow),
.ambience-copy p {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions,
.form-actions,
.import-export {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  background: var(--paper-soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.button.primary {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--paper-soft);
}

.button.ghost:hover,
.button.primary:hover {
  transform: translateY(-1px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.landing-stage {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.35rem;
  min-height: min(100vh, 52rem);
  padding: clamp(2rem, 7vw, 5rem) 1rem;
  overflow: hidden;
}

.landing-stage::before {
  position: absolute;
  inset: 10%;
  content: "";
  border: 1px solid rgba(37, 35, 31, 0.1);
  transform: rotate(-2deg);
}

.landing-mark {
  position: absolute;
  inset: auto;
  width: min(72vw, 34rem);
  aspect-ratio: 1;
  border: 1px solid rgba(101, 113, 90, 0.18);
  border-radius: 50%;
  animation: landingBreath 7s ease-in-out infinite alternate;
}

.landing-mark span {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(185, 111, 80, 0.14);
  border-radius: 50%;
}

.landing-mark span:last-child {
  inset: 27%;
  border-color: rgba(37, 35, 31, 0.09);
}

.landing-logo-link {
  position: relative;
  display: block;
  width: min(78vw, 42rem);
  padding: clamp(1.2rem, 4vw, 2.1rem);
  background: rgba(252, 250, 244, 0.7);
  box-shadow: 0 22px 70px rgba(37, 35, 31, 0.1);
  animation: logoFloat 5.5s ease-in-out infinite alternate;
}

.landing-logo {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.landing-subtitle {
  position: relative;
  margin: 0;
  color: var(--moss);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.landing-button {
  position: relative;
  min-width: min(80vw, 15rem);
}

@keyframes landingBreath {
  to {
    transform: scale(1.05) rotate(3deg);
    opacity: 0.68;
  }
}

@keyframes logoFloat {
  to {
    transform: translateY(-0.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.hero-visual {
  position: relative;
  min-height: min(62vw, 42rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(252, 250, 244, 0.7), rgba(252, 250, 244, 0.2)),
    linear-gradient(115deg, rgba(101, 113, 90, 0.24), transparent 50%),
    linear-gradient(35deg, rgba(185, 111, 80, 0.28), transparent 55%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: 7%;
  content: "";
  border: 1px solid rgba(37, 35, 31, 0.12);
}

.sun {
  position: absolute;
  top: 10%;
  right: 14%;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(185, 111, 80, 0.72);
}

.table {
  position: absolute;
  right: -10%;
  bottom: 10%;
  left: 13%;
  height: 18%;
  background: rgba(55, 55, 50, 0.88);
  transform: skewY(-3deg);
}

.hookah {
  position: absolute;
  right: 24%;
  bottom: 21%;
  width: 12rem;
  height: 21rem;
}

.hookah span {
  position: absolute;
  display: block;
}

.bowl {
  top: 0;
  left: 4.2rem;
  width: 3.6rem;
  height: 2.2rem;
  border-radius: 0.25rem 0.25rem 1.5rem 1.5rem;
  background: var(--clay);
}

.stem {
  top: 2rem;
  left: 5.75rem;
  width: 0.55rem;
  height: 12rem;
  background: var(--charcoal);
}

.base {
  bottom: 0;
  left: 3.1rem;
  width: 5.8rem;
  height: 6.8rem;
  border-radius: 45% 45% 18% 18%;
  background: linear-gradient(150deg, rgba(247, 242, 233, 0.78), rgba(101, 113, 90, 0.75));
  border: 0.45rem solid var(--charcoal);
}

.hose {
  right: 0.2rem;
  bottom: 4.4rem;
  width: 7rem;
  height: 8rem;
  border: 0.38rem solid var(--charcoal);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 100% 0 0;
}

.smoke {
  position: absolute;
  width: 8rem;
  height: 16rem;
  border: 1px solid rgba(37, 35, 31, 0.13);
  border-right: 0;
  border-bottom: 0;
  border-radius: 100% 0 0 0;
  opacity: 0.8;
  animation: drift 5s ease-in-out infinite alternate;
}

.smoke-one {
  right: 29%;
  top: 12%;
}

.smoke-two {
  right: 37%;
  top: 18%;
  animation-delay: -1.5s;
}

@keyframes drift {
  to {
    opacity: 0.35;
    transform: translate(-1.2rem, -1.8rem) scale(1.08);
  }
}

.menu-shell,
.ambience,
.admin-panel {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.menu-page-shell {
  border-top: 0;
  padding-top: clamp(1.5rem, 5vw, 3rem);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.search {
  display: grid;
  gap: 0.4rem;
  min-width: min(100%, 22rem);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.search-control {
  position: relative;
  display: block;
}

.search-control input {
  padding-right: 2.65rem;
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  display: none;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid rgba(101, 113, 90, 0.2);
  background: rgba(252, 250, 244, 0.92);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transform: translateY(-50%);
}

.search-clear.is-visible {
  display: grid;
}

.menu-tools {
  display: flex;
  align-items: end;
  gap: 0.75rem;
}

.image-toggle {
  min-width: 8.8rem;
  min-height: 2.55rem;
  padding: 0.62rem 0.8rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.image-toggle[aria-pressed="true"] {
  border-color: rgba(101, 113, 90, 0.45);
  background: rgba(101, 113, 90, 0.14);
  color: var(--moss);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.85rem 0.9rem;
  background: rgba(252, 250, 244, 0.88);
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(55, 55, 50, 0.65);
  box-shadow: 0 0 0 3px rgba(101, 113, 90, 0.16);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.language-switcher select {
  width: auto;
  min-height: 2.2rem;
  padding: 0.35rem 0.55rem;
  background: var(--paper-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.category-tabs {
  position: sticky;
  top: 4.9rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  padding: 0.45rem 0 0.55rem;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: max-content;
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.tab-icon {
  width: 1.08rem;
  height: 1.08rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mini-section-head {
  margin: 0 0 0.8rem;
}

.mini-section-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.popular-strip {
  margin: 1.25rem 0 1rem;
}

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

.popular-card {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 0.5rem;
  background: rgba(252, 250, 244, 0.82);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.popular-card.no-image {
  grid-template-columns: 1fr;
  min-height: 5.2rem;
  padding: 0.8rem 0.9rem;
}

.popular-thumb {
  display: block;
  height: 4.25rem;
  overflow: hidden;
  background: var(--paper);
}

.popular-thumb img,
.popular-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-thumb .placeholder-mark {
  display: grid;
  height: 100%;
  place-items: center;
  background: var(--moss);
  color: var(--paper-soft);
  font-size: 1.1rem;
}

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

.popular-card small {
  margin-top: 0.2rem;
  color: var(--clay);
  font-weight: 800;
}

.offer-band {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(185, 111, 80, 0.35);
  padding: 1rem;
  background: rgba(185, 111, 80, 0.1);
}

.offer-band[hidden] {
  display: none;
}

.offer-band h3,
.offer-band p {
  margin: 0;
}

.offer-band h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.offer-band p {
  color: var(--muted);
  line-height: 1.55;
}

.tab.active {
  background: var(--moss);
  color: var(--paper-soft);
}

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

.menu-meta {
  margin: -0.55rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  border: 1px solid rgba(101, 113, 90, 0.22);
  padding: 1rem;
  background: rgba(252, 250, 244, 0.78);
  color: var(--muted);
}

.empty-state strong {
  color: var(--ink);
}

.subtle-button {
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: var(--moss);
}

.additive-note {
  margin: 1rem 0 0;
  border: 1px solid rgba(101, 113, 90, 0.22);
  padding: 0.9rem 1rem;
  background: rgba(101, 113, 90, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.additive-note strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.additive-note p {
  margin: 0.55rem 0 0;
}

.additive-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.additive-codes span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(101, 113, 90, 0.2);
  padding: 0.22rem 0.48rem;
  background: rgba(252, 250, 244, 0.65);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.additive-codes b {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  background: var(--moss);
  color: var(--paper-soft);
  font-size: 0.72rem;
}

.menu-card {
  display: grid;
  min-height: 9.25rem;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  border: 1px solid var(--line);
  background: rgba(252, 250, 244, 0.76);
  box-shadow: 0 12px 28px rgba(37, 35, 31, 0.06);
  overflow: hidden;
  cursor: pointer;
}

.menu-card.no-image {
  min-height: auto;
  grid-template-columns: 1fr;
}

.menu-card.no-image .item-body {
  min-height: 8rem;
}

.menu-card.is-shisha.no-image .item-body {
  min-height: 6.8rem;
  padding: 1rem 1.05rem;
}

.menu-card.is-shisha.no-image .item-top h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
}

.menu-card.is-shisha.no-image .item-body p {
  line-height: 1.48;
}

.menu-card.is-sold-out {
  opacity: 0.58;
}

.item-image {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(101, 113, 90, 0.78), rgba(185, 111, 80, 0.58)),
    repeating-linear-gradient(90deg, rgba(252, 250, 244, 0.14) 0 1px, transparent 1px 14px);
  color: rgba(252, 250, 244, 0.9);
  overflow: hidden;
}

.item-image img,
.item-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(37, 35, 31, 0.22));
}

.placeholder-mark {
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
}

.item-body {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.85rem;
}

.item-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.item-top h3 {
  margin: 0;
  font-size: 1.15rem;
}

.price {
  color: var(--clay);
  font-weight: 800;
  white-space: nowrap;
}

.item-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.item-note {
  border-left: 3px solid rgba(185, 111, 80, 0.55);
  padding-left: 0.55rem;
  font-size: 0.82rem !important;
}

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

.tag {
  border: 1px solid var(--line);
  padding: 0.25rem 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.featured {
  background: rgba(185, 111, 80, 0.12);
  color: var(--clay);
}

.new-tag {
  background: rgba(101, 113, 90, 0.14);
  color: var(--moss);
}

.soldout-tag {
  background: rgba(37, 35, 31, 0.1);
  color: var(--charcoal);
}

.tag:nth-child(n + 4) {
  background: rgba(101, 113, 90, 0.08);
}

.tag:nth-child(n + 4)::first-letter {
  text-transform: uppercase;
}

.ambience {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 2rem;
  background: var(--paper-soft);
}

.info-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

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

.info-grid article {
  border: 1px solid var(--line);
  padding: 1rem;
  background: rgba(252, 250, 244, 0.74);
}

.info-grid strong {
  display: block;
  margin-bottom: 0.45rem;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-dialog {
  width: min(42rem, calc(100% - 2rem));
  border: 1px solid var(--line);
  padding: 0;
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(37, 35, 31, 0.42);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  cursor: pointer;
  font-weight: 900;
}

.dialog-media {
  height: 16rem;
  overflow: hidden;
}

.dialog-media img,
.dialog-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.dialog-body h2 {
  font-size: clamp(2rem, 8vw, 3.4rem);
}

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

.media-tile {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal);
}

.media-tile::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 35%, rgba(252, 250, 244, 0.32), transparent 7rem),
    linear-gradient(160deg, rgba(101, 113, 90, 0.88), rgba(55, 55, 50, 0.9));
  animation: slow-pan 8s ease-in-out infinite alternate;
}

.media-tile.tea::before {
  background:
    radial-gradient(circle at 45% 55%, rgba(185, 111, 80, 0.36), transparent 7rem),
    linear-gradient(160deg, rgba(185, 111, 80, 0.76), rgba(55, 55, 50, 0.88));
}

.media-tile.room::before {
  background:
    linear-gradient(90deg, rgba(247, 242, 233, 0.28) 1px, transparent 1px) 0 0 / 2rem 100%,
    linear-gradient(160deg, rgba(247, 242, 233, 0.72), rgba(101, 113, 90, 0.9));
}

.media-tile span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: var(--paper-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

@keyframes slow-pan {
  to {
    transform: scale(1.08) translateY(-0.5rem);
  }
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: 1rem;
  align-items: start;
}

.admin-page {
  min-height: calc(100vh - 76px);
}

.admin-page h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 0.95;
}

.settings-panel {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  padding: 1rem;
  background: rgba(252, 250, 244, 0.78);
}

.dashboard-panel,
.setup-panel {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  padding: 1rem;
  background: rgba(252, 250, 244, 0.78);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.dashboard-grid article {
  border: 1px solid var(--line);
  padding: 0.9rem;
  background: rgba(247, 242, 233, 0.72);
}

.dashboard-grid span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
}

.dashboard-grid strong {
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-hint {
  display: grid;
  gap: 0.35rem;
  border-left: 4px solid rgba(185, 111, 80, 0.55);
  padding: 0.75rem 0.9rem;
  background: rgba(185, 111, 80, 0.08);
  color: var(--muted);
  line-height: 1.45;
}

.admin-hint strong {
  color: var(--ink);
}

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

.setup-list article {
  display: grid;
  gap: 0.35rem;
  border: 1px solid var(--line);
  padding: 0.75rem;
  background: rgba(247, 242, 233, 0.72);
}

.setup-list span {
  width: max-content;
  border: 1px solid var(--line);
  padding: 0.2rem 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.setup-list article.done span {
  border-color: rgba(101, 113, 90, 0.35);
  background: rgba(101, 113, 90, 0.12);
  color: var(--moss);
}

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

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(rgba(247, 242, 233, 0.9), rgba(247, 242, 233, 0.96)),
    radial-gradient(circle at 30% 15%, rgba(185, 111, 80, 0.22), transparent 26rem);
}

.login-screen[hidden] {
  display: none;
}

.login-card {
  display: grid;
  gap: 1rem;
  width: min(100%, 32rem);
  border: 1px solid var(--line);
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--paper-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.login-logo {
  display: block;
  width: min(100%, 16rem);
  mix-blend-mode: multiply;
}

.login-card h1 {
  font-size: clamp(2.3rem, 12vw, 4.2rem);
  line-height: 0.92;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.login-error {
  min-height: 1.2rem;
  margin: 0;
  color: #9a3b2f;
  font-weight: 800;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.editor,
.admin-list {
  border: 1px solid var(--line);
  background: rgba(252, 250, 244, 0.78);
  padding: 1rem;
}

.category-manager {
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
}

.category-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
}

.editor {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.checkbox {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.6rem;
  min-height: 3rem;
}

.checkbox input {
  width: auto;
}

.admin-list {
  display: grid;
  gap: 1rem;
  max-height: 38rem;
  overflow: auto;
}

.admin-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.file-button {
  position: relative;
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-row {
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0 0;
}

.quick-edit {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) repeat(3, auto);
  align-items: end;
  gap: 0.5rem;
}

.quick-edit label {
  font-size: 0.76rem;
}

.quick-edit .checkbox {
  min-height: 2.3rem;
}

.quick-price {
  min-height: 2.3rem;
  padding: 0.45rem 0.55rem;
}

.admin-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-row strong {
  display: block;
}

.admin-row small {
  color: var(--muted);
}

.row-actions {
  display: flex;
  gap: 0.5rem;
}

.row-actions button {
  flex: 1;
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.row-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.print-page {
  background: #fff;
}

.print-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
}

.print-header img {
  width: min(22rem, 70vw);
  mix-blend-mode: multiply;
}

.print-menu {
  display: grid;
  gap: 1.25rem;
  padding: 0 2rem 2rem;
}

.print-category {
  break-inside: avoid;
  border-top: 2px solid var(--ink);
  padding-top: 0.75rem;
}

.print-category h2 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.print-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.print-item p,
.print-item small {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.legal-page {
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.legal-hero {
  max-width: 56rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.legal-hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

.legal-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.legal-grid article {
  border: 1px solid var(--line);
  padding: 1rem;
  background: rgba(252, 250, 244, 0.78);
}

.legal-grid h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.legal-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-grid a,
.legal-content a {
  color: var(--clay);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.legal-content {
  display: grid;
  gap: 1rem;
  max-width: 62rem;
}

.legal-content article {
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.35rem);
  background: rgba(252, 250, 244, 0.78);
}

.legal-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.legal-content h3 {
  margin: 1rem 0 0.35rem;
  color: var(--ink);
  font-size: 1rem;
}

.legal-content p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.youth-table-section {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.youth-policy-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border: 1px solid rgba(185, 111, 80, 0.28);
  padding: 1rem;
  background: rgba(185, 111, 80, 0.1);
  color: var(--ink);
  line-height: 1.55;
}

.youth-policy-note strong {
  color: var(--clay);
}

.youth-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(252, 250, 244, 0.9);
  box-shadow: 0 18px 44px rgba(37, 35, 31, 0.08);
}

.youth-table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.youth-table th,
.youth-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.youth-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--charcoal);
  color: var(--paper-soft);
  font-weight: 800;
}

.youth-table tbody th {
  width: 42%;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.youth-table tbody tr:nth-child(even) {
  background: rgba(101, 113, 90, 0.06);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.status.allowed {
  border-color: rgba(101, 113, 90, 0.26);
  background: rgba(101, 113, 90, 0.15);
  color: #46503f;
}

.status.limited {
  border-color: rgba(185, 111, 80, 0.32);
  background: rgba(185, 111, 80, 0.14);
  color: #7b4a37;
}

.status.denied {
  border-color: rgba(55, 55, 50, 0.22);
  background: rgba(55, 55, 50, 0.08);
  color: var(--charcoal);
}

.legal-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .ambience,
  .info-band,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 30rem;
    order: -1;
  }

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

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

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

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

  .quick-edit {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .category-tabs {
    top: 5rem;
  }

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

  .menu-card {
    min-height: 20rem;
    grid-template-columns: 1fr;
    grid-template-rows: 10.5rem 1fr;
  }

  .menu-card.no-image {
    min-height: auto;
    grid-template-rows: 1fr;
  }

  .placeholder-mark {
    font-size: 3.35rem;
  }
}

@media (min-width: 1160px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-card {
    min-height: 22rem;
    grid-template-rows: 12rem 1fr;
  }

  .menu-card.no-image {
    min-height: auto;
    grid-template-rows: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-head,
  .footer {
    align-items: start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .brand-logo {
    width: min(68vw, 14rem);
    max-height: 2.8rem;
  }

  .hero-logo-wrap {
    padding: 0.8rem;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }

  .hero-visual {
    display: none;
  }

  .media-strip,
  .field-row,
  .menu-tools {
    grid-template-columns: 1fr;
  }

  .menu-tools {
    display: grid;
    width: 100%;
  }

  .image-toggle {
    width: 100%;
  }

  .hero {
    gap: 1.25rem;
    padding-top: 1rem;
    padding-bottom: 1.1rem;
  }

  .hero-logo-wrap {
    max-width: 18rem;
    margin-bottom: 0.65rem;
  }

  .hero-copy .eyebrow {
    display: none;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions .button,
  .form-actions .button,
  .import-export .button {
    flex: 1 1 9rem;
  }

  .category-tabs {
    top: 7.8rem;
    margin-right: -1rem;
    margin-left: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .menu-shell {
    padding-top: 1.75rem;
  }

  .popular-grid,
  .info-grid,
  .legal-grid,
  .dashboard-grid,
  .setup-list,
  .quick-edit,
  .offer-band {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    display: flex;
    margin-right: -1rem;
    margin-left: -1rem;
    overflow-x: auto;
    padding: 0 1rem 0.35rem;
    scrollbar-width: none;
  }

  .popular-grid::-webkit-scrollbar {
    display: none;
  }

  .popular-card {
    min-width: 15rem;
  }

  .media-tile {
    min-height: 15rem;
  }
}

@media print {
  body {
    background: #fff;
  }

  body::before,
  .no-print {
    display: none !important;
  }

  .print-header {
    padding: 0 0 1rem;
  }

  .print-menu {
    padding: 0;
  }

  .print-category {
    page-break-inside: avoid;
  }
}

[dir="rtl"] .popular-card,
[dir="rtl"] .info-grid,
[dir="rtl"] .item-body {
  text-align: right;
}
