/* ══════════════════════════════════════════════════════════
   QrMenu — 20 Tema Tanımı
   Her tema [data-theme="X"] ile html elementine uygulanır.
   ══════════════════════════════════════════════════════════ */

/* ─── TEMA 1: MODERN (varsayılan — style.css'de tanımlı) ─── */
/* Modern için ek override gerekmez. */

/* ─── TEMA 2: DARK ─────────────────────────────────────── */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1117;
  --surface: #161b22;
  --surface-soft: #1c2128;
  --border: #30363d;
  --border-strong: #484f58;
  --text: #e6edf3;
  --muted: #848d97;
  --primary: #3b82f6;
  --primary-soft: #0d2045;
  --success: #3fb950;
  --danger: #f85149;
  --shadow-sm: 0 4px 18px rgba(0,0,0,.45);
  --shadow-md: 0 16px 40px rgba(0,0,0,.6);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
}
[data-theme="dark"] .topbar {
  background: rgba(13,17,23,.92);
  border-bottom-color: #30363d;
}
[data-theme="dark"] .slider-shell,
[data-theme="dark"] .hero-toolbar,
[data-theme="dark"] .category-strip,
[data-theme="dark"] .list-shell,
[data-theme="dark"] .drawer-panel,
[data-theme="dark"] .empty-state {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] .slide {
  background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
}
[data-theme="dark"] .menu-item {
  background: var(--surface);
}
[data-theme="dark"] .modal-card {
  background: var(--bg);
}
[data-theme="dark"] .option-row {
  background: var(--surface-soft);
  border-color: var(--border);
}
[data-theme="dark"] .option-row.active {
  background: var(--primary-soft);
  border-color: var(--primary);
}
[data-theme="dark"] .total-box {
  background: var(--surface-soft);
  border-color: var(--border);
}
[data-theme="dark"] .search-box,
[data-theme="dark"] .lang-popover__panel,
[data-theme="dark"] .lang-popover__item {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}
[data-theme="dark"] .search-box input {
  background: transparent;
  color: var(--text);
}
[data-theme="dark"] .search-box input::placeholder {
  color: var(--muted);
}
[data-theme="dark"] .lang-popover__item.is-active { background: var(--primary-soft); border-color: var(--primary); }
[data-theme="dark"] .brand-logo {
  box-shadow: 0 0 24px rgba(59,130,246,.35);
}
[data-theme="dark"] .btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(59,130,246,.35);
}
[data-theme="dark"] .btn.primary:hover {
  box-shadow: 0 6px 20px rgba(59,130,246,.5);
}
[data-theme="dark"] .category-pill.active {
  box-shadow: 0 0 12px rgba(59,130,246,.3);
}
[data-theme="dark"] .tag, [data-theme="dark"] .meta {
  background: #1c2128;
  border-color: #30363d;
  color: #94a3b8;
}

/* ─── TEMA 3: BISTRO ────────────────────────────────────── */
[data-theme="bistro"] {
  --bg: #f9f3e8;
  --surface: #fffdf7;
  --surface-soft: #fef9ee;
  --border: #d4b896;
  --border-strong: #a07850;
  --text: #2c1a0e;
  --muted: #8a6848;
  --primary: #92400e;
  --primary-soft: #fef3c7;
  --success: #15803d;
  --danger: #b91c1c;
  --shadow-sm: 0 4px 14px rgba(92,60,14,.10);
  --shadow-md: 0 16px 36px rgba(92,60,14,.16);
  --radius-xl: 6px;
  --radius-lg: 4px;
  --radius-md: 4px;
  --radius-sm: 3px;
}
[data-theme="bistro"] body {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
[data-theme="bistro"] .topbar {
  background: rgba(249,243,232,.96);
  border-bottom: 2px solid var(--border);
}
[data-theme="bistro"] .brand-logo {
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 700;
}
[data-theme="bistro"] .brand-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
}
[data-theme="bistro"] .slider-shell,
[data-theme="bistro"] .hero-toolbar,
[data-theme="bistro"] .category-strip,
[data-theme="bistro"] .list-shell,
[data-theme="bistro"] .drawer-panel,
[data-theme="bistro"] .empty-state {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
[data-theme="bistro"] .slide {
  background: linear-gradient(135deg, #fffdf7 0%, #f9f3e8 100%);
}
[data-theme="bistro"] .slide-title {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -.01em;
}
[data-theme="bistro"] .slide-kicker {
  color: var(--primary);
  font-family: "Manrope", ui-sans-serif, sans-serif;
  letter-spacing: .12em;
}
[data-theme="bistro"] .category-pill {
  border-radius: 3px;
  font-family: "Manrope", ui-sans-serif, sans-serif;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
[data-theme="bistro"] .list-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}
/* Bistro: kart grid layout */
[data-theme="bistro"] .menu-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  border-bottom: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
[data-theme="bistro"] #menuList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding: 16px;
}
[data-theme="bistro"] .item-image {
  width: 100%;
  height: 180px;
  border-radius: 0;
}
[data-theme="bistro"] .item-main {
  padding: 12px 14px 4px;
}
[data-theme="bistro"] .item-side {
  min-width: 0;
  justify-items: start;
  padding: 4px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: unset;
}
[data-theme="bistro"] .item-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
}
[data-theme="bistro"] .btn.primary {
  background: var(--primary);
  border-color: var(--primary);
}
[data-theme="bistro"] .modal-card {
  background: var(--bg);
}
[data-theme="bistro"] .tag, [data-theme="bistro"] .meta {
  background: var(--primary-soft);
  border-color: var(--border);
  color: var(--primary);
  border-radius: 3px;
}
[data-theme="bistro"] .drawer-label {
  color: var(--primary);
}

/* ─── TEMA 4: LUXURY ────────────────────────────────────── */
[data-theme="luxury"] {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0e0e0e;
  --surface-soft: #141414;
  --border: #242424;
  --border-strong: #d4af37;
  --text: #f0ebe0;
  --muted: #777777;
  --primary: #d4af37;
  --primary-soft: #1a1600;
  --success: #6a9e5a;
  --danger: #c0392b;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.7);
  --shadow-md: 0 10px 40px rgba(0,0,0,.8);
  --radius-xl: 2px;
  --radius-lg: 2px;
  --radius-md: 2px;
  --radius-sm: 2px;
  --header-height: 80px;
}
[data-theme="luxury"] body {
  font-family: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  letter-spacing: .03em;
}
[data-theme="luxury"] .topbar {
  background: rgba(5,5,5,.98);
  border-bottom: 1px solid var(--border);
}
[data-theme="luxury"] .brand-logo {
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: .06em;
  box-shadow: 0 0 20px rgba(212,175,55,.15);
}
[data-theme="luxury"] .brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}
[data-theme="luxury"] .brand-subtitle {
  font-family: "Manrope", ui-sans-serif, sans-serif;
  font-size: .67rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
[data-theme="luxury"] .slider-shell,
[data-theme="luxury"] .hero-toolbar,
[data-theme="luxury"] .category-strip,
[data-theme="luxury"] .list-shell,
[data-theme="luxury"] .drawer-panel,
[data-theme="luxury"] .empty-state {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="luxury"] .slide {
  background: linear-gradient(135deg, #0e0e0e 0%, #050505 100%);
}
[data-theme="luxury"] .slide-kicker {
  font-family: "Manrope", sans-serif;
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--primary);
  text-transform: uppercase;
}
[data-theme="luxury"] .slide-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: .01em;
}
[data-theme="luxury"] .btn, [data-theme="luxury"] .icon-btn, [data-theme="luxury"] .chip,
[data-theme="luxury"] .category-pill, [data-theme="luxury"] .slider-dot {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  border-radius: 1px;
}
[data-theme="luxury"] .btn.primary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
[data-theme="luxury"] .btn.primary:hover {
  background: var(--primary);
  color: #000;
}
[data-theme="luxury"] .category-pill.active {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
[data-theme="luxury"] .list-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* Luxury: ultra-minimal list */
[data-theme="luxury"] .menu-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) 120px 44px;
  gap: 0;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
