/* ЮЖНО v11: unified architectural catalog + polished, accessible dropdowns. */
:root{--yz11-yellow:#f5cf2f;--yz11-ink:#121515}
.project-card-visual{background:#242627!important}
.project-card-visual img{object-fit:cover!important;object-position:center!important;aspect-ratio:1.66!important}
.project-card:hover .project-card-visual img{transform:scale(1.015)!important}
.detail-hero>img{object-fit:contain!important;background:#eeeae0}
.detail-variants img{object-fit:contain!important;background:#e6e2d8}
.yz-est__popup{min-width:min(310px,calc(100vw - 48px));width:min(430px,calc(100vw - 56px));padding:22px 24px!important;line-height:1.75!important;border:1px solid #e4d9b5!important;box-shadow:0 18px 52px rgba(0,0,0,.38)!important}
.yz-est__popup b{font-size:14px!important;line-height:1.4}
.yz-est__group{transition:border-color .18s ease,background .18s ease}
.yz-est__group:hover{border-color:#786b40}
.yz-est__group>summary:hover{background:rgba(246,206,50,.055);border-radius:13px}
.yz-est__qty{border:1px solid #81744e!important;border-radius:9px!important;min-height:40px!important;box-shadow:none!important}
.yz-est__qty:focus{border-color:#f6ce32!important;outline:2px solid #f6ce32!important;outline-offset:2px}
.yz-est__sr-title{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
/* All original selects remain in the DOM and receive genuine input/change events. */
.yz11-select{position:relative;min-width:150px;display:block;width:100%;isolation:isolate;color:#fff}
.yz11-select .yz11-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)}
.yz11-select__trigger{background:linear-gradient(145deg,#282b2b,#1b1e1f);color:#f4f4ef;display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;width:100%;min-height:48px;padding:11px 14px 11px 17px;border:1px solid #74766e;border-radius:11px;font:600 13px/1.4 Manrope,Arial,sans-serif;letter-spacing:0;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
.yz11-select__trigger:hover{border-color:#edd059;background:#303431}
.yz11-select__trigger:focus-visible{outline:3px solid var(--yz11-yellow);outline-offset:2px}
.yz11-select.is-open .yz11-select__trigger{border-color:#f5cf2f;box-shadow:0 0 0 2px #f5cf2f33}
.yz11-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.yz11-select__chevron{width:20px;height:20px;flex:none;border:1px solid #756928;border-radius:7px;display:grid;place-items:center;color:#f5cf2f;background:#292a23;transition:transform .15s ease}
.yz11-select.is-open .yz11-select__chevron{transform:rotate(180deg)}
.yz11-select__menu{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:12000;background:#181b1a;border:1px solid #796c3a;border-radius:13px;box-shadow:0 22px 65px #0009;padding:6px;max-height:min(310px,55vh);overflow:auto;overscroll-behavior:contain}
.yz11-select__menu[hidden]{display:none!important}
.yz11-select__option{width:100%;text-align:left;color:#f2f1ed;background:transparent;border:0;border-radius:7px;min-height:40px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:9px;cursor:pointer;font:550 12.5px/1.5 Manrope,Arial,sans-serif}
.yz11-select__option:hover,.yz11-select__option:focus-visible{outline:0;color:#f5cf2f;background:#33352e}
.yz11-select__option[aria-selected="true"]{background:#3a3825;color:#f5cf2f;font-weight:800}
.yz11-select__option[aria-selected="true"]::after{content:"✓";color:#f5cf2f;font-weight:900}
/* For label-contained dropdowns ensure the popup can escape its row. */
.project-sort-label,.calc-fields label,.lead-form>label,.yz-est__top label{overflow:visible!important}
.yz-est .yz11-select{max-width:380px;margin-top:12px}
.project-sort-label .yz11-select{width:230px;max-width:min(230px,75vw);margin-left:7px}
.lead-form .yz11-select__trigger{background:#242725;min-height:49px}
.calc-fields .yz11-select__trigger{background:#1c1f1e}
@media(max-width:520px){.project-sort-label .yz11-select{width:min(230px,calc(100vw - 132px))}.yz-est__popup{width:min(330px,calc(100vw - 58px));padding:19px!important}.yz11-select__trigger{font-size:12px}.yz11-select__menu{max-height:42vh}}
/* Request UX: honest fallback to email until an RF-localized endpoint is configured. */
.yz11-lead{border:1px solid #665a35;border-radius:14px;padding:22px;background:linear-gradient(145deg,#222520,#181a19);margin:20px 0 26px;display:grid;gap:13px}
.yz11-lead h4{margin:0;color:#fff;font-size:18px;line-height:1.35}
.yz11-lead p{font-size:12px;color:#c8c7bb;line-height:1.7;margin:0}
.yz11-lead__grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.yz11-lead label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#efeee9}
.yz11-lead input,.yz11-lead textarea{width:100%;min-width:0;background:#121514;border:1px solid #6e7068;border-radius:9px;padding:12px;color:white;font:500 13px Manrope,Arial,sans-serif;min-height:46px}
.yz11-lead textarea{min-height:85px;resize:vertical}
.yz11-lead input:focus,.yz11-lead textarea:focus{outline:2px solid #f5cf2f;outline-offset:1px}
.yz11-lead__consent{display:flex!important;align-items:flex-start;gap:9px!important;font-size:11px!important;line-height:1.6;color:#d3d2c8!important;font-weight:500!important}
.yz11-lead__consent input{width:17px;min-height:17px;height:17px;flex:none;accent-color:#f5cf2f;margin-top:2px}
.yz11-lead__consent a{color:#f5cf2f;text-decoration:underline}
.yz11-lead__submit{width:100%;min-height:48px;border:0;border-radius:9px;background:#f5cf2f;color:#151515;font:800 13px Manrope,Arial,sans-serif;cursor:pointer}
.yz11-lead__submit:hover{background:#ffe06a}
.yz11-lead__status{min-height:1em;color:#e8e4ce;font-size:12px;line-height:1.55}
.yz11-lead__fallback{font-size:10px!important;color:#aaa99d!important}
@media(max-width:600px){.yz11-lead{padding:17px}.yz11-lead__grid{grid-template-columns:1fr}}
/* Dropdown menus must be above catalog cards (catalog slider is later in DOM). */
.yz11-select.is-open{z-index:20000!important}
.project-toolbar:has(.yz11-select.is-open),.project-sort-label:has(.yz11-select.is-open),.calc-fields:has(.yz11-select.is-open),.yz-est__top:has(.yz11-select.is-open){position:relative;z-index:20000!important;isolation:isolate}
