.bpim-module {
    display: grid;
    grid-template-columns: auto 435px;
    gap: 40px;
    justify-content: center;
    column-gap: 6%;
}

.pointsale__map,
.bpim-map {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}

.pointsale__map-image,
.bpim-map-image {
    display: block;
    width: 100%;
    height: 100%;
}

.pointsale__dots,
.bpim-map-points {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.pointsale-dot,
.bpim-dot {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    line-height: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
}

.pointsale-dot__visual,
.bpim-dot-visual {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #000;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.pointsale-dot:hover .pointsale-dot__visual,
.pointsale-dot:focus .pointsale-dot__visual,
.pointsale-dot.active .pointsale-dot__visual,
.pointsale-dot.is-active .pointsale-dot__visual,
.bpim-dot:hover .bpim-dot-visual,
.bpim-dot:focus .bpim-dot-visual,
.bpim-dot.active .bpim-dot-visual,
.bpim-dot.is-active .bpim-dot-visual {
    transform: scale(1.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 0 0 6px rgba(0, 0, 0, .25);
}

.pointsale-dot__label,
.bpim-dot-label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    min-width: max-content;
    max-width: 180px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #000;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    transform: translateX(-50%);
    white-space: normal;
}

.pointsale__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 620px;
    overflow-y: auto;
    scrollbar-width: none;
    position: relative;
    --top-mask: 0px;
    --bottom-mask: 0px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black var(--top-mask), black calc(100% - var(--bottom-mask)), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0px, black var(--top-mask), black calc(100% - var(--bottom-mask)), transparent 100%);
}

.pointsale__list_wrapper {
    position: relative;
    padding-bottom: 20px;
}

.pointsale__list::-webkit-scrollbar {
    display: none;
}

.pointsale-card {
    position: relative;
    border-radius: 20px;
    background: #F7F9FA;
    transition: all .2s ease;
    height: fit-content;
    padding: 25px;
}

.pointsale-card:hover {
    background-color: #E4EAED;
}

.pointsale-card.active,
.pointsale-card.is-active {
    border: 1px solid #A3BBC3;
}

.pointsale-card__trigger {
    display: block;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: #7695A0;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 78.571%;
}

.pointsale-card__top {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.pointsale-card__status {
    color: #3E0F22;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 78.571%;
}

.pointsale-card__name {
    display: block;
    margin: 0 0 8px;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.pointsale-card__address {
    color: #57687A;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 142.857%;
}

.pointsale-card__maps {
    color: #101820;
    font-family: Poppins;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 153.846%;
    letter-spacing: 0.39px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.pointsale-card__maps::after {
    content: "";
    width: 20px;
    height: 15px;
    background-image: url(./icon-arrow.svg);
    background-size: contain;
}

.screen-reader-text {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-wrap: normal !important;
    clip-path: inset(50%);
}

@media (max-width: 1440px) {
    .pointsale__body {
        gap: 70px;
    }

    .pointsale-card__name {
        font-size: 16px;
    }

    .bpim-module {
        grid-template-columns: auto 390px;
        column-gap: 40px;
        margin-right: 8%;
    }
}

@media (max-width: 1100px) {
    .bpim-module {
        margin-right: 3%;
    }
}

@media (max-width: 1024px) {
    .bpim-module {
        grid-template-columns: auto 320px;
        margin-right: 0%;
    }

    .pointsale-card__name {
        font-size: 14px;
    }

    .pointsale-card__maps {
        font-size: 12px;
    }
}


@media (max-width: 900px) {
    .bpim-module {
        grid-template-columns: 1fr;
    }

    .pointsale__list_wrapper {
        position: relative;
        padding-bottom: 20px;
        overflow: hidden;
    }

    .pointsale__list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-mask-image: linear-gradient(to right, transparent 0px, black 0px, black calc(100% - var(--right-mask, 0px)), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0px, black var(--left-mask, 0px), black calc(100% - var(--right-mask, 0px)), transparent 100%);
    }

    .pointsale__list::-webkit-scrollbar {
        display: none;
    }

    .pointsale-card {
        flex: 0 0 300px;
        min-width: 280px;
        padding: 16px;
        min-height: 190px;
        display: flex;
        flex-direction: column;
    }

    .pointsale-card__name {
        font-size: 14px;
    }

    .pointsale-card__trigger {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .pointsale-card__maps {
        margin-top: auto;
    }

    .pointsale__list_wrapper {
        margin-left: -20px;
    }

    .pointsale__list .pointsale-card:first-child {
        margin-left: 20px;
    }
}

@media screen and (max-width: 768px) {
    .pointsale-card {
        flex: 0 0 280px;
        min-width: 260px;
    }
}

@media screen and (max-width: 600px) {
    .pointsale-card {
        flex: 0 0 260px;
        min-width: 240px;
        padding: 15px;
        border-radius: 14px;
        gap: 6px;
        min-height: 180px;
    }

    .pointsale-card__status,
    .pointsale-card__hours {
        font-size: 12px;
    }

    .pointsale-card__name {
        font-size: 14px;
    }

    .pointsale-card__address {
        font-size: 11px;
    }

    .pointsale-card__maps {
        font-size: 11px;
        gap: 8px;
    }

    .pointsale__list {
        -webkit-mask-image: linear-gradient(to right, transparent 0px, black 0px, black calc(100% - var(--right-mask, 0px)), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0px, black var(--left-mask, 0px), black calc(100% - var(--right-mask, 0px)), transparent 100%);
    }
}

@media screen and (max-width: 480px) {
    .pointsale-card {
        flex: 0 0 240px;
        min-width: 220px;
        padding: 12px;
        border-radius: 12px;
        gap: 4px;
    }

    .pointsale-card__status,
    .pointsale-card__hours {
        font-size: 11px;
    }

    .pointsale-card__name {
        font-size: 13px;
    }

    .pointsale-card__maps {
        font-size: 10px;
        gap: 6px;
    }

    .pointsale-card__maps::after {
        width: 14px;
        height: 11px;
    }
}

/* 400px */
@media screen and (max-width: 400px) {
    .pointsale-card {
        flex: 0 0 220px;
        min-width: 200px;
        padding: 10px;
    }

    .pointsale-card__name {
        font-size: 12px;
    }
}

/* 375px */
@media screen and (max-width: 375px) {
    .pointsale-card {
        flex: 0 0 200px;
        min-width: 180px;
        padding: 10px;
    }

    .pointsale-card__name {
        font-size: 12px;
    }
}