.delivery-map-panel {
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #f8f5f0;
}

.delivery-map-copy {
    padding: 0.85rem 1rem;
    color: #5f5753;
    font-size: 0.82rem;
    line-height: 1.45;
}

.delivery-map-actions {
    display: flex;
    gap: 0.65rem;
    padding: 0 1rem 0.85rem;
}

.delivery-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1.5px solid var(--color-cta);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: #fff;
    color: var(--color-cta);
    font: 700 0.78rem/1.2 var(--font-body);
    cursor: pointer;
}

.delivery-map-button:hover,
.delivery-map-button:focus-visible {
    background: var(--color-cta);
    color: #fff;
}

.delivery-map-button:focus-visible,
.delivery-location-confirm input:focus-visible {
    outline: 3px solid rgba(46, 125, 50, 0.25);
    outline-offset: 2px;
}

#deliveryMap {
    width: 100%;
    height: 300px;
    background: #e9e4dd;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 0;
}

.delivery-location-status {
    margin: 0;
    padding: 0.8rem 1rem;
    color: #665e59;
    background: #fff;
    font-size: 0.8rem;
    line-height: 1.4;
}

.delivery-location-status.is-loading {
    color: #72551d;
    background: #fff8e8;
}

.delivery-location-status.is-valid {
    color: #245c38;
    background: #eef8f0;
    font-weight: 700;
}

.delivery-location-status.is-error {
    color: #9d2424;
    background: #fff0f0;
    font-weight: 600;
}

.delivery-location-confirm {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem 1rem;
    color: #4f4844;
    background: #fff;
    font-size: 0.78rem;
    line-height: 1.4;
}

.delivery-location-confirm input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 0.05rem;
    accent-color: var(--color-cta);
}

.delivery-map-panel.error-field {
    border-color: #d32f2f !important;
    background: #fff0f0 !important;
}

.delivery-map-panel.valid-field {
    border-color: #388e3c !important;
    background: #eef8f0 !important;
}

.leaflet-control-attribution {
    font-size: 9px;
}

@media (max-width: 768px) {
    #deliveryMap {
        height: 250px;
    }

    .delivery-map-actions {
        flex-direction: column;
    }

    .delivery-map-button {
        width: 100%;
    }
}