[data-theme="luxury"] .item-image { display: none; }
[data-theme="luxury"] .item-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: .02em;
}
[data-theme="luxury"] .item-desc {
  font-size: .82rem;
  color: var(--muted);
  -webkit-line-clamp: 1;
}
[data-theme="luxury"] .tag-row { display: none; }
[data-theme="luxury"] .meta-row { display: none; }
[data-theme="luxury"] .item-side {
  min-width: 120px;
  text-align: right;
  justify-items: end;
  align-content: start;
}
[data-theme="luxury"] .price {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: .02em;
}
[data-theme="luxury"] .price-note { display: none; }
[data-theme="luxury"] .modal-card {
  background: var(--bg);
}
[data-theme="luxury"] .modal-image {
  border-radius: 1px;
}
[data-theme="luxury"] .option-row {
  background: transparent;
  border-color: var(--border);
  border-radius: 1px;
}
[data-theme="luxury"] .option-row.active {
  background: var(--primary-soft);
  border-color: var(--primary);
}
[data-theme="luxury"] .total-box {
  background: transparent;
  border-color: var(--border);
  border-radius: 1px;
}
[data-theme="luxury"] .search-box,
[data-theme="luxury"] .lang-popover__panel,
[data-theme="luxury"] .lang-popover__item {
  background: transparent;
  border-color: var(--border);
  border-radius: 1px;
  color: var(--text);
}
[data-theme="luxury"] .search-box input {
  background: transparent;
  color: var(--text);
}
[data-theme="luxury"] .search-box input::placeholder { color: var(--muted); }
[data-theme="luxury"] .lang-popover__item.is-active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
[data-theme="luxury"] .tag, [data-theme="luxury"] .meta {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  border-radius: 1px;
  font-family: "Manrope", sans-serif;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
[data-theme="luxury"] .slider-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* ─── TEMA 5: VIBRANT ───────────────────────────────────── */
[data-theme="vibrant"] {
  --bg: #f5f0ff;
  --surface: #ffffff;
  --surface-soft: #faf5ff;
  --border: #ddd6fe;
  --border-strong: #a78bfa;
  --text: #1e0a3c;
  --muted: #7c5cbf;
  --primary: #7c3aed;
  --primary-soft: #ede9fe;
  --success: #059669;
  --danger: #dc2626;
  --shadow-sm: 0 6px 20px rgba(124,58,237,.12);
  --shadow-md: 0 18px 48px rgba(124,58,237,.20);
  --radius-xl: 26px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}
[data-theme="vibrant"] .topbar {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 50%, #a855f7 100%);
  border-bottom: 0;
  box-shadow: 0 4px 24px rgba(109,40,217,.35);
}
[data-theme="vibrant"] .topbar .brand-title,
[data-theme="vibrant"] .topbar .brand-subtitle {
  color: rgba(255,255,255,.95);
}
[data-theme="vibrant"] .topbar .brand-subtitle { color: rgba(255,255,255,.7); }
[data-theme="vibrant"] .topbar .icon-btn,
[data-theme="vibrant"] .topbar .btn,
[data-theme="vibrant"] .topbar .chip {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
  color: #fff;
  border-radius: 999px;
}
[data-theme="vibrant"] .topbar .icon-btn:hover,
[data-theme="vibrant"] .topbar .btn:hover {
  background: rgba(255,255,255,.3);
}
[data-theme="vibrant"] .lang-popover__panel {
  background: #ffffff;
  border-color: var(--border);
  border-radius: var(--radius-lg);
}
[data-theme="vibrant"] .lang-popover__item.is-active {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  color: #fff;
  border-color: transparent;
}
[data-theme="vibrant"] .brand-logo {
  background: #ffffff;
  color: var(--primary);
  border-radius: 50%;
  border: 0;
  font-weight: 900;
}
[data-theme="vibrant"] .slider-shell,
[data-theme="vibrant"] .hero-toolbar,
[data-theme="vibrant"] .category-strip,
[data-theme="vibrant"] .list-shell,
[data-theme="vibrant"] .empty-state,
[data-theme="vibrant"] .drawer-panel {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
[data-theme="vibrant"] .slide {
  background: linear-gradient(135deg, #f5f0ff 0%, #ede9fe 100%);
}
[data-theme="vibrant"] .slide-kicker {
  color: var(--primary);
  font-weight: 900;
}
[data-theme="vibrant"] .slide-title {
  font-weight: 900;
  letter-spacing: -.04em;
}
[data-theme="vibrant"] .btn.primary {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-color: transparent;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(124,58,237,.38);
}
[data-theme="vibrant"] .btn.primary:hover {
  box-shadow: 0 8px 24px rgba(124,58,237,.5);
  transform: translateY(-1px);
}
[data-theme="vibrant"] .btn.secondary {
  border-radius: 999px;
  border-color: var(--border);
}
[data-theme="vibrant"] .category-pill {
  border-radius: 999px;
  font-weight: 700;
}
[data-theme="vibrant"] .category-pill.active {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,.3);
}
[data-theme="vibrant"] .icon-btn {
  border-radius: 999px;
}
/* Vibrant: card grid layout */
[data-theme="vibrant"] .menu-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  border-bottom: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: transform .2s ease, box-shadow .2s ease;
}
[data-theme="vibrant"] .menu-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
[data-theme="vibrant"] #menuList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 16px;
}
[data-theme="vibrant"] .item-image {
  width: 100%;
  height: 175px;
  border-radius: 0;
}
[data-theme="vibrant"] .item-main {
  padding: 12px 14px 4px;
}
[data-theme="vibrant"] .item-side {
  min-width: 0;
  padding: 4px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-items: initial;
  align-content: initial;
}
[data-theme="vibrant"] .item-name { font-weight: 800; }
[data-theme="vibrant"] .tag {
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--border);
  font-weight: 700;
}
[data-theme="vibrant"] .meta {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  border-color: var(--border);
}
[data-theme="vibrant"] .price { color: var(--primary); font-weight: 900; }
[data-theme="vibrant"] .modal-card {
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
[data-theme="vibrant"] .option-row {
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border-color: var(--border);
}
[data-theme="vibrant"] .option-row.active {
  background: var(--primary-soft);
  border-color: var(--primary);
}
[data-theme="vibrant"] .total-box {
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border-color: var(--border);
}
[data-theme="vibrant"] .search-box {
  border-radius: 999px;
  border-color: var(--border);
}
[data-theme="vibrant"] .drawer-panel { border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }
[data-theme="vibrant"] .slider-dot.active {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-color: transparent;
}
[data-theme="vibrant"] .list-title { font-weight: 900; }

/* ─── TEMA 6-20: EK KONSEPT TEMALAR ─────────────────────── */
[data-theme="forest"] { --bg:#f5f4ed; --surface:#fcfbf7; --surface-soft:#eef1e7; --border:#cfd8c2; --border-strong:#7d8f69; --text:#203124; --muted:#66785f; --primary:#4f6f52; --primary-soft:#dfe8da; --shadow-sm:0 8px 24px rgba(79,111,82,.08); --shadow-md:0 20px 44px rgba(79,111,82,.14); }
[data-theme="sunset"] { --bg:#fff4ec; --surface:#fffaf6; --surface-soft:#ffe7db; --border:#fdc9b4; --border-strong:#fb923c; --text:#5a2410; --muted:#9a5a32; --primary:#f97316; --primary-soft:#ffedd5; --shadow-sm:0 8px 24px rgba(249,115,22,.10); --shadow-md:0 20px 44px rgba(249,115,22,.18); }
[data-theme="midnight"] { color-scheme:dark; --bg:#07111f; --surface:#0d1b2a; --surface-soft:#13263b; --border:#1e3a5f; --border-strong:#22d3ee; --text:#e0f2fe; --muted:#7dd3fc; --primary:#22d3ee; --primary-soft:#083344; --shadow-sm:0 10px 28px rgba(0,0,0,.35); --shadow-md:0 24px 54px rgba(0,0,0,.55); }
[data-theme="terracotta"] { --bg:#f7f1eb; --surface:#fffaf5; --surface-soft:#f0dfd1; --border:#d9b7a1; --border-strong:#c96f4a; --text:#4a281d; --muted:#8a5a49; --primary:#c96f4a; --primary-soft:#f8e1d3; --shadow-sm:0 8px 22px rgba(201,111,74,.09); --shadow-md:0 18px 40px rgba(201,111,74,.16); }
[data-theme="ocean"] { --bg:#eff8ff; --surface:#ffffff; --surface-soft:#e0f2fe; --border:#bae6fd; --border-strong:#0284c7; --text:#082f49; --muted:#0369a1; --primary:#0284c7; --primary-soft:#dbeafe; --shadow-sm:0 8px 24px rgba(2,132,199,.08); --shadow-md:0 20px 44px rgba(2,132,199,.16); }
[data-theme="mono"] { --bg:#f7f3eb; --surface:#fffdfa; --surface-soft:#efe7dc; --border:#d6c6b4; --border-strong:#b42318; --text:#141414; --muted:#706c66; --primary:#b42318; --primary-soft:#fbe4dd; --shadow-sm:0 6px 20px rgba(20,20,20,.06); --shadow-md:0 16px 40px rgba(20,20,20,.12); }
[data-theme="pastel"] { --bg:#fffaf5; --surface:#ffffff; --surface-soft:#fdf2f8; --border:#f5d0fe; --border-strong:#f472b6; --text:#5b315d; --muted:#8b5cf6; --primary:#f472b6; --primary-soft:#fae8ff; --shadow-sm:0 8px 24px rgba(244,114,182,.08); --shadow-md:0 20px 44px rgba(244,114,182,.14); }
[data-theme="brutal"] { --bg:#fff200; --surface:#ffffff; --surface-soft:#fff7b0; --border:#111111; --border-strong:#ff4d00; --text:#111111; --muted:#3f3f46; --primary:#ff4d00; --primary-soft:#ffd7c7; --shadow-sm:8px 8px 0 rgba(17,17,17,.9); --shadow-md:12px 12px 0 rgba(17,17,17,.95); --radius-xl:0; --radius-lg:0; --radius-md:0; --radius-sm:0; }
[data-theme="artdeco"] { color-scheme:dark; --bg:#101010; --surface:#171717; --surface-soft:#1f2937; --border:#4b5563; --border-strong:#c8a44d; --text:#f5e6b8; --muted:#c4b28c; --primary:#c8a44d; --primary-soft:#2a2110; --shadow-sm:0 6px 20px rgba(0,0,0,.45); --shadow-md:0 16px 40px rgba(0,0,0,.65); }
[data-theme="candy"] { --bg:#fff1f2; --surface:#ffffff; --surface-soft:#ffe4e6; --border:#fbcfe8; --border-strong:#fb7185; --text:#831843; --muted:#9d174d; --primary:#fb7185; --primary-soft:#fce7f3; --shadow-sm:0 8px 24px rgba(251,113,133,.08); --shadow-md:0 20px 44px rgba(251,113,133,.14); }
[data-theme="stone"] { --bg:#f6f6f4; --surface:#ffffff; --surface-soft:#f5f5f4; --border:#d6d3d1; --border-strong:#57534e; --text:#292524; --muted:#78716c; --primary:#44403c; --primary-soft:#e7e5e4; --shadow-sm:0 8px 24px rgba(68,64,60,.06); --shadow-md:0 20px 44px rgba(68,64,60,.12); }
[data-theme="retro"] { --bg:#fff7ed; --surface:#fffaf5; --surface-soft:#ffedd5; --border:#fdba74; --border-strong:#ea580c; --text:#7c2d12; --muted:#9a3412; --primary:#ea580c; --primary-soft:#ffedd5; --shadow-sm:0 8px 24px rgba(234,88,12,.08); --shadow-md:0 20px 44px rgba(234,88,12,.15); }
[data-theme="sakura"] { --bg:#fff7fb; --surface:#ffffff; --surface-soft:#fce7f3; --border:#f9a8d4; --border-strong:#db2777; --text:#831843; --muted:#9d174d; --primary:#db2777; --primary-soft:#fce7f3; --shadow-sm:0 8px 24px rgba(219,39,119,.08); --shadow-md:0 20px 44px rgba(219,39,119,.15); }
[data-theme="copper"] { --bg:#faf6ef; --surface:#fffdfa; --surface-soft:#f3e8d8; --border:#d6b89c; --border-strong:#b45309; --text:#4a2c16; --muted:#7c4a24; --primary:#b45309; --primary-soft:#ffedd5; --shadow-sm:0 8px 24px rgba(180,83,9,.08); --shadow-md:0 20px 44px rgba(180,83,9,.15); }
[data-theme="lavender"] { --bg:#faf5ff; --surface:#ffffff; --surface-soft:#ede9fe; --border:#c4b5fd; --border-strong:#8b5cf6; --text:#4c1d95; --muted:#6d28d9; --primary:#8b5cf6; --primary-soft:#ede9fe; --shadow-sm:0 8px 24px rgba(139,92,246,.08); --shadow-md:0 20px 44px rgba(139,92,246,.15); }
/* TheHouse 2: qr.cafelink.com.tr tasariminin v2 tema sistemine uyarlanmis hali.
   Siyah-beyaz minimal kimlik, sari yildiz vurgusu, genis kose yariciplari. */
[data-theme="thehouse2"] { --bg:#ffffff; --surface:#ffffff; --surface-soft:#f8fafc; --border:#e5e7eb; --border-strong:#111111; --text:#111111; --muted:#6b7280; --primary:#111111; --primary-soft:#f3f4f6; --accent:#fbbf24; --shadow-sm:0 4px 16px rgba(17,17,17,.05); --shadow-md:0 16px 40px rgba(17,17,17,.10); --radius-xl:22px; --radius-lg:18px; --radius-md:14px; --radius-sm:10px; }
[data-theme="industrial"] { --bg:#f3f4f6; --surface:#ffffff; --surface-soft:#e5e7eb; --border:#9ca3af; --border-strong:#f59e0b; --text:#1f2937; --muted:#4b5563; --primary:#f59e0b; --primary-soft:#fef3c7; --shadow-sm:0 8px 24px rgba(31,41,55,.06); --shadow-md:0 20px 44px rgba(31,41,55,.12); --radius-xl:8px; --radius-lg:6px; --radius-md:4px; --radius-sm:2px; }

[data-theme="forest"] .btn.primary,[data-theme="sunset"] .btn.primary,[data-theme="terracotta"] .btn.primary,[data-theme="ocean"] .btn.primary,[data-theme="mono"] .btn.primary,[data-theme="pastel"] .btn.primary,[data-theme="candy"] .btn.primary,[data-theme="stone"] .btn.primary,[data-theme="retro"] .btn.primary,[data-theme="sakura"] .btn.primary,[data-theme="copper"] .btn.primary,[data-theme="lavender"] .btn.primary,[data-theme="thehouse2"] .btn.primary,[data-theme="industrial"] .btn.primary { background:var(--primary); border-color:var(--primary); color:#fff; }
[data-theme="midnight"] .btn.primary,[data-theme="artdeco"] .btn.primary { background:var(--primary); border-color:var(--primary); color:#03131a; }
[data-theme="brutal"] .btn,.btn[data-theme="brutal"] { box-shadow:4px 4px 0 rgba(17,17,17,.9); }
[data-theme="midnight"] .topbar,[data-theme="artdeco"] .topbar { background:rgba(7,17,31,.94); border-bottom-color:var(--border); }
[data-theme="forest"] .topbar,[data-theme="sunset"] .topbar,[data-theme="terracotta"] .topbar,[data-theme="ocean"] .topbar,[data-theme="mono"] .topbar,[data-theme="pastel"] .topbar,[data-theme="candy"] .topbar,[data-theme="stone"] .topbar,[data-theme="retro"] .topbar,[data-theme="sakura"] .topbar,[data-theme="copper"] .topbar,[data-theme="lavender"] .topbar,[data-theme="thehouse2"] .topbar,[data-theme="industrial"] .topbar { background:rgba(255,255,255,.85); border-bottom-color:var(--border); }
[data-theme="brutal"] .topbar { background:#fff200; border-bottom:3px solid #111; }
[data-theme="forest"] .slider-shell,[data-theme="sunset"] .slider-shell,[data-theme="midnight"] .slider-shell,[data-theme="terracotta"] .slider-shell,[data-theme="ocean"] .slider-shell,[data-theme="mono"] .slider-shell,[data-theme="pastel"] .slider-shell,[data-theme="brutal"] .slider-shell,[data-theme="artdeco"] .slider-shell,[data-theme="candy"] .slider-shell,[data-theme="stone"] .slider-shell,[data-theme="retro"] .slider-shell,[data-theme="sakura"] .slider-shell,[data-theme="copper"] .slider-shell,[data-theme="lavender"] .slider-shell,[data-theme="thehouse2"] .slider-shell,[data-theme="industrial"] .slider-shell,
[data-theme="forest"] .hero-toolbar,[data-theme="sunset"] .hero-toolbar,[data-theme="midnight"] .hero-toolbar,[data-theme="terracotta"] .hero-toolbar,[data-theme="ocean"] .hero-toolbar,[data-theme="mono"] .hero-toolbar,[data-theme="pastel"] .hero-toolbar,[data-theme="brutal"] .hero-toolbar,[data-theme="artdeco"] .hero-toolbar,[data-theme="candy"] .hero-toolbar,[data-theme="stone"] .hero-toolbar,[data-theme="retro"] .hero-toolbar,[data-theme="sakura"] .hero-toolbar,[data-theme="copper"] .hero-toolbar,[data-theme="lavender"] .hero-toolbar,[data-theme="thehouse2"] .hero-toolbar,[data-theme="industrial"] .hero-toolbar,
[data-theme="forest"] .category-strip,[data-theme="sunset"] .category-strip,[data-theme="midnight"] .category-strip,[data-theme="terracotta"] .category-strip,[data-theme="ocean"] .category-strip,[data-theme="mono"] .category-strip,[data-theme="pastel"] .category-strip,[data-theme="brutal"] .category-strip,[data-theme="artdeco"] .category-strip,[data-theme="candy"] .category-strip,[data-theme="stone"] .category-strip,[data-theme="retro"] .category-strip,[data-theme="sakura"] .category-strip,[data-theme="copper"] .category-strip,[data-theme="lavender"] .category-strip,[data-theme="thehouse2"] .category-strip,[data-theme="industrial"] .category-strip,
[data-theme="forest"] .list-shell,[data-theme="sunset"] .list-shell,[data-theme="midnight"] .list-shell,[data-theme="terracotta"] .list-shell,[data-theme="ocean"] .list-shell,[data-theme="mono"] .list-shell,[data-theme="pastel"] .list-shell,[data-theme="brutal"] .list-shell,[data-theme="artdeco"] .list-shell,[data-theme="candy"] .list-shell,[data-theme="stone"] .list-shell,[data-theme="retro"] .list-shell,[data-theme="sakura"] .list-shell,[data-theme="copper"] .list-shell,[data-theme="lavender"] .list-shell,[data-theme="thehouse2"] .list-shell,[data-theme="industrial"] .list-shell,
[data-theme="forest"] .drawer-panel,[data-theme="sunset"] .drawer-panel,[data-theme="midnight"] .drawer-panel,[data-theme="terracotta"] .drawer-panel,[data-theme="ocean"] .drawer-panel,[data-theme="mono"] .drawer-panel,[data-theme="pastel"] .drawer-panel,[data-theme="brutal"] .drawer-panel,[data-theme="artdeco"] .drawer-panel,[data-theme="candy"] .drawer-panel,[data-theme="stone"] .drawer-panel,[data-theme="retro"] .drawer-panel,[data-theme="sakura"] .drawer-panel,[data-theme="copper"] .drawer-panel,[data-theme="lavender"] .drawer-panel,[data-theme="thehouse2"] .drawer-panel,[data-theme="industrial"] .drawer-panel { background:var(--surface); border-color:var(--border); }
[data-theme="midnight"] .search-box input,[data-theme="artdeco"] .search-box input,[data-theme="midnight"] .search-box,[data-theme="artdeco"] .search-box { background:transparent; color:var(--text); border-color:var(--border); }
[data-theme="midnight"] .bottom-nav,[data-theme="artdeco"] .bottom-nav { background:var(--surface); border-top-color:var(--border); }
[data-theme="forest"] .bottom-nav,[data-theme="sunset"] .bottom-nav,[data-theme="ocean"] .bottom-nav,[data-theme="pastel"] .bottom-nav,[data-theme="candy"] .bottom-nav,[data-theme="retro"] .bottom-nav,[data-theme="lavender"] .bottom-nav,[data-theme="thehouse2"] .bottom-nav,[data-theme="industrial"] .bottom-nav { background:var(--surface); border-top-color:var(--border); }
[data-theme="forest"] .lang-popover__item.is-active,
[data-theme="forest"] .welcome-screen__lang-options .chip.is-active,
[data-theme="sunset"] .lang-popover__item.is-active,
[data-theme="sunset"] .welcome-screen__lang-options .chip.is-active,
[data-theme="ocean"] .lang-popover__item.is-active,
[data-theme="ocean"] .welcome-screen__lang-options .chip.is-active,
[data-theme="pastel"] .lang-popover__item.is-active,
[data-theme="pastel"] .welcome-screen__lang-options .chip.is-active,
[data-theme="candy"] .lang-popover__item.is-active,
[data-theme="candy"] .welcome-screen__lang-options .chip.is-active,
[data-theme="retro"] .lang-popover__item.is-active,
[data-theme="retro"] .welcome-screen__lang-options .chip.is-active,
[data-theme="lavender"] .lang-popover__item.is-active,
[data-theme="lavender"] .welcome-screen__lang-options .chip.is-active,
[data-theme="industrial"] .lang-popover__item.is-active,
[data-theme="industrial"] .welcome-screen__lang-options .chip.is-active,
[data-theme="mono"] .lang-popover__item.is-active,
[data-theme="mono"] .welcome-screen__lang-options .chip.is-active,
[data-theme="sakura"] .lang-popover__item.is-active,
[data-theme="sakura"] .welcome-screen__lang-options .chip.is-active,
[data-theme="copper"] .lang-popover__item.is-active,
[data-theme="copper"] .welcome-screen__lang-options .chip.is-active,
[data-theme="stone"] .lang-popover__item.is-active,
[data-theme="stone"] .welcome-screen__lang-options .chip.is-active,
[data-theme="terracotta"] .lang-popover__item.is-active,
[data-theme="terracotta"] .welcome-screen__lang-options .chip.is-active,
[data-theme="midnight"] .lang-popover__item.is-active,
[data-theme="midnight"] .welcome-screen__lang-options .chip.is-active,
[data-theme="artdeco"] .lang-popover__item.is-active,
[data-theme="artdeco"] .welcome-screen__lang-options .chip.is-active,
[data-theme="brutal"] .lang-popover__item.is-active,
[data-theme="brutal"] .welcome-screen__lang-options .chip.is-active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── Tüm Temalar: Ortak Düzeltmeler ───────────────────── */
[data-theme="bistro"] .menu-item:last-child,
[data-theme="vibrant"] .menu-item:last-child {
  border-bottom: 0;
}

/* Kart grid için responsive overrides */
@media (max-width: 560px) {
  [data-theme="bistro"] #menuList,
  [data-theme="vibrant"] #menuList {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px;
  }
  [data-theme="bistro"] .item-image,
  [data-theme="vibrant"] .item-image { width: 84px; height: 84px; min-width: 84px; min-height: 84px; aspect-ratio: 1 / 1; }
  [data-theme="bistro"] .item-name,
  [data-theme="vibrant"] .item-name { font-size: .9rem; }
  [data-theme="bistro"] .item-desc,
  [data-theme="vibrant"] .item-desc { display: none; }
  [data-theme="bistro"] .item-side,
  [data-theme="vibrant"] .item-side { flex-wrap: wrap; gap: 6px; }

  /* Luxury mobile */
  [data-theme="luxury"] .menu-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 12px;
  }
  [data-theme="luxury"] .item-side {
    min-width: 0;
    width: 100%;
    justify-items: start;
    text-align: left;
  }
}
@media (max-width: 420px) {
  [data-theme="bistro"] #menuList,
  [data-theme="vibrant"] #menuList {
    grid-template-columns: 1fr;
  }
}

/* Dark & Luxury: ortak scrollbar */
[data-theme="dark"] ::-webkit-scrollbar,
[data-theme="luxury"] ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
[data-theme="dark"] ::-webkit-scrollbar-track { background: var(--surface); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #484f58; border-radius: 3px; }
[data-theme="luxury"] ::-webkit-scrollbar-track { background: var(--surface); }
[data-theme="luxury"] ::-webkit-scrollbar-thumb { background: #333; border-radius: 1px; }

/* ══════════════════════════════════════════════════════════
   KART STİLLERİ — data-card-style attribute'u ile yönetilir
   ══════════════════════════════════════════════════════════ */

/* ─── GRID KART (.menu-card) ───────────────────────────── */
.menu-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  flex: none;
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 6px;
}
.card-name {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.card-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.card-footer .actions {
  gap: 6px;
  flex-wrap: nowrap;
}
.card-footer .btn {
  min-height: 32px;
  padding: 0 10px;
  font-size: .8rem;
}

/* Grid wrapper — #menuList container */
body[data-card-style="grid"] #menuList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--space-card);
  padding: var(--space-card);
}
@media (max-width: 560px) {
  body[data-card-style="grid"] #menuList {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
  [data-theme="bistro"] .menu-category-items,
  [data-theme="vibrant"] .menu-category-items,
  body[data-card-style="grid"] .menu-category-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
  .card-image { height: 130px; }
  .card-name { font-size: .88rem; }
  .card-desc { display: none; }
}
@media (max-width: 380px) {
  body[data-card-style="grid"] #menuList {
    grid-template-columns: 1fr;
  }
  [data-theme="bistro"] .menu-category-items,
  [data-theme="vibrant"] .menu-category-items,
  body[data-card-style="grid"] .menu-category-items {
    grid-template-columns: 1fr;
  }
}

/* ─── COMPACT KART (.menu-compact) ─────────────────────── */
.menu-compact {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: background .15s;
}
.menu-compact:hover { background: var(--surface-soft); }
.compact-image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex: none;
}
.compact-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compact-price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.menu-compact .actions {
  flex-wrap: nowrap;
  gap: 5px;
}

/* Compact wrapper — #menuList container */
body[data-card-style="compact"] #menuList {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
body[data-card-style="compact"] .menu-compact:last-child {
  border-bottom: 0;
}

/* Kategorili tümü görünümü */
[data-theme] #menuList.menu-list-categorized {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0;
}
[data-theme] .menu-category-section {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme] .menu-category-head {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="bistro"] #menuList.menu-list-categorized,
[data-theme="vibrant"] #menuList.menu-list-categorized {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0;
}
[data-theme="bistro"] .menu-category-items,
[data-theme="vibrant"] .menu-category-items,
body[data-card-style="grid"] .menu-category-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--space-card);
  padding: var(--space-card);
}
[data-theme="bistro"] .menu-category-title {
  font-family: "Playfair Display", Georgia, serif;
}
@media (max-width: 560px) {
  [data-theme="bistro"] .menu-category-items,
  [data-theme="vibrant"] .menu-category-items,
  body[data-card-style="grid"] .menu-category-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
}
@media (max-width: 380px) {
  [data-theme="bistro"] .menu-category-items,
  [data-theme="vibrant"] .menu-category-items,
  body[data-card-style="grid"] .menu-category-items {
    grid-template-columns: 1fr;
  }
}

/* ─── RESİM ŞEKİL VARYANTLARı ───────────────────────────── */
.img-rounded {
  border-radius: var(--radius-md);
  object-fit: cover;
}
.img-square {
  border-radius: 0;
  object-fit: cover;
}
.img-circle {
  border-radius: 50%;
  object-fit: cover;
}

/* ══════════════════════════════════════════════════════════
   KATEGORİ STİL VARYANTLARı
   ══════════════════════════════════════════════════════════ */

/* ─── Underline stili ────────────────────────────────────── */
body[data-category-style="underline"] .category-strip {
  border-bottom: 2px solid var(--border);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0 16px;
}
body[data-category-style="underline"] .category-pill {
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 600;
  margin-bottom: -2px;
  font-size: .88rem;
  transition: color .15s, border-color .15s;
}
body[data-category-style="underline"] .category-pill:hover {
  color: var(--text);
  border-bottom-color: var(--border-strong);
}
body[data-category-style="underline"] .category-pill.active {
  color: var(--primary);
  background: transparent;
  border-bottom-color: var(--primary);
  box-shadow: none;
}

/* ─── Tabs stili ─────────────────────────────────────────── */
body[data-category-style="tabs"] .category-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
body[data-category-style="tabs"] .category-strip::-webkit-scrollbar { display: none; }
body[data-category-style="tabs"] .category-pill {
  flex: none;
  border-radius: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 14px 18px;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  margin: 0;
  transition: color .15s, border-color .15s, background .15s;
}
body[data-category-style="tabs"] .category-pill:hover {
  background: var(--surface-soft);
  color: var(--text);
}
body[data-category-style="tabs"] .category-pill.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-bottom-color: var(--primary);
  box-shadow: none;
  border-radius: 0;
}

/* ══════════════════════════════════════════════════════════
   FONT SCALE
   ══════════════════════════════════════════════════════════ */
:root[data-font-scale="small"] {
  font-size: 14px;
}
:root[data-font-scale="medium"] {
  font-size: 16px;
}
:root[data-font-scale="large"] {
  font-size: 18px;
}

/* ══════════════════════════════════════════════════════════
   BORDER RADIUS OVERRIDE
   ══════════════════════════════════════════════════════════ */
:root[data-border-radius="none"] {
  --radius-xl: 0px;
  --radius-lg: 0px;
  --radius-md: 0px;
  --radius-sm: 0px;
}
:root[data-border-radius="small"] {
  --radius-xl: 8px;
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 3px;
}
:root[data-border-radius="medium"] {
  /* default — no override needed */
}
:root[data-border-radius="large"] {
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

/* ══════════════════════════════════════════════════════════
   SLIDER YÜKSEKLİĞİ
   ══════════════════════════════════════════════════════════ */
:root[data-slider-height="small"] .slider-shell { --slide-h: 280px; }
:root[data-slider-height="medium"] .slider-shell { --slide-h: 420px; }
:root[data-slider-height="large"] .slider-shell { --slide-h: 560px; }

:root[data-slider-height="small"] .slide,
:root[data-slider-height="medium"] .slide,
:root[data-slider-height="large"] .slide {
  min-height: var(--slide-h, 420px);
}

/* ══════════════════════════════════════════════════════════
   ALT NAVİGASYON (MOBİL)
   ══════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 6px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav.hidden { display: none !important; }
.bnav-btn {
  min-width: 0;
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
}
.bnav-btn:active { background: var(--surface-soft); }
.bnav-btn.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--border);
}
.bnav-icon {
  width: 22px;
  height: 22px;
  display: block;
}
.bnav-label {
  font-size: .65rem;
  line-height: 1;
  letter-spacing: .01em;
}

/* Body'ye alan ekle; alt nav ile içerik üst üste gelmesin */
body.has-bottom-nav {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* Dark tema alt nav */
[data-theme="dark"] .bottom-nav {
  background: var(--surface);
  border-top-color: var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.35);
}
/* Luxury alt nav */
[data-theme="luxury"] .bottom-nav {
  background: var(--surface);
  border-top-color: var(--border);
}
[data-theme="luxury"] .bnav-btn.active { color: var(--primary); }
/* Bistro alt nav */
[data-theme="bistro"] .bottom-nav {
  background: var(--surface);
  border-top: 2px solid var(--border);
}
/* Vibrant alt nav */
[data-theme="vibrant"] .bottom-nav {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
  border-top: 0;
  box-shadow: 0 -4px 24px rgba(109,40,217,.3);
}
[data-theme="vibrant"] .bnav-btn {
  color: rgba(255,255,255,.6);
}
[data-theme="vibrant"] .bnav-btn.active {
  color: #fff;
}
[data-theme="vibrant"] .bnav-btn:active {
  background: rgba(255,255,255,.12);
}

/* Sadakat ekranları: tüm temalar için ortak uyum */
[data-theme] .loyalty-card,
[data-theme] .reward-card,
[data-theme] .qr-help-card,
[data-theme] .account-panel,
[data-theme] .account-stat,
[data-theme] .auth-modal-card {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

[data-theme] .loyalty-info-strip div,
[data-theme] .loyalty-item,
[data-theme] .history-row,
[data-theme] .account-row,
[data-theme] .qr-box {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

[data-theme] .reward-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow-sm);
}

[data-theme] .reward-media {
  background: var(--primary-soft);
  color: var(--primary);
}

[data-theme] .loyalty-kicker,
[data-theme] .reward-cost,
[data-theme] .qr-help-title {
  color: var(--primary);
}

[data-theme] .loyalty-balance-pill,
[data-theme] .loyalty-info-strip strong,
[data-theme] .account-avatar {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

[data-theme] .qr-box img {
  background: #fff;
  border-color: var(--border);
}

[data-theme] .auth-modal .modal-actions {
  justify-content: center;
}

[data-theme] .auth-modal .modal-actions .btn {
  min-width: min(180px, 100%);
}

[data-theme="dark"] .is-plus,
[data-theme="midnight"] .is-plus,
[data-theme="artdeco"] .is-plus,
[data-theme="luxury"] .is-plus {
  background: rgba(63,185,80,.16);
  color: var(--success);
}

[data-theme="dark"] .is-minus,
[data-theme="midnight"] .is-minus,
[data-theme="artdeco"] .is-minus,
[data-theme="luxury"] .is-minus {
  background: rgba(248,81,73,.16);
  color: var(--danger);
}

[data-theme="midnight"] .loyalty-balance-pill,
[data-theme="artdeco"] .loyalty-balance-pill,
[data-theme="luxury"] .loyalty-balance-pill,
[data-theme="midnight"] .loyalty-info-strip strong,
[data-theme="artdeco"] .loyalty-info-strip strong,
[data-theme="luxury"] .loyalty-info-strip strong,
[data-theme="midnight"] .account-avatar,
[data-theme="artdeco"] .account-avatar,
[data-theme="luxury"] .account-avatar {
  color: #07111f;
}

[data-theme="bistro"] .loyalty-card,
[data-theme="bistro"] .reward-card,
[data-theme="bistro"] .qr-box,
[data-theme="bistro"] .account-panel,
[data-theme="bistro"] .account-stat {
  border-width: 2px;
  border-radius: 6px;
}

[data-theme="bistro"] .loyalty-kicker,
[data-theme="bistro"] .reward-title,
[data-theme="bistro"] .account-name {
  font-family: "Playfair Display", Georgia, serif;
}

[data-theme="luxury"] .loyalty-card,
[data-theme="luxury"] .reward-card,
[data-theme="luxury"] .qr-box,
[data-theme="luxury"] .account-panel,
[data-theme="luxury"] .account-stat {
  background: var(--surface);
  border-radius: 2px;
  box-shadow: none;
}

[data-theme="luxury"] .loyalty-kicker,
[data-theme="luxury"] .reward-title,
[data-theme="luxury"] .account-name {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: .04em;
}

[data-theme="vibrant"] .loyalty-balance-pill,
[data-theme="vibrant"] .loyalty-info-strip strong,
[data-theme="vibrant"] .account-avatar {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  border-color: transparent;
  color: #fff;
}

[data-theme="vibrant"] .reward-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

[data-theme="brutal"] .loyalty-card,
[data-theme="brutal"] .reward-card,
[data-theme="brutal"] .qr-box,
[data-theme="brutal"] .account-panel,
[data-theme="brutal"] .account-stat,
[data-theme="brutal"] .auth-modal-card {
  border: 3px solid #111;
  box-shadow: 8px 8px 0 rgba(17,17,17,.9);
}

[data-theme="brutal"] .loyalty-balance-pill,
[data-theme="brutal"] .loyalty-info-strip strong,
[data-theme="brutal"] .account-avatar {
  color: #111;
}

/* Welcome / Popup / In-feed banner */
.welcome-screen,
.theme-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.welcome-screen.hidden,
.theme-popup.hidden { display: none !important; }
.welcome-screen::before,
.theme-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .56);
  backdrop-filter: blur(12px);
  content: '';
}
.theme-popup__backdrop { content: none; }
.welcome-screen__panel,
.theme-popup__card {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.welcome-screen[data-fullscreen="1"] {
  padding: 0;
}
.welcome-screen[data-fullscreen="1"] .welcome-screen__panel {
  width: 100vw;
  min-height: 100dvh;
  border-radius: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(24px, 5vw, 64px);
}
.welcome-screen__panel--windowed {
  width: min(560px, calc(100vw - 32px));
  min-height: auto;
}
.welcome-screen__lang {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.welcome-screen__lang-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.welcome-screen__lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.welcome-screen__lang-options .chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.welcome-screen__logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  overflow: hidden;
  margin-bottom: 16px;
}
.welcome-screen__title,
.theme-popup__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 10px;
}
.welcome-screen__desc,
.theme-popup__body {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.welcome-screen__actions,
.theme-popup__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.theme-popup__card {
  padding-top: 42px;
}
.theme-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
}
.theme-popup__eyebrow,
.infeed-banner__kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.infeed-banner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}
.infeed-banner--soft {
  background: linear-gradient(135deg, var(--surface) 0%, var(--primary-soft) 100%);
}
.infeed-banner--solid {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.infeed-banner--solid .infeed-banner__kicker,
.infeed-banner--solid .infeed-banner__body,
.infeed-banner--solid .infeed-banner__title {
  color: #fff;
}
.infeed-banner--outline {
  background: transparent;
  border-width: 2px;
}
.infeed-banner__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.infeed-banner__body {
  color: var(--muted);
  line-height: 1.6;
}
:root[data-motion-level="off"] * {
  animation: none !important;
  transition-duration: 0.01ms !important;
}
:root[data-motion-speed="slow"] { --motion-ms: 420ms; }
:root[data-motion-speed="normal"] { --motion-ms: 240ms; }
:root[data-motion-speed="fast"] { --motion-ms: 140ms; }
body[data-card-reveal="fade-up"] .menu-item,
body[data-card-reveal="fade-up"] .menu-card,
body[data-card-reveal="fade-up"] .menu-compact,
body[data-card-reveal="fade-up"] .infeed-banner {
  animation: fadeUp var(--motion-ms, 240ms) cubic-bezier(.16,1,.3,1) both;
}
body[data-card-reveal="scale-in"] .menu-item,
body[data-card-reveal="scale-in"] .menu-card,
body[data-card-reveal="scale-in"] .menu-compact,
body[data-card-reveal="scale-in"] .infeed-banner {
  animation: scaleIn var(--motion-ms, 240ms) cubic-bezier(.16,1,.3,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-screen,
  .theme-popup,
  .menu-item,
  .menu-card,
  .menu-compact,
  .infeed-banner {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 640px) {
  .infeed-banner {
    grid-template-columns: 1fr;
  }
}

.card-image,
.compact-image,
.item-image,
.img-rounded,
.img-square,
.img-circle {
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff;
}

/* ══════════════════════════════════════════════════════════
   v1'den tasinan temalar: StarBrew, QuickBite, TheHouse
   ══════════════════════════════════════════════════════════ */
/* ─── TEMA 21: STARBREW ────────────────────────────────── */
html[data-theme="starbrew"] {
  color-scheme: light;
  --bg: #f9f9f9;
  --surface: #ffffff;
  --surface-soft: #f3f4f6;
  --border: #eef1ee;
  --border-strong: #d9e2dd;
  --text: #1e3932;
  --muted: #6b7280;
  --primary: #00704a;
  --primary-soft: #e2f3ec;
  --success: #00704a;
  --danger: #b91c1c;
  --shadow-sm: 0 4px 20px rgba(30, 57, 50, .05);
  --shadow-md: 0 18px 42px rgba(30, 57, 50, .14);
  --radius-xl: 20px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --container: min(1100px, calc(100% - 32px));
  --header-height: 74px;
}

html[data-theme="starbrew"] body {
  background: #e9eee9;
  color: var(--text);
}

html[data-theme="starbrew"] .topbar {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

html[data-theme="starbrew"] .topbar-inner {
  width: var(--container);
  max-width: var(--container);
  min-height: var(--header-height);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 10px;
  background: rgba(249, 249, 249, .94);
  border-bottom: 1px solid #eef1ee;
  backdrop-filter: blur(16px);
}

html[data-theme="starbrew"] .brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #00704a;
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="starbrew"] .brand-logo .ui-icon {
  width: 20px;
  height: 20px;
}

html[data-theme="starbrew"] .brand-title {
  color: #1e3932;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

html[data-theme="starbrew"] .brand-subtitle {
  color: #6b7280;
  font-size: .74rem;
  font-weight: 700;
}

html[data-theme="starbrew"] .top-actions {
  gap: 7px;
  flex-wrap: nowrap;
}

html[data-theme="starbrew"] .top-actions .icon-btn,
html[data-theme="starbrew"] .top-actions .btn,
html[data-theme="starbrew"] .top-actions .chip {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #1e3932;
  box-shadow: 0 2px 12px rgba(30, 57, 50, .06);
  flex: 0 0 40px;
  overflow: hidden;
}

html[data-theme="starbrew"] .top-actions .btn-label,
html[data-theme="starbrew"] #langBtn .chip-chevron {
  display: none;
}

html[data-theme="starbrew"] .top-actions .ui-icon {
  width: 18px;
  height: 18px;
}

html[data-theme="starbrew"] .hero,
html[data-theme="starbrew"] .hero.hero-collapsed {
  width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

html[data-theme="starbrew"] .starbrew-intro {
  display: grid;
  gap: 7px;
  padding: 14px 0 6px;
}

html[data-theme="starbrew"] .starbrew-intro.hidden,
html[data-theme="starbrew"] .starbrew-campaigns.hidden,
html[data-theme="starbrew"] .starbrew-drawer-feature.hidden {
  display: none !important;
}

html[data-theme="starbrew"] .starbrew-intro__title {
  margin: 0;
  max-width: 13ch;
  color: #1e3932;
  font-size: clamp(2rem, 8vw, 2.75rem);
  line-height: .94;
  font-weight: 900;
  letter-spacing: 0;
}

html[data-theme="starbrew"] .starbrew-intro__subtitle {
  margin: 0;
  color: #6b7280;
  font-size: .92rem;
  line-height: 1.5;
  font-weight: 600;
}

html[data-theme="starbrew"] .starbrew-campaigns {
  display: grid;
  gap: 10px;
  margin: 12px -16px 12px;
}

html[data-theme="starbrew"] .starbrew-campaigns__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
}

html[data-theme="starbrew"] .starbrew-campaigns__head span {
  color: #00704a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

html[data-theme="starbrew"] .starbrew-campaigns__head strong {
  color: #1e3932;
  font-size: .95rem;
  font-weight: 900;
}

html[data-theme="starbrew"] .starbrew-campaigns__list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 16px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

html[data-theme="starbrew"] .starbrew-campaigns__list::-webkit-scrollbar {
  display: none;
}

html[data-theme="starbrew"] .starbrew-campaign-card {
  position: relative;
  min-width: min(288px, calc(100% - 48px));
  width: min(288px, calc(100% - 48px));
  height: 144px;
  padding: 15px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
  align-items: stretch;
  scroll-snap-align: center;
  box-shadow: 0 8px 24px rgba(30, 57, 50, .08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

html[data-theme="starbrew"] .starbrew-campaign-card:hover,
html[data-theme="starbrew"] .starbrew-campaign-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 57, 50, .12);
}

html[data-theme="starbrew"] .starbrew-campaign-card:focus-visible,
html[data-theme="starbrew"] .starbrew-drawer-campaign:focus-visible {
  outline: 3px solid rgba(0, 112, 74, .28);
  outline-offset: 3px;
}

html[data-theme="starbrew"] .starbrew-campaign-card--no-image {
  grid-template-columns: 1fr;
}

html[data-theme="starbrew"] .starbrew-campaign-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

html[data-theme="starbrew"] .starbrew-campaign-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[data-theme="starbrew"] .starbrew-campaign-card p {
  margin: 0;
  font-size: .76rem;
  line-height: 1.35;
  font-weight: 700;
  opacity: .82;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[data-theme="starbrew"] .starbrew-campaign-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 16px;
  object-fit: cover;
}

html[data-theme="starbrew"] .slider-shell,
html[data-theme="starbrew"] .hero-toolbar {
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}

html[data-theme="starbrew"] .category-strip {
  width: var(--container);
  margin: 0 auto;
  padding: 10px 16px 14px;
  top: var(--header-height);
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: rgba(249, 249, 249, .96);
  box-shadow: 0 4px 18px rgba(30, 57, 50, .05);
  backdrop-filter: blur(14px);
}

html[data-theme="starbrew"] .category-pill {
  min-height: 38px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #6b7280;
  font-size: .84rem;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(30, 57, 50, .04);
}

html[data-theme="starbrew"] .category-pill.active {
  background: #00704a;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 112, 74, .22);
}

html[data-theme="starbrew"] .content {
  width: var(--container);
  margin: 0 auto;
  padding: 16px 16px 106px;
  gap: 0;
}

html[data-theme="starbrew"] .list-shell {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="starbrew"] .list-header {
  display: none;
}

html[data-theme="starbrew"] #menuList.menu-list-categorized {
  gap: 30px !important;
}

html[data-theme="starbrew"] .menu-category-section {
  gap: 12px;
  border-bottom: 0;
  padding-top: 2px;
}

html[data-theme="starbrew"] .menu-category-head {
  position: sticky;
  top: calc(var(--header-height) + 60px);
  z-index: 15;
  margin: 0 -2px;
  padding: 10px 2px 8px;
  border-bottom: 1px solid rgba(30, 57, 50, .08);
  background: rgba(249, 249, 249, .96);
  backdrop-filter: blur(12px);
}

html[data-theme="starbrew"] .menu-category-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

html[data-theme="starbrew"] .menu-category-head > div::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: #00704a;
  flex: 0 0 6px;
}

html[data-theme="starbrew"] .menu-category-title {
  margin: 0;
  color: #1e3932;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[data-theme="starbrew"] .menu-category-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 14px;
  padding: 0;
}

html[data-theme="starbrew"] .menu-item,
html[data-theme="starbrew"] .menu-card,
html[data-theme="starbrew"] .menu-compact {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(30, 57, 50, .055);
  overflow: hidden;
}

html[data-theme="starbrew"] .menu-item:last-child {
  border-bottom: 1px solid #f3f4f6;
}

html[data-theme="starbrew"] .item-image,
html[data-theme="starbrew"] .card-image,
html[data-theme="starbrew"] .compact-image,
html[data-theme="starbrew"] .img-rounded,
html[data-theme="starbrew"] .img-square,
html[data-theme="starbrew"] .img-circle {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: 16px;
  object-fit: cover !important;
  object-position: center center !important;
  background: #f3f4f6;
}

html[data-theme="starbrew"] .item-main,
html[data-theme="starbrew"] .card-body {
  min-width: 0;
  gap: 7px;
  padding-top: 0;
}

html[data-theme="starbrew"] .item-title-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

html[data-theme="starbrew"] .item-name,
html[data-theme="starbrew"] .card-name,
html[data-theme="starbrew"] .compact-name {
  color: #111827;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[data-theme="starbrew"] .item-desc,
html[data-theme="starbrew"] .card-desc {
  color: #6b7280;
  font-size: .78rem;
  line-height: 1.4;
}

html[data-theme="starbrew"] .item-price,
html[data-theme="starbrew"] .price,
html[data-theme="starbrew"] .item-inline-price,
html[data-theme="starbrew"] .compact-price {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #e2f3ec;
  color: #1e3932;
  font-size: .95rem;
  font-weight: 900;
}

html[data-theme="starbrew"] .tag,
html[data-theme="starbrew"] .meta,
html[data-theme="starbrew"] .social-chip {
  background: #e2f3ec;
  color: #00704a;
}

html[data-theme="starbrew"] .drawer-panel,
html[data-theme="starbrew"] .modal-card,
html[data-theme="starbrew"] .theme-popup__card,
html[data-theme="starbrew"] .welcome-screen__panel,
html[data-theme="starbrew"] .consent-banner {
  border-color: #eef1ee;
  background: #ffffff;
}

html[data-theme="starbrew"] .drawer-panel {
  border-radius: 0 22px 22px 0;
}

html[data-theme="starbrew"] .starbrew-drawer-campaigns {
  display: grid;
  gap: 10px;
}

html[data-theme="starbrew"] .starbrew-drawer-campaign {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

html[data-theme="starbrew"] .starbrew-drawer-campaign:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 57, 50, .10);
}

html[data-theme="starbrew"] .starbrew-drawer-campaign div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

html[data-theme="starbrew"] .starbrew-drawer-campaign strong {
  font-size: .86rem;
  line-height: 1.2;
}

html[data-theme="starbrew"] .starbrew-drawer-campaign span {
  font-size: .73rem;
  line-height: 1.35;
  opacity: .82;
}

html[data-theme="starbrew"] .starbrew-drawer-campaign img {
  width: 76px;
  height: 66px;
  border-radius: 12px;
  object-fit: cover;
}

html[data-theme="starbrew"] .starbrew-campaign-modal__card {
  background: #ffffff;
}

html[data-theme="starbrew"] .starbrew-campaign-modal__body {
  display: grid;
  gap: 14px;
  align-content: start;
}

html[data-theme="starbrew"] .starbrew-campaign-modal__media {
  width: min(100%, 520px);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 16 / 10;
}

html[data-theme="starbrew"] .starbrew-campaign-modal__media.hidden {
  display: none;
}

html[data-theme="starbrew"] .starbrew-campaign-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-theme="starbrew"] .starbrew-campaign-modal__desc {
  width: min(100%, 520px);
  margin: 0 auto;
  color: #4b5563;
  font-size: .96rem;
  line-height: 1.65;
  font-weight: 700;
}

html[data-theme="starbrew"] .btn.primary,
html[data-theme="starbrew"] .modal-accordion-btn[aria-expanded="true"],
html[data-theme="starbrew"] .lang-popover__item.is-active,
html[data-theme="starbrew"] .welcome-screen__lang-options .chip.is-active {
  background: #00704a;
  border-color: #00704a;
  color: #ffffff;
}

html[data-theme="starbrew"] .bottom-nav {
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  border-top: 1px solid #eef1ee;
  background: #ffffff;
  box-shadow: 0 -5px 22px rgba(30, 57, 50, .06);
}

html[data-theme="starbrew"] .bnav-btn {
  min-height: 62px;
  color: #9ca3af;
  font-weight: 800;
}

html[data-theme="starbrew"] .bnav-btn.active {
  color: #00704a;
}

html[data-theme="starbrew"] .bnav-btn:active {
  background: #e2f3ec;
}

html[data-theme="starbrew"] .floating-note {
  display: none;
}

@media (max-width: 420px) {
  html[data-theme="starbrew"] .topbar-inner {
    gap: 8px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 10px;
  }

  html[data-theme="starbrew"] .hero,
  html[data-theme="starbrew"] .content {
    padding-left: 14px;
    padding-right: 14px;
  }

  html[data-theme="starbrew"] .starbrew-campaigns {
    margin-left: -14px;
    margin-right: -14px;
  }

  html[data-theme="starbrew"] .starbrew-campaign-card {
    min-width: min(280px, calc(100% - 42px));
    width: min(280px, calc(100% - 42px));
    grid-template-columns: minmax(0, 1fr) 96px;
  }
}

@media (max-width: 340px) {
  html[data-theme="starbrew"] .topbar-inner {
    padding-left: 9px;
    padding-right: 9px;
  }

  html[data-theme="starbrew"] .brand-logo,
  html[data-theme="starbrew"] .top-actions .icon-btn,
  html[data-theme="starbrew"] .top-actions .btn,
  html[data-theme="starbrew"] .top-actions .chip {
    width: 36px;
    height: 36px;
    min-height: 36px;
    flex-basis: 36px;
  }

  html[data-theme="starbrew"] .item-image,
  html[data-theme="starbrew"] .card-image,
  html[data-theme="starbrew"] .compact-image {
    width: 84px;
    height: 84px;
    min-width: 84px;
  }

  html[data-theme="starbrew"] .menu-item,
  html[data-theme="starbrew"] .menu-card,
  html[data-theme="starbrew"] .menu-compact {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }

  html[data-theme="starbrew"] .starbrew-campaign-card {
    min-width: min(264px, calc(100% - 32px));
    width: min(264px, calc(100% - 32px));
    height: 136px;
    grid-template-columns: minmax(0, 1fr) 84px;
    padding: 12px;
  }
}

/* ─── TEMA 22: QUICKBITE ───────────────────────────────── */
html[data-theme="quickbite"] {
  color-scheme: light;
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f3f4f6;
  --border: #f3f4f6;
  --border-strong: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --primary: #da291c;
  --primary-soft: #fff4cc;
  --success: #15803d;
  --danger: #b91c1c;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow-md: 0 14px 32px rgba(17, 24, 39, .14);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --container: min(1100px, calc(100% - 32px));
  --header-height: 72px;
}

html[data-theme="quickbite"] body {
  max-width: 100%;
  overflow-x: hidden;
}

html[data-theme="quickbite"] body {
  background: #f3f4f6;
}

.quickbite-header-search {
  display: none;
}

html[data-theme="quickbite"] .topbar {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

html[data-theme="quickbite"] .topbar-inner {
  width: var(--container);
  max-width: var(--container);
  min-height: var(--header-height);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 12px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid #f3f4f6;
  backdrop-filter: blur(14px);
}

html[data-theme="quickbite"] .brand {
  gap: 0;
  padding-right: 0;
}

html[data-theme="quickbite"] .brand-copy {
  display: none;
}

html[data-theme="quickbite"] .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #da291c;
  color: #ffc72c;
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: -.05em;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .10);
}

html[data-theme="quickbite"] .brand-logo--image {
  background: #da291c;
  padding: 4px;
}

html[data-theme="quickbite"] .quickbite-header-search {
  min-width: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
}

html[data-theme="quickbite"] .quickbite-header-search.hidden {
  display: none !important;
}

html[data-theme="quickbite"] .quickbite-header-search .ui-icon {
  flex: none;
  width: 16px;
  height: 16px;
}

html[data-theme="quickbite"] .quickbite-header-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 16px;
}

html[data-theme="quickbite"] .quickbite-header-search input::placeholder {
  color: #6b7280;
}

html[data-theme="quickbite"] .top-actions {
  gap: 6px;
  padding-left: 0;
  flex-wrap: nowrap;
}

html[data-theme="quickbite"] .top-actions .icon-btn,
html[data-theme="quickbite"] .top-actions .btn,
html[data-theme="quickbite"] .top-actions .chip {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  box-shadow: none;
  flex: 0 0 40px;
  overflow: hidden;
}

html[data-theme="quickbite"] #searchFocusBtn {
  display: none !important;
}

html[data-theme="quickbite"] #openInfoBtn,
html[data-theme="quickbite"] #waiterCallBtn,
html[data-theme="quickbite"] #langBtn {
  font-size: 0;
  text-indent: 0;
}

html[data-theme="quickbite"] #openInfoBtn::before,
html[data-theme="quickbite"] #waiterCallBtn::before,
html[data-theme="quickbite"] #langBtn::before {
  content: none;
}

html[data-theme="quickbite"] #openInfoBtn .btn-label,
html[data-theme="quickbite"] #waiterCallBtn .btn-label,
html[data-theme="quickbite"] #langBtn .btn-label,
html[data-theme="quickbite"] #langBtn .chip-chevron {
  display: none;
}

html[data-theme="quickbite"] .top-actions .ui-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

html[data-theme="quickbite"] .hero,
html[data-theme="quickbite"] .hero.hero-collapsed {
  width: var(--container);
  margin: 0 auto;
}

html[data-theme="quickbite"] .slider-shell,
html[data-theme="quickbite"] .hero-toolbar {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html[data-theme="quickbite"] .category-strip {
  width: var(--container);
  margin: 0 auto;
  padding: 12px 16px;
  top: var(--header-height);
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(17, 24, 39, .05);
  backdrop-filter: none;
}

html[data-theme="quickbite"] .category-pill {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: .86rem;
  font-weight: 800;
}

html[data-theme="quickbite"] .category-pill.active {
  background: #da291c;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(218, 41, 28, .18);
}

html[data-theme="quickbite"] .content {
  width: var(--container);
  margin: 0 auto;
  padding: 16px 16px 104px;
  gap: 0;
}

html[data-theme="quickbite"] .list-shell {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="quickbite"] .list-header {
  display: none;
}

html[data-theme="quickbite"] #menuList.menu-list-grid,
html[data-theme="quickbite"] .menu-category-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}

html[data-theme="quickbite"] #menuList.menu-list-categorized {
  gap: 28px !important;
}

html[data-theme="quickbite"] .menu-category-section {
  gap: 12px;
  border-bottom: 0;
}

html[data-theme="quickbite"] .menu-category-head {
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

html[data-theme="quickbite"] .menu-category-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

html[data-theme="quickbite"] .menu-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .05);
  overflow: hidden;
  text-align: left;
}

html[data-theme="quickbite"] .menu-card:active {
  transform: translateY(1px);
}

html[data-theme="quickbite"] .card-image,
html[data-theme="quickbite"] .compact-image,
html[data-theme="quickbite"] .item-image,
html[data-theme="quickbite"] .img-rounded,
html[data-theme="quickbite"] .img-square,
html[data-theme="quickbite"] .img-circle {
  object-fit: cover !important;
  object-position: center center !important;
  background: #f9fafb;
}

html[data-theme="quickbite"] .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  margin-bottom: 12px;
}

html[data-theme="quickbite"] .card-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

html[data-theme="quickbite"] .card-name {
  color: #1f2937;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
}

html[data-theme="quickbite"] .card-desc {
  margin-top: 5px;
  color: #6b7280;
  font-size: .78rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[data-theme="quickbite"] .card-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

html[data-theme="quickbite"] .price,
html[data-theme="quickbite"] .item-price,
html[data-theme="quickbite"] .compact-price,
html[data-theme="quickbite"] .item-inline-price {
  color: #da291c;
  font-weight: 900;
}

html[data-theme="quickbite"] .infeed-banner {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 18px;
  background: #fff4cc;
}

html[data-theme="quickbite"] .empty-state {
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="quickbite"] .drawer-panel,
html[data-theme="quickbite"] .modal-card,
html[data-theme="quickbite"] .theme-popup__card,
html[data-theme="quickbite"] .welcome-screen__panel,
html[data-theme="quickbite"] .consent-banner {
  border-color: #f3f4f6;
  background: #ffffff;
}

html[data-theme="quickbite"] .modal-card {
  width: 100%;
  max-width: 100%;
}

html[data-theme="quickbite"] .option-row.active,
html[data-theme="quickbite"] .modal-accordion-btn[aria-expanded="true"],
html[data-theme="quickbite"] .lang-popover__item.is-active,
html[data-theme="quickbite"] .welcome-screen__lang-options .chip.is-active {
  background: #fff4cc;
  border-color: #ffc72c;
  color: #da291c;
}

html[data-theme="quickbite"] .btn.primary {
  background: #da291c;
  border-color: #da291c;
  color: #ffffff;
}

html[data-theme="quickbite"] .bottom-nav {
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(17, 24, 39, .05);
}

html[data-theme="quickbite"] .bnav-btn {
  position: relative;
  min-height: 62px;
  color: #9ca3af;
}

html[data-theme="quickbite"] .bnav-btn.active {
  color: #da291c;
}

html[data-theme="quickbite"] .bnav-btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 32px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: #da291c;
  transform: translateX(-50%);
}

html[data-theme="quickbite"] .floating-note {
  display: none;
}

@media (max-width: 420px) {
  html[data-theme="quickbite"] .topbar-inner {
    grid-template-columns: auto minmax(86px, 1fr) auto;
    gap: 8px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 10px 10px;
  }

  html[data-theme="quickbite"] .brand-logo,
  html[data-theme="quickbite"] .top-actions .icon-btn,
  html[data-theme="quickbite"] .top-actions .btn,
  html[data-theme="quickbite"] .top-actions .chip {
    width: 36px;
    height: 36px;
    min-height: 36px;
    flex-basis: 36px;
  }

  html[data-theme="quickbite"] .quickbite-header-search {
    min-height: 36px;
    padding: 0 10px;
  }

  html[data-theme="quickbite"] .top-actions {
    gap: 4px;
  }

  html[data-theme="quickbite"] .content {
    padding-inline: 12px;
  }

  html[data-theme="quickbite"] #menuList.menu-list-grid,
  html[data-theme="quickbite"] .menu-category-items {
    gap: 12px;
  }

  html[data-theme="quickbite"] .menu-card {
    padding: 10px;
    border-radius: 14px;
  }

  html[data-theme="quickbite"] .card-name {
    font-size: .84rem;
  }
}

@media (max-width: 340px) {
  html[data-theme="quickbite"] .topbar-inner {
    grid-template-columns: auto minmax(72px, 1fr) auto;
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  html[data-theme="quickbite"] .brand-logo,
  html[data-theme="quickbite"] .top-actions .icon-btn,
  html[data-theme="quickbite"] .top-actions .btn,
  html[data-theme="quickbite"] .top-actions .chip {
    width: 34px;
    height: 34px;
    min-height: 34px;
    flex-basis: 34px;
  }

  html[data-theme="quickbite"] .quickbite-header-search {
    min-height: 34px;
    padding: 0 8px;
    gap: 6px;
  }

  html[data-theme="quickbite"] .category-strip {
    padding-left: 10px;
    padding-right: 10px;
  }

  html[data-theme="quickbite"] .content {
    padding-left: 10px;
    padding-right: 10px;
  }
}

#bottomNav .bnav-btn[data-bnav="language"] {
  display: none;
}

/* ─── TEMA 23: THEHOUSE CAFE ───────────────────────────── */
html[data-theme="thehouse"] {
  color-scheme: light;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-soft: #f8f9fa;
  --border: #eef2f7;
  --border-strong: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #da291c;
  --primary-soft: #fff1f0;
  --success: #15803d;
  --danger: #b91c1c;
  --shadow-sm: 0 2px 12px -4px rgba(15, 23, 42, .10);
  --shadow-md: 0 20px 42px rgba(15, 23, 42, .18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: min(1100px, calc(100% - 32px));
  --header-height: 72px;
  --thehouse-slider-h: 224px;
  --thehouse-bottom-nav-h: calc(72px + env(safe-area-inset-bottom, 0px));
}

html[data-theme="thehouse"] body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100dvh;
  background: #f8f9fa;
}

html[data-theme="thehouse"] body.modal-open {
  overflow-y: auto;
}

html[data-theme="thehouse"] .topbar {
  background: #ffffff;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: none;
}

html[data-theme="thehouse"] .topbar-inner {
  width: var(--container);
  max-width: var(--container);
  min-height: var(--header-height);
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 16px;
  background: #ffffff;
  border-bottom: 0;
  color: #0f172a;
}

html[data-theme="thehouse"] .brand {
  width: 100%;
  gap: 9px;
  padding-right: 0;
}

html[data-theme="thehouse"] .brand-logo {
  display: none;
}

html[data-theme="thehouse"] .brand-logo--image {
  display: none;
}

html[data-theme="thehouse"] .brand-copy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

html[data-theme="thehouse"] .brand-title {
  max-width: 48%;
  color: #111827;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-theme="thehouse"] .brand-subtitle {
  display: block;
  max-width: 52%;
  color: #0f172a;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  white-space: normal;
}

html[data-theme="thehouse"] .top-actions {
  display: none;
  gap: 6px;
  padding-left: 0;
  flex-wrap: nowrap;
}

html[data-theme="thehouse"] .top-actions .icon-btn,
html[data-theme="thehouse"] .top-actions .btn,
html[data-theme="thehouse"] .top-actions .chip {
  width: 40px;
  height: 40px;
  min-height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

html[data-theme="thehouse"] #searchFocusBtn {
  background: transparent;
  color: #ffffff;
}

html[data-theme="thehouse"] body.thehouse-menu-active .topbar {
  background: #da291c;
}

html[data-theme="thehouse"] body.thehouse-menu-active .topbar-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  background: #da291c;
  color: #ffffff;
}

html[data-theme="thehouse"] body.thehouse-menu-active .brand-copy {
  display: grid;
  justify-content: start;
  gap: 0;
}

html[data-theme="thehouse"] body.thehouse-menu-active .brand-title {
  max-width: 220px;
  color: #ffffff;
  font-size: 1.02rem;
  text-transform: none;
}

html[data-theme="thehouse"] body.thehouse-menu-active .brand-subtitle {
  display: none;
}

html[data-theme="thehouse"] body.thehouse-menu-active .top-actions {
  display: flex;
}

html[data-theme="thehouse"] #openInfoBtn,
html[data-theme="thehouse"] #waiterCallBtn,
html[data-theme="thehouse"] #langBtn {
  display: none !important;
}

html[data-theme="thehouse"] #openInfoBtn .btn-label,
html[data-theme="thehouse"] #waiterCallBtn .btn-label,
html[data-theme="thehouse"] #langBtn .btn-label,
html[data-theme="thehouse"] #langBtn .chip-chevron {
  display: none;
}

