/* Страница „Често задавани въпроси" — стъпва върху токъните и акордеона от catalog.css */

.faq-hero { padding: 46px 0 30px; background: linear-gradient(180deg, var(--mint), var(--paper)); border-bottom: 1px solid var(--line); }
.faq-breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.faq-breadcrumbs a { color: var(--muted); text-decoration: none; }
.faq-breadcrumbs a:hover { color: var(--green); }
.faq-hero h1 { margin: 4px 0 12px; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--ink); }
.faq-lead { max-width: 760px; margin: 0 0 22px; color: #33456a; font-size: 1.05rem; line-height: 1.6; }

.faq-search { max-width: 620px; }
.faq-search-field { position: relative; display: flex; align-items: center; }
.faq-search-icon { position: absolute; left: 16px; width: 16px; height: 16px; border: 2px solid var(--muted); border-radius: 50%; }
.faq-search-icon::after { content: ""; position: absolute; right: -6px; bottom: -5px; width: 8px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.faq-search input { width: 100%; padding: 15px 46px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; box-shadow: var(--shadow); }
.faq-search input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.faq-search-clear { position: absolute; right: 12px; width: 28px; height: 28px; border: none; border-radius: 50%; background: #e7eefb; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.faq-search-clear:hover { background: #d6e2f7; }

.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 34px 0 60px; align-items: start; }
.faq-empty-shell { padding: 44px 0 60px; }

.faq-nav { position: sticky; top: 90px; }
.faq-nav-title { margin: 0 0 12px; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.faq-nav nav { display: grid; gap: 2px; }
.faq-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 650; border-left: 3px solid transparent; }
.faq-nav a:hover { background: var(--mint); }
.faq-nav a.is-active { background: var(--mint); border-left-color: var(--green); color: var(--green); }

.faq-category { margin-bottom: 34px; scroll-margin-top: 90px; }
.faq-category-title { margin: 0 0 16px; font-size: 1.3rem; color: var(--ink); }
.faq-item { scroll-margin-top: 90px; }

.faq-no-results { margin: 0 0 24px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 14px; background: #fbfdff; color: #33456a; }

@media (max-width: 860px) {
    .faq-layout { grid-template-columns: 1fr; gap: 20px; }
    .faq-nav { position: static; }
    .faq-nav nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
    .faq-nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
    .faq-nav a.is-active { border-left: none; border-bottom-color: var(--green); }
}
