/* v10 integration repair: scope to the new template, preserve product detail. */
body.apgs-theme .av10-header-search{gap:12px;align-items:center}
body.apgs-theme .av10-header-search label{height:46px;border-radius:12px;box-sizing:border-box}
body.apgs-theme .av10-header-search input{height:44px}
body.apgs-theme .av10-header-search .av10-header-find{height:46px;min-height:46px;min-width:88px;padding:12px 20px;border-radius:12px;box-sizing:border-box;white-space:nowrap}
/* Shared catalog components: every category and subcategory, not a URL whitelist. */
body.apgs-theme .av10-directory{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-bottom:24px}
body.apgs-theme .av10-directory a{min-height:112px;padding:20px;line-height:22px;text-transform:none;hyphens:none;word-break:normal}
body.apgs-theme .av10-directory a span{hyphens:none;word-break:normal;overflow-wrap:anywhere}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar{background:#fff;border:1px solid #dce3ec;border-radius:16px;padding:16px;margin-top:0;box-shadow:none}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar-header{padding:0 0 16px;border-bottom:1px solid #dce3ec}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar h3{font:700 16px/24px APGSInter,sans-serif;margin:0 0 12px;text-transform:none}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar .search-input{width:100%;min-width:0;height:46px;border:1px solid #dce3ec;border-radius:10px;padding:12px;background:#f7f9fc;font:400 14px/20px APGSInter,sans-serif}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar :is(.menu-item-header,.submenu-item-header){display:flex;align-items:center;gap:4px;border:0;border-radius:10px;background:transparent;color:#172033;padding:0;margin:4px 0;min-height:46px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar :is(.menu-link,.submenu-link){flex:1;min-width:0;display:block;padding:10px 8px;font:500 13px/20px APGSInter,sans-serif!important;text-transform:none!important;word-break:normal!important;hyphens:none!important;overflow-wrap:anywhere;color:inherit}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar .toggle-btn{flex:none;display:flex;align-items:center;justify-content:center;width:36px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#627087;font-size:18px;cursor:pointer}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar :is(.menu-item-header,.submenu-item-header).current{background:#eaf1ff;color:#1d4ed8}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar :is(.menu-item,.submenu-item){border-bottom:0;background:transparent}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar :is(.menu-submenu,.submenu-submenu){padding-left:10px;margin-left:8px;border-left:1px solid #dce3ec;background:transparent}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar a:hover{background:#f7f9fc;border-radius:8px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar .submenu-level3{margin-left:8px;padding-left:10px;border-left:1px solid #dce3ec}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar .submenu-level3-link{display:block;padding:10px 8px;font:400 13px/20px APGSInter,sans-serif!important;text-transform:none!important;hyphens:none!important;word-break:normal!important;overflow-wrap:anywhere;border-radius:8px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar .submenu-level3-link.current{background:#eaf1ff;color:#1d4ed8}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar .menu-item--extra{display:none}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar.catalog-sidebar--expanded .menu-item--extra{display:block}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-menu-more{width:100%;min-height:42px;margin-top:10px;border:1px solid #dce3ec;border-radius:10px;background:#f7f9fc;color:#2563eb;font:700 13px/18px APGSInter,sans-serif;cursor:pointer}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-menu-more:hover{border-color:#2563eb;background:#eaf1ff}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter{margin-top:0;padding:0;border:0;border-radius:16px;background:#fff}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter>h3{display:none}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter :is(.bx-filter,.smart-filter){width:100%;min-width:0;margin:0;padding:16px!important;border:0!important;border-radius:0!important;background:transparent;font-family:APGSInter,Inter,sans-serif;box-sizing:border-box}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter :is(.bx-filter-section,.smart-filter-section){padding:0;border:0!important;border-radius:0!important;background:transparent}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-section>.row:first-child{margin:0}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-title{float:none;width:100%;margin:0 0 8px;padding:0 0 14px;border-bottom:1px solid #dce3ec;color:#172033;font:700 16px/24px APGSInter,Inter,sans-serif;text-align:left}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter form>.row{margin:0}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box{float:none;width:100%;padding:0;border:0}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box-title{position:relative;display:block;width:100%;margin:2px 0;padding:9px 24px 9px 0;border:0;border-radius:0;background:transparent;color:#172033;font:500 13px/20px APGSInter,Inter,sans-serif;box-sizing:border-box}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box-title:hover{background:transparent}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box.bx-active>.bx-filter-parameters-box-title{background:transparent;color:#172033}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box-title>span{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;color:#172033!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box-title :is(i,[data-role=prop_angle]){display:none!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box-title>span:after{display:none!important;content:none!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box-title:after{position:absolute;top:50%;right:3px;display:block!important;content:''!important;width:7px;height:7px;border-right:1.5px solid #7c8aa0;border-bottom:1.5px solid #7c8aa0;transform:translateY(-65%) rotate(45deg);transition:transform .2s ease}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box.bx-active>.bx-filter-parameters-box-title:after{transform:translateY(-35%) rotate(225deg)}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box-container{margin:0;padding:4px 0 14px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:10px!important;direction:ltr!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container-block{float:none!important;width:auto!important;margin:0!important;padding:0!important;color:#172033;font:400 12px/18px APGSInter,Inter,sans-serif;box-sizing:border-box}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container-block.bx-left{grid-column:1!important;grid-row:1!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container-block.bx-right{grid-column:2!important;grid-row:1!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-input-container input{width:100%!important;height:42px;padding:9px 10px;border:1px solid #dce3ec;border-radius:10px;background:#f7f9fc;color:#172033;font:500 14px/22px APGSInter,Inter,sans-serif;box-shadow:none;box-sizing:border-box}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-input-container input:focus{border-color:#2563eb;outline:2px solid rgba(37,99,235,.12);outline-offset:0}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-track-container{grid-column:1/-1!important;grid-row:2!important;clear:both;float:none!important;width:100%!important;margin:8px 0 0!important;padding:18px 9px 10px!important;box-sizing:border-box}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-track{height:5px;border-radius:999px;background:#dce3ec}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter :is(.bx-ui-slider-pricebar-vd,.bx-ui-slider-pricebar-vn){border-radius:999px;background:#dce3ec}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-pricebar-v{border-radius:999px;background:#2563eb}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part{position:absolute;top:-6px;display:block;width:1px;height:17px;background:#a2bfc7}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part.p1{left:-1px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part.p2{left:25%}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part.p3{left:50%}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part.p4{left:75%}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part.p5{right:-1px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part:is(.p2,.p3,.p4){display:none}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-part span{position:absolute;top:-20px;display:block;color:#172033}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-handle{top:50%;width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#2563eb!important;box-shadow:0 0 0 1px #2563eb;transform:translateY(-50%);box-sizing:border-box}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-handle.left{margin-left:-7px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-ui-slider-handle.right{margin-right:-7px}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter .bx-filter-button-box{margin-top:8px;border-top:1px solid #dce3ec;border-bottom:0}
@media(min-width:901px){body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .c-sec-vert{display:flex;flex-direction:column}body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .c-sec-vert>.catalog-filter{order:1}body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .c-sec-vert>.ofcvs{display:block!important;order:2;margin-top:16px}}
/* The legacy breadcrumb component adds a second 40px top gap inside the v10 shell. */
body.apgs-theme .av10-breadcrumb>.container{width:100%;margin:0;padding:0}
body.apgs-theme .av10-breadcrumb .breadcrumbs.rowsize{width:100%;margin:0 0 16px;padding:0}
/* Catalogue lead-in: keep breadcrumbs useful without spending a full screen above products. */
body.apgs-theme .av10-main:has(>.row.zzz) .av10-breadcrumb{padding-top:8px}
body.apgs-theme .av10-main:has(>.row.zzz) .av10-breadcrumb .breadcrumbs.rowsize{margin-bottom:4px}
body.apgs-theme .av10-main:has(>.row.zzz)>h1.container{margin:4px 0 8px!important;padding:0}
body.apgs-theme .av10-main:has(>.row.zzz)>.row.zzz{margin-top:0}
/* Product cards use a compact lead-in; catalogue and information pages keep their rhythm. */
body.apgs-theme .av10-main:has(#apgs-product-card) .av10-breadcrumb{padding-top:12px}
body.apgs-theme .av10-main:has(#apgs-product-card) .av10-breadcrumb .breadcrumbs.rowsize{margin-bottom:8px}
body.apgs-theme .av10-main:has(#apgs-product-card)>.row{margin-top:12px}
/* Intermediate scale labels duplicate the editable range and overlap on narrow filters. */
body.apgs-theme :is(.av10-main:not(:has(#apgs-product-card)),#av10-filter) :is(.bx-ui-slider-part,.bx_ui_slider_part):is(.p2,.p3,.p4) span{display:none}
body.apgs-theme :is(.av10-main:not(:has(#apgs-product-card)),#av10-filter) :is(.bx-ui-slider-part,.bx_ui_slider_part) span{font:400 11px/16px APGSInter,sans-serif;white-space:nowrap;width:auto;max-width:112px}
body.apgs-theme :is(.av10-main:not(:has(#apgs-product-card)),#av10-filter) :is(.bx-ui-slider-part,.bx_ui_slider_part).p1 span{left:0;right:auto;margin-left:0;transform:none;text-align:left}
body.apgs-theme :is(.av10-main:not(:has(#apgs-product-card)),#av10-filter) :is(.bx-ui-slider-part,.bx_ui_slider_part).p5 span{left:auto;right:0;margin-left:0;transform:none;text-align:right}
@media(max-width:900px){body.apgs-theme .av10-menu-button{margin-left:auto}body.apgs-theme .av10-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){body.apgs-theme .av10-directory{grid-template-columns:1fr}}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) :is(.bx-filter,.smart-filter) :is(button,input[type=submit],input[type=button]){min-height:46px;padding:12px 16px;border:1px solid #dce3ec;border-radius:12px;font:700 14px/20px APGSInter,sans-serif;white-space:nowrap;cursor:pointer;margin:4px 4px 4px 0}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) :is(.bx-filter,.smart-filter) :is(#set_filter,[name=set_filter]){background:#2563eb;border-color:#2563eb;color:#fff}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) :is(.bx-filter,.smart-filter) :is(#del_filter,[name=del_filter]){background:#fff;color:#172033}
@media(max-width:900px){body.apgs-theme .av10-main>.row.zzz>.c-sec-vert{display:none}body.apgs-theme .av10-main>.row.zzz>.row.col-md-9{float:none;width:100%;margin:0;padding:0}body.apgs-theme .av10-main>.row.zzz>.show-side-catalog{display:none}}
body.apgs-theme .av10-information{padding-top:28px;font:400 16px/1.65 APGSInter,Inter,sans-serif;color:#172033}
body.apgs-theme .av10-information .rowsize{width:100%;max-width:none;margin:0;padding:0}
body.apgs-theme .av10-information h1.pagename{font:700 40px/1.2 APGSInter,Inter,sans-serif!important;color:#172033;margin:0 0 32px;padding:0;border:0}
body.apgs-theme .av10-information h1:after{display:none}
body.apgs-theme .av10-information :is(h2,h3,.feedback_title){font:700 23px/1.35 APGSInter,Inter,sans-serif;color:#172033;margin:0 0 16px}
body.apgs-theme .av10-information :is(p,li,.conttext,.adress a){font:400 16px/1.65 APGSInter,Inter,sans-serif;color:#172033;overflow-wrap:anywhere}
body.apgs-theme .av10-information p{margin:0 0 16px}
body.apgs-theme .av10-information p:last-child{margin-bottom:0}
body.apgs-theme .av10-information ul{padding-left:22px;margin:0 0 16px}
body.apgs-theme .av10-information li+li{margin-top:8px}
body.apgs-theme .av10-information .av10-info-card{padding:28px 32px;background:#fff;border:1px solid #dce3ec;border-radius:16px;margin-bottom:20px}
body.apgs-theme .av10-information .av10-info-topic{position:relative;padding-left:88px}
body.apgs-theme .av10-information .av10-info-topic:before{content:'';position:absolute;left:28px;top:28px;width:36px;height:36px;background:#eaf1ff url('./media/icon-document.svg') center/24px no-repeat;border-radius:10px}
body.apgs-theme .av10-information .row{display:flex;flex-wrap:wrap;gap:24px;margin:0;align-items:start}
body.apgs-theme .av10-information .row:before,body.apgs-theme .av10-information .row:after{display:none}
body.apgs-theme .av10-information .row>[class*='col-']{float:none;margin:0;padding:0;min-width:0;flex:1 1 260px;width:auto}
body.apgs-theme .av10-information .row>.col-xs-12{flex-basis:100%}
body.apgs-theme .av10-information .av10-info-card img{display:block;max-width:100%;height:auto;max-height:320px;object-fit:contain;margin:auto;border-radius:12px}
body.apgs-theme .av10-information :is(iframe,ymaps){max-width:100%}
body.apgs-theme .av10-information .adress a{display:block;margin-bottom:16px;padding-left:28px}
body.apgs-theme .av10-information .adress h3{margin-top:28px}
body.apgs-theme .av10-information .adress i{font-style:normal}
body.apgs-theme .av10-information .feedback{background:#fff;border:1px solid #dce3ec;border-radius:20px;padding:32px;margin:32px 0 0;width:100%}
body.apgs-theme .av10-information :is(.feedback_form,.feedback_form>div){height:auto;min-height:0}
body.apgs-theme .av10-information .feedback_form{display:grid;gap:16px;width:100%;margin:0}
body.apgs-theme .av10-information .feedback_desc{font:400 15px/24px APGSInter,sans-serif;margin:0;color:#627087}
body.apgs-theme .av10-information .feedback_form input:not([type=hidden]):not([type=submit]),body.apgs-theme .av10-information .feedback_form textarea,
body.apgs-theme #av10-quote #phone_feedback input:not([type=hidden]):not([type=submit]),body.apgs-theme #av10-quote #phone_feedback textarea{display:block;box-sizing:border-box;width:100%;min-width:0;height:48px;margin:0;padding:12px 16px;border:1px solid #dce3ec;border-radius:10px;box-shadow:none;background:#f7f9fc;color:#172033;font:400 16px/24px APGSInter,sans-serif}
body.apgs-theme .av10-information .feedback_form textarea{min-height:128px;height:auto;resize:vertical}
body.apgs-theme .av10-information .feedback_form input[type=submit],body.apgs-theme #av10-quote #phone_feedback :is(button[type=submit],input[type=submit]){display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:46px;height:auto;margin:0!important;padding:12px 22px!important;border:1px solid #2563eb;border-radius:12px;background:#2563eb;color:#fff;box-shadow:none;float:none;font:700 14px/20px APGSInter,sans-serif;white-space:nowrap;cursor:pointer}
body.apgs-theme .av10-information .feedback_desc2,body.apgs-theme #av10-quote .accept_rules{display:block;position:static;clear:both;font:400 13px/20px APGSInter,sans-serif!important;color:#627087;margin:0;padding:0;height:auto;width:auto;max-width:none}
body.apgs-theme #av10-quote [data-av10-quote-form]{min-width:0}
body.apgs-theme #av10-quote #phone_feedback>h2{display:none}
body.apgs-theme #av10-quote #phone_feedback form{display:grid;grid-template-columns:1fr;gap:16px;position:static;float:none;margin:0 0 20px;padding:0;width:100%;height:auto;min-height:0}
body.apgs-theme #av10-quote #phone_feedback input[type=hidden]{display:none!important}
body.apgs-theme #av10-quote #phone_feedback button{justify-self:start}
body.apgs-theme .av10-information a[href^='mailto:'],body.apgs-theme .av10-information a[href^='tel:']{color:#2563eb}
body.apgs-theme .av10-information .breadcrumbs{display:none}
/* Fit the initial assistant and selector to desktop viewport. Only growing areas scroll. */
@media(min-width:901px){
 body.apgs-theme .av10-screen[open]{display:flex;flex-direction:column;height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:24px 28px;overflow:hidden;gap:0}
 body.apgs-theme .av10-screen .av10-dialog-head{margin-bottom:12px;flex:none}
 body.apgs-theme .av10-screen .av10-dialog-head h2{font-size:24px;line-height:30px}
 body.apgs-theme .av10-screen .av10-subtitle{margin-bottom:16px;flex:none;font-size:14px;line-height:20px}
 body.apgs-theme .av10-screen :is(.av10-ai-layout,.av10-selection-layout){min-height:0;flex:1;gap:20px}
 body.apgs-theme .av10-screen .av10-panel{padding:20px;min-height:0;overflow:auto}
 body.apgs-theme .av10-ai-layout>section{display:flex;flex-direction:column}
 body.apgs-theme .av10-ai-layout .av10-messages{min-height:0;overflow:auto;flex:1}
 body.apgs-theme .av10-ai-layout #av10-ai-form{flex:none}
 body.apgs-theme #av10-ai-params{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.apgs-theme #av10-ai-params>button{grid-column:1/-1}
 body.apgs-theme .av10-screen .av10-fields{gap:12px}
 body.apgs-theme .av10-screen .av10-fields label{gap:6px}
 body.apgs-theme .av10-screen .av10-fields textarea{min-height:76px;height:76px;max-height:140px}
 body.apgs-theme .av10-screen .av10-panel h3{margin-bottom:12px}
 body.apgs-theme .av10-screen .av10-message{margin-bottom:12px;padding:12px 16px}
 body.apgs-theme .av10-screen .av10-ai-results:not([hidden]){flex:0 1 35%;min-height:100px;overflow:auto;margin-top:16px}
}
@media(max-width:900px){body.apgs-theme .av10-information h1.pagename{font-size:30px!important}body.apgs-theme .av10-information .av10-info-card{padding:24px}body.apgs-theme .av10-information .av10-info-topic{padding-left:24px}body.apgs-theme .av10-information .av10-info-topic:before{display:none}body.apgs-theme .av10-information .row>[class*='col-']{flex-basis:100%}body.apgs-theme .av10-information .feedback{padding:24px}body.apgs-theme .av10-screen{padding:20px}body.apgs-theme .av10-screen .av10-panel{padding:16px}body.apgs-theme .av10-screen .av10-fields{gap:12px}body.apgs-theme .av10-screen .av10-dialog-head{margin-bottom:16px}body.apgs-theme .av10-screen .av10-subtitle{margin-bottom:16px}body.apgs-theme .av10-screen .av10-ai-layout{gap:16px}body.apgs-theme .av10-screen .av10-selection-layout{gap:16px}body.apgs-theme .av10-screen .av10-fields textarea{height:76px;min-height:76px}body.apgs-theme .av10-screen .av10-panel-results{min-height:130px}}
@media(max-width:599px){body.apgs-theme .av10-information{padding-top:24px}body.apgs-theme .av10-information h1.pagename{font-size:28px!important;margin-bottom:24px}body.apgs-theme .av10-information .av10-info-card,body.apgs-theme .av10-information .feedback{padding:20px}body.apgs-theme .av10-information :is(h2,h3,.feedback_title){font-size:21px}body.apgs-theme .av10-information :is(p,li,.conttext,.adress a){font-size:15px;line-height:24px}body.apgs-theme .av10-information .feedback_form input[type=submit]{width:100%}}

/* Keep the site's proven quote handler, but make its legacy modal part of v10. */
body.apgs-theme .jquery-modal.blocker.current{z-index:10000;padding:16px;background:rgba(15,23,42,.56);backdrop-filter:blur(2px)}
body.apgs-theme #order-div.modal{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-width:640px;max-height:calc(100dvh - 32px);padding:32px;border:1px solid #dce3ec;border-radius:20px!important;background:#fff;box-shadow:0 24px 64px rgba(15,23,42,.24);overflow-x:hidden;overflow-y:auto;color:#172033;text-align:left}
body.apgs-theme #order-div #order-form{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;box-sizing:border-box;width:100%;max-width:none!important;margin:0;padding:0;font-family:APGSInter,Inter,sans-serif}
body.apgs-theme #order-div #order-form>h2{margin:0 48px 2px 0;color:#172033;font:700 30px/1.25 APGSInter,Inter,sans-serif;text-align:left;text-transform:none}
body.apgs-theme #order-div #order-form>p{margin:0;color:#627087;font:400 15px/22px APGSInter,Inter,sans-serif}
body.apgs-theme #order-div #order-form>p.title{color:#172033;font-weight:600;font-size:17px;line-height:24px;overflow-wrap:anywhere}
body.apgs-theme #order-div #order-form>p.art{color:#627087;font-size:14px;font-weight:400}
body.apgs-theme #order-div #order-form>p.art b{color:inherit;font-weight:600}
body.apgs-theme #order-div #order-form>p:has(>input[type=hidden]){display:none}
body.apgs-theme #order-div #order-form input[type=text],body.apgs-theme #order-div #order-form textarea{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:12px 16px;border:1px solid #d6deea;border-radius:12px;outline:0;background:#f7f9fc;box-shadow:none;color:#172033;font:400 16px/24px APGSInter,Inter,sans-serif;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
body.apgs-theme #order-div #order-form input[type=text]{height:48px;line-height:24px}
body.apgs-theme #order-div #order-form textarea{height:96px;min-height:96px;line-height:24px;resize:vertical}
body.apgs-theme #order-div #order-form input[type=text]:focus,body.apgs-theme #order-div #order-form textarea:focus{border-color:#2563eb;background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.14)}
body.apgs-theme #order-div #order-form input::placeholder,body.apgs-theme #order-div #order-form textarea::placeholder{color:#8b97aa;opacity:1}
body.apgs-theme #order-div #order-form>p.required{position:relative}
body.apgs-theme #order-div #order-form>p.required:before{content:'*';position:absolute;left:-13px;top:13px;color:#dc2626;font:700 16px/20px APGSInter,sans-serif}
body.apgs-theme #order-div #order-form>p:not([class]){color:#172033;font-weight:600;margin-top:2px}
body.apgs-theme #order-div #upload-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:auto;min-height:72px;margin:0;padding:16px;border:1px dashed #9fb0c5;border-radius:12px;outline:0;background:#f7f9fc;color:#42526a;text-align:center;font:400 14px/20px APGSInter,Inter,sans-serif;transition:border-color .15s ease,background .15s ease}
body.apgs-theme #order-div #upload-container.dragover{border-color:#2563eb;outline:0;background:#eaf1ff}
body.apgs-theme #order-div #upload-container>div{max-width:100%;overflow-wrap:anywhere}
body.apgs-theme #order-div #upload-container label{color:#2563eb;font-weight:700;text-decoration:none;cursor:pointer}
body.apgs-theme #order-div #upload-container label:hover{text-decoration:underline}
body.apgs-theme #order-div #upload-container label:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:3px;border-radius:4px}
body.apgs-theme #order-div #upload-container .selected_file{color:#172033;font-weight:600}
body.apgs-theme #order-div #order-form input[type=submit]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;height:auto;margin:2px 0 0;padding:12px 20px;border:1px solid #2563eb;border-radius:12px;background:#2563eb;box-shadow:none;color:#fff;font:700 15px/22px APGSInter,Inter,sans-serif;line-height:22px;text-transform:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}
body.apgs-theme #order-div #order-form input[type=submit]:hover{border-color:#1d4ed8;background:#1d4ed8}
body.apgs-theme #order-div #order-form input[type=submit]:active{transform:translateY(1px)}
body.apgs-theme #order-div #order-form input[type=submit]:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:3px}
body.apgs-theme #order-div .send-result{margin:40px 8px;color:#172033;font:700 22px/30px APGSInter,Inter,sans-serif;text-align:center}
body.apgs-theme #order-div.modal a.close-modal{top:20px;right:20px;width:40px;height:40px;border:1px solid #dce3ec;border-radius:12px;background:#fff;text-indent:-9999px;box-shadow:none}
body.apgs-theme #order-div.modal a.close-modal:before,body.apgs-theme #order-div.modal a.close-modal:after{content:'';position:absolute;left:11px;top:19px;width:18px;height:2px;border-radius:2px;background:#2563eb}
body.apgs-theme #order-div.modal a.close-modal:before{transform:rotate(45deg)}
body.apgs-theme #order-div.modal a.close-modal:after{transform:rotate(-45deg)}
body.apgs-theme #order-div.modal a.close-modal:hover{background:#f7f9fc}
body.apgs-theme #order-div.modal a.close-modal:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}
@media(max-width:599px){body.apgs-theme .jquery-modal.blocker.current{padding:8px}body.apgs-theme #order-div.modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:24px 20px;border-radius:16px!important}body.apgs-theme #order-div #order-form{gap:12px}body.apgs-theme #order-div #order-form>h2{margin-right:42px;font-size:24px;line-height:30px}body.apgs-theme #order-div #order-form>p.title{font-size:15px;line-height:22px}body.apgs-theme #order-div.modal a.close-modal{top:14px;right:14px;width:36px;height:36px}body.apgs-theme #order-div.modal a.close-modal:before,body.apgs-theme #order-div.modal a.close-modal:after{left:9px;top:17px}body.apgs-theme #order-div #upload-container{min-height:64px;padding:12px}body.apgs-theme #order-div #order-form textarea{height:84px;min-height:84px}}
/* Audit 3: compact section navigation above the catalogue, not another card grid. */
body.apgs-theme .av10-main>.row.zzz>.av10-directory-wrap{width:100%;margin:0 0 18px;padding:0 15px;box-sizing:border-box}
body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure{display:block;min-width:0}
body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure>summary{display:none}
body.apgs-theme .av10-main>.row.zzz .av10-directory{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:12px;border:1px solid #dce3ec;border-radius:16px;background:#fff}
body.apgs-theme .av10-main>.row.zzz .av10-directory a{flex:0 1 auto;min-height:38px;max-width:100%;margin:0;padding:8px 12px;border:1px solid #e5eaf2;border-radius:9px;background:#f7f9fc;color:#172033;font-size:13px;line-height:20px;font-weight:600;text-decoration:none}
body.apgs-theme .av10-main>.row.zzz .av10-directory a:hover{border-color:#a8c0ff;background:#eaf1ff;color:#1d4ed8;text-decoration:none}
body.apgs-theme .av10-main>.row.zzz .av10-directory a:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
body.apgs-theme .av10-main>.row.zzz .av10-directory img{display:none}
/* Keep the white sidebar panels; remove borders only around individual filter types. */
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar{border:1px solid #dce3ec!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important;padding:16px!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter{border:0!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important;padding:16px!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-sidebar :is(.menu-submenu,.submenu-submenu,.submenu-level3){border:0!important;margin-left:0!important;padding-left:8px!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter :is(.bx-filter,.smart-filter,.bx-filter-section){border:0!important;border-radius:0!important;box-shadow:none!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter :is(.bx-filter,.smart-filter){padding:0!important}
body.apgs-theme .av10-main:not(:has(#apgs-product-card)) .catalog-filter :is(.bx-filter-parameters-box,.bx-filter-parameters-box-title,.bx-filter-parameters-box-title>span){border:0!important;box-shadow:none!important}
/* Audit 5: the whole filter moves into the mobile dialog and keeps its usable layout. */
body.apgs-theme #av10-filter [data-av10-filter-content],body.apgs-theme #av10-filter .catalog-filter,body.apgs-theme #av10-filter :is(.bx-filter,.smart-filter,.bx-filter-section){width:100%;min-width:0;max-width:100%;margin:0;box-sizing:border-box}
body.apgs-theme #av10-filter .catalog-filter,body.apgs-theme #av10-filter :is(.bx-filter,.smart-filter,.bx-filter-section){padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.apgs-theme #av10-filter .catalog-filter>h3{display:none}
body.apgs-theme #av10-filter .bx-filter-title{float:none;width:100%;margin:0 0 8px;padding:0 0 12px;border-bottom:1px solid #dce3ec;color:#172033;font:700 16px/24px APGSInter,Inter,sans-serif}
body.apgs-theme #av10-filter .bx-filter-parameters-box{float:none;width:100%;padding:0;border:0}
body.apgs-theme #av10-filter .bx-filter-parameters-box-title{position:relative;display:block;width:100%;min-height:44px;margin:0;padding:11px 24px 11px 0;border:0;background:transparent;color:#172033;font:500 14px/22px APGSInter,Inter,sans-serif;box-sizing:border-box}
body.apgs-theme #av10-filter .bx-filter-parameters-box-title>span{display:block;width:100%;border:0;color:inherit!important}
body.apgs-theme #av10-filter .bx-filter-parameters-box-title :is(i,[data-role=prop_angle]){display:none!important}
body.apgs-theme #av10-filter .bx-filter-parameters-box-title>span:after{display:none!important;content:none!important}
body.apgs-theme #av10-filter .bx-filter-parameters-box-title:after{content:'';position:absolute;right:4px;top:17px;width:8px;height:8px;border-right:1.5px solid #7c8aa0;border-bottom:1.5px solid #7c8aa0;transform:rotate(45deg)}
body.apgs-theme #av10-filter .bx-filter-parameters-box.bx-active>.bx-filter-parameters-box-title:after{top:21px;transform:rotate(225deg)}
body.apgs-theme #av10-filter .bx-filter-parameters-box-container{min-width:0;margin:0;padding:4px 0 14px;box-sizing:border-box}
body.apgs-theme #av10-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;direction:ltr!important}
body.apgs-theme #av10-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container-block{float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important;box-sizing:border-box}
body.apgs-theme #av10-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container-block.bx-left{grid-column:1!important;grid-row:1!important}
body.apgs-theme #av10-filter .bx-filter-parameters-box:has(.bx-ui-slider-track) .bx-filter-parameters-box-container-block.bx-right{grid-column:2!important;grid-row:1!important}
body.apgs-theme #av10-filter .bx-filter-input-container input{width:100%!important;min-width:0;height:42px;padding:9px 10px;border:1px solid #dce3ec;border-radius:10px;background:#f7f9fc;color:#172033;font:500 14px/22px APGSInter,Inter,sans-serif;box-sizing:border-box}
body.apgs-theme #av10-filter .bx-ui-slider-track-container{grid-column:1/-1!important;grid-row:2!important;float:none!important;clear:both;width:100%!important;margin:8px 0 0!important;padding:18px 10px 12px!important;box-sizing:border-box}
/* The mobile filter is moved outside .av10-main, so the desktop slider rules cannot reach it. */
body.apgs-theme #av10-filter .bx-ui-slider-track{position:relative;display:block;width:100%;height:5px!important;border-radius:999px;background:#dce3ec!important;overflow:visible}
body.apgs-theme #av10-filter :is(.bx-ui-slider-pricebar-vd,.bx-ui-slider-pricebar-vn,.bx-ui-slider-pricebar-v,.bx-ui-slider-range){position:absolute;top:0;height:100%;border-radius:999px}
body.apgs-theme #av10-filter :is(.bx-ui-slider-pricebar-vd,.bx-ui-slider-pricebar-vn){background:#dce3ec!important}
body.apgs-theme #av10-filter .bx-ui-slider-pricebar-v{background:#2563eb!important}
body.apgs-theme #av10-filter .bx-ui-slider-range{z-index:2}
body.apgs-theme #av10-filter .bx-ui-slider-part{position:absolute;top:-6px;display:block;width:1px;height:17px;background:#a2bfc7}
body.apgs-theme #av10-filter .bx-ui-slider-part.p1{left:0}
body.apgs-theme #av10-filter .bx-ui-slider-part.p5{right:0}
body.apgs-theme #av10-filter .bx-ui-slider-part:is(.p2,.p3,.p4){display:none}
body.apgs-theme #av10-filter .bx-ui-slider-part span{position:absolute;top:-20px;display:block;color:#172033;white-space:nowrap}
body.apgs-theme #av10-filter .bx-ui-slider-part.p1 span{left:0}
body.apgs-theme #av10-filter .bx-ui-slider-part.p5 span{right:0}
body.apgs-theme #av10-filter .bx-ui-slider-handle{position:absolute;top:50%;z-index:3;display:block;width:20px;height:20px;border:2px solid #fff;border-radius:50%;background:#2563eb!important;box-shadow:0 0 0 1px #2563eb;transform:translateY(-50%);box-sizing:border-box;touch-action:none}
body.apgs-theme #av10-filter .bx-ui-slider-handle.left{margin-left:-10px}
body.apgs-theme #av10-filter .bx-ui-slider-handle.right{margin-right:-10px}
body.apgs-theme #av10-filter .bx-filter-button-box{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:14px;border-top:1px solid #dce3ec}
body.apgs-theme #av10-filter .bx-filter-button-box :is(button,input[type=submit],input[type=button]){flex:1 1 120px;min-height:44px;margin:0;padding:10px 12px;border:1px solid #dce3ec;border-radius:10px;font:700 13px/20px APGSInter,Inter,sans-serif;cursor:pointer}
body.apgs-theme #av10-filter .bx-filter-button-box :is(#set_filter,[name=set_filter]){border-color:#2563eb;background:#2563eb;color:#fff}
body.apgs-theme #av10-filter .bx-filter-button-box :is(#del_filter,[name=del_filter]){background:#fff;color:#172033}
body.apgs-theme #av10-filter .bx-filter-parameters-box-container label{max-width:100%;overflow-wrap:anywhere}
/* Audit 6-7: keep product photography flat and home category links unadorned. */
body.apgs-theme #apgs-product-card :is(.apgs-card__media,.apgs-card__media img,.apgs-related-card__image,.apgs-related-card__image img){box-shadow:none!important;filter:none!important}
body.apgs-theme .av10-home :is(.av10-category-links a,.av10-text-link):hover{text-decoration:none!important}
@media(max-width:900px){body.apgs-theme #av10-filter{width:min(100% - 16px,440px);max-height:calc(100dvh - 16px);padding:20px;overflow-x:hidden;overflow-y:auto}body.apgs-theme #av10-filter .bx-filter-parameters-box-container>*{max-width:100%}body.apgs-theme .av10-main>.row.zzz>.av10-directory-wrap{padding:0}}
@media(max-width:599px){body.apgs-theme #av10-filter{padding:16px}body.apgs-theme .av10-main>.row.zzz .av10-directory{padding:10px;gap:6px}body.apgs-theme .av10-main>.row.zzz .av10-directory a{font-size:12px;line-height:18px}}
/* Span the filter and product columns; keep the right edge aligned with product cards. */
@media(min-width:901px){body.apgs-theme .av10-main>.row.zzz:not(.order10-hfilter)>.av10-directory-wrap{width:calc(100% - 38px);margin-left:0}}
@media(max-width:900px){
 body.apgs-theme .av10-main>.row.zzz>.av10-directory-wrap{width:100%;margin:0 0 16px;padding:0 15px}
 body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure{border:1px solid #dce3ec;border-radius:14px;background:#fff;overflow:hidden}
 body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:12px 16px;color:#172033;font:700 14px/20px APGSInter,Inter,sans-serif;list-style:none;cursor:pointer}
 body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure>summary::-webkit-details-marker{display:none}
 body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure>summary span{color:#627087;font-weight:500}
 body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure>summary:after{content:'⌄';margin-left:auto;color:#627087;font-size:20px;line-height:16px}
 body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure[open]>summary:after{transform:rotate(180deg)}
 body.apgs-theme .av10-main>.row.zzz .av10-directory-disclosure>summary:focus-visible{outline:2px solid #2563eb;outline-offset:-3px}
 body.apgs-theme .av10-main>.row.zzz .av10-directory{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0 16px 8px;border:0;border-radius:0}
 body.apgs-theme .av10-main>.row.zzz .av10-directory a{display:block;width:100%;min-height:42px;max-width:none;padding:11px 0;border:0;border-top:1px solid #e5eaf2;border-radius:0;background:#fff;font-size:13px;line-height:20px;font-weight:500}
 body.apgs-theme .av10-main>.row.zzz .av10-directory a:hover{background:#fff;color:#1d4ed8}
 body.apgs-theme #av10-filter{box-sizing:border-box;padding:20px!important}
 body.apgs-theme #av10-filter [data-av10-filter-content]{box-sizing:border-box;width:100%;padding:0 6px;overflow-x:hidden}
 body.apgs-theme #av10-filter .bx-filter-section>.row,body.apgs-theme #av10-filter .bx-filter form>.row{margin-left:0!important;margin-right:0!important}
 body.apgs-theme #av10-filter .bx-filter-section>.row>[class*=col-],body.apgs-theme #av10-filter .bx-filter form>.row>[class*=col-]{min-width:0;padding-left:0!important;padding-right:0!important}
 body.apgs-theme #av10-filter .bx-filter-parameters-box-container{width:100%;max-width:100%;overflow:visible}
}
@media(max-width:599px){body.apgs-theme #av10-filter{padding:16px!important}body.apgs-theme #av10-filter [data-av10-filter-content]{padding:0 8px}body.apgs-theme .av10-main>.row.zzz>.av10-directory-wrap{padding:0}}
