/*
Theme Name: BestTickets
Theme URI: https://besttickets.bg/
Description: Каталог на събития с връзки към продавачите на билети. Събитията се показват като билети с цвят по категория; светла и тъмна тема; любими; филтри по дата, цена и град.
Version: 1.26.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: besttickets
*/

/* Шрифт: Sofia Sans (SIL OFL 1.1), файловете са в /fonts. */
@font-face {
  font-family: "Sofia Sans";
  src: url("fonts/sofia-sans.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans XCond";
  src: url("fonts/sofia-sans-xcond.woff") format("woff");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3f1f7;
  --surface: #ffffff;
  --surface-2: #e9e6f1;
  --ink: #16132d;
  --ink-2: #37324f;
  --muted: #5b5775;
  --line: #d9d5e6;
  --line-strong: #b9b3cf;
  --brand: #5a31f4;
  --brand-ink: #ffffff;
  --cta: #ffd23f;
  --cta-ink: #16132d;
  --night: #16132d;
  --night-2: #221d44;
  --on-night: #cdc8e4;
  --danger: #a3182c;
  --danger-bg: #fde9ec;
  --cat: #4a5370;
  --shadow: 0 1px 1px rgba(22, 19, 45, 0.08), 0 6px 16px rgba(22, 19, 45, 0.06);
  --text: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sofia Sans XCond", "Sofia Sans", "Arial Narrow", system-ui, sans-serif;
  --radius: 14px;
  /* съвместимост с приставката */
  --card: var(--surface);
  --ground: var(--bg);
  --accent: var(--cta);
  --link: var(--brand);
}
:root[data-theme="dark"] {
  --bg: #0f0d1f;
  --surface: #1b1833;
  --surface-2: #262245;
  --ink: #f2f0fa;
  --ink-2: #d8d4ea;
  --muted: #a8a3c5;
  --line: #322d54;
  --line-strong: #4a4474;
  --brand: #a994ff;
  --brand-ink: #16132d;
  --night: #0a0817;
  --night-2: #1b1833;
  --danger: #ff9aa8;
  --danger-bg: #3a1220;
  --shadow: 0 1px 1px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.bt-header :focus-visible, .bt-hero :focus-visible, .bt-footer :focus-visible { outline-color: var(--cta); }
[hidden] { display: none !important; }
.bt-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bt-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cta); color: var(--cta-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.bt-skip:focus { top: 12px; }
.bt-ico { flex: none; }
.bt-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cat); display: inline-block; flex: none; }
.bt-muted { color: var(--muted); font-size: 15px; }
#sadarzhanie { outline: 0; }

