﻿.shop-map-page{
    width:min(1480px,calc(100% - 30px));
    margin:0 auto;
    padding:30px 0 42px;
}

.shop-map-head{
    margin-bottom:18px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
}

.shop-map-kicker{
    color:#f0713d;
    font-size:9px;
    font-weight:900;
    letter-spacing:.1em;
}

.shop-map-head h1{
    margin:6px 0 0;
    color:#171923;
    font-size:28px;
    letter-spacing:-.045em;
}

.shop-map-head p{
    margin:8px 0 0;
    color:#777b8b;
    font-size:12px;
    line-height:1.65;
}

.shop-map-head-actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.shop-map-head-actions a,
.shop-map-head-actions button{
    min-height:40px;
    padding:0 14px;
    border:1px solid #dedfe7;
    border-radius:11px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#454857;
    text-decoration:none;
    font-size:10px;
    font-weight:850;
    cursor:pointer;
}

.shop-map-head-actions button{
    border-color:#e96432;
    background:#e96432;
    color:#fff;
}

.shop-map-filter{
    margin-bottom:12px;
    padding:12px;
    border:1px solid #e8e9ef;
    border-radius:15px;
    display:grid;
    grid-template-columns:minmax(220px,1.4fr) minmax(140px,.7fr) minmax(140px,.7fr) auto;
    gap:8px;
    background:#fff;
    box-shadow:0 8px 26px rgba(32,34,47,.045);
}

.shop-map-filter input[type="search"],
.shop-map-filter select{
    width:100%;
    height:42px;
    padding:0 12px;
    border:1px solid #dfe1e8;
    border-radius:10px;
    background:#fbfbfd;
    color:#242633;
    outline:none;
    font:inherit;
    font-size:11px;
}

.shop-map-filter input[type="search"]:focus,
.shop-map-filter select:focus{
    border-color:#f47d48;
    background:#fff;
    box-shadow:0 0 0 4px rgba(242,107,56,.08);
}

.shop-map-filter>button{
    min-width:78px;
    height:42px;
    padding:0 15px;
    border:0;
    border-radius:10px;
    background:#242637;
    color:#fff;
    font-size:10px;
    font-weight:850;
    cursor:pointer;
}

.shop-map-status-row{
    min-height:38px;
    margin-bottom:10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.shop-map-location-status{
    min-width:0;
    color:#7e8292;
    font-size:10px;
    line-height:1.5;
}

.shop-map-location-status.is-success{
    color:#15795a;
    font-weight:750;
}

.shop-map-location-status.is-error{
    color:#c14956;
    font-weight:750;
}

.shop-map-area-search{
    min-height:34px;
    padding:0 12px;
    border:1px solid #f3d2bf;
    border-radius:9px;
    background:#f3f7ff;
    color:#d9562c;
    font-size:9px;
    font-weight:850;
    cursor:pointer;
}

.shop-map-area-search[hidden]{
    display:none;
}

.shop-map-layout{
    min-height:650px;
    border:1px solid #e3e5eb;
    border-radius:18px;
    display:grid;
    grid-template-columns:390px minmax(0,1fr);
    background:#fff;
    overflow:hidden;
    box-shadow:0 14px 40px rgba(31,33,47,.07);
}

.shop-map-results{
    min-width:0;
    border-right:1px solid #e7e8ee;
    display:flex;
    flex-direction:column;
    background:#fff;
}

.shop-map-results-head{
    min-height:68px;
    padding:14px 16px;
    border-bottom:1px solid #ececf1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.shop-map-results-head>div{
    min-width:0;
}

.shop-map-results-head b,
.shop-map-results-head span{
    display:block;
}

.shop-map-results-head b{
    color:#252735;
    font-size:13px;
}

.shop-map-results-head span{
    margin-top:3px;
    color:#e96432;
    font-size:10px;
    font-weight:850;
}

.shop-map-results-head small{
    color:#9699a7;
    font-size:8px;
    white-space:nowrap;
}

.shop-map-result-list{
    max-height:650px;
    overflow-y:auto;
    overscroll-behavior:contain;
}

.shop-map-card{
    padding:13px 14px;
    border:0;
    border-bottom:1px solid #f0f0f4;
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    gap:12px;
    background:#fff;
    text-align:left;
    cursor:pointer;
}

.shop-map-card:hover,
.shop-map-card.is-active{
    background:#fffaf6;
}

.shop-map-card.is-active{
    box-shadow:inset 3px 0 0 #e96432;
}

.shop-map-card-image{
    width:92px;
    height:82px;
    border-radius:11px;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:#f3f6fb;
    color:#f0713d;
    font-size:20px;
    font-weight:900;
}

.shop-map-card-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.shop-map-card-body{
    min-width:0;
}

.shop-map-card-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
}

