/**
 * EF Fidelity — styles minimaux pour l'écran "Mes points" (shortcode + WC tab).
 * Volontairement sobre — il est attendu que le thème personnalise davantage.
 */

.effd-my-points {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
}

.effd-balance {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 24px 18px;
    margin-bottom: 28px;
    text-align: center;
}

.effd-balance-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 8px;
}

.effd-balance-value {
    font-size: 40px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}

.effd-balance-unit {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    margin-left: 4px;
}

.effd-balance-eur {
    font-size: 13px;
    color: #475569;
    margin-top: 8px;
}

.effd-history-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
}

.effd-history {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.effd-history th {
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 10px;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.effd-history td {
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.effd-text-right { text-align: right; }
.effd-positive  { color: #059669; font-weight: 600; }
.effd-negative  { color: #dc2626; font-weight: 600; }

.effd-empty {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* ============== Widget cart / checkout ============== */

.effd-cart-widget {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 0 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
}

.effd-cart-widget__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.effd-cart-widget__icon {
    font-size: 24px;
    line-height: 1;
}

.effd-cart-widget__title {
    flex: 1;
    line-height: 1.3;
}

.effd-cart-widget__title strong {
    display: block;
    font-size: 15px;
    color: #92400e;
}

.effd-cart-widget__title small {
    display: block;
    font-size: 12px;
    color: #b45309;
    margin-top: 2px;
}

.effd-cart-widget__offer {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.5;
}

.effd-cart-widget__offer strong {
    color: #1e293b;
}

.effd-cart-widget__hint {
    font-size: 13px;
    color: #78350f;
    background: rgba(255,255,255,0.5);
    border-radius: 6px;
    padding: 10px 12px;
}

.effd-cart-widget__applied {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #166534;
    background: rgba(220, 252, 231, 0.7);
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.effd-cart-widget__check {
    color: #16a34a;
    font-weight: 700;
}

.effd-cart-widget__form {
    margin: 0;
}

.effd-cart-widget__btn {
    background: #f59e0b;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
    font-family: inherit;
}

.effd-cart-widget__btn:hover {
    background: #d97706;
}

.effd-cart-widget__btn:active {
    transform: scale(0.98);
}

.effd-cart-widget__btn--secondary {
    background: #ffffff;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.effd-cart-widget__btn--secondary:hover {
    background: #fffbeb;
}