html[data-theme="thehouse"] .top-actions .ui-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

html[data-theme="thehouse"] .thehouse-business-card {
  display: none !important;
}

html[data-theme="thehouse"] .thehouse-business-card__name {
  color: #111827;
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

html[data-theme="thehouse"] .thehouse-business-card__meta {
  margin-top: 8px;
  color: #6b7280;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[data-theme="thehouse"] #menuFlow {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #f8f9fa;
  overflow: visible;
}

html[data-theme="thehouse"] .hero,
html[data-theme="thehouse"] .hero.hero-collapsed {
  width: var(--container);
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 0;
  background: #f8f9fa;
}

html[data-theme="thehouse"] body.thehouse-menu-active .slider-shell {
  display: none !important;
}

html[data-theme="thehouse"] .thehouse-home {
  width: var(--container);
  max-width: var(--container);
  margin: 0 auto;
  height: auto;
  max-height: none;
  padding: 24px 16px calc(108px + env(safe-area-inset-bottom, 0px));
  background: #f8f9fa;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

html[data-theme="thehouse"] .thehouse-home::-webkit-scrollbar {
  display: none;
}

html[data-theme="thehouse"] .thehouse-home.hidden {
  display: none !important;
}

html[data-theme="thehouse"] .thehouse-home__head {
  margin-bottom: clamp(8px, 1.5dvh, 14px);
}

html[data-theme="thehouse"] .thehouse-home__title {
  margin: 0;
  color: #1e293b;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

html[data-theme="thehouse"] .thehouse-home__grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 12px;
}

html[data-theme="thehouse"] .thehouse-category-card {
  min-width: 0;
  min-height: 148px;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
  overflow: hidden;
  color: #0f172a;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease;
}

html[data-theme="thehouse"] .thehouse-category-card:active {
  transform: scale(.97);
}

html[data-theme="thehouse"] .thehouse-category-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  flex: none;
  object-fit: cover;
  object-position: center center;
  background: #f8fafc;
}

html[data-theme="thehouse"] .thehouse-category-card span {
  min-height: 52px;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 9px 7px;
  font-size: clamp(.62rem, 2.5vw, .72rem);
  font-weight: 900;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

html[data-theme="thehouse"] .slider-shell,
html[data-theme="thehouse"] .hero-toolbar {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html[data-theme="thehouse"] .slider-shell.hidden {
  display: none !important;
}

html[data-theme="thehouse"] .slides {
  min-height: 224px;
  height: 224px;
  max-height: 224px;
}

html[data-theme="thehouse"] .slide {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  background: #111827;
}

html[data-theme="thehouse"] .slide-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

html[data-theme="thehouse"] .slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .36));
}

