body.site_s3 .am-map-v3 { position:relative; background:#f2f2f2; }
body.site_s3.theme-dark .am-map-v3 { background:#262428; }
body.site_s3 .am-map-pin { border:0; padding:0; background:transparent; cursor:pointer; width:46px; height:57px; transform:translate(-50%,-100%); }
body.site_s3 .am-map-pin svg { display:block; overflow:visible; }
body.site_s3 .am-map-card { position:absolute; bottom:66px; left:0; transform:translateX(-50%); width:280px; max-width:75vw; padding:18px; border-radius:12px; background:#fff; color:#222; box-shadow:0 4px 25px #0004; font-size:14px; line-height:1.5; }
body.site_s3 .am-map-card[hidden] { display:none; }
body.site_s3.theme-dark .am-map-card { background:#302b34; color:#f3eef5; }
body.site_s3 .am-map-card a { color:#88439c; }
body.site_s3.theme-dark .am-map-card a { color:#e1b3ee; }
body.site_s3 .am-map-card-close { position:absolute; right:3px; top:0; padding:0 6px; border:0; background:transparent; color:inherit; font-size:24px; cursor:pointer; }
body.site_s3 .am-map-v3-layout .bx-yandex-view-map { height:100%; }
@media(max-width:767px) { body.site_s3 .contacts_map .am-map-v3 { height:400px!important; } }

body.site_s3 .am-map-open { display:block; background:#fff; color:#663278; font-size:12px; padding:8px 12px; border-radius:8px; }
body.site_s3.theme-dark .am-map-open { background:#302b34; color:#e1b3ee; }

body.site_s3 .am-map-pin { background:transparent!important; appearance:none; -webkit-appearance:none; box-shadow:none!important; }
body.site_s3 .am-map-open { font-family:Arial,sans-serif!important; line-height:1.35; text-decoration:none; }

@media(max-width:767px) {
 body.site_s3 .shop-detail1 .contacts_map:has(.am-map-v3),
 body.site_s3 .shop-detail1 .am-map-v3-layout,
 body.site_s3 .shop-detail1 .am-map-v3-layout > .bx-yandex-view-map { height:400px!important; min-height:400px!important; }
}
