/* Theme identities: shared data, radically different presentation */

/* Classic — polished contemporary restaurant cards */
.theme-classic {
  --menu-bg: #eef3f1;
  --menu-surface: #ffffff;
  --menu-surface-strong: #ffffff;
  --menu-text: #18312e;
  --menu-muted: #667773;
  --menu-line: rgba(24, 49, 46, .12);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 24px;
  --menu-item-shadow: 0 20px 55px rgba(27, 60, 55, .1);
}

.theme-classic .menu-header {
  min-height: 560px;
}

.theme-classic .menu-header-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  align-items: end;
  gap: 4rem;
}

.theme-classic .restaurant-description {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}

.theme-classic .menu-header-meta {
  grid-column: 2;
  margin-top: .8rem;
}

.theme-classic .menu-items {
  gap: 1.5rem;
}

/* Fitness — disciplined meal-prep dashboard */
.theme-fitness {
  --menu-bg: #e8f0e9;
  --menu-surface: #f8fcf8;
  --menu-surface-strong: #ffffff;
  --menu-text: #102c1d;
  --menu-muted: #597064;
  --menu-line: rgba(16, 44, 29, .15);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 8px;
  --menu-content-width: 1180px;
  --menu-item-shadow: 0 10px 28px rgba(18, 65, 37, .07);
}

.theme-fitness .menu-navbar {
  color: #eaf8ee;
  background: rgba(11, 35, 23, .94);
}

.theme-fitness .menu-navbar.scrolled {
  border-color: rgba(255,255,255,.1);
  background: rgba(11, 35, 23, .98);
}

.theme-fitness .menu-brand-mark,
.theme-fitness .user-avatar {
  color: #092617;
  background: #9ce5ab;
}

.theme-fitness .menu-owner-link,
.theme-fitness .user-dropdown-toggle {
  color: #eaf8ee;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

.theme-fitness .menu-header {
  min-height: 520px;
  align-items: center;
  background:
    linear-gradient(100deg, #0b2317 0 58%, color-mix(in srgb, var(--menu-accent) 78%, #173b24) 58%);
}

.theme-fitness .menu-header.has-banner {
  background-image:
    linear-gradient(90deg, rgba(7,28,17,.96) 0 55%, rgba(7,28,17,.45)),
    var(--menu-banner);
}

.theme-fitness .menu-header::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 80px),
    linear-gradient(to top, rgba(0,0,0,.35), transparent);
}

.theme-fitness .menu-header-content {
  padding-block: 4rem;
}

.theme-fitness .restaurant-identity {
  align-items: center;
}

.theme-fitness .restaurant-logo {
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(0,0,0,.2);
}

.theme-fitness .theme-vibe {
  border: 0;
  border-radius: 4px;
  color: #082517;
  background: #9ce5ab;
}

.theme-fitness .restaurant-name {
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  font-weight: 950;
  letter-spacing: -.075em;
}

.theme-fitness .category-nav {
  color: #e8f7ec;
  border-color: rgba(255,255,255,.1);
  background: rgba(11,35,23,.97);
}

.theme-fitness .category-nav-item {
  border-radius: 4px;
  color: #acc2b4;
  background: rgba(255,255,255,.055);
}

.theme-fitness .category-nav-item.active {
  color: #082517;
  border-color: #9ce5ab;
  background: #9ce5ab;
  box-shadow: none;
}

.theme-fitness .category-scroll-btn {
  color: #dff3e5;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: none;
}

