.header-bottom [data-template-contact],.catalog-layout-contact a{overflow-wrap:anywhere}
.header-bottom .catalog-layout-callback{display:block;align-self:flex-start;border:0;padding:0;background:transparent;font:inherit;cursor:pointer;text-align:left}
.header-bottom .header-graphic .text,.header-bottom .header-email .text{min-width:0;white-space:normal!important}
.header-bottom .header-graphic [data-template-contact=phone]{white-space:nowrap}
.catalog-layout-contact{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:16px;padding-bottom:20px;border-top:1px solid #666;font-size:14px}
.catalog-layout-contact a{color:inherit;text-decoration:underline}
.catalog-layout-contact a:focus-visible,.header-bottom a:focus-visible,.catalog-layout-callback:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:991px){.header-responsive .header-email{max-width:100%}.header-responsive .header-email .text{max-width:100%}.header-responsive .catalog-layout-callback{align-self:center}.catalog-layout-contact{flex-direction:column;gap:10px}}

.header-bottom .header-graphic{flex:0 0 auto!important}
.header-bottom .header-graphic .text{white-space:nowrap!important;color:#aaa}
.header-bottom .catalog-layout-callback{color:#fff!important;text-decoration:underline;min-height:24px;line-height:24px}
.header-bottom .header-email .nextSpan{color:#aaa}

/* Keep individual contact links intact; surrounding prose remains wrappable. */
a[data-template-contact="phone"],a[data-template-contact="email"],
main a[href^="tel:"],main a[href^="mailto:"]{
    display:inline-block;white-space:nowrap;overflow-wrap:normal;word-break:normal
}
.bx-catalog-element .cat_files .catalog-document-list{list-style:none;margin:0;padding:0}
.bx-catalog-element .cat_files .catalog-document-list li{margin-bottom:12px}
.bx-catalog-element .cat_files a.catalog-document-link{display:inline;width:auto;overflow-wrap:anywhere;text-decoration:underline}
.catalog-document-link .fa{margin-right:8px}
.catalog-document-meta{display:inline-block;white-space:nowrap}
.codex-home-conversion-fallback a.btn.firstMainColor[href^="/raschet-proekta/"],
.codex-home-conversion-fallback a.btn.firstMainColor[href^="/raschet-proekta/"]:hover,
.codex-home-conversion-fallback a.btn.firstMainColor[href^="/raschet-proekta/"]:focus{
    color:#fff!important;background-color:#0d5f2a!important
}

/* The recovered theme otherwise makes consent an inline checkbox/text flow. */
.a09-rfq label.rfq-consent{display:flex!important;align-items:center;gap:12px;padding:0}
.a09-rfq label.rfq-consent input[type="checkbox"]{flex:0 0 20px;margin:0;align-self:center}
.a09-rfq label.rfq-consent>span{display:block;flex:1;min-width:0;line-height:1.5}

/* One neutral surface for all slides, with original transparent device pixels. */
.innerSliderContent .mainSlider .slideinner{background-color:#fff!important}
.innerSliderContent .mainSlider .slideinner .slideContent{background-color:transparent!important}
.innerSliderContent .mainSlider .logika-brand-first .innerText p{color:#333!important}
.innerSliderContent .mainSlider .logika-brand-first .button a:focus-visible{outline-color:#0d5f2a}

/* Keep the shared form independent of the recovered page-builder typography. */
section.a09-rfq{background:transparent!important;border:0;box-shadow:none;font-family:Roboto,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:0}
section.a09-rfq .rfq-main-title{font-family:inherit;font-size:28px;font-weight:400;line-height:1.25;letter-spacing:0;margin:0 0 8px}
.a09-rfq .rfq-intro{font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;margin:0 0 20px}
.a09-rfq .rfq-panel{background:#fff;padding:20px;border-radius:4px}
.a09-rfq .rfq-panel h2{font-family:inherit;font-size:20px;font-weight:500;line-height:1.3;letter-spacing:0;margin:0 0 16px}
.a09-rfq :is(input,textarea,select,button){font-family:inherit!important;letter-spacing:0}
.a09-rfq .rfq-field{font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;margin:0 0 16px}
.a09-rfq .rfq-field :is(input,textarea){font-size:14px;font-weight:400;margin:6px 0 0!important}
.a09-rfq .rfq-product-main :is(input,select){font-size:14px;font-weight:400;margin:0!important}
.a09-rfq .rfq-mode-button{font-size:14px!important;font-weight:400}
.a09-rfq .rfq-add{font-size:16px!important;font-weight:500!important}
.a09-rfq .rfq-dropzone strong{font-family:inherit;font-size:18px;font-weight:500}
.a09-rfq .rfq-dropzone p{font-size:14px;font-weight:400;line-height:1.5;margin:6px 0 0}
.a09-rfq .rfq-dropzone .rfq-file-label{display:inline!important;font-size:inherit;font-weight:400;padding:0;margin:0}
.a09-rfq label.rfq-consent{font-size:13px;font-weight:400;margin:0 0 14px}
.a09-rfq .rfq-legal-links{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;line-height:1.5;margin:0 0 16px}
.a09-rfq .rfq-legal-links a{font-size:inherit;line-height:inherit;max-width:100%}
.a09-rfq .rfq-submit{font-size:15px!important;font-weight:500!important;line-height:1.4}
@media(max-width:600px){
    section.a09-rfq .rfq-main-title{font-size:24px}
    .a09-rfq .rfq-panel{padding:16px}
    .a09-rfq .rfq-panel h2{font-size:20px}
}
@media(max-width:767px){body:has(main .a09-rfq) .back-to-top{display:none!important}}

/* Contact-city UI: stack the existing city and telephone paragraphs only. */
#contact .contactCont .textUnder > .list.flex-container{
    flex-direction:column;align-items:flex-start;gap:8px
}
#contact .contactCont .textUnder > .list.flex-container > p{
    margin:0;padding:0;max-width:100%
}

/* The compact renderer has its own root class, separate from .a09-rfq. */
section.a09-rfq-compact{
    background:#fff!important;border:0;box-shadow:none;
    padding:17px 16px;font-family:Roboto,Arial,sans-serif;font-size:14px;
    font-weight:400;line-height:1.5;letter-spacing:0;color:#333
}
section.a09-rfq-compact h2{
    font-family:inherit;font-size:20px;font-weight:500;line-height:1.3;
    letter-spacing:0;margin:0 0 8px
}
section.a09-rfq-compact .rfq-compact-intro{
    font-size:14px;font-weight:400;line-height:1.5;margin:0 0 14px
}
section.a09-rfq-compact > label{
    display:block;font-family:inherit;font-size:14px;font-weight:400;
    line-height:1.5;letter-spacing:0;margin:0 0 10px
}
section.a09-rfq-compact > label > span{font-size:12px;line-height:inherit}
section.a09-rfq-compact label :is(input,textarea){
    font-family:inherit!important;font-size:14px;font-weight:400;line-height:1.4;
    letter-spacing:0;min-height:34px;padding:7px 9px;margin:4px 0 0;
    border-radius:3px
}
section.a09-rfq-compact .rfq-compact-open{
    font-family:inherit;font-size:15px;font-weight:500;line-height:1.4;
    letter-spacing:0;min-height:40px;padding:10px 12px;white-space:normal
}
section.a09-rfq-compact .rfq-compact-hint{
    font-size:12px;font-weight:400;line-height:1.5;margin:7px 0 0
}
@media(max-width:767px){
    body:has(section.a09-rfq-compact) .back-to-top{display:none!important}
}

/* Manual city dialog: local-only geolocation controls, not a modal redesign. */
#contactsPopUp .catalog-city-geolocation{
    display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;
    gap:8px 16px;max-width:100%;box-sizing:border-box;
    margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid #dce1e6;
    font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:1.5;letter-spacing:0
}
#contactsPopUp .catalog-city-geolocation > p{
    min-width:0;max-width:100%;margin:0;font-family:inherit;font-size:13px;
    font-weight:400;line-height:1.5;letter-spacing:0;color:#626b70;overflow-wrap:anywhere
}
#contactsPopUp button.catalog-city-locate{
    box-sizing:border-box;max-width:100%;min-height:40px;padding:9px 12px;
    border:1px solid #0d5f2a;border-radius:4px;background:#fff;color:#0d5f2a;
    font-family:Roboto,Arial,sans-serif;font-size:14px;font-weight:500;
    line-height:1.4;letter-spacing:0;white-space:normal;text-align:left;cursor:pointer
}
#contactsPopUp button.catalog-city-locate:hover:not(:disabled){background:#e5f1e8}
#contactsPopUp button.catalog-city-locate:focus-visible{
    outline:2px solid #0d5f2a;outline-offset:3px
}
#contactsPopUp button.catalog-city-locate:disabled,
#contactsPopUp button.catalog-city-locate[aria-busy="true"]{opacity:.65;cursor:progress}
#contactsPopUp .catalog-city-geolocation > p.catalog-city-location-status{
    grid-column:1/-1;min-height:1.5em;color:#333
}
@media(max-width:600px){
    #contactsPopUp .catalog-city-geolocation{grid-template-columns:minmax(0,1fr);gap:10px}
    #contactsPopUp button.catalog-city-locate{justify-self:start}
}

