/* ==========================================================================
   1. Masquage des prix sur les fiches produits
   ========================================================================== */

/* Masque le prix général et le prix par défaut du produit */
.woocommerce-variation-add-to-cart button.single_add_to_cart_button.button,
.single-product p.price,
.single-product .woocommerce-Price-amount {
    display: none !important;
}

/* Masque le prix des variations dynamiques (lors de la sélection des options) */
.menu2-top-right,
.single-product .woocommerce-variation-price,
.single-product .single_variation_price_reset {
    display: none !important;
}

/* ==========================================================================
   2. Style du tableau et du formulaire de demande de devis
   ========================================================================== */

.wc-rq-container {
    max-width: 800px;
    margin: 20px auto;
}

.wc-rq-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.wc-rq-container th {
    background-color: #f7f7f7;
    text-align: left;
    padding: 10px;
    border: 1px solid #ccc;
}

.wc-rq-container td {
    padding: 10px;
    border: 1px solid #ccc;
}

.wc-rq-remove-btn {
    background-color: #e74c3c;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

.wc-rq-remove-btn:hover {
    background-color: #c0392b;
}

.wc-rq-update-qty-input {
    width: 60px;
    padding: 5px;
}

/* ==========================================================================
   3. Icône flottante "devis" façon icône panier (indépendante du thème)
   ========================================================================== */

.wc-rq-header-icon {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: #ffffff;
    color: #333333;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.15s ease;
}

.wc-rq-header-icon:hover {
    transform: translateY(-50%) scale(1.08);
    color: #333333;
}
a.wc-rq-header-icon:focus {
    outline: 0;
}

.wc-rq-header-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    border-radius: 10px;
}