/* Shared color tokens keep the two versions structurally identical. */
:root {
  color-scheme: light;
  --page: #fff9ef;
  --text: #24251e;
  --accent: #bf3c25;
  --header-background: rgba(255,249,239,.97);
  --subtle-surface: #f8f1e5;
  --service-surface: #f5ecd9;
  --hover-surface: #f5ecda;
  --body-muted: #59574f;
  --tab-active-bg: #24251e;
  --tab-active-text: #fff9ef;
  --tab-active-muted: #ccc6b6;
  --secondary-button-bg: #24251e;
  --secondary-button-text: #fff9ef;
  --secondary-button-hover: #414237;
  --delivery-background: #bf3c25;
  --image-placeholder: #f1ddbd;
  --location-background: #24251e;
  --viber-color: #704bb4;
  --telegram-color: #197baf;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #161712;
  --text: #f6f0e3;
  --muted: #bdb8ab;
  --line: #3b3d32;
  --accent: #ff896c;
  --header-background: rgba(22,23,18,.97);
  --subtle-surface: #1d1f18;
  --service-surface: #24261e;
  --hover-surface: #2d3025;
  --body-muted: #c4bfb2;
  --tab-active-bg: #ffd458;
  --tab-active-text: #24251e;
  --tab-active-muted: #625019;
  --secondary-button-bg: #ffd458;
  --secondary-button-text: #24251e;
  --secondary-button-hover: #f2c342;
  --delivery-background: #7e2e21;
  --image-placeholder: #302e23;
  --location-background: #23251d;
  --viber-color: #bfa2f2;
  --telegram-color: #79c2ec;
}
body { background: var(--page); color: var(--text); }
.header { background: var(--header-background); }
.nav { background: var(--page); }
.nav a:after { background: var(--accent); }
.hero-description { color: var(--body-muted); }
.hero h1 em, h2 em, .service-panel h3 em,
.tiny-star, .hero-address>.icon, .ticker b, .detail-art { color: var(--accent); }
.text-link { border-color: var(--text); }
.meal-photo { background: var(--image-placeholder); }
.delivery-sticker { color: var(--ink); }
.ticker, .footer { background: var(--subtle-surface); }
.service-tab { color: var(--text); }
.service-tab:hover, .messenger-link:hover { background: var(--hover-surface); }
.service-tab[aria-selected=true] { background: var(--tab-active-bg); color: var(--tab-active-text); }
.tab-number { color: var(--muted); }
.service-tab[aria-selected=true] .tab-number { color: var(--tab-active-muted); }
.service-detail { background: var(--service-surface); }
.art-caption { color: var(--text); }
.art-small-circle { background: var(--accent); }
.button-dark { background: var(--secondary-button-bg); color: var(--secondary-button-text); }
.button-dark:hover { background: var(--secondary-button-hover); }
.button-telegram { background:transparent; color:var(--text); border-color:var(--line); }
.button-telegram>.icon { color:var(--telegram-color); }
.button-telegram:hover { background:var(--hover-surface); }
.delivery { background: var(--delivery-background); }
.delivery h2 em { color: var(--yellow); }
.location-card { background: var(--location-background); border: 1px solid var(--line); }
.big-phone:hover { color: var(--accent); }
.viber>.icon { color: var(--viber-color); }
.telegram>.icon { color: var(--telegram-color); }
.menu-toggle span { background: var(--text); }
.mobile-contact { background: var(--header-background); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.theme-control { display:none; position:relative; align-items:center; gap:7px; min-height:42px; flex-shrink:0; border:1px solid var(--line); border-radius:7px; padding:0 9px; }
.theme-ready .theme-control { display:flex; }
.theme-control:hover { background:var(--hover-surface); }
.theme-control:focus-within { outline:3px solid #368dbb; outline-offset:3px; }
.theme-control-icon { display:flex; width:17px; height:17px; flex-shrink:0; color:var(--text); }
.theme-control-icon svg { width:17px; height:17px; display:none; }
:root[data-theme-preference="system"] .theme-icon-system,
:root[data-theme-preference="light"] .theme-icon-light,
:root[data-theme-preference="dark"] .theme-icon-dark { display:block; }
.theme-control select { border:0; outline:0; font:inherit; font-size:11px; color:var(--text); background:transparent; cursor:pointer; padding:9px 2px; min-height:40px; max-width:132px; }
.theme-control option { background:var(--page); color:var(--text); }
.theme-control select:focus-visible { outline:0; }
@media (min-width:821px) and (max-width:1100px) {
  .header-inner { gap:17px; }
  .nav { gap:20px; }
  .theme-control { padding-inline:8px; gap:5px; }
  .theme-control select { font-size:10px; max-width:119px; }
}
@media (max-width:600px) {
  .header-phone { display:none; }
  .header-inner { gap:10px; }
  .theme-control { margin-left:auto; width:44px; height:44px; min-height:44px; padding:0; justify-content:center; }
  .theme-control-icon, .theme-control-icon svg { width:20px; height:20px; }
  .theme-control select { position:absolute; inset:0; width:100%; max-width:none; height:100%; min-height:44px; padding:0; opacity:0; }
  .menu-toggle { width:44px; height:44px; padding:10px; margin-left:0; }
  .menu-toggle span { width:22px; }
  .ticker span:before { color:var(--accent); }
}
@media print {
  :root, :root[data-theme="dark"] { color-scheme:light; --page:#fff; --text:#000; --muted:#555; --accent:#000; --service-surface:#fff; }
  .theme-control, .theme-ready .theme-control { display:none; }
  body, .delivery, .location-card { background:#fff; color:#000; }
  .service-detail { background:#fff; }
}