.theme-fitness .menu-category {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.theme-fitness .category-header {
  position: sticky;
  top: calc(var(--menu-navbar-height) + var(--category-nav-height) + 2rem);
  display: block;
  align-self: start;
  padding: 1.25rem;
  border: 0;
  border-radius: 8px;
  color: white;
  background: #123723;
}

.theme-fitness .category-icon {
  margin-bottom: 1.5rem;
  border-radius: 5px;
  color: #102c1d;
  background: #9ce5ab;
  box-shadow: none;
}

.theme-fitness .category-title {
  color: white;
  font-size: 1.7rem;
}

.theme-fitness .category-description {
  color: #b9cbbf;
}

.theme-fitness .menu-items {
  grid-template-columns: 1fr;
  gap: .7rem;
}

.theme-fitness .menu-item {
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 138px;
  border: 0;
  border-right: 7px solid var(--menu-accent);
  box-shadow: var(--menu-item-shadow);
}

.theme-fitness .item-image,
.theme-fitness .item-image-placeholder {
  min-height: 138px;
}

.theme-fitness .item-content {
  display: grid;
  align-content: center;
  padding: 1rem 1.25rem;
}

.theme-fitness .item-price {
  padding: .3rem .5rem;
  border-radius: 4px;
  color: #123723;
  background: #dceee1;
}

.theme-fitness .item-variants {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-fitness .menu-item:hover {
  transform: translateX(-6px);
}

/* Luxury — monochrome fine-dining editorial */
.theme-luxury {
  --menu-bg: #11100f;
  --menu-surface: #191715;
  --menu-surface-strong: #1d1a17;
  --menu-text: #eee9e0;
  --menu-muted: #a79f94;
  --menu-line: rgba(225, 205, 168, .2);
  --menu-accent: #c5a564;
  --menu-accent-2: var(--secondary);
  --menu-radius: 0;
  --menu-content-width: 980px;
  --menu-item-shadow: none;
}

.theme-luxury .menu-navbar {
  color: #eee9e0;
  background: rgba(17,16,15,.91);
}

.theme-luxury .menu-navbar.scrolled,
.theme-luxury .category-nav {
  border-color: var(--menu-line);
  background: rgba(17,16,15,.97);
  box-shadow: none;
}

.theme-luxury .menu-navbar-logo,
.theme-luxury .menu-brand-mark,
.theme-luxury .user-avatar {
  border-radius: 0;
}

.theme-luxury .menu-brand-mark,
.theme-luxury .user-avatar {
  color: #11100f;
  background: #c5a564;
}

.theme-luxury .menu-owner-link,
.theme-luxury .user-dropdown-toggle {
  color: #eee9e0;
  border-radius: 0;
  background: transparent;
}

.theme-luxury .menu-header {
  min-height: 700px;
  place-items: center;
  text-align: center;
  background: #11100f;
}

.theme-luxury .menu-header.has-banner {
  background-image:
    linear-gradient(rgba(13,12,11,.5), rgba(13,12,11,.9)),
    var(--menu-banner);
}

.theme-luxury .menu-header::before {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(225,205,168,.12) 50%, transparent 50.1%),
    linear-gradient(to top, #11100f, transparent 65%);
}

.theme-luxury .menu-header-art {
  inset: 50% auto auto 50%;
  width: min(55vw, 560px);
  border-color: rgba(197,165,100,.18);
  box-shadow: 0 0 0 4vw rgba(197,165,100,.02), 0 0 0 8vw rgba(197,165,100,.018);
  transform: translate(-50%, -50%);
  animation: luxury-halo 16s var(--menu-ease) infinite alternate;
}

.theme-luxury .menu-header-content {
  width: min(100% - 2rem, 820px);
  padding-block: 7rem;
}

.theme-luxury .restaurant-identity {
  align-items: center;
  flex-direction: column;
}

.theme-luxury .restaurant-logo {
  width: 94px;
  height: 94px;
  border-color: #c5a564;
  border-radius: 50%;
  box-shadow: none;
}

.theme-luxury .theme-vibe {
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #c5a564;
  background: transparent;
  letter-spacing: .16em;
}

.theme-luxury .restaurant-name {
  max-width: 100%;
  color: #f5f0e8;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  font-weight: 350;
  letter-spacing: -.06em;
}

.theme-luxury .restaurant-type {
  color: #bdb3a5;
  letter-spacing: .08em;
}

.theme-luxury .restaurant-description,
.theme-luxury .menu-header-meta {
  margin-inline: auto;
  text-align: center;
}

.theme-luxury .menu-header-meta {
  justify-content: center;
}

.theme-luxury .category-nav-item {
  padding-inline: .55rem;
  border: 0;
  border-radius: 0;
  color: #a79f94;
  background: transparent;
}

.theme-luxury .category-nav-item.active {
  color: #d6b873;
  background: transparent;
  box-shadow: inset 0 -1px #d6b873;
}

.theme-luxury .category-scroll-btn {
  border-radius: 0;
  color: #c5a564;
  background: transparent;
  box-shadow: none;
}

.theme-luxury .menu-content {
  padding-block: 8rem;
}

.theme-luxury .menu-category {
  margin-bottom: 10rem;
}

.theme-luxury .category-header {
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-color: var(--menu-line);
  text-align: center;
}

.theme-luxury .category-icon {
  display: none;
}

.theme-luxury .category-title {
  color: #f1ece4;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  font-weight: 360;
}

.theme-luxury .category-description {
  margin-inline: auto;
}

.theme-luxury .menu-items {
  grid-template-columns: 1fr;
  gap: 0;
}

.theme-luxury .menu-item {
  grid-template-columns: 120px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid var(--menu-line);
  background: transparent;
}

.theme-luxury .item-media {
  margin-block: 1rem;
}

.theme-luxury .item-image,
.theme-luxury .item-image-placeholder {
  min-height: 112px;
  filter: saturate(.65) contrast(1.08);
}

.theme-luxury .item-content {
  padding: 1.5rem 2rem;
}

.theme-luxury .item-name {
  color: #f1ece4;
  font-size: 1.35rem;
  font-weight: 450;
}

.theme-luxury .item-price,
.theme-luxury .item-variant strong {
  color: #c5a564;
}

.theme-luxury .menu-item:hover {
  background: rgba(197,165,100,.035);
  transform: none;
}

/* Buffet — abundant marketplace grid */
.theme-buffet {
  --menu-bg: #ffe8cf;
  --menu-surface: #fff9ef;
  --menu-surface-strong: #fffaf3;
  --menu-text: #4c2517;
  --menu-muted: #7c5c4d;
  --menu-line: rgba(126, 55, 24, .18);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 22px 6px 22px 6px;
  --menu-content-width: 1420px;
  --menu-item-shadow: 0 14px 32px rgba(121, 48, 16, .09);
}

.theme-buffet {
  background-image:
    radial-gradient(circle at 10% 12%, rgba(255,255,255,.62), transparent 19rem),
    radial-gradient(circle at 90% 35%, rgba(194,65,12,.08), transparent 24rem);
}

.theme-buffet .menu-header {
  min-height: 450px;
  background:
    linear-gradient(115deg, #6f2715 0 42%, var(--menu-accent) 42% 72%, #f4a340 72%);
}

.theme-buffet .menu-header.has-banner {
  background-image:
    linear-gradient(90deg, rgba(82,31,15,.88), rgba(194,65,12,.52)),
    var(--menu-banner);
}

.theme-buffet .restaurant-logo {
  border-radius: 30px 8px 30px 8px;
  transform: rotate(2deg);
}

.theme-buffet .restaurant-name {
  max-width: 11ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.theme-buffet .category-nav {
  padding-block: .9rem;
  background: rgba(255,238,215,.95);
}

.theme-buffet .category-nav-item {
  border-radius: 14px 4px 14px 4px;
  background: rgba(255,250,242,.7);
}

.theme-buffet .category-nav-item.active {
  transform: rotate(-1deg) translateY(-2px);
}

.theme-buffet .menu-category {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--menu-line);
  border-radius: 34px 10px 34px 10px;
  background: rgba(255,249,239,.58);
}

.theme-buffet .category-header {
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 22px 6px 22px 6px;
  background: #f6c98d;
}

.theme-buffet .category-icon {
  border-radius: 18px 5px 18px 5px;
}

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

.theme-buffet .menu-item {
  display: block;
}

.theme-buffet .item-image,
.theme-buffet .item-image-placeholder {
  height: 155px;
  min-height: 155px;
}

.theme-buffet .item-header {
  display: block;
}

.theme-buffet .item-price {
  margin-top: .35rem;
}

.theme-buffet .menu-item:hover {
  transform: translateY(-5px) rotate(.35deg);
}

/* Sporty — scoreboard, stripes and compact match cards */
.theme-sporty {
  --menu-bg: #e7ecf3;
  --menu-surface: #ffffff;
  --menu-surface-strong: #ffffff;
  --menu-text: #111b35;
  --menu-muted: #5b6479;
  --menu-line: rgba(17, 27, 53, .18);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 4px;
  --menu-content-width: 1320px;
  --menu-item-shadow: 8px 8px 0 rgba(17, 27, 53, .11);
}

.theme-sporty {
  background-image: repeating-linear-gradient(135deg, transparent 0 26px, rgba(23,37,84,.025) 26px 52px);
}

.theme-sporty .menu-navbar {
  color: white;
  background: rgba(13,23,50,.95);
}

.theme-sporty .menu-navbar.scrolled {
  border-color: rgba(255,255,255,.12);
  background: rgba(13,23,50,.99);
}

.theme-sporty .menu-brand-mark,
.theme-sporty .user-avatar {
  border-radius: 3px;
  background: var(--menu-accent);
}

.theme-sporty .menu-owner-link,
.theme-sporty .user-dropdown-toggle {
  color: white;
  border-radius: 3px;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
}

.theme-sporty .menu-header {
  min-height: 530px;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  background: linear-gradient(112deg, var(--menu-accent-2) 0 61%, var(--menu-accent) 61%);
}

.theme-sporty .menu-header.has-banner {
  background-image:
    linear-gradient(105deg, rgba(10,20,48,.94) 0 56%, rgba(220,38,38,.58)),
    var(--menu-banner);
}

.theme-sporty .menu-header::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 94px, rgba(255,255,255,.05) 95px),
    linear-gradient(to top, rgba(0,0,0,.3), transparent);
}

.theme-sporty .restaurant-logo {
  border-radius: 4px;
  box-shadow: 10px 10px 0 rgba(0,0,0,.24);
}

.theme-sporty .theme-vibe {
  border-radius: 2px;
  color: white;
  background: var(--menu-accent);
  transform: skew(-8deg);
}

.theme-sporty .restaurant-name {
  max-width: 10ch;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 950;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.theme-sporty .category-nav {
  color: white;
  background: rgba(13,23,50,.98);
}

.theme-sporty .category-nav-item {
  border-radius: 2px;
  color: #d6dbea;
  background: rgba(255,255,255,.08);
  font-weight: 900;
  transform: skew(-6deg);
}

.theme-sporty .category-nav-item > span {
  transform: skew(6deg);
}

.theme-sporty .category-nav-item.active {
  background: var(--menu-accent);
  box-shadow: 4px 4px 0 rgba(0,0,0,.2);
}

.theme-sporty .category-scroll-btn {
  border-radius: 2px;
  color: white;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}

.theme-sporty .category-header {
  border-bottom: 5px solid var(--menu-accent-2);
}

.theme-sporty .category-icon {
  border-radius: 3px;
  box-shadow: 5px 5px 0 rgba(23,37,84,.18);
}

.theme-sporty .category-title {
  font-weight: 950;
}

.theme-sporty .menu-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-sporty .menu-item {
  grid-template-columns: 112px minmax(0, 1fr);
  border: 2px solid #16254f;
  border-bottom-width: 7px;
}

.theme-sporty .item-image,
.theme-sporty .item-image-placeholder {
  min-height: 165px;
}

.theme-sporty .item-price {
  padding: .28rem .5rem;
  color: white;
  background: var(--menu-accent);
  transform: skew(-6deg);
}

.theme-sporty .menu-item:hover {
  box-shadow: 13px 13px 0 rgba(17,27,53,.14);
  transform: translate(-4px, -4px);
}

/* Casual — soft overlapping neighborhood cards */
.theme-casual {
  --menu-bg: #e9f1ed;
  --menu-surface: #fbfffd;
  --menu-surface-strong: #ffffff;
  --menu-text: #173b35;
  --menu-muted: #617b75;
  --menu-line: rgba(23, 59, 53, .13);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 32px;
  --menu-content-width: 1160px;
  --menu-item-shadow: 0 24px 70px rgba(19, 78, 68, .1);
}

.theme-casual .menu-header {
  min-height: 570px;
  border-radius: 0 0 11vw 3vw;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,.18), transparent 25%),
    linear-gradient(145deg, var(--menu-accent-2), var(--menu-accent));
}