html[data-theme="thehouse"] .slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

html[data-theme="thehouse"] .slide-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 0 16px 34px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .36);
}

html[data-theme="thehouse"] .slide-kicker {
  color: rgba(255, 255, 255, .82);
  font-size: .72rem;
  letter-spacing: .06em;
}

html[data-theme="thehouse"] .slide-title {
  max-width: 18ch;
  color: #ffffff;
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

html[data-theme="thehouse"] .slider-shell > .slider-controls {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 30px;
  padding: 0 16px 12px;
  border: 0;
  background: transparent;
  justify-content: center;
}

html[data-theme="thehouse"] .slider-arrow {
  display: none !important;
}

html[data-theme="thehouse"] .slider-dot {
  width: 7px;
  height: 7px;
  border: 0;
  background: rgba(255, 255, 255, .52);
}

html[data-theme="thehouse"] .slider-dot.active {
  width: 20px;
  background: #ffffff;
}

html[data-theme="thehouse"] .hero-toolbar {
  padding: 14px 16px;
  background: #da291c;
}

html[data-theme="thehouse"] .search-box {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
}

html[data-theme="thehouse"] .search-box input {
  font-size: 16px;
}

html[data-theme="thehouse"] .hero-toolbar .btn {
  border: 0;
  background: rgba(255, 255, 255, .18);
  color: #ffffff;
}

html[data-theme="thehouse"] .category-strip {
  width: var(--container);
  max-width: var(--container);
  margin: 0 auto;
  top: var(--header-height);
  padding: 14px 16px 15px;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: rgba(248, 249, 250, .96);
  box-shadow: none;
  backdrop-filter: none;
  overflow-y: visible;
}

html[data-theme="thehouse"] .category-pill {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 1px 6px rgba(15, 23, 42, .04);
}

html[data-theme="thehouse"] .category-pill.active {
  border-color: #da291c;
  background: #da291c;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(218, 41, 28, .18);
}

html[data-theme="thehouse"] .content {
  width: var(--container);
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 16px 108px;
  background: #f8f9fa;
  gap: 0;
  overflow: visible;
}

html[data-theme="thehouse"] .regulatory-card {
  width: var(--container);
  max-width: var(--container);
  margin: 0 auto 14px;
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, .08);
}

