.ffp-delivery-location__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.ffp-delivery-location__manual {
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid #d4af37;
    border-radius: 9px;
    background: #fff;
    color: #806215;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.ffp-delivery-location__current:disabled {
    opacity: .7;
    cursor: wait;
}

.ffp-delivery-location__map[hidden] {
    display: none !important;
}

.ffp-delivery-location__spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 8px -2px 0;
    border: 2px solid #d1d5db;
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: ffp-location-spin .7s linear infinite;
}

.ffp-delivery-location.is-checking_permission,
.ffp-delivery-location.is-locating {
    border-color: #d4af37;
    background: #fffdf3;
}

.ffp-delivery-location.is-denied,
.ffp-delivery-location.is-error {
    border-color: #fdba74;
    background: #fff7ed;
}

@keyframes ffp-location-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .ffp-delivery-location__actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .ffp-delivery-location__actions button {
        width: 100%;
        min-width: 0;
        min-height: 46px;
    }
}

@media (max-width: 380px) {
    .ffp-delivery-location__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .ffp-delivery-location__spinner { animation-duration: 1.4s; }
}
