.location-share {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
}

.location-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9rem;
    line-height: 1.4;
}

.location-option input {
    flex: 0 0 auto;
    margin-top: 3px;
    accent-color: var(--accent);
}

.location-options {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-actions button {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 11px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

.location-map {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.checkout-hint {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.45;
    margin: 0 0 14px;
}

.location-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(12, 22, 20, .62);
}

.location-modal[hidden] {
    display: none;
}

.location-modal-card {
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: 92vh;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.location-modal-card header,
.location-modal-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.location-modal-card header {
    border-bottom: 1px solid var(--line);
}

.location-modal-card footer {
    border-top: 1px solid var(--line);
    justify-content: flex-end;
}

.location-modal-card header button {
    border: 0;
    background: none;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
}

.location-modal-card footer button {
    border: 0;
    border-radius: 10px;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.location-modal-map {
    width: 100%;
    height: 58vh;
    min-height: 280px;
}

.location-status {
    min-height: 1.2em;
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
}

.saved-location-option {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 700;
}

.saved-location-option input {
    accent-color: var(--accent);
}