.theme-casual .menu-header-content {
  padding-bottom: 6rem;
}

.theme-casual .restaurant-logo {
  border-radius: 42% 58% 48% 52%;
  animation: casual-float 6s var(--menu-ease) infinite alternate;
}

.theme-casual .restaurant-name {
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.theme-casual .category-nav {
  background: rgba(233,241,237,.93);
}

.theme-casual .category-nav-item {
  border-radius: 999px;
}

.theme-casual .menu-category:nth-child(even) .category-header {
  padding-right: clamp(0px, 8vw, 90px);
}

.theme-casual .category-icon {
  border-radius: 42% 58% 46% 54%;
}

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

.theme-casual .menu-item {
  display: block;
}

.theme-casual .item-media {
  margin: .55rem;
  border-radius: 26px;
}

.theme-casual .item-image,
.theme-casual .item-image-placeholder {
  height: 270px;
  min-height: 270px;
  border-radius: 26px;
}

.theme-casual .item-content {
  padding: 1rem 1.45rem 1.5rem;
}

.theme-casual .menu-item:hover {
  transform: rotate(0) translateY(-8px);
}

/* Fast food — street poster wall */
.theme-fastfood {
  --menu-bg: #ffdfd2;
  --menu-surface: #fff7f1;
  --menu-surface-strong: #fff9f5;
  --menu-text: #39121b;
  --menu-muted: #815764;
  --menu-line: rgba(108, 20, 39, .2);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 14px 3px 14px 3px;
  --menu-content-width: 1380px;
  --menu-item-shadow: 7px 8px 0 rgba(86, 16, 31, .13);
}

.theme-fastfood {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.14) 25%, transparent 25% 50%, rgba(255,255,255,.14) 50% 75%, transparent 75%);
  background-size: 40px 40px;
}

