/* ANDPRO fix draft (Main 23.11): список брендов /info/brands/ — cookie-панель снизу, как везде (было sticky сверху над шапкой) */
@media (max-width:767px){html.ap-wave-a-v1:has(link.ap-journal-brand-directory) body > #andpro-consent:not([hidden], .andpro-consent--inline){position:fixed !important;inset:auto 0 0 !important}}
/* ANDPRO fix draft (Main 23.11): резерв под cookie-панель — внутри подвала, а не серой полосой под ним */
body:has(#andpro-consent:not([hidden], .andpro-consent--inline)){padding-bottom:0 !important}
body:has(#andpro-consent:not([hidden], .andpro-consent--inline)) footer:is(.ds-footer,.nwfooter){padding-bottom:calc(var(--ap-consent-h,160px) + 16px) !important}
@media (min-width:431px){body:has(#andpro-consent:not([hidden], .andpro-consent--inline)) footer:is(.ds-footer,.nwfooter){padding-bottom:calc(var(--ap-consent-h,100px) + 16px) !important}}
/* ANDPRO fix draft (Main 23.11): cookie-панель в блоге на телефоне — поля 12/16/16, как на остальном сайте.
   Причина: andpro-consent.css @≤768 «html.ap-wave-a-v1:has(link[rel=canonical][href^=".../blog/"]) body #andpro-consent {padding:0 !important}».
   Правильнее удалить это правило в andpro-consent.css; ниже — переопределение того же эффекта. */
@media (max-width:768px){html body #andpro-consent#andpro-consent.ds-cookie:not([hidden], .andpro-consent--inline){padding:12px 16px calc(16px + env(safe-area-inset-bottom)) !important;box-sizing:border-box}}
/* ANDPRO fix draft (Main 23.11): «Политика конфиденциальности» в подвале — по одной линии с © и «Настройки cookie» */
html body footer a.nwfooter-bottom__link{margin-left:0 !important}
/* ANDPRO fix draft (Main 23.11): длинный артикул в H1 не вылезает за шапку-карточку на телефоне
   (Partner Tech «SP-635MSR4GBSDDWIN10»: H1 410 px при карточке 361 px — элемент сетки с min-width:auto) */
html body main .content-block__head h1.ds-h1{min-width:0 !important;max-width:100% !important;overflow-wrap:anywhere !important}
html body .ap-m3-native-list .ap-m3-secondary-specs > div{align-items:baseline !important}html body .ap-m3-native-list .ap-m3-secondary-specs dd{font-size:13px !important;line-height:18.2px !important}
html body .ds-h2::before,html body #main-content[data-ap-ds-content] > .ds-container h2::before{width:22px;flex:none}
@media (max-width:767px){html body section.andpro-registry.ap-harmony-section{border:0 !important;padding:0 !important;background:transparent !important}}
html body .ap-delivery-hero.ds-hero{padding-left:24px !important;padding-right:24px !important}@media (min-width:768px){html body .ap-delivery-hero.ds-hero{padding-left:32px !important;padding-right:32px !important}}@media (min-width:1200px){html body .ap-delivery-hero.ds-hero{padding-left:48px !important;padding-right:48px !important}}
html body main#main-content#main-content{--journal-ink:#14121f !important}html body #h1_block > h1#pagetitle#pagetitle#pagetitle{color:#14121f !important}
html body .footer-subscribe__title strong{color:#14121f !important}html body .footer-subscribe__legal{color:#5b5f78 !important}html body p.nwfooter-main__text a{display:inline !important;min-height:0 !important;vertical-align:baseline !important;padding:12px 0 !important;margin:0 !important}
html body section.ap-stock-alternatives{background:#efeef7 !important;border-color:#e3e2ef !important;border-radius:16px !important}html body .ap-stock-alternatives .ap-stock-alternatives__title{color:#14121f !important}html body .ap-stock-alternatives a.ap-stock-alternatives__link{color:#3538a0 !important}html body .ap-stock-alternatives button.ap-stock-alternatives__cta{background:#f6c744 !important;border-color:#f6c744 !important;color:#14121f !important}
@media (max-height:500px) and (orientation:landscape){html body #andpro-consent#andpro-consent.ds-cookie:not([hidden],.andpro-consent--inline){display:flex !important;flex-wrap:nowrap !important;align-items:center !important;gap:12px !important;padding:8px max(16px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)) !important}html body #andpro-consent#andpro-consent .andpro-consent__text{margin:0 !important;font-size:13px !important;line-height:1.35 !important;flex:1 1 auto !important;min-width:0 !important}html body #andpro-consent#andpro-consent .andpro-consent__actions{display:grid !important;grid-auto-flow:column !important;grid-template-columns:none !important;width:auto !important;flex:0 0 auto !important;gap:8px !important;margin:0 !important}html body #andpro-consent#andpro-consent .andpro-consent__button{width:auto !important;min-height:40px !important;padding:0 14px !important;white-space:nowrap !important;margin:0 !important}}
@media (max-height:500px) and (orientation:landscape){html body header.ds-header.is-compact .header__search-block{display:none !important}}
@media (max-width:767px){html body section.andpro-company.ap-harmony-section{border:0 !important;padding:0 !important;background:transparent !important}html body section.andpro-company .ap-single__hero-body.ds-hero{margin-left:0 !important;margin-right:0 !important;padding-left:24px !important;padding-right:24px !important}}
html body .catalog-sort .catalog-sort__drop{border:1px solid #e3e2ef !important;box-shadow:0 12px 32px rgba(20,18,31,.16) !important;border-radius:14px !important;min-width:260px !important}
html body .itempage-dopitem__sliderdop .catalog-card .card-stock{display:inline-flex !important;align-items:center !important;width:auto !important;max-width:100% !important;align-self:flex-start !important;justify-self:start !important}
html body .ap-payment-trust-strip{display:flex !important;flex-wrap:wrap !important;gap:8px !important;margin:10px 0 14px !important}
html body .ap-payment-trust-strip span{display:inline-flex !important;align-items:center !important;min-height:30px !important;padding:4px 11px !important;border-radius:999px !important;background:color-mix(in srgb,var(--ap-violet,#5850b8) 10%,transparent) !important;color:var(--andpro-blue-deep,#2e3192) !important;font-size:12.5px !important;font-weight:600 !important;white-space:normal !important}
html body .ap-payment-trust-strip span.--ok{background:rgba(15,110,86,.12) !important;color:#0f6e56 !important}
html body .ap-help-grid{display:grid !important;grid-template-columns:1fr !important;gap:12px !important;margin:16px 0 24px !important}
@media (min-width:768px){html body .ap-help-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important}}
@media (min-width:1200px){html body .ap-help-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
html body .ap-help-grid .ap-help-card{display:flex !important;flex-direction:column !important;gap:8px !important;min-width:0 !important;background:#fff !important;border:1px solid #dfe3f1 !important;border-radius:20px !important;padding:20px !important;transition:border-color .2s,box-shadow .2s}
html body .ap-help-grid .ap-help-card:hover{border-color:#5850b8 !important;box-shadow:0 12px 32px rgba(20,18,31,.08) !important}
html body .ap-help-grid .ap-help-card h3{margin:0 !important;font-size:18px !important;line-height:1.3 !important;color:#14121f !important}
html body .ap-help-grid .ap-help-card p{margin:0 !important;color:#4a4860 !important;font-size:15px !important;line-height:1.5 !important;flex:1 1 auto}
html body .ap-help-grid .ap-help-card a{margin-top:4px !important;font-weight:600 !important;color:#3538a0 !important;text-decoration:none !important}
html body .ap-help-grid .ap-help-card a:hover{text-decoration:underline !important}
html body .gx-toc a > span:first-child{flex:0 0 auto !important;min-width:20px !important;white-space:nowrap !important}
html body :is(.ap-warranty-trust-strip,.ap-return-trust-strip){display:flex !important;flex-wrap:wrap !important;gap:8px !important;margin:10px 0 14px !important}
html body :is(.ap-warranty-trust-strip,.ap-return-trust-strip) span{display:inline-flex !important;align-items:center !important;min-height:30px !important;padding:4px 11px !important;border-radius:999px !important;background:color-mix(in srgb,var(--ap-violet,#5850b8) 10%,transparent) !important;color:var(--andpro-blue-deep,#2e3192) !important;font-size:12.5px !important;font-weight:600 !important;white-space:normal !important}
html body :is(.ap-warranty-trust-strip,.ap-return-trust-strip) span.--ok{background:rgba(15,110,86,.12) !important;color:#0f6e56 !important}
html body .overlay[class*="form-"]{background:rgba(20,18,31,.55) !important}
html body .nwheader-form .nwheader-form__title{color:#14121f !important}
html body .andpro-invoice-fields .form-label,html body .andpro-invoice-form .form-label{text-align:left !important;font-size:13px !important;color:#4a4860 !important}
html body .andpro-invoice-fields > :not(input):not(textarea):not(select){text-align:left !important}
@media (min-width:768px){html body section.andpro-company.ap-harmony-section{padding-top:0 !important}}
@media (min-width:480px) and (max-width:1023px){html:root body .contacts-hero p.contacts-hero__title:not(#ap-v3):not(#ap-v3x){font-size:22px !important;line-height:1.4 !important}}
html body .ap-check-grid{display:grid !important;grid-template-columns:1fr !important;gap:12px !important;margin:12px 0 16px !important}
@media (min-width:768px){html body .ap-check-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
html body .ap-check-grid .ap-check-card{display:flex !important;flex-direction:column !important;gap:6px !important;min-width:0 !important;background:#fff !important;border:1px solid #dfe3f1 !important;border-radius:16px !important;padding:16px 18px !important}
html body .ap-check-grid .ap-check-card strong{display:block !important;font-size:13px !important;letter-spacing:.04em !important;text-transform:uppercase !important;color:#5850b8 !important}
html body .ap-check-grid .ap-check-card a{font-weight:600 !important;color:#3538a0 !important}
@media (min-width:480px){html body footer .nwfooter-bottom__row > a.nwfooter-bottom__link{margin-top:0 !important}}
html body .catalog-card .card-btn.--buy.form{font-size:13px !important;line-height:1.15 !important;padding-left:10px !important;padding-right:10px !important;white-space:normal !important;text-align:center !important}
@media (max-width:359px){html body .catalog-card .card-footer:has(.card-btn.--buy.form){flex-wrap:wrap !important;gap:8px !important}html body .catalog-card .card-footer .card-btn.--buy.form{flex:1 1 100% !important;width:100% !important;order:-1 !important}}
html body .ap-pricebox-stock .card-stock:has(.ap-wave-b-sold-cta){display:inline-flex !important;align-items:center !important;flex-wrap:wrap !important;gap:4px 8px !important;width:auto !important;max-width:100% !important;background:#fdecee !important;color:#9b1c31 !important;padding:6px 12px !important;border-radius:999px !important;-webkit-line-clamp:unset !important}
html body .ap-pricebox-stock .card-stock .ap-wave-b-sold-cta{background:transparent !important;color:#3538a0 !important;border:0 !important;box-shadow:none !important;min-height:0 !important;height:auto !important;padding:0 !important;font-size:13px !important;font-weight:600 !important;text-decoration:underline !important;text-underline-offset:2px !important}
html body .ap-pricebox-stock:has(.ap-wave-b-sold-cta){display:block !important}
html body .ap-pricebox-stock .last-available{display:block !important;margin-top:8px !important}
html body .ap-article-meta{display:flex !important;flex-wrap:wrap !important;gap:4px 16px !important;font-size:13px !important;line-height:1.5 !important;color:#5b5f78 !important;margin:8px 0 !important}
html body .ap-author-grid .ap-author-grid__title{font-size:12px !important;line-height:1.4 !important;font-weight:700 !important;letter-spacing:.08em !important;text-transform:uppercase !important;color:#5850b8 !important;margin-bottom:6px !important}
html body .catalog-card .card-stock.--yes{padding-left:24px !important}html body .catalog-card .card-stock.--yes::before{left:8px !important}
html body .ap-pdp-product-badges{display:flex !important;flex-wrap:wrap !important;gap:8px !important;margin:8px 0 !important}
html body .ap-pdp-traceability{display:inline-flex !important;text-decoration:none !important;max-width:100% !important}
html body .ap-pdp-traceability__chip{display:inline-flex !important;align-items:center !important;gap:10px !important;padding:8px 14px 8px 10px !important;border:1px solid #dfe3f1 !important;border-radius:14px !important;background:#f5f4fb !important}
html body .ap-pdp-traceability:hover .ap-pdp-traceability__chip{border-color:#5850b8 !important}
html body .ap-pdp-traceability__icon{display:block !important;width:32px !important;height:32px !important;flex:none !important}
html body .ap-pdp-traceability__copy{display:flex !important;flex-direction:column !important;min-width:0 !important;line-height:1.25 !important}
html body .ap-pdp-traceability__title{font-size:14px !important;font-weight:700 !important;color:#14121f !important}
html body .ap-pdp-traceability__subtitle{font-size:12px !important;color:#5b5f78 !important}
html body .ap-meta:has(.ap-case-tag){display:flex !important;flex-wrap:wrap !important;gap:6px !important}
html body .ap-case-tag{display:inline-flex !important;align-items:center !important;min-height:26px !important;padding:3px 10px !important;border-radius:999px !important;background:color-mix(in srgb,#5850b8 10%,transparent) !important;color:#2e3192 !important;font-size:12.5px !important;font-weight:600 !important}
html body .ap-info-grid .ap-info-row{display:flex !important;flex-direction:column !important;gap:4px !important;padding:12px 0 !important;border-bottom:1px solid #e3e2ef !important}
html body .ap-info-grid .ap-info-row:last-child{border-bottom:0 !important}
html body .ap-info-grid .ap-info-row > strong{color:#14121f !important}
html body .ap-info-grid .ap-info-row > span{color:#4a4860 !important}
html body .ap-steps-grid{display:grid !important;grid-template-columns:1fr !important;gap:12px !important}
@media (min-width:768px){html body .ap-steps-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important}}
@media (min-width:1200px){html body .ap-steps-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}
html body .ap-steps-grid > .ap-card{min-width:0 !important;background:#fff !important;border:1px solid #dfe3f1 !important;border-radius:20px !important;padding:20px !important;margin:0 !important}
html body p.ap-public-requisites:not(:has(.ap-public-requisite-item)){display:block !important;line-height:1.6 !important}html body p.ap-public-requisites:not(:has(.ap-public-requisite-item)) br{display:inline !important}

html body #main-content .ap-faq-item > summary::after{margin-top:0 !important}
html body a[x-apple-data-detectors]{color:inherit !important;text-decoration:none !important;pointer-events:none !important;cursor:default !important;font:inherit !important}
html body .itempage-dopitem:not(:has(a[href*="/catalog/"])){display:none !important}
html body .ap-bonus__actions{display:flex !important;flex-wrap:wrap !important;gap:12px !important;margin-top:20px !important}@media (max-width:767px){html body .ap-bonus__actions > .ap-action{flex:1 1 100% !important}}html body .ap-delivery-hero__main:has(.ap-bonus__actions) > .ap-single__title-slot{margin-bottom:16px !important}
html body .ap-journal-certificate-media{justify-items:center !important}html body .ap-journal-certificate-media img{width:auto !important;max-width:100% !important;height:auto !important;max-height:min(80vh,900px) !important;object-fit:contain !important}
html body .ap-staff-module a[href^="tel:"]::before{content:"\260E\FE0E" !important;font-family:Inter,Arial,sans-serif !important}html body .ap-staff-module a[href^="mailto:"]::before{content:"\2709\FE0E" !important;font-family:Inter,Arial,sans-serif !important}
html body .ap-case-card{padding:20px !important;border-radius:20px !important}html body .ap-case-card > h3{margin-top:0 !important}html body .ap-case-card > .ap-meta{border:0 !important;padding:0 !important;background:none !important;margin:8px 0 12px !important}@media (max-width:767px){html body .ap-case-card{padding:16px !important}}
html body :is(.ap-service-summary-card,.ap-service-contact-card,.ap-jbod-summary-card,.ap-jbod-contact-card,.ap-itselect-summary-card,.ap-itselect-contact-card,.ap-minipc-summary-card,.ap-minipc-contact-card,.ap-aio-summary-card,.ap-aio-contact-card,.ap-pcbuild-summary-card,.ap-pcbuild-contact-card,.ap-nas-summary-card,.ap-nas-contact-card){border:1px solid var(--andpro-border) !important;border-radius:14px !important;background:var(--andpro-white) !important;box-shadow:0 14px 34px color-mix(in srgb,var(--ap-navy) 6%,transparent) !important;position:relative !important;min-width:0 !important;padding:18px !important}html body :is(.ap-service-summary-card,.ap-service-contact-card,.ap-jbod-summary-card,.ap-jbod-contact-card,.ap-itselect-summary-card,.ap-itselect-contact-card,.ap-minipc-summary-card,.ap-minipc-contact-card,.ap-aio-summary-card,.ap-aio-contact-card,.ap-pcbuild-summary-card,.ap-pcbuild-contact-card,.ap-nas-summary-card,.ap-nas-contact-card)::before{content:"" !important;display:block !important;width:36px !important;height:3px !important;margin:0 0 12px !important;border-radius:999px !important;background:linear-gradient(90deg,var(--andpro-violet),var(--andpro-yellow)) !important}html body :is(.ap-service-summary-grid,.ap-service-contact-grid,.ap-jbod-summary-grid,.ap-jbod-contact-grid,.ap-itselect-summary-grid,.ap-itselect-contact-grid,.ap-minipc-summary-grid,.ap-minipc-contact-grid,.ap-aio-summary-grid,.ap-aio-contact-grid,.ap-pcbuild-summary-grid,.ap-pcbuild-contact-grid,.ap-nas-summary-grid,.ap-nas-contact-grid){display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:14px !important;margin:18px 0 24px !important}html body :is(.ap-service-summary-card strong,.ap-service-contact-card strong,.ap-jbod-summary-card strong,.ap-jbod-contact-card strong,.ap-itselect-summary-card strong,.ap-itselect-contact-card strong,.ap-minipc-summary-card strong,.ap-minipc-contact-card strong,.ap-aio-summary-card strong,.ap-aio-contact-card strong,.ap-pcbuild-summary-card strong,.ap-pcbuild-contact-card strong,.ap-nas-summary-card strong,.ap-nas-contact-card strong){display:block !important;margin:0 0 8px !important;font-size:16px !important;line-height:1.35 !important;font-weight:800 !important;color:var(--andpro-blue-deep) !important}html body :is(.ap-service-summary-card span,.ap-service-contact-card span,.ap-jbod-summary-card span,.ap-jbod-contact-card span,.ap-itselect-summary-card span,.ap-itselect-contact-card span,.ap-minipc-summary-card span,.ap-minipc-contact-card span,.ap-aio-summary-card span,.ap-aio-contact-card span,.ap-pcbuild-summary-card span,.ap-pcbuild-contact-card span,.ap-nas-summary-card span,.ap-nas-contact-card span){display:block !important;margin:0 !important;color:var(--andpro-muted) !important;font-size:15px !important;line-height:1.58 !important}html body :is(.ap-service-badge,.ap-jbod-badge,.ap-itselect-badge,.ap-minipc-badge,.ap-aio-badge,.ap-pcbuild-badge,.ap-nas-badge){display:inline-flex !important;align-items:center !important;max-width:100% !important;margin:0 0 20px !important;padding:6px 16px !important;border:1px solid var(--andpro-border) !important;border-radius:999px !important;background:#fff !important;color:var(--andpro-blue-dark) !important;font-size:14px !important;line-height:1.3 !important;font-weight:800 !important}html body :is(.ap-service-lead,.ap-jbod-lead,.ap-itselect-lead,.ap-minipc-lead,.ap-aio-lead,.ap-pcbuild-lead,.ap-nas-lead){max-width:940px !important;margin:0 0 20px !important;font-size:clamp(16px,1.45vw,19px) !important;line-height:1.68 !important;color:var(--andpro-text) !important}html body :is(.ap-service-side-block,.ap-jbod-side-block,.ap-itselect-side-block,.ap-minipc-side-block,.ap-aio-side-block,.ap-pcbuild-side-block,.ap-nas-side-block){padding:0 0 18px !important;margin:0 0 18px !important;border-bottom:1px solid #eceef6 !important}html body :is(.ap-service-side-block:last-child,.ap-jbod-side-block:last-child,.ap-itselect-side-block:last-child,.ap-minipc-side-block:last-child,.ap-aio-side-block:last-child,.ap-pcbuild-side-block:last-child,.ap-nas-side-block:last-child){padding-bottom:0 !important;margin-bottom:0 !important;border-bottom:0 !important}html body :is(.ap-service-side-title,.ap-jbod-side-title,.ap-itselect-side-title,.ap-minipc-side-title,.ap-aio-side-title,.ap-pcbuild-side-title,.ap-nas-side-title){display:block !important;margin:0 0 7px !important;font-size:16px !important;line-height:1.35 !important;font-weight:800 !important;color:var(--andpro-text) !important}html body :is(.ap-service-side-text,.ap-jbod-side-text,.ap-itselect-side-text,.ap-minipc-side-text,.ap-aio-side-text,.ap-pcbuild-side-text,.ap-nas-side-text){display:block !important;color:var(--andpro-text) !important;font-size:16px !important;line-height:1.55 !important}html body :is(.ap-service-grid,.ap-jbod-grid,.ap-itselect-grid,.ap-minipc-grid,.ap-aio-grid,.ap-pcbuild-grid,.ap-nas-grid){display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:14px !important;margin:18px 0 24px !important}@media (max-width:760px){html body :is(.ap-service-summary-grid,.ap-service-contact-grid,.ap-service-grid,.ap-jbod-summary-grid,.ap-jbod-contact-grid,.ap-jbod-grid,.ap-itselect-summary-grid,.ap-itselect-contact-grid,.ap-itselect-grid,.ap-minipc-summary-grid,.ap-minipc-contact-grid,.ap-minipc-grid,.ap-aio-summary-grid,.ap-aio-contact-grid,.ap-aio-grid,.ap-pcbuild-summary-grid,.ap-pcbuild-contact-grid,.ap-pcbuild-grid,.ap-nas-summary-grid,.ap-nas-contact-grid,.ap-nas-grid){grid-template-columns:1fr !important}html body :is(.ap-service-summary-card,.ap-service-contact-card,.ap-jbod-summary-card,.ap-jbod-contact-card,.ap-itselect-summary-card,.ap-itselect-contact-card,.ap-minipc-summary-card,.ap-minipc-contact-card,.ap-aio-summary-card,.ap-aio-contact-card,.ap-pcbuild-summary-card,.ap-pcbuild-contact-card,.ap-nas-summary-card,.ap-nas-contact-card){padding:16px !important}html body :is(.ap-service-badge,.ap-jbod-badge,.ap-itselect-badge,.ap-minipc-badge,.ap-aio-badge,.ap-pcbuild-badge,.ap-nas-badge){font-size:13px !important;padding:6px 13px !important}html body :is(.ap-service-lead,.ap-jbod-lead,.ap-itselect-lead,.ap-minipc-lead,.ap-aio-lead,.ap-pcbuild-lead,.ap-nas-lead){font-size:16px !important;line-height:1.6 !important}}
html body .andpro-skip-link:not(:focus){opacity:0 !important;pointer-events:none !important}html body .andpro-skip-link:focus{opacity:1 !important}
@media (max-width:767px){html body main h1,html body .ds-h1{hyphens:auto !important;-webkit-hyphens:auto !important;hyphenate-limit-chars:14 6 6 !important}}
html body .ap-services-toc + section.ap-harmony-section{margin-top:32px !important}
@media (max-width:1199px){html body .ds-serp__chips{flex-wrap:nowrap !important;overflow-x:auto !important;scrollbar-width:none !important;-webkit-overflow-scrolling:touch !important;padding-bottom:4px !important}html body .ds-serp__chips::-webkit-scrollbar{display:none !important}html body .ds-serp__chips > .ds-chip{flex:0 0 auto !important}}
html body .ap-empty-v3__title::before{display:block !important;margin:0 auto 12px !important}
html body .content-block__head + section.ds-hero{margin-top:20px !important}
/* Д96: блог-рубрика — «Связанные разделы» прилип к списку ссылок (h2 margin-bottom 0) */
html body .ap-blog-rubric-v3__related > .ap-blog-rubric-v3__heading{margin-bottom:16px !important}
html body .ap-blog-rubric-v3__related > ul > li + li{margin-top:6px}

/* Д98: «Похожие и сопутствующие» в карточке товара — карточки слайдера одной высоты, но цена/«Купить» скачут на 14–22px из-за разной длины названия. Прижать нижний блок к низу. */
html body .itempage-dopitem__sliderdop .catalog-card{display:flex !important;flex-direction:column !important}
html body .itempage-dopitem__sliderdop .catalog-card > .catalog-card__block{margin-top:auto !important}

/* Д101: .gx-kicker («— ГИД РАЗДЕЛА · …») на узких экранах переносится в 2 строки: line-height = font-size (13/13), строки слипаются, 2-я строка уходит под жёлтую черту. Только ≤767px: флекс — черта отдельно, текст переносится с отступом; межстрочный 1.45. Десктоп не трогаем (там 1 строка). */
@media (max-width:767px){
html body .gx-kicker{display:flex !important;align-items:flex-start !important;line-height:1.45 !important}
html body .gx-kicker::before{flex:0 0 auto !important;margin-top:calc(0.725em - 1.5px) !important}
}

/* Д103: карточка «Продано» на телефоне — «Подобрать замену» (a.ds-btn--primary) по ширине текста (200px), а «Сообщить о поступлении» и «Счёт для юрлиц» на всю ширину (297px): кнопки разной ширины друг под другом. Только ≤767px (на десктопе они стоят в ряд — не трогаем). */
@media (max-width:767px){
html body .itempage-content__buyblock > a.ds-btn.ds-btn--primary{flex:1 1 100% !important;width:100% !important;justify-content:center !important;margin-left:0 !important;margin-right:0 !important}
html body .itempage-content__buyblock > a.ds-btn.ds-btn--primary ~ .card-btn{flex:1 1 100% !important;width:100% !important;margin-left:0 !important;margin-right:0 !important}
}

/* Д106: на странице сравнения не показывать плавающую плашку «Сравнить N · Очистить» — она ведёт на эту же страницу */
html body:has(.compare-container) .andpro-compare-bar{display:none !important}

/* Д108: ровно на 1024px шапка ещё мобильная (поле во всю ширину), а панель подсказок уже десктопная (640px справа) — стык брейкпоинтов max-width:1024 / min-width:1024. Выравниваем панель по полю. */
@media (width:1024px){html body [data-ap-search-form] > .ap-search-popup{inset-inline:0 !important;inline-size:auto !important;min-inline-size:0 !important;max-inline-size:none !important}}
/* Д109: на сенсорных экранах без мыши подсказка «↑ ↓ выбрать · Enter открыть · Esc закрыть» бесполезна; «Все результаты →» остаётся. */
@media (hover:none) and (pointer:coarse){html body .ap-search-popup .ap-search-popup__keys{display:none !important}}

/* Д110: форма «Счёт для юрлиц» (карточка товара) — absolute внутри липкой шапки, высота 100vh-48px от отступа шапки → низ формы с кнопкой «Отправить» уходит за экран (iPhone 852: на 32px, 659: на 128px, SE 667: на 142px) даже после прокрутки. Делаем как у формы «Перезвонить» (fid=1): фиксированное окно в пределах экрана, прокрутка внутри; крестик 45px. */
html body .nwheader-form .form-main.andpro-invoice-form.--show{position:fixed !important;left:50% !important;top:12px !important;bottom:auto !important;transform:translateX(-50%) !important;box-sizing:border-box !important;width:min(500px,calc(100vw - 24px)) !important;max-height:calc(100vh - 24px) !important;max-height:calc(100dvh - 24px) !important;height:auto !important;overflow:hidden !important;z-index:1992 !important}
html body .nwheader-form .form-main.andpro-invoice-form .form-dialog__container{box-sizing:border-box !important;max-height:calc(100vh - 24px) !important;max-height:calc(100dvh - 24px) !important;height:auto !important;overflow-y:auto !important;overscroll-behavior:contain}
html body .nwheader-form .form-main.andpro-invoice-form .nwheader-form__close{width:45px !important;height:45px !important;box-sizing:border-box !important;background-position:center !important}
@media (min-width:768px){html body .nwheader-form .form-main.andpro-invoice-form.--show{top:56px !important;max-height:calc(100vh - 80px) !important;max-height:calc(100dvh - 80px) !important}html body .nwheader-form .form-main.andpro-invoice-form .form-dialog__container{max-height:calc(100vh - 80px) !important;max-height:calc(100dvh - 80px) !important}}

/* Печать: контентные страницы (/help/…) печатались «как экран» — жёлтые/синие кнопки .ap-action на листе. Прячем кнопки; ссылку-телефон оставляем обычным текстом. */
@media print{html body .ap-action{display:none !important}html body a.ap-action[href^="tel:"]{display:inline !important;background:none !important;border:0 !important;padding:0 !important;min-height:0 !important;box-shadow:none !important;color:#000 !important;font-weight:600 !important}html body .ap-actions:not(:has(a[href^="tel:"])){display:none !important}}

/* Печать, шаг 2: на /company/, /help/return/ и страницах услуг в печать попадали кнопки .ds-btn и «Запросить подбор» в боковой колонке. Прячем; ссылки tel:/mailto: оставляем текстом. */
@media print{html body .ds-btn:not([href^="tel:"]):not([href^="mailto:"]){display:none !important}html body a.ds-btn[href^="tel:"],html body a.ds-btn[href^="mailto:"]{display:inline !important;background:none !important;border:0 !important;padding:0 !important;min-height:0 !important;box-shadow:none !important;color:#000 !important;font-weight:600 !important;margin-right:16px !important}html body .article-side__button{display:none !important}}

/* Д114: поиск, вид «Списком» (≥1024): фото товара сжато до 20×30px (сетка ссылки-обёртки 20px, проценты считаются от неё) в ячейке 56×56; на ≥1280 под название 379px при пустой колонке наличия 188px → названия обрезаны. Фото — 56×56, название забирает свободное место. */
@media (min-width:1024px){html body #main-content .ds-serp__items.--row .catalog-card__link-photo{align-self:center !important;overflow:hidden !important}html body #main-content .ds-serp__items.--row .catalog-card__link-photo > .catalog-card__photo{width:56px !important;height:56px !important;max-width:none !important;object-fit:contain !important}}
@media (min-width:1280px){html body #main-content [data-ap-search-results] .ds-serp__items.--row > .catalog-card,html body #main-content .ds-serp__items.--row > .catalog-card{grid-template-columns:56px minmax(0,1fr) 150px 120px 125px 263px 44px !important}}

/* Д116: длинное слово в H1 (статья блога «…отказоустойчивость», 36px) вылезает за плашку на 320–393: hyphens:auto без словаря переносов в браузере + overflow-wrap:normal. Страховка: ломать слово только когда оно не помещается. */
html body h1#pagetitle#pagetitle,html body #h1_block > h1#pagetitle,html body h1.ds-h1{overflow-wrap:break-word !important}

/* Д117: сравнение — compare.min.js задаёт .compare-items/.compare-table инлайн-ширину один раз при загрузке (нет пересчёта на resize/поворот); при повороте iPad альбом→портрет страница становится шире экрана (1180→820: 940px). Делаем колонку сравнения контейнером прокрутки: лишняя ширина прокручивается внутри блока, а не всей страницей. */
html body .compare-colbox{min-width:0 !important;max-width:100% !important;overflow-x:auto !important;overscroll-behavior-x:contain}
html body .compare-colbox > .compare-container{min-width:0 !important}

/* Д118: контрастный режим Windows (forced-colors): у модальных форм (счёт, перезвонить, прайс-алерт, поступление) тень убирается системой, а рамки нет — края окна сливаются со страницей. Рамка системным цветом только в этом режиме. */
@media (forced-colors:active){html body .nwheader-form .form-main.--show,html body .ds-modal__box.--show,html body [role=dialog][aria-modal=true]{border:2px solid CanvasText !important}}
/* Д120: при низком окне (масштаб 400%, телефон в альбомной) липкая шапка + полоса покупки закрывали >50% экрана — шапка перестаёт быть липкой */
@media (max-height: 420px){html body header.ap-wave-a-header{position:relative !important;top:auto !important}}
/* Д121: у вторичных кнопок нет отклика на наведение, у части cursor:default */
html body .ap-invoice-btn,html body .ap-price-alert-open,html body button.ap-m3-values-more{cursor:pointer !important;transition:background-color .15s ease,border-color .15s ease}
@media (hover:hover){
html body #main-content#main-content .ap-invoice-btn:hover,html body .ap-invoice-btn:hover,html body button.ap-m3-values-more:hover{background-color:rgb(88 80 184 / .08) !important}
html body .ap-price-alert-open:hover{background-color:rgb(239 238 247) !important;border-color:rgb(88 80 184 / .45) !important}
}
/* Д124: на десктопе колонки товаров в сравнении разной ширины (по содержимому), а строки характеристик — равные → значения не под своими товарами */
@media (min-width:1200px){
html body .compare-items{display:grid !important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
html body .compare-items > .compare-item{width:auto !important;min-width:0 !important;max-width:none !important;flex:none !important}
}
/* п.167: мега-меню каталога на десктопе прокручивалось целиком → правая часть уезжала вверх при наведении на нижние разделы. Контейнер = высоте панели, прокручиваются колонки по отдельности */
@media (min-width:1024px){
html body .nwheader-cat.ds-mega > .nwheader-cat__container{height:100%;max-height:100%;box-sizing:border-box;min-height:0}
html body .nwheader-cat.ds-mega .nwheader-cat__col{min-height:0;max-height:100%}
html body .nwheader-cat.ds-mega .nwheader-cat__col.--category > .nwheader-cat__menu{max-height:100%;min-height:0;overscroll-behavior:contain}
html body .nwheader-cat.ds-mega .nwheader-cat__col.--content{overflow-y:auto;overscroll-behavior:contain}
}
/* п.170: ссылки в колонках подвала 17px высотой — на телефоне/планшете тесно для пальца. Увеличиваем область нажатия, не меняя вид текста */
@media (max-width:767px){
html body footer details li > a[href]{display:inline-flex;align-items:center;min-height:40px;padding-block:4px}
}
@media (min-width:768px) and (max-width:1023px){
html body footer details li > a[href]{display:inline-flex;align-items:center;min-height:32px}
}
/* Д126: в SEO-гиде лендингов (.apc-table) ячейки td с чёрной рамкой 1px и текстом по центру (старый общий стиль таблиц), а шапка th — в стиле V3 без рамок и слева. Приводим td к виду V3 */
html body .apc table.apc-table td{border:0 !important;border-bottom:1px solid rgb(227 226 239) !important;text-align:left !important;vertical-align:top;padding:10px 12px}
html body .apc table.apc-table tr:last-child td{border-bottom:0 !important}
html body .apc table.apc-table{border-collapse:collapse}
/* п.185: в 18 статьях блога таблицы без класса .apa-table (или .apa-wifi-table/.spec-table) — td с чёрной рамкой и центровкой, th без фона. Приводим к виду .apa-table, только внутри тела статьи */
html body .article-page__content table:not(.apa-table){border-collapse:collapse}
html body .article-page__content table:not(.apa-table) th{background:rgb(239 238 247) !important;color:rgb(46 49 146) !important;text-align:left !important;border:0 !important;padding:10px 12px;font-weight:600}
html body .article-page__content table:not(.apa-table) td{border:0 !important;border-bottom:1px solid rgb(227 226 239) !important;text-align:left !important;vertical-align:top;padding:10px 12px}
html body .article-page__content table:not(.apa-table) tr:last-child td{border-bottom:0 !important}
/* Д127: на 768–1023 колонка фильтров листинга sticky с top:12px, а шапка тоже sticky высотой 65px → верх фильтра (цена «от/до») уезжает под шапку при прокрутке */
@media (min-width:768px) and (max-width:1023px){
html body .catalog-filter{top:calc(65px + 12px) !important}
}
/* Д128: iPad портрет 768–1023 — после Д127 (top 77px) фильтр с max-height calc(100vh-24px) вылезал за низ экрана на 53px, конец внутренней прокрутки («Сбросить») недостижим */
@media (min-width:768px) and (max-width:1023px){html body:not(.ap-facet-sheet-open) .catalog-filter{max-height:calc(100vh - 65px - 24px) !important}}
/* Д129: 768–1023 при высоте окна ≤420 (телефон в альбомной) шапка не липкая (combo58), поэтому фильтру не нужен отступ под неё (Д127/Д128) */
@media (min-width:768px) and (max-width:1023px) and (max-height:420px){html body .catalog-filter{top:12px !important}html body:not(.ap-facet-sheet-open) .catalog-filter{max-height:calc(100vh - 24px) !important}}
/* Д130: при высоте окна ≤500px (телефон в альбомной) lightbox считал высоту картинки как «окно − отступ сверху − 150» и показывал фото размером 36×81 / 293×81 px. Здесь размер задаёт CSS. */
@media (max-height:500px){
html body #lightbox.lightbox.lightbox{position:fixed!important;top:8px!important}
html body .lightbox .lb-outerContainer{width:auto!important;height:auto!important;display:inline-block}
html body .lightbox .lb-image{width:auto!important;height:auto!important;max-width:calc(100vw - 48px)!important;max-height:calc(100vh - 96px)!important}
}
/* Д131: при высоте окна ≤500px (телефон в альбомной) окно «Заказать звонок» центрировалось с отступом +40px и низом вылезало за экран на 24px */
@media (max-height:500px){html body .form-main.--show{position:fixed!important;top:50%!important;max-height:calc(100vh - 16px)!important}}
/* п.223: подсказка горизонтальной прокрутки у широких таблиц статей — тени по краям, только пока есть куда листать (приём background-attachment local/scroll, без JS) */
html body .ap-impl-table-wrap,html body .ap-article-table-wrap{
background:
 linear-gradient(to right,#fff 30%,rgba(255,255,255,0)) left center/40px 100% no-repeat local,
 linear-gradient(to left,#fff 30%,rgba(255,255,255,0)) right center/40px 100% no-repeat local,
 radial-gradient(farthest-side at 0 50%,rgba(46,49,146,.22),rgba(46,49,146,0)) left center/14px 100% no-repeat scroll,
 radial-gradient(farthest-side at 100% 50%,rgba(46,49,146,.22),rgba(46,49,146,0)) right center/14px 100% no-repeat scroll;
background-color:#fff}
html body .ap-impl-table-wrap>table,html body .ap-article-table-wrap>table{background-color:transparent!important}
/* п.227: та же подсказка прокрутки (тени по краям) для таблиц SEO-гида лендингов .apc-table-wrap (680px в 359px на телефоне) */
html body .apc .apc-table-wrap{
background:
 linear-gradient(to right,#fff 30%,rgba(255,255,255,0)) left center/40px 100% no-repeat local,
 linear-gradient(to left,#fff 30%,rgba(255,255,255,0)) right center/40px 100% no-repeat local,
 radial-gradient(farthest-side at 0 50%,rgba(46,49,146,.22),rgba(46,49,146,0)) left center/14px 100% no-repeat scroll,
 radial-gradient(farthest-side at 100% 50%,rgba(46,49,146,.22),rgba(46,49,146,0)) right center/14px 100% no-repeat scroll;
background-color:#fff}
html body .apc .apc-table-wrap>table.apc-table{background-color:transparent!important}
/* Д132 (часть): в режиме высокой контрастности у .ds-plus (кнопки свёртки групп фильтра и др.) палочки «+/−» перекрашивались в цвет фона и пропадали. Только внутри forced-colors — обычный режим не затронут. */
@media (forced-colors:active){html body .ds-plus::before,html body .ds-plus::after{forced-color-adjust:none;background-color:CanvasText!important}}
/* Д134: в окне «Запросить счёт или КП» переключатель «Документ: Счёт / КП» невидим — радиокнопки спрятаны (clip), а подписи без оформления, выбранный вариант не виден. Делаем сегменты-кнопки. */
html body .andpro-invoice-type{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px}
html body .andpro-invoice-type>label{display:inline-flex;align-items:center;min-height:40px;padding:8px 18px;border:1px solid #DFE3F1;border-radius:10px;background:#fff;color:#14121F;cursor:pointer;font-weight:500}
html body .andpro-invoice-type>label:has(input:checked){background:#2E3192;border-color:#2E3192;color:#fff}
html body .andpro-invoice-type>label:has(input:focus-visible){outline:3px solid #0B70E0;outline-offset:2px}
@media (hover:hover){html body .andpro-invoice-type>label:not(:has(input:checked)):hover{border-color:#2E3192}}
@media (forced-colors:active){html body .andpro-invoice-type>label{border:1px solid ButtonText}html body .andpro-invoice-type>label:has(input:checked){forced-color-adjust:none;background:Highlight;color:HighlightText;border-color:Highlight}}
/* Д137: на телефоне на карточке и её подстраницах нижняя полоса «Купить» (.itempage-stickybar, 73px) в конце страницы закрывает последнюю строку подвала («Настройки cookie»). Отступ под полосу — у нижней части подвала. */
@media (max-width:1023px){html body:has(.itempage-stickybar.--show) .ds-footer .nwfooter-bottom{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px)) !important}}
/* Д138: на телефоне при непустом сравнении плашка «Сравнить N / Очистить» (.andpro-compare-bar.--show, 64px, fixed снизу) на любой странице в конце закрывает последнюю строку подвала («Настройки cookie»). Тот же отступ, что в Д137. */
@media (max-width:1023px){html body:has(.andpro-compare-bar.--show) .ds-footer .nwfooter-bottom{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px)) !important}html body:has(.andpro-compare-bar.--show):has(.itempage-stickybar.--show) .ds-footer .nwfooter-bottom{padding-bottom:calc(160px + env(safe-area-inset-bottom,0px)) !important}}
/* Д139: на странице сравнения переключатель «Только отличия» — чекбокс (position:absolute) налезает на рамку и текст, стоит в левом верхнем углу «таблетки». Выравниваем в строку. */
html body .compare-table__checkbox{display:inline-flex!important;align-items:center;gap:10px;min-height:44px;padding:0 14px!important;cursor:pointer}
html body .compare-table__checkbox .form-check-input{position:static!important;float:none!important;margin:0!important;flex:none;top:auto!important;left:auto!important;transform:none!important}
html body .compare-table__checkbox .form-check-label{padding-left:0!important;margin:0!important;cursor:pointer}
html body .compare-table__checkbox .form-check-label::before,html body .compare-table__checkbox .form-check-label::after{display:none!important}
html body .compare-table__checkbox .form-check-input{width:20px;height:20px;accent-color:#2E3192}
/* Д140: в подвале на всех страницах у формы подписки обязательный чекбокс согласия (sf_PDN_CONSENT) спрятан clip:rect(0) без замены — галочки не видно. Показываем его слева от текста. */
html body .footer-subscribe__legal label{position:relative;display:inline-block;padding-left:28px;cursor:pointer;text-align:left}
html body .footer-subscribe__legal input[name=sf_PDN_CONSENT]{position:absolute!important;left:0!important;top:1px!important;clip:auto!important;clip-path:none!important;width:18px!important;height:18px!important;margin:0!important;opacity:1!important;accent-color:#2E3192;cursor:pointer}
/* Д142: на телефоне заголовок карточки товара 36px — длинное название (60–70 знаков) занимает 5–6 строк и ~200px; цена и «Купить» уходят далеко за первый экран. Уменьшаем H1 только на карточке (страницы с вкладками карточки) через переменную размера (основное правило с id и !important берёт var(--ds-heading-size)). */
@media (max-width:480px){html body:has(.itempage-info__tabs) h1.ds-h1{--ds-heading-size:27px!important;line-height:1.14!important;overflow-wrap:anywhere}}
/* Д143: на карточке товара бренда без логотипа рядом с «Код … / Поделиться» показывается крошечная заглушка «НЕТ ФОТО» 90×30 вместо логотипа бренда. Прячем слот логотипа, если в нём заглушка. */
html body .itempage-head__logo-link:has(img[src*="no_photo"]){display:none!important}
/* Д144 home-more-tap: ссылки «Все … →» и «Оплата/Доставка/Гарантия…» на главной — зона нажатия ~38px на сенсорных экранах, вёрстка не сдвигается (невидимый ::before) */
@media (pointer:coarse){html body a.ap-home-v3-more,html body .ap-home-v3-more a{position:relative}html body a.ap-home-v3-more::before,html body .ap-home-v3-more a::before{content:"";position:absolute;inset:-8px -3px}}
/* Д145 footer-align: на телефоне/планшете «Политика конфиденциальности» в подвале сдвинута на 3px правее «© 2026» и «Настройки cookie», которые идут с ней столбиком */
@media (max-width:1023px){html body .nwfooter-bottom a.nwfooter-bottom__link{margin-left:0!important}}
/* Д148 hub-tile-gap: на /catalog/ в одну колонку (≤575px) плитки разделов держат min-height 226px — между описанием и «Подразделы» пустота 47–95px */
@media (max-width:575px){html body :is(.ap-hub-v3__tiles,.ap-hub-v3__remaining)>.ap-hub-v3__catalog-card{min-height:0!important}html body .ap-hub-v3__catalog-card .ap-hub-v3__tile-body{min-height:0!important}html body .ap-hub-v3__tile-body>.ap-hub-v3__children{margin-top:12px!important}}
/* Д149 h2-dash-hang: у заголовков с жёлтой чертой (каталог и разделы, гиды в списках, «Похожие и сопутствующие товары» в карточке, «ТЗ или несколько…» на главной, «Как оплатить…» в помощи, заявка /rfq/) при переносе вторая строка уходит под черту; черта слева, текст ровным столбиком, отступ прежний */
html body :is(.ap-hub-v3 h2[id^="ap-hub-v3-"],.gx-head>h2.gx-title,h2.gx-ch__tt,.ap-rfq__intro>h2,.ap-delivery-hero h2.ap-title,.itempage-dopitem>h2.itempage-dopitem__title,.ap-home-v3 h2.ap-home-v3-h2:not(.ap-home-v3-sec-h h2)){display:flex!important;align-items:center;column-gap:16px}
html body :is(.ap-hub-v3 h2[id^="ap-hub-v3-"],.gx-head>h2.gx-title,h2.gx-ch__tt,.ap-rfq__intro>h2,.ap-delivery-hero h2.ap-title,.itempage-dopitem>h2.itempage-dopitem__title,.ap-home-v3 h2.ap-home-v3-h2:not(.ap-home-v3-sec-h h2))::before{flex:0 0 auto;margin-right:0!important}
/* Д155 article-dash-hang: в статьях блога заголовки разделов с жёлтой чертой (разделы статьи, «Ответственность», «Товары по теме», «Что разобрано в статье», «Также вас может заинтересовать») при переносе уходят второй строкой под черту — как Д149: черта слева, текст ровным столбиком */
html body :is(.ap-article-section,.ap-article-responsibility,.ap-related-catalog,.ap-article-preview-block,.ap-blog-v3-related)>h2{display:flex!important;align-items:center;column-gap:16px}
html body :is(.ap-article-section,.ap-article-responsibility,.ap-related-catalog,.ap-article-preview-block,.ap-blog-v3-related)>h2::before{flex:0 0 auto;margin-right:0!important}
/* Д159 company-dash-hang: на /company/ и страницах сотрудников заголовки с жёлтой чертой при переносе уходят второй строкой под черту — как Д149/Д155: черта слева, текст ровным столбиком */
html body :is(.ap-company-hero__main>h2.ap-company-title,.ap-staff-hero__main>h2.ap-title,.ap-staff-section>h2,.ap-staff-responsibility>h2,.mainpage-content__col>h2){display:flex!important;align-items:center;column-gap:16px}
html body :is(.ap-company-hero__main>h2.ap-company-title,.ap-staff-hero__main>h2.ap-title,.ap-staff-section>h2,.ap-staff-responsibility>h2,.mainpage-content__col>h2)::before{flex:0 0 auto;margin-right:0!important}
/* Д160 cfg-dash-hang: остаток заголовков с жёлтой чертой, которые при переносе уходят под черту (общий обход 60 страниц на 390px) — конфигураторы (группы, помощь, «Другие конфигураторы»), пустые состояния конфигураторов памяти/дисков и раздела, вводный блок фильтр-страниц; как Д149: черта слева, текст ровным столбиком */
html body :is(.cfg-family-v3__group>h2,.cfg-family-v3__help>h2,.cfg-family-v3__related>h2,.ap-intro__head>h2.ap-intro__title,.ap-m3-empty-state>h2,.cfgmem-empty>h2,.cfgdsk-empty>h2){display:flex!important;align-items:center;column-gap:16px}
html body :is(.cfg-family-v3__group>h2,.cfg-family-v3__help>h2,.cfg-family-v3__related>h2,.ap-intro__head>h2.ap-intro__title,.ap-m3-empty-state>h2,.cfgmem-empty>h2,.cfgdsk-empty>h2)::before{flex:0 0 auto;margin-right:0!important}
/* Д162 gx-ch-stack: на телефоне в гидах списков (summary.gx-ch__h) кнопка «Раскрыть» 111px стоит справа от заголовка 30px — заголовок зажат до ~207px и идёт в 6–7 строк; до 480px кнопку переносим под заголовок */
@media (max-width:480px){html body summary.gx-ch__h{grid-template-columns:minmax(0,1fr)!important;row-gap:12px}html body summary.gx-ch__h>.gx-ch__btn{justify-self:start}}
/* Д163 hero-side-dash: в статьях на ноутбуке/десктопе заголовок боковой колонки «Что понадобится» (.ap-article-hero__side > h2) с жёлтой чертой переносится второй строкой под черту — как Д149/Д155 */
html body .ap-article-hero__side>h2{display:flex!important;align-items:center;column-gap:16px}
html body .ap-article-hero__side>h2::before{flex:0 0 auto;margin-right:0!important}
/* Д165 crumbs-sep: когда хлебные крошки переносятся на вторую строку (планшет), строка начинается с «/» — разделитель стоит перед пунктом (li::before). Переносим разделитель в конец предыдущего пункта (li::after): при переносе «/» остаётся в конце первой строки; вид в одну строку не меняется */
html body main#main-content nav.ap-breadcrumb[data-ap-breadcrumb="unified"]>ul.breadcrumb>li.breadcrumb-item+li.breadcrumb-item::before{content:none!important;display:none!important}
html body main#main-content nav.ap-breadcrumb[data-ap-breadcrumb="unified"]>ul.breadcrumb>li.breadcrumb-item:not(:last-child)::after{content:"/"!important;display:flex;padding:0 2px;color:rgb(104,116,134);font-size:13px;font-weight:400;line-height:1}
/* Д166 pdp-width: на планшете/малом ноутбуке (до 1179px, одна колонка) основной блок карточки товара (.itempage-container) сжимается по содержимому до ~606–650px, справа пустая полоса 120–310px, края не совпадают с шапкой карточки и блоками ниже; растягиваем на всю ширину колонки */
@media (min-width:600px) and (max-width:1179px){html body .itempage-container.pdp-v3-product{align-self:stretch;width:auto;grid-template-columns:minmax(0,1fr)}}
/* Д167 brand-dash-hang: на страницах брендов (/info/brands/…, 477 шт.) заголовки разделов с жёлтой чертой («Наш опыт работы с …», «Чем … занимается», «Связанные разделы…», «Другие наши производители») на телефоне переносятся второй строкой под черту — как Д149: черта слева, текст ровным столбиком */
html body :is(.andpro-brand-page>h2,.brand-page>h2,.content-block__page-content>h2.category_info_header){display:flex!important;align-items:center;column-gap:16px}
html body :is(.andpro-brand-page>h2,.brand-page>h2,.content-block__page-content>h2.category_info_header)::before{flex:0 0 auto;margin-right:0!important}
/* Д169 sort-row: «848 моделей» и «Сортировать:» слипаются (0 px) на 360 и ломаются в столбик */
html body .catalog-row:has(>p.ap-m3-total){flex-wrap:wrap;align-items:center;column-gap:16px;row-gap:8px}
html body .catalog-row>p.ap-m3-total{white-space:nowrap;margin-top:0;margin-bottom:0}
html body .catalog-row>.catalog-sort{flex-wrap:nowrap;align-items:center}
html body .catalog-row>.catalog-sort>:first-child{white-space:nowrap}
/* Д170 filter-gap: на фильтр-страницах (/filter/.../apply/) под кнопкой «Фильтры» пустота 52px, в разделах — 12px */
@media (max-width:767px){
html body #main-content .content-block__row:has(>.content-block__side>.filter-btn){row-gap:12px}
html body #main-content .content-block__row>.content-block__side>.filter-btn{margin-bottom:0}
}
/* Д171 pdp-narrow (320px): «Разрешени|е» рвётся посреди слова в «Конфигурации»; «Производитель» в блоке «Главное» вылезает за ячейку и к краю карточки */
html body .pdp-v3-configuration dl:has(>div>dt){display:grid;column-gap:12px;row-gap:0;grid-template-columns:minmax(min-content,2fr) minmax(0,3fr)}
html body .pdp-v3-configuration dl>div:has(>dt){grid-column:1/-1;grid-template-columns:subgrid}
html body .pdp-v3-configuration dl>div>dt{overflow-wrap:normal}
@media (max-width:359px){
html body main#main-content .pdp-v3-product .itempage-tldr ul.itempage-tldr__list:has(.itempage-tldr__label){grid-template-columns:minmax(0,1fr)}
}
/* Д172 contacts-btn: на /contacts/ при 320–360px «Бесплатный номер: 8 (800) 707-78-15» шире жёлтой кнопки (nowrap) — текст вылезает за её края */
@media (max-width:389px){
html:root body #main-content .contacts-actions>a.contacts-action:not(#ap-v3){font-size:clamp(13px,4.1vw,16px)!important;padding-left:12px;padding-right:12px}
}
/* Д173 blog-dash-hang: в блоге на 320–360 «Частые вопросы» и «Связанные разделы» переносятся на 2 строки, вторая строка уходит под жёлтую черту */
html body :is(.ap-blog-v3-list>section.ap-faq.ds-section>h2,.ap-blog-v3-list>section.ap-blog-rubric-v3__related>h2.ap-blog-rubric-v3__heading){display:flex!important;align-items:center;column-gap:16px}
html body :is(.ap-blog-v3-list>section.ap-faq.ds-section>h2,.ap-blog-v3-list>section.ap-blog-rubric-v3__related>h2.ap-blog-rubric-v3__heading)::before{flex:0 0 auto;margin-right:0!important}
/* Д174 phone-btn: на /help/, /help/delivery/, /company/ при 320px «Позвонить: +7 (495) 545-48-70» шире кнопки (nowrap) — текст вылезает за края */
@media (max-width:359px){
html:root body #main-content :is(.ap-actions>a.ap-action,.ap-company-actions>a.ds-btn):not(#ap-v3){font-size:clamp(13px,4.1vw,16px)!important;padding-left:12px;padding-right:12px}
}
/* Д175 calc-dash-hang: в калькуляторах 1С и виртуализации на 320 заголовки панелей («Параметры системы», «Параметры пула ВМ», «Результат расчёта») — черта на отдельной строке или вторая строка под чертой */
html body :is(.ap1c__panel-head,.apvm__panel-head)>div>h2{display:flex!important;align-items:center;column-gap:16px}
html body :is(.ap1c__panel-head,.apvm__panel-head)>div>h2::before{flex:0 0 auto;margin-right:0!important}
/* Д176 faq-dash-hang: на 320 «Частые вопросы» в статье блога и «Связанные разделы» в гиде раздела каталога — черта на своей строке / вторая строка под чертой */
html body :is(.ap-article-full-disclosure__body>section.ap-faq>h2,.gx-footer>section.gx-after-links>h2.gx-related-title){display:flex!important;align-items:center;column-gap:16px}
html body :is(.ap-article-full-disclosure__body>section.ap-faq>h2,.gx-footer>section.gx-after-links>h2.gx-related-title)::before{flex:0 0 auto;margin-right:0!important}
/* Д177 nav-dash-hang: на фильтр-лендингах h2 «Соседние подборки для сравнения» (.banner_html>nav>h2) на 320 — вторая и третья строки под чертой */
html body .banner_html>nav>h2{display:flex!important;align-items:center;column-gap:16px}
html body .banner_html>nav>h2::before{flex:0 0 auto;margin-right:0!important}
/* Д178 card-title-wrap: в списках каталога на 320–360 длинные артикулы в названии («АМУЕ.466219.007», «XB273UX1bmiiprx») и в строке артикула (small.ap-m3-article «24AOIP/F02B3144V2A») шире колонки — обрезаются краем карточки */
html body .catalog-card :is(a.catalog-card__title,small.ap-m3-article){overflow-wrap:anywhere;min-width:0}
/* Д179 req-dash-hang: на /company/rekvizity/ при 768–1024 h2 «Юридические данные и реквизиты для договоров» переносится, «договоров» уходит под черту */
html body .ap-company-hero__main>h2.ap-req-title{display:flex!important;align-items:center;column-gap:16px}
html body .ap-company-hero__main>h2.ap-req-title::before{flex:0 0 auto;margin-right:0!important}
/* Д180 cfg-btn-wrap: в конфигураторах на 320 кнопки шире места: «Подобрать серверы из каталога» (1С, виртуализация) упирается текстом в края, «Карточка диска — проверить совместимость» (видеонаблюдение) обрезается, в «Сети» кнопка «Счёт для юрлиц» выходит за край карточки товара и обрезается */
@media (max-width:767px){
html:root body #main-content :is(a.ap1c__button,a.apvm__button,a.cfgcctv-btn):not(#ap-v3){white-space:normal!important;height:auto!important;text-align:center;line-height:1.25;padding-top:8px;padding-bottom:8px}
html:root body #main-content .cfgnet-prod__right:has(>a.cfgnet-prod__invoice){flex-wrap:wrap;row-gap:8px}
}
/* Д181 apc-dash-hang: в SEO-тексте фильтр-лендингов (section.apc) h2 при переносе на телефоне — вторая и следующие строки под жёлтой чертой; видно сразу, где текст раскрыт, и у всех лендингов после «Подробнее» */
html body section.apc>section>h2{display:flex!important;align-items:center;column-gap:16px}
html body section.apc>section>h2::before{flex:0 0 auto;margin-right:0!important}
/* Д182 related-blog-dash: в статьях блога h2 «Статьи блога ANDPRO по теме «…»» (section.ap-related-blog) на 320 — вторая строка под жёлтой чертой */
html body section.ap-related-blog>h2{display:flex!important;align-items:center;column-gap:16px}
html body section.ap-related-blog>h2::before{flex:0 0 auto;margin-right:0!important}
/* Д183 faq-article-dash: «Частые вопросы» прямо в article.ap-article (без обёртки disclosure) на 320 — вторая строка под чертой; дополнение к Д176 */
html body article.ap-article>section.ap-faq>h2{display:flex!important;align-items:center;column-gap:16px}
html body article.ap-article>section.ap-faq>h2::before{flex:0 0 auto;margin-right:0!important}
/* Д184 table-nolabel: в статьях блога таблица .apa-table без data-label на телефоне (≤760px) раскладывается «стопкой» без подписей столбцов — непонятно, какое значение к какому столбцу (Д157). Для таких таблиц оставляем обычную таблицу с горизонтальной прокруткой */
@media (max-width:760px){
html body .apa-table-wrap:has(>table.apa-table:not(:has(td[data-label]))){overflow-x:auto;-webkit-overflow-scrolling:touch}
html body .apa-table-wrap>table.apa-table:not(:has(td[data-label])){display:table!important;width:100%;min-width:100%}
html body .apa-table-wrap>table.apa-table:not(:has(td[data-label])) thead{display:table-header-group!important}
html body .apa-table-wrap>table.apa-table:not(:has(td[data-label])) tbody{display:table-row-group!important}
html body .apa-table-wrap>table.apa-table:not(:has(td[data-label])) tr{display:table-row!important}
html body .apa-table-wrap>table.apa-table:not(:has(td[data-label])) :is(th,td){display:table-cell!important}
html body .apa-table-wrap>table.apa-table:not(:has(td[data-label])) td::before{content:none!important}
}
/* Д185: таблицы без класса и без обёртки прямо в секции статьи шире экрана телефона — обрезались без прокрутки */
@media (max-width:760px){
html body .article-page__content section.ap-article-section>table:is(:not([class]),[class=""]){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Д186: «Смотрите также» в боковой колонке фильтр-лендинга на планшете (768) переносится, вторая строка уходит под черту */
html body :is(.content-block__row>nav.content-block__catalog>h2){display:flex!important;align-items:center;column-gap:16px}
html body :is(.content-block__row>nav.content-block__catalog>h2)::before{flex:0 0 auto;margin-right:0!important}
/* Д187: раздел «Компания» (сотрудники, вакансии, новости, страницы сертификатов) — на телефоне вторая строка h2 уходит под черту */
html body :is(.static-page>section:is(.andpro-cert-page,.andpro-company,.andpro-staff)>h2,.page-content>.static-page>h2,.content-block__page-content>.page-content>h2.page-content__header,.vacancy-block__body>h2,.ap-cert-hero__main>h2.ap-title,.ap-cert-detail>h2.ap-cert-detail__title,.andpro-cert-tree>h2,.ap-company-news-v3__cta>div>h2.ds-h3,.ap-company-news-v3__grid>article>div>h2){display:flex!important;align-items:center;column-gap:16px}
html body :is(.static-page>section:is(.andpro-cert-page,.andpro-company,.andpro-staff)>h2,.page-content>.static-page>h2,.content-block__page-content>.page-content>h2.page-content__header,.vacancy-block__body>h2,.ap-cert-hero__main>h2.ap-title,.ap-cert-detail>h2.ap-cert-detail__title,.andpro-cert-tree>h2,.ap-company-news-v3__cta>div>h2.ds-h3,.ap-company-news-v3__grid>article>div>h2)::before{flex:0 0 auto;margin-right:0!important}
/* Д188: пагинация каталога/поиска на телефоне. Сайт (wave-b, ≤479px) делает ленту с overflow-x:auto — на средних страницах (1 … N-1 N N+1 … M) последняя страница скрыта за прокруткой без подсказки, «…» обрезан. Переносим на 2-ю строку. */
@media (max-width:767px){
html:root body #main-content [data-ap-search-results] .pagination-block.--catalog>ul.pagination{flex-wrap:wrap;row-gap:6px;overflow-x:visible;width:auto}
}
