/* ТукИма — icon-only social sharing controls in the right sidebar */
.ad-share-panel{margin:12px 0 0;padding:12px 0 0;border-top:1px solid #eef2f6;background:transparent;box-shadow:none;border-radius:0}
.ad-share-actions{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap}
.ad-share-icon{appearance:none;-webkit-appearance:none;width:40px;height:40px;min-width:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid transparent;border-radius:50%;text-decoration:none;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;line-height:0}
.ad-share-icon svg{display:block;width:21px;height:21px;flex:none}
.ad-share-icon:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(15,23,42,.14)}
.ad-share-icon:focus-visible{outline:3px solid rgba(33,134,122,.35);outline-offset:3px}
.ad-share-icon[hidden]{display:none!important}
.ad-share-facebook{background:#1877f2;color:#fff}
.ad-share-whatsapp{background:#20b86a;color:#fff}
.ad-share-telegram{background:#229ed9;color:#fff}
.ad-share-x{background:#111827;color:#fff}
.ad-share-native{background:#168574;color:#fff;border-color:#168574}
.ad-share-copy{background:#edf8f4;color:#17695f;border-color:#cde8e0}
.ad-share-feedback{margin:9px 0 0;padding:8px 10px;border-radius:8px;background:#eaf7f1;color:#176b4f;font-size:12px;line-height:1.45;font-weight:650}
.ad-share-feedback[hidden]{display:none!important}
@media(max-width:600px){.ad-share-actions{gap:8px}.ad-share-icon{width:42px;height:42px;min-width:42px}.ad-share-icon svg{width:22px;height:22px}}
@media(prefers-reduced-motion:reduce){.ad-share-icon{transition:none}}


/* Related listings section at the end of the listing detail page. */
.ad-related-section{margin:28px 0 8px;padding:clamp(18px,2.5vw,28px);background:#fff;border:1px solid #e5ece8;border-radius:16px;box-shadow:0 8px 28px rgba(25,55,45,.045)}
.ad-related-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}
.ad-related-eyebrow{display:inline-block;margin-bottom:6px;color:#21867a;font-size:10px;font-weight:800;letter-spacing:.15em}
.ad-related-heading h2{margin:0;color:#1e293b;font-size:clamp(21px,2.5vw,28px);line-height:1.2;letter-spacing:-.035em}
.ad-related-heading p{margin:7px 0 0;color:#718096;font-size:13px;line-height:1.5}
.ad-related-all{display:inline-flex;align-items:center;gap:8px;flex:none;padding:9px 13px;border:1px solid #cfe7df;border-radius:10px;color:#197567;background:#f4fbf8;text-decoration:none;font-size:12px;font-weight:750;transition:background .15s ease,transform .15s ease}
.ad-related-all:hover{background:#e8f7f1;transform:translateY(-1px)}
.ad-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ad-related-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid #e4e9ed;border-radius:13px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ad-related-card:hover{transform:translateY(-3px);border-color:#cde4dc;box-shadow:0 10px 24px rgba(25,55,45,.09)}
.ad-related-image-link{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#f1f7f4}
.ad-related-image-link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.ad-related-card:hover .ad-related-image-link img{transform:scale(1.035)}
.ad-related-image-link img.placeholder-image{object-fit:contain;background:#f1f7f4;padding:12px}
.ad-related-badge{position:absolute;z-index:1;top:10px;left:10px;padding:4px 8px;border-radius:6px;background:#e76f51;color:#fff;font-size:10px;font-weight:800;letter-spacing:.04em}
.ad-related-card-body{display:flex;flex:1;flex-direction:column;gap:8px;padding:12px}
.ad-related-card-title{display:-webkit-box;min-height:38px;overflow:hidden;color:#263546;text-decoration:none;font-size:13px;font-weight:750;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ad-related-card-title:hover{color:#21867a}
.ad-related-price{color:#187b6d;font-size:16px;font-weight:850;letter-spacing:-.02em}
.ad-related-meta{display:flex;flex-direction:column;gap:5px;margin-top:auto;padding-top:8px;border-top:1px solid #f0f3f5;color:#84909d;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.ad-related-meta a{color:#526577;text-decoration:underline;text-decoration-color:#d2d9df;text-underline-offset:2px}
.ad-related-meta a:hover{color:#bf5c3e}
.ad-related-empty{display:flex;align-items:center;gap:14px;padding:20px;border:1px dashed #d4e5de;border-radius:12px;background:#f8fcfa}
.ad-related-empty>span{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#e8f6ef;color:#21867a;font-size:27px}
.ad-related-empty strong{color:#263546;font-size:14px}
.ad-related-empty p{margin:4px 0 0;color:#718096;font-size:12px}
.ad-related-empty>a{margin-left:auto;flex:none;color:#197567;text-decoration:none;font-size:12px;font-weight:800}
@media(max-width:1000px){.ad-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.ad-related-section{margin:20px 0 6px;padding:15px;border-radius:13px}.ad-related-heading{align-items:flex-start;gap:10px}.ad-related-heading h2{font-size:21px}.ad-related-heading p{max-width:95%;font-size:12px}.ad-related-all{padding:8px 9px;font-size:11px}.ad-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ad-related-card-body{padding:9px;gap:6px}.ad-related-card-title{font-size:12px;min-height:35px}.ad-related-price{font-size:14px}.ad-related-meta{font-size:9px}.ad-related-empty{align-items:flex-start;flex-wrap:wrap;padding:14px}.ad-related-empty>a{margin-left:56px}}
@media(max-width:360px){.ad-related-grid{grid-template-columns:minmax(0,1fr)}.ad-related-card{display:grid;grid-template-columns:112px minmax(0,1fr)}.ad-related-image-link{aspect-ratio:auto;min-height:120px}.ad-related-card-body{min-width:0}}
@media(prefers-reduced-motion:reduce){.ad-related-card,.ad-related-image-link img,.ad-related-all{transition:none}}
