.kb-wrap{max-width:1000px;font-size:15px;line-height:1.55;color:#333}
.kb-wrap h2{font-size:22px;margin:28px 0 12px}
.kb-wrap h3{font-size:18px;margin:22px 0 10px}
.kb-wrap p,.kb-wrap li{margin:0 0 8px}
.kb-card{border:1px solid #e5e5e5;border-radius:8px;padding:18px 20px;margin:0 0 16px;background:#fff}
.kb-muted{color:#777;font-size:13px}
.kb-note{background:#f6f7f8;border-radius:8px;padding:12px 16px;margin:12px 0}
.kb-warn{background:#fff6e5;border:1px solid #f1d39b;border-radius:8px;padding:12px 16px;margin:12px 0}
.kb-err{background:#fdecec;border:1px solid #f3b4b4;color:#a11;border-radius:8px;padding:10px 14px;margin:10px 0}
.kb-ok{background:#ecf8ef;border:1px solid #b6e0c0;border-radius:8px;padding:12px 16px;margin:12px 0}
.kb-btn{display:inline-block;background:#222;color:#fff!important;border:0;border-radius:6px;padding:12px 22px;font-size:15px;text-decoration:none!important;cursor:pointer;margin:4px 8px 4px 0}
.kb-btn:hover{background:#000}
.kb-btn--light{background:#fff;color:#222!important;border:1px solid #222}
.kb-btn--light:hover{background:#f3f3f3}
.kb-btn[disabled]{opacity:.45;cursor:not-allowed}
.kb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.kb-grid .kb-full{grid-column:1/-1}
.kb-field label{display:block;font-size:13px;color:#555;margin:0 0 4px}
.kb-field input,.kb-field textarea,.kb-field select{width:100%;border:1px solid #ccc;border-radius:6px;padding:9px 11px;font-size:15px;box-sizing:border-box}
.kb-field .kb-ferr{color:#c00;font-size:12px;margin-top:3px}
.kb-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kb-method{border:1px solid #ddd;border-radius:8px;padding:12px 14px;cursor:pointer;display:flex;gap:10px;align-items:flex-start;background:#fff}
.kb-method input{margin-top:4px}
.kb-method.is-on{border-color:#222;box-shadow:0 0 0 1px #222}
.kb-method b{display:block;font-size:15px}
.kb-method span{display:block;font-size:13px;color:#666}
.kb-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin:14px 0}
.kb-consent input{margin-top:3px;width:18px;height:18px;flex:0 0 18px}
.kb-table{width:100%;border-collapse:collapse;font-size:14px}
.kb-table th,.kb-table td{border-bottom:1px solid #eee;padding:8px 6px;text-align:left;vertical-align:middle}
.kb-table td.r,.kb-table th.r{text-align:right;white-space:nowrap}
.kb-table img{width:56px;height:56px;object-fit:contain}
.kb-wrap .kb-status{display:inline-block;border-radius:20px;padding:3px 12px;font-size:13px;background:#eee}
.kb-wrap .kb-status--paid,.kb-wrap .kb-status--received{background:#dff3e4;color:#16632c}
.kb-wrap .kb-status--wait_payment{background:#fff1d6;color:#8a5a00}
.kb-wrap .kb-status--cancelled{background:#fde3e3;color:#a11}
.kb-logos{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kb-logos .kb-logo{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:6px;padding:4px 8px;height:36px;box-sizing:border-box}
.kb-logos .kb-logo img{height:26px!important;width:auto!important;max-width:none!important;display:block}
.kb-logos--big .kb-logo{height:52px;padding:6px 12px;border:1px solid #eee}
.kb-logos--big .kb-logo img{height:38px!important}
.kb-seller{font-size:13px;line-height:1.6}
.kb-drop{border:2px dashed #ccc;border-radius:8px;padding:14px;text-align:center;font-size:14px;color:#555;cursor:pointer}
.kb-drop.is-busy{opacity:.6}
.kb-order-head{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;justify-content:space-between}
@media (max-width:767px){.kb-grid,.kb-methods{grid-template-columns:1fr}.kb-table img{width:40px;height:40px}.kb-logos .kb-logo{height:30px}.kb-logos .kb-logo img{height:20px!important}}

/* KB p6: width/height attrs keep natural sizing */
:where(img[data-kbwh]){height:auto}

/* KB p6: first-screen video fills the whole banner in every browser (Firefox, Safari) */
.module-slider-1091 .main-slider .swiper-wrapper,
.module-slider-1091 .main-slider .swiper-slide,
.module-slider-1091 .main-slider .slide-content-video{height:100% !important}
.module-slider-1091 .main-slider .slide-content-video{align-self:stretch}
.module-slider-1091 .main-slider .slide-content-video>video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}

/* пакет 14, ч. 1: слайдеры похожих товаров на телефоне — 2 карточки и край третьей */
@media (max-width: 767px) {
  .product-horizontal-swiper .swiper-slide, .product-horizontal-swiper-related .swiper-slide,
  .swiper-recommended-products .swiper-slide, .watched-swiper .swiper-slide { min-width: 0; }
  .product-horizontal-swiper .catalog-block__info-title, .product-horizontal-swiper-related .catalog-block__info-title,
  .swiper-recommended-products .catalog-block__info-title, .watched-swiper .catalog-block__info-title {
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    word-break: normal; overflow-wrap: break-word; hyphens: none; max-height: none; }
  .product-horizontal-swiper .catalog-block__info-title a, .product-horizontal-swiper-related .catalog-block__info-title a,
  .swiper-recommended-products .catalog-block__info-title a, .watched-swiper .catalog-block__info-title a { word-break: normal; }
  .product-horizontal-swiper .buttons, .product-horizontal-swiper-related .buttons, .swiper-recommended-products .buttons,
  .product-horizontal-swiper .btn-actions__primary-button, .product-horizontal-swiper-related .btn-actions__primary-button,
  .swiper-recommended-products .btn-actions__primary-button, .product-horizontal-swiper .line-block__item,
  .product-horizontal-swiper-related .line-block__item, .swiper-recommended-products .line-block__item { width: 100%; }
  .product-horizontal-swiper .btn, .product-horizontal-swiper-related .btn, .swiper-recommended-products .btn {
    width: 100%; padding-left: 6px; padding-right: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-horizontal-swiper .price__new-val, .product-horizontal-swiper-related .price__new-val,
  .swiper-recommended-products .price__new-val { white-space: nowrap; }
}
/* пакет 14, ч. 2: компактная плашка про куки — полоса внизу поверх страницы */
.cookie-notification { padding: 10px 16px !important; max-height: 90px; overflow: hidden; }
.cookie-notification-content { flex-direction: row !important; text-align: left !important; align-items: center !important;
  justify-content: space-between; gap: 12px !important; max-width: 1200px; }
.cookie-notification .cookie-text { font-size: 14px !important; line-height: 1.35; margin: 0; }
.cookie-notification .cookie-text a { font-weight: 500; color: #000; text-decoration: underline; }
.cookie-notification-content .btn { width: auto !important; flex: 0 0 auto; min-height: 44px; min-width: 110px; padding: 0 18px;
  background: #111 !important; color: #fff !important; border: none; border-radius: 4px; font-size: 14px; }
/* пакет 14, ч. 5: кнопки вместо ссылок без адреса */
button.kb-btn-reset { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
.tabs .nav-tabs li > button.kb-tab-btn { border: 0; font-family: inherit; width: 100%; white-space: nowrap; }
.tabs .nav-tabs li.active > button.kb-tab-btn, .tabs .nav-tabs li.active > button.kb-tab-btn:hover {
  background-color: var(--theme-base-color); color: var(--button_color_text); cursor: default; }
/* контраст серого текста: не светлее #6b6b6b */
body { --secondary: var(--light, #6b6b6b) var(--dark, #A1A1A7); }
.breadcrumbs__link, .breadcrumbs__item-name, .breadcrumbs__item { color: #5f5f5f; }
/* область нажатия иконок шапки на телефоне — 44×44 */
@media (max-width: 991px) {
  .mobileheader .header-search__mobile,
  .mobileheader [data-ajax-load-block="HEADER_MOBILE_TOGGLE_PHONE"] a.icon-block__only-icon,
  .mobileheader [data-ajax-load-block="HEADER_MOBILE_TOGGLE_PERSONAL"] .header-cabinet__link,
  .mobileheader [data-ajax-load-block="HEADER_MOBILE_TOGGLE_FAVORITE"] a,
  .mobileheader [data-ajax-load-block="HEADER_MOBILE_TOGGLE_CART"] a {
    display: inline-flex !important; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; margin: -12px; box-sizing: border-box; }
}

/* пакет 15: тексты разделов — подзаголовки H2 */
.kb-seo-text h2 { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 32px 0 12px; }
.kb-seo-text h2:first-child { margin-top: 0; }
.kb-seo-text p { margin: 0 0 14px; }
.kb-seo-text a, .kb-seo-intro a, .kb-faq a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { .kb-seo-text h2 { font-size: 19px; margin-top: 26px; } .kb-see-also a { padding: 10px 16px !important; font-size: 14px !important; } }
