/* Mobile first */
.delivery-map{
    padding: 40px 0 0;
}

.delivery-map__header{
    display: flex;
    flex-direction: column;
    margin: 0 0 24px;
}

.delivery-map__header .min-title{
    margin: 0 0 8px;
}

.delivery-map__header .h2{
    font-size: 20px;
    margin: 0 0 16px;
}

.delivery-map__button{
    width: 100%;
}

.delivery-map__map{
    position: relative;
    width: 100%;
    height: 320px;
    background: #e5e5e5;
}

.delivery-map__address{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white, #FFF);
    padding: 20px;
    max-width: 280px;
    box-shadow: 0 4px 20px 0 rgba(29, 29, 31, 0.10);
    z-index: 2;
}

.delivery-map__address-icon{
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.delivery-map__address-icon svg{
    display: block;
    width: 24px;
    height: 24px;
}

.delivery-map__address-text{
    margin: 0;
    padding: 0;
    color: var(--black, #202124);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* Tablet 768px */
@media (min-width: 48rem) {
    .delivery-map{
        padding: 40px 0 0;
    }

    .delivery-map__header{
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
        margin: 0 0 32px;
    }

    .delivery-map__header .h2{
        font-size: 40px;
        margin: 0;
    }

    .delivery-map__button{
        width: auto;
        flex-shrink: 0;
    }

    .delivery-map__map{
        height: 400px;
    }

    .delivery-map__address{
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 320px;
    }

    .delivery-map__address-text{
        font-size: 16px;
    }
}

/* Desktop 1024px */
@media (min-width: 64rem) {
    .delivery-map{
        padding: 60px 0 0;
    }

    .delivery-map__header{
        margin: 0 0 40px;
    }

    .delivery-map__map{
        height: 480px;
    }

    .delivery-map__address{
        left: calc((100% - 1204px) / 2 + 2.5rem);
        transform: translateY(-50%);
        max-width: 340px;
        padding: 24px;
    }
}