html[data-theme="thehouse"] .regulatory-card__eyebrow {
  color: #da291c;
}

html[data-theme="thehouse"] .regulatory-card__image {
  border-radius: 14px;
}

html[data-theme="thehouse"] .list-shell {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="thehouse"] #menuList,
html[data-theme="thehouse"] .menu-category-section,
html[data-theme="thehouse"] .menu-category-items {
  overflow: visible;
}

html[data-theme="thehouse"] .list-header {
  display: none;
}

html[data-theme="thehouse"] #menuList.menu-list-grid,
html[data-theme="thehouse"] .menu-category-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 14px;
  padding: 0;
}

html[data-theme="thehouse"] #menuList.menu-list-categorized {
  gap: 26px !important;
}

html[data-theme="thehouse"] .menu-category-section {
  gap: 14px;
  border-bottom: 0;
  scroll-margin-top: calc(var(--header-height) + 74px);
}

html[data-theme="thehouse"] .menu-category-head {
  padding: 2px 0 0;
  border-bottom: 0;
  background: transparent;
}

html[data-theme="thehouse"] .menu-category-title {
  color: #0f172a;
  font-size: 1.13rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

html[data-theme="thehouse"] .menu-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #edf1f5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
  overflow: hidden;
  text-align: left;
}

html[data-theme="thehouse"] .menu-card:active {
  transform: scale(.985);
}