.shop-map-card h3{
    margin:0;
    overflow:hidden;
    color:#222432;
    font-size:12px;
    line-height:1.45;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.shop-map-distance{
    flex:0 0 auto;
    color:#e96432;
    font-size:9px;
    font-weight:900;
}

.shop-map-card-address{
    margin:5px 0 0;
    overflow:hidden;
    color:#8a8d9c;
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.shop-map-card-desc{
    height:32px;
    margin:7px 0 0;
    overflow:hidden;
    color:#656978;
    font-size:9px;
    line-height:1.65;
}

.shop-map-card-meta{
    margin-top:8px;
    display:flex;
    align-items:center;
    gap:7px;
    color:#7e8292;
    font-size:8px;
}

.shop-map-card-meta .is-star{
    color:#e69a20;
    font-weight:850;
}

.shop-map-card-meta strong{
    margin-left:auto;
    color:#292b38;
    font-size:10px;
}

.shop-map-card-badges{
    margin-top:7px;
    display:flex;
    gap:5px;
    flex-wrap:wrap;
}

.shop-map-card-badges span{
    padding:4px 6px;
    border-radius:20px;
    background:#fff3e8;
    color:#e96432;
    font-size:7px;
    font-weight:900;
}

.shop-map-card-badges span.is-price{
    background:#eaf9f4;
    color:#13805c;
}

.shop-map-empty{
    padding:42px 20px;
    color:#9699a8;
    font-size:10px;
    line-height:1.7;
    text-align:center;
}

.shop-map-canvas-wrap{
    position:relative;
    min-width:0;
    min-height:650px;
    background:#f3f4f7;
}

.shop-map-canvas{
    position:absolute;
    inset:0;
}

.shop-map-no-key{
    position:absolute;
    z-index:5;
    inset:0;
    padding:25px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:#f6f6f9;
    text-align:center;
}

.shop-map-no-key[hidden]{
    display:none;
}

.shop-map-no-key b{
    color:#363846;
    font-size:15px;
}

.shop-map-no-key p{
    margin:8px 0 0;
    color:#858897;
    font-size:10px;
    line-height:1.7;
}

.shop-map-info{
    min-width:210px;
    padding:12px 13px;
}

.shop-map-info b{
    display:block;
    color:#232531;
    font-size:12px;
}

.shop-map-info span{
    display:block;
    margin-top:4px;
    color:#7c8090;
    font-size:9px;
}

.shop-map-info a{
    margin-top:9px;
    display:inline-flex;
    color:#e05c2f;
    font-size:9px;
    font-weight:850;
    text-decoration:none;
}

.shop-map-user-dot{
    width:18px;
    height:18px;
    border:4px solid #fff;
    border-radius:50%;
    background:#3978f6;
    box-shadow:0 3px 12px rgba(32,84,196,.35);
}

@media(max-width:980px){
    .shop-map-layout{
        grid-template-columns:330px minmax(0,1fr);
    }

    .shop-map-filter{
        grid-template-columns:1fr 1fr 1fr auto;
    }
}

@media(max-width:760px){
    .shop-map-page{
        width:calc(100% - 30px);
        padding-top:20px;
    }

    .shop-map-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .shop-map-head-actions{
        width:100%;
    }

    .shop-map-head-actions a,
    .shop-map-head-actions button{
        flex:1;
    }

    .shop-map-filter{
        grid-template-columns:1fr 1fr;
    }

    .shop-map-filter input[type="search"]{
        grid-column:1/-1;
    }

    .shop-map-filter>button{
        grid-column:1/-1;
    }

    .shop-map-status-row{
        align-items:flex-start;
        flex-direction:column;
    }

    .shop-map-area-search{
        width:100%;
    }

    .shop-map-layout{
        min-height:0;
        border-radius:15px;
        display:flex;
        flex-direction:column;
    }

    .shop-map-canvas-wrap{
        min-height:390px;
        order:1;
    }

    .shop-map-results{
        border-top:1px solid #e7e8ee;
        border-right:0;
        order:2;
    }

    .shop-map-result-list{
        max-height:none;
        overflow:visible;
    }

    .shop-map-card{
        grid-template-columns:86px minmax(0,1fr);
    }

    .shop-map-card-image{
        width:86px;
        height:78px;
    }
}

@media(max-width:480px){
    .shop-map-head h1{
        font-size:24px;
    }

    .shop-map-filter{
        grid-template-columns:1fr;
    }

    .shop-map-filter input[type="search"],
    .shop-map-filter>button{
        grid-column:auto;
    }

    .shop-map-canvas-wrap{
        min-height:340px;
    }
}