#contactsPopUp button.catalog-city-confirm{
    grid-column:1/-1;justify-self:start;box-sizing:border-box;max-width:100%;
    min-height:39px;padding:8px 12px;border:1px solid #0d5f2a;border-radius:4px;
    background:#0d5f2a;color:#fff;font-family:Roboto,Arial,sans-serif;
    font-size:14px;font-weight:500;line-height:1.4;letter-spacing:0;
    white-space:normal;overflow-wrap:anywhere;text-align:left;cursor:pointer
}
#contactsPopUp button.catalog-city-confirm:focus-visible{
    outline:2px solid #0d5f2a;outline-offset:3px
}
#contactsPopUp button.catalog-city-confirm[hidden]{display:none!important}


/* Supplier industrial backdrop; HTML, real foreground devices and four slides stay intact. */
.innerSliderContent .mainSlider .slideinner{
    position:relative;background-image:url('/static/branding/logika-official-banner-202003-v1.jpg')!important;
    background-position:left center;background-size:auto 100%;background-repeat:no-repeat
}
.innerSliderContent .mainSlider .slideinner::before{
    content:"";position:absolute;inset:0;background:rgba(255,255,255,.68);pointer-events:none;z-index:0
}
.innerSliderContent .mainSlider .slideinner .overCoverImg{display:none}
.innerSliderContent .mainSlider .slideinner .slideContent{position:relative;z-index:1}
.goodsTableNah .bx-catalog-element a.a09-native-rfq-cta{
    font-size:18px!important;
    font-weight:400!important
}

