/* AUTO-SPLIT from pages.css (2026-11-26). Не редактировать вручную: правьте исходник pages.css и пересоберите. */


/* ---------- Категорія ---------- */
.cat-head { padding: 22px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.cat-layout { display: flex; gap: 30px; align-items: flex-start; margin-top: 16px; }
.cat-side {
    flex: none;
    width: 300px;
    position: sticky;
    top: calc(var(--header-h) + 14px);
    max-height: calc(100vh - var(--header-h) - 28px);
    overflow-y: auto;
}
.cat-side::-webkit-scrollbar { width: 6px; }
.cat-side::-webkit-scrollbar-track { background: transparent; }
.cat-side::-webkit-scrollbar-thumb { background: #c5c5c5; border-radius: 3px; }
.cat-side::-webkit-scrollbar-thumb:hover { background: #a9a9a9; }
.cat-side::-webkit-scrollbar-button { display: none; }
.cat-main { flex: 1; min-width: 0; }

/* ---------- Швидкий доступ ---------- */
.quicklinks { position: relative; margin: 14px 0 4px; }
.quicklinks__track { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.quicklinks__track::-webkit-scrollbar { display: none; }
.quicklink {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;
    padding: 8px 16px 8px 8px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    color: var(--c-text);
}
.quicklink:hover { border-color: var(--c-primary); color: var(--c-primary); }
.quicklink__img { flex: none; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--c-bg-2); }
.quicklink__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quicklink__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.quicklinks__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    color: var(--c-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.quicklinks__nav[hidden] { display: none; }
.quicklinks__nav:hover { color: var(--c-primary); }
.quicklinks__nav svg { width: 18px; height: 18px; }
.quicklinks__nav--prev { left: -6px; }
.quicklinks__nav--next { right: -6px; }
.cat-seolinks { margin-top: 26px; }
.cat-seolinks__list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-seolinks__list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--c-border-2); border-radius: var(--radius); color: var(--c-text); font-size: 14px; }
.cat-seolinks__list a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cat-desc__faq-title { font-size: 22px; margin-top: 1.4em; }
.cat-prices { margin-bottom: 1em; }
.cat-prices th { padding: 11px 8px; font-size: 14px; font-weight: 700; text-align: left; background: var(--c-bg-2); }
.cat-prices th.cat-prices__price { text-align: right; }
.cat-prices td { vertical-align: middle; }
.cat-prices__price { width: 1%; text-align: right; font-weight: 600; white-space: nowrap; }

.filters-toggle { display: none; }
.filters-toggle__count { white-space: nowrap; }
.filters-panel__close { display: none; }
.filters-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .45); }
/* слот для чіпсів/скидання у верхній частині панелі фільтрів (мобільна шухляда) */
.filters__applied { margin: 12px 0 4px; }
.filters__applied:empty { display: none; }

/* ---------- Акції ---------- */
.promo-hero { margin: 16px 0 26px; }
.promo-hero__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.promo-hero__img img { width: 100%; display: block; aspect-ratio: 1000 / 478; object-fit: cover; }
.promo-hero--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-top: 8px;
}
.promo-hero--split .promo-hero__img { height: 100%; min-height: 380px; background: var(--c-bg-2); }
.promo-hero--split .promo-hero__img img { height: 100%; min-height: 380px; aspect-ratio: auto; }
.promo-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 28px 30px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: var(--c-bg-2);
}
.promo-hero__title { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }
.promo-hero__subtitle { font-size: 16px; color: var(--c-text-light); }
.promo-hero__desc { max-width: 100%; color: var(--c-text-light); }
.promo-hero__desc > :first-child { margin-top: 0; }
.promo-hero__desc > :last-child { margin-bottom: 0; }
.promo-hero__desc img { max-width: 100%; height: auto; }
.promo-hero__timer { width: 100%; }
.promo-hero__timer-label {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--c-text-light);
}
.promo-hero__counter { border-color: var(--c-text); }
.promo-hero__date { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-text-light); white-space: normal; }
.promo-hero__date svg { width: 18px; height: 18px; color: #000; }

/* ---------- Пошук ---------- */
.search-page-form { display: flex; gap: 12px; max-width: 760px; margin: 14px 0 20px; }
.search-page-form__input {
    flex: 1;
    height: 48px;
    padding: 0 18px;
    border: 2px solid var(--c-primary);
    border-radius: var(--c-radius);
    font: inherit;
    font-size: 16px;
    outline: none;
}