#order_form .rgc-area-map-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin: 0 0 10px;
    clear: both;
}

#order_form .rgc-area-map-heading > label {
    flex: 1 1 280px;
    float: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

#order_form a.rgc-area-detail-map {
    --rgc-map-ink: #164f85;
    --rgc-map-tint: #eff6fd;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 48px;
    padding: 8px 14px;
    border: 2px solid var(--rgc-map-ink);
    border-radius: 7px;
    background: var(--rgc-map-tint);
    color: var(--rgc-map-ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: normal;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}

#order_form a.rgc-area-detail-map--orange {
    --rgc-map-ink: #8a380c;
    --rgc-map-tint: #fff2e5;
}

#order_form a.rgc-area-detail-map--pearl {
    --rgc-map-ink: #5d4c2c;
    --rgc-map-tint: #f7f3e7;
}

#order_form .rgc-area-detail-map-title {
    display: block;
}

#order_form .rgc-area-detail-map-arrow {
    margin-left: 6px;
}

#order_form .rgc-area-detail-map-note {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
}

#order_form a.rgc-area-detail-map:hover .rgc-area-detail-map-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#order_form a.rgc-area-detail-map:focus {
    outline: 3px solid #111;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    #order_form .rgc-area-map-heading {
        align-items: flex-start;
    }

    #order_form .rgc-area-map-heading > label {
        flex-basis: 100%;
    }

    #order_form a.rgc-area-detail-map {
        flex: 0 1 auto;
    }
}

@media print {
    #order_form .rgc-area-map-heading {
        break-inside: avoid;
    }
}
