/* ========== Zones des champs sur-mesure ========== */

.produit-surmesure-bloc {
    margin-top: 25px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
}

.champ-surmesure {
    margin-bottom: 25px;
}

.champ-surmesure label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.champ-surmesure input[type="number"],
.champ-surmesure select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

/* ========== Options visuelles (supports) ========== */

.support-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.support-box {
    border: 2px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    width: 140px;
    text-align: center;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
}

.support-box input[type="radio"] {
    display: none;
}

.support-box img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 5px;
    transition: transform 0.2s ease;
}

.support-box .support-name {
    font-weight: 600;
    font-size: 14px;
    margin-top: 5px;
    color: #333;
}

.support-box:hover {
    border-color: #0073aa;
}

.support-box input[type="radio"]:checked + img {
    outline: 2px solid #0073aa;
    transform: scale(1.05);
}

.support-box input[type="radio"]:checked ~ .support-name {
    color: #0073aa;
}

/* ========== Affichage du prix ========== */

#prix-paroi-calculé,
.champ-surmesure #prix-calculé {
    font-size: 18px;
    color: #222;
}

/* ========== Responsive ========== */

@media (max-width: 600px) {
    .support-options {
        flex-direction: column;
        align-items: center;
    }

    .support-box {
        width: 100%;
    }
}