/* ---------- Бутони ---------- */
.bt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta); color: var(--cta-ink); border: 0; border-radius: 10px;
  min-height: 48px; padding: 0 22px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.bt-btn:hover { color: var(--cta-ink); background: #ffc400; }
.bt-ghost {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 10px; min-height: 44px; padding: 0 14px; font-weight: 700; text-decoration: none;
}
.bt-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Заглавна част ---------- */
.bt-header { background: var(--night); color: #fff; position: relative; z-index: 20; }
.bt-header-top { display: flex; align-items: center; gap: 16px 24px; padding-top: 14px; padding-bottom: 14px; }
.bt-logo { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.01em; color: #fff; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.bt-logo:hover { color: #fff; }
.bt-logo span { color: var(--cta); }
.bt-logo i { font-style: normal; font-weight: 600; opacity: 0.7; }
.bt-header-search { flex: 1 1 280px; max-width: 460px; display: flex; align-items: center; gap: 10px; background: var(--night-2); border: 1px solid #3a3466; border-radius: 10px; padding: 0 14px; color: var(--on-night); }
.bt-header-search:focus-within { border-color: var(--cta); }
.bt-header-search input { flex: 1; min-width: 0; min-height: 44px; background: transparent; border: 0; color: #fff; outline: 0; }
.bt-header-search input::placeholder { color: #a39dc4; }
.bt-header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bt-hbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 10px; background: transparent; border: 0; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; }
.bt-hbtn:hover { background: var(--night-2); color: #fff; }
.bt-fav-count { position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cta); color: var(--cta-ink); font-size: 12px; line-height: 18px; text-align: center; font-weight: 800; }
.bt-theme-sun { display: none; }
[data-theme="dark"] .bt-theme-sun { display: inline-flex; }
[data-theme="dark"] .bt-theme-moon { display: none; }
.bt-theme-moon { display: inline-flex; }
.bt-header-add { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; margin-left: 6px; border-radius: 10px; background: var(--cta); color: var(--cta-ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.bt-header-add:hover { color: var(--cta-ink); background: #ffc400; }

.bt-rail { border-top: 1px solid #2c2752; }
.bt-rail .bt-wrap { padding-right: 0; position: relative; }
.bt-rail .bt-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; background: linear-gradient(90deg, transparent, var(--night)); pointer-events: none; }
.bt-rail-list { list-style: none; margin: 0; padding: 0 24px 0 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bt-rail-list::-webkit-scrollbar { display: none; }
.bt-rail-list a { display: inline-flex; align-items: center; gap: 7px; padding: 13px 10px; color: var(--on-night); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; border-bottom: 3px solid transparent; }
.bt-rail-list li:first-child a { padding-left: 0; }
.bt-rail-list a:hover { color: #fff; }
.bt-rail-list a[aria-current], .bt-rail-list .current-menu-item > a { color: #fff; border-bottom-color: var(--cta); }
.bt-rail-list .bt-dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); width: 7px; height: 7px; }
.bt-rail-extra:first-of-type, li:not(.bt-rail-extra) + .bt-rail-extra { margin-left: auto; }

/* ---------- Форма за търсене ---------- */
.bt-search, .bt-filters { background: var(--surface); border-radius: var(--radius); padding: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.bt-filters { border: 1px solid var(--line); }
.bt-search--compact { border: 1px solid var(--line); }
.bt-field { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bt-field--wide { flex: 2 1 240px; }
.bt-field label { font-size: 14px; font-weight: 700; color: var(--muted); }
.bt-field input, .bt-field select {
  border: 1px solid var(--line-strong); border-radius: 10px; min-height: 48px; padding: 0 12px;
  color: var(--ink); background: var(--surface); width: 100%;
}
.bt-field input:focus, .bt-field select:focus { border-color: var(--brand); }
.bt-search .bt-btn, .bt-filters .bt-btn { flex: 1 1 130px; }

/* ---------- Начало ---------- */
.bt-hero { background: var(--night); color: #fff; }
.bt-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; padding-top: 44px; padding-bottom: 56px; align-items: start; }
.bt-hero-main { display: flex; flex-direction: column; gap: 24px; }
.bt-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 7.4vw, 104px); line-height: 0.9; text-transform: uppercase; letter-spacing: 0.005em; text-wrap: balance; }
.bt-hero-lead { font-size: 19px; color: var(--on-night); max-width: 56ch; }
.bt-hero .bt-search { color: var(--ink); }
.bt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-chips a { color: #fff; text-decoration: none; border: 1px solid #4a4474; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 16px; }
.bt-chips a:hover { border-color: var(--cta); color: var(--cta); }
.bt-hero-side { display: flex; flex-direction: column; gap: 14px; }
.bt-hero-side h2 { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: var(--cta); letter-spacing: 0.02em; }
.bt-hero-side .bt-tickets { grid-template-columns: 1fr; gap: 12px; }
.bt-hero-side .bt-ticket { filter: none; }

.bt-main { display: flex; flex-direction: column; gap: 64px; padding-top: 48px; padding-bottom: 80px; }
.bt-main--page { padding-top: 28px; gap: 28px; }
.bt-section { display: flex; flex-direction: column; gap: 20px; }
.bt-main--page > .bt-section { margin-top: 28px; }
.bt-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.bt-section-head h2, .bt-how h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 42px); text-transform: uppercase; letter-spacing: 0.01em; }
.bt-section-head a { font-weight: 700; }

/* ---------- Билет ---------- */
.bt-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: 20px; }
.bt-ticket { position: relative; filter: drop-shadow(0 1px 1px rgba(22, 19, 45, 0.1)) drop-shadow(0 5px 10px rgba(22, 19, 45, 0.06)); min-width: 0; }
[data-theme="dark"] .bt-ticket { filter: none; }
.bt-ticket-in {
  --notch: 92px;
  display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden;
  -webkit-mask: radial-gradient(circle 9px at 0 var(--notch), #0000 97%, #000) , radial-gradient(circle 9px at 100% var(--notch), #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 9px at 0 var(--notch), #0000 97%, #000) , radial-gradient(circle 9px at 100% var(--notch), #0000 97%, #000);
  mask-composite: intersect;
}
.bt-ticket-stub { flex: none; height: var(--notch); background: var(--cat); color: #fff; display: flex; align-items: center; gap: 12px; padding: 0 60px 0 18px; background-size: cover; background-position: center; }
.bt-ticket.has-img .bt-ticket-in { --notch: 150px; }
.bt-ticket.has-img .bt-ticket-stub { align-items: flex-end; padding-bottom: 12px; }
.bt-ticket-day { font-family: var(--display); font-weight: 800; font-size: 68px; line-height: 0.8; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.bt-ticket-when { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.bt-ticket-when b { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: 0.02em; }
.bt-ticket-when span { font-size: 14px; font-weight: 600; opacity: 0.95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-ticket-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 16px; border-top: 2px dashed var(--line-strong); min-width: 0; }
.bt-ticket-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.bt-ticket-cat { color: var(--cat); font-weight: 800; text-decoration: none; }
[data-theme="dark"] .bt-ticket-cat { color: var(--ink-2); }
.bt-ticket-title { font-size: 19px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.bt-ticket-title a { color: var(--ink); text-decoration: none; }
.bt-ticket-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.bt-ticket:hover .bt-ticket-title a { text-decoration: underline; text-decoration-thickness: 2px; }
.bt-ticket-place { color: var(--muted); font-size: 15px; }
.bt-ticket-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; color: var(--muted); }
.bt-ticket-foot strong { color: var(--ink); font-weight: 800; font-size: 16px; }
.bt-ticket.is-past .bt-ticket-stub { background-color: #5b5775; filter: grayscale(1); }
.bt-flag { background: var(--danger); color: #fff; font-size: 13px; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
[data-theme="dark"] .bt-flag { color: #16132d; }
.bt-flag--quiet { background: var(--surface-2); color: var(--ink-2); }
[data-theme="dark"] .bt-flag--quiet { color: var(--ink-2); }

.bt-fav { position: absolute; z-index: 2; top: 10px; right: 10px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.2); color: #fff; }
.bt-fav:hover { background: rgba(255, 255, 255, 0.34); }
.bt-fav[aria-pressed="true"] { background: #fff; color: #d42f45; }
.bt-fav[aria-pressed="true"] .bt-ico { fill: currentColor; }
.bt-fav--label { position: static; width: auto; height: auto; border-radius: 10px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.bt-fav--label:hover { background: var(--surface); }
.bt-fav--label[aria-pressed="true"] { background: var(--surface); color: #d42f45; border-color: #d42f45; }
[data-theme="dark"] .bt-fav--label[aria-pressed="true"] { color: #ff8a9a; border-color: #ff8a9a; }

/* Билет в ред: списъчен изглед и телефон */
.bt-tickets--list, .bt-tickets[data-view="list"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.bt-tickets--list .bt-ticket-in, .bt-tickets[data-view="list"] .bt-ticket-in {
  --notch: 108px; flex-direction: row;
  -webkit-mask: radial-gradient(circle 9px at var(--notch) 0, #0000 97%, #000) , radial-gradient(circle 9px at var(--notch) 100%, #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 9px at var(--notch) 0, #0000 97%, #000) , radial-gradient(circle 9px at var(--notch) 100%, #0000 97%, #000);
  mask-composite: intersect;
}
.bt-tickets--list .bt-ticket-stub, .bt-tickets[data-view="list"] .bt-ticket-stub { width: var(--notch); height: auto; min-height: 112px; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; padding: 12px 6px; }
.bt-tickets--list .bt-ticket-day, .bt-tickets[data-view="list"] .bt-ticket-day { font-size: 54px; }
.bt-tickets--list .bt-ticket-when, .bt-tickets[data-view="list"] .bt-ticket-when { max-width: 100%; }
.bt-tickets--list .bt-ticket-when b, .bt-tickets[data-view="list"] .bt-ticket-when b { font-size: 19px; }
.bt-tickets--list .bt-ticket-when span, .bt-tickets[data-view="list"] .bt-ticket-when span { font-size: 12.5px; white-space: normal; }
.bt-tickets--list .bt-ticket-body, .bt-tickets[data-view="list"] .bt-ticket-body { border-top: 0; border-left: 2px dashed var(--line-strong); padding: 12px 52px 12px 16px; }
.bt-tickets--list .bt-ticket-title, .bt-tickets[data-view="list"] .bt-ticket-title { font-size: 18px; }
.bt-tickets--list .bt-fav, .bt-tickets[data-view="list"] .bt-fav { top: 6px; right: 6px; background: transparent; color: var(--muted); }
.bt-tickets--list .bt-fav:hover, .bt-tickets[data-view="list"] .bt-fav:hover { background: var(--surface-2); }
.bt-tickets--list .bt-fav[aria-pressed="true"], .bt-tickets[data-view="list"] .bt-fav[aria-pressed="true"] { color: #d42f45; background: transparent; }

/* ---------- Следващите дни (от приставката) ---------- */
.bt-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bt-day { padding: 14px 14px 16px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); min-width: 0; }
.bt-day:first-child { border-left: 0; background: var(--cta); color: var(--cta-ink); }
.bt-day:hover { background: var(--surface-2); color: var(--ink); }
.bt-day:first-child:hover { background: #ffc400; color: var(--cta-ink); }
.bt-day-name { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.bt-day:first-child .bt-day-name, .bt-day:first-child .bt-day-count { color: var(--cta-ink); }
.bt-day strong { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.bt-day-count { font-size: 14px; color: var(--brand); font-weight: 800; margin-top: 4px; }
.bt-day--empty .bt-day-count { color: var(--muted); font-weight: 500; }
.bt-day--empty strong { color: var(--muted); }
.bt-day:first-child.bt-day--empty strong { color: var(--cta-ink); }

/* ---------- Категории ---------- */
.bt-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.bt-cat { background: var(--cat); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 2px; min-height: 132px; }
.bt-cat:hover { color: #fff; filter: brightness(1.12); }
.bt-cat .bt-ico { margin-bottom: auto; }
.bt-cat strong { font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.bt-cat span { font-size: 15px; font-weight: 600; opacity: 0.92; }

/* ---------- Градове ---------- */
.bt-cities { display: flex; flex-wrap: wrap; gap: 10px; }
.bt-cities a { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 999px; padding: 8px 8px 8px 18px; font-weight: 700; }
.bt-cities a:hover { border-color: var(--ink); color: var(--ink); }
.bt-cities span { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--night); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
[data-theme="dark"] .bt-cities span { background: var(--surface-2); }

/* ---------- Как работи ---------- */
.bt-how { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; gap: 24px; }
.bt-steps { list-style: none; counter-reset: bt-step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.bt-steps li { counter-increment: bt-step; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.bt-steps li::before { content: counter(bt-step); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 0.85; color: var(--brand); }
.bt-steps strong { font-size: 19px; font-weight: 800; }
.bt-steps span { color: var(--muted); }

/* ---------- Блог ---------- */
.bt-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.bt-post { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bt-post:hover { border-color: var(--line-strong); }
.bt-post-thumb { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.bt-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bt-post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.bt-post time { font-size: 14px; color: var(--muted); font-weight: 600; }
.bt-post h3 { font-size: 19px; font-weight: 800; line-height: 1.25; }
.bt-post h3 a { color: var(--ink); text-decoration: none; }
.bt-post h3 a::after { content: ""; position: absolute; inset: 0; }
.bt-post:hover h3 a { text-decoration: underline; }
.bt-post p { color: var(--muted); font-size: 15px; }

/* ---------- Каталог ---------- */
.bt-page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.bt-page-title { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; overflow-wrap: anywhere; }
.bt-page-head[style] .bt-page-title { box-shadow: inset 0 -0.16em 0 var(--cat); }
.bt-page-count { color: var(--muted); font-weight: 600; }
.bt-catchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 2px 24px; }
.bt-catchips::-webkit-scrollbar { display: none; }
.bt-catchips a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.bt-catchips a:hover { border-color: var(--ink); }
.bt-catchips a[aria-current] { background: var(--cat, var(--night)); border-color: transparent; color: #fff; }
.bt-catchips a:first-child[aria-current] { background: var(--night); }
[data-theme="dark"] .bt-catchips a:first-child[aria-current] { background: var(--ink); color: var(--bg); }
.bt-catchips a[aria-current] .bt-dot { background: #fff; }
.bt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.bt-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bt-active a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.bt-active a:hover { background: var(--line-strong); }
.bt-active .bt-active-clear { background: transparent; color: var(--brand); text-decoration: underline; padding: 0 4px; }
.bt-view { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin-left: auto; }
.bt-view button { width: 40px; height: 38px; border: 0; background: transparent; border-radius: 7px; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.bt-view button[aria-pressed="true"] { background: var(--night); color: #fff; }
[data-theme="dark"] .bt-view button[aria-pressed="true"] { background: var(--surface-2); }
.bt-pagination { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.bt-pagination a.page-numbers:hover { border-color: var(--ink); }
.bt-pagination .current { background: var(--night); color: #fff; border-color: var(--night); }
[data-theme="dark"] .bt-pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bt-empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bt-empty strong { font-size: 20px; }
.bt-empty p { color: var(--muted); max-width: 60ch; }
.bt-empty--big { padding: clamp(24px, 5vw, 56px); }
.bt-empty--big .bt-search { width: 100%; padding: 0; border: 0; }

/* ---------- Страница на събитие ---------- */
.bt-crumbs { font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.bt-crumbs a { color: var(--muted); font-weight: 600; }
.bt-crumbs a:hover { color: var(--ink); }
.bt-crumbs a + a::before { content: "/"; margin: 0 8px; color: var(--line-strong); display: inline-block; }
.bt-status-banner { background: var(--danger-bg); border: 1px solid var(--danger); color: var(--danger); border-radius: 10px; padding: 12px 16px; }
.bt-status-banner--quiet { background: var(--surface-2); border-color: var(--line-strong); color: var(--ink); }

.bt-bigticket {
  --notch: 232px;
  display: flex; background: var(--surface); border-radius: 18px; overflow: hidden; min-height: 250px;
  -webkit-mask: radial-gradient(circle 13px at var(--notch) 0, #0000 97%, #000) , radial-gradient(circle 13px at var(--notch) 100%, #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 13px at var(--notch) 0, #0000 97%, #000) , radial-gradient(circle 13px at var(--notch) 100%, #0000 97%, #000);
  mask-composite: intersect;
}
.bt-bigticket-stub { flex: none; width: var(--notch); background: var(--cat); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 14px; gap: 4px; }
.bt-bigticket.is-past .bt-bigticket-stub { background: #5b5775; }
.bt-bigticket-day { font-family: var(--display); font-weight: 800; font-size: 148px; line-height: 0.8; letter-spacing: -0.02em; }
.bt-bigticket-mon { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 8px; }
.bt-bigticket-dow { font-size: 16px; font-weight: 700; }
.bt-bigticket-body { flex: 1; min-width: 0; border-left: 3px dashed var(--line-strong); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.bt-bigticket h1 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; overflow-wrap: anywhere; text-wrap: balance; }
.bt-soon { background: var(--surface-2); color: var(--ink); font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.bt-bigticket-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
.bt-bigticket-facts li { display: flex; gap: 10px; align-items: flex-start; }
.bt-bigticket-facts .bt-ico { margin-top: 3px; color: var(--muted); }
.bt-bigticket-facts span::first-letter { text-transform: uppercase; }
.bt-bigticket-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.bt-menu-pop { position: relative; }
.bt-menu-pop summary { list-style: none; cursor: pointer; }
.bt-menu-pop summary::-webkit-details-marker { display: none; }
.bt-menu-pop > div { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 250px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bt-menu-pop > div a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.bt-menu-pop > div a:hover { background: var(--surface-2); }

.bt-event { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.bt-event-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.bt-event-image { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.bt-event-image img { width: 100%; }
.bt-content { color: var(--ink-2); max-width: 68ch; font-size: 18px; line-height: 1.6; }
.bt-content > * + * { margin-top: 0.9em; }
.bt-content h2, .bt-place h2, .bt-sellers h2 { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); line-height: 1; }
.bt-content h2 + * { margin-top: 12px; }
.bt-content h3 { font-size: 21px; font-weight: 800; color: var(--ink); }
.bt-content img { border-radius: 12px; }
.bt-content ul, .bt-content ol { padding-left: 1.3em; }
.bt-content blockquote { margin-left: 0; margin-right: 0; padding-left: 16px; border-left: 4px solid var(--brand); }
.bt-content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.bt-content th, .bt-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.bt-content iframe, .bt-content video { max-width: 100%; }
.bt-place { display: flex; flex-direction: column; gap: 12px; }
.bt-place-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bt-map { width: 100%; height: 320px; border: 1px solid var(--line-strong); border-radius: var(--radius); display: block; }
.bt-sellers { flex: 1 1 340px; position: sticky; top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.bt-seller { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bt-seller-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bt-seller-top strong { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.bt-seller-price { font-weight: 800; white-space: nowrap; }
.bt-source { font-size: 15px; color: var(--muted); }
.bt-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.bt-stickybar { display: none; }

/* ---------- Статии и страници ---------- */
.bt-article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.bt-article-head { display: flex; flex-direction: column; gap: 10px; }
.bt-article h1 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; max-width: 24ch; text-wrap: balance; }
.bt-article--page h1 { font-family: var(--display); font-size: clamp(38px, 5.4vw, 64px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; max-width: none; }
.bt-article-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 15px; font-weight: 600; }
.bt-article-image { border-radius: 12px; overflow: hidden; }
.bt-article-image img { width: 100%; }
.bt-article .bt-content { max-width: 70ch; }
.bt-article .bt-content--wide { max-width: none; font-size: 17px; }

/* ---------- Футър ---------- */
.bt-footer { background: var(--night); color: var(--on-night); }
.bt-footer .bt-wrap { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 32px; }
.bt-footer-cols { display: flex; flex-wrap: wrap; gap: 32px; }
.bt-footer-about { flex: 2 1 280px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; max-width: 420px; }
.bt-footer-col { flex: 1 1 150px; font-size: 16px; }
.bt-footer-col b { color: #fff; font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.bt-footer ul { list-style: none; margin: 6px 0 0; padding: 0; }
.bt-footer li a { display: block; padding: 6px 0; color: var(--on-night); text-decoration: none; }
.bt-footer li a:hover { color: #fff; text-decoration: underline; }
.bt-copy { font-size: 14px; border-top: 1px solid #2c2752; padding-top: 20px; }

/* ---------- Тесни екрани ---------- */
@media (max-width: 1020px) {
  .bt-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .bt-hero-side .bt-tickets { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
  .bt-header-search { display: none; }
  .bt-hbtn--text span, .bt-hbtn-label { display: none; }
  .bt-sellers { position: static; }
}
@media (max-width: 860px) {
  .bt-days { grid-template-columns: repeat(7, minmax(104px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .bt-days::-webkit-scrollbar { display: none; }
  .bt-stickybar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -6px 18px rgba(22, 19, 45, 0.12); transform: translateY(110%); transition: transform 0.2s ease; }
  .bt-stickybar.is-on { transform: none; }
  .bt-stickybar > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .bt-stickybar strong { font-weight: 800; }
  .bt-stickybar span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bt-main--event { padding-bottom: 120px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bt-wrap { padding: 0 16px; }
  .bt-header-top { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .bt-logo { font-size: 26px; }
  .bt-header-add span { display: none; }
  .bt-header-add { padding: 0; width: 44px; justify-content: center; }
  .bt-rail-list { padding-right: 16px; }
  .bt-rail-list a { padding: 11px 10px; font-size: 15px; }
  .bt-catchips { margin: 0 -16px; padding: 2px 16px; }
  .bt-hero-grid { padding-top: 28px; padding-bottom: 36px; }
  .bt-main { gap: 44px; padding-top: 32px; padding-bottom: 56px; }
  .bt-main--page { gap: 20px; padding-top: 20px; }
  .bt-search .bt-btn, .bt-filters .bt-btn { flex: 1 1 100%; }
  .bt-field { flex: 1 1 130px; }
  .bt-field--wide { flex: 1 1 100%; }
  .bt-view { display: none; }
  .bt-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-cat { min-height: 112px; }
  .bt-cat strong { font-size: 24px; }
  .bt-how { padding: 20px; }

  /* на телефон билетите са в ред */
  .bt-tickets { grid-template-columns: 1fr; gap: 12px; }
  .bt-tickets .bt-ticket-in {
    --notch: 96px; flex-direction: row;
    -webkit-mask: radial-gradient(circle 9px at var(--notch) 0, #0000 97%, #000) , radial-gradient(circle 9px at var(--notch) 100%, #0000 97%, #000);
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle 9px at var(--notch) 0, #0000 97%, #000) , radial-gradient(circle 9px at var(--notch) 100%, #0000 97%, #000);
    mask-composite: intersect;
  }
  .bt-tickets .bt-ticket-stub { width: var(--notch); height: auto; min-height: 108px; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; padding: 12px 4px; }
  .bt-tickets .bt-ticket-day { font-size: 50px; }
  .bt-tickets .bt-ticket-when { max-width: 100%; }
  .bt-tickets .bt-ticket-when b { font-size: 18px; }
  .bt-tickets .bt-ticket-when span { font-size: 12px; white-space: normal; }
  .bt-tickets .bt-ticket-body { border-top: 0; border-left: 2px dashed var(--line-strong); padding: 12px 48px 12px 14px; }
  .bt-tickets .bt-ticket-title { font-size: 17px; }
  .bt-tickets .bt-fav { top: 4px; right: 4px; background: transparent; color: var(--muted); }
  .bt-tickets .bt-fav[aria-pressed="true"] { color: #d42f45; background: transparent; }

  .bt-bigticket { flex-direction: column; min-height: 0;
    --notch: 104px;
    -webkit-mask: radial-gradient(circle 11px at 0 var(--notch), #0000 97%, #000) , radial-gradient(circle 11px at 100% var(--notch), #0000 97%, #000);
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle 11px at 0 var(--notch), #0000 97%, #000) , radial-gradient(circle 11px at 100% var(--notch), #0000 97%, #000);
    mask-composite: intersect;
  }
  .bt-bigticket-stub { width: auto; height: var(--notch); flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-content: center; text-align: left; padding: 0 20px; column-gap: 14px; row-gap: 0; }
  .bt-bigticket-day { font-size: 78px; grid-row: span 2; }
  .bt-bigticket-stub { display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .bt-bigticket-mon { font-size: 26px; margin: 0; align-self: end; }
  .bt-bigticket-dow { align-self: start; font-size: 15px; }
  .bt-bigticket-body { border-left: 0; border-top: 3px dashed var(--line-strong); }
  .bt-bigticket-actions .bt-btn { flex: 1 1 100%; }
  .bt-sellers { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bt-stickybar { transition: none; }
}
@media print {
  .bt-header, .bt-footer, .bt-stickybar, .bt-fav, .bt-bigticket-actions, .bt-place-actions { display: none !important; }
  body { background: #fff; }
}

/* ---------- Форми от приставката ---------- */
.bt-field textarea, .bt-submit textarea { border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px; color: var(--ink); background: var(--surface); width: 100%; min-height: 140px; }
.bt-submit input[type="checkbox"], .btc input[type="checkbox"] { accent-color: var(--brand); width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; }
.btc-heading { font-family: var(--display); text-transform: uppercase; }

/* ---------- Светла визия (1.3) ----------
   Важи само за светлата тема на браузъра; в тъмна тема сайтът остава както е. */
:root:not([data-theme="dark"]) .bt-light {
  --light-hero: #ffffff;
  --light-wash: #f6f4fb;
}
:root:not([data-theme="dark"]) .bt-light .bt-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
:root:not([data-theme="dark"]) .bt-light .bt-logo, :root:not([data-theme="dark"]) .bt-light .bt-logo:hover { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-light .bt-logo span { color: var(--brand); }
:root:not([data-theme="dark"]) .bt-light .bt-logo i { color: var(--muted); opacity: 1; }
:root:not([data-theme="dark"]) .bt-light .bt-header-search { background: var(--bg); border-color: var(--line); color: var(--muted); }
:root:not([data-theme="dark"]) .bt-light .bt-header-search:focus-within { border-color: var(--brand); }
:root:not([data-theme="dark"]) .bt-light .bt-header-search input { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-light .bt-header-search input::placeholder { color: var(--muted); }
:root:not([data-theme="dark"]) .bt-light .bt-hbtn { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-light .bt-hbtn:hover { background: var(--bg); color: var(--ink); }
:root:not([data-theme="dark"]) .bt-light .bt-rail { border-top-color: var(--line); background: #fff; }
:root:not([data-theme="dark"]) .bt-light .bt-rail .bt-wrap::after { background: linear-gradient(90deg, transparent, #fff); }
:root:not([data-theme="dark"]) .bt-light .bt-rail-list a { color: var(--ink-2); }
:root:not([data-theme="dark"]) .bt-light .bt-rail-list a:hover { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-light .bt-rail-list a[aria-current],
:root:not([data-theme="dark"]) .bt-light .bt-rail-list .current-menu-item > a { color: var(--ink); border-bottom-color: var(--brand); }
:root:not([data-theme="dark"]) .bt-light .bt-rail-list .bt-dot { box-shadow: none; width: 9px; height: 9px; }
:root:not([data-theme="dark"]) .bt-light .bt-header :focus-visible { outline-color: var(--brand); }

/* Начало: бяла сцена с лента от „билетни" цветове отдолу */
:root:not([data-theme="dark"]) .bt-light .bt-hero { background: var(--light-hero); color: var(--ink); position: relative; }
:root:not([data-theme="dark"]) .bt-light .bt-hero::after {
  content: ""; display: block; height: 10px;
  background: linear-gradient(90deg, #D42F45 0 14%, #A6246F 14% 28%, #8D5A00 28% 42%, #0B7D56 42% 56%, #0A6CBD 56% 70%, #C2255C 70% 84%, #9B1FB5 84% 100%);
  -webkit-mask: radial-gradient(circle 5px at 10px 0, #0000 97%, #000) 0 0 / 20px 100%;
  mask: radial-gradient(circle 5px at 10px 0, #0000 97%, #000) 0 0 / 20px 100%;
}
:root:not([data-theme="dark"]) .bt-light .bt-hero :focus-visible { outline-color: var(--brand); }
:root:not([data-theme="dark"]) .bt-light .bt-hero h1 { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-light .bt-hero-lead { color: var(--ink-2); }
:root:not([data-theme="dark"]) .bt-light .bt-hero .bt-search { background: var(--light-wash); border: 1px solid var(--line); }
:root:not([data-theme="dark"]) .bt-light .bt-hero .bt-field input,
:root:not([data-theme="dark"]) .bt-light .bt-hero .bt-field select { background: #fff; }
:root:not([data-theme="dark"]) .bt-light .bt-chips a { color: var(--ink); border-color: var(--line-strong); background: #fff; }
:root:not([data-theme="dark"]) .bt-light .bt-chips a:hover { border-color: var(--brand); color: var(--brand); }
:root:not([data-theme="dark"]) .bt-light .bt-hero-side { background: var(--light-wash); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
:root:not([data-theme="dark"]) .bt-light .bt-hero-side h2 { color: var(--brand); }
:root:not([data-theme="dark"]) .bt-light .bt-hero-side .bt-ticket-in { -webkit-mask: none; mask: none; }
:root:not([data-theme="dark"]) .bt-light .bt-hero-side .bt-ticket { filter: drop-shadow(0 1px 1px rgba(22, 19, 45, 0.08)) drop-shadow(0 4px 10px rgba(22, 19, 45, 0.06)); }
:root:not([data-theme="dark"]) .bt-light .bt-main { padding-top: 40px; }
@media (max-width: 640px) {
  :root:not([data-theme="dark"]) .bt-light .bt-hero-side { padding: 12px; }
}


/* ---------- Изчистена визия (1.4) ----------
   Спокоен шрифт без главни букви, бели повърхности, списъци вместо плакати. */
:root:not([data-theme="dark"]) .bt-clean {
  --bg: #f5f6f8;
  --line: #e3e5eb;
  --line-strong: #c9ccd6;
  --ink: #141824;
  --ink-2: #2f3442;
  --muted: #5c6170;
}
body.bt-clean { background: var(--bg); }
:root:not([data-theme="dark"]) .bt-clean .bt-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
:root:not([data-theme="dark"]) .bt-clean .bt-header .bt-logo, :root:not([data-theme="dark"]) .bt-clean .bt-header .bt-logo:hover { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-clean .bt-header .bt-logo span { color: var(--brand); }
:root:not([data-theme="dark"]) .bt-clean .bt-header .bt-logo i { color: var(--muted); opacity: 1; }
:root:not([data-theme="dark"]) .bt-clean .bt-header-search { background: var(--bg); border-color: var(--line); color: var(--muted); }
:root:not([data-theme="dark"]) .bt-clean .bt-header-search:focus-within { border-color: var(--brand); }
:root:not([data-theme="dark"]) .bt-clean .bt-header-search input { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-clean .bt-header-search input::placeholder { color: var(--muted); }
:root:not([data-theme="dark"]) .bt-clean .bt-hbtn { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-clean .bt-hbtn:hover { background: var(--bg); color: var(--ink); }
:root:not([data-theme="dark"]) .bt-clean .bt-rail { border-top-color: var(--line); background: #fff; }
:root:not([data-theme="dark"]) .bt-clean .bt-rail .bt-wrap::after { background: linear-gradient(90deg, transparent, #fff); }
:root:not([data-theme="dark"]) .bt-clean .bt-rail-list a { color: var(--ink-2); }
:root:not([data-theme="dark"]) .bt-clean .bt-rail-list a:hover { color: var(--ink); }
:root:not([data-theme="dark"]) .bt-clean .bt-rail-list a[aria-current],
:root:not([data-theme="dark"]) .bt-clean .bt-rail-list .current-menu-item > a { color: var(--ink); border-bottom-color: var(--brand); }
:root:not([data-theme="dark"]) .bt-clean .bt-rail-list .bt-dot { box-shadow: none; width: 9px; height: 9px; }
:root:not([data-theme="dark"]) .bt-clean .bt-header :focus-visible { outline-color: var(--brand); }


.bt-clean .bt-logo { font-size: 27px; }
.bt-clean .bt-header-add { background: var(--brand); color: #fff; }
.bt-clean .bt-header-add:hover { background: #4723d6; color: #fff; }
[data-theme="dark"] .bt-clean .bt-header-add { color: var(--brand-ink); }
.bt-clean .bt-rail-list a { font-size: 15px; font-weight: 600; padding-top: 11px; padding-bottom: 11px; }

/* Заглавия: нормален регистър, един шрифт */
.bt-clean .bt-section-head h2, .bt-clean .bt-how h2, .bt-clean .bt-page-title,
.bt-clean .bt-content h2, .bt-clean .bt-place h2, .bt-clean .bt-sellers h2,
.bt-clean .bt-article--page h1, .bt-clean .bt-footer-col b, .bt-clean .btc-heading {
  font-family: var(--text); text-transform: none; letter-spacing: -0.01em; line-height: 1.15;
}
.bt-clean .bt-page-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.bt-clean .bt-page-head[style] .bt-page-title { box-shadow: none; }
.bt-clean .bt-section-head h2, .bt-clean .bt-how h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.bt-clean .bt-content h2, .bt-clean .bt-place h2, .bt-clean .bt-sellers h2 { font-size: 22px; font-weight: 800; }
.bt-clean .bt-article--page h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.bt-clean .bt-footer-col b { font-size: 16px; font-weight: 800; }
.bt-clean .bt-filters, .bt-clean .bt-search { box-shadow: none; }

/* ---------- Начало ---------- */
.bt-c-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.bt-c-hero .bt-wrap { padding-top: 48px; padding-bottom: 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.bt-c-hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
.bt-c-lead { color: var(--muted); font-size: 18px; max-width: 60ch; }
.bt-c-search { margin-top: 10px; width: 100%; max-width: 820px; display: flex; align-items: stretch; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 6px; gap: 6px; box-shadow: 0 6px 22px rgba(20, 24, 36, 0.06); }
.bt-c-search:focus-within { border-color: var(--brand); }
.bt-c-search-q { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 12px; color: var(--muted); min-width: 0; }
.bt-c-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.bt-c-search input::placeholder { color: var(--muted); }
.bt-c-search select { flex: 0 0 190px; min-height: 48px; border: 0; border-left: 1px solid var(--line); padding: 0 12px; background: transparent; color: var(--ink); font-size: 16px; }
.bt-c-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; }
.bt-c-btn:hover { background: #4723d6; color: #fff; }
[data-theme="dark"] .bt-c-btn, [data-theme="dark"] .bt-c-btn:hover { color: var(--brand-ink); background: var(--brand); }
.bt-c-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bt-c-quick a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--bg); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid var(--line); }
.bt-c-quick a:hover { border-color: var(--brand); color: var(--brand); }

.bt-c-main { display: flex; flex-direction: column; gap: 48px; padding-top: 40px; padding-bottom: 72px; }
.bt-c-section { display: flex; flex-direction: column; gap: 16px; }
.bt-c-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bt-c-head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.01em; }
.bt-c-outline { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--brand); border-radius: 10px; color: var(--brand); font-weight: 700; text-decoration: none; font-size: 15px; }
.bt-c-outline:hover { background: var(--brand); color: #fff; }

.bt-c-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.bt-c-cats a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 68px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.bt-c-cats a:hover { border-color: var(--cat); box-shadow: 0 2px 10px rgba(20, 24, 36, 0.06); }
.bt-c-ico { flex: none; width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--cat); background: color-mix(in srgb, var(--cat) 13%, transparent); }
.bt-c-cat-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 700; font-size: 16px; line-height: 1.25; }
.bt-c-cat-name small { font-weight: 500; font-size: 14px; color: var(--muted); }
.bt-c-arrow { color: var(--muted); font-size: 18px; }
.bt-c-cats a:hover .bt-c-arrow { color: var(--cat); }

.bt-c-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.bt-c-days button { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); line-height: 1.2; }
.bt-c-days button span { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.bt-c-days button b { font-size: 22px; font-weight: 800; }
.bt-c-days button small { font-size: 13px; font-weight: 700; color: var(--brand); }
.bt-c-days button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bt-c-days button[aria-selected="true"] span, .bt-c-days button[aria-selected="true"] small { color: #fff; }
[data-theme="dark"] .bt-c-days button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
[data-theme="dark"] .bt-c-days button[aria-selected="true"] span, [data-theme="dark"] .bt-c-days button[aria-selected="true"] small { color: var(--brand-ink); }
.bt-c-days button:disabled { opacity: 0.45; cursor: default; }
.bt-c-days button:not(:disabled):not([aria-selected="true"]):hover { border-color: var(--ink); }
.bt-c-more { align-self: flex-start; margin-top: 4px; font-weight: 700; }
.bt-c-daypanel { display: flex; flex-direction: column; gap: 8px; }

.bt-rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bt-row { position: relative; display: grid; grid-template-columns: 64px 40px minmax(0, 1fr) auto 44px; align-items: center; gap: 12px; padding: 10px 8px 10px 16px; border-top: 1px solid var(--line); }
.bt-row:first-child { border-top: 0; }
.bt-row:hover { background: color-mix(in srgb, var(--cat) 5%, var(--surface)); }
.bt-row-when { display: flex; flex-direction: column; line-height: 1.2; }
.bt-row-when b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bt-row-when span { font-size: 13px; color: var(--muted); }
.bt-row-icon { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--cat); background: color-mix(in srgb, var(--cat) 13%, transparent); }
.bt-row-main { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.bt-row-title { color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bt-row-title::after { content: ""; position: absolute; inset: 0; }
.bt-row:hover .bt-row-title { text-decoration: underline; }
.bt-row-sub { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-row-sub .bt-flag { margin-right: 6px; }
.bt-row-price { font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--ink-2); }
.bt-fav.bt-row-fav { position: relative; z-index: 2; top: auto; right: auto; width: 40px; height: 40px; background: transparent; color: var(--muted); }
.bt-fav.bt-row-fav:hover { background: var(--bg); }
.bt-fav.bt-row-fav[aria-pressed="true"] { color: #d42f45; background: transparent; }
.bt-rows--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
.bt-rows--grid .bt-row { border-top: 1px solid var(--line); }
.bt-rows--grid .bt-row:first-child { border-top: 0; }
@media (min-width: 1100px) {
  .bt-rows--grid .bt-row:nth-child(2) { border-top: 0; }
  .bt-rows--grid .bt-row:nth-child(even) { border-left: 1px solid var(--line); }
}

.bt-c-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bt-c-cities a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.bt-c-cities a .bt-ico { color: var(--muted); }
.bt-c-cities a small { min-width: 28px; padding: 2px 8px; border-radius: 8px; background: var(--bg); color: var(--muted); font-weight: 700; font-size: 13px; text-align: center; }
.bt-c-cities a:hover { border-color: var(--ink); }

.bt-c-band { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); }
.bt-c-band h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.bt-c-band p { color: var(--ink-2); margin-top: 4px; }

@media (max-width: 760px) {
  .bt-c-hero .bt-wrap { padding-top: 28px; padding-bottom: 24px; align-items: stretch; text-align: left; }
  .bt-c-search { flex-wrap: wrap; }
  .bt-c-search-q { flex: 1 1 100%; border-bottom: 1px solid var(--line); }
  .bt-c-search select { flex: 1 1 auto; border-left: 0; }
  .bt-c-quick { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .bt-c-quick a { flex: none; }
  .bt-c-main { gap: 36px; padding-top: 28px; }
  .bt-c-cats { grid-template-columns: 1fr 1fr; }
  .bt-c-cats a { padding: 10px; gap: 10px; }
  .bt-c-arrow { display: none; }
  .bt-c-days { grid-template-columns: repeat(7, 64px); overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .bt-row { grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 10px; padding-left: 12px; }
  .bt-row-icon { display: none; }
  .bt-row-price { grid-column: 2; grid-row: 2; margin-top: -6px; font-size: 14px; }
  .bt-row-fav { grid-column: 3; grid-row: 1 / span 2; }
  .bt-c-band { padding: 22px; }
}

/* ---------- Визия „Доверие" (1.5) ----------
   Синьо за действията, тъмносиньо за текста, зелено само за „Безплатно".
   Всички текстове са с контраст поне 4,5:1, бутоните и рамките на полетата – поне 3:1. */
:root:not([data-theme="dark"]) .bt-clean {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --ink: #0f1a2e;
  --ink-2: #2b3a55;
  --muted: #556179;
  --line: #dfe4ec;
  --line-strong: #7d889c;
  --brand: #1f5edb;
  --brand-hover: #174bb3;
  --brand-soft: #eaf1fe;
  --brand-ink: #ffffff;
  --ok: #0b7a4b;
  --ok-bg: #e5f6ec;
  --night: #0e1e3d;
  --night-2: #16294f;
  --on-night: #c9d3e6;
  --cta: var(--brand);
  --cta-ink: #ffffff;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --link: var(--brand);
  --accent: var(--brand);
}
[data-theme="dark"] .bt-clean {
  --bg: #0b1220;
  --surface: #131c2e;
  --surface-2: #1b2740;
  --ink: #eef2f8;
  --ink-2: #d3dbe8;
  --muted: #a3aec2;
  --line: #26324a;
  --line-strong: #56647f;
  --brand: #7fa6ff;
  --brand-hover: #a3c0ff;
  --brand-soft: #1a2a4d;
  --brand-ink: #0b1220;
  --ok: #5fd39a;
  --ok-bg: #12301f;
  --night: #070c17;
  --night-2: #131c2e;
  --on-night: #c3cde0;
  --cta: var(--brand);
  --cta-ink: #0b1220;
  --link: var(--brand);
  --accent: var(--brand);
}
.bt-clean :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.bt-clean .bt-footer :focus-visible { outline-color: #9bbaff; }
/* Връзките в текст са сини; заглавията на събития, плочките и футърът остават в своя цвят */
.bt-clean .bt-content a, .bt-clean .bt-c-more, .bt-clean .bt-crumbs a:hover, .bt-clean .bt-empty a:not(.bt-btn), .bt-clean .bt-section-head a { color: var(--brand); }
.bt-clean .bt-row-title, .bt-clean .bt-c-cats a, .bt-clean .bt-c-cities a, .bt-clean .bt-ticket-title a { color: var(--ink); }
.bt-clean .bt-row:hover .bt-row-title, .bt-clean .bt-ticket:hover .bt-ticket-title a { color: var(--brand); }

/* Един цвят за действие навсякъде */
.bt-clean .bt-btn, .bt-clean .bt-c-btn { background: var(--brand); color: var(--brand-ink); }
.bt-clean .bt-btn:hover, .bt-clean .bt-c-btn:hover { background: var(--brand-hover); color: var(--brand-ink); }
.bt-clean .bt-header-add { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.bt-clean .bt-header-add:hover { background: var(--brand-soft); color: var(--brand); }
.bt-clean .bt-c-outline { border-color: var(--line-strong); color: var(--ink); }
.bt-clean .bt-c-outline:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.bt-clean .btc-cell.is-selected, .bt-clean .btc-pill.is-selected, .bt-clean .btc-actions button[data-today],
.bt-clean .btc-cell.is-selected .btc-num, .bt-clean .btc-cell.is-selected.is-today .btc-num::after { color: var(--cta-ink); }

/* Заглавна част и футър */
:root:not([data-theme="dark"]) .bt-clean .bt-header .bt-logo span { color: var(--brand); }
.bt-clean .bt-footer .bt-logo span { color: #9bbaff; }
.bt-clean .bt-copy { border-top-color: rgba(255, 255, 255, 0.14); }
.bt-clean .bt-fav-count { background: var(--brand); color: var(--brand-ink); }
:root:not([data-theme="dark"]) .bt-clean .bt-rail-list a[aria-current] { border-bottom-color: var(--brand); color: var(--brand); }

/* Начало: подравнено вляво, за да се чете отгоре надолу */
.bt-c-hero { background: linear-gradient(180deg, var(--surface) 0, var(--surface) 70%, var(--bg) 100%); }
.bt-c-hero .bt-c-hero-in { align-items: flex-start; text-align: left; padding-top: 44px; padding-bottom: 36px; gap: 12px; }
.bt-c-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.bt-c-lead { color: var(--ink-2); max-width: 62ch; }
.bt-c-search { max-width: 860px; margin-top: 8px; border-color: var(--line-strong); }
.bt-c-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.bt-c-quick { justify-content: flex-start; }
.bt-c-quick a { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.bt-c-quick a:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.bt-c-trust { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 15px; }
.bt-c-trust li { display: inline-flex; align-items: center; gap: 8px; }
.bt-c-trust .bt-ico { color: var(--ok); }

/* Плочки, дни, редове */
.bt-c-cats a { border-color: var(--line); }
.bt-c-cats a:hover { border-color: var(--cat); box-shadow: 0 4px 14px rgba(15, 26, 46, 0.07); }
.bt-c-days button { border-color: var(--line); }
.bt-c-days button small { color: var(--brand); }
.bt-c-days button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.bt-c-days button[aria-selected="true"] span, .bt-c-days button[aria-selected="true"] small { color: var(--brand-ink); }
.bt-c-days button:not(:disabled):not([aria-selected="true"]):hover { border-color: var(--brand); }
.bt-rows { box-shadow: 0 1px 2px rgba(15, 26, 46, 0.04); }
.bt-row:hover { background: var(--brand-soft); }
.bt-row-price.is-free { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 14px; }

/* Как работи: истинска последователност, затова с номера */
.bt-c-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.bt-c-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink-2); }
.bt-c-steps b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.bt-c-steps span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.bt-c-steps strong { color: var(--ink); font-size: 17px; }
.bt-c-band { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }

/* Страница на събитие и каталог */
.bt-clean .bt-seller { border-color: var(--line); }
.bt-clean .bt-seller-price { color: var(--ink); }
.bt-clean .bt-catchips a[aria-current] { background: var(--brand); color: var(--brand-ink); }
.bt-clean .bt-view button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.bt-clean .bt-pagination .current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.bt-clean .bt-active a { background: var(--brand-soft); color: var(--brand); }

@media (max-width: 760px) {
  .bt-c-hero .bt-c-hero-in { padding-top: 26px; padding-bottom: 24px; }
  .bt-c-trust { flex-direction: column; gap: 6px; }
  .bt-c-hero .bt-c-quick { align-self: stretch; }
  .bt-row-price.is-free { padding: 1px 8px; }
}
[data-theme="dark"] .bt-clean .bt-header-add, [data-theme="dark"] .bt-clean .bt-header-add:hover { color: var(--brand); background: transparent; }
[data-theme="dark"] .bt-clean .bt-c-ico, [data-theme="dark"] .bt-clean .bt-row-icon { color: color-mix(in srgb, var(--cat) 45%, #ffffff); background: color-mix(in srgb, var(--cat) 22%, transparent); }


/* ---------- Празнична визия (1.6) ----------
   Синя горна част. Останалото е сдържано –
   леко син фон и плочки в цвета на категорията. */
:root:not([data-theme="dark"]) .bt-clean { --bg: #eef3fc; --line: #d9e1ee; }
.bt-c-hero {
  position: relative; border-bottom: 0;
  background: radial-gradient(1200px 400px at 85% -10%, #3b74f0 0, transparent 60%), #1846b5;
  color: #fff;
}
.bt-c-hero .bt-c-hero-in { padding-top: 44px; padding-bottom: 44px; }
.bt-c-hero h1 { color: #fff; }
.bt-c-lead { color: #dfe8ff; }
.bt-c-search { border-color: transparent; box-shadow: 0 10px 30px rgba(6, 20, 60, 0.28); }
.bt-c-hero .bt-c-search { background: #fff; }
.bt-c-hero .bt-c-search input, .bt-c-hero .bt-c-search select { color: #0f1a2e; }
.bt-c-hero .bt-c-search-q, .bt-c-hero .bt-c-search input::placeholder { color: #556179; }
.bt-c-hero .bt-c-search select { border-left-color: #dfe4ec; }
.bt-c-hero .bt-c-btn { background: #ffb020; color: #1a1300; }
.bt-c-hero .bt-c-btn:hover { background: #ffc24d; color: #1a1300; }
.bt-c-hero .bt-c-quick a { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.bt-c-hero .bt-c-quick a:hover { background: #fff; border-color: #fff; color: #1846b5; }
.bt-c-trust { color: #e6edff; }
.bt-c-trust .bt-ico { color: #7ee2a8; }
.bt-c-hero :focus-visible { outline-color: #ffb020; }

/* Категориите в своя цвят */
.bt-c-cats a { background: color-mix(in srgb, var(--cat) 9%, var(--surface)); border-color: color-mix(in srgb, var(--cat) 28%, transparent); }
.bt-c-cats a:hover { background: color-mix(in srgb, var(--cat) 15%, var(--surface)); border-color: var(--cat); }
.bt-c-ico { background: var(--cat); color: #fff; }
[data-theme="dark"] .bt-clean .bt-c-ico { background: var(--cat); color: #fff; }

/* Днешният ден в топъл цвят, избраният – в синьо */
.bt-c-days button:first-child:not([aria-selected="true"]) { border-color: #ffb020; }
.bt-c-band { background: #fff1c7; border-color: #f5d27a; }
.bt-c-band h2, .bt-c-band p { color: #2a2208; }
[data-theme="dark"] .bt-c-band { background: #2a2410; border-color: #5c4a14; }
[data-theme="dark"] .bt-c-band h2, [data-theme="dark"] .bt-c-band p { color: #fbefcf; }
.bt-c-steps b { background: #1846b5; color: #fff; }
[data-theme="dark"] .bt-c-hero { background: radial-gradient(1200px 400px at 85% -10%, #24427f 0, transparent 60%), #0f2150; }
@media (max-width: 760px) {
  .bt-c-hero .bt-c-hero-in { padding-top: 32px; }
}

/* ---------- Градски страници (1.7) ---------- */
.bt-crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.bt-crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.bt-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.bt-crumbs li span[aria-current] { color: var(--ink); font-weight: 600; }
.bt-seo-intro { max-width: 820px; margin: 4px 0 18px; color: var(--ink-2, var(--ink)); font-size: 17px; line-height: 1.6; }
.bt-seo-intro p { margin: 0 0 10px; }
.bt-seo-own { margin-bottom: 10px; }
.bt-catchips small { font-weight: 600; font-size: 13px; color: var(--muted); }
.bt-catchips a[aria-current] small { color: rgba(255, 255, 255, 0.85); }
.bt-catchips--seo { margin-bottom: 18px; }
.bt-catchips--seo .bt-ico { color: var(--muted); }
.bt-seo-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 40px; }
.bt-seo-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.bt-seo-box h2 { font-size: 20px; margin: 0 0 12px; }
.bt-seo-box ul { list-style: none; margin: 0; padding: 0; }
.bt-seo-box li { padding: 7px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bt-seo-box li:first-child { border-top: 0; }
.bt-seo-box li a { color: var(--ink); font-weight: 600; text-decoration: none; }
.bt-seo-box li a:hover { color: var(--brand); text-decoration: underline; }
.bt-seo-box small { color: var(--muted); white-space: nowrap; }
.bt-seo-faq { grid-column: 1 / -1; }
.bt-seo-faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.bt-seo-faq details:first-of-type { border-top: 0; }
.bt-seo-faq summary { cursor: pointer; font-weight: 700; }
.bt-seo-faq p { margin: 8px 0 0; color: var(--ink-2, var(--ink)); }
.bt-seo-faq a { color: var(--brand); }
.bt-region { margin-bottom: 16px; }
.bt-seo-cities--count { columns: 3 220px; column-gap: 32px; }
.bt-seo-cities--count li { break-inside: avoid; }
/* Бутон „Близо до мен“ */
.bt-near { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.bt-near:hover { border-color: var(--brand); color: var(--brand); }
.bt-near.bt-btn { border-radius: 10px; background: var(--brand); color: #fff; border-color: transparent; min-height: 46px; padding: 0 18px; }
.bt-c-hero .bt-near { background: #ffb020; border-color: #ffb020; color: #1a1300; }
.bt-c-hero .bt-near:hover { background: #ffc24d; color: #1a1300; }
.bt-near[aria-busy="true"] { opacity: .7; cursor: progress; }
.bt-near-msg { display: block; margin-top: 8px; font-size: 14px; }
.bt-c-hero .bt-near-msg { color: #e6edff; }
@media (max-width: 760px) {
  .bt-seo-more { grid-template-columns: 1fr; }
  .bt-seo-intro { font-size: 16px; }
}
.bt-seo-wide { grid-column: 1 / -1; }
.bt-seo-cities--cols { columns: 3 240px; column-gap: 32px; }
.bt-seo-cities--cols li { break-inside: avoid; }
.bt-seo-cities--cols li:first-child { border-top: 1px solid var(--line); }
.bt-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.bt-regions .bt-region { margin: 0; }
.bt-near { white-space: nowrap; flex: none; }

/* ---------- „Вашият град“ (1.8) ---------- */
.bt-mycity { margin: 0 0 16px; max-width: 860px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.bt-mycity-line { margin: 0 0 10px; font-size: 18px; line-height: 1.45; }
.bt-mycity-line span { color: #dfe8ff; }
.bt-mycity-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-mycity-btns a, .bt-mycity-btns button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; background: #fff; color: #1846b5; border: 1px solid #fff; }
.bt-mycity-btns a.is-main { background: #ffb020; border-color: #ffb020; color: #1a1300; }
.bt-mycity-btns button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.bt-mycity-btns a:hover { background: #ffe2a3; border-color: #ffe2a3; color: #1a1300; }
.bt-mycity-btns button:hover { background: rgba(255, 255, 255, 0.15); }
.bt-mycity :focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; }

/* ---------- Карта в /gradove/ ---------- */
.bt-map-bg { margin: 8px 0 24px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.bt-map-bg > svg { display: block; width: 100%; height: auto; }
.bt-map-land { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; }
.bt-map-pt circle { fill: var(--brand); fill-opacity: .85; stroke: #fff; stroke-width: 2; transition: fill .15s; }
.bt-map-pt text { font: 700 27px/1 inherit; font-family: inherit; fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.bt-map-pt text tspan { font-weight: 600; fill: var(--muted); }
.bt-map-pt:hover circle, .bt-map-pt:focus circle { fill: #ffb020; fill-opacity: 1; }
.bt-map-pt:hover text { fill: var(--brand); }
.bt-map-pt:focus { outline: none; }
.bt-map-pt:focus-visible circle { stroke: var(--ink); stroke-width: 3; }
.bt-map-bg figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
[data-theme="dark"] .bt-map-land { fill: #17264a; stroke: #7fa6ff; }
[data-theme="dark"] .bt-map-pt circle { stroke: #0b1220; }
@media (max-width: 760px) {
  .bt-map-pt text { font-size: 27px; stroke-width: 6px; }
  .bt-map-pt:not(.is-label) text { display: none; }
  .bt-mycity-line { font-size: 16px; }
}
.bt-map-bg { max-width: 980px; }
@media (max-width: 760px) { .bt-map-pt text { font-size: 27px; stroke-width: 6px; } }
.bt-c-section .bt-map-bg { max-width: none; margin: 0 0 16px; }
.bt-c-geo { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.bt-c-geo .bt-map-bg { margin: 0; }
.bt-c-geo .bt-c-cities { align-content: start; }
@media (max-width: 900px) {
  .bt-c-geo { grid-template-columns: 1fr; }
  .bt-c-geo .bt-map-bg figcaption { display: none; }
}

/* ---------- Събори и празници (1.9) ---------- */
.bt-sabor { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; align-items: start; }
.bt-sabor-main, .bt-sabor-side { display: grid; gap: 16px; }
.bt-sabor-years li { justify-content: flex-start; gap: 16px; }
.bt-sabor-years b { min-width: 52px; font-size: 18px; }
.bt-sabor-note { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.bt-sabor-note a, .bt-sabor-check a, .bt-sabori-more a { color: var(--brand); }
.bt-sabor-check p { margin: 0 0 6px; }
.bt-btn--static { cursor: default; background: var(--ok, #0b7a4b); }
.bt-btn--static:hover { background: var(--ok, #0b7a4b); }
.bt-sabori-more { margin: 12px 0 0; font-weight: 700; }
.bt-sabori-month { margin-top: 28px; }
@media (max-width: 860px) { .bt-sabor { grid-template-columns: 1fr; } }
.bt-free { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; font-weight: 700; background: var(--ok-bg, #e5f6ec); color: var(--ok, #0b7a4b); border: 1px solid currentColor; }
[data-theme="dark"] .bt-free { background: #0f2a1d; color: #7ee2a8; }
.bt-sabori-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #B4530A 8%, var(--surface)); border: 1px solid color-mix(in srgb, #B4530A 30%, transparent); }
.bt-sabori-strip b { display: inline-flex; align-items: center; gap: 6px; color: #8a3f07; margin-right: 4px; }
.bt-sabori-strip a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.bt-sabori-strip a:hover { border-color: #B4530A; color: #8a3f07; }
.bt-sabori-strip small { color: var(--muted); font-weight: 600; }
[data-theme="dark"] .bt-sabori-strip b { color: #f5b77a; }

/* ---------- Иконка и компактен билет на телефон (1.9.3) ---------- */
.bt-ticket-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); color: #fff; flex: none; }
.bt-m-short { display: none; }
.bt-ticket-foot strong.is-free { color: var(--ok, #0b7a4b); }
.bt-ticket-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bt-ticket-place { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
  .bt-tickets { gap: 10px; }
  .bt-tickets .bt-ticket-in { --notch: 74px; }
  .bt-tickets .bt-ticket-stub { min-height: 0; gap: 2px; padding: 10px 2px; }
  .bt-tickets .bt-ticket-ico { width: 26px; height: 26px; margin-bottom: 4px; }
  .bt-tickets .bt-ticket-ico .bt-ico { width: 16px; height: 16px; }
  .bt-tickets .bt-ticket-day { font-size: 32px; }
  .bt-tickets .bt-ticket-when b { font-size: 13px; letter-spacing: 0.04em; }
  .bt-tickets .bt-m-long, .bt-tickets .bt-dow { display: none; }
  .bt-tickets .bt-m-short { display: inline; }
  .bt-tickets .bt-ticket-when span { font-size: 12.5px; }
  .bt-tickets .bt-ticket-body { gap: 3px; padding: 10px 44px 10px 12px; }
  .bt-tickets .bt-ticket-meta { font-size: 12.5px; }
  .bt-tickets .bt-ticket-title { font-size: 16px; line-height: 1.25; -webkit-line-clamp: 2; }
  .bt-tickets .bt-ticket-place { font-size: 13.5px; -webkit-line-clamp: 1; display: block; white-space: nowrap; text-overflow: ellipsis; }
  .bt-tickets .bt-ticket-foot { padding-top: 2px; font-size: 13px; }
  .bt-tickets .bt-ticket-foot strong { font-size: 14px; }
  .bt-tickets .bt-fav { width: 36px; height: 36px; }
}
.bt-filters-toggle { display: none; }
@media (max-width: 760px) {
  .bt-filters-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin: 4px 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
  .bt-filters-toggle b { min-width: 22px; height: 22px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
  .bt-filters-toggle[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
  .bt-filters:not(.is-open) { display: none; }
  .bt-toolbar { margin-top: 0; }
}
.bt-more-btn { display: none; }
@media (max-width: 760px) {
  .bt-toolbar { margin: 0 0 8px; }
  .bt-toolbar:not(:has(.bt-active a)) { display: none; }
  .bt-seo-intro.is-clamped p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
  .bt-seo-intro.is-clamped .bt-seo-own { display: none; }
  .bt-more-btn { display: inline; border: 0; background: none; padding: 0; color: var(--brand); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
  .bt-seo-intro { margin-bottom: 14px; }
}
.bt-free-tag, .bt-row-price.is-free, .bt-free { text-transform: uppercase; letter-spacing: 0.04em; }
.bt-free-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg, #e5f6ec); color: var(--ok, #0b7a4b); font-weight: 800; font-size: 13px; }
[data-theme="dark"] .bt-free-tag { background: #0f2a1d; color: #7ee2a8; }
/* Телефон: билетите от край до край */
@media (max-width: 760px) {
  .bt-tickets { margin-left: -16px; margin-right: -16px; gap: 0; border-top: 1px solid var(--line); }
  .bt-tickets .bt-ticket { filter: none; border-bottom: 1px solid var(--line); }
  .bt-tickets .bt-ticket-in { border-radius: 0; -webkit-mask: none; mask: none; --notch: 76px; }
  .bt-tickets .bt-ticket-title a::after { border-radius: 0; }
  .bt-tickets .bt-ticket-body { border-left: 0; padding: 10px 46px 10px 12px; }
  .bt-tickets .bt-ticket-stub { padding: 10px 4px; }
  .bt-tickets .bt-fav { top: 6px; right: 6px; }
}

/* ---------- Наоколо (1.10) ---------- */
.bt-okolo { display: flex; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.bt-okolo a { flex: 1 0 auto; text-align: center; padding: 9px 12px; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--ink-2, var(--ink)); text-decoration: none; white-space: nowrap; }
.bt-okolo a:hover { background: var(--brand-soft); color: var(--brand); }
.bt-okolo a[aria-current] { background: var(--brand); color: #fff; }
.bt-around { background: var(--surface); border-color: var(--line); }
.bt-around b { color: var(--ink); }
.bt-place-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; color: var(--muted); }
.bt-place-profile a { color: var(--brand); font-weight: 700; }
@media (max-width: 760px) { .bt-okolo a { font-size: 14px; padding: 9px 10px; } .bt-around { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; } .bt-around a, .bt-around b { flex: none; } }
.bt-place-profile { display: block; }
.bt-place-profile .bt-ico { vertical-align: -3px; margin-right: 2px; }
.bt-okolo a { flex: 1 1 0; }
@media (max-width: 760px) { .bt-okolo a { padding: 9px 4px; font-size: 14px; } }
.bt-price-unknown { color: var(--muted); font-weight: 600; font-size: 14px; }
.bt-row-price.is-unknown { color: var(--muted); font-weight: 600; font-size: 12.5px; max-width: 92px; text-align: right; line-height: 1.2; }
@media (max-width: 760px) { .bt-price-unknown { font-size: 13px; } .bt-row-price.is-unknown { max-width: 72px; font-size: 12px; } }
.bt-check-free { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff7e0; border: 1px solid #f0d58a; color: #4a3a07; font-size: 15px; }
[data-theme="dark"] .bt-check-free { background: #2a2410; border-color: #5c4a14; color: #fbefcf; }
.bt-price-unknown.is-check, .bt-row-price.is-check { color: #8a6100; }
/* „Свободен вход – провери“ – в зелено, с рамка (сигурното е плътно зелено) */
.bt-price-unknown.is-check, .bt-row-price.is-check { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; border: 1.5px solid var(--ok, #0b7a4b); color: var(--ok, #0b7a4b); background: transparent; font-weight: 700; font-size: 12.5px; max-width: none; white-space: nowrap; }
[data-theme="dark"] .bt-price-unknown.is-check, [data-theme="dark"] .bt-row-price.is-check { border-color: #7ee2a8; color: #7ee2a8; }
.bt-check-free { background: var(--ok-bg, #e5f6ec); border-color: #9fd9b7; color: #0b5a38; }
[data-theme="dark"] .bt-check-free { background: #0f2a1d; border-color: #2d6b4a; color: #c9f2db; }
.bt-check-chip { min-height: 44px; padding: 0 14px; font-size: 15px; text-decoration: none; border-radius: 10px; }
/* 1.10.7 – по-ясно прекъсване вдясно на лентата; изчезва в края */
.bt-rail .bt-wrap::after { width: 56px; transition: opacity .2s; }
.bt-rail .bt-wrap.is-end::after { opacity: 0; }
/* 1.11 – лого като картинка */
.bt-logo { display: inline-flex; align-items: center; }
.bt-logo-img { height: 36px; width: auto; display: block; }
.bt-logo-l { display: none; }
:root:not([data-theme="dark"]) .bt-light .bt-header .bt-logo-l,
:root:not([data-theme="dark"]) .bt-clean .bt-header .bt-logo-l { display: block; }
:root:not([data-theme="dark"]) .bt-light .bt-header .bt-logo-d,
:root:not([data-theme="dark"]) .bt-clean .bt-header .bt-logo-d { display: none; }
@media (max-width: 760px) { .bt-logo-img { height: 30px; } }
.bt-logo-img { height: 42px; }
@media (max-width: 760px) { .bt-logo-img { height: 34px; } }
/* 1.12.1 – логото никога не се свива; на телефона без бутона за тема (следва настройката на телефона) */
.bt-logo { flex-shrink: 0; }
.bt-logo-img { max-width: none; flex-shrink: 0; object-fit: contain; }
@media (max-width: 760px) {
  .bt-header-actions [data-bt-theme] { display: none; }
  .bt-header-actions { gap: 2px; }
}
@media (max-width: 360px) { .bt-logo-img { height: 30px; } }
/* 1.12.2 – началният блок в синьото на логото */
.bt-c-hero { background: radial-gradient(1100px 380px at 85% -10%, #1a55c4 0, transparent 60%), #00379A; }
.bt-c-hero .bt-c-quick a:hover { color: #00379A; }
/* 1.13 – „Днес · Утре · Уикенда · Безплатни“ */
.bt-den-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 14px; padding: 2px 0; }
.bt-den-nav::-webkit-scrollbar { display: none; }
.bt-den-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.bt-den-nav a small { font-weight: 700; font-size: 12px; color: var(--muted); }
.bt-den-nav a:hover { border-color: var(--brand); }
.bt-den-nav a[aria-current] { background: #00379A; border-color: #00379A; color: #fff; }
.bt-den-nav a[aria-current] small { color: #c9d6ff; }
@media (max-width: 760px) { .bt-den-nav { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; } }
/* 1.14 – зали */
.bt-venue-chips { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 14px; padding: 2px 0; white-space: nowrap; }
.bt-venue-chips::-webkit-scrollbar { display: none; }
.bt-venue-chips b { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); flex: 0 0 auto; }
.bt-venue-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.bt-venue-chips a small { color: var(--muted); font-weight: 700; }
.bt-venue-chips a:hover { border-color: var(--brand); }
.bt-venue-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; }
.bt-venue-more { margin-top: 6px; font-weight: 700; }
@media (max-width: 760px) { .bt-venue-chips { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; } }

/* ==========================================================================
   1.15 – нов дизайн на началната страница (по макета)
   ========================================================================== */
:root { --bt-blue: #0844A5; --bt-navy: #09265D; --bt-orange: #FF8A00; --bt-light: #F4F8FF; --bt-border: #DAE4F4; }

/* Лента с категории – иконки и син бутон „Всички събития“ */
.bt-rail-list { gap: 2px; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.bt-rail-list a { padding: 8px 12px; border-bottom: 0; border-radius: 10px; font-weight: 600; font-size: 15px; gap: 8px; }
.bt-rail-list li:first-child a { padding-left: 12px; }
.bt-rail-ico { display: inline-flex; color: var(--cat, var(--muted)); }
.bt-rail-list a:hover { background: var(--bt-light); }
.bt-rail-list a.bt-rail-all { background: var(--bt-blue); color: #fff !important; }
.bt-rail-list a.bt-rail-all:hover { background: var(--bt-navy); }
.bt-rail-list a[aria-current]:not(.bt-rail-all) { background: var(--bt-light); color: var(--bt-blue) !important; }
:root:not([data-theme="dark"]) .bt-clean .bt-rail-list a[aria-current], :root:not([data-theme="dark"]) .bt-light .bt-rail-list a[aria-current] { border-bottom-color: transparent; }

/* Начален блок със снимка */
.bt-c-hero.bt-c-hero--photo {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(5, 38, 108, .35), rgba(5, 38, 108, 0) 75%), url('assets/img/hero.webp') center center / cover no-repeat, #0844A5;
}
.bt-c-hero--photo .bt-c-hero-in { align-items: center; text-align: center; padding-top: 48px; padding-bottom: 92px; gap: 16px; max-width: 1360px; }
.bt-c-hero--photo h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -0.025em; color: #fff; text-shadow: 0 2px 18px rgba(0, 20, 70, .35); }
.bt-hl { position: relative; color: var(--bt-orange); white-space: nowrap; display: inline-block; }
.bt-hl svg { position: absolute; left: 2%; right: 4%; bottom: -10px; width: 94%; height: 14px; color: var(--bt-orange); }
.bt-c-hero--photo .bt-c-lead { color: #fff; font-size: 18px; max-width: 720px; margin: 0 auto; text-shadow: 0 1px 10px rgba(0, 20, 70, .35); }

/* „Вашият град“ – стъклена кутия в центъра */
.bt-c-hero--photo .bt-mycity { margin: 6px auto 4px; width: 100%; max-width: 780px; padding: 14px 18px 16px; border-radius: 16px; background: rgba(9, 38, 93, .35); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: center; }
.bt-c-hero--photo .bt-mycity-line { font-size: 16px; margin-bottom: 12px; }
.bt-c-hero--photo .bt-mycity-line span { color: #dfe8ff; }
.bt-c-hero--photo .bt-mycity-btns { justify-content: center; gap: 10px; }
.bt-c-hero--photo .bt-mycity-btns a, .bt-c-hero--photo .bt-mycity-btns button { min-height: 42px; padding: 0 20px; background: #fff; color: var(--bt-navy); border-color: #fff; font-weight: 700; }
.bt-c-hero--photo .bt-mycity-btns a.is-main { background: var(--bt-orange); border-color: var(--bt-orange); color: #1a1000; }
.bt-c-hero--photo .bt-mycity-btns button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.bt-c-hero--photo .bt-mycity-btns button::before { content: "⇄"; margin-right: 8px; font-weight: 700; }
.bt-c-hero--photo .bt-mycity-btns a:hover { background: #ffe2b8; border-color: #ffe2b8; color: #1a1000; }

/* Търсачка – бял „хап“ */
.bt-c-hero--photo .bt-c-search { max-width: 1160px; width: 100%; margin: 10px auto 0; padding: 7px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 12px 32px rgba(0, 27, 75, .19); }
.bt-c-hero--photo .bt-c-search-q { padding: 0 14px 0 22px; color: #6b7690; }
.bt-c-hero--photo .bt-c-search input { min-height: 52px; font-size: 18px; color: #0f1a2e; }
.bt-c-hero--photo .bt-c-search select { flex: 0 0 240px; min-height: 52px; border-left: 1px solid var(--bt-border); padding: 0 16px; font-size: 17px; color: #0f1a2e; background: transparent; }
.bt-c-hero--photo .bt-c-btn { min-height: 52px; padding: 0 34px; border-radius: 999px; background: var(--bt-orange); color: #1a1000; font-size: 19px; font-weight: 800; gap: 10px; }
.bt-c-hero--photo .bt-c-btn:hover { background: #ffa033; color: #1a1000; }

/* Бързи бутони */
.bt-c-hero--photo .bt-c-quick { justify-content: center; gap: 10px; margin-top: 4px; }
.bt-c-hero--photo .bt-c-quick a, .bt-c-hero--photo .bt-near { min-height: 46px; padding: 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 0; color: var(--bt-navy); font-weight: 700; font-size: 16px; gap: 8px; box-shadow: 0 4px 14px rgba(0, 27, 75, .14); }
.bt-c-hero--photo .bt-c-quick a .bt-ico { color: var(--bt-blue); }
.bt-c-hero--photo .bt-near { background: #FFC27A; color: #1a1000; }
.bt-c-hero--photo .bt-near .bt-ico { color: #1a1000; }
.bt-c-hero--photo .bt-c-quick a:hover { background: #fff; color: var(--bt-blue); }
.bt-c-hero--photo .bt-near:hover { background: #ffb357; color: #1a1000; }

/* Ред с обещанията */
.bt-c-hero--photo .bt-c-trust { justify-content: center; gap: 0; margin-top: 10px; color: #fff; font-size: 16px; }
.bt-c-hero--photo .bt-c-trust li { padding: 0 22px; }
.bt-c-hero--photo .bt-c-trust li + li { border-left: 1px solid rgba(255, 255, 255, .45); }
.bt-c-hero--photo .bt-c-trust .bt-ico { color: #fff; }

/* Вълната отдолу */
.bt-c-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--bg); pointer-events: none; }

/* „По градове“ */
.bt-c-head--center { justify-content: center; }
.bt-c-head--center h2 { display: flex; align-items: center; gap: 22px; font-size: clamp(26px, 3vw, 40px); }
.bt-c-head--center h2::before, .bt-c-head--center h2::after { content: ""; width: 90px; height: 2px; background: linear-gradient(90deg, transparent, var(--bt-blue)); opacity: .5; }
.bt-c-head--center h2::after { background: linear-gradient(90deg, var(--bt-blue), transparent); }
.bt-c-geo { align-items: center; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
.bt-c-geo .bt-map-bg figcaption { display: none; }
.bt-c-geo .bt-c-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bt-c-geo .bt-c-cities a { display: flex; width: 100%; min-height: 54px; padding: 0 12px 0 16px; border-radius: 14px; border: 1px solid var(--bt-border); background: var(--surface); box-shadow: 0 2px 8px rgba(9, 38, 93, .05); font-size: 17px; font-weight: 600; }
.bt-c-geo .bt-c-cities a span { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-c-geo .bt-c-cities a small { min-width: 40px; padding: 4px 8px; border-radius: 999px; background: var(--bt-light); color: var(--bt-navy); }
.bt-c-geo .bt-c-cities a:hover { border-color: var(--bt-blue); }
.bt-c-geo .bt-c-cities a.is-mine { background: #FFF3E3; border-color: #FFC27A; }
.bt-c-geo .bt-c-cities a.is-mine .bt-ico, .bt-c-geo .bt-c-cities a.is-mine small { color: #C25E00; }
.bt-c-geo .bt-c-cities a.is-mine small { background: #FFE2B8; }
.bt-c-geo .bt-c-cities a.bt-c-cities-all { justify-content: center; gap: 10px; background: #E3EDFF; border-color: #C9DBFF; color: var(--bt-blue); font-weight: 700; }
.bt-c-geo .bt-c-cities a.bt-c-cities-all span { flex: 0 1 auto; }

/* Тъмна тема */
[data-theme="dark"] .bt-c-hero.bt-c-hero--photo { background: linear-gradient(90deg, rgba(3, 12, 40, .6), rgba(3, 12, 40, .35)), url('assets/img/hero.webp') center center / cover no-repeat, #09265D; }
[data-theme="dark"] .bt-c-hero--photo .bt-c-quick a { background: rgba(255, 255, 255, .9); }
[data-theme="dark"] .bt-c-geo .bt-c-cities a.is-mine { background: #3a2a14; border-color: #7a4a10; }
[data-theme="dark"] .bt-c-geo .bt-c-cities a.bt-c-cities-all { background: #13264d; border-color: #24427f; color: #c9dbff; }
[data-theme="dark"] .bt-rail-list a:hover, [data-theme="dark"] .bt-rail-list a[aria-current]:not(.bt-rail-all) { background: rgba(255, 255, 255, .08); }

/* Телефон */
@media (max-width: 900px) {
  .bt-c-geo { grid-template-columns: 1fr; }
  .bt-c-geo .bt-c-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bt-c-hero.bt-c-hero--photo { background: linear-gradient(180deg, rgba(5, 38, 108, .55), rgba(5, 38, 108, .25) 60%, rgba(5, 38, 108, .55)), url('assets/img/hero-m.webp') 70% center / cover no-repeat, #0844A5; }
  [data-theme="dark"] .bt-c-hero.bt-c-hero--photo { background: linear-gradient(180deg, rgba(3, 12, 40, .7), rgba(3, 12, 40, .45)), url('assets/img/hero-m.webp') 70% center / cover no-repeat, #09265D; }
  .bt-c-hero--photo .bt-c-hero-in { padding-top: 28px; padding-bottom: 64px; gap: 12px; align-items: stretch; }
  .bt-c-hero--photo h1 { font-size: 32px; }
  .bt-hl svg { bottom: -7px; height: 10px; }
  .bt-c-hero--photo .bt-c-lead { font-size: 16px; }
  .bt-c-hero--photo .bt-mycity { padding: 12px; }
  .bt-c-hero--photo .bt-mycity-btns { gap: 8px; }
  .bt-c-hero--photo .bt-mycity-btns a, .bt-c-hero--photo .bt-mycity-btns button { padding: 0 14px; font-size: 14px; }
  .bt-c-hero--photo .bt-c-search { border-radius: 18px; padding: 6px; }
  .bt-c-hero--photo .bt-c-search-q { padding: 0 8px 0 12px; }
  .bt-c-hero--photo .bt-c-search select { flex: 1 1 auto; border-left: 0; padding: 0 10px; }
  .bt-c-hero--photo .bt-c-btn { padding: 0 22px; font-size: 17px; }
  .bt-c-hero--photo .bt-c-quick { justify-content: flex-start; }
  .bt-c-hero--photo .bt-c-quick a, .bt-c-hero--photo .bt-near { min-height: 42px; padding: 0 16px; font-size: 15px; }
  .bt-c-hero--photo .bt-c-trust { flex-direction: column; align-items: center; gap: 6px; font-size: 15px; }
  .bt-c-hero--photo .bt-c-trust li { padding: 0; }
  .bt-c-hero--photo .bt-c-trust li + li { border-left: 0; }
  .bt-c-wave { height: 32px; }
  .bt-c-head--center h2::before, .bt-c-head--center h2::after { width: 36px; }
  .bt-c-geo .bt-c-cities a { min-height: 48px; font-size: 16px; padding: 0 10px 0 12px; }
}

/* ==========================================================================
   1.16 – страници на градове, зали и категории (по макета)
   ========================================================================== */
.bt-arch-hero {
  position: relative; margin: -8px calc(50% - 50vw) 8px; padding: 18px calc(50vw - 50%) 6px;
  background: url('assets/img/city-bg.webp') center bottom / cover no-repeat, linear-gradient(180deg, #d8e9ff, #f5f8fe);
}
.bt-arch-hero .bt-crumbs { margin-bottom: 18px; }
.bt-arch-hero .bt-crumbs a { color: #073A9D; }
.bt-clean .bt-arch-hero .bt-page-head { align-items: center; gap: 10px 18px; margin-bottom: 12px; }
.bt-clean .bt-arch-hero .bt-page-title { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(28px, 3.4vw, 44px); color: #091B4D; letter-spacing: -0.02em; text-transform: none; line-height: 1.1; }
.bt-page-ico { display: inline-flex; color: #FF8B00; flex: none; }
.bt-arch-hero .bt-page-count { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid #DAE4F4; color: #091B4D; font-size: 15px; font-weight: 600; backdrop-filter: blur(4px); }
.bt-arch-hero .bt-page-count .bt-ico { color: #073A9D; }
.bt-arch-hero .bt-seo-intro { color: #22304f; max-width: 760px; }
.bt-arch-hero .bt-seo-intro strong { color: #091B4D; }

/* Категории – бели хапчета с иконки */
.bt-clean .bt-catchips--seo { gap: 10px; padding-top: 10px; padding-bottom: 6px; }
.bt-clean .bt-catchips--seo a { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid #DAE4F4; background: #fff; color: #091B4D; font-weight: 700; font-size: 15px; box-shadow: 0 2px 8px rgba(9, 27, 77, .05); }
.bt-clean .bt-catchips--seo a small { color: #073A9D; font-weight: 700; font-size: 14px; }
.bt-chip-ico { display: inline-flex; color: var(--cat, #073A9D); }
.bt-clean .bt-catchips--seo a:hover { border-color: #073A9D; }
.bt-clean .bt-catchips--seo a[aria-current] { background: #073A9D; border-color: #073A9D; color: #fff; }
.bt-clean .bt-catchips--seo a[aria-current] small, .bt-clean .bt-catchips--seo a[aria-current] .bt-chip-ico { color: #fff; }

/* „Всички · Днес · Утре · Уикенда“ – сегменти */
.bt-arch-hero .bt-den-nav a { background: #fff; border-color: #DAE4F4; color: #073A9D; }
.bt-arch-hero .bt-den-nav a[aria-current] { background: #073A9D; border-color: #073A9D; color: #fff; }

/* Филтри – една лента от „хапчета“ на компютър */
@media (min-width: 761px) {
  .bt-clean .bt-filters { padding: 10px; gap: 10px; align-items: center; border-radius: 18px; border: 1px solid #DAE4F4; background: #fff; box-shadow: 0 6px 20px rgba(9, 27, 77, .06); }
  .bt-clean .bt-filters .bt-field { flex: 0 1 auto; }
  .bt-clean .bt-filters .bt-field--wide { flex: 1 1 220px; }
  .bt-clean .bt-filters .bt-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bt-clean .bt-filters select, .bt-clean .bt-filters input[type="search"], .bt-clean .bt-filters input[type="date"] { min-height: 46px; border-radius: 999px; border: 1px solid #DAE4F4; padding: 0 18px; background-color: #fff; color: #091B4D; font-weight: 600; font-size: 15px; }
  .bt-clean .bt-filters select { padding-right: 38px; }
  .bt-clean .bt-filters .bt-btn { flex: 0 0 auto; min-height: 46px; border-radius: 999px; padding: 0 22px; background: #073A9D; }
}
.bt-field--venue select { max-width: 260px; }
.bt-results-title { font-size: 20px; font-weight: 800; color: #091B4D; margin: 18px 0 10px; }
[data-theme="dark"] .bt-results-title { color: var(--ink); }

/* Тъмна тема */
[data-theme="dark"] .bt-arch-hero { background: linear-gradient(180deg, rgba(6, 14, 38, .82), rgba(6, 14, 38, .92)), url('assets/img/city-bg.webp') center bottom / cover no-repeat, #0b1630; }
[data-theme="dark"] .bt-clean .bt-arch-hero .bt-page-title, [data-theme="dark"] .bt-arch-hero .bt-seo-intro, [data-theme="dark"] .bt-arch-hero .bt-seo-intro strong { color: #e8eeff; }
[data-theme="dark"] .bt-arch-hero .bt-page-count, [data-theme="dark"] .bt-clean .bt-catchips--seo a, [data-theme="dark"] .bt-arch-hero .bt-den-nav a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #e8eeff; }
[data-theme="dark"] .bt-arch-hero .bt-crumbs a { color: #9ec0ff; }

@media (max-width: 760px) {
  .bt-arch-hero { padding-top: 12px; margin-top: -4px; background-size: auto 100%; background-position: 60% bottom; }
  .bt-clean .bt-arch-hero .bt-page-title { font-size: 28px; gap: 8px; }
  .bt-page-ico .bt-ico { width: 26px; height: 26px; }
  .bt-arch-hero .bt-page-count { font-size: 14px; padding: 6px 12px; }
  .bt-field--venue select { max-width: none; }
}
.bt-arch-hero { margin-top: -28px; padding-top: 22px; }
.bt-arch-hero .bt-okolo { display: inline-flex; background: rgba(255, 255, 255, .85); border-color: #DAE4F4; border-radius: 999px; }
.bt-arch-hero .bt-okolo a { flex: 0 0 auto; padding: 8px 18px; border-radius: 999px; }
.bt-arch-hero .bt-okolo a[aria-current] { background: #073A9D; }
.bt-arch-hero .bt-around { background: rgba(255, 255, 255, .85); }
@media (min-width: 761px) {
  .bt-clean .bt-filters { flex-wrap: nowrap; }
  .bt-clean .bt-filters .bt-field { flex: 0 1 auto; min-width: 0; }
  .bt-clean .bt-filters .bt-field--wide { flex: 1 1 200px; }
  .bt-clean .bt-filters .bt-field select { width: auto; max-width: 210px; }
  .bt-clean .bt-filters .bt-field--dates input { width: 160px; }
}
@media (min-width: 761px) and (max-width: 1100px) { .bt-clean .bt-filters { flex-wrap: wrap; } }
@media (max-width: 760px) { .bt-arch-hero { margin-top: -20px; } }
/* без хоризонтално превъртане от фона на цяла ширина */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
/* 1.16.2 – „Още в града“ под списъка */
.bt-more-city { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #DAE4F4; }
.bt-more-city h2 { font-size: 18px; font-weight: 800; color: #091B4D; margin: 0 0 12px; }
.bt-more-city .bt-den-nav { margin: 0 0 10px; }
.bt-more-city .bt-den-nav a { background: #fff; border-color: #DAE4F4; color: #073A9D; }
.bt-more-city .bt-venue-chips { margin: 0; flex-wrap: wrap; overflow: visible; white-space: normal; }
.bt-more-city .bt-venue-chips b { width: 100%; }
[data-theme="dark"] .bt-more-city { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .bt-more-city h2 { color: var(--ink); }
@media (max-width: 760px) { .bt-more-city { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; } .bt-more-city .bt-venue-chips { margin: 0; padding: 0; } }
.bt-more-city .bt-venue-chips + .bt-venue-chips { margin-top: 10px; }

/* 1.16.4 – цветни иконки на категориите */
.bt-clean .bt-catchips--seo .bt-chip-ico { width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--cat, #073A9D) 12%, #fff); margin-left: -8px; }
.bt-clean .bt-catchips--seo .bt-chip-ico .bt-ico { color: var(--cat, #073A9D); width: 17px; height: 17px; }
.bt-clean .bt-catchips--seo a[aria-current] .bt-chip-ico { background: rgba(255,255,255,.18); }
.bt-clean .bt-catchips--seo a[aria-current] .bt-chip-ico .bt-ico { color: #fff; }
.bt-clean .bt-catchips--seo a:hover { border-color: var(--cat, #073A9D); }

/* 1.16.5 – по-ситни категории */
.bt-clean .bt-catchips--seo { gap: 6px; }
.bt-clean .bt-catchips--seo a { min-height: 36px; padding: 0 12px 0 10px; gap: 6px; font-size: 13.5px; box-shadow: 0 1px 4px rgba(9, 27, 77, .05); }
.bt-clean .bt-catchips--seo a small { font-size: 12.5px; }
.bt-clean .bt-catchips--seo .bt-chip-ico { width: 22px; height: 22px; margin-left: -4px; }
.bt-clean .bt-catchips--seo .bt-chip-ico .bt-ico { width: 14px; height: 14px; }

/* 1.16.6 – карта: пулсиращи градове, по-голяма на телефон */
.bt-map-ring { fill: none; stroke: var(--brand, #073A9D); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: bt-map-ping 2.8s ease-out infinite; pointer-events: none; }
@keyframes bt-map-ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.bt-map-pt circle:not(.bt-map-ring) { transform-box: fill-box; transform-origin: center; transition: transform .15s, fill .15s; }
.bt-map-pt:hover circle:not(.bt-map-ring), .bt-map-pt:active circle:not(.bt-map-ring) { transform: scale(1.25); }
.bt-map-bg { cursor: pointer; transition: box-shadow .2s, border-color .2s; }
.bt-map-bg:hover { border-color: #b9cdf0; box-shadow: 0 6px 22px rgba(9, 38, 93, .10); }
.bt-map-hint { display: none; }
@media (prefers-reduced-motion: reduce) { .bt-map-ring { animation: none; } }
@media (max-width: 760px) {
  .bt-c-geo .bt-map-bg { margin: 0 -10px; padding: 2px 0 8px; border-radius: 18px; }
  .bt-map-bg > svg { margin: -6px 0 -4px; }
  .bt-map-pt circle:not(.bt-map-ring) { transform: scale(1.3); }
  .bt-map-pt text { font-size: 30px; }
  .bt-map-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--bt-blue, #073A9D); }
  .bt-map-hint .bt-ico { color: #FF8B00; animation: bt-hint-bob 1.6s ease-in-out infinite; }
}
@keyframes bt-hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.bt-map-hint .bt-ico { width: 16px; height: 16px; flex: none; }

/* 1.17 – страница на зала: описание и адрес */
.bt-venue-about { max-width: 760px; margin: 0 0 10px; color: #22304f; }
.bt-venue-about p { margin: 0 0 8px; line-height: 1.6; }
.bt-venue-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: #3b4a6b; }
.bt-venue-addr .bt-ico { color: #FF8B00; }
.bt-venue-addr a { color: #073A9D; font-weight: 600; }
[data-theme="dark"] .bt-venue-about, [data-theme="dark"] .bt-venue-addr { color: var(--muted); }

/* ===== 1.18 Зали: хъб, популярни зали, линк към залата в картата ===== */
.bt-ticket-venue { position: relative; z-index: 2; color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; padding: 4px 0; }
.bt-ticket-venue:hover { color: var(--ink); text-decoration-color: currentColor; }
.bt-c-venues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.bt-c-venues a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.bt-c-venues a:hover { border-color: var(--ink); }
.bt-c-venue-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg); color: var(--muted); }
.bt-c-venue-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bt-c-venue-txt b { font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bt-c-venue-txt small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 640px) {
  .bt-c-venues { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bt-c-venues a { padding: 10px; gap: 0; min-height: 70px; }
  .bt-c-venue-ico { display: none; }
  .bt-c-venue-txt b { font-size: 14.5px; }
  .bt-c-venue-txt small { font-size: 12.5px; }
}
/* ---------- Генератор на уиджет (1.23) ---------- */
.bt-widgetgen { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.bt-widgetgen-form { display: flex; flex-wrap: wrap; gap: 14px; }
.bt-widgetgen-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; flex: 1 1 180px; }
.bt-widgetgen-form select { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0 12px; font: inherit; color: var(--ink); }
.bt-widgetgen-preview { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.bt-widgetgen-preview iframe { display: block; max-width: 420px; margin: 0 auto; }
.bt-widgetgen-code { display: flex; flex-direction: column; gap: 10px; }
.bt-widgetgen-code textarea { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; padding: 10px 12px; resize: vertical; }
.bt-widgetgen-code #btwg-copied { color: var(--ok, #1a9d5c); font-weight: 700; font-size: 14px; }

.bt-hub-tools { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 22px; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 10px 0; }
.bt-hub-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); max-width: 560px; }
.bt-hub-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; }
.bt-hub-search:focus-within { border-color: var(--ink); }
.bt-hub-kinds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bt-hub-kinds::-webkit-scrollbar { display: none; }
.bt-hub-kinds button { flex: none; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bt-hub-kinds button small { color: var(--muted); font-weight: 700; margin-left: 2px; }
.bt-hub-kinds button.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.bt-hub-kinds button.is-on small { color: inherit; opacity: .7; }
.bt-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.bt-hub-city h2 { font-size: 20px; margin: 0 0 10px; }
.bt-hub-list { list-style: none; margin: 0; padding: 0; }
.bt-hub-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.bt-hub-list li:first-child { border-top: 0; }
.bt-hub-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.bt-hub-list a:hover { text-decoration: underline; }
.bt-hub-list small { flex: none; color: var(--muted); font-size: 13px; white-space: nowrap; }
.bt-hub-more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; }
.bt-hub-empty { padding: 24px 0; color: var(--muted); }
@media (max-width: 640px) {
  .bt-hub { grid-template-columns: 1fr; gap: 12px; }
  .bt-hub-tools { margin: 12px 0 14px; }
  .bt-hub-list li { padding: 11px 0; }
}
.bt-hub [hidden], .bt-hub-empty[hidden] { display: none !important; }
.bt-hub-search input:focus, .bt-hub-search input:focus-visible { outline: none; box-shadow: none; }
/* 1.18 – хедърът на телефон събира и „Зали“ */
@media (max-width: 440px) {
  .bt-header-actions { gap: 2px; }
  .bt-hbtn { min-width: 40px; padding: 0; }
  .bt-header-add { width: 40px; margin-left: 2px; }
  .bt-logo-img { height: 26px; }
}
@media (max-width: 380px) { .bt-logo-img { height: 23px; } }

/* ===== 1.19 Корица на залата: снимка или наш дизайн ===== */
.bt-clean .bt-arch-hero .bt-page-head.bt-cover { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; min-height: 300px; padding: 28px 30px 26px; border-radius: 20px; margin-bottom: 18px; isolation: isolate; box-shadow: 0 10px 30px rgba(9, 27, 77, .12); }
.bt-cover--photo { background: linear-gradient(0deg, rgba(5, 14, 40, .92) 0%, rgba(5, 14, 40, .55) 45%, rgba(5, 14, 40, .2) 100%), linear-gradient(rgba(5, 14, 40, .25), rgba(5, 14, 40, .25)), var(--cover) center 40% / cover no-repeat #13204a; }
.bt-clean .bt-arch-hero .bt-cover--photo .bt-page-title { text-shadow: 0 2px 4px rgba(0, 0, 0, .45), 0 4px 24px rgba(0, 0, 0, .5); }
.bt-cover--art { --c1: #073A9D; --c2: #3d6df2; background: radial-gradient(120% 140% at 100% 0%, var(--c2) 0%, transparent 60%), linear-gradient(135deg, var(--c1), #0a1f5c); }
.bt-cover--theatre { --c1: #7a1640; --c2: #d2477a; }
.bt-cover--music, .bt-cover--club { --c1: #3b1c8c; --c2: #8a5cf6; }
.bt-cover--arena { --c1: #0b5a46; --c2: #1fb489; }
.bt-cover--culture { --c1: #073A9D; --c2: #3d8bf2; }
.bt-cover--open { --c1: #0e5c2f; --c2: #6cc04a; }
.bt-cover-art { position: absolute; right: -24px; bottom: -36px; z-index: -1; color: #fff; opacity: .13; }
.bt-cover-art .bt-ico, .bt-cover-art svg { width: 260px; height: 260px; stroke-width: 1.2; }
.bt-clean .bt-arch-hero .bt-cover .bt-page-title { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.bt-clean .bt-arch-hero .bt-cover .bt-page-ico { color: #FFB020; }
.bt-arch-hero .bt-cover .bt-page-count { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); color: #fff; }
.bt-arch-hero .bt-cover .bt-page-count .bt-ico { color: #fff; }
.bt-cover-credit { position: absolute; right: 12px; bottom: 8px; max-width: 60%; color: rgba(255, 255, 255, .72); font-size: 11px; line-height: 1.3; text-align: right; }
@media (max-width: 640px) {
  .bt-clean .bt-arch-hero .bt-page-head.bt-cover { min-height: 230px; padding: 20px 18px 30px; border-radius: 16px; margin-left: -4px; margin-right: -4px; }
  .bt-cover-art { right: -40px; bottom: -40px; }
  .bt-cover-art .bt-ico, .bt-cover-art svg { width: 200px; height: 200px; }
  .bt-cover-credit { left: 18px; right: 18px; max-width: none; text-align: left; bottom: 8px; font-size: 10.5px; }
}
/* Карта със снимка в изглед „редове“ – същата ширина като другите, снимката е фон зад датата. */
.bt-tickets--list .bt-ticket.has-img .bt-ticket-in, .bt-tickets[data-view="list"] .bt-ticket.has-img .bt-ticket-in { --notch: 108px; }
@media (max-width: 760px) {
  .bt-tickets .bt-ticket.has-img .bt-ticket-in { --notch: 76px; }
  .bt-tickets .bt-ticket.has-img .bt-ticket-stub { align-items: center; justify-content: center; padding-bottom: 10px; background-image: linear-gradient(0deg, color-mix(in srgb, var(--cat) 80%, transparent), color-mix(in srgb, var(--cat) 35%, transparent)), var(--img) !important; }
}

/* ===== 1.20 Изпълнители ===== */
.bt-cover--artist.bt-cover--photo { background: linear-gradient(100deg, rgba(5, 14, 40, .96) 0%, rgba(5, 14, 40, .82) 45%, rgba(5, 14, 40, .55) 100%), var(--cover) center 30% / cover no-repeat #13204a; }
.bt-cover--artist.bt-cover--photo::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--cover) center 25% / cover no-repeat; filter: blur(28px) saturate(1.2); opacity: .55; }
.bt-cover--artist.bt-cover--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 14, 40, .92), rgba(5, 14, 40, .55)); }
.bt-clean .bt-arch-hero .bt-page-head.bt-cover.has-portrait { padding-left: 290px; min-height: 290px; justify-content: center; }
.bt-cover-portrait { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); width: 230px; height: 230px; object-fit: cover; object-position: center top; border-radius: 18px; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.bt-artist-intro a { font-weight: 700; }
.bt-artist-link { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.bt-artist-link:hover { border-color: var(--ink); color: var(--ink); }
.bt-artist-link img, .bt-artist-link-ico { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; object-position: center top; }
.bt-artist-link-ico { display: grid; place-items: center; background: var(--bg); color: var(--muted); }
.bt-artist-link span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bt-artist-link small { color: var(--muted); font-size: 13px; }
.bt-artist-link b { font-size: 16px; }
.bt-artist-faq { padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.bt-artist-faq strong { display: block; margin-bottom: 4px; }
@media (max-width: 640px) {
  .bt-clean .bt-arch-hero .bt-page-head.bt-cover.has-portrait { padding: 20px 18px 30px; min-height: 0; align-items: flex-start; }
  .bt-cover-portrait { position: static; transform: none; order: -1; width: 124px; height: 124px; border-radius: 16px; margin-bottom: 4px; }
}
