:root {
  --primary: #c9a24b;
  --bg: #0e0e10;
  --card: #1a1a1d;
  --text: #f5f5f5;
  --muted: #9a9a9e;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: 90px;
}

img { max-width: 100%; display: block; }

.container { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Header / hero */
.hero {
  position: relative;
  padding: 48px 16px 32px;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(14,14,16,.95));
}
.hero-content { position: relative; z-index: 1; }
.hero .logo { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; }
.hero h1 { font-size: 28px; letter-spacing: 2px; color: var(--primary); }
.hero .desc { color: var(--muted); margin-top: 10px; font-size: 14px; max-width: 460px; margin-inline: auto; }
.hero .info { margin-top: 16px; font-size: 13px; color: var(--text); display: grid; gap: 4px; }
.hero .info a { color: var(--primary); text-decoration: none; }
.socials { display: flex; gap: 14px; justify-content: center; margin-top: 16px; }
.socials a { color: var(--text); font-size: 13px; border: 1px solid var(--primary); padding: 6px 14px; border-radius: 999px; text-decoration: none; }

/* Slider */
.slider { display: flex; gap: 12px; overflow-x: auto; padding: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.slider::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 85%; scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/7; background: var(--card); }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* Section tabs (верхний уровень) */
.section-tabs { position: sticky; top: 0; z-index: 11; display: flex; gap: 0; background: var(--bg); border-bottom: 1px solid #2a2a2e; }
.sec-tab { flex: 1; padding: 16px 8px; background: none; border: none; border-bottom: 2px solid transparent; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.sec-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Category tabs */
.tabs { position: sticky; top: 52px; z-index: 10; background: var(--bg); display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; border-bottom: 1px solid #2a2a2e; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--card); color: var(--muted); border: none; font-size: 14px; cursor: pointer; }
.tab.active { background: var(--primary); color: #000; font-weight: 600; }

/* Category */
.category { padding: 20px 0; }
.category h2 { font-size: 20px; margin-bottom: 14px; color: var(--primary); }

/* Item card */
.item { display: flex; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; }
.item-img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; background: #2a2a2e; flex-shrink: 0; }
.item-body { flex: 1; min-width: 0; }
.item-name { font-size: 16px; font-weight: 600; }
.item-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.item-price { font-weight: 700; color: var(--primary); }
.item-weight { font-size: 12px; color: var(--muted); }

/* Buttons */
.btn { background: var(--primary); color: #000; border: none; padding: 10px 18px; border-radius: 10px; font-weight: 600; cursor: pointer; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-add { padding: 8px 14px; font-size: 13px; }

.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 30px; height: 30px; border-radius: 8px; border: none; background: var(--primary); color: #000; font-size: 18px; cursor: pointer; }
.qty span { min-width: 18px; text-align: center; }

/* Floating cart bar */
.cartbar { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 688px; background: var(--primary); color: #000; border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; box-shadow: 0 8px 30px rgba(0,0,0,.4); cursor: pointer; z-index: 50; }
.cartbar.hidden { display: none; }

/* Unavailable */
.item.unavail { opacity: .45; }
.badge-unavail { font-size: 11px; color: #ff6b6b; }

/* Баннер категории */
.cat-banner{width:100%;border-radius:var(--radius);margin-bottom:14px;aspect-ratio:1273/671;object-fit:cover;}

/* Инфо-карточка (VIP залы — без картинки-плейсхолдера и без цены) */
.item-info{display:block}
.item-info .item-name{font-size:18px;color:var(--primary);}
.item-info .item-desc{margin-top:8px;font-size:14px;}

/* Информационная модалка (info) */
.info-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.info-modal-overlay.hidden { display: none; }
.info-modal { background: var(--card); border-radius: 18px; padding: 30px 24px 24px; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.info-icon { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; font-style: italic; font-family: Georgia, 'Times New Roman', serif; }
.info-text { color: var(--text); font-size: 15px; line-height: 1.55; margin-bottom: 12px; }
.info-text:last-of-type { margin-bottom: 22px; }
.info-agree { width: 100%; padding: 14px; font-size: 16px; }
