/* Сватбено - оформление и компоненти на публичните страници.
   Пренесено от prototype/assets/css/base.css (02.7); стойностите идват от tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-padding-bottom: 88px; }
@media (min-width: 1024px) { html { scroll-padding-top: 124px; scroll-padding-bottom: 24px; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  overflow-wrap: break-word; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: var(--lh-head); letter-spacing: -.01em; margin: 0 0 .4em; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); transform: translateY(-120%); }
.skip-link:focus { transform: translateY(8px); color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 6vw, 88px); }
.section + .section { border-top: 1px solid var(--line); }
.kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s1); }
.kicker a { display: inline-flex; align-items: center; min-height: 24px; } /* WCAG 2.5.8 - цел поне 24 px */
/* Колоната на телефон не се разширява от дълга дума при увеличен текст - заглавието и връзката се пренасят. */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1) var(--s4); margin-bottom: var(--s4); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.section-head .more { font-weight: 700; color: var(--accent); text-decoration: none; }
.section-head .more:hover { text-decoration: underline; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr auto; align-items: end; } .section-head .more { white-space: nowrap; } }
.muted { color: var(--muted); }
.demo-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 2px; padding: 1px 6px; line-height: 1.5; vertical-align: middle; white-space: nowrap; }
.soon-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }

/* ---------- Прототипна лента ---------- */
.demo-banner { background: var(--soft); color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: .75rem; line-height: 1.35; padding: 4px var(--gutter); text-align: center; }
.demo-banner a { color: var(--ink); }

/* ---------- Шапка ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; transition: box-shadow .2s, border-color .2s; }
@media (min-width: 1024px) { .site-header { position: sticky; top: 0; } .site-header.is-stuck { box-shadow: var(--shadow-2); border-bottom-color: transparent; } }
/* Когато логото и действията не се събират (тесен екран, увеличен текст), действията минават на нов ред вдясно -
   без хоризонтално излизане; при обичаен размер всичко е на един ред, както досега. */
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: var(--header-h); }
.logo { font-family: var(--font-head); font-weight: 700; font-size: min(1.5rem, 8vw); letter-spacing: -.015em; color: var(--ink); text-decoration: none; margin-right: auto; white-space: nowrap; line-height: 1; }
.site-header .logo { display: inline-flex; align-items: center; min-height: var(--tap); }
.logo:hover { color: var(--ink); }
/* Логото - изображение (2,66:1); височината задава размера, ширината следва пропорцията. Хедър: 41 px на телефон, 37 px на компютър (07.11.2026, +15 %). */
.logo__img { display: block; height: 41px; width: auto; max-width: none; }
.site-footer .logo__img { height: 44px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Навигация (03.12): чекмедже до 1279 px, разгъващи се панели от 1280 px ---------- */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); min-width: var(--tap); padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.nav-toggle:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.nav-toggle:active, .nav-toggle[aria-expanded="true"] { background: var(--soft); box-shadow: none; }
.nav-toggle .icon { width: 20px; height: 20px; }
.header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; }
.fav-count { font-variant-numeric: tabular-nums; }
@media (max-width: 479px) {
  .fav-word, .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-backdrop { position: fixed; inset: 0; z-index: 39; background: rgb(28 25 23 / 35%); }
.nav-backdrop[hidden] { display: none; }
.nav-panel[hidden] { display: none; }

/* Чекмедже (телефон, таблет, малък лаптоп) */
.main-nav.is-open { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 70; width: min(88vw, 400px); background: #fff; box-shadow: var(--shadow-3); overflow-y: auto; overscroll-behavior: contain; }
.nav-drawer-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding: 0 var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
.nav-drawer-head p { margin: 0; font-weight: 800; font-size: 1.05rem; }
.nav-trigger { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 var(--gutter); border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 1.02rem; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-trigger > span { flex: 1 1 auto; }
.nav-trigger__icon { color: var(--accent); }
.nav-chevron { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-trigger:hover { background: var(--soft); }
.nav-trigger:focus-visible { outline-offset: -3px; }
.nav-panel { padding: 4px var(--gutter) 16px calc(var(--gutter) + 36px); border-bottom: 1px solid var(--line); background: #fff; }
.nav-group__title { margin: 12px 0 2px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-group a, .nav-links a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; transition: color .15s; }
.nav-group a .icon { width: 22px; height: 22px; color: var(--ink-2); }
.nav-group a:hover, .nav-group a:hover .icon { color: var(--accent); }
.nav-links { margin-top: 8px !important; border-top: 1px solid var(--line); padding-top: 6px !important; }
.nav-links a { font-weight: 700; color: var(--accent); }
.nav-links .icon { width: 18px; height: 18px; }
.nav-panel__side { margin-top: 12px; display: grid; gap: 10px; }
.nav-promo { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.nav-promo:hover { box-shadow: var(--shadow-2); }
.nav-promo__icon { width: 30px; height: 30px; color: var(--accent); }
.nav-promo strong { display: block; font-size: 1rem; }
.nav-promo span span { display: block; color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.nav-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nav-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; border-radius: var(--radius-card); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); transition: box-shadow .2s; padding-bottom: 12px; }
.nav-card:hover { box-shadow: var(--shadow-2); }
.nav-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nav-card strong, .nav-card span { padding: 0 12px; }
.nav-card span { color: var(--ink-2); font-size: .88rem; }
.nav-templates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nav-template { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: box-shadow .2s, background-color .2s; }
.nav-template:hover { background: #fff; box-shadow: var(--shadow-2); }
.nav-template .icon { width: 40px; height: 40px; color: var(--ink-2); }
.nav-extra { margin-top: auto !important; padding: 8px var(--gutter) 24px !important; border-top: 1px solid var(--line); background: var(--soft); }
.nav-extra a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-extra .icon { width: 20px; height: 20px; color: var(--ink-2); }
body.nav-locked { overflow: hidden; }

@media (min-width: 1024px) {
  .logo { margin-right: var(--s3); font-size: min(1.65rem, 2.6vw); }
}
.header-actions { margin-left: auto; }

/* Разгъващи се панели на компютър: служебен ред (излиза при превъртане) + основен ред с менютата */
.site-header__util { display: none; }
@media (min-width: 1280px) {
  :root { --header-h: 44px; }
  .site-header { top: -27px; }
  .site-header__util { display: block; border-bottom: 1px solid var(--line); }
  .site-header__util .container { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; min-height: 26px; }
  .site-header__util button { font: inherit; background: none; border: 0; cursor: pointer; }
  .site-header__util a, .site-header__util button { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; font-size: .85rem; font-weight: 600; color: var(--ink-2); text-decoration: none; border-radius: var(--radius); transition: color .15s; }
  .site-header__util a:hover, .site-header__util button:hover { color: var(--accent); }
  .site-header__util a:focus-visible, .site-header__util button:focus-visible { outline-offset: -2px; }
  .site-header__util .icon { width: 16px; height: 16px; }
  .site-header__util .util-strong { color: var(--accent); }
  .header-actions { display: none; }
  .logo { margin-right: 18px; font-size: 1.6rem; }
  .nav-toggle, .nav-drawer-head, .nav-extra, .nav-trigger__icon { display: none; }
  .main-nav, .main-nav.is-open { display: block; position: static; width: auto; min-width: 0; box-shadow: none; overflow: visible; background: none; margin-right: auto; }
  /* Менютата се пренасят на втори ред, ако не се събират (увеличен текст). */
  .nav-top { display: flex; flex-wrap: wrap; }
  .nav-trigger { position: relative; width: auto; min-height: var(--header-h); gap: 0; padding: 0 9px; border: 0; background: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
  .nav-trigger:hover { background: none; color: var(--accent); }
  .nav-trigger:hover::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; background: var(--line-strong); }
  .nav-trigger[aria-expanded="true"], .nav-trigger[data-current] { color: var(--accent); }
  .nav-trigger[aria-expanded="true"]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; background: var(--accent); }
  .nav-trigger:focus-visible { outline-offset: -4px; }
  .nav-chevron { display: none; }
  .nav-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 41; padding: 28px 0 32px; background: #fff; border-top: 1px solid var(--line); border-bottom: 0; box-shadow: var(--shadow-3); max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav-panel__inner { display: block; }
  .nav-panel__inner.has-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .nav-panel__main { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 32px; align-content: start; }
  .has-side .nav-panel__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-group { grid-column: span var(--cols, 1); min-width: 0; }
  .nav-group ul { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); column-gap: 32px; }
  .nav-group__title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
  .nav-group a { min-height: 40px; font-size: .97rem; gap: 10px; }
  .nav-group a .icon { width: 21px; height: 21px; }
  .nav-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 8px !important; }
  .nav-panel__side { margin-top: 0; align-content: start; }
  .nav-backdrop { z-index: 39; }
}
@media (min-width: 1280px) and (max-width: 1379px) {
  .nav-trigger { padding: 0 7px; }
  .nav-trigger:hover::after, .nav-trigger[aria-expanded="true"]::after { left: 7px; right: 7px; }
  .logo { margin-right: 12px; }
}

/* ---------- Бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-2); }
.btn--primary:active { background: #4f1c25; box-shadow: none; }
.btn--outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: var(--shadow-1); }
.btn--outline:active { background: #000; color: #fff; box-shadow: none; }
.btn--quiet { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn--quiet:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-1); }
.btn--quiet:active { background: var(--soft); box-shadow: none; }
.btn--block { width: 100%; }
.btn--sm { min-height: var(--tap); padding: 0 14px; font-size: .95rem; }

/* ---------- Полета ---------- */
.field { display: grid; gap: 6px; margin-bottom: var(--s2); }
.field > label, .label { font-weight: 700; font-size: .9rem; }
.hint { font-size: .875rem; color: var(--muted); margin: 0; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8f8780; border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .15s; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: #857d76; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1917' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.textarea { min-height: 120px; resize: vertical; }
.input:disabled { background: var(--soft); color: var(--muted); }
[aria-invalid="true"].input, [aria-invalid="true"].textarea, [aria-invalid="true"].select { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; padding: 8px 0; cursor: pointer; line-height: 1.35; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.check .count { color: var(--muted); font-size: .875rem; margin-left: auto; padding-left: 8px; font-variant-numeric: tabular-nums; }
.check.is-empty { color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

/* ---------- Начало: първи екран ---------- */
.hero { padding-block: 0 var(--s4); }
.hero + .section { padding-top: var(--s4); }
.hero__grid { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
.hero__media { margin-inline: calc(var(--gutter) * -1); }
.hero__media img { width: 100%; height: 176px; object-fit: cover; object-position: 60% 62%; }
@media (max-width: 767px) { .hero__text h1 { font-size: 2.2rem; } .hero__lead { font-size: 1.02rem; margin-bottom: var(--s2); } .hero__grid { gap: var(--s2); } }
.hero__text h1 { margin-bottom: 12px; }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin-bottom: var(--s3); }
.search { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px; box-shadow: var(--shadow-2); }
.search .field { margin: 0; }
.popular { margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .95rem; }
.popular span { color: var(--muted); margin-right: 4px; }
.popular a { display: inline-flex; align-items: center; min-height: 36px; max-width: 100%; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; transition: border-color .15s, color .15s, box-shadow .15s; }
.popular a:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-1); }
.popular a:active { background: var(--accent-soft); box-shadow: none; }
.hero__credit { font-size: .75rem; color: var(--muted); margin: 6px 0 0; padding-inline: var(--gutter); }
@media (min-width: 768px) {
  .hero { padding-top: var(--s4); }
  .hero__media { margin-inline: 0; }
  .hero__text { order: -1; }
  .hero__media img { height: 340px; border-radius: var(--radius); }
  .hero__credit { padding-inline: 0; }
  .search { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: end; }
}
@media (min-width: 1100px) {
  .hero { padding-top: var(--s5); }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s5); align-items: center; }
  .hero__text { order: -1; }
  .hero__media img { height: min(560px, 64vh); min-height: 460px; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; }
}

/* ---------- Категории ---------- */
.cats { display: grid; gap: var(--s3) var(--s2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat { display: block; text-decoration: none; color: var(--ink); }
.cat__img { display: block; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-1); transition: box-shadow .25s; }
@media (hover: hover) { .cat:hover .cat__img { box-shadow: var(--shadow-2); } }
.cat:active .cat__img, .cat:focus-visible .cat__img { box-shadow: var(--shadow-2); }
.cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .cat:hover img { transform: scale(1.04); } }
.cat__name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.1; margin-top: 10px; }
.cat:hover .cat__name { color: var(--accent); }
.cat__hint { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.cats > .cat--lead { grid-column: 1 / -1; }
.cat--lead img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cats > .cat--lead { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .cat--lead > .cat { display: flex; flex-direction: column; height: 100%; }
  .cat--lead .cat__img { flex: 1 1 auto; min-height: 420px; position: relative; }
  .cat--lead .cat__img img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .cat--lead .cat__name { font-size: 2.1rem; }
}
.all-cats { margin-top: var(--s5); border-top: 1px solid var(--line); padding-top: var(--s3); }
.all-cats h3 { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s2); }
.all-cats ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s3); }
@media (min-width: 768px) { .all-cats ul { columns: 4; } }
.all-cats li { break-inside: avoid; }
.all-cats a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; min-height: 40px; max-width: 100%; text-decoration: none; color: var(--ink); }
.all-cats a span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.all-cats a .icon { width: 22px; height: 22px; color: var(--ink-2); }
.all-cats a:hover .icon { color: var(--accent); }
.all-cats a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Подбрани ---------- */
.featured { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); align-items: start; } }
.feature { position: relative; }
.feature__img { position: relative; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-1); transition: box-shadow .25s; }
.feature:hover .feature__img, .feature:focus-within .feature__img { box-shadow: var(--shadow-2); }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
.feature:hover img { transform: scale(1.02); }
.feature__body { padding-top: var(--s2); }
.feature h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); margin: 4px 0 6px; }
.feature h3 a, .mini h3 a, .rcard h3 a { text-decoration: none; }
.feature h3 a::after, .mini h3 a::after { content: ""; position: absolute; inset: 0; }
.facts-line { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.facts-line li strong { color: var(--ink); }
.minis { display: grid; gap: var(--s3); }
.mini { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: var(--s2); align-items: start; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini__img { position: relative; }
.mini img { width: 128px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-1); transition: box-shadow .25s; }
.mini:hover img, .mini:focus-within img { box-shadow: var(--shadow-2); }
.mini .img-tag { left: 6px; top: 6px; }
.minis-note { font-size: .875rem; color: var(--muted); margin: var(--s2) 0 0; }
.mini h3 { font-size: 1.4rem; margin: 2px 0 4px; }
.meta { font-size: .9rem; color: var(--muted); margin: 0; }
.price { font-weight: 700; margin: 6px 0 0; color: var(--ink); }
.price small { font-weight: 400; color: var(--muted); font-size: .875rem; }
.cities { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: .98rem; }
.cities strong { margin-right: 6px; }

/* ---------- Планиране ---------- */
.plan { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
@media (min-width: 900px) { .plan { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s6); } }
.plan__list { list-style: none; margin: 0; padding: 0; counter-reset: tool; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .plan__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); } }
.plan__list li { counter-increment: tool; padding: var(--s2) 0 var(--s3); border-top: 1px solid var(--ink); }
.plan__list li::before { content: "0" counter(tool); display: block; font-size: .8125rem; letter-spacing: .1em; color: var(--accent); font-weight: 800; font-variant-numeric: lining-nums; margin-bottom: 4px; }
.plan__list h3 { font-size: 1.5rem; margin: 2px 0 4px; }
.plan__list p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- Вдъхновение ---------- */
.inspire { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .inspire { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); } }
.story-lead { text-decoration: none; color: var(--ink); display: block; }
.story-lead .img { display: block; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-1); transition: box-shadow .25s; }
.story-lead:hover .img, .story-lead:focus-visible .img { box-shadow: var(--shadow-2); }
.story-lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
.story-lead:hover img { transform: scale(1.02); }
.story-lead h3 { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); margin: var(--s2) 0 6px; }
.story-lead:hover h3 { color: var(--accent); }
.articles-title { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s1); }
.articles { list-style: none; margin: 0; padding: 0; }
.articles li { border-top: 1px solid var(--line); }
.articles li:first-child { border-top: 1px solid var(--ink); }
.articles a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s2); padding: var(--s2) 0; text-decoration: none; color: var(--ink); }
.articles img { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.articles h3 { font-size: 1.3rem; margin: 2px 0 0; line-height: 1.15; }
.articles a:hover h3 { color: var(--accent); }

/* ---------- За бизнеси ---------- */
.biz { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-items: center; }
@media (min-width: 900px) { .biz { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s5); } }
.biz img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.biz ul { margin: 0 0 var(--s3); padding-left: 1.1em; color: var(--ink-2); }

