.container {
    height: 100vh;
    display: flex;
    position: relative
}

#map {
    width: 100%;
}

#dealer-list {
    overflow-y: auto;
    border-top: 1px solid #e2e2e2
}

.left {
    width: 30%;
    min-width: 500px;
    display: flex;
    flex-direction: column;
}

.left .dealer-item {
    padding: 20px;
    color: #313131;
    border-bottom: 1px solid #e2e2e2;
    cursor: pointer;
}

.left .dealer-item h3 {
    font-size: 20px
}

.left .dealer-item h3 span {
    font-size: 14px;
    margin-right: 15px
}

.left .dealer-item p {
    margin-top: 13px;
    color: #666666;
}

.left .dealer-item p span,
.content p span {
    display: inline-block;
    padding: 3px 12px;
    background-color: #c1c1c1;
    margin-right: 15px;
    border-radius: 30px;
    font-size: 14px;
    color: #FFF
}

.left .dealer-item p span.s,
.content p span.s {
    background-color: #fc6355
}

.left .dealer-item p span.d,
.content p span.d {
    background-color: #5781fc
}

.left .dealer-item p span.d1,
.content p span.d1 {
    background-color: #fc6355
}

.left .dealer-item p span.d2,
.content p span.d2 {
    background-color: #5781fc
}

.left .dealer-item.selected {
    background-color: #f6f6f6
}

.left .dealer-item p.but,
.content p.but {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px
}

.left .dealer-item p.but a,
.content p.but a {
    display: inline-block;
    text-align: center;
    border: 1px solid #666;
    font-size: 12px;
    border-radius: 4px;
    padding: 5px 10px;
    color: #444;
}

.gm-style-iw-chr {
    position: absolute;
    right: 10px;
    top: 10px
}

.gm-style-iw-chr button {
    border: none;
    outline: none;
    box-shadow: none;
}

.content {
    padding: 10px;
    padding-top: 20px;
    padding-right: 0;
}

.content h3 {
    font-size: 20px
}

.content img {
    width: 100%;
    margin-bottom: 15px;
}

.content p {
    margin-top: 10px;
    color: #666666;
    font-size: 16px
}

.search {
    background-color: #f1f1f1;
    margin: 20px;
    border-radius: 8px;
    overflow: height;
    position: relative;
}

.search input {
    background: none;
    padding: 20px;
    display: block;
    width: 100%;
    margin-right: 20px;
}

.search svg {
    width: 20px;
    height: 20px
}

.search span {
    position: absolute;
    right: 25px;
    top: 21px
}

@media screen and (max-width: 1280px) {
    .left {
        width: 100%;
        min-width: 100%;
        position: absolute;
        top: 50vh;
        bottom: 0;
    }

    #map {
        position: absolute;
        top: 0;
        bottom: 50vh;
        background-color: #f1f1f1;
    }

    .container {
        position: relative;
        display: block;
    }

    .left .dealer-item h3 {
        font-size: 14px;
    }

    .left .dealer-item p {
        margin-top: 10px;
        font-size: 12px;
    }

    .left .dealer-item p.but a,
    .content p.but a {
        font-size: 10px;
        border-radius: 3px;
        white-space: nowrap;
    }

    .left .dealer-item p span,
    .content p span {
        margin-right: 10px;
        font-size: 12px;
    }

    .left .dealer-item p.but,
    .content p.but {
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .gm-style-iw-chr {
        position: absolute;
        right: 0px;
        top: 0px;
    }

    .gm-style .gm-style-iw-c {
        padding: 15px;
        max-width: 90vw !important;
        /* 设置最大宽度 */
        max-height: 2000px !important;
    }

    .gm-style-iw-d {
        max-height: 2000px !important;
    }

    .search {
        margin: 10px;
        border-radius: 4px;
    }

    .left .dealer-item {
        padding: 10px;
    }

    .search input {
        padding: 10px;
        margin-right: 10px;
        font-size: 14px;
    }

    .content {
        padding: 0px;
        padding-top: 10px;
    }

    .content h3 {
        font-size: 14px;
    }

    .content p {
        font-size: 12px;
    }

    .search span {
        right: 15px;
        top: 11px;
    }

    .search svg {
        width: 15px;
        height: 15px;
    }
}