.kz-house-offer, .kz-location-directory, .kz-choose-branch, .kz-home-proof { box-sizing: border-box; width: min(100% - 32px, 1080px); margin: 20px auto; }
.kz-house-offer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(170px, .72fr); border: 1px solid #abc2b3; background: #f1f6ee; color: #173d30; border-radius: 16px; overflow: hidden; text-align: left; }
.kz-offer-body { padding: clamp(16px, 3vw, 32px); align-self: center; }
.kz-house-offer .kz-offer-partner { color: #315c48; font-size: .9rem; font-weight: 700; margin: 0 0 .45rem; }
.kz-house-offer h2 { color: #173d30; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.4; margin: 0 0 .6rem; }
.kz-house-offer ul { display: flex; flex-wrap: wrap; gap: 4px 7px; list-style: none; padding: 0; margin: .6rem 0; }
.kz-house-offer li { list-style: none; background: white; border: 1px solid #a1bda9; padding: 2px 9px; border-radius: 5px; color: #234e3d; font-weight: 650; }
.kz-house-offer p { margin: .5rem 0; line-height: 1.65; }
.kz-house-offer figure { position: relative; padding: 0; margin: 0; min-width: 0; display: flex; align-items: center; overflow: hidden; background: #e7ede1; }
.kz-house-offer figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kz-house-offer figure figcaption { position: absolute; bottom: 0; right: 0; font-size: .73rem; padding: .12rem .38rem; background: #fff; color: #365041; }
.kz-offer-links, .kz-branch-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: .7rem 0 .2rem; }
.kz-offer-links a, .kz-branch-choices a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; line-height: 1.4; font-weight: 650; border-radius: 7px; box-sizing: border-box; padding: .45rem .8rem; text-decoration: underline; text-underline-offset: .16em; }
.kz-offer-links a:first-child, .kz-branch-choices a.kz-form-choice { color: #fff; background: #174936; text-decoration: none; }
.kz-offer-links a + a, .kz-branch-choices a.kz-line-choice { color: #164934; background: #fff; border: 1px solid #59876e; }
.kz-fold, .kz-location-card details { margin: .55rem 0; border: 1px solid #c6d4ca; border-radius: 8px; background: #fff; padding: 0 .85rem; text-align: left; color: #1e4435; min-width: 0; }
.kz-fold > summary, .kz-location-card details > summary { cursor: pointer; min-height: 46px; box-sizing: border-box; padding: .65rem 0; font-size: 1rem; font-weight: 700; color: #204a38; line-height: 1.55; }
.kz-fold[open] { padding-bottom: .6rem; }
.kz-fold [id], #kz-contact-branch, #choose-branch { scroll-margin-top: 80px; }
.kz-house-offer a:focus-visible, .kz-branch-choices a:focus-visible, .kz-fold summary:focus-visible, .kz-location-card summary:focus-visible { outline: 3px solid #b25400; outline-offset: 2px; }
.kz-location-directory h1 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.kz-location-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: .8rem 0; }
.kz-location-card { padding: clamp(12px, 2vw, 20px); border: 1px solid #c7d4ca; border-radius: 12px; text-align: left; background: #fff; min-width: 0; }
.kz-location-card h2, .kz-location-card h3 { margin: 0 0 .3rem; font-size: 1.18rem; color: #1a4736; }
.kz-location-card p { margin: .3rem 0; line-height: 1.55; }
.kz-location-card details { padding: 0; border: 0; }
.kz-location-card a { overflow-wrap: anywhere; }
.kz-real-case { display: grid; grid-template-columns: minmax(115px, 220px) 1fr; gap: clamp(10px, 2vw, 22px); align-items: center; background: #faf8f3; border: 1px solid #dfded0; padding: 10px; border-radius: 10px; color: #293b32; }
.kz-real-case img { width: 100%; height: 110px; object-fit: cover; border-radius: 5px; display: block; }
.kz-real-case figcaption { font-size: .95rem; line-height: 1.6; margin: 0; text-align: left; }
.kz-branch-quick { justify-content: inherit; }
.kz-scrap-price-guide td small { display: inline-block; text-align: left; font-size: .82rem; line-height: 1.45; white-space: normal; font-weight: 500; color: #3d4b41; }
@media(max-width:760px) {
 .kz-location-cards { grid-template-columns: minmax(0, 1fr); }
 .kz-house-offer { grid-template-columns: minmax(0, 1fr); }
 .kz-house-offer figure { order: -1; height: clamp(88px, 24vw, 132px); }
 .kz-house-offer figure img { object-fit: contain; }
 .kz-location-card .kz-branch-choices a { flex: 1 1 9rem; }
 .kz-real-case { grid-template-columns: minmax(84px, 36%) 1fr; }
 .kz-real-case img { height: 90px; }
 .kz-home-proof, .kz-location-directory, .kz-choose-branch, .kz-house-offer { width: min(100% - 20px, 1080px); }
 .kz-branch-choices a { font-size: .92rem; }
 .kz-scrap-price-guide td:has(small) { white-space: normal; min-width: 7em; }
}

.kz-offer-shortcut { margin: .45rem 0; }
.kz-offer-shortcut a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border: 1px solid #739980; border-radius: 7px; background: #f1f6ee; color: #204936; font-size: .92rem; font-weight: 650; text-underline-offset: .16em; }
#irie-appliance-offer { scroll-margin-top: 80px; }
details.kz-choose-branch { max-width: 1080px; margin: 10px auto; }