/* ---------- Футър ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s5) var(--s3); font-size: .95rem; background: #fff; }
.footer-grid { display: grid; gap: var(--s4) var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } }
.footer-grid h2 { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a { display: inline-block; padding: 7px 0; min-height: 36px; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; color: var(--ink); text-decoration: none; }
.footer-grid li a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 10px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: var(--s4); padding-top: var(--s2); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .875rem; }

/* ---------- Хлебни трохи ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: var(--s2); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 4px; color: #a8a29e; }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 24px; } /* WCAG 2.5.8 - цел поне 24 px */
.back-link { font-size: .9rem; font-weight: 700; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.back-link:hover { text-decoration: underline; }
.back-link[hidden] { display: none; }

/* ---------- Каталог ---------- */
/* Компактно заглавие на каталога (04.2.3.1): по йерархията на каталожните страници на ориентира
   (заглавие около 26-30 px над търсенето и резултатите), не по водещото заглавие на началната страница.
   Шрифтът за заглавия е по-дребен на вид, затова 30-38 px. Само за каталога - другите заглавия не се променят. */
.catalog-head { padding-block: var(--s1) var(--s2); }
.catalog-head h1 { font-size: clamp(1.75rem, 1.6rem + .55vw, 2.125rem); line-height: 1.15; margin: 0 0 4px; overflow-wrap: anywhere; hyphens: auto; text-wrap: balance; }
/* „Отзиви за …“, „Моите отзиви“, „Напишете отзив“ и „Редакция на вашия отзив“ - умерено заглавие на вътрешна страница (остава h1); дългите имена се пренасят нормално, по думи. */
.reviews-title { font-size: clamp(1.75rem, 1.6rem + .55vw, 2.125rem); line-height: 1.2; text-wrap: balance; }
.catalog-head p { color: var(--muted); max-width: 72ch; margin: 0; font-size: .95rem; }
.notice { border-left: 3px solid var(--accent); background: var(--soft); padding: 10px 14px; margin: var(--s2) 0 0; font-size: .95rem; }
/* Една колона на телефон - minmax(0, 1fr), за да не се разширява по най-широкото съдържание при увеличен текст. */
.catalog { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding-bottom: var(--s5); }
@media (min-width: 1024px) { .catalog { grid-template-columns: 264px minmax(0, 1fr); gap: var(--s5); align-items: start; } }
.filters-panel { display: none; }
@media (min-width: 1024px) { .filters-panel { display: block; position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow: auto; padding: 0 6px 24px 0; scrollbar-width: thin; } }
#filters .filters-title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 10px; }
.filter-group { border-top: 1px solid var(--line); padding: 14px 0 6px; }
.filter-group legend, .filter-group > .label { font-weight: 700; font-size: .95rem; margin-bottom: 4px; display: block; }
.filter-group legend { float: left; width: 100%; }
.filter-group legend + * { clear: both; }
.filter-group legend .hint { font-weight: 400; display: inline; }
.filter-group .select { margin: 6px 0 4px; }
.toolbar { position: sticky; top: 0; z-index: 20; background: #fff; transition: box-shadow .2s; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: var(--s2); }
.toolbar__count { font-weight: 700; margin: 0; }
/* С увеличен текст контролите (филтри, подредба, „Списък/Снимки“) минават на нов ред, вместо да излизат встрани. */
.toolbar__controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.toolbar__controls .select { min-height: var(--tap); }
.btn-filters { flex: 1 1 0; }
.sort-wrap { flex: 1 1 0; }
.sort-wrap .select { width: 100%; }
@media (min-width: 640px) { .btn-filters, .sort-wrap { flex: 0 0 auto; } .sort-wrap .select { width: auto; } }
.toolbar.is-stuck { box-shadow: 0 8px 16px -10px rgb(28 25 23 / 22%); }
@media (min-width: 1024px) { .btn-filters { display: none; } .toolbar { position: static; } .toolbar.is-stuck { box-shadow: none; } }
@media (max-width: 639px) { .toolbar__count { order: 2; width: 100%; font-size: .95rem; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s2); padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px 0 12px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); cursor: pointer; font-size: .9rem; transition: border-color .15s, box-shadow .15s; }
.chip:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.chip:active { background: var(--soft); box-shadow: none; }
.chip span[aria-hidden] { font-size: 1.1rem; line-height: 1; padding: 0 6px; color: var(--muted); }
.chip--clear { border-color: transparent; text-decoration: underline; padding: 0 8px; color: var(--ink-2); }
.results { display: grid; gap: var(--s4) var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.results-note { font-size: .875rem; color: var(--muted); margin: 0 0 var(--s2); }
/* „В …“ и „Работят и в …“ (PUB-004) - през целия ред и в мрежата, и в списъка. */
.results-group { grid-column: 1 / -1; margin: var(--s2) 0 0; font-size: 1.125rem; }

.rcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow .25s; }
.rcard__media { position: relative; overflow: hidden; }
.rcard__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .rcard:hover { box-shadow: var(--shadow-2); } .rcard:hover .rcard__media img { transform: scale(1.04); } }
.rcard:focus-within, .rcard:active { box-shadow: var(--shadow-2); }
.rcard__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; }
.rcard .rcard__body .price { margin-top: auto; padding-top: 10px; }
.rcard__labels { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rcard h3 { font-size: 1.5rem; line-height: 1.1; margin: 2px 0 0; }
.rcard h3 a::after { content: ""; position: absolute; inset: 0; }
.rcard .loc { font-size: .95rem; color: var(--ink-2); margin: 0; }
.rcard .rating { font-size: .92rem; margin: 0; }
.rcard .facts-text { font-size: .92rem; color: var(--muted); margin: 0; }
.rcard .price { font-size: 1.05rem; margin-top: 6px; }
.sponsored-label { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 800; letter-spacing: .04em; color: var(--sponsor); border: 1px solid var(--sponsor-line); background: #fffaf0; border-radius: 2px; padding: 1px 6px; line-height: 1.5; }
.sponsored-slot { margin-bottom: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .sponsored-slot .rcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s3); align-items: center; }
  .sponsored-slot .rcard__body { padding: 16px 20px 16px 0; }
  .sponsored-slot .rcard__media img { height: 100%; }
}
.sponsored-slot__why { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.empty { text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: var(--s5) var(--s2); }
.empty h2 { font-size: 1.9rem; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.fav-btn { position: absolute; right: 10px; top: 10px; z-index: 3; width: var(--tap); height: var(--tap); border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); transition: box-shadow .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.fav-btn:hover { box-shadow: var(--shadow-2); color: var(--accent); }
.fav-btn:active { background: var(--accent-soft); box-shadow: var(--shadow-1); }
.fav-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fav-btn[aria-pressed="true"] { color: var(--accent); }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.img-tag { position: absolute; left: 10px; top: 10px; z-index: 2; background: #fff; border-color: transparent; color: var(--ink-2); box-shadow: var(--shadow-1); }

dialog.filter-dialog { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: #fff; color: var(--ink); }
dialog.filter-dialog::backdrop { background: rgb(28 25 23 / 40%); }
.filter-dialog__inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.filter-dialog__head, .filter-dialog__foot { background: #fff; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-dialog__head { border-bottom: 1px solid var(--line); }
.filter-dialog__head h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0; }
.filter-dialog__foot { border-top: 1px solid var(--line); }
.filter-dialog__foot .btn--quiet { flex: 0 0 auto; }
.filter-dialog__foot .btn--primary { flex: 1 1 auto; }
.filter-dialog__body { padding: 4px var(--gutter) 24px; overflow: auto; }
.filter-dialog__body #filters .filters-title, .filter-dialog__body #filters .clear-in-form { display: none; }
.filter-dialog__body .filter-group:first-of-type { border-top: 0; }
.icon-btn { width: var(--tap); height: var(--tap); display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.icon-btn:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.icon-btn:active { background: var(--soft); box-shadow: none; }
@media (min-width: 768px) { dialog.filter-dialog { width: 440px; margin-left: auto; box-shadow: var(--shadow-3); } }

/* ---------- Профил ---------- */
.gallery-wrap { position: relative; margin-top: var(--s2); }
.gallery { display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: var(--soft); border-radius: var(--radius-card); overflow: hidden; position: relative; display: block; }
.gallery button:focus-visible { z-index: 1; outline-offset: 3px; }
.gallery button::after { content: ""; position: absolute; inset: 0; background: rgb(28 25 23 / 0%); transition: background-color .2s; }
@media (hover: hover) { .gallery button:hover::after { background: rgb(28 25 23 / 8%); } }
.gallery button:active::after { background: rgb(28 25 23 / 14%); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .5s var(--ease); }
@media (hover: hover) { .gallery button:hover img { transform: scale(1.04); } }
.gallery button:first-child { grid-column: 1 / -1; }
.gallery button:nth-child(n+4) { display: none; }
.gallery-all { position: absolute; right: 10px; bottom: 10px; z-index: 2; box-shadow: var(--shadow-2); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; }
  .gallery button:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .gallery button:nth-child(n+4) { display: block; }
  .gallery button:nth-child(n+6) { display: none; }
  .gallery img { aspect-ratio: auto; }
}
@media (min-width: 1200px) { .gallery { grid-template-rows: 250px 250px; } }
.profile-head { padding-block: var(--s3) var(--s3); display: grid; gap: 10px; }
.profile-head .kind { font-size: .95rem; color: var(--ink-2); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.profile-head h1 { font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.8rem); margin: 0; }
.profile-head__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; color: var(--ink-2); font-size: .98rem; }
.profile-head__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.profile-head__actions .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.profile-head__actions .btn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.profile-head__actions .btn[aria-pressed="true"]:hover { color: var(--accent); background: var(--accent-soft); }
.profile-head__actions .btn[aria-pressed="true"] svg { fill: currentColor; }
.hire-form { margin: 0; }
.profile-head__actions .hire-toggle[aria-pressed="true"] svg { fill: none; }
.section-nav { position: sticky; top: 0; z-index: 30; background: #fff; border-block: 1px solid var(--line); transition: box-shadow .2s; }
.section-nav.is-stuck { box-shadow: 0 8px 16px -10px rgb(28 25 23 / 22%); }
@media (min-width: 1024px) { .section-nav { top: var(--header-h); } }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; white-space: nowrap; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; transition: color .15s; }
.section-nav a:hover { color: var(--ink); }
.section-nav a:hover::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--line-strong); }
.section-nav a:focus-visible { outline-offset: -3px; }
.section-nav a[aria-current="true"] { color: var(--ink); }
.section-nav a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--accent); }
.profile { display: grid; gap: var(--s4); padding-block: var(--s4) var(--s6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .profile { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; } }
.profile section { padding-block: 0 var(--s4); margin-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.profile section:last-child { border-bottom: 0; margin-bottom: 0; }
.profile h2 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); margin-bottom: var(--s2); }
.lead-text { font-size: 1.1rem; color: var(--ink-2); max-width: 64ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.facts dt, .facts dd { overflow-wrap: anywhere; hyphens: auto; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.checklist li.no { color: var(--muted); }
.checklist li.no::before { content: "-"; color: var(--muted); }
.table-wrap { overflow-x: auto; max-width: 100%; }
.table-wrap:focus-visible { outline-offset: 4px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: .85rem; color: var(--muted); font-weight: 600; border-bottom-color: var(--ink); }
.price-table tbody th { font-weight: 400; }
.price-table td { font-weight: 700; }
.price-table td:last-child { text-align: right; padding-right: 0; }
.areas { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .areas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.areas img { border-radius: var(--radius); border: 1px solid var(--line); }
.areas dl { margin: 0; }
.areas dt { font-size: .85rem; color: var(--muted); }
.areas dd { margin: 2px 0 14px; font-weight: 600; }
.callout { background: var(--soft); border-radius: var(--radius); padding: 14px 16px; margin: 0; }
.reviews-summary { display: grid; gap: var(--s3); margin: var(--s3) 0; }
@media (min-width: 640px) { .reviews-summary { grid-template-columns: 160px minmax(0, 1fr); align-items: start; } }
.score { font-family: var(--font-head); font-size: 4rem; font-weight: 600; line-height: .9; margin: 0; }
.score + p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 120px) 32px; gap: 10px; align-items: center; font-size: .95rem; }
.bars .bar { height: 4px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.bars .bar span { position: absolute; inset: 0 auto 0 0; background: var(--ink); }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
.review { padding: var(--s3) 0; border-top: 1px solid var(--line); }
.review h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 6px 0 4px; }
.review__meta { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.review p { max-width: 64ch; }
.review__reply { border-left: 2px solid var(--line-strong); padding-left: 14px; margin-top: 12px; color: var(--ink-2); font-size: .95rem; }

.inquiry-wrap { scroll-margin-top: 120px; }
@media (min-width: 1024px) { .inquiry-wrap { position: sticky; top: calc(var(--header-h) + 64px); } }
.inquiry { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; background: #fff; box-shadow: var(--shadow-2); }
.inquiry__price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; line-height: 1; margin: 0; }
.inquiry__price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 600; display: block; margin-bottom: 4px; }
.inquiry__note { color: var(--muted); font-size: .9rem; margin: 6px 0 var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.inquiry h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0 0 4px; }
.inquiry__lead { color: var(--muted); font-size: .9rem; margin-bottom: var(--s2); }
.row-2 { display: grid; gap: 0 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 400px) { .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.error-summary { border: 2px solid var(--danger); background: var(--danger-bg); border-radius: var(--radius); padding: 12px 16px; margin-bottom: var(--s2); }
.error-summary h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--danger); }
.error-summary ul { margin: 0; padding-left: 1.1em; }
.error-summary a { color: var(--danger); font-weight: 600; }
.form-status { border: 2px solid var(--ok); background: var(--ok-bg); color: var(--ok); border-radius: var(--radius); padding: 12px 16px; font-weight: 700; margin-top: 12px; }
.form-status[hidden], .error-summary[hidden] { display: none; }
.sticky-cta { position: sticky; bottom: 0; z-index: 35; background: #fff; padding: 10px var(--gutter); display: flex; gap: 12px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-up); transition: opacity .2s, visibility .2s; }
.sticky-cta.is-hidden { opacity: 0; visibility: hidden; }
/* При голям текст или мащаб: висока лента престава да е залепваща, за да не закрива съдържание (02.7) */
.toolbar.is-tall, .section-nav.is-tall, .sticky-cta.is-tall { position: static; box-shadow: none; }
.sticky-cta p { margin: 0; line-height: 1.2; }
.sticky-cta p b { font-size: 1.05rem; }
.sticky-cta p span { display: block; font-size: .8rem; color: var(--muted); }
.sticky-cta__actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

dialog.lightbox { border: 0; padding: 0; background: #111; color: #fff; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; }
dialog.lightbox::backdrop { background: #111; }
.lightbox__inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px var(--gutter); gap: 12px; font-size: .95rem; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lightbox__stage img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 12px; }
.lightbox .icon-btn, .lightbox .btn { background: #222; color: #fff; border-color: #555; }
.lightbox .btn:hover { background: #fff; color: #111; }
.lightbox :focus-visible { outline-color: #8db4ff; }
.photo-credit { font-size: .75rem; color: var(--muted); margin: 6px 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Съобщение за демонстрационни действия (03.12) ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; width: min(92vw, 440px); background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 12px 16px; box-shadow: var(--shadow-3); font-size: .95rem; }
.toast[hidden] { display: none; }
.search__status { margin: 0; grid-column: 1 / -1; border-left: 3px solid var(--accent); background: var(--soft); padding: 10px 12px; font-size: .95rem; }
.search__status[hidden] { display: none; }
.page-narrow { max-width: 720px; }

/* ---------- Вход, регистрация и профил (03.2) ---------- */
.site-header__util form, .nav-extra form { margin: 0; }
.nav-extra button, .link-button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.nav-extra button { display: flex; align-items: center; gap: 12px; min-height: 44px; width: 100%; color: var(--ink); font-weight: 600; text-align: left; }
.link-button { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.link-button:hover { color: var(--accent-hover); }
.auth { padding-block: clamp(32px, 5vw, 72px); }
.auth__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
.auth__main { max-width: 480px; width: 100%; }
.auth__main h1 { margin-bottom: var(--s1); }
.auth__lead { margin: 0 0 var(--s3); }
.auth__photo { display: none; margin: 0; }
.auth__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); }
.auth-form { margin-top: var(--s2); }
.auth-form .btn { margin-top: var(--s1); }
.auth-form__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin: 0 0 var(--s2); }
.auth-form__row a { font-weight: 700; color: var(--accent); }
.auth-fine { font-size: .875rem; color: var(--muted); margin: var(--s2) 0 0; }
.auth-alt { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.auth-alt p { margin: 0 0 var(--s1); }
.auth-alt a { font-weight: 700; color: var(--accent); }
.auth .form-status { margin: 0 0 var(--s2); }
.auth .error-summary h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--danger); }
.auth .notice { margin-top: var(--s3); }
.auth-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 0 0 var(--s2); font-size: .95rem; color: var(--muted); }
.auth-steps [aria-current] { color: var(--ink); }
@media (min-width: 960px) {
  .auth__grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: var(--s6); }
  .auth__photo { display: block; position: sticky; top: 140px; aspect-ratio: 4 / 5; }
}
/* Поздравът е заглавието на страницата за екранните четци, но изглежда като текст (20 px, дълъг имейл се пренася). */
.profile-greeting { font-family: var(--font-body); font-size: 1.25rem; font-weight: 400; line-height: var(--lh-body); letter-spacing: normal; color: var(--muted); margin: 0 0 var(--s2); overflow-wrap: anywhere; }
.profile-facts { display: grid; gap: 0; margin: var(--s3) 0; border-top: 1px solid var(--line); }
.profile-facts > div { display: grid; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile-facts dt { font-weight: 700; font-size: .9rem; color: var(--muted); }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 560px) { .profile-facts > div { grid-template-columns: 200px minmax(0, 1fr); } }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.badge .icon { width: 14px; height: 14px; }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.profile-areas { display: grid; gap: var(--s2); margin: var(--s4) 0 var(--s2); }
@media (min-width: 560px) { .profile-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.profile-area { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s3); box-shadow: var(--shadow-1); }
.profile-area h2 { font-size: 1.4rem; margin: var(--s1) 0 4px; }
/* „Известия по имейл“ - заглавие на раздел (25,4 px), не с размера на основните h2. */
.profile-notifications h2 { font-size: 1.5875rem; margin: var(--s4) 0 var(--s2); }
.profile-area p { margin: 0; color: var(--ink-2); }
.profile-area__icon { width: 32px; height: 32px; color: var(--accent); }
.profile-logout { margin-top: var(--s4); }
.dev-mail-list { list-style: none; padding: 0; margin: var(--s3) 0; border-top: 1px solid var(--line); }
.dev-mail-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dev-mail-list a { font-weight: 700; color: var(--accent); }
.dev-mail-list span { font-size: .875rem; color: var(--muted); }

