/* Catalog map view (my-func/lib/catalog_map.php, js/catalog-map.js) */
.content-grid a#list{margin-right:5px}
.content-grid a#list::after{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.500046' y='13.2061' width='4.29411' height='4.29411' stroke='%238E8E8E'/%3E%3Crect x='6.85294' y='13.2061' width='10.647' height='4.29411' stroke='%238E8E8E'/%3E%3Crect x='0.500046' y='6.85303' width='4.29411' height='4.29411' stroke='%238E8E8E'/%3E%3Crect x='6.85294' y='6.85303' width='10.647' height='4.29411' stroke='%238E8E8E'/%3E%3Crect x='0.5' y='0.5' width='4.29411' height='4.29411' stroke='%238E8E8E'/%3E%3Crect x='6.85294' y='0.5' width='10.647' height='4.29411' stroke='%238E8E8E'/%3E%3C/svg%3E%0A")}
.content-grid a#list:hover::after,.content-grid a#list.active::after{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='13.2061' width='4.29411' height='4.29411' fill='%2330373F' stroke='%2330373F'/%3E%3Crect x='6.85291' y='13.2061' width='10.647' height='4.29411' fill='%2330373F' stroke='%2330373F'/%3E%3Crect x='0.5' y='6.85303' width='4.29411' height='4.29411' fill='%2330373F' stroke='%2330373F'/%3E%3Crect x='6.85291' y='6.85303' width='10.647' height='4.29411' fill='%2330373F' stroke='%2330373F'/%3E%3Crect x='0.5' y='0.5' width='4.29411' height='4.29411' fill='%2330373F' stroke='%2330373F'/%3E%3Crect x='6.85291' y='0.5' width='10.647' height='4.29411' fill='%2330373F' stroke='%2330373F'/%3E%3C/svg%3E%0A")}
.content-grid a#map::after{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 17s6-5.6 6-10A6 6 0 0 0 3 7c0 4.4 6 10 6 10Z' stroke='%238E8E8E'/%3E%3Ccircle cx='9' cy='7' r='2.2' stroke='%238E8E8E'/%3E%3C/svg%3E")}
.content-grid a#map:hover::after,.content-grid a#map.active::after{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 17s6-5.6 6-10A6 6 0 0 0 3 7c0 4.4 6 10 6 10Z' fill='%2330373F' stroke='%2330373F'/%3E%3Ccircle cx='9' cy='7' r='2.2' fill='%23fff'/%3E%3C/svg%3E")}
#alg-map{display:none;height:640px;margin:0 0 30px;border:1px solid #e6e1d6;position:relative;z-index:1}
#alg-map.alg-map--on{display:block}
#alg-map .leaflet-popup-content{margin:0;width:240px!important}
.alg-map-card{font-family:inherit;color:#383838}
.alg-map-card img{display:block;width:100%;height:140px;object-fit:cover}
.alg-map-card__body{padding:10px 12px 12px}
.alg-map-card__price{font-weight:600;font-size:15px;margin:0 0 4px}
.alg-map-card__title{font-size:13px;line-height:1.35;margin:0 0 6px}
.alg-map-card__meta{font-size:12px;color:#777;margin:0 0 8px}
.alg-map-card a.alg-map-card__go{display:inline-block;background:#DEC27F;color:#383838;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:8px 12px;text-decoration:none}
.alg-map-empty{position:absolute;z-index:500;left:50%;top:16px;transform:translateX(-50%);background:#fff;padding:8px 14px;box-shadow:0 2px 8px rgba(0,0,0,.15);font-size:13px}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background-color:rgba(222,194,127,.45)}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background-color:#DEC27F;color:#383838;font-weight:600}
.alg-pin{width:14px;height:14px;border-radius:50%;background:#383838;border:2px solid #DEC27F;box-shadow:0 1px 3px rgba(0,0,0,.4)}
@media (max-width:767px){#alg-map{height:70vh}
}
/* Phones: the theme hides the Grid / List switch; keep Grid and Map so a visitor can go back from the map */
@media (max-width:576px){
.content-grid{display:block!important;padding-top:0;margin-bottom:12px}
.content-grid a#list{display:none}
.content-grid a{min-height:18px;margin-right:14px}
}
