/* e-Billethèque — Panier : bloc bénéficiaire */

/* Shortcode [stcr_gift_fields] : titre produit */
.stcr-shortcode-item {
    margin-bottom: 20px;
}

.stcr-shortcode-item__name {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 6px;
    color: #1a2e4a;
}

.stcr-cart-gift {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    font-size: 13px;
}

/* Toggle radio stylisé */
.stcr-gift-toggle {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.stcr-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s;
    font-weight: normal;
    line-height: 1.4;
}

.stcr-radio input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.stcr-radio--active {
    border-color: #1a2e4a;
    background: #eef2f7;
    font-weight: 600;
}

/* Champs bénéficiaire */
.stcr-beneficiary-fields {
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    margin-top: 4px;
    margin-bottom: 10px;
}

.stcr-field-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.stcr-field {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stcr-field label {
    font-size: 12px;
    color: #555;
    font-weight: normal;
}

.stcr-field label .required {
    color: #c00;
}

.stcr-input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    background: #fff;
    box-sizing: border-box;
}

.stcr-input:focus {
    outline: none;
    border-color: #1a2e4a;
    box-shadow: 0 0 0 2px rgba(26,46,74,.12);
}

/* Champ message */
.stcr-field--message {
    margin-top: 8px;
}

.stcr-textarea {
    resize: vertical;
    min-height: 56px;
    font-family: inherit;
}

/* Statut sauvegarde */
.stcr-save-status {
    font-size: 11px;
    color: #2e7d32;
    margin: 4px 0 0;
    min-height: 16px;
}

.stcr-save-status--error {
    color: #c62828;
}

/* Compteur sous le message */
.stcr-field-hint {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
    font-size: 11px;
    color: #777;
}

.stcr-char-count {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Validation */
.stcr-input--error,
.stcr-input--error:focus {
    border-color: #c62828;
    box-shadow: 0 0 0 2px rgba(198,40,40,.12);
}

.stcr-field-error,
.stcr-field-notice {
    margin: 0;
    font-size: 11px;
    color: #c62828;
}

.stcr-field-notice {
    color: #8a5a00;
}
