/* ГороДверей: standalone picker. Scoped CSS, no global overrides. */
.gdp2{--gdp2-gold:#ecac50;--gdp2-fg:#f7f1ea;--gdp2-soft:#b8aaa0;--gdp2-line:#574d42;box-sizing:border-box;width:min(100%,1480px);margin:16px auto 26px;padding:20px 24px 15px;border:1px solid #554a3e;border-radius:13px;background:radial-gradient(ellipse at 55% 45%,#2b2520 0%,#201d19 65%,#171613 100%);color:var(--gdp2-fg);font-family:inherit;box-shadow:0 14px 42px #0002}
.gdp2 *,.gdp2 *:before,.gdp2 *:after{box-sizing:border-box}
.gdp2 [hidden]{display:none!important}
.gdp2__header{display:flex;align-items:start;justify-content:space-between;gap:20px;margin:0 0 14px}
.gdp2__header h2{color:var(--gdp2-fg);font-size:clamp(21px,2vw,27px);font-weight:730;line-height:1.16;letter-spacing:-.02em;margin:0 0 3px}
.gdp2__header p{margin:0;color:var(--gdp2-soft);font-size:12px;line-height:1.45}
.gdp2 a{color:#e8ded0;text-decoration:underline;text-underline-offset:3px}
.gdp2__all{font-size:12px;white-space:nowrap;margin-top:5px}
.gdp2__all:hover{color:#ffd098}
.gdp2 fieldset{border:0;margin:0;padding:0;min-width:0;background:none}
.gdp2 fieldset legend{font-size:13px;font-weight:700;color:var(--gdp2-fg);margin:0 0 9px;padding:0;line-height:1.25}
.gdp2__grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);column-gap:25px;row-gap:12px}
.gdp2__purpose{grid-column:1;grid-row:1;padding-right:23px!important;border-right:1px solid var(--gdp2-line)!important}
.gdp2__budget{grid-column:2;grid-row:1}
.gdp2__finish{grid-column:1 / -1;grid-row:2}
.gdp2__purpose-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gdp2 button{font-family:inherit;cursor:pointer;appearance:none;-webkit-appearance:none;line-height:1.2}
.gdp2__purpose-list button{position:relative;display:grid;grid-template-columns:minmax(0,64%) minmax(0,1fr) 18px;align-items:center;gap:9px;height:160px;margin:0;padding:0 9px 0 0;color:#f6f0e8;text-align:left;font-size:12px;font-weight:700;background:#26231f;border:1px solid #5e5144;border-radius:9px;overflow:hidden;box-shadow:none}
.gdp2__purpose-list button img{width:100%;height:160px;object-fit:cover;display:block}
.gdp2__purpose-list button:hover{background:#312920;border-color:#bc8c4f}
.gdp2__purpose-list button[aria-pressed=true]{background:#392c1f;border-color:var(--gdp2-gold);box-shadow:inset 0 0 0 1px var(--gdp2-gold)}
.gdp2__check{border:1px solid #78634e;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:transparent}
.gdp2__purpose-list button[aria-pressed=true] .gdp2__check{background:var(--gdp2-gold);color:#342110;border-color:var(--gdp2-gold)}
.gdp2__chips{display:grid;gap:6px}
.gdp2__chips--budget{grid-template-columns:repeat(2,minmax(0,1fr))}
.gdp2__chips--finish{grid-template-columns:repeat(4,minmax(0,1fr));max-width:755px;gap:9px}
.gdp2__chips button{font-size:12px;font-weight:500;min-height:29px;margin:0;padding:5px 8px;border:1px solid #65594c;border-radius:8px;background:#282520;color:#f0e7df;box-shadow:none;text-align:center}
.gdp2__chips button:hover{border-color:#c28a47;background:#332920}
.gdp2__chips button[aria-pressed=true]{border-color:var(--gdp2-gold);background:linear-gradient(125deg,#493722,#34291e);box-shadow:inset 0 0 0 1px #e0a64e36}
.gdp2__footer{display:flex;align-items:center;gap:18px;min-height:47px;padding:10px 0 0;margin-top:12px;border-top:1px solid var(--gdp2-line)}
.gdp2__footer strong{color:var(--gdp2-fg);font-size:16px;line-height:1.2;font-weight:740}
.gdp2__reset{border:0;border-left:1px solid var(--gdp2-line);background:transparent;color:#c7b39c;padding:3px 0 3px 18px;font-size:12px;min-height:auto}
.gdp2__reset:hover{text-decoration:underline;color:#ffd49f}
.gdp2__submit{margin-left:auto;border:0;border-radius:8px;background:linear-gradient(125deg,#e3a04c,#f1ba65);color:#1e140e;padding:10px 17px;min-width:155px;min-height:35px;font-size:12px;font-weight:720;box-shadow:none}
.gdp2__submit:hover{filter:brightness(1.08)}
.gdp2__note{font-size:10px;color:#b7a697;margin:3px 0 0;line-height:1.5}
.gdp2__results{margin-top:15px;padding-top:17px;border-top:1px solid var(--gdp2-line)}
.gdp2__results-head{display:flex;align-items:baseline;gap:14px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.gdp2__results-head h3{font-size:18px;color:#fff7ed;margin:0}
.gdp2__results-head span{font-size:12px;color:#c5b6a6}
.gdp2__products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gdp2__product{overflow:hidden;background:#28241f;border:1px solid #50483d;border-radius:9px}
.gdp2__product-image{display:block;aspect-ratio:4/3;background:#36302a;overflow:hidden}
.gdp2__product-image img{display:block;width:100%;height:100%;object-fit:contain;padding:8px}
.gdp2__product-body{padding:10px}
.gdp2__product-title{display:block;font-size:12px;font-weight:700;line-height:1.4;color:#f4eade!important;text-decoration:none!important;min-height:35px}
.gdp2__product-title:hover{text-decoration:underline!important}
.gdp2__product-sub{display:block;font-size:10px;color:#b8a99a;margin:5px 0}
.gdp2__product-more{font-size:11px!important;color:#f3b664!important}
.gdp2__results-actions{display:flex;gap:10px;justify-content:center;margin-top:14px}
.gdp2__more,.gdp2__help{border:1px solid #77624e;border-radius:7px;padding:9px 14px;background:#322920;color:#fff0df;font-size:12px}
.gdp2__help{border-color:#e5a64f;background:#e5a64f;color:#1a120b;font-weight:700}
.gdp2__error{font-size:14px;color:#f2c6b4}
.gdp2 button:focus-visible,.gdp2 a:focus-visible{outline:2px solid #ffd18a;outline-offset:3px}
@media(max-width:1000px){.gdp2{padding:18px 18px 14px}.gdp2__grid{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:12px 16px}.gdp2__purpose{padding-right:14px!important}.gdp2__purpose-list button{font-size:11px}.gdp2__products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:730px){.gdp2{padding:17px 14px 14px;border-radius:10px}.gdp2__header{flex-wrap:wrap;gap:6px}.gdp2__header h2{font-size:22px}.gdp2__all{margin:0}.gdp2__grid{grid-template-columns:1fr;gap:14px}.gdp2__purpose{grid-column:1;grid-row:1;border:0!important;padding:0!important}.gdp2__budget{grid-column:1;grid-row:2}.gdp2__finish{grid-column:1;grid-row:3}.gdp2__chips--finish{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.gdp2__footer{flex-wrap:wrap;gap:9px}.gdp2__footer strong{width:100%}.gdp2__reset{border-left:0;padding-left:0}.gdp2__submit{flex:1 1 auto}.gdp2__products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.gdp2__purpose-list button{grid-template-rows:108px auto;height:154px}.gdp2__purpose-list button img{height:108px}.gdp2__chips--budget button{font-size:11px}.gdp2__products{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.gdp2 *{transition:none!important}}

/* 2.0.2: enlarged apartment/house photos. On narrow screens photos move above the label. */
@media(max-width:1150px){
  .gdp2__purpose-list button{grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:116px auto;gap:0 6px;height:164px;min-width:0;padding:0 10px 9px;align-items:center}
  .gdp2__purpose-list button img{grid-column:1 / -1;grid-row:1;width:calc(100% + 20px);height:116px;margin:0 -10px;object-fit:cover}
  .gdp2__purpose-list button>span:not(.gdp2__check){grid-column:1;grid-row:2}
  .gdp2__purpose-list button .gdp2__check{grid-column:2;grid-row:2;justify-self:end}
}
@media(max-width:390px){
  .gdp2__purpose-list button{grid-template-rows:108px auto;height:154px}
  .gdp2__purpose-list button img{height:108px}
}