.theme-fastfood .menu-header {
  min-height: 520px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
  background:
    linear-gradient(116deg, #621223 0 46%, var(--menu-accent) 46% 73%, #ffb000 73%);
}

.theme-fastfood .menu-header.has-banner {
  background-image:
    linear-gradient(105deg, rgba(80,12,29,.93) 0 44%, rgba(225,29,72,.55)),
    var(--menu-banner);
}

.theme-fastfood .menu-header-art {
  border-radius: 18%;
  transform: rotate(18deg);
}

.theme-fastfood .restaurant-logo {
  border-radius: 14px 3px 14px 3px;
  box-shadow: 10px 10px 0 rgba(0,0,0,.22);
  transform: rotate(-2deg);
}

.theme-fastfood .theme-vibe {
  border-radius: 3px;
  color: #3a111b;
  background: #ffd226;
  transform: rotate(1deg);
}

.theme-fastfood .restaurant-name {
  max-width: 9ch;
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: .94;
}

.theme-fastfood .category-nav {
  background: rgba(255,223,210,.96);
}

.theme-fastfood .category-nav-item {
  border: 2px solid rgba(57,18,27,.14);
  border-radius: 8px 2px 8px 2px;
  font-weight: 900;
}

.theme-fastfood .category-nav-item.active {
  box-shadow: 4px 4px 0 rgba(57,18,27,.16);
  transform: rotate(-1deg);
}

.theme-fastfood .category-header {
  border-bottom: 6px solid #39121b;
}

.theme-fastfood .category-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 950;
}

.theme-fastfood .menu-items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.theme-fastfood .menu-item {
  display: block;
  border-width: 2px;
}

.theme-fastfood .item-image,
.theme-fastfood .item-image-placeholder {
  height: 190px;
  min-height: 190px;
}

.theme-fastfood .item-price {
  padding: .3rem .52rem;
  border-radius: 7px 2px 7px 2px;
  color: white;
  background: var(--menu-accent);
}

.theme-fastfood .featured-badge {
  border-radius: 4px;
  color: #39121b;
  background: #ffd226;
  transform: rotate(-2deg);
}

.theme-fastfood .menu-item:hover {
  box-shadow: 11px 12px 0 rgba(86,16,31,.16);
  transform: translate(-4px, -5px) rotate(.3deg);
}

/* Persian — contemporary tile courtyard */
.theme-persian {
  --menu-bg: #e9f2ef;
  --menu-surface: #fffdfa;
  --menu-surface-strong: #fffefa;
  --menu-text: #153a47;
  --menu-muted: #647a7d;
  --menu-line: rgba(18, 91, 96, .2);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 20px 4px 20px 4px;
  --menu-content-width: 1080px;
  --menu-item-shadow: 0 18px 44px rgba(22, 75, 83, .1);
  background-color: var(--menu-bg);
  background-image:
    linear-gradient(45deg, rgba(15,118,110,.045) 25%, transparent 25% 75%, rgba(15,118,110,.045) 75%),
    linear-gradient(-45deg, rgba(30,58,95,.04) 25%, transparent 25% 75%, rgba(30,58,95,.04) 75%);
  background-size: 32px 32px;
}

.theme-persian .menu-header {
  min-height: 610px;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(25,194,181,.22), transparent 28%),
    linear-gradient(155deg, #123e55, #0d706f);
}

.theme-persian .menu-header.has-banner {
  background-image:
    linear-gradient(rgba(13,56,70,.62), rgba(8,82,82,.88)),
    var(--menu-banner);
}

.theme-persian .menu-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, #0f766e 0 22px, #d1a94f 22px 28px, #1e3a5f 28px 50px);
}

.theme-persian .menu-header-content {
  width: min(100% - 2rem, 850px);
}

.theme-persian .restaurant-identity {
  align-items: center;
  flex-direction: column;
}

.theme-persian .restaurant-logo {
  border-radius: 26px 5px 26px 5px;
}

.theme-persian .theme-vibe {
  margin-inline: auto;
  border-radius: 12px 2px 12px 2px;
}

.theme-persian .restaurant-name {
  max-width: 100%;
  font-size: clamp(3.6rem, 10vw, 8rem);
  font-weight: 720;
}

.theme-persian .restaurant-description,
.theme-persian .menu-header-meta {
  margin-inline: auto;
}

.theme-persian .menu-header-meta {
  justify-content: center;
}

.theme-persian .category-nav {
  background: rgba(239,247,244,.96);
}

.theme-persian .category-nav-item {
  border-radius: 12px 2px 12px 2px;
  background: transparent;
}

