.address-map {
    cursor: crosshair;
}

.address-map.is-locating {
    cursor: wait;
}

.address-map .map-toolbar {
    border: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 310px;
    color: var(--ink);
}

.address-map .map-toolbar > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #fff0e5;
    color: var(--orange);
    font-size: 22px;
    font-style: normal;
}

.address-map .map-toolbar > span {
    text-align: right;
}

.address-map .map-toolbar[disabled],
.address-map .gps-button[disabled] {
    opacity: .65;
    cursor: wait;
}

.address-map .map-pin {
    left: 50%;
    top: 43%;
    transition: left 300ms ease, top 300ms ease, transform 180ms ease;
}

.address-map .map-pin.has-location {
    transform: rotate(45deg) scale(1.08);
    animation: map-pin-pop 420ms ease;
}

.address-map .map-help {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 10px;
    background: #171717d9;
    color: #fff;
    font-size: 10px;
    white-space: nowrap;
}

.gps-result {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f7f3ed;
}

.gps-result > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff0e5;
    color: var(--orange);
    font-size: 22px;
    font-style: normal;
}

.gps-result b,
.gps-result small {
    display: block;
}

.gps-result small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    direction: ltr;
    text-align: right;
}

.gps-result > span {
    padding: 5px 8px;
    border-radius: 8px;
    background: #e8e2da;
    color: #77716a;
    font-size: 9px;
    white-space: nowrap;
}

.gps-result.is-success {
    border-color: #77ad7d;
    background: #edf7ec;
}

.gps-result.is-success > span {
    background: #d7ecd9;
    color: var(--green);
}

.gps-result.is-error {
    border-color: #e2a292;
    background: #fff0eb;
}

.delivery-status.is-success {
    background: #edf7ec;
    color: var(--green);
}

.delivery-status.is-error {
    background: #fff0eb;
    color: #b33e25;
}

.delivery-status small {
    display: block;
    margin-top: 5px;
    color: currentColor;
    opacity: .72;
    font-size: 9px;
}

.address-coverage-list {
    margin: 16px 0 10px;
    padding: 12px 14px;
    border: 1px solid #ef650733;
    border-radius: 13px;
    background: #fff7ef;
    color: var(--ink);
    font-size: 10px;
    line-height: 1.9;
}

.address-coverage-list b {
    display: block;
    color: var(--orange);
}

.saved-addresses-empty {
    margin-bottom: 12px;
    padding: 20px 14px;
    border: 1px dashed var(--line);
    border-radius: 13px;
    color: var(--muted);
    text-align: center;
    font-size: 11px;
}

.address-continue,
.address-login {
    width: 100%;
    margin: 12px 0;
    justify-content: center;
}

.address-form select {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.neighborhood-combobox {
    position: relative;
}

.neighborhood-combobox > input {
    padding-left: 44px;
}

.neighborhood-combobox > button {
    position: absolute;
    z-index: 3;
    top: 1px;
    left: 1px;
    width: 40px;
    height: 40px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 9px 0 0 9px;
    background: #fff8f1;
    color: var(--orange);
    font-size: 18px;
    cursor: pointer;
}

.neighborhood-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #ded7cf;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px #2d1f1329;
}

.neighborhood-options[hidden] {
    display: none;
}

.neighborhood-options button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    text-align: right;
    cursor: pointer;
}

.neighborhood-options button:hover,
.neighborhood-options button.is-active {
    background: #fff0e5;
    color: #a74400;
}

.neighborhood-options button small {
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

.neighborhood-options > p {
    margin: 0;
    padding: 14px;
    color: var(--muted);
    text-align: center;
    font-size: 10px;
}

.neighborhood-native {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.saved-address-quote {
    color: var(--green) !important;
    font-weight: 700;
}

.map-attribution {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 8px;
    text-align: center;
}

.map-attribution a {
    color: inherit;
}

.neighborhood-detection {
    color: var(--muted);
    font-size: 8px;
    line-height: 1.6;
}

.neighborhood-detection.is-detected {
    color: var(--green);
    font-weight: 700;
}

.address-form .primary-button.wide {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
}

.address-form-error {
    grid-column: 1 / -1;
    padding: 10px;
    border-radius: 9px;
    background: #fff0eb;
    color: #b33e25;
    font-size: 10px;
}

@keyframes map-pin-pop {
    0% { transform: rotate(45deg) scale(.72); }
    65% { transform: rotate(45deg) scale(1.18); }
    100% { transform: rotate(45deg) scale(1.08); }
}

@media (max-width: 680px) {
    .address-map .map-toolbar {
        min-width: 0;
        width: calc(100% - 36px);
    }

    .address-map .map-help {
        bottom: 46px;
    }

    .gps-result {
        grid-template-columns: 40px 1fr;
    }

    .gps-result > span {
        grid-column: 2;
        justify-self: start;
    }
}
