/* unify.css — единый вид ВашПульта (правки дизайна от 08.11.2026, пункты задания 2–12).
   Подключается последним в <head> (buyblock frontendHead), поэтому перекрывает тему без правки её файлов. */

/* 2. Плашка cookie: «Подробнее →» в цвет текста */
.cookies-note a { color: inherit !important; text-decoration: none !important; font-weight: 700; }
.cookies-note a::after { content: " →"; color: var(--buyblock-accent, #7b2471); }

/* 3, 5. Название страницы: 30 px везде (товар 26 px — правило выше в buyblock.css), на телефоне 22 px */
.hb-title { font-size: 30px !important; font-weight: 700 !important; color: rgba(0,0,0,.8) !important; line-height: 1.3 !important; }
html:not(.action-product) .wrapper-name > h1, h1.category-name { font-size: 30px !important; font-weight: 700 !important; line-height: 1.3 !important; color: rgba(0,0,0,.8); }
@media (max-width: 959px) {
    .hb-title, html:not(.action-product) .wrapper-name > h1, h1.category-name { font-size: 22px !important; }
}
/* 3. Доставка: подзаголовки ступенью ниже */
.dv3-h { font-size: 22px !important; }
@media (max-width: 959px) { .dv3-h { font-size: 19px !important; } }

/* 4. «Информация о доставке» в карточке товара — одной строкой слева */
.dp-product__header > div[align="center"] { text-align: left !important; font-size: 0 !important; line-height: 1.4; }
.dp-product__header > div[align="center"] br { display: none; }
.dp-product__header > div[align="center"]::before { content: "Доставка в г. "; font-size: 15px; font-weight: 700; }
.dp-product__header > div[align="center"] > a { font-size: 15px !important; font-weight: 700; }

/* 6. Подзаголовки в описаниях: 22 px (телефон 19), отступ сверху больше нижнего */
.editor-content h2 { font-size: 22px !important; line-height: 1.3 !important; margin: 28px 0 10px !important; }
.editor-content h3 { font-size: 18px !important; line-height: 1.35 !important; margin: 22px 0 8px !important; }
@media (max-width: 959px) {
    .editor-content h2 { font-size: 19px !important; margin-top: 24px !important; }
    .editor-content h3 { font-size: 17px !important; }
}

/* 7. Крошки на товаре — под названием, как на остальных страницах */
html:not(.bb-model).action-product .uk-margin-medium:has(> .wrapper-name > h1.page-name) > .uk-breadcrumb { order: 0; margin: 12px 0 0 !important; }
html:not(.bb-model).action-product .wrapper-name > h1.page-name { margin: 0 !important; }

/* 8. «Купить» и вкладки товара */
#cart-form button.uk-button-primary {
    height: 48px; line-height: 48px; font-size: 16px; font-weight: 700; text-transform: none;
    border-radius: 8px !important; color: #fff;
}
.product-nav.uk-subnav-pill { gap: 24px; margin-left: 0; }
.product-nav.uk-subnav-pill > li { padding-left: 0; }
.product-nav.uk-subnav-pill > li > a {
    background: none !important; color: rgba(0,0,0,.55) !important; text-transform: none; font-size: 16px; font-weight: 700;
    padding: 6px 0 !important; border-radius: 0 !important; border-bottom: 2px solid transparent;
}
.product-nav.uk-subnav-pill > li.uk-active > a, .product-nav.uk-subnav-pill > li > a:hover {
    color: var(--buyblock-accent, #7b2471) !important; border-bottom-color: currentColor;
}

/* 9. Углы: 8 px — карточки, кнопки, поля; 12 px — крупные блоки */
.product-list .uk-card, .thumbs .uk-card { border-radius: 8px !important; }
.theme-buttons-border-radius { border-radius: 8px !important; }
.uk-card.theme-background-radius { border-radius: 12px !important; }

/* 10. Телефон: подпись «Категории» на средней кнопке, три кнопки одной ширины */
@media (max-width: 639px) {
    .uk-grid-margined:has(> .filters-toggler-wrapper) { flex-wrap: nowrap; margin-left: -8px; }
    .uk-grid-margined:has(> .filters-toggler-wrapper) > * { flex: 1 1 0; min-width: 0; padding-left: 8px; }
    .uk-grid-margined:has(> .filters-toggler-wrapper) .uk-button { width: 100%; padding: 0 6px; font-size: 14px; white-space: nowrap; }
    .uk-grid-margined:has(> .filters-toggler-wrapper) .uk-visible\@s { display: inline !important; margin-right: 6px !important; }
    .uk-grid-margined:has(> .filters-toggler-wrapper) .mr-10 { margin-right: 6px !important; }
}

/* 11. Подвал: читаемые ссылки и значки */
.footer a:not(.uk-icon-button) { color: rgba(0,0,0,.75) !important; font-size: 14px; }
.footer a:not(.uk-icon-button):hover { color: var(--buyblock-accent, #7b2471) !important; }
.footer .uk-icon-button { color: rgba(0,0,0,.7) !important; }

/* 12. Главная: заголовки блоков слева, меньше пустоты между блоками */
.home-set-1-html, .home-set-2-html, .home-reviews-html, .home-bullets-html { padding-top: 28px !important; padding-bottom: 28px !important; }
.home-set-1-html h2.uk-h2, .home-set-2-html h2.uk-h2, .home-reviews-html h2.uk-h2, .home-bullets-html h2.uk-h2 {
    text-align: left !important; font-size: 24px !important; margin-bottom: 20px !important;
}
@media (max-width: 959px) {
    .home-set-1-html, .home-set-2-html, .home-reviews-html, .home-bullets-html { padding-top: 20px !important; padding-bottom: 20px !important; }
    .home-set-1-html h2.uk-h2, .home-set-2-html h2.uk-h2, .home-reviews-html h2.uk-h2, .home-bullets-html h2.uk-h2 { font-size: 20px !important; margin-bottom: 14px !important; }
}