html[data-theme="thehouse"] .card-image,
html[data-theme="thehouse"] .compact-image,
html[data-theme="thehouse"] .item-image,
html[data-theme="thehouse"] .img-rounded,
html[data-theme="thehouse"] .img-square,
html[data-theme="thehouse"] .img-circle {
  object-fit: cover !important;
  object-position: center center !important;
  background: #f8fafc;
}

html[data-theme="thehouse"] .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  margin: 0;
}

html[data-theme="thehouse"] .card-body {
  min-width: 0;
  min-height: 96px;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
}

html[data-theme="thehouse"] .card-name {
  color: #0f172a;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

html[data-theme="thehouse"] .card-desc {
  display: none;
}

html[data-theme="thehouse"] .card-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

html[data-theme="thehouse"] .price,
html[data-theme="thehouse"] .item-price,
html[data-theme="thehouse"] .compact-price,
html[data-theme="thehouse"] .item-inline-price {
  color: #da291c;
  font-size: .96rem;
  font-weight: 900;
  letter-spacing: 0;
}

html[data-theme="thehouse"] .tag {
  border-color: #fee2e2;
  background: #fff1f0;
  color: #b91c1c;
}

html[data-theme="thehouse"] .infeed-banner,
html[data-theme="thehouse"] .empty-state {
  grid-column: 1 / -1;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="thehouse"] .drawer-panel,
html[data-theme="thehouse"] .theme-popup__card,
html[data-theme="thehouse"] .welcome-screen__panel,
html[data-theme="thehouse"] .consent-banner {
  border-color: #eef2f7;
  background: #ffffff;
}

html[data-theme="thehouse"] .drawer-panel {
  width: min(360px, 88vw);
  border-radius: 0 18px 18px 0;
}

html[data-theme="thehouse"] .modal.active {
  display: grid;
  place-items: end center;
}

html[data-theme="thehouse"] .modal-backdrop {
  background: rgba(0, 0, 0, .60);
  backdrop-filter: blur(4px);
}

html[data-theme="thehouse"] .modal-card {
  inset: auto auto 0 auto;
  left: 50%;
  width: var(--container);
  max-width: 100%;
  height: auto;
  min-height: 96dvh;
  max-height: 98dvh;
  padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 28px 28px 0 0;
  background: #ffffff;
  box-shadow: 0 -24px 54px rgba(0, 0, 0, .24);
  overflow: auto;
  transform: translate(-50%, 28px);
}

html[data-theme="thehouse"] .modal.active .modal-card {
  transform: translate(-50%, 0);
}

html[data-theme="thehouse"] .modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 58px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

html[data-theme="thehouse"] .modal-title {
  color: #0f172a;
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-theme="thehouse"] .modal-head .icon-btn {
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
}

html[data-theme="thehouse"] .modal-body {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

html[data-theme="thehouse"] .modal-media-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

html[data-theme="thehouse"] .modal-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  background: #f8fafc;
}

html[data-theme="thehouse"] .modal-content-stack {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px 18px 4px;
}

html[data-theme="thehouse"] .modal-description {
  color: #64748b;
  font-size: .92rem;
  line-height: 1.65;
}

html[data-theme="thehouse"] .modal-option-list {
  display: none;
}

html[data-theme="thehouse"] .modal-accordion {
  width: 100%;
  min-width: 0;
  border-color: #eef2f7;
  border-radius: 14px;
  background: #ffffff;
}

html[data-theme="thehouse"] .modal-accordion-btn {
  min-height: 50px;
  padding: 12px 14px;
  font-size: .9rem;
  color: #0f172a;
}

html[data-theme="thehouse"] .modal-accordion-btn[aria-expanded="true"] {
  border-bottom-color: #fee2e2;
  background: #fff1f0;
  color: #da291c;
}

html[data-theme="thehouse"] .modal-nutrition-card {
  min-width: 0;
  border-color: #eef2f7;
  background: #f8fafc;
  box-shadow: none;
}

html[data-theme="thehouse"] .modal-accordion-body,
html[data-theme="thehouse"] .modal-nutrition-grid,
html[data-theme="thehouse"] .allergen-list {
  width: 100%;
  min-width: 0;
}

html[data-theme="thehouse"] .modal-nutrition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-theme="thehouse"] .modal-nutrition-card strong,
html[data-theme="thehouse"] .modal-nutrition-card span,
html[data-theme="thehouse"] .allergen-chip {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

html[data-theme="thehouse"] .allergen-chip {
  border-color: #fee2e2;
  background: #fff1f0;
  color: #b91c1c;
}

html[data-theme="thehouse"] .btn.primary,
html[data-theme="thehouse"] .lang-popover__item.is-active,
html[data-theme="thehouse"] .welcome-screen__lang-options .chip.is-active {
  border-color: #da291c;
  background: #da291c;
  color: #ffffff;
}

html[data-theme="thehouse"] .bottom-nav {
  left: 0;
  right: 0;
  width: 100%;
  min-height: 72px;
  padding: 0 30px env(safe-area-inset-bottom, 0px);
  border: 0;
  border-radius: 16px 16px 0 0;
  background: #050505;
  box-shadow: 0 -14px 32px rgba(15, 23, 42, .18);
  transform: none;
}

html[data-theme="thehouse"] #bottomNav .bnav-btn[data-bnav="search"],
html[data-theme="thehouse"] #bottomNav .bnav-btn[data-bnav="info"] {
  display: none;
}