.theme-persian .category-nav-item.active {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.theme-persian .category-header {
  align-items: center;
  justify-content: center;
  padding-bottom: 1.6rem;
  border-bottom: 4px double #caa44e;
  text-align: center;
}

.theme-persian .category-icon {
  border-radius: 18px 3px 18px 3px;
}

.theme-persian .category-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.theme-persian .category-description {
  margin-inline: auto;
}

.theme-persian .menu-items {
  grid-template-columns: 1fr;
  gap: .9rem;
}

.theme-persian .menu-item {
  grid-template-columns: 175px minmax(0, 1fr);
  border-radius: 24px 5px 24px 5px;
}

.theme-persian .item-image,
.theme-persian .item-image-placeholder {
  min-height: 175px;
}

.theme-persian .menu-item:hover {
  transform: translateX(-7px);
}

/* Cafe — handwritten paper menu */
.theme-cafe {
  --menu-bg: #ded2c1;
  --menu-surface: #fffaf0;
  --menu-surface-strong: #fffaf2;
  --menu-text: #3c2d26;
  --menu-muted: #77665c;
  --menu-line: rgba(86, 62, 49, .24);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 3px;
  --menu-content-width: 1050px;
  --menu-item-shadow: none;
  background-image: radial-gradient(rgba(74,52,40,.08) .7px, transparent .7px);
  background-size: 6px 6px;
}

.theme-cafe .menu-navbar,
.theme-cafe .category-nav {
  background: rgba(255,250,240,.94);
}

.theme-cafe .menu-header {
  min-height: 600px;
  align-items: end;
  background: linear-gradient(rgba(46,32,25,.18), rgba(46,32,25,.88)), #6e4f3f;
}

.theme-cafe .menu-header.has-banner {
  background-image:
    linear-gradient(rgba(46,32,25,.18), rgba(46,32,25,.88)),
    var(--menu-banner);
}

.theme-cafe .menu-header-content {
  padding-bottom: 4rem;
}

.theme-cafe .restaurant-identity {
  align-items: center;
}

.theme-cafe .restaurant-logo {
  border-radius: 50%;
  transform: rotate(-3deg);
}

.theme-cafe .restaurant-name {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.7rem);
  font-weight: 620;
}

.theme-cafe .category-nav-item {
  padding-inline: .35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.theme-cafe .category-nav-item.active {
  color: var(--menu-text);
  background: transparent;
  box-shadow: inset 0 -2px var(--menu-accent);
  transform: rotate(-1deg);
}

.theme-cafe .category-header {
  border-bottom: 1px dashed #9f8876;
}

.theme-cafe .category-icon {
  border-radius: 50%;
  color: #4a3428;
  background: #d7c0a6;
  box-shadow: none;
}

.theme-cafe .category-title {
  font-weight: 620;
}

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

.theme-cafe .menu-item {
  grid-template-columns: 78px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px dashed var(--menu-line);
  border-radius: 0;
  background: transparent;
}

.theme-cafe .item-media {
  align-self: center;
  width: 64px;
  height: 64px;
  margin: .75rem;
  border-radius: 50%;
}

.theme-cafe .item-image,
.theme-cafe .item-image-placeholder {
  width: 64px;
  height: 64px;
  min-height: 64px;
  border-radius: 50%;
}

.theme-cafe .item-content {
  padding: 1rem .4rem;
}

.theme-cafe .item-name {
  font-size: 1.08rem;
  font-weight: 700;
}

.theme-cafe .item-header {
  position: relative;
}

.theme-cafe .item-header::after {
  content: "";
  min-width: 2rem;
  flex: 1;
  align-self: baseline;
  order: 2;
  border-bottom: 1px dotted rgba(74,52,40,.3);
}

.theme-cafe .item-name {
  order: 1;
}

.theme-cafe .item-price {
  order: 3;
}

.theme-cafe .menu-item:hover {
  background: rgba(255,250,240,.52);
  transform: translateX(-4px);
  box-shadow: none;
}

/* Family — friendly bento dining board */
.theme-family {
  --menu-bg: #fff1d9;
  --menu-surface: #ffffff;
  --menu-surface-strong: #ffffff;
  --menu-text: #4a2b21;
  --menu-muted: #79655d;
  --menu-line: rgba(129, 69, 39, .16);
  --menu-accent: var(--primary);
  --menu-accent-2: var(--secondary);
  --menu-radius: 28px;
  --menu-content-width: 1240px;
  --menu-item-shadow: 0 16px 38px rgba(143, 72, 30, .09);
}

.theme-family .menu-header {
  min-height: 540px;
  border-radius: 0 0 8vw 8vw;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,218,111,.34), transparent 25%),
    linear-gradient(145deg, #8f3f22, var(--menu-accent));
}

.theme-family .menu-header-art {
  border-radius: 36% 64% 58% 42%;
}

