/* Contact panel on the listing page (estate_info_table.jsp), all widths; phone sticky bar (estate_view.jsp).
   Public only. Theme "Б · Шума" (deploy 4c): colours match css/theme.css tokens, written as literals so this file stands alone. */
.contact-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;padding:16px;background:#fff;border:1px solid #d9e3dc;border-radius:4px;box-shadow:none;text-align:left}
.contact-panel>*{grid-column:1/-1}
.contact-panel-title{margin:0;font-family:inherit;font-size:16px;line-height:1.35;font-weight:700;color:#13201a}
.contact-panel-code{margin:-6px 0 2px;font-size:14px;color:#526058}
.contact-panel-code strong{color:#13201a}
.contact-panel a.contact-panel-btn{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;margin:0;padding:8px 12px;border:1px solid transparent;border-radius:4px;color:#fff;font-size:15px;line-height:1.25;font-weight:600;text-decoration:none;text-align:center;text-shadow:none}
.contact-panel a.contact-panel-btn:hover,.contact-panel a.contact-panel-btn:focus{color:#fff;text-decoration:none;filter:brightness(1.08)}
.contact-panel a.contact-panel-btn svg{flex:none;width:20px;height:20px;margin:0;fill:currentColor}
.contact-panel a.contact-panel-inquiry{background:#53b852;color:#0f3328}
.contact-panel a.contact-panel-inquiry:hover,.contact-panel a.contact-panel-inquiry:focus{color:#0f3328}
.contact-panel a.contact-panel-call{min-height:48px;background:#0f3328;font-size:16px}
.contact-panel a.contact-panel-viber,.contact-panel a.contact-panel-whatsapp,.contact-panel a.contact-panel-email{grid-column:auto;padding:8px 6px;font-size:14px}
.contact-panel a.contact-panel-viber{background:#665cac}
.contact-panel a.contact-panel-whatsapp{background:#0f7a3f}
.contact-panel a.contact-panel-email{background:#fff;color:#13201a;border-color:#c6d3ca}
.contact-panel a.contact-panel-email:hover,.contact-panel a.contact-panel-email:focus{color:#13201a;background:#edf3ef;filter:none}
/* attached under the forest price block (theme.css .listing-sticky) */
.listing-sticky .contact-panel{margin:0;border-top:0;border-radius:0 0 4px 4px}
@media (min-width:768px) and (max-width:1199px){
 .contact-panel a.contact-panel-viber,.contact-panel a.contact-panel-whatsapp,.contact-panel a.contact-panel-email{flex-direction:column;gap:2px;min-height:56px;font-size:13px}
}
@media (max-width:767px){
.contact-panel{gap:6px;padding:12px 16px 16px}
.contact-panel-code{margin:-4px 0 2px}
.contact-panel a.contact-panel-viber,.contact-panel a.contact-panel-whatsapp,.contact-panel a.contact-panel-email{min-height:52px}
.contact-panel a.contact-panel-viber,.contact-panel a.contact-panel-whatsapp,.contact-panel a.contact-panel-email{flex-direction:column;gap:2px;min-height:56px;font-size:13px}
/* phone sticky bar */
.mobile-actions-footer.visible-phone{display:flex!important;gap:6px;align-items:stretch;height:auto!important;min-height:0;padding:8px 10px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));border-top:0;background:#fff;box-shadow:0 -4px 16px rgba(15,51,40,.14);z-index:50}
.mobile-actions-footer.visible-phone a.action-button{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;box-sizing:border-box;min-width:0;min-height:52px;margin:0;padding:4px;border:0;border-radius:4px;font-size:11px;line-height:1.2;font-weight:700;text-decoration:none;color:#fff}
.mobile-actions-footer.visible-phone a.action-button svg{width:22px;height:22px;fill:currentColor}
.mobile-actions-footer.visible-phone a.action-button:not(.action-icon){flex-grow:1.6;flex-direction:row;gap:8px;font-size:15px;background:#0f3328}
.mobile-actions-footer.visible-phone a.action-button:not(.action-icon) img{background:#fff;border-radius:50%}
.mobile-actions-footer.visible-phone a.action-call{background:#53b852;color:#0f3328}
.mobile-actions-footer.visible-phone a.action-viber{background:#665cac}
.mobile-actions-footer.visible-phone a.action-whatsapp{background:#0f7a3f}
.mobile-bar-label{display:block;white-space:nowrap}
}
@media (max-width:767px){
.mobile-actions-footer.visible-phone{transition:opacity .2s,visibility .2s}
.mobile-actions-footer.visible-phone.mab-hidden{opacity:0;visibility:hidden;pointer-events:none}
}
@media print{.contact-panel{display:none}}
