/**
 * CSS pour masquer tous les éléments liés aux prix
 */

/* Masquage général des prix */
.price,
.prices,
.product-price,
.product-prices,
.regular-price,
.current-price,
.has-discount,
.discount,
.discount-percentage,
.discount-amount,
.unit-price,
.price-container,
.product-price-and-shipping,
.product-miniature .price {
    display: none !important;
}

/* Masquage dans les listes de produits */
.product-list .price,
.product-grid .price,
.featured-products .price,
.category-products .price {
    display: none !important;
}

/* Masquage sur la page produit */
.product-detail .price,
.product-prices,
.product-add-to-cart .price,
.product-availability,
.product-last-items {
    display: none !important;
}

/* Masquage dans le panier */
.cart-item .price,
.cart-item .unit-price,
.cart-summary-totals,
.cart-total,
.cart-voucher,
.promo-code,
.cart-summary-line,
.cart-subtotals,
.shipping-cost,
.tax-cost,
.value {
    display: none !important;
}

/* Masquage dans le checkout */
.checkout-step .price,
.order-confirmation .price,
.payment-options .price,
.carrier-price,
.shipping-price,
.total-value,
.order-total {
    display: none !important;
}

/* Masquage des éléments spécifiques PrestaShop */
.product-price-and-shipping,
.product-unit-price,
.product-discount,
.badge-danger,
.on-sale,
.regular-price,
.current-price-value,
.sr-only:contains("Price"),
span[itemprop="price"],
span[itemprop="lowPrice"],
span[itemprop="highPrice"],
.price-drop,
.new-price,
.old-price {
    display: none !important;
}

/* Styles pour les boutons d'ajout au panier */
.add-to-cart,
.btn-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.add-to-cart:hover,
.btn-primary:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
}

/* Masquage des devises */
.currency,
.currency-symbol,
[data-currency] {
    display: none !important;
}

/* Message personnalisé pour remplacer les prix */
.product-miniature .product-price-and-shipping:after {
    content: "Ajouter à ma liste";
    display: block;
    color: #28a745;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

/* Masquage des totaux dans les commandes */
.order-line .price,
.order-line .total,
.order-total,
.order-subtotal {
    display: none !important;
}

/* Responsive - masquage sur mobile */
@media (max-width: 768px) {
    .product-price,
    .price,
    .prices,
    .cart-total,
    .order-total {
        display: none !important;
    }
}