/* ---------- Моят бизнес: чернова на профила (03.7.1) ---------- */
.biz-page .kicker a { color: inherit; text-decoration: none; }
.biz-page .kicker a:hover { color: var(--accent); text-decoration: underline; }
.biz-page .error-summary h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--danger); }
.biz-page .form-status { margin: 0 0 var(--s2); }
.biz-form { margin-top: var(--s3); }
.biz-form__part { padding: var(--s3) 0; border-top: 1px solid var(--line); }
.biz-form__part > legend { float: left; width: 100%; padding: 0; margin-bottom: var(--s2); }
.biz-form__part > legend + * { clear: left; }
.biz-form__part > legend h2 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.9rem); margin: 0; }
/* Формата за отзив (създаване и редакция): частите - под заглавието „Напишете отзив“ / „Редакция на вашия отзив“ (28-34 px). */
.review-form .biz-form__part > legend h2 { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); }
/* „Моите отзиви“: имената на бизнесите (h2) - 20-22,4 px, под заглавието на страницата (28-34 px). */
.my-reviews .manage-row__title { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); }
/* Подсказки при търсене (CAT-017) */
.suggest-list { list-style: none; margin: 4px 0 0; padding: 4px 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); box-shadow: 0 6px 18px rgba(0,0,0,.12); max-height: 22rem; overflow-y: auto; position: relative; z-index: 20; }
.suggest-list[hidden] { display: none; }
.suggest-list li { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; cursor: pointer; min-height: var(--tap); justify-content: center; }
.suggest-list li[aria-selected="true"] { background: var(--soft); outline: 2px solid var(--focus); outline-offset: -2px; }
.suggest-list__main { font-weight: 700; }
.suggest-list__meta { font-size: .9rem; color: var(--muted); }
/* Помощ и контакт (PUB-013) */
.help-lead { margin-bottom: var(--s3); }
.help-items { display: grid; gap: var(--s2); }
.help-item { border-top: 1px solid var(--line); padding-top: var(--s2); }
.help-item h2 { font-size: 1.2rem; margin: 0 0 6px; }
.help-item p { margin: 0; max-width: 70ch; }
.help-more { margin-top: var(--s4); border-top: 2px solid var(--line); padding-top: var(--s2); }
.help-more p { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.help-hub { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.help-hub li { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2) var(--s3); }
.help-hub h2 { font-size: 1.25rem; margin: 0 0 4px; }
.help-hub p { margin: 0; }
/* Заявяване на профил (VPN-018) */
.claim-note { margin-top: var(--s2); padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius); font-size: .95rem; }
.claim-note p { margin: 0 0 4px; }
/* Стъпки в редактора на бизнеса (VPN-001) */
.biz-steps { margin: var(--s3) 0 0; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.biz-steps__title { font-size: 1.15rem; margin: 0 0 6px; }
.biz-steps__progress { margin: 0 0 var(--s2); }
.biz-steps__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.biz-steps__item { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
.biz-steps__item a { font-weight: 700; min-height: 24px; }
.biz-steps__item a[aria-current="step"] { text-decoration-thickness: 3px; }
.biz-steps__state { font-size: .9rem; color: var(--muted); }
.biz-steps__item.is-done .biz-steps__state { color: var(--ok); font-weight: 700; }
.biz-steps__item.is-missing .biz-steps__state { color: var(--danger); font-weight: 700; }
.biz-steps__missing { flex-basis: 100%; margin: 2px 0 0; padding-left: 1.2em; font-size: .9rem; }
.biz-step { border-top: 2px solid var(--line); margin-top: var(--s3); padding-top: var(--s2); }
.biz-step[hidden] { display: none; }
.biz-step__count { margin: 0; font-weight: 700; color: var(--muted); }
.biz-step__count:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.biz-step__actions { display: flex; flex-wrap: wrap; gap: 8px 12px; padding: var(--s2) 0; }
.biz-step__actions [hidden] { display: none; }
.biz-form__intro { margin-bottom: var(--s2); }
.biz-form fieldset.field > legend { margin-bottom: 4px; }
.biz-form fieldset.field[hidden] { display: none; }
.biz-form .textarea { min-height: 200px; }
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; margin-top: 4px; }
@media (min-width: 560px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Избор на дата (PLN-013) - неутрални бележки, без цветова оценка на датата. */
.date-options { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.date-option { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; display: grid; gap: 4px; justify-items: start; }
.date-option--current { border-color: var(--line-strong); background: var(--soft); }
.date-option__day, .date-option__note { margin: 0; }
.date-option__note { font-size: .92rem; color: var(--ink-2); }
/* Пакети задачи (PLN-010) */
.task-package { border-top: 1px solid var(--line); padding: var(--s2) 0; }
.task-package h2 { font-size: var(--fs-h3); margin: 0 0 var(--s1); }
.task-package__list ul { margin: var(--s1) 0 0; }
.task-package .biz-form__actions form { display: inline; }
/* Хаштаг и палитри (TLS-002, TLS-003) */
.hashtags { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.hashtag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; }
.hashtag__text { font-weight: 700; overflow-wrap: anywhere; flex: 1 1 14em; }
.hashtag form { margin: 0; }
.palettes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.palette-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; padding: 0; list-style: none; }
.palette-swatches li { display: grid; gap: 4px; justify-items: center; font-size: .85rem; width: 7.5em; text-align: center; }
.palette-swatch { display: block; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); }
.palette-choice { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 8px; }
.palette-applied { margin: 6px 0 0; }
.palette-swatch--inline { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.palette-choice .palette-swatches { display: inline-flex; margin: 0 8px; vertical-align: middle; }
.palette-choice .palette-swatch { width: 24px; height: 24px; }
.field-row { display: flex; flex-wrap: wrap; gap: 0 24px; }
/* Файлове в разговора (INQ-009) */
.msg__files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.msg__files li { overflow-wrap: anywhere; }
.msg__thumb { display: block; width: 160px; height: auto; max-height: 160px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 4px; background: var(--soft); }
.biz-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s3) 0 var(--s2); }
.biz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink-2); margin: var(--s1) 0 var(--s2); }
.badge--draft { background: var(--soft); color: var(--ink-2); border: 1px solid var(--line-strong); }
.biz-description { white-space: pre-line; overflow-wrap: anywhere; max-width: 68ch; }
.biz-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.biz-page dd a, .biz-links a, .biz-card__links a { color: var(--accent); font-weight: 700; overflow-wrap: anywhere; }
.biz-missing { margin: var(--s4) 0 var(--s2); padding: var(--s2) var(--s3); border-left: 3px solid var(--accent); background: var(--soft); }
.biz-missing h2 { font-size: 1.3rem; margin: 0 0 6px; }
.biz-missing p { margin: 0 0 6px; }
.biz-missing ul { margin: 0; padding-left: 1.1em; }
.biz-list { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: var(--s2); }
.biz-card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s3); box-shadow: var(--shadow-1); }
.biz-card h2 { font-size: 1.5rem; margin: 0; }
.biz-card h2 a { color: var(--ink); text-decoration: none; }
.biz-card h2 a:hover { color: var(--accent); text-decoration: underline; }
.biz-card .biz-meta { margin-bottom: 4px; }
.biz-card__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: var(--s1) 0 0; }
.biz-card__links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.biz-note { margin-top: var(--s3); }
.profile-area a { color: var(--accent); font-weight: 700; }
.biz-next { margin: var(--s3) 0; } .biz-next p { margin: 0 0 var(--s2); }
.biz-form fieldset.field > .check { font-weight: 400; font-size: 1rem; }