/* Fixed carousel frame; the desktop news card has the same outer dimensions. */
.a09-catalog-top [data-a09-order="hero"] .innerSliderContent{
    height:560px;box-sizing:border-box
}
.a09-catalog-top [data-a09-order="hero"] .mainSlider{height:100%}
.a09-catalog-top [data-a09-order="hero"] .slideinner{
    height:100%;min-height:0!important;box-sizing:border-box
}
.a09-catalog-top [data-a09-order="hero"] .slideContent{
    height:100%;min-height:0!important;box-sizing:border-box
}
@media(min-width:1200px){
    .container.contentPage > .a09-catalog-columns{align-items:start}
    .a09-catalog-columns > .a09-catalog-top{height:480px}
    .a09-catalog-top > .a09-catalog-block{height:100%}
    .a09-catalog-top [data-a09-order="hero"] .innerSliderContent,
    .a09-catalog-top [data-a09-order="news"] .newsContainer{
        height:480px;box-sizing:border-box;margin-top:0;margin-bottom:0
    }
}
@media(max-width:599px){
    .a09-catalog-top [data-a09-order="hero"] .innerSliderContent{height:600px}
}
@media(max-width:1199px){
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .slideContent{
        display:flex!important;flex-direction:column!important;align-items:stretch;
        justify-content:center;gap:16px;padding:24px;width:100%;min-width:0
    }
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .innerImg{
        width:100%!important;max-width:100%;height:220px;flex:0 0 220px;margin:0!important
    }
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .innerImg img{
        width:100%!important;height:100%!important;max-width:100%;object-fit:contain
    }
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .innerText{
        width:100%!important;max-width:100%;min-width:0;margin:0;padding:0
    }
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .innerText h4{
        font-size:22px;line-height:1.25;margin:0 0 12px;overflow-wrap:anywhere
    }
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .innerText p{
        font-size:14px;line-height:1.5;max-height:none!important;overflow:visible;margin:0 0 16px
    }
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .button{
        margin:0!important;max-width:100%;text-align:left
    }
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .button a{
        max-width:100%;box-sizing:border-box;white-space:normal
    }
}
@media(max-width:599px){
    .a09-catalog-top .mainSlider .slideinner:not(.logika-brand-first) .innerImg{height:180px;flex-basis:180px}
}
