/* WUTLU — Sélecteur d'adresse (géoloc + manuel) */

.cw-addr-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.cw-addr-mode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: #4B5563;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
    line-height: 1.2;
}

.cw-addr-mode:hover {
    border-color: #FDBA74;
    color: #C2410C;
    background: #FFF7ED;
}

.cw-addr-mode.active {
    background: #FFF7ED;
    border-color: #C2410C;
    color: #C2410C;
    box-shadow: 0 2px 8px rgba(194,65,12,.1);
}

.cw-addr-mode i {
    font-size: 15px;
}

.cw-addr-home {
    background: #FFF7ED;
    border: 1.5px dashed #FDBA74;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: center;
}

.cw-btn-detect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: #C2410C;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    width: 100%;
    max-width: 340px;
}

.cw-btn-detect:hover:not(:disabled) {
    background: #9A3412;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(194,65,12,.25);
}

.cw-btn-detect:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.cw-btn-detect i.fa-spinner {
    animation: cw-spin 1s linear infinite;
}

@keyframes cw-spin {
    to { transform: rotate(360deg); }
}

.cw-loc-status {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    display: none;
}

.cw-loc-status.is-info {
    background: #DBEAFE;
    color: #1E40AF;
    display: block;
}

.cw-loc-status.is-ok {
    background: #D1FAE5;
    color: #065F46;
    display: block;
}

.cw-loc-status.is-warn {
    background: #FEF3C7;
    color: #92400E;
    display: block;
}

.cw-loc-status.is-err {
    background: #FEE2E2;
    color: #991B1B;
    display: block;
}

.cw-addr-hint {
    margin: 8px 0 0;
    font-size: 12.5px;
    color: #6B7280;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
}

.cw-addr-hint i {
    color: #C2410C;
    margin-top: 2px;
    flex: 0 0 auto;
}

.cw-addr-hint strong {
    color: #92400E;
}

@media (max-width: 480px) {
    .cw-addr-modes {
        grid-template-columns: 1fr;
    }
}
/* === Sélecteur mode de paiement === */
.cw-pay-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.cw-pay-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 10px;
    background: #fff;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
    line-height: 1.2;
}

.cw-pay-mode:hover {
    border-color: #FDBA74;
    color: #C2410C;
    background: #FFF7ED;
}

.cw-pay-mode.active {
    background: #FFF7ED;
    border-color: #C2410C;
    color: #C2410C;
    box-shadow: 0 2px 8px rgba(194,65,12,.15);
}

.cw-pay-mode.disabled,
.cw-pay-mode[disabled] {
    opacity: .4;
    cursor: not-allowed;
    background: #F8FAFC;
    color: #94A3B8;
    border-color: #E2E8F0;
}

.cw-pay-mode.disabled:hover,
.cw-pay-mode[disabled]:hover {
    border-color: #E2E8F0;
    color: #94A3B8;
    background: #F8FAFC;
}

.cw-pay-mode i {
    font-size: 20px;
    margin-bottom: 2px;
}

.cw-pay-mode-name {
    font-weight: 700;
    font-size: 13px;
}

.cw-pay-mode-desc {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
}

.cw-pay-mode.active .cw-pay-mode-desc {
    color: #C2410C;
}

@media (max-width: 480px) {
    .cw-pay-modes {
        grid-template-columns: 1fr 1fr;
    }
}