#modals.show:has(.agency-details){overflow-y:auto}.agency-details__dialog{width:calc(100% - 32px);max-width:1320px;margin:28px auto}.agency-details.modal-content{position:relative;border:0;border-radius:25px;overflow:hidden;background:var(--white,#fff);color:var(--blue,#36447a)}.agency-details__layout{display:grid;grid-template-columns:53% minmax(0,1fr);min-height:749px}.agency-details__photo{position:relative;min-width:0}.agency-details__photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.agency-details__close{position:absolute;z-index:3;top:16px;right:20px;display:grid;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:50%;background:var(--white,#fff)}.agency-details__info{display:flex;flex-direction:column;align-items:stretch;gap:28px;min-width:0;padding:36px clamp(32px,5.15vw,99px) 28px;font-size:16px;line-height:25px}.agency-details h2,.agency-details h3,.agency-details p{margin:0;color:inherit}.agency-details h2{font-size:22px;font-weight:700;line-height:32px}.agency-details h3{font-size:16px;font-weight:600;line-height:22px}.agency-details a{color:inherit;text-decoration:none}.agency-details a:hover{text-decoration:underline}.agency-details__header{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.agency-details__city{padding:2px 6px;border:1px solid var(--blue,#36447a);border-radius:999px;background:var(--blue-lighter,#f4f4f7);font-size:11px;font-weight:600;line-height:normal}.agency-details__section,.agency-details__agent{display:flex;flex-direction:column;gap:12px;min-width:0}.agency-details__row{display:flex;align-items:flex-start;gap:3px;min-width:0}.agency-details__row>span:last-child{min-width:0;overflow-wrap:anywhere}.agency-details__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px}.agency-details__icon picture,.agency-details__close picture{display:inline-flex;align-items:center;justify-content:center}.agency-details__phones{display:flex;gap:20px;flex-wrap:wrap}.agency-details__phones a{white-space:nowrap}.agency-details__agent{padding:15px 19px;border-radius:10px;background:var(--blue-lighter,#f4f4f7)}.agency-details__documents{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.agency-details__documents>span{max-width:100%;padding:4px 10px;border:1px solid #d9d9d9;border-radius:6px;background:#f2f2f2;line-height:22px;overflow-wrap:anywhere}.agency-details__actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.agency-details .agency-details__offer{display:inline-flex;justify-content:center;padding:14.4px 24px;border-radius:999px;background:var(--orange-gradient,linear-gradient(135deg,#ff6900,#f54900));color:var(--white,#fff);font-weight:700;line-height:24px;text-align:center}.agency-details__share{align-items:center;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit}.agency-details__share:hover{text-decoration:underline}.agency-details__share-status:empty{display:none}@media (max-width:1199.98px){.agency-details__layout{grid-template-columns:42% minmax(0,1fr);min-height:800px}.agency-details__info{padding:52px 32px 28px}.agency-details h2{line-height:30px}.agency-details__close{top:12px;right:14px}}@media (max-width:767.98px){.agency-details__dialog{width:100%;max-width:none;margin:0;min-height:100%}.agency-details.modal-content{border-radius:0}.agency-details__layout{grid-template-columns:minmax(0,1fr);min-height:0}.agency-details__photo{height:320px}.agency-details__info{padding:24px 24px 28px}.agency-details__agent{padding-inline:12px}.agency-details__actions{flex-direction:column}.agency-details__offer{width:100%}.agency-details__close{right:12px}}