.theme-family .restaurant-logo {
  border-radius: 30px;
}

.theme-family .restaurant-name {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.theme-family .category-nav {
  background: rgba(255,245,226,.95);
}

.theme-family .category-nav-item {
  border-radius: 14px;
}

.theme-family .category-header {
  padding: 1.25rem;
  border: 0;
  border-radius: 24px;
  background: rgba(255,255,255,.62);
}

.theme-family .category-icon {
  border-radius: 17px;
}

.theme-family .menu-items {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.theme-family .menu-item {
  grid-column: span 3;
  grid-template-columns: 145px minmax(0, 1fr);
}

.theme-family .item-image,
.theme-family .item-image-placeholder {
  min-height: 190px;
}

.theme-family .menu-item:hover {
  transform: translateY(-5px) scale(1.01);
}

/* Minimal — typography-only product index */
.theme-minimal {
  --menu-bg: #f1f1ee;
  --menu-surface: transparent;
  --menu-surface-strong: #f8f8f5;
  --menu-text: #141414;
  --menu-muted: #70706b;
  --menu-line: rgba(20,20,20,.18);
  --menu-accent: #141414;
  --menu-accent-2: var(--secondary);
  --menu-radius: 0;
  --menu-content-width: 1040px;
  --menu-item-shadow: none;
}

.theme-minimal .menu-navbar,
.theme-minimal .category-nav {
  border-color: var(--menu-line);
  background: rgba(241,241,238,.94);
  box-shadow: none;
}

.theme-minimal .menu-navbar-logo,
.theme-minimal .menu-brand-mark,
.theme-minimal .user-avatar,
.theme-minimal .user-dropdown-toggle,
.theme-minimal .menu-owner-link,
.theme-minimal .user-dropdown-menu {
  border-radius: 0;
}

.theme-minimal .menu-header {
  min-height: 620px;
  color: #141414;
  background: #deded8;
}

.theme-minimal .menu-header.has-banner {
  background-image:
    linear-gradient(90deg, rgba(241,241,238,.92), rgba(241,241,238,.42)),
    var(--menu-banner);
  background-position: center;
}

.theme-minimal .menu-header::before {
  background:
    linear-gradient(90deg, transparent 50%, rgba(20,20,20,.08) 50.1%, transparent 50.2%),
    linear-gradient(to top, rgba(241,241,238,.95), transparent 42%);
}

.theme-minimal .menu-header-art {
  display: none;
}

.theme-minimal .menu-header-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
}

.theme-minimal .restaurant-identity {
  display: block;
}

.theme-minimal .restaurant-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 2rem;
  border-color: #141414;
  border-radius: 0;
  box-shadow: none;
}

.theme-minimal .theme-vibe {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #141414;
  background: transparent;
}

.theme-minimal .restaurant-name {
  max-width: 9ch;
  color: #141414;
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 480;
  letter-spacing: -.085em;
  text-shadow: none;
}

.theme-minimal .restaurant-type,
.theme-minimal .restaurant-description,
.theme-minimal .menu-header-meta {
  color: #4d4d49;
}

.theme-minimal .restaurant-description {
  grid-column: 2;
  grid-row: 1;
  max-width: 40ch;
  font-size: 1rem;
}

.theme-minimal .menu-header-meta {
  grid-column: 2;
}

.theme-minimal .category-nav-item {
  padding-inline: .2rem;
  border: 0;
  border-radius: 0;
  color: #6e6e69;
  background: transparent;
}

.theme-minimal .category-nav-icon {
  display: none;
}

.theme-minimal .category-nav-item.active {
  color: #141414;
  background: transparent;
  box-shadow: inset 0 -1px #141414;
}

.theme-minimal .category-scroll-btn {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.theme-minimal .menu-content {
  padding-block: 8rem;
}

.theme-minimal .menu-category {
  margin-bottom: 10rem;
}

.theme-minimal .category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-color: #141414;
}

.theme-minimal .category-icon {
  display: none;
}

.theme-minimal .category-heading {
  display: contents;
}

.theme-minimal .category-title {
  grid-column: 1;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 480;
}

.theme-minimal .category-description {
  grid-column: 1;
}

.theme-minimal .menu-items {
  grid-template-columns: 1fr;
  gap: 0;
}

.theme-minimal .menu-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid var(--menu-line);
  background: transparent;
}

.theme-minimal .item-media {
  margin-block: .85rem;
  overflow: hidden;
  border-radius: 2px;
}

.theme-minimal .item-image,
.theme-minimal .item-image-placeholder {
  display: grid;
  width: 100%;
  height: 126px;
  min-height: 126px;
  filter: grayscale(1) contrast(1.04);
}