/* ---------- Защита на акаунта и управление (03.8.1) ---------- */
.notice--warn { border-left-color: var(--danger); background: var(--danger-bg); }
.auth-details { margin: 0 0 var(--s2); }
.auth-details summary { cursor: pointer; font-weight: 700; color: var(--accent); min-height: var(--tap); display: flex; align-items: center; }
.auth-details[open] summary { margin-bottom: var(--s1); }
.steps { padding-left: 1.2em; margin: var(--s2) 0; }
.steps li { margin-bottom: 4px; }
.qr { margin: var(--s2) 0; width: 200px; max-width: 100%; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.qr svg { display: block; width: 100%; height: auto; }
.secret-key, .recovery-codes code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1rem; background: var(--soft); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.input--code { max-width: 12ch; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.recovery-codes { margin: var(--s3) 0; padding: var(--s2) var(--s3); border: 1px solid var(--line-strong); border-radius: var(--radius-card); }
.recovery-codes h3 { margin: 0 0 6px; font-size: 1.2rem; }
.recovery-codes__list { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: 6px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.badge--pending { background: #fff4df; color: #7a4b00; border: 1px solid #e8c78a; }
.badge--returned { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); }
.review-note { margin: var(--s3) 0; padding: var(--s2) var(--s3); border: 2px solid var(--danger); border-radius: var(--radius); background: var(--danger-bg); }
.review-note h2 { font-size: 1.3rem; margin: 0 0 6px; }
.review-note p { margin: 0 0 6px; white-space: pre-line; overflow-wrap: anywhere; }
.submit-box { margin: var(--s3) 0; padding: var(--s2) var(--s3); border: 1px solid var(--line-strong); border-radius: var(--radius-card); }
.submit-box h2 { font-size: 1.3rem; margin: 0 0 6px; }
.submit-box p { margin: 0 0 var(--s1); }
.manage-tabs { list-style: none; padding: 0; margin: var(--s2) 0 var(--s3); display: flex; flex-wrap: wrap; gap: 8px; }
.manage-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.manage-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.manage-table { width: 100%; border-collapse: collapse; margin: var(--s2) 0; }
.manage-table th, .manage-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.manage-table th { font-size: .85rem; color: var(--muted); }
.manage-table a { color: var(--accent); font-weight: 700; }
@media (max-width: 639px) {
  .manage-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .manage-table tr { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .manage-table td { border: 0; padding: 0; }
}
.history { list-style: none; padding: 0; margin: var(--s2) 0; border-top: 1px solid var(--line); }
.history li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.history p { margin: 2px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.decision { display: grid; gap: var(--s2); margin: var(--s3) 0; }
@media (min-width: 900px) { .decision { grid-template-columns: 1fr 1fr; align-items: start; } }
.decision form { border: 1px solid var(--line-strong); border-radius: var(--radius-card); padding: var(--s2) var(--s3); }
.decision h3 { margin: 0 0 6px; font-size: 1.2rem; }
.profile-links { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 8px; } .profile-links a { color: var(--accent); font-weight: 700; }
.biz-page .page-narrow > h2 { margin-top: var(--s4); }

/* ---------- Галерия (03.6.1) ---------- */
.gallery-page { max-width: 960px; }
.gallery-usage { margin: var(--s3) 0; }
.gallery-usage p { margin: 0 0 6px; }
.gallery-usage progress { width: 100%; max-width: 420px; height: 10px; accent-color: var(--accent); }
.upload-form { margin: var(--s3) 0; padding: var(--s2) var(--s3); border: 1px solid var(--line-strong); border-radius: var(--radius-card); }
.upload-form input[type="file"] { padding: 10px; }
.upload-list { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: 8px; }
.upload-list[hidden] { display: none; }
.upload-item { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); border-left-width: 4px; overflow-wrap: anywhere; }
.upload-item.is-ok { border-left-color: var(--ok); }
.upload-item.is-error { border-left-color: var(--danger); background: var(--danger-bg); }
.upload-item.is-error .upload-item__status { color: var(--danger); font-weight: 700; }
.upload-item progress { width: 100%; height: 8px; accent-color: var(--accent); }
.gallery-manage { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: var(--s2); }
.gallery-card { display: grid; gap: var(--s2); padding: var(--s2); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
.gallery-card:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--soft); }
.gallery-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 var(--s1); font-weight: 600; }
.caption-form label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: 4px; }
.caption-form__row { display: flex; flex-wrap: wrap; gap: 8px; }
.caption-form__row .input { flex: 1 1 14rem; min-width: 0; }
.gallery-card__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--s2); }
.gallery-card__actions form { margin: 0; }
.gallery-card__delete { color: var(--danger); font-weight: 700; min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 6px; }
@media (min-width: 720px) { .gallery-card { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } }
.gallery-preview, .gallery-review { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.gallery-preview img, .gallery-review img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
.gallery-review p { margin: 4px 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.text-link { color: var(--accent); font-weight: 700; }
.delete-preview { width: 100%; max-width: 360px; height: auto; border-radius: var(--radius); margin: var(--s2) 0; }
.file-picker { display: grid; gap: 8px; }
.file-picker__button, .file-picker__chosen { display: none; }
.has-js .file-picker { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.has-js .file-picker input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; min-height: 0; }
.has-js .file-picker input[type="file"]:disabled { cursor: not-allowed; }
.has-js .file-picker__button, .has-js .file-picker__chosen { display: inline-flex; }
.has-js .file-picker input[type="file"]:focus-visible + .file-picker__button { outline: 3px solid var(--accent); outline-offset: 2px; }
.has-js .file-picker input[type="file"]:hover + .file-picker__button { background: var(--ink); color: #fff; }

/* ---------- Публичен бизнес профил (03.9.1) ---------- */
/* Мозайка с водеща снимка. Миниатюрите се изрязват (object-fit), пълната снимка е на цял екран.
   Една снимка се показва цяла, без изрязване и без разтягане над естествения ѝ размер. */
.pgallery-wrap { position: relative; margin-top: var(--s2); }
.pgallery { display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgallery__item { display: block; position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--soft); cursor: zoom-in; }
.pgallery__item:focus-visible { z-index: 1; outline-offset: 3px; }
.pgallery__item::after { content: ""; position: absolute; inset: 0; background: rgb(28 25 23 / 0%); transition: background-color .2s; }
@media (hover: hover) { .pgallery__item:hover::after { background: rgb(28 25 23 / 8%); } }
.pgallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pgallery__item[data-portrait] img { object-position: center 30%; }
.pgallery__item:first-child { grid-column: 1 / -1; }
.pgallery__item:first-child img { aspect-ratio: 3 / 2; }
.pgallery--many .pgallery__item:nth-child(n+4), .pgallery--four .pgallery__item:nth-child(n+4) { display: none; }
.pgallery--two .pgallery__item:first-child { grid-column: auto; }
.pgallery--two .pgallery__item img, .pgallery--two .pgallery__item:first-child img { aspect-ratio: 4 / 5; }
.pgallery--single { display: flex; justify-content: center; background: var(--soft); border-radius: var(--radius-card); }
.pgallery--single .pgallery__item { background: none; }
.pgallery--single .pgallery__item img { width: auto; height: auto; max-width: 100%; max-height: min(72vh, 640px); aspect-ratio: auto; object-fit: contain; }
.pgallery__all { position: absolute; right: 10px; bottom: 10px; z-index: 2; box-shadow: var(--shadow-2); gap: 6px; }
.pgallery__all .icon { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .pgallery { grid-template-rows: 210px 210px; grid-template-columns: 2fr 1fr 1fr; }
  .pgallery__item img, .pgallery__item:first-child img { aspect-ratio: auto; }
  .pgallery__item:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .pgallery--many .pgallery__item:nth-child(n+4), .pgallery--four .pgallery__item:nth-child(n+4) { display: block; }
  .pgallery--three { grid-template-columns: 2fr 1fr; }
  .pgallery--four .pgallery__item:nth-child(4) { grid-column: 2 / span 2; }
  .pgallery--two { grid-template-columns: 3fr 2fr; grid-template-rows: 420px; }
  .pgallery--two .pgallery__item:first-child { grid-row: auto; }
  .pgallery--two .pgallery__item img, .pgallery--two .pgallery__item:first-child img { aspect-ratio: auto; }
  .pgallery--single { grid-template-rows: none; }
}
@media (min-width: 1200px) {
  .pgallery { grid-template-rows: 250px 250px; }
  .pgallery--two { grid-template-rows: 500px; }
}
.profile-head--plain { padding-top: var(--s4); }
.profile-name { overflow-wrap: anywhere; hyphens: auto; text-wrap: balance; }
.meta-icon { display: inline-flex; align-items: center; gap: 6px; }
.meta-icon .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }
.profile-description { white-space: pre-line; overflow-wrap: anywhere; max-width: 68ch; font-size: 1.05rem; color: var(--ink-2); }
.facts--wide { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .facts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.profile h2 .count { font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 600; }
.pthumbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
.pthumbs a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); cursor: zoom-in; }
.pthumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
@media (hover: hover) { .pthumbs a:hover img { opacity: .88; } }
.contact-wrap { scroll-margin-top: 120px; }
@media (min-width: 1024px) { .contact-wrap { position: sticky; top: calc(var(--header-h) + 64px); } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; background: #fff; box-shadow: var(--shadow-2); }
.contact-card h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin: 0 0 var(--s2); }
.contact-list { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 4px; }
.response-time { margin: 0 0 var(--s2); }
.response-time .hint { display: block; margin-top: 2px; }
.contact-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; }
.contact-list .icon { width: 20px; height: 20px; color: var(--accent); }
.contact-list a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); font-weight: 600; overflow-wrap: anywhere; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--accent); }
.contact-social { list-style: none; margin: 0 0 var(--s2); padding: var(--s2) 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.contact-social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.contact-social a:hover { border-color: var(--ink); }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.lightbox__stage img { min-height: 0; flex: 0 1 auto; }
.lightbox__stage figcaption { padding: 10px 0 0; text-align: center; color: #e7e5e4; font-size: .95rem; max-width: 70ch; overflow-wrap: anywhere; }
.lightbox__stage figcaption:empty { display: none; }
.lightbox .icon-btn .icon { width: 20px; height: 20px; }
html:has(dialog.lightbox[open]) { overflow: hidden; }
.publication-box { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s2) var(--s3); margin: var(--s3) 0; }
.publication-box h2 { font-size: 1.4rem; margin: 0 0 var(--s1); }
.publication-box p { margin: 0 0 var(--s1); }
.publication-box form { margin-top: var(--s2); display: grid; gap: var(--s1); justify-items: start; }
.biz-form__public { margin: -6px 0 var(--s2); }

/* ---------- Каталог (04.2.1) ---------- */
/* Без JavaScript филтрите са видими и на телефон (панелът в диалог изисква JavaScript). */
html:not(.js) .filters-panel { display: block; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0 var(--s2) var(--s2); }
@media (min-width: 1024px) { html:not(.js) .filters-panel { border: 0; padding: 0 6px 24px 0; } }
.catalog-filters .filters-title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: var(--s2) 0 var(--s1); }
.catalog-filters .filter-group[hidden] { display: none; }
.catalog-filters .hint { margin-top: 4px; }
.filter-actions { display: grid; gap: 8px; padding-top: var(--s2); border-top: 1px solid var(--line); }
.btn-filters[hidden] { display: none; }
.filter-count { font-weight: 700; color: var(--accent); }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 639px) { .sort-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.chips a.chip { text-decoration: none; }
.place-choices { margin: 8px 0 0; padding-left: 1.1em; display: grid; gap: 4px; }
.place-choices a { color: var(--accent); font-weight: 600; }
.catalog-head .notice p { margin: 0; }
.rcard__media img.is-portrait { object-position: center 30%; }
.rcard__placeholder { aspect-ratio: 3 / 2; display: grid; place-content: center; justify-items: center; gap: 8px; background: var(--soft); color: var(--muted); font-size: .9rem; }
.rcard__placeholder .icon { width: 40px; height: 40px; color: var(--line-strong); }
.rcard .rel { display: inline-flex; align-self: flex-start; align-items: center; gap: 4px; margin: 0 0 4px; padding: 2px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.rcard .rel .icon { width: 14px; height: 14px; }
.rel--here { background: var(--accent); color: #fff; }
.rel--serves { border: 1px solid var(--accent); color: var(--accent); background: #fff; }
.rcard h3 { overflow-wrap: anywhere; hyphens: auto; }
.rcard__area { color: var(--ink-2); }
.empty ul.empty__actions { list-style: none; padding: 0; margin: var(--s2) 0 0; }
.empty__subhead { font-size: 1rem; margin: var(--s3) 0 0; }
.empty__count { font-weight: 400; color: var(--muted); }
/* Предложенията при празен резултат - в ширината на екрана и с увеличен текст (бройката минава на нов ред). */
.empty__actions > li { min-width: 0; max-width: 100%; }
.empty__actions .btn { max-width: 100%; flex-wrap: wrap; height: auto; }
.all-cats__count { font-weight: 400; color: var(--muted); }
.pager { margin-top: var(--s5); }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.pager a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager span[aria-disabled] { color: var(--muted); border-color: var(--line); }
.pager .pager__gap { border: 0; min-width: 0; padding: 0 2px; color: var(--muted); }
@media (max-width: 639px) { .toolbar .btn-filters { flex: 0 0 auto; padding-inline: 16px; } .toolbar .sort-wrap { flex: 1 1 0; min-width: 0; } }
.filter-dialog__body .filter-actions { display: none; }

/* ---------- Запитвания (04.6.1) ---------- */
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; }
.header-actions .msg-link { position: relative; gap: 2px; }
.badge--new { background: var(--accent); color: #fff; }
.badge--auto { background: var(--soft); color: var(--ink); border: 1px solid var(--line-strong); }
.msg__auto { margin: 6px 0 0; }
.contact-cta { margin-bottom: 8px; }
.offer-cta, .visit-cta, .call-cta { margin: 0 0 8px; }
.inquiry-compact + .offer-cta { margin-top: 12px; }
.contact-cta-hint { margin-bottom: var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.contact-own { margin-bottom: var(--s2); }
.sticky-cta p { min-width: 0; }
.sticky-cta p b { display: block; overflow-wrap: anywhere; } /* PUB-016: пренася се, не се отрязва (WCAG 1.4.12); висока лента - .is-tall */
.inquiry-to { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s2) var(--s3); margin: var(--s2) 0 var(--s3); box-shadow: var(--shadow-1); }
.inquiry-to h2 { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: var(--s2) 0 4px; }
.inquiry-to h2:first-child { margin-top: 0; }
.inquiry-to__name { font-family: var(--font-head); font-size: 1.8rem; line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.inquiry-to__list { margin: 0 0 8px; padding-left: 1.1em; }
.inquiry-form [data-disabled] .input { opacity: .55; }
.conv-list { list-style: none; margin: var(--s3) 0; padding: 0; border-top: 1px solid var(--line); }
.conv-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.conv-item a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.conv-item a:hover .conv-item__who { color: var(--accent); text-decoration: underline; }
.conv-item.is-unread .conv-item__who { font-weight: 800; }
.conv-item__meta { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
/* Основните заглавия в „Запитвания“ (бизнес и двойка: списъци, разговор, формата, шаблони, напомняния, блокиране,
   изтекла връзка) - умерен h1 като „Отзиви за …“; дълги имена и имейли се пренасят без излизане от екрана. */
.inquiry-title { font-size: clamp(1.75rem, 1.6rem + .55vw, 2.125rem); line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
/* Дълго име на бизнеса над заглавието, имейл в данните на напомнянията и име на файл в бутона се пренасят. */
.inquiry-kicker a, .inquiry-wrap { overflow-wrap: anywhere; max-width: 100%; }
/* Подзаглавията (h2) в „Запитвания“ - под заглавието (h1 28-34 px), като частите на формата за отзив. */
.inquiry-subtitle, .empty .inquiry-subtitle { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); }
/* Зоната за планиране („Моята сватба“, задачи, гости, бюджет, изпълнители, сватбеният сайт, „Помагам“): основните
   заглавия - h1 28-34 px като одобрените в отзивите и „Запитвания“; подзаглавията без собствено оформление - 20-22,4 px,
   под заглавието. Таблото, печатът и публичните страници - без промяна. */
.plan-title { font-size: clamp(1.75rem, 1.6rem + .55vw, 2.125rem); line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.plan-subtitle, .empty .plan-subtitle { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); }
/* Колоната на съобщенията не се разширява от дълго име или имейл (иначе grid я разтяга до най-дългата дума). */
.conv-messages { list-style: none; margin: var(--s3) 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.msg { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 12px 16px; background: #fff; max-width: 92%; }
.msg--mine { margin-left: auto; background: var(--soft); border-color: transparent; }
.msg--new { border-color: var(--accent); box-shadow: var(--shadow-1); }
.msg:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.msg__meta { margin: 0 0 6px; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; overflow-wrap: anywhere; }
.msg__meta strong { color: var(--ink); min-width: 0; }
.msg__body { white-space: pre-line; overflow-wrap: anywhere; }
/* Сигнал за съобщение (INQ-010) - скромно под съобщението, не застъпва текста. */
.msg__report { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }
.msg__report summary { cursor: pointer; min-height: var(--tap); display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.msg__report .biz-form { margin-top: 8px; }
.conv-reply { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
/* „Отговор до …“ / „Съобщение до …“ - дълго име или имейл се пренася и не разширява полето. */
.conv-reply .field { grid-template-columns: minmax(0, 1fr); }
.conv-reply .field > label { overflow-wrap: anywhere; }
.conv-block { margin-top: var(--s2); }
.team-role { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 0; }
.team-role .select { width: auto; min-width: 12rem; }
.team-rights td { text-align: center; }
.conv-templates { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.conv-templates .field { margin: 0; flex: 1 1 220px; }
.templates-list form { margin-top: 4px; }
.biz-inquiries { margin: var(--s2) 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Мястото: удобства с три състояния (04.2.3) ---------- */
.tri-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.tri { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 8px 0; display: grid; gap: 4px 16px; align-items: center; }
.tri legend { float: left; font-weight: 600; padding: 0; }
.tri label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-right: 14px; white-space: nowrap; }
@media (min-width: 640px) { .tri { grid-template-columns: minmax(0, 1fr) auto; } .tri legend { float: none; } .tri > div, .tri label { justify-self: start; } }
.amenity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .amenity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amenity-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
.amenity-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.amenity-list--no li { color: var(--muted); }
.amenity-list--no li::before { content: "-"; color: var(--muted); }
.catalog-filters fieldset.filter-group { border-left: 0; border-right: 0; border-bottom: 0; margin: 0; }
.catalog-filters .filter-group .check { min-height: 36px; }
.guests-min { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.guests-min .input { width: 7rem; }
.profile .subhead { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: var(--s3) 0 var(--s1); }

/* ---------- Профил и каталог по ориентира (04.2.5) ---------- */
/* Профил: името и действията над галерията; H1 28-36 px вместо 37-61 px (измерено: ориентирът - 30 px;
   нашият шрифт за заглавия е по-лек, затова до 36 px). */
.profile-head { padding-block: var(--s2) var(--s2); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; }
.profile-head__main { display: grid; gap: 6px; min-width: 0; flex: 1 1 28rem; }
.profile-head h1, .profile-head .profile-name { font-size: clamp(1.75rem, 1.55rem + .9vw, 2.25rem); line-height: 1.12; }
.profile-head__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
@media (max-width: 639px) { .profile-head__actions .btn { flex: 1 1 auto; } }
.profile-head + .pgallery-wrap { margin-top: 0; }
.inquiry-card { margin-bottom: var(--s2); scroll-margin-top: 120px; }
.inquiry-card h2 { overflow-wrap: anywhere; }
.inquiry-compact .field { margin-bottom: 10px; }
.inquiry-compact .textarea { min-height: 7rem; }
.inquiry-compact .btn--block { margin: 8px 0; }
.contact-wrap .contact-card + .contact-card { margin-top: var(--s2); }
/* Телефон: лентата за запитване не закрива последното съдържание. */
@media (max-width: 1023px) { body:has(.sticky-cta) { padding-bottom: 76px; } .sticky-cta { position: fixed; left: 0; right: 0; } }

/* Каталог: заглавие 28-34 px (04.2.5, по измерването в сравнителния преглед; беше 30-38 px). */
/* Изглед „Списък“: хоризонтални карти на широк екран, една на ред (по ориентира); на телефон - вертикални,
   със снимка в цяла ширина и същия текст, без смаляване. Изглед „Снимки“ - досегашната мрежа. */
.results--list { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
@media (min-width: 640px) { .results--list { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1280px) { .results--list { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 720px) {
  .rcard--list { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
  .rcard--list .rcard__media img, .rcard--list .rcard__placeholder { height: 100%; min-height: 220px; aspect-ratio: auto; }
  .rcard--list .rcard__body { padding: 16px 20px 18px; }
}
.rcard--list h3 { font-size: 1.6rem; }
.rcard__excerpt { margin: 6px 0 2px; color: var(--ink-2); font-size: .95rem; max-width: 68ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__features { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; color: var(--ink-2); }
.rcard__features li { display: inline-flex; gap: 6px; }
.rcard__features li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.rcard__capacity { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.rcard__capacity .icon { width: 16px; height: 16px; }
/* Бутонът е над връзката, която покрива цялата карта. */
.rcard__actions { margin: auto 0 0; padding-top: 12px; position: relative; z-index: 1; }
.view-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.view-switch a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.view-switch a + a { border-left: 1px solid var(--line-strong); }
.view-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.view-switch a:hover:not([aria-current]) { background: var(--soft); }
@media (max-width: 639px) {
  .toolbar__controls { flex-wrap: wrap; }
  .view-switch { order: 3; flex: 1 1 100%; }
  .view-switch a { flex: 1 1 0; justify-content: center; }
}
/* Сгъваеми групи филтри (<details>) с брой избрани. */
.fgroup { padding: 0; }
.fgroup > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 6px 0; font-weight: 700; font-size: .95rem; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.fgroup[open] > summary::after { content: "-"; }
.fgroup > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fgroup[open] { padding-bottom: 12px; }
.fgroup fieldset { border: 0; margin: 0; padding: 0; }
.fgroup__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; }
/* Начало (04.2.5): заглавието - до 52 px вместо 68 px, за да е търсенето по-високо. */
@media (min-width: 768px) { .hero__text h1 { font-size: clamp(2.6rem, 1.8rem + 1.6vw, 3.25rem); } }
.home-latest { margin-top: var(--s2); }

/* ---------- Любими и „Моите изпълнители“ (04.5.1) ---------- */
/* Сърцето е в горния десен ъгъл на снимката - над връзката, която покрива картата; не закрива бутоните. */
.fav-form { margin: 0; }
.fav-form--card .fav-btn { position: absolute; right: 10px; top: 10px; z-index: 3; }
.fav-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fav-btn:disabled, .fav-toggle:disabled { opacity: .7; cursor: progress; }
.fav-toggle { gap: 8px; }
.fav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fav-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.fav-toggle[aria-pressed="true"] svg { fill: currentColor; }
.profile-head__actions .fav-form { display: inline-flex; }
@media (max-width: 639px) { .profile-head__actions .fav-form { flex: 1 1 auto; } .profile-head__actions .fav-toggle { width: 100%; } }
.shortlist-flash { margin: var(--s2) 0 0; }
.shortlist-page { max-width: 960px; }
.shortlist-summary { color: var(--ink-2); margin: var(--s2) 0; }
.shortlist { list-style: none; margin: var(--s3) 0; padding: 0; display: grid; gap: var(--s3); }
.shortlist-item { display: grid; gap: var(--s2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s2); box-shadow: var(--shadow-1); scroll-margin-top: 90px; }
.shortlist-item:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (min-width: 720px) { .shortlist-item { grid-template-columns: 220px minmax(0, 1fr); } }
.shortlist-item__media img, .shortlist-item__media .rcard__placeholder { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.shortlist-item__name { font-size: 1.5rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.shortlist-item__name a { color: var(--ink); }
.shortlist-item__links { margin: 8px 0; }
.shortlist-status { border: 0; padding: 0; margin: var(--s2) 0 4px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.shortlist-status legend { width: 100%; }
.shortlist-form .textarea { width: 100%; }
.shortlist-form__actions { margin-top: 8px; }
.shortlist-remove { margin-top: 8px; }

/* ---------- Цени, пакети и въпроси (04.2.4) ----------
   Подредбата следва ориентира: начална цена в страничната карта (на телефон - в заглавната част), секция
   „Цени“ с обобщение и бутон за оферта, пакети в карти с „Най-търсен“, въпроси с „Вижте всички“. */
.rcard__price { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.profile-price { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.profile-price strong { font-size: 1.25rem; }
.profile-price--card { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .profile-price--head { display: none; } }
@media (max-width: 1023px) { .profile-price--card { display: none; } }

.prices__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.prices__head h2 { margin: 0; }
.season-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; margin: 0; }
.season-switch label { position: relative; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: .95rem; min-height: 24px; }
.season-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.season-switch label:has(input:checked) { background: var(--ink); color: #fff; }
.season-switch label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Сезонът се сменя без JavaScript: показва се само избраният. */
.prices--venue:has([data-season-radio][value="high"]:checked) .price-season[data-season="low"],
.prices--venue:has([data-season-radio][value="low"]:checked) .price-season[data-season="high"] { display: none; }

.price-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: var(--s3); padding: 18px 20px; border-radius: var(--radius-card); background: var(--accent-soft); }
.price-summary p { margin: 0; }
.price-summary__main { font-size: 1.08rem; }
.price-summary__main strong { font-size: 1.25rem; }
.price-items { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.price-items li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-card); }
.price-items__value { text-align: right; }
.price-items__value small { display: block; color: var(--muted); font-size: .85rem; }
.prices > .hint { margin-top: 12px; }

.packages { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.package { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.package--popular { border-color: var(--accent); }
.package__badge { position: absolute; top: -11px; right: 14px; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 600; }
.package h3 { margin: 0; font-size: 1.05rem; font-family: inherit; }
.package__price { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.package__price strong { color: var(--ink); font-size: 1.3rem; }
.package__items { margin: 0 0 auto; padding-left: 18px; display: grid; gap: 6px; font-size: .95rem; }
.prices__summary { margin: var(--s3) 0 0; }

.faq__list { margin: var(--s2) 0 0; display: grid; gap: 0; }
.faq__list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq__list dt { font-weight: 600; }
.faq__list dd { margin: 6px 0 0; color: var(--ink-2); }
.faq__list dd ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
dialog.faq-dialog { border: 0; border-radius: var(--radius-card); padding: 0 22px 22px; width: min(640px, calc(100% - 32px)); max-height: min(85vh, 900px); color: var(--ink); box-shadow: var(--shadow-3); }
dialog.faq-dialog::backdrop { background: rgb(28 25 23 / 40%); }
dialog.faq-dialog:target { display: block; position: fixed; inset: 5vh 0 auto; margin: 0 auto; z-index: 70; overflow: auto; }
.faq-dialog__bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 8px; background: #fff; }
.faq-dialog__bar h2 { margin: 0; font-size: 1.3rem; }

/* Формата на бизнеса: пакети (04.2.4). */
.package-fields { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px; margin: 0 0 14px; }
.package-fields legend { font-weight: 600; padding: 0 6px; }
.month-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 4px 12px; }

/* ---------- Подробен профил по ориентира (04.2.6) ----------
   Измерено при ориентира на 1440 px (docs/PROFILE-REFERENCE.md): H1 30 px; галерия - голяма снимка 768 px и
   2×2 по 260 px при обща ширина 1296 px и височина 522 px (1296:522); основна колона 900 px, странична
   карта 356 px, разстояние 40 px; заглавия на секции 24-30 px. Тук - същите пропорции в нашия контейнер.
   Заглавията не са уголемени, за да компенсират различния шрифт. */
.profile-head { padding-block: 12px 16px; align-items: flex-end; gap: 10px 24px; }
.profile-head h1, .profile-head .profile-name { font-size: 1.75rem; line-height: 1.15; }
@media (min-width: 768px) { .profile-head h1, .profile-head .profile-name { font-size: 1.875rem; } }
.profile-head__main { gap: 4px; }
.profile-head__meta { gap: 4px 18px; font-size: .95rem; }
.profile-head__meta > span + span::before { content: none; }
.profile-head__actions { align-self: flex-end; }
.profile-price--head { margin-top: 6px; }

/* Галерия. Телефон: снимките една след друга в цяла ширина, с плъзгане и брояч (както при ориентира). */
.pgallery-wrap { position: relative; margin-top: 0; }
.pgallery__counter { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 3px 10px; border-radius: 999px; background: rgb(28 25 23 / 72%); color: #fff; font-size: .85rem; font-weight: 600; pointer-events: none; }
.pgallery__all { left: 12px; right: auto; bottom: 12px; }
.pgallery__all .icon { fill: none; stroke: currentColor; }
@media (max-width: 767px) {
  .bprofile { display: flex; flex-direction: column; }
  .bprofile .crumbs { order: 0; }
  .bprofile .pgallery-wrap { order: 1; margin-inline: calc(-1 * var(--gutter)); }
  .bprofile .profile-head { order: 2; }
  .pgallery, .pgallery--single { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 0; background: var(--soft); }
  .pgallery::-webkit-scrollbar { display: none; }
  .pgallery .pgallery__item, .pgallery--many .pgallery__item:nth-child(n+4), .pgallery--four .pgallery__item:nth-child(n+4) { display: block; flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
  .pgallery .pgallery__item img, .pgallery .pgallery__item:first-child img { width: 100%; height: auto; max-height: none; aspect-ratio: 390 / 380; object-fit: cover; }
  /* Една снимка - цяла, без изрязване (и вертикална), както преди. */
  .pgallery.pgallery--single { justify-content: center; }
  .pgallery.pgallery--single .pgallery__item { flex: 0 1 auto; }
  .pgallery.pgallery--single .pgallery__item img { width: auto; max-width: 100%; height: auto; max-height: calc(100vw * 380 / 390); aspect-ratio: auto; object-fit: contain; margin-inline: auto; }
  .pgallery__all { display: none; }
}
/* Таблет: голяма снимка и колона от две (ориентирът на 768 px: 456 + 260 px, височина 522 px). */
@media (min-width: 768px) {
  .pgallery { display: grid; gap: 4px; border-radius: var(--radius-card); overflow: hidden; grid-template-columns: 456fr 260fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 720 / 522; }
  .pgallery .pgallery__item { border-radius: 0; display: block; }
  .pgallery .pgallery__item img, .pgallery .pgallery__item:first-child img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .pgallery .pgallery__item:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .pgallery--many .pgallery__item:nth-child(n+4), .pgallery--four .pgallery__item:nth-child(n+4) { display: none; }
  .pgallery--two { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); aspect-ratio: 720 / 400; }
  .pgallery--two .pgallery__item:first-child { grid-row: 1; }
  .pgallery--single { display: flex; justify-content: center; aspect-ratio: auto; background: var(--soft); }
  .pgallery--single .pgallery__item img { width: auto; height: auto; max-width: 100%; max-height: min(64vh, 560px); object-fit: contain; }
  .pgallery__counter { display: none; }
}
/* Широк екран: голяма снимка и 2×2 (768 : 260 : 260 при 1296:522). */
@media (min-width: 1024px) {
  .pgallery { grid-template-columns: 768fr 260fr 260fr; aspect-ratio: 1296 / 522; }
  .pgallery--many .pgallery__item:nth-child(n+4) { display: block; }
  .pgallery--many .pgallery__item:nth-child(n+6) { display: none; }
  .pgallery--four .pgallery__item:nth-child(4) { display: block; grid-column: 2 / span 2; }
  .pgallery--three { grid-template-columns: 768fr 524fr; }
  .pgallery--two { grid-template-columns: 1fr 1fr; aspect-ratio: 1296 / 522; }
  .pgallery--single { aspect-ratio: auto; }
}

/* Основна колона и странична карта; навигацията е в основната колона, както при ориентира. */
.profile { padding-block: var(--s3) var(--s6); }
@media (min-width: 1024px) { .profile { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; } }
.profile__main { min-width: 0; }
.profile .section-nav { margin: 0 0 var(--s3); border-top: 0; }
.profile .section-nav ul { padding: 0; }
.profile .section-nav a { padding: 0 14px; }
.profile .section-nav li:first-child a { padding-left: 0; }
.profile .section-nav li:first-child a::after { left: 0; }
/* Отместването при преход към секция: по действителната височина на лентата (--section-nav-h от app.js, при два
   реда - по-висока); без JavaScript - за два реда. На компютър отгоре е и закаченият хедър. */
html:has(.profile .section-nav) { scroll-padding-top: calc(var(--section-nav-h, 96px) + 16px); }
@media (min-width: 1024px) { html:has(.profile .section-nav) { scroll-padding-top: calc(var(--header-h) + var(--section-nav-h, 96px) + 16px); } }
@media (max-width: 1023px) { .profile .section-nav { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } }
/* Компютър и таблет: всички раздели се виждат без превъртане - при нужда на втори ред, със същия размер на текста.
   Еднакво отстояние за всяка връзка (без изключение за първата), за да започват двата реда на една линия. */
@media (min-width: 768px) {
  .profile .section-nav { --nav-pad: 12px; }
  .profile .section-nav ul { flex-wrap: wrap; overflow-x: visible; margin-left: calc(-1 * var(--nav-pad)); gap: 0 2px; }
  .profile .section-nav a, .profile .section-nav li:first-child a { min-height: 44px; padding: 0 var(--nav-pad); }
  .profile .section-nav a:hover::after, .profile .section-nav a[aria-current="true"]::after, .profile .section-nav li:first-child a::after { left: var(--nav-pad); right: var(--nav-pad); }
}
/* 1024-1279 px: основната колона е най-тясна (около 610 px) - по-малко отстояние, за да останат 14-те раздела на два реда. */
@media (min-width: 1024px) and (max-width: 1279px) { .profile .section-nav { --nav-pad: 7px; } }
/* Телефон: един ред с превъртане; заглъхване и стрелка показват, че има още раздели (махат се в края), заглъхване
   вляво - че има раздели и преди видимите. Активният раздел се превърта в полезрението (app.js). */
@media (max-width: 767px) {
  .profile .section-nav ul { padding-right: 36px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent calc(100% - 4px)); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent calc(100% - 4px)); }
  .profile .section-nav ul.is-scrolled { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 44px), transparent calc(100% - 4px)); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 44px), transparent calc(100% - 4px)); }
  .profile .section-nav ul.is-end { -webkit-mask-image: none; mask-image: none; }
  .profile .section-nav ul.is-scrolled.is-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
  .section-nav__more { position: absolute; top: 0; bottom: 0; right: var(--gutter); display: flex; align-items: center; color: var(--accent); pointer-events: none; }
  .section-nav__more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .section-nav ul.is-end + .section-nav__more { display: none; }
}
@media (min-width: 768px) { .section-nav__more { display: none; } }
@media (min-width: 1024px) {
  .contact-wrap { top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding: 2px; margin: -2px; scrollbar-width: thin; }
}
.profile h2 { font-size: 1.5rem; margin-bottom: var(--s2); }
@media (min-width: 768px) { .profile h2 { font-size: 1.625rem; } }
.contact-card h2 { font-size: 1.15rem; }

/* „Накратко“ - кратки характеристики в един ред (акцентите при ориентира). */
.highlights-section { padding-bottom: var(--s3); }
.highlights { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.highlights li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.highlights .icon { width: 18px; height: 18px; color: var(--accent); flex: none; fill: none; stroke: currentColor; }
.facts--row { display: grid; gap: 12px 24px; grid-template-columns: minmax(0, 1fr); margin-top: var(--s2); }
@media (min-width: 640px) { .facts--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts--row dt { font-size: .85rem; color: var(--muted); }
.facts--row dd { margin: 2px 0 0; overflow-wrap: anywhere; }
@media (max-width: 767px) { .profile { padding-top: 4px; } .bprofile .profile-head { padding-bottom: 8px; } }
/* Телефон: пътят на един ред, както при ориентира - само последните две звена (място и име), името се съкращава;
   снимката е 390:380 (ориентир 390:422), за да остане и дълго име на първия екран (изискване от 04.2.5). */
@media (max-width: 767px) {
  .bprofile .breadcrumbs { min-width: 0; max-width: 100%; flex: 1 1 auto; }
  .bprofile .breadcrumbs ol { flex-wrap: nowrap; white-space: nowrap; min-width: 0; overflow: hidden; }
  .bprofile .breadcrumbs li:not(:nth-last-child(-n+2)) { display: none; }
  .bprofile .breadcrumbs li:nth-last-child(2)::before { content: none; }
  .bprofile .breadcrumbs li { flex: none; }
  .bprofile .breadcrumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .bprofile .crumbs { padding-bottom: 8px; }
}

/* ---------- Отзиви и оценки (06.1) ---------- */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars .star { width: 16px; height: 16px; fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.stars .star--on { fill: var(--accent); stroke: var(--accent); }
.stars--sm .star { width: 14px; height: 14px; }
.stars--lg .star { width: 22px; height: 22px; }
.profile-rating { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.profile-rating:hover { color: var(--ink); text-decoration: underline; }
.rcard__rating { margin: 2px 0; display: flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--ink-2); }
/* Значки (CAT-003) - текст с рамка, не печат или медал: описват минали данни. */
.trust-badges { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.trust-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--bg); }
.trust-badges__note { margin: 0 0 var(--s2); }
.review-summary { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); margin-bottom: var(--s2); }
@media (min-width: 640px) { .review-summary { grid-template-columns: 180px minmax(0, 1fr); align-items: start; } }
.review-summary__total p { margin: 2px 0; }
.review-summary__value { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.review-summary__recommend { font-weight: 600; color: var(--ink-2); }
.review-criteria { margin: 0; display: grid; gap: 8px; }
.review-criteria > div { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(110px, 1fr); gap: 12px; align-items: center; }
.review-criteria dt { hyphens: none; overflow-wrap: normal; }
@media (min-width: 640px) { .review-criteria > div { grid-template-columns: minmax(0, 1fr) minmax(120px, 2fr); } }
.review-criteria dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.review-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.review-bar span { display: block; height: 100%; background: var(--accent); }
.review-empty { color: var(--ink-2); }
.review { padding: var(--s2) 0; border-top: 1px solid var(--line); }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.review__head p { margin: 0; }
.review__author { font-weight: 700; }
.review__meta { color: var(--muted); font-size: .9rem; }
/* Снимки към отзив (REV-004) */
.review-photos { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.review-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius); display: block; }
.review-photos--edit li { display: grid; gap: 4px; }
.review__rating { display: inline-flex; align-items: center; gap: 6px; margin-left: auto !important; }
.review__title { margin: 8px 0 4px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.review__body { white-space: pre-line; overflow-wrap: anywhere; color: var(--ink-2); }
.review__criteria { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.review__criteria > div { display: flex; gap: 6px; }
.review__criteria dd { margin: 0; font-weight: 700; color: var(--ink-2); }
.review__claim { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.review__reply { margin: 12px 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--line-strong); background: var(--soft); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.review__reply-title { margin: 0 0 4px; font-weight: 700; font-size: .9rem; }
.review__report { margin-top: 8px; font-size: .9rem; }
.review__report summary { cursor: pointer; color: var(--muted); min-height: 24px; }
.reviews-write { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: var(--s2) 0 0; }
.reviews-more { margin: var(--s2) 0 0; }
.reviews-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: var(--s3) 0 var(--s2); }
.reviews-sort .select { width: auto; max-width: 100%; }
.rating-input { border: 0; padding: 0; margin: 0 0 14px; }
.rating-input__options { display: flex; gap: 6px; }
.rating-input__options label { position: relative; }
.rating-input__options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rating-input__options span:not(.visually-hidden) { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-weight: 700; cursor: pointer; }
.rating-input__options input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.rating-input__options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.business-review { border-top: 1px solid var(--line); padding-bottom: var(--s2); }
.business-review .review { border-top: 0; }
.review-reply-form .textarea { margin-bottom: 8px; }
/* Месец и година на ползване (06.1.1): два стандартни списъка един до друг, на тесен екран - един под друг. */
.service-date { border: 0; padding: 0; margin: 0 0 var(--s2); }
.service-date__row { display: grid; gap: 10px 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) { .service-date__row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.service-date__row .label { font-weight: 600; font-size: .9rem; }
/* Дата на събитието (04.6.1.1): ден - месец - година, три стандартни списъка в един ред. */
.event-date { border: 0; padding: 0; margin: 0 0 8px; }
.event-date__row { display: grid; gap: 8px; grid-template-columns: minmax(64px, .8fr) minmax(0, 1.7fr) minmax(84px, 1fr); }
.event-date__row .label { font-weight: 600; font-size: .85rem; }
.event-date[data-disabled] .event-date__row { opacity: .55; }
.event-date .select { padding-right: 30px; background-position: right 8px center; }
/* Тясната форма в страничната карта: „Ден“ и „Месец“ на първия ред, „Година“ - на втория (редът се пази). */
.inquiry-compact .event-date__row { grid-template-columns: minmax(64px, .7fr) minmax(0, 1.6fr); }

/* ---------- Съдържание (06.0.1) ---------- */
.cms-preview-bar { background: var(--accent-soft); border-bottom: 1px solid var(--accent); padding: 10px 0; font-size: .95rem; }
.cms-preview-bar .container { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.cms-block { padding: var(--s3) 0; }
.cms-block__body { white-space: pre-line; overflow-wrap: anywhere; color: var(--ink-2); max-width: 68ch; margin-bottom: var(--s2); }

/* ---------- Редактор на съдържанието: начална страница (06.0.2) ---------- */
.cms-image { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2); margin-bottom: var(--s3); }
.cms-image > legend { padding: 0 6px; }
.cms-frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 8px; }
.cms-frame { margin: 0; }
.cms-frame__box { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); box-shadow: var(--shadow-1); }
.cms-frame__box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cms-frame figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.cms-focus { display: grid; gap: 0 var(--s2); }
@media (min-width: 600px) { .cms-focus { grid-template-columns: 1fr 1fr; } }
.cms-list { margin: 0 0 var(--s3); }
.cms-list > legend { margin-bottom: 8px; }
.cms-list__item { border-left: 3px solid var(--line); padding: 4px 0 4px var(--s2); margin-bottom: var(--s2); }
.cms-list__item > legend { font-weight: 700; color: var(--ink-2); }
.cms-sections { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: 8px; counter-reset: cms-section; }
.cms-sections__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cms-sections__row:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.cms-sections__name { flex: 1 1 12rem; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.cms-sections__name::before { counter-increment: cms-section; content: counter(cms-section) ". "; color: var(--muted); }
.cms-sections__move { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cms-sections .check { margin: 0; }
.cms-device { display: block; box-sizing: content-box; margin: 0 auto; max-width: calc(100% - 2px); width: var(--device-width); height: 80vh; min-height: 600px; border: 1px solid var(--line-strong); border-radius: var(--radius-card); background: #fff; }
.file-picker__chosen.is-error { color: var(--danger); font-weight: 600; }
.cms-link-external { margin: 8px 0 0; }
.cms-link-external[hidden] { display: none; }
.contact-list li > span { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; min-width: 0; }
.contact-list__domain { margin: 0; overflow-wrap: anywhere; }

/* ---------- Моята сватба: табло и задачи (05.1) ---------- */
.wedding-soon { margin-top: var(--s3); }
.task-progress { margin: var(--s1) 0 var(--s2); }
.task-progress__text { margin: 0 0 6px; }
.task-progress__bar { display: block; width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--soft); overflow: hidden; appearance: none; }
.task-progress__bar::-webkit-progress-bar { background: var(--soft); border-radius: 999px; }
.task-progress__bar::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.task-progress__bar::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.task-overdue { color: var(--danger); font-weight: 700; }
.task-filters { margin: var(--s2) 0; }
.task-filters ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.task-filters ul a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; background: #fff; }
.task-filters ul a:hover { border-color: var(--accent); color: var(--accent); }
.task-filters ul a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.task-grouping { margin: 0; color: var(--muted); }
.task-grouping a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); }
.task-grouping a[aria-current] { font-weight: 700; color: var(--accent); }
.task-add { margin: 0 0 var(--s3); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0 var(--s2); background: #fff; }
.task-add > summary { display: flex; align-items: center; min-height: var(--tap); cursor: pointer; font-weight: 700; color: var(--accent); }
.task-add[open] > summary { margin-bottom: 4px; }
.task-group { margin-top: var(--s4); }
.task-group h2 { font-size: 1.7rem; margin: 0 0 var(--s1); }
.task-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.task { display: grid; grid-template-columns: var(--tap) minmax(0, 1fr); gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.task__toggle { margin: 0; }
.task__check { display: grid; place-items: center; width: var(--tap); height: var(--tap); border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; color: transparent; cursor: pointer; }
.task__check .icon { width: 20px; height: 20px; }
.task__check:hover { border-color: var(--accent); color: var(--accent); }
.task__check[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.task__body { min-width: 0; }
.task__title { margin: 8px 0 2px; font-weight: 600; overflow-wrap: anywhere; }
.task--done .task__title { color: var(--muted); text-decoration: line-through; }
.task__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; font-size: .9rem; color: var(--muted); }
.task__note { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--ink-2); font-size: .95rem; }
.task__actions { margin: 4px 0 0; font-size: .95rem; }
.task__actions a { display: inline-flex; align-items: center; min-height: var(--tap); }
.empty-line { color: var(--muted); }

/* ---------- Моята сватба: бюджет (05.3) ---------- */
.budget-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: var(--s2) 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: var(--radius-card); background: #fff; overflow: hidden; }
.budget-summary > div { padding: 12px 14px; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.budget-summary dt { font-size: .85rem; color: var(--muted); font-weight: 600; }
.budget-summary dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.budget-summary dd .hint { display: block; font-size: .85rem; font-weight: 400; margin-top: 2px; }
.budget-summary__alert { box-shadow: inset 3px 0 0 var(--danger); }
/* Разпределение и разбивка по категории (BUD-001, BUD-008) */
.table-scroll { overflow-x: auto; margin: var(--s2) 0; }
.budget-table { width: 100%; border-collapse: collapse; background: #fff; }
.budget-table caption { text-align: left; }
.budget-table th, .budget-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.budget-table thead th { font-size: .85rem; color: var(--muted); }
.budget-table tbody th { font-weight: 600; }
.budget-table td.budget-summary__alert { box-shadow: inset 3px 0 0 var(--danger); }
.budget-table__input { max-width: 9rem; }
.budget-proposal { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.budget-suggestions { margin: var(--s3) 0; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.budget-suggestions h2 { font-size: 1.4rem; margin: 0 0 var(--s1); }
.budget-suggestions__list { list-style: none; padding: 0; margin: var(--s1) 0 0; display: grid; gap: 8px; }
.budget-suggestions__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.budget-suggestions__list .btn { margin-left: auto; }
/* Графика по категории (BUD-008): платено + остава (една и съща гама), тънка черта за плана; стойностите са в текст. */
.budget-breakdown { margin-top: var(--s4); }
.budget-breakdown h2 { font-size: 1.7rem; margin: 0 0 var(--s1); }
.budget-chart__legend { list-style: none; padding: 0; margin: 0 0 var(--s2); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--ink-2); }
.budget-chart__legend li { display: inline-flex; align-items: center; gap: 6px; }
.budget-chart__swatch { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.budget-chart__swatch--paid { background: #8f3747; }
.budget-chart__swatch--left { background: #d67f8e; }
.budget-chart__swatch--plan { width: 2px; height: 14px; border-radius: 0; background: var(--ink); }
.budget-chart { list-style: none; padding: 0; margin: 0 0 var(--s2); display: grid; gap: 10px; }
.budget-chart__row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.budget-chart__label { font-size: .95rem; overflow-wrap: anywhere; }
.budget-chart__track { position: relative; display: flex; gap: 2px; height: 18px; border-left: 1px solid var(--line-strong); }
.budget-chart__bar { display: block; height: 100%; min-width: 2px; }
.budget-chart__bar--paid { background: #8f3747; }
.budget-chart__bar--left { background: #d67f8e; }
.budget-chart__bar { flex: none; }
.budget-chart__bar.is-end { border-radius: 0 4px 4px 0; }
.budget-chart__plan { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink); }
.budget-chart__value { font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 639px) {
  .budget-chart__row { grid-template-columns: minmax(0, 1fr) auto; }
  .budget-chart__track { grid-column: 1 / -1; grid-row: 2; }
}
.budget-table tfoot th, .budget-table tfoot td { font-weight: 700; border-top: 2px solid var(--line-strong); }
@media (max-width: 639px) {
  .budget-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .budget-table tr { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .budget-table th, .budget-table td { border: 0; padding: 0; }
  .budget-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .85rem; }
}
.budget-summary__alert dd { color: var(--danger); }
.budget-summary--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.budget-summary--compact > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.budget-summary--compact dd { font-size: 1rem; }
.budget-formulas { margin: 0 0 var(--s3); }
.budget-formulas > summary { display: inline-flex; align-items: center; min-height: var(--tap); cursor: pointer; color: var(--accent); font-weight: 600; }
.budget-formulas ul { margin: 4px 0 0; padding-left: 1.2em; color: var(--ink-2); }
.budget-total { display: grid; gap: 0 var(--s2); align-items: end; margin: 0 0 var(--s3); max-width: 640px; }
@media (min-width: 600px) { .budget-total { grid-template-columns: minmax(0, 1fr) auto; } .budget-total .btn { margin-bottom: var(--s2); } }
.budget-amounts { display: grid; gap: 0 var(--s2); }
@media (min-width: 600px) { .budget-amounts { grid-template-columns: 1fr 1fr; } }
.expense-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
/* Категории в бюджета (BUD-002) */
.budget-categories { list-style: none; padding: 0; margin: var(--s3) 0 0; border-top: 1px solid var(--line); }
.budget-category { padding: 12px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.budget-category__title { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.budget-category__rename { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.budget-category__rename .label { flex-basis: 100%; margin: 0; }
.budget-category__rename .input { flex: 1 1 200px; min-width: 0; }
.budget-category__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.budget-category__actions form { margin: 0; }
@media (min-width: 900px) { .expense-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.expense { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s2); background: #fff; box-shadow: var(--shadow-1); min-width: 0; scroll-margin-top: 120px; }
.expense__name { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; overflow-wrap: anywhere; }
.expense__name a { color: var(--ink); }
.expense__vendor { margin: 0 0 8px; color: var(--ink-2); overflow-wrap: anywhere; }
.expense__amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 8px 0; }
@media (min-width: 600px) { .page-narrow .expense__amounts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.expense__amounts dt { font-size: .85rem; color: var(--muted); }
.expense__amounts dd { margin: 0; font-weight: 700; }
.expense__due { margin: 4px 0; }
.payment-list { list-style: none; padding: 0; margin: 0 0 var(--s3); border-top: 1px solid var(--line); }
.payment { padding: 10px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.payment__main { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0; }
.payment__actions { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin-top: 4px; }
.payment__actions form { margin: 0; }
.payment__actions a { display: inline-flex; align-items: center; min-height: var(--tap); }
.expense__amounts .budget-summary__alert { box-shadow: none; }
.expense__amounts .budget-summary__alert dt { color: var(--danger); font-weight: 700; }

/* ---------- Моята сватба: навигация между инструментите (корекция 05.3.1) ---------- */
.wedding-nav { display: grid; gap: 10px; margin: 0 0 var(--s3); }
.wedding-nav .breadcrumbs ol { font-size: .9rem; }
.wedding-nav .breadcrumbs a { color: var(--ink-2); text-underline-offset: 3px; }
.wedding-nav .breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.wedding-back { margin: 0; }
.expense .form-status { margin: 0 0 8px; }

/* ---------- Моята сватба: гости (05.4) ---------- */
.choice-row { display: flex; flex-wrap: wrap; gap: 0 18px; }
/* Връзките под обобщението на гостите - по-малки само тук (ръчна проверка 02.11.2026); видимо 38 px,
   а мястото за натискане остава var(--tap) чрез ::before. */
.guest-tools { display: flex; flex-wrap: wrap; gap: 8px 6px; }
.guest-tools .btn { position: relative; min-height: 38px; padding: 0 12px; font-size: .875rem; }
.guest-tools .btn::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--tap); transform: translateY(-50%); }
.choice-row .check { margin: 0; }
.guest-filters { display: grid; gap: 0 var(--s2); align-items: end; margin: 0 0 var(--s2); }
@media (min-width: 900px) { .guest-filters { grid-template-columns: 2fr 1fr 1fr 1fr; } .guest-filters__actions { grid-column: 1 / -1; } }
.guest-filters__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: var(--s2); }
.guest-list { list-style: none; padding: 0; margin: 0 0 var(--s3); border-top: 1px solid var(--line); }
.guest { padding: 10px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.guest .form-status { margin: 0 0 8px; }
.guest__name { margin: 0 0 2px; font-weight: 700; overflow-wrap: anywhere; }
.guest__answer { color: var(--ink-2); }
.guest__answer--yes { color: var(--ok); }
.guest__answer--no { color: var(--danger); }

/* ---------- Моята сватба: маси (05.7) ---------- */
.seating-chart { position: relative; width: 100%; aspect-ratio: var(--cols) / var(--rows); margin: var(--s1) 0; border: 1px dashed var(--line-strong); border-radius: var(--radius-card);
  background-color: #fff; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / var(--cols)) calc(100% / var(--rows)); }
.seating-chart__table { position: absolute; left: calc(100% / var(--cols) * var(--x)); top: calc(100% / var(--rows) * var(--y)); width: calc(100% / var(--cols)); height: calc(100% / var(--rows));
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2px; box-sizing: border-box; text-decoration: none; color: var(--ink);
  background: var(--accent-soft); border: 2px solid var(--accent); overflow: hidden; touch-action: none; cursor: grab; font-size: clamp(.55rem, 1.4vw, .9rem); line-height: 1.1; }
.seating-chart__table--round { border-radius: 50%; }
.seating-chart__table--rect { border-radius: 4px; }
.seating-chart__table.is-full { background: var(--ok-bg); border-color: var(--ok); }
.seating-chart__table.is-dragging { z-index: 2; box-shadow: var(--shadow-2); cursor: grabbing; }
.seating-chart__table:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.seating-chart__name { font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seating-chart__count { color: var(--ink-2); }
.table-card { margin-top: var(--s3); padding: var(--s2); border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-1); scroll-margin-top: 120px; }
.table-card h2 { font-size: 1.6rem; margin: 0 0 var(--s1); overflow-wrap: anywhere; }
.table-card h2 .hint { display: block; font-family: var(--font-body); font-size: .9rem; margin-top: 2px; }
.seat-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 0; }
.seat-form .select { width: auto; min-width: min(12rem, 100%); max-width: 100%; }
.seat-form--household { align-items: end; margin-bottom: var(--s2); }
.seat-form--household .field { margin: 0; }
.seat-form--household .hint { flex-basis: 100%; margin: 0; }
.table-move { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; }
.badge--pending { background: var(--soft); color: var(--ink-2); }
.print-list { margin: 0 0 var(--s2); }
.menu-summary { margin: var(--s2) 0; }
.answer-list { margin: 0 0 var(--s2); padding-left: 1.2em; }
.answer-list li { overflow-wrap: anywhere; margin-bottom: 4px; }
.answer-dl { margin: 0; display: grid; gap: 4px; }
.answer-dl dt { font-weight: 700; overflow-wrap: anywhere; }
.answer-dl dd { margin: 0 0 8px; overflow-wrap: anywhere; }
.option-form { display: grid; gap: 8px; margin: 0 0 6px; }
.option-form .field { margin: 0; }
.menu-summary caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.menu-summary td, .menu-summary tfoot th { font-variant-numeric: tabular-nums; }
.menu-summary tfoot th, .menu-summary tfoot td { font-weight: 700; border-top: 2px solid var(--line-strong); }
/* Печат на задачите (PLN-007): дългите задачи се пренасят; ред не се разделя между страници; заглавката се повтаря. */
.task-print-table { width: 100%; table-layout: fixed; margin-bottom: var(--s3); }
.task-print-table td, .task-print-table th { overflow-wrap: anywhere; vertical-align: top; }
.task-print-table .task-print__done { width: 6.5em; text-align: center; overflow-wrap: normal; white-space: nowrap; }
.task-print__box { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 2px; vertical-align: middle; }
.task-print__box--done { background: var(--ink); }
.print-options { margin: var(--s2) 0; }
@media print {
  .site-header, .site-footer, .demo-banner, .no-print, .skip-link { display: none !important; }
  .tasks-print { padding: 0; }
  .task-print-table thead { display: table-header-group; }
  .task-print-table tr { break-inside: avoid; }
  .print-group { break-after: avoid; font-size: 1.3rem; margin: 12px 0 6px; }
  .task-print__box--done { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .seating-print { padding: 0; }
  .seating-chart { break-inside: avoid; }
  .seating-chart__table { background: #fff !important; }
  .seating-print h3 { break-after: avoid; }
}

/* ---------- Моята сватба: сватбен сайт - редакция (05.6) ---------- */
.site-panel { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s2); background: #fff; margin-bottom: var(--s3); }
.site-panel h2 { font-size: 1.6rem; margin: 0 0 var(--s1); }
.site-panel .biz-form__actions form { margin: 0; }
.site-url { overflow-wrap: anywhere; }
.site-thumb { width: 320px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
.site-thumb--person { width: 120px; aspect-ratio: 1; border-radius: 50%; }
.site-gallery-edit { list-style: none; padding: 0; margin: 0 0 var(--s2); display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.site-gallery-edit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.site-gallery-edit .field { margin: 6px 0; }

@media (max-width: 767px) { .wedding-nav .breadcrumbs ol { font-size: .85rem; } }
.prep-list { list-style: none; margin: 6px 0 0; padding: 0; font-size: .9rem; color: var(--ink-2); }
.prep-list li { padding: 2px 0; overflow-wrap: anywhere; }
.prep-list li.is-error { color: var(--danger); font-weight: 600; }
ul.field-error { padding-left: 1.2em; }

/* ---------- Лични покани (05.5) ---------- */
.invite-group { margin: 0 0 12px; }
.invite-group__name { margin: 8px 0 2px; font-weight: 700; color: var(--ink-2); }
.invite-answers { margin: 6px 0; padding-left: 1.2em; }
.invite-answers li { overflow-wrap: anywhere; }
#vrazka { font-family: ui-monospace, monospace; font-size: .85rem; }
/* Внасяне и изнасяне на гости (05.4.1) */
.csv-example { overflow-x: auto; max-width: 100%; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font-size: .85rem; line-height: 1.5; }
/* Колоната с етикетите е колкото най-дългия; стойностите имат поне 5rem, затова на тесен екран с увеличен текст етикетът
   се пренася, вместо стойностите да изчезнат или страницата да излезе. При обичаен размер - както досега. */
.import-facts { display: grid; grid-template-columns: minmax(0, max-content) minmax(min(5rem, 50%), 1fr); gap: 4px 16px; margin: var(--s2) 0; }
.import-facts dt { color: var(--muted); overflow-wrap: anywhere; }
.import-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.import-row--error .guest__name { color: var(--danger); }
.import-row__notes { margin: 4px 0 0; padding-left: 1.2em; font-size: .9rem; color: #7a4b00; }
.import-total { font-size: 1.25rem; font-weight: 700; margin: var(--s2) 0; }
/* Управление на категориите (03.5.1) */
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.inline-form .input { width: auto; max-width: 100%; flex: 1 1 14rem; }
.nav-nojs { border-top: 1px solid var(--line); background: var(--soft); }
.nav-nojs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 8px 0; }
.nav-nojs a { display: inline-block; min-height: 44px; padding: 10px 0; font-weight: 600; }
.section-list { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 2px 24px; }
@media (min-width: 640px) { .section-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; }
.section-list .icon { flex: none; width: 22px; height: 22px; }

/* Видео и разходка в профила (BIZ-004): локален заместител 16:9 до натискане - без външни заявки. */
.pgallery__media { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; z-index: 2; }
.pgallery__media .btn { box-shadow: var(--shadow-2); }
.pgallery__media .btn svg { width: 18px; height: 18px; }
.pvideos { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
@media (min-width: 900px) { .pvideos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pvideo__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); background: var(--soft); border: 1px solid var(--line); display: grid; place-content: center; justify-items: center; gap: 8px; padding: var(--s2); text-align: center; overflow: hidden; }
.pvideo__icon { width: 40px; height: 40px; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 1.6; }
.pvideo__title { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pvideo__player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pvideo .hint { margin-top: 6px; }

/* Публичен екип (BIZ-013) */
.pteam { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
@media (min-width: 768px) { .pteam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pteam__person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.pteam__person > div:only-child { grid-column: 1 / -1; }
.pteam__photo { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.pteam__name { font-family: var(--font-body); font-size: 1.1rem; margin: 0; }
.pteam__role { margin: 2px 0 0; color: var(--muted); font-weight: 600; }
.pteam__bio { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; }

/* Подобни бизнеси (BIZ-018) */
.similar { margin-top: var(--s5); }
/* Заглавието - като разделите на профила; четири карти - в един ред на широк екран. */
.similar h2 { font-size: 1.5rem; margin-bottom: var(--s1); }
@media (min-width: 768px) { .similar h2 { font-size: 1.625rem; } }
.similar__rule { margin: 0 0 var(--s3); }
@media (min-width: 1280px) { .similar .results { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Споделяне на профила (BIZ-022) */
.share { position: relative; }
.share > summary { list-style: none; cursor: pointer; }
.share > summary::-webkit-details-marker { display: none; }
.share__panel { margin-top: 8px; padding: var(--s2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-1); display: grid; gap: 8px; }
.share__panel label { font-weight: 600; }
.share__panel .hint { margin: 0; }
@media (max-width: 639px) { .share[open] { flex: 1 1 100%; } }
@media (min-width: 640px) { .share__panel { position: absolute; z-index: 40; inset-inline-end: 0; top: 100%; width: min(360px, calc(100vw - 32px)); } }

[data-video-play][hidden], [data-share-copy][hidden] { display: none; }

/* Вдъхновение (06.4): статии и истински сватби - същите токени и карти като каталога. */
.inspire--single { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .inspire--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; } }
.articles__heading { font-size: 1.3rem; margin: 2px 0 0; line-height: 1.15; }
.articles a:hover .articles__heading { color: var(--accent); }
.ins-section { margin-top: var(--s5); }
.ins-section > h2 { margin-bottom: var(--s1); }
.ins-grid { display: grid; gap: var(--s4) var(--s3); grid-template-columns: minmax(0, 1fr); margin-top: var(--s3); }
@media (min-width: 640px) { .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ins-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow .25s; }
.ins-card:hover, .ins-card:focus-within { box-shadow: var(--shadow-2); }
.ins-card__media { background: var(--soft); aspect-ratio: 3 / 2; overflow: hidden; }
.ins-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ins-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ins-card h2, .ins-card h3 { font-size: 1.45rem; line-height: 1.15; margin: 2px 0 0; }
.ins-card h2 a, .ins-card h3 a { color: var(--ink); text-decoration: none; }
.ins-card h2 a::after, .ins-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ins-card h2 a:hover, .ins-card h3 a:hover { color: var(--accent); }
.ins-card a:focus-visible { outline: none; }
.ins-card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.ins-card__lead { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
.ins-pick { font-weight: 700; color: var(--accent); }
.ins-cats ul, .ins-subcats ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ins-cats a, .ins-subcats a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.ins-cats a:hover, .ins-subcats a:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.ins-cats a[aria-current="page"], .ins-subcats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ins-cats__count { font-weight: 400; margin-left: 4px; }
.ins-search { margin-top: var(--s3); max-width: 640px; }
.ins-search__row { display: flex; gap: 8px; flex-wrap: wrap; }
.ins-search__row .input { flex: 1 1 240px; min-height: var(--tap); }
.ins-filters { display: grid; gap: var(--s2); grid-template-columns: minmax(0, 1fr); margin: var(--s3) 0; padding: var(--s3); background: var(--soft); border-radius: var(--radius-card); }
@media (min-width: 640px) { .ins-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ins-filters { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; } }
.ins-filters .field { margin: 0; }
.ins-filters__actions .btn { width: 100%; }
.empty-state { margin-top: var(--s3); padding: var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--radius-card); background: #fff; }
.empty-state p { margin: 0 0 var(--s1); }
.empty-state p:last-child { margin-bottom: 0; }
.ins-article h1 { margin-top: var(--s1); }
.ins-byline { margin-top: var(--s2); display: flex; flex-wrap: wrap; gap: 4px; }
.ins-cover { margin: var(--s4) auto; max-width: 1040px; }
.ins-cover img { width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: var(--radius-card); }
.ins-cover figcaption { margin-top: 6px; }
.ins-blocks { margin-top: var(--s3); font-size: 1.075rem; line-height: 1.65; }
.ins-blocks h2 { margin: var(--s4) 0 var(--s1); font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); }
.ins-blocks p, .ins-blocks ul { margin: 0 0 var(--s2); max-width: 68ch; }
.ins-blocks ul { padding-left: 1.3em; }
.ins-blocks blockquote { margin: var(--s3) 0; padding: 4px 0 4px var(--s3); border-left: 3px solid var(--accent); font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.ins-blocks blockquote p { margin: 0; }
.ins-facts { display: grid; gap: var(--s1) var(--s3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: var(--s3) 0 0; }
.ins-facts dt { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ins-facts dd { margin: 2px 0 0; }
.ins-gallery-wrap { margin-top: var(--s4); }
.ins-gallery { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .ins-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ins-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.ins-credit { margin-top: var(--s2); }
.ins-vendors { margin-top: var(--s4); }
.ins-vendors ul { padding-left: 1.2em; }
.ins-vendors li { margin: 4px 0; }
.ins-related { background: var(--soft); }
.cms-terms__list { display: grid; gap: 4px var(--s2); grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* Участие на двойките (06.4.2): подадени сватби и лични колекции. */
.sub-list { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.sub-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: var(--s2) 0; border-top: 1px solid var(--line); }
.sub-list a { font-weight: 700; color: var(--ink); }
.sub-thumb { display: block; max-width: 240px; height: auto; border-radius: var(--radius); margin: 6px 0; }
.sub-photo { border-top: 1px solid var(--line); padding-top: var(--s2); margin-top: var(--s2); }
.ins-save { margin-top: var(--s4); padding: var(--s3); background: var(--soft); border-radius: var(--radius-card); }
.ins-save h2 { margin-top: 0; font-size: 1.4rem; }
.ins-save__form { display: grid; gap: var(--s1); max-width: 480px; }
.col-items { list-style: none; padding: 0; }
.col-items > li { display: flex; flex-direction: column; gap: 6px; }
.ins-card--gone { min-height: 120px; border: 1px dashed var(--line-strong); box-shadow: none; }
.col-manage { display: grid; gap: var(--s3); margin-top: var(--s5); max-width: 480px; }

/* Моите идеи - снимки (INS-013). */
.idea-save-photo { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--accent); }
.idea-photo img { width: 100%; height: auto; border-radius: var(--radius-card); }
.idea-photo-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.idea-note { margin: 0; padding: 8px 12px; background: var(--soft); border-radius: var(--radius); font-size: .95rem; }
.idea-tools summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font-weight: 600; color: var(--accent); }
.idea-tools form { margin-top: var(--s1); }

/* Общност (06.5). */
.com-topics { list-style: none; margin: var(--s2) 0 0; padding: 0; }
.com-topic { padding: var(--s2) 0; border-top: 1px solid var(--line); }
.com-topic__title { font-size: 1.35rem; margin: 0 0 4px; line-height: 1.2; }
.com-topic__title a { color: var(--ink); text-decoration: none; }
.com-topic__title a:hover { color: var(--accent); text-decoration: underline; }
.com-counts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.com-regions { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: 6px var(--s3); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.com-regions a { font-weight: 600; }
.com-posts { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.com-post { padding: var(--s3) 0; border-top: 1px solid var(--line); }
.com-post__meta { margin: 0 0 var(--s1); color: var(--ink-2); font-size: .95rem; }
.com-post__body p, .com-post__body ul { margin: 0 0 var(--s1); max-width: 68ch; }
.com-post__deleted { font-style: italic; color: var(--muted); }
.com-post__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: var(--s1); }
.com-post__actions form { margin: 0; }
.com-images { list-style: none; padding: 0; margin: var(--s1) 0; display: flex; flex-wrap: wrap; gap: 8px; }
.com-images img { width: 160px; height: auto; border-radius: var(--radius); }
.com-reply { margin-top: var(--s4); }
.com-keep { display: flex; align-items: center; gap: 8px; }
.com-keep img { border-radius: var(--radius); }
.mod-item { margin-bottom: var(--s3); }
.mod-actions { display: grid; gap: var(--s2); margin-top: var(--s2); }
.mod-actions form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }

/* Сравнение на изпълнители (SHL-005): на телефон картите са една под друга с етикет над всяка стойност;
   от 768px - една до друга, с еднакъв ред на етикетите. Без цветово отличаване на „по-добрия“. */
.compare-grid { list-style: none; margin: var(--s3) 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 768px) { .compare-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s3); background: #fff; min-width: 0; }
.compare-card h3 { margin: 0 0 4px; font-size: 1.1rem; overflow-wrap: anywhere; }
.compare-facts { margin: var(--s2) 0; display: grid; border-top: 1px solid var(--line); }
.compare-facts > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.compare-facts dt { font-weight: 700; font-size: .85rem; color: var(--muted); }
.compare-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.compare-missing { color: var(--muted); font-style: italic; }
.compare-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.compare-choose { margin-bottom: var(--s3); }

/* Сигнали и модерация (BIZ-021, ADM-001, ADM-006, ADM-008, ANL-009). */
.notice--ok { border-left-color: var(--ok); background: var(--ok-bg); }
.notice--ok p { margin: 0 0 6px; }
.report-photo { display: block; max-width: 100%; height: auto; border-radius: var(--radius); margin: var(--s2) 0; }
.report-link { font-size: .9rem; }
.ops-tiles { list-style: none; margin: var(--s3) 0; padding: 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ops-tile a { display: block; border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--s2); background: #fff; color: inherit; text-decoration: none; min-height: 100%; }
.ops-tile a:hover, .ops-tile a:focus-visible { border-color: var(--accent); }
.ops-tile__count { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; }
.ops-tile__label { display: block; font-weight: 600; }
.ops-tile__meta { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.audit-filters { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); align-items: end; }
.manage-table-wrap { overflow-x: auto; }
.report-object__photo { display: flex; align-items: center; gap: 10px; }
.report-object__photo img { border-radius: var(--radius); flex-shrink: 0; }
.btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn--danger:hover { filter: brightness(.92); color: #fff; }
.queue-handover { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.queue-handover .label { margin: 0; font-size: .85rem; }

/* Всички категории (CAT-018). */
.all-cats { margin-top: var(--s4); }
.all-cats__list { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: 10px var(--s3); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.all-cats__list > li > a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.all-cats__sub { list-style: none; margin: 4px 0 0 28px; padding: 0; display: grid; gap: 4px; font-size: .95rem; }
.all-cats__sub a { display: inline-block; min-height: 32px; padding: 4px 0; }

/* Автоматични напомняния (VPN-005) */
.conv-followups { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2); margin: var(--s3) 0; }
.conv-followups h2 { font-size: var(--fs-h3); margin: 0 0 var(--s1); }
.conv-facts { display: grid; gap: 4px; margin: var(--s2) 0; }
.conv-facts div { display: flex; gap: 8px; }
.conv-facts dt { font-weight: 700; }
.conv-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.followup-plan blockquote { margin: 4px 0 var(--s2); padding: 8px 12px; border-left: 3px solid var(--line-strong); background: var(--soft); white-space: pre-line; }

/* Истинските сватби и партньорите в „Моят бизнес“ (BIZ-012, BIZ-015) */
.feature-list { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: var(--s2); }
.feature-list__item { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2); }
.feature-list__item h2, .feature-list__item h3 { margin: 0 0 var(--s1); }
.feature-list__item form { margin-top: var(--s1); display: inline-block; margin-right: var(--s1); }
.partner-list { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: var(--s1); }
.partner-list a { font-weight: 600; }

/* Дървото от теми (INS-004): подкатегориите - до основната си, по-малки; на телефон се пренасят. */
.ins-cats > ul > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ins-cats ul.ins-cats__sub { margin: 0; gap: 6px; }
.ins-cats__sub a { font-size: .875rem; font-weight: 500; background: var(--soft); }

/* Наличност за запитвания (VPN-011, BIZ-010): списък с дни в панела и резултатът от проверката на дата в профила. */
.avail-days { list-style: none; margin: 0; padding: 0; }
.avail-day { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.avail-day__state { flex: 1 1 14rem; }
.avail-result { margin-top: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); }
.avail-result__state { font-weight: 700; }


/* ---------- Инструменти за сватбата и табло „Моята сватба“ (одобрена визуална посока, 02.11.2026) ---------- */
/* Ред с инструментите под основния хедър (x-planning.nav, stack „wedding-tools“). */
.wtools { background: #fff; border-bottom: 1px solid var(--line); }
.wtools__list { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--container); display: flex; justify-content: space-between; }
.wtools__list li { flex: 1 1 0; display: flex; justify-content: center; }
.wtools a { position: relative; display: grid; justify-items: center; align-content: center; gap: 8px; width: 100%; max-width: 168px; min-height: 88px; padding: 10px 8px 12px; color: var(--ink-2); font-size: .9375rem; font-weight: 500; text-decoration: none; text-align: center; transition: color .15s; }
.wtools a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background-color .15s; }
.wtool-icon { width: 2.125rem; height: 2.125rem; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); transition: color .15s; }
.wtools a:hover { color: var(--ink); }
.wtools a:hover .wtool-icon { color: var(--accent); }
.wtools a:hover::after { background: var(--line-strong); }
.wtools a:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--radius); }
.wtools a[aria-current] { color: var(--accent); font-weight: 700; }
.wtools a[aria-current] .wtool-icon { color: var(--accent); }
.wtools a[aria-current]::after { background: var(--accent); }
@media (max-width: 900px) {
  .wtools__list { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .wtools__list::-webkit-scrollbar { display: none; }
  .wtools__list li { flex: 0 0 auto; }
  .wtools a { min-width: 6.5rem; max-width: none; white-space: nowrap; }
}
@media (max-width: 767px) {
  /* Телефон: закачен горе при превъртане; ширината следва надписа (нищо не се реже); заглъхването вдясно
     подсказва, че има още раздели, и изчезва в края (app.js - is-end). */
  .wtools { position: sticky; top: 0; z-index: 30; }
  .wtools__list { padding: 0 32px 0 8px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
  .wtools__list.is-end { -webkit-mask-image: none; mask-image: none; }
  .wtools a { min-width: 5.25rem; min-height: 72px; gap: 6px; padding: 8px 10px 10px; font-size: .75rem; }
  .wtools .wtool-icon { width: 1.75rem; height: 1.75rem; }
  .wtools a::after { left: 10px; right: 10px; }
}
/* Разделите в „Гости“: списък, покани, маси. */
.wtabs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wtabs a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.wtabs a:hover { border-color: var(--accent); color: var(--accent); }
.wtabs a[aria-current] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* Табло: топъл фон на личната зона, широк начален блок, 4 показателя. */
.dash-band { background: var(--band); padding: var(--s3) 0 96px; }
.dash-band .wedding-nav { margin-bottom: var(--s2); }
.dash-band .form-status { margin: 0 0 var(--s2); }
.dash-hero { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: var(--s4); padding: 28px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-1); }
.dash-hero__media { position: relative; align-self: start; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--paper); }
.dash-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dash-hero__count { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0; padding: 8px 12px 7px; border-radius: 6px; background: rgb(28 25 23 / 72%); color: #fff; line-height: 1.1; }
.dash-hero__count strong { font-family: var(--font-head); font-size: 1.75rem; font-weight: 600; font-variant-numeric: lining-nums; }
.dash-hero__count span { font-size: .75rem; font-weight: 600; }
.dash-hero__media--plain { display: grid; place-items: center; padding: var(--s2); border: 1px solid var(--line); text-align: center; }
.dash-hero__media--empty { border-style: dashed; border-color: var(--line-strong); }
.dash-date { display: grid; justify-items: center; gap: 4px; margin: 0; color: var(--ink-2); }
.dash-date__num { font-family: var(--font-head); font-size: 4rem; font-weight: 500; line-height: .95; color: var(--accent); font-variant-numeric: lining-nums; }
.dash-date__today { font-family: var(--font-head); font-size: 1.75rem; line-height: 1.1; color: var(--accent); }
.dash-date__label { font-size: .875rem; font-weight: 600; }
.dash-date__sub { font-size: .8125rem; color: var(--muted); }
.dash-date__title { font-family: var(--font-head); font-size: 1.375rem; font-weight: 600; line-height: 1.15; color: var(--ink); }
.dash-date .wtool-icon { color: var(--accent); }
.dash-hero__main { display: grid; align-content: space-between; gap: 22px; min-width: 0; }
.dash-hero h1 { font-size: 2.375rem; line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
.dash-hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin: 6px 0 0; color: var(--ink-2); }
.dash-link { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--accent); font-weight: 600; font-size: .875rem; text-underline-offset: 3px; }
.dash-link:hover { color: var(--accent-hover); }
.dash-link--late { color: var(--danger); }
.dash-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.dash-metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: end; gap: 6px 10px; min-height: 96px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dash-metric:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.dash-metric:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dash-metric__label { grid-column: 1 / -1; align-self: start; font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); overflow-wrap: anywhere; }
.dash-metric__num { font-family: var(--font-head); font-size: 1.875rem; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.dash-metric__num small { font-family: var(--font-body); font-size: .8125rem; font-weight: 500; color: var(--muted); }
.dash-metric__empty { font-weight: 600; color: var(--accent); }
.dash-ring { position: relative; display: grid; place-items: center; align-self: end; }
.dash-ring svg { width: 2.5rem; height: 2.5rem; transform: rotate(-90deg); }
.dash-ring circle { fill: none; stroke-width: 3.5; }
.dash-ring__track { stroke: var(--track); }
.dash-ring__val { stroke: var(--accent); stroke-linecap: round; }
.dash-ring b { position: absolute; font-size: .625rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Секциите отдолу - застъпват края на топлия фон. */
.dash-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: -64px; padding-bottom: var(--s5); }
.dash-card { display: flex; flex-direction: column; min-width: 0; padding: 28px 32px 30px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-1); }
.dash-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2); }
.dash-card__head h2 { font-size: 1.875rem; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dash-card__lead { margin: 6px 0 0; color: var(--ink-2); font-size: .9375rem; }
.dash-card__foot { margin-top: auto; padding-top: var(--s2); }
.dash-label, .dash-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.dash-label { background: var(--accent); color: #fff; }
.dash-tag { background: var(--accent-soft); color: var(--accent); }
.dash-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.dash-actions form { margin: 0; }
.dash-actions .icon { width: 16px; height: 16px; }
.dash-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .8125rem; color: var(--muted); }
.dash-late { color: var(--danger); font-weight: 700; }
.dash-muted { color: var(--muted); margin: 8px 0 0; }
.dash-day { display: grid; justify-items: center; align-content: center; min-height: 76px; padding: 6px 4px; border-radius: 8px; background: #fff; border: 1px solid var(--line); line-height: 1; color: var(--ink); }
.dash-day b { font-family: var(--font-head); font-size: 2rem; font-weight: 600; font-variant-numeric: lining-nums; }
.dash-day small { margin-top: 4px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.dash-day--sm { min-height: 50px; }
.dash-day--sm b { font-size: 1.375rem; }
.dash-day--late { border-color: #efcfca; background: var(--danger-bg); color: var(--danger); }
.dash-day--late small { color: var(--danger); }
.dash-day--none { border-style: dashed; background: none; }
/* Датата вляво и текстът вдясно; ако текстът няма поне 9rem (тесен екран с увеличен текст), минава под датата -
   бутоните не излизат от екрана. При обичаен размер - на един ред, както досега. */
.dash-focus { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: var(--s3); padding: 22px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.dash-focus > .dash-day { flex: 0 0 72px; }
.dash-focus__body { flex: 1 1 9rem; min-width: 0; }
.dash-focus h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; letter-spacing: 0; margin: 0 0 4px; overflow-wrap: anywhere; }
.dash-focus h3 a { color: var(--ink); text-decoration: none; }
.dash-focus h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dash-list { list-style: none; margin: 12px 0 0; padding: 0; }
.dash-list li + li { border-top: 1px solid var(--line); }
.dash-item, .dash-conv { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 64px; padding: 10px 4px; border-radius: 6px; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.dash-item:hover, .dash-conv:hover { background: var(--paper); }
.dash-item:hover .dash-item__title, .dash-conv:hover .dash-item__title { color: var(--accent); }
.dash-item:focus-visible, .dash-conv:focus-visible, .dash-vendor:focus-visible, .dash-more__item:focus-visible, .dash-pays a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dash-item__body, .dash-conv__body { display: grid; gap: 2px; min-width: 0; }
.dash-item__title { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; transition: color .15s; }
.dash-conv { grid-template-columns: 44px minmax(0, 1fr); align-items: start; padding: 14px 4px; }
.dash-ini { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: .8125rem; }
.dash-conv--new .dash-ini { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.dash-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: .75rem; font-weight: 700; color: var(--muted); }
.dash-pill { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.dash-pill--new { background: var(--accent); color: #fff; }
.dash-empty { display: grid; gap: 6px; margin-top: var(--s3); padding: var(--s3); border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--paper); color: var(--ink-2); }
.dash-empty p { margin: 0; }
.dash-empty__title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--ink); }
.dash-vendors { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.dash-vendor { display: grid; gap: 6px; align-content: start; color: var(--ink); text-decoration: none; border-radius: 8px; }
.dash-vendor:hover .dash-item__title { color: var(--accent); }
.dash-vendor__img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.dash-vendor__img img { width: 100%; height: 100%; object-fit: cover; }
.dash-vendor__ini { font-family: var(--font-head); font-size: 2rem; color: var(--muted); }
.dash-vendor__state { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: #fff; font-size: .6875rem; font-weight: 700; color: var(--ink-2); }
.dash-vendor__state--yes { background: var(--accent); color: #fff; }
.dash-money { margin-top: var(--s3); padding: var(--s2); border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.dash-money__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0; font-size: .875rem; color: var(--ink-2); }
.dash-money__row b { color: var(--ink); }
.dash-bar { height: 6px; margin: 10px 0 8px; border-radius: 3px; background: var(--track); overflow: hidden; }
.dash-bar span { display: block; height: 100%; background: var(--accent); }
.dash-subhead { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: var(--s3) 0 0; }
.dash-pays { list-style: none; margin: 4px 0 0; padding: 0; }
.dash-pays li + li { border-top: 1px solid var(--line); }
.dash-pays a { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 56px; padding: 8px 4px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.dash-pays a:hover { background: var(--paper); }
.dash-pays a:hover .dash-item__title { color: var(--accent); }
.dash-pays a > span:first-child { display: grid; gap: 2px; min-width: 0; }
.dash-pays__sum { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.dash-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.dash-more__item { display: grid; align-content: start; gap: 4px; min-height: var(--tap); padding: var(--s2) 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; }
a.dash-more__item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
a.dash-more__item:hover .dash-item__title { color: var(--accent); }
.dash-more__item a.dash-item__title { text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); margin: -10px 0; }
.dash-more__item a.dash-item__title:hover { color: var(--accent); text-decoration: underline; }
.dash-reminders, .dash-sections > .wedding-soon { grid-column: 1 / -1; margin: 0; }
@media (max-width: 1100px) {
  .dash-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-hero { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .dash-sections { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dash-more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dash-band { padding: var(--s2) 0 72px; }
  .dash-hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .dash-hero__media { aspect-ratio: 16 / 9; border-radius: 12px 12px 0 0; }
  .dash-hero__media--plain { aspect-ratio: auto; min-height: 9rem; border-width: 0 0 1px; }
  .dash-date__num { font-size: 3.25rem; }
  .dash-hero__main { padding: 18px 16px 16px; gap: 16px; }
  .dash-hero h1 { font-size: 1.875rem; }
  .dash-hero__facts { gap: 0 16px; font-size: .875rem; }
  .dash-card__head { flex-wrap: wrap; gap: 0 var(--s2); }
  .dash-card__head h2 { flex: 1 1 100%; }
  .dash-metrics { gap: 10px; }
  .dash-metric { padding: 12px 12px 12px 14px; gap: 8px; }
  .dash-metric__label { font-size: .75rem; }
  .dash-metric__num { font-size: 1.625rem; }
  .dash-ring svg { width: 2.25rem; height: 2.25rem; }
  .dash-sections { margin-top: -48px; gap: 16px; }
  .dash-card { padding: 20px 16px 22px; }
  .dash-card__head h2 { font-size: 1.625rem; }
  .dash-focus { gap: 14px; padding: 16px; }
  .dash-focus > .dash-day { flex-basis: 60px; }
  .dash-focus .dash-day { min-height: 64px; }
  .dash-focus h3 { font-size: 1.125rem; }
  .dash-actions .btn { flex: 1 1 auto; }
  .dash-item { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .dash-conv { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .dash-vendors { grid-template-columns: repeat(3, 160px); overflow-x: auto; scroll-snap-type: x proximity; margin: var(--s2) -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
  .dash-vendors li { scroll-snap-align: start; }
}
@media (max-width: 360px) {
  .dash-metrics { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .wtools a, .wtool-icon, .dash-metric, .dash-item, .dash-conv { transition: none; } }
.dash-group { margin: var(--s3) 0 0; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dash-group--prosrocheni { color: var(--danger); }
.dash-focus { margin-top: 8px; }
.dash-group + .dash-list { margin-top: 4px; }

/* ---------- Администрация - начална страница (03.11.2026): компактни плочки ----------
   Бял фон, фина рамка, леко заобляне, деликатен ефект при посочване; винено - само броят на чакащите. По 4 в ред на
   широк екран; на телефон по 2, докато текстът се побира (минимум 10rem - при увеличен текст става една колона). */
.admin-page { background: #fff; padding: var(--s3) 0 var(--s5); }
.admin-title { font-size: clamp(1.75rem, 1.6rem + .55vw, 2.125rem); line-height: 1.2; margin: 0; }
.admin-heading { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: var(--s2) 0 10px; }
.admin-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
@media (min-width: 1024px) { .admin-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
.admin-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 100%; min-height: 52px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.admin-tile:hover { border-color: var(--line-strong); background: var(--paper); color: var(--ink); }
.admin-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.admin-tile .icon { width: 18px; height: 18px; color: var(--muted); transition: color .15s; }
.admin-tile:hover .icon { color: var(--accent); }
.admin-tile__name { font-size: .9375rem; font-weight: 600; line-height: 1.25; }
.admin-tile__count { font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent); }

/* ---------- Администрация - вътрешните раздели (admin-zone; 03.11.2026) ----------
   Шаблонът слага admin-zone само на маршрутите manage.* (без прегледа на съдържание) - публичният сайт не се променя.
   Общи компактни размери: заглавията като началната страница на управлението, текст 1rem, бутони 40 px, по-малки
   отстояния; горната връзка към раздела е малка, а „← Към управлението“ води към /upravlenie. */
.admin-zone { background: #fff; }
.admin-back { padding-top: var(--s2); }
.admin-back a { display: inline-flex; align-items: center; min-height: 32px; font-size: .875rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.admin-back a:hover { text-decoration: underline; text-underline-offset: 3px; }
.admin-zone .admin-back + .section { padding-top: var(--s1); }
.admin-zone .section { padding-bottom: var(--s4); font-size: 1rem; }
.admin-zone .kicker { font-size: .75rem; margin: 0 0 4px; }
.admin-zone h1 { font-size: clamp(1.75rem, 1.6rem + .55vw, 2.125rem); line-height: 1.2; margin: 0 0 var(--s1); }
.admin-zone h2 { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); line-height: 1.25; margin: var(--s3) 0 var(--s1); }
.admin-zone h3 { font-size: 1.0625rem; line-height: 1.3; }
.admin-zone .biz-form__part > legend h2, .admin-zone .empty h2, .admin-zone .manage-row__title { font-size: 1.125rem; margin: 0; }
.admin-zone .btn { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.admin-zone .btn--sm { min-height: 36px; padding: 0 12px; font-size: .875rem; }
.admin-zone .notice, .admin-zone .hint, .admin-zone .manage-table { font-size: .9375rem; }
.admin-zone .manage-tabs { margin: var(--s1) 0 var(--s2); gap: 6px; }
.admin-zone .manage-tabs a { min-height: 36px; padding: 0 12px; font-size: .875rem; }
.admin-zone .manage-table th, .admin-zone .manage-table td { padding: 8px 8px 8px 0; }
.admin-zone .biz-form__part { margin-bottom: var(--s2); }
.admin-zone .publication-box { padding: var(--s2); }
/* Началната страница на управлението - одобреният дизайн остава: малкото подзаглавие и заглавието без промяна. */
.admin-zone h2.admin-heading { font-size: .75rem; line-height: normal; margin: var(--s2) 0 10px; }
.admin-zone h1.admin-title { margin: 0; }
/* Подравняване: съдържанието започва от левия край под „← Към управлението“ (не центрирана тясна колона);
   таблиците - на цялата ширина, текстовете и формите - до четима ширина. */
.admin-zone .container.page-narrow { max-width: var(--container); }
.admin-zone .page-narrow > p, .admin-zone .page-narrow .notice, .admin-zone .page-narrow > .hint { max-width: 72ch; }
.admin-zone .biz-form { max-width: 760px; }
/* Полетата - на височината на бутоните (40 px), за да са на една линия във формите за търсене и филтриране. */
.admin-zone .input, .admin-zone .select { min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 639px) {
  /* Таблиците на телефон - клетките една под друга, плътно (без отстоянието на широкия екран). */
  .admin-zone .manage-table tr { gap: 2px; padding: 10px 0; }
  .admin-zone .manage-table td { padding: 0; }
}
/* Самостоятелните текстови връзки в администрацията - поне 24 px за посочване (WCAG 2.5.8) и при по-малкия текст. */
.admin-zone .text-link { display: inline-block; min-height: 24px; line-height: 24px; }
/* Филтрите в администрацията (потребители, журнал, сигнали): полетата, квадратчетата и бутонът - на една долна линия, височина 40 px. */
.admin-zone .audit-filters { gap: var(--s1) var(--s2); margin-bottom: var(--s2); }
.admin-zone .audit-filters > .field, .admin-zone .audit-filters > .biz-form__actions { margin: 0; }
.admin-zone .audit-filters > .check { align-items: center; min-height: 40px; padding: 0; }
/* Статистика след съгласие (ANL-010, SYS-003): въпросът под хедъра - не закрива съдържание и не е модален. */
.consent { background: var(--paper); border-bottom: 1px solid var(--line); }
.consent__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.consent__title { font-size: 1rem; margin: 0; flex: 0 0 auto; }
.consent__text { margin: 0; flex: 1 1 28rem; font-size: .9375rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-state { font-weight: 600; }
/* Статистики в управлението: компактни плочки с показателите и таблици по две в ред на широк екран. */
.stats-tiles { list-style: none; margin: var(--s1) 0 var(--s2); padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.stats-tile { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stats-tile__label { font-size: .875rem; font-weight: 600; }
.stats-tile__value { font-size: 1.5rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stats-tile__note { font-size: .8125rem; color: var(--muted); }
.stats-grid { display: grid; gap: 0 var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-zone .stats-grid h3 { margin: var(--s2) 0 var(--s1); }
.stats-device { margin-top: var(--s3); border-top: 1px solid var(--line); }
.stats-tile__value--text { font-size: 1rem; line-height: 1.35; padding: 4px 0; }
/* Обобщение и справки (07.11.2026, по одобрения прототип prototype/statistika): групи с изрична единица, справки с
   подредба по колона, видими филтри и страници. Единицата - текст в етикет, не само цвят. */
.stats-views { margin-top: var(--s3); }
.stats-group { margin: var(--s3) 0; padding: var(--s3) 0 0; border-top: 1px solid var(--line); }
.stats-group h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 0; }
.stats-unit { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .01em; color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.stats-unit--ev { border-color: #b7c6e4; background: #eef3fb; color: #1f3f78; }
.stats-unit--rec, .stats-unit--biz { border-color: #b9d6c1; background: #eef7f0; color: #1f5132; }
.stats-unit--acc { border-color: #e2c9a0; background: #fbf4e8; color: #6b4b00; }
.stats-more { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.stats-more a { font-weight: 700; color: var(--accent); }
.stats-toolbar { margin: var(--s2) 0; }
.stats-toolbar .check { align-self: center; min-height: var(--tap); display: inline-flex; align-items: center; gap: 8px; }
.stats-chips { align-items: center; }
.stats-sortchip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: .9rem; }
.stats-count { margin: var(--s1) 0; }
.stats-report caption { text-align: left; caption-side: top; padding: 0 0 6px; }
.stats-report th { vertical-align: bottom; }
.stats-report th a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 32px; color: var(--ink); font-weight: 700; text-decoration: none; }
.stats-report th a:hover { color: var(--accent); text-decoration: underline; }
.stats-report th[aria-sort] a { color: var(--accent); }
.stats-report .num { text-align: right; font-variant-numeric: tabular-nums; }
.stats-report th.num a { justify-content: flex-end; }
.stats-arrow { min-width: 1em; font-size: .75rem; }
.stats-unit--scope { border-color: var(--ink-2); background: #fff; color: var(--ink); }
.stats-report-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stats-scope { margin: var(--s2) 0; }
.stats-now { margin: var(--s2) 0; padding: 10px 12px 2px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.stats-now h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1rem; }
/* Статистики при тесен прозорец (07.11.2026): таблиците остават таблици с видими заглавия (без превръщането в редове
   под 640 px - иначе подредбата и надписите на числата изчезват) в собствена рамка с хоризонтално превъртане -
   винаги видима лента и сенки по ръба, когато има още колони; рамката е достъпна с клавиатурата (tabindex). Когато
   таблицата се побира (компютър), няма лента и сенки. Полетата на формите се пренасят по ширина в rem. */
.stats-scroll { overflow-x: auto; max-width: 100%;
  background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center / 32px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(28, 25, 23, .2), transparent) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(28, 25, 23, .2), transparent) right center / 12px 100% no-repeat scroll; }
.stats-scroll::-webkit-scrollbar { height: 12px; }
.stats-scroll::-webkit-scrollbar-track { background: var(--soft); border-radius: 6px; }
.stats-scroll::-webkit-scrollbar-thumb { background: #a8a29e; border-radius: 6px; border: 2px solid var(--soft); }
.stats-scroll::-webkit-scrollbar-thumb:hover { background: #78716c; }
.stats-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.stats-table th, .stats-table td { min-width: 4.5rem; }
.stats-table th:first-child, .stats-table td:first-child { min-width: 8rem; }
@media (max-width: 639px) {
  .stats-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .stats-table tr { display: table-row; padding: 0; border-bottom: 0; }
  .stats-table th, .stats-table td,
  .admin-zone .stats-table th, .admin-zone .stats-table td { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; }
}
.stats-period, .stats-toolbar { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.stats-period .input, .stats-period .select, .stats-toolbar .input, .stats-toolbar .select { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
/* Демонстрационни данни (statistika:demo, само ръчната и тестовите среди) - отметка до заглавието или месеца. */
.badge--demo { background: #fff4d6; color: #6b4b00; border: 1px solid #e0c36a; font-size: .75rem; margin-left: 6px; }
/* Планове (етап 1): банкови данни за превода, краткият вариант на описанието, формите в „План“ и в управлението. */
.plan-bank { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: var(--s1) 0; }
.plan-bank dt { color: var(--muted); }
.plan-bank dd { margin: 0; overflow-wrap: anywhere; }
.plan-short { border-left: 3px solid var(--line-strong); margin: var(--s1) 0 var(--s2); padding: 4px 0 4px 14px; color: var(--ink-2); }
.plan-registry { max-width: 28rem; }
.plan-form { display: grid; gap: var(--s1); max-width: 32rem; margin: var(--s1) 0 var(--s2); }
.plan-slots td, .plan-slots th { font-weight: 400; }
.plan-slots td:last-child { text-align: left; }
.plan-box { border-color: var(--line-strong); }
.biz-card__plan { margin: 4px 0 0; }

/* ---------- Бизнес зона (04.11.2026, по прототипа prototype/biznes-zona) ---------- */
/* Шрифтове - същата йерархия като администрацията: заглавия 28-34 px, подзаглавия 20-22,4 px; публичният сайт - без промяна. */
.biz-zone h1 { font-size: clamp(1.75rem, 1.6rem + .55vw, 2.125rem); line-height: 1.2; margin: 0 0 var(--s1); }
.biz-zone h2 { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); line-height: 1.25; }
.biz-zone h3 { font-size: 1.125rem; line-height: 1.3; }
.biz-zone .publication-box h2 { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); }
.biz-zone .lead-text { font-size: 1.0625rem; }
/* Връщане по адрес; подравнено със съдържанието (тесните страници - 720 px). */
.biz-back { padding-top: var(--s2); }
.biz-zone:has(.page-narrow) .biz-back { max-width: 720px; }
.biz-back a { display: inline-flex; align-items: center; min-height: 32px; font-size: .875rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.biz-back a:hover { text-decoration: underline; text-underline-offset: 3px; }
.biz-zone .biz-back + .section { padding-top: var(--s2); }
/* Табло на бизнеса */
.bz-band { background: var(--band); }
.biz-zone .biz-back + .bz-band { padding-top: var(--s2); }
.bz-band .section-inner { padding-block: var(--s2) 64px; }
.bz-hero { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s3); padding: 24px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-1); }
.bz-cover { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; font-family: var(--font-head); font-size: 2.5rem; font-weight: 600; color: var(--accent); }
.bz-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bz-hero h1 { margin: 0 0 4px; }
.bz-meta { margin: 0 0 var(--s2); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.bz-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 12px; }
.bz-state { min-width: 0; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.biz-zone .bz-state h2 { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: 0; color: var(--muted); margin: 0 0 6px; }
.bz-state p { margin: 0 0 6px; }
.bz-state p:last-child { margin-bottom: 0; }
.bz-state__value { font-size: 1.125rem; font-weight: 700; }
.bz-state a { color: var(--accent); font-weight: 600; display: inline-flex; min-height: 24px; align-items: center; }
.bz-tiles { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: 12px; }
.bz-tile { min-width: 0; overflow-wrap: anywhere; }
.bz-tile a { display: grid; gap: 4px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.bz-tile a:hover { border-color: var(--line-strong); }
.bz-tile__num { font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.bz-tile__num--none { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--muted); }
.bz-tile__label { font-size: .875rem; color: var(--ink-2); }
.bz-section { background: #fff; border-radius: 12px; padding: 20px 24px; margin-top: var(--s3); box-shadow: var(--shadow-1); }
.biz-zone .bz-section h2 { margin: 0 0 12px; }
.bz-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bz-actions form { margin: 0; }
.bz-todo { list-style: none; margin: 0; padding: 0; }
.bz-todo li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.bz-todo li:first-child { border-top: 0; padding-top: 0; }
.bz-more { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.bz-more a { display: inline-flex; align-items: center; min-height: 32px; color: var(--accent); font-weight: 600; }
.bz-details > h2 { margin-top: var(--s4); }
/* Увеличен текст на тесен екран: дълги надписи на бутони и падащи менюта се пренасят, вместо да излизат. */
.biz-zone .btn { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.biz-zone select, .biz-zone .select { max-width: 100%; min-width: 0; }
/* Редакторът: заглавията на стъпките - като подзаглавията в зоната (20-22,4 px). */
.biz-zone .biz-form__part > legend h2 { font-size: clamp(1.25rem, 1.2rem + .25vw, 1.4rem); }
@media (max-width: 767px) {
  .bz-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .bz-cover { width: 56px; font-size: 1.75rem; }
  .bz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz-section { padding: 16px; }
}
/* Таблото: фонът започва над връзката назад; блокът за публичност - без отстъпите на старата кутия. */
main.biz-zone:has(> .bz-band) { background: var(--band); }
.bz-state.publication-box { margin: 0; padding: 12px 14px; border-radius: 8px; }
.bz-state .badge { margin-right: 4px; }
/* Водещата снимка: отделен фокус за телефон и таблет (широките рамки), ако е зададен в редактора. */
@media (max-width: 1023px) { img.has-mobile-focus { object-position: var(--mfx) var(--mfy) !important; } }
/* ---------- Водеща снимка в редактора (04.11.2026, по prototype/vodeshta-snimka): избор на фокуса, прегледи в точните пропорции ---------- */
.fx { display: grid; gap: var(--s3); margin: var(--s2) 0; }
.fx-pick p { margin: 0 0 8px; }
.fx-target { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; border: 0; }
.fx-target legend { font-weight: 700; margin-bottom: 6px; }
.fx-target label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-weight: 600; }
.fx-target input { accent-color: var(--accent); width: 18px; height: 18px; }
.fx-target label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.fx-target label:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.fx-full { position: relative; display: block; max-width: 640px; cursor: crosshair; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); touch-action: manipulation; }
.fx-full img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.fx-dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink), 0 2px 6px rgb(0 0 0 / 35%); pointer-events: none; }
.fx-dot--desk { background: var(--accent); }
.fx-dot--phone { background: #1f5fbf; }
.fx-dot__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; font-size: .875rem; color: var(--ink-2); }
.fx-dot__legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.fx-dot__legend .d::before { background: var(--accent); }
.fx-dot__legend .p::before { background: #1f5fbf; }
.fx-frames { display: grid; grid-template-columns: minmax(0, 615fr) minmax(0, 430fr); gap: var(--s3); align-items: start; }
.fx-frames__wide { display: grid; gap: var(--s2); }
.fx-frame { margin: 0; }
.fx-frame__box { display: block; width: 100%; overflow: hidden; border-radius: 6px; background: var(--soft); outline: 1px solid var(--line); }
.fx-frame__box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fx-frame figcaption { margin-top: 6px; font-size: .875rem; color: var(--ink-2); }
.fx-frame figcaption strong { color: var(--ink); }
.fx-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: var(--s2) var(--s3); }
.fx-fields fieldset { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.fx-fields legend { font-weight: 700; padding: 0 4px; }
.fx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fx-pair .field { margin: 0; }
.fx-reset { margin-top: 10px; }
@media (max-width: 767px) { .fx-frames { grid-template-columns: minmax(0, 1fr); } }
.fx-pick[hidden] { display: none; }
.fx-reset[hidden] { display: none; }

/* ---------- Компактен хедър (04.11.2026, по prototype/hedar-2) ----------
   Горе: логото и отделените действия; долу (от 1280 px): основната навигация в три групи - в отделна лента (07.11.2026).
   Компютър: 40 + 6 + 37 px (около 84 px), целият хедър е закачен при превъртане - действията са винаги видими.
   Телефон: един ред (54 px). */
.site-header__bar { gap: 2px 6px; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px 4px; margin-left: auto; }
.hdr-act { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: var(--radius); color: var(--ink-2); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.hdr-act:hover { color: var(--accent); background: var(--soft); }
.hdr-act .icon { width: 22px; height: 22px; }
.hdr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hdr-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.hdr-badge--quiet { background: var(--soft); color: var(--ink-2); border: 1px solid var(--line-strong); }
.hdr-act .hdr-badge { position: absolute; top: 4px; right: 0; min-width: 18px; height: 18px; font-size: .6875rem; padding: 0 5px; }
.hdr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.hdr-btn:hover { background: var(--accent-soft); color: var(--accent); }
.hdr-btn--fill, .hdr-btn--fill:hover { background: var(--accent); color: #fff; }
.hdr-btn--fill:hover { background: var(--accent-hover); }
.hdr-btn .icon { width: 20px; height: 20px; }
.hdr-btn .hdr-badge { margin-left: 2px; }
.hdr-sep { width: 1px; height: 24px; background: var(--line-strong); margin: 0 6px; }
.hdr-wide { display: none; }
.hdr-profile { position: relative; }
.hdr-profile > summary { list-style: none; }
.hdr-profile > summary::-webkit-details-marker { display: none; }
.hdr-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .875rem; }
.hdr-chevron { width: 16px; height: 16px; transition: transform .2s; }
.hdr-profile[open] .hdr-chevron { transform: rotate(180deg); }
.hdr-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 260px; max-width: calc(100vw - 2 * var(--gutter)); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-3); }
.hdr-menu p { margin: 4px 10px 8px; font-weight: 700; overflow-wrap: anywhere; }
.hdr-menu a, .hdr-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; text-align: left; cursor: pointer; }
.hdr-menu a:hover, .hdr-menu button:hover { background: var(--soft); color: var(--accent); }
.hdr-menu .icon { width: 20px; height: 20px; color: var(--ink-2); }
.hdr-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.hdr-menu form { margin: 0; }
.nav-sep, .nav-group-title, .nav-account { display: none; }
.nav-extra form { margin: 0; }
.nav-extra button { display: flex; align-items: center; gap: 12px; min-height: 44px; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.nav-extra button .icon { width: 20px; height: 20px; color: var(--ink-2); }
@media (max-width: 1279px) {
  /* Чекмеджето е fixed - редът с навигацията не участва в оформлението. */
  .site-header__navrow, .site-header__navrow > .container { display: contents; }
  .site-header__bar { min-height: 52px; }
  .logo { font-size: 1.5rem; }
  .main-nav.is-open .nav-account { display: block; padding: 12px var(--gutter) 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
  .nav-account p { margin: 0 0 6px; font-weight: 700; }
  .nav-account > a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .nav-account .icon { width: 20px; height: 20px; color: var(--ink-2); }
  .nav-account__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .main-nav.is-open .nav-group-title { display: block; padding: 14px var(--gutter) 4px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .hdr-chevron { display: none; }
  .nav-toggle { min-height: 44px; }
}
@media (min-width: 360px) and (max-width: 1279px) {
  .nav-toggle__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; font-weight: 700; font-size: .9375rem; }
}
@media (max-width: 359px) {
  .site-header__bar { gap: 2px; }
  .logo { font-size: 1.3rem; }
  .hdr-act { min-width: 40px; padding: 0 6px; }
  .nav-toggle { min-width: 40px; padding: 0 8px; }
}
@media (min-width: 1280px) {
  :root { --header-h: 40px; }
  .site-header { top: 0; }
  .site-header__bar { min-height: 40px; }
  .site-header .logo { font-size: 1.55rem; min-height: 40px; }
  .site-header .logo__img { height: 37px; }
  .header-actions { display: flex; }
  .hdr-wide { display: inline-flex; }
  span.hdr-sep.hdr-wide { display: block; }
  .hdr-act { min-height: 40px; padding: 0 10px; }
  .hdr-act .hdr-badge { position: static; min-width: 20px; height: 20px; font-size: .75rem; padding: 0 6px; }
  .hdr-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .hdr-btn { min-height: 32px; padding: 0 12px; }
  .site-header__navrow .main-nav { display: block; margin: 0; }
  .nav-top { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-trigger { min-height: 32px; padding: 0 10px; font-size: .9375rem; }
  .nav-trigger:hover::after, .nav-trigger[aria-expanded="true"]::after { left: 10px; right: 10px; }
  /* Целият списък е изнесен наляво с полето на връзката: текстът на първата връзка на всеки ред (и на пренесения при
     увеличен текст) е подравнен с основното съдържание, а фонът при посочване има въздух. */
  .site-header__navrow .nav-top { margin-left: -10px; }
  .nav-sep { display: block; width: 1px; height: 16px; margin: 0 10px; background: var(--line-strong); }
  /* Отделна лента с основната навигация (07.11.2026): по цялата ширина на прозореца, деликатен топъл фон, тънък
     разделител отгоре и малко повече разстояние от логото; компактна (36 px). Падащите панели остават под хедъра. */
  .site-header__navrow { margin-top: 6px; background: var(--paper); border-top: 1px solid var(--line); }
  .nav-trigger { min-height: 36px; border-radius: 6px 6px 0 0; transition: background-color .15s, color .15s; }
  /* Посочване - мек бордо фон; отворено падащо меню - бял фон и черта; активен раздел - удебелен, с постоянна черта
     от 3 px; клавиатурният фокус - общата синя рамка (:focus-visible). */
  .nav-trigger:hover { color: var(--accent); background: var(--accent-soft); }
  .nav-trigger:hover::after { content: none; }
  .nav-trigger[aria-expanded="true"] { color: var(--accent); background: #fff; }
  .nav-trigger[data-current] { color: var(--accent); font-weight: 700; }
  .nav-trigger[data-current]::after, .nav-trigger[aria-expanded="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--accent); }
  .nav-trigger[data-current]::after { height: 3px; border-radius: 2px 2px 0 0; }
}
/* Телефон и таблет: отвореното меню на профила - между полетата на екрана (и при увеличен текст не излиза встрани). */
@media (max-width: 1279px) {
  .hdr-menu { position: fixed; left: var(--gutter); right: var(--gutter); top: auto; margin-top: 6px; min-width: 0; max-width: none; max-height: calc(100vh - 120px); overflow-y: auto; }
}

/* Реклама в каталога (docs/SPONSORIRANO-PREDLOZHENIE.md): отделен блок над резултатите, етикет „Реклама“ на всяка
   карта; на телефон - компактни карти, за да остават резултатите близо. Органичните карти не се променят. */
.ad-block { margin: 0 0 var(--s4); padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-card); background: var(--soft); }
.ad-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 12px; }
.ad-head h2 { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: .02em; }
.ad-why { font-size: .9rem; }
.ad-why summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; color: var(--accent); font-weight: 700; }
.ad-why p { margin: 6px 0 0; max-width: 62ch; }
.ad-cards { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ad-cards:not(.results--list) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ad-cards:not(.results--list) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ad-label { display: inline-flex; align-self: flex-start; width: fit-content; align-items: center; min-height: 24px; padding: 0 10px; margin: 0 0 6px; border-radius: 999px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 800; letter-spacing: .02em; }
@media (max-width: 639px) {
  .ad-block { padding: 12px; }
  .ad-cards { gap: 10px; }
  .rcard--ad { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
  .rcard--ad .rcard__media img, .rcard--ad .rcard__placeholder { height: 100%; min-height: 104px; aspect-ratio: auto; object-fit: cover; }
  .rcard--ad .rcard__placeholder span, .rcard--ad .fav-form { display: none; }
  .rcard--ad .rcard__body { padding: 10px 12px; }
  .rcard--ad h3 { font-size: 1.15rem; margin-bottom: 2px; }
  .rcard--ad .rcard__excerpt, .rcard--ad .rcard__actions, .rcard--ad .rcard__area, .rcard--ad .rcard__features, .rcard--ad .facts-text, .rcard--ad .rel, .rcard--ad .badges { display: none; }
  .rcard--ad .loc, .rcard--ad .rcard__price, .rcard--ad .rcard__rating { margin: 0; font-size: .9rem; }
}
/* Управление и „Моят бизнес“ - реклама. */
.ad-admin .ad-dates, .ad-form .ad-dates { display: grid; gap: 0 var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ad-admin .ad-dates, .ad-form .ad-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ad-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s3) 0 var(--s1); }
.ad-actions form { margin: 0; }
.ad-checks { list-style: none; padding: 0; margin: 0; }
.ad-check { padding: 6px 0; }
.ad-check--ok > span[aria-hidden] { color: var(--success, #24613a); font-weight: 800; }
.ad-check--bad { color: var(--danger); font-weight: 700; }
.ad-over th, .ad-over td { background: var(--danger-bg); }
.ad-table th[scope="row"] { font-weight: 700; text-align: left; }
.ad-table .nowrap, .ad-table td { white-space: nowrap; }
.ad-table .ad-wrap, .ad-wrap { white-space: normal; overflow-wrap: anywhere; }
.ad-admin .table-wrap { position: relative; }
.ad-block--preview { margin-top: var(--s2); }
.ad-filter { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: var(--s2) 0; }
.ad-filter a { display: inline-flex; align-items: center; min-height: 32px; }
.ad-filter a[aria-current="page"] { font-weight: 800; text-decoration: none; color: var(--ink); }
.ad-choices { margin-top: 8px; }
.ad-requests { list-style: none; padding: 0; margin: 0; }
.ad-request { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ad-request.is-new { background: var(--soft); padding-left: 8px; }
.ad-status { font-weight: 700; }