html[data-theme="thehouse"] #bottomNav .bnav-btn[data-bnav="language"] {
  display: flex;
}

html[data-theme="thehouse"] .bnav-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 72px;
  color: #6b7280;
  font-weight: 700;
}

html[data-theme="thehouse"] .bnav-btn.active {
  color: #ffffff;
}

html[data-theme="thehouse"] .bnav-btn:active {
  background: transparent;
}

html[data-theme="thehouse"] .floating-note {
  display: none;
}

html[data-theme="thehouse"] .toast {
  left: 50%;
  right: auto;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100% - 32px));
  transform: translate(-50%, 18px);
}

html[data-theme="thehouse"] .toast.show {
  transform: translate(-50%, 0);
}

html[data-theme="thehouse"] .consent-banner {
  left: 50%;
  right: auto;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  width: min(388px, calc(100% - 24px));
  transform: translateX(-50%);
}

html[data-theme="thehouse"] .lang-popover {
  place-items: end center;
  padding: 24px 12px calc(88px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, .42);
}

html[data-theme="thehouse"] .lang-popover__panel {
  width: min(396px, 100%);
  max-height: min(420px, calc(100dvh - 130px));
  padding: 14px;
  border: 1px solid #eef2f7;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 -18px 48px rgba(0, 0, 0, .22);
  overflow: auto;
}