.theme-minimal .item-content {
  padding: 1.6rem 1.5rem;
}

.theme-minimal .item-name {
  font-size: 1.35rem;
  font-weight: 560;
}

.theme-minimal .item-price {
  color: #141414;
}

.theme-minimal .menu-item:hover {
  padding-inline: 1rem;
  background: rgba(20,20,20,.035);
  transform: none;
}

@keyframes luxury-halo {
  from { transform: translate(-50%, -50%) scale(.92) rotate(-3deg); }
  to { transform: translate(-50%, -50%) scale(1.06) rotate(4deg); }
}

@keyframes casual-float {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 1180px) {
  .theme-buffet .menu-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-family .menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-family .menu-item {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .theme-classic .menu-header-content,
  .theme-minimal .menu-header-content {
    display: block;
  }

  .theme-classic .restaurant-description,
  .theme-classic .menu-header-meta,
  .theme-minimal .restaurant-description,
  .theme-minimal .menu-header-meta {
    margin-top: 1.2rem;
  }

  .theme-fitness .menu-category {
    grid-template-columns: 1fr;
  }

  .theme-fitness .category-header {
    position: static;
  }

  .theme-buffet .menu-items,
  .theme-fastfood .menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-sporty .menu-items,
  .theme-casual .menu-items,
  .theme-cafe .menu-items,
  .theme-family .menu-items {
    grid-template-columns: 1fr;
  }

  .theme-family .menu-item {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .theme-classic .menu-header-content {
    display: block;
  }

  .theme-fitness .menu-item,
  .theme-luxury .menu-item,
  .theme-sporty .menu-item,
  .theme-persian .menu-item,
  .theme-family .menu-item,
  .theme-minimal .menu-item {
    display: block;
  }

  .theme-luxury .menu-header,
  .theme-persian .menu-header {
    min-height: 600px;
  }

  .theme-luxury .restaurant-name,
  .theme-persian .restaurant-name {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .theme-luxury .item-media {
    margin: 0;
  }

  .theme-luxury .item-image,
  .theme-luxury .item-image-placeholder,
  .theme-fitness .item-image,
  .theme-fitness .item-image-placeholder,
  .theme-sporty .item-image,
  .theme-sporty .item-image-placeholder,
  .theme-persian .item-image,
  .theme-persian .item-image-placeholder,
  .theme-family .item-image,
  .theme-family .item-image-placeholder {
    width: 100%;
    height: 205px;
    min-height: 205px;
  }

  .theme-buffet .menu-items,
  .theme-fastfood .menu-items {
    grid-template-columns: 1fr;
  }

  .theme-casual .item-image,
  .theme-casual .item-image-placeholder {
    height: 230px;
    min-height: 230px;
  }

  .theme-cafe .menu-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .theme-minimal .menu-header {
    min-height: 560px;
  }

  .theme-minimal .restaurant-name {
    font-size: clamp(3.8rem, 19vw, 6rem);
  }

  .theme-minimal .category-header {
    display: block;
  }

  .theme-minimal .category-title {
    margin-top: .5rem;
  }

  .theme-minimal .item-content {
    padding-block: 1.4rem;
  }

  .menu-page .menu-item,
  .menu-page .menu-item.clickable-item {
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .menu-page .menu-item .item-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
  }

  .menu-page .menu-item .item-image,
  .menu-page .menu-item .item-image-placeholder {
    position: relative;
    inset: auto;
    width: 100%;
    height: 210px;
    min-height: 210px;
    display: grid;
    opacity: 1;
    visibility: visible;
    object-fit: cover;
  }

  .menu-page .menu-item .item-content {
    position: relative;
    inset: auto;
    z-index: 2;
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
    padding: 1.1rem;
    color: var(--menu-text);
    background: var(--menu-surface);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .menu-page .menu-item .item-header,
  .menu-page .menu-item .item-name,
  .menu-page .menu-item .item-price,
  .menu-page .menu-item .item-description,
  .menu-page .menu-item .item-ingredients,
  .menu-page .menu-item .item-variants,
  .menu-page .menu-item .item-variant {
    position: relative;
    inset: auto;
    height: auto;
    max-height: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-page .menu-item .item-header,
  .menu-page .menu-item .item-variant {
    display: flex;
  }

  .menu-page .menu-item .item-variants {
    display: grid;
  }

  .menu-page .menu-item .item-name,
  .menu-page .menu-item .item-price,
  .menu-page .menu-item .item-description,
  .menu-page .menu-item .item-ingredients {
    display: revert;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-luxury .menu-header-art,
  .theme-casual .restaurant-logo {
    animation: none;
  }
}