html[data-theme="thehouse"] .lang-popover__head {
  margin-bottom: 12px;
}

html[data-theme="thehouse"] .lang-popover__head strong {
  color: #0f172a;
  font-size: .98rem;
  font-weight: 900;
}

html[data-theme="thehouse"] .lang-popover__item {
  min-height: 46px;
  border-color: #eef2f7;
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 900;
}

html[data-theme="thehouse"] body.thehouse-menu-active,
html[data-theme="thehouse"] body.thehouse-menu-active #menuFlow,
html[data-theme="thehouse"] body.thehouse-menu-active .content,
html[data-theme="thehouse"] body.thehouse-menu-active .list-shell,
html[data-theme="thehouse"] body.thehouse-menu-active #menuList,
html[data-theme="thehouse"] body.thehouse-menu-active .menu-category-section,
html[data-theme="thehouse"] body.thehouse-menu-active .menu-category-items {
  height: auto !important;
  min-height: 0;
  max-height: none !important;
  overflow-y: visible !important;
}

html[data-theme="thehouse"] body.thehouse-menu-active {
  min-height: 100dvh;
  overflow-y: auto !important;
}

@supports (overflow: clip) {
  html[data-theme="thehouse"] body,
  html[data-theme="thehouse"] body.thehouse-menu-active,
  html[data-theme="thehouse"] body.thehouse-home-active {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
}

@media (max-width: 420px) {
  html[data-theme="thehouse"] {
    --thehouse-slider-h: 214px;
  }

  html[data-theme="thehouse"] .topbar-inner {
    gap: 8px;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 14px;
  }

  html[data-theme="thehouse"] .brand-title {
    max-width: 190px;
    font-size: 1rem;
  }

  html[data-theme="thehouse"] .brand-subtitle {
    display: none;
  }

  html[data-theme="thehouse"] .top-actions {
    gap: 5px;
  }

  html[data-theme="thehouse"] .top-actions .icon-btn,
  html[data-theme="thehouse"] .top-actions .btn,
  html[data-theme="thehouse"] .top-actions .chip {
    width: 38px;
    height: 38px;
    min-height: 38px;
    flex-basis: 38px;
  }

  html[data-theme="thehouse"] .thehouse-business-card {
    padding: 15px 16px 16px;
    border-radius: 0;
  }

  html[data-theme="thehouse"] .thehouse-business-card__meta {
    font-size: .74rem;
  }

  html[data-theme="thehouse"] .slides {
    min-height: 214px;
    height: 214px;
    max-height: 214px;
  }

  html[data-theme="thehouse"] .category-strip {
    padding-left: 12px;
    padding-right: 12px;
  }

  html[data-theme="thehouse"] .content {
    padding-left: 12px;
    padding-right: 12px;
  }

  html[data-theme="thehouse"] .thehouse-home {
    padding-left: 12px;
    padding-right: 12px;
  }

  html[data-theme="thehouse"] #menuList.menu-list-grid,
  html[data-theme="thehouse"] .menu-category-items {
    gap: 12px;
  }

  html[data-theme="thehouse"] .card-body {
    min-height: 92px;
    padding: 11px;
  }

  html[data-theme="thehouse"] .card-name {
    font-size: .72rem;
  }

  html[data-theme="thehouse"] .bottom-nav {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-height: 760px) {
  html[data-theme="thehouse"] {
    --header-height: 64px;
    --thehouse-slider-h: 166px;
  }

  html[data-theme="thehouse"] .topbar-inner {
    min-height: var(--header-height);
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    padding-bottom: 10px;
  }

  html[data-theme="thehouse"] .slides {
    min-height: var(--thehouse-slider-h);
    height: var(--thehouse-slider-h);
    max-height: var(--thehouse-slider-h);
  }

  html[data-theme="thehouse"] .thehouse-home {
    height: auto;
    max-height: none;
    padding-top: 18px;
  }

  html[data-theme="thehouse"] .thehouse-home__title {
    font-size: .96rem;
  }

}

@media (max-width: 340px) {
  html[data-theme="thehouse"] .topbar-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  html[data-theme="thehouse"] .brand-title {
    max-width: 160px;
    font-size: .94rem;
  }

  html[data-theme="thehouse"] .top-actions .icon-btn,
  html[data-theme="thehouse"] .top-actions .btn,
  html[data-theme="thehouse"] .top-actions .chip {
    width: 36px;
    height: 36px;
    min-height: 36px;
    flex-basis: 36px;
  }

  html[data-theme="thehouse"] .thehouse-business-card {
    padding-left: 12px;
    padding-right: 12px;
  }

  html[data-theme="thehouse"] .content {
    padding-left: 10px;
    padding-right: 10px;
  }

  html[data-theme="thehouse"] .thehouse-home {
    padding-left: 10px;
    padding-right: 10px;
  }

  html[data-theme="thehouse"] .category-strip {
    padding-left: 10px;
    padding-right: 10px;
  }

  html[data-theme="thehouse"] .card-body {
    padding: 10px;
  }

  html[data-theme="thehouse"] .modal-content-stack {
    padding-left: 12px;
    padding-right: 12px;
  }

  html[data-theme="thehouse"] .modal-card {
    min-height: 97dvh;
    max-height: 98dvh;
  }

  html[data-theme="thehouse"] .modal-nutrition-grid {
    gap: 7px;
  }

  html[data-theme="thehouse"] .modal-nutrition-card {
    min-height: 64px;
    padding: 9px;
  }
}


/* ─── RESPONSIVE WIDTH GUARDRAILS ──────────────────────── */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.topbar,
.topbar-inner,
#menuFlow,
.hero,
.slider-shell,
.hero-toolbar,
.category-strip,
.content,
.list-shell,
#menuList,
.menu-category-section,
.menu-category-items,
.menu-item,
.menu-card,
.menu-compact,
.drawer-panel,
.modal-card,
.theme-popup__card,
.welcome-screen__panel,
.consent-banner,
.bottom-nav {
  max-width: 100%;
  box-sizing: border-box;
}

.brand,
.brand-copy,
.top-actions,
.toolbar-row,
.search-box,
.list-header,
.item-main,
.item-title-row,
.card-body,
.compact-main,
.modal-body,
.modal-content-stack,
.modal-accordion,
.modal-accordion-body,
.modal-nutrition-grid,
.allergen-list,
.total-box {
  min-width: 0;
}

.brand-title,
.brand-subtitle,
.item-name,
.card-name,
.compact-name,
.menu-category-title,
.modal-title,
.modal-description,
.modal-accordion-row,
.option-row,
.tag,
.meta,
.price,
.item-price,
.compact-price,
.item-inline-price,
.btn,
.chip {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  html[data-theme] {
    --container: calc(100% - 16px);
  }

  .top-actions {
    max-width: 50vw;
  }

  .top-actions .btn-label,
  .top-actions .chip-chevron {
    min-width: 0;
  }

  body[data-card-style="grid"] #menuList,
  body[data-card-style="grid"] .menu-category-items {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  }
}

@media (max-width: 340px) {
  :root,
  html[data-theme] {
    --container: calc(100% - 12px);
  }

  .top-actions {
    max-width: 46vw;
    gap: 4px;
  }

  .category-pill {
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ─── RESPONSIVE SLIDER GUARDRails ─────────────────────── */
:root[data-slider-height="small"] .slider-shell {
  --slide-h: clamp(180px, 34vw, 280px);
}

:root[data-slider-height="medium"] .slider-shell {
  --slide-h: clamp(220px, 38vw, 420px);
}

:root[data-slider-height="large"] .slider-shell {
  --slide-h: clamp(260px, 42vw, 560px);
}

.slider-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.slider-shell .slides {
  width: 100%;
  max-width: 100%;
  min-height: var(--slide-h, clamp(220px, 32vw, 300px));
  height: var(--slide-h, clamp(220px, 32vw, 300px));
  max-height: var(--slide-h, clamp(220px, 32vw, 300px));
  overflow: hidden;
}

.slider-shell .slide {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0 !important;
  height: 100%;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  overflow: hidden;
}

.slider-shell .slide-copy,
.slider-shell .slide-media {
  min-width: 0;
  max-width: 100%;
}

.slider-shell .slide-media {
  min-height: 0 !important;
  max-height: none !important;
  height: 100%;
}

.slider-shell .slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slider-shell > .slider-controls {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 860px) {
  .slider-shell .slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .slider-shell .slide-copy {
    align-content: start;
  }
}

@media (max-width: 560px) {
  :root[data-slider-height="small"] .slider-shell {
    --slide-h: clamp(170px, 52vw, 240px);
  }

  :root[data-slider-height="medium"] .slider-shell {
    --slide-h: clamp(200px, 56vw, 300px);
  }

  :root[data-slider-height="large"] .slider-shell {
    --slide-h: clamp(230px, 62vw, 340px);
  }

  .slider-shell > .slider-controls {
    gap: 8px;
    padding: 10px;
  }

  .slider-arrow {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
  }
}

@media (max-width: 340px) {
  .slider-shell .slide-copy {
    padding: 12px;
  }

  .slider-shell .slide-title {
    font-size: 1rem;
  }
}

/* TheHouse 2 — minimal cizgi: ince kenarlik, yumusak golge, sari yildiz */
[data-theme="thehouse2"] .category-pill.is-active { background:#111111; border-color:#111111; color:#ffffff; }
[data-theme="thehouse2"] .rating, [data-theme="thehouse2"] .menu-item__rating { color:var(--accent); }
[data-theme="thehouse2"] .campaign-card__badge { background:#111111; color:#ffffff; }
[data-theme="thehouse2"] .menu-card, [data-theme="thehouse2"] .menu-item, [data-theme="thehouse2"] .menu-compact { border-color:var(--border); box-shadow:var(--shadow-sm); }
