/**
 * Price Hider — ukrywanie cen przy html.ph-prices-hidden
 * (duplikat wstrzykiwany inline w displayHeader przy pierwszym ładowaniu, żeby uniknąć FOUC)
 *
 * LISTA SELEKTORÓW (do weryfikacji na sklepie — dopisz brakujące w tym pliku):
 * - .product-prices, .js-product-prices — karta produktu / quickview
 * - .current-price, .current-price-value — aktualna cena produktu
 * - .product-price — cena na listach, w koszyku, wierszach
 * - .regular-price — cena przed obniżką
 * - .product-unit-price, .product-without-taxes, .product-pack-price, .price-ecotax
 * - .product-price-and-shipping — blok ceny na miniaturek
 * - .pack-product-price — ceny w paczce
 * - #blockcart, #blockcart-content — dropdown koszyka (linie, sumy)
 * - .cart-summary-line .value, .cart-totals — podsumowania w koszyku
 * - #cart-toogle .value — wartość w nagłówku przy ikonie koszyka
 * - .cart-detailed-product-line .price, .unit-price — checkout / koszyk
 * - .cart-summary-product-line — krótkie podsumowanie checkout
 * - .order-confirmation .price — potwierdzenie zamówienia (td z ceną)
 * - .product-list-price, .product-list-retail-price — ceny na listach (np. hurt / B2B)
 */

html.ph-prices-hidden .product-list-price,
html.ph-prices-hidden .product-list-retail-price,
html.ph-prices-hidden .product-prices,
html.ph-prices-hidden .js-product-prices,
html.ph-prices-hidden .current-price,
html.ph-prices-hidden .current-price-value,
html.ph-prices-hidden .product-price-and-shipping,
html.ph-prices-hidden .pack-product-price,
html.ph-prices-hidden .regular-price,
html.ph-prices-hidden .product-unit-price,
html.ph-prices-hidden .product-without-taxes,
html.ph-prices-hidden .product-pack-price,
html.ph-prices-hidden .price-ecotax,
html.ph-prices-hidden .product-discount .discount-amount,
html.ph-prices-hidden .product-discount .regular-price,
html.ph-prices-hidden .product-price:not(.pricehider-toggle-btn) {
  display: none !important;
}

/* span.product-price na listach — osobno, żeby nie kolidować z innymi elementami */
html.ph-prices-hidden span.product-price,
html.ph-prices-hidden .product-miniature .product-price,
html.ph-prices-hidden .product-miniature .product-price-and-shipping {
  display: none !important;
}

/* Koszyk — nagłówek (wartość obok liczby produktów) */
html.ph-prices-hidden #cart-toogle .cart-toggle-details .value,
html.ph-prices-hidden #cart-toogle .cart-toggle-details .text-faded.cart-separator {
  display: none !important;
}

/* Dropdown / side cart */
html.ph-prices-hidden #blockcart-content .product-price,
html.ph-prices-hidden #blockcart-content .unit-price-cart,
html.ph-prices-hidden #blockcart-content .cart-summary-line .value,
html.ph-prices-hidden #blockcart-content .cart-totals .value,
html.ph-prices-hidden #blockcart-content .cart-subtotals .value,
html.ph-prices-hidden #blockcart-content .col-md.price,
/* cena w wierszu produktu: pierwszy span w kolumnie z ceną (przed linkiem usuń) */
html.ph-prices-hidden #blockcart-content .col-info .row .col.text-right > span:first-of-type {
  display: none !important;
}

/* Checkout — szczegółowy koszyk */
html.ph-prices-hidden .cart-detailed .product-price,
html.ph-prices-hidden .cart-detailed-product-line .unit-price,
html.ph-prices-hidden .cart-detailed-product-line .price,
html.ph-prices-hidden .cart-summary-items-subtotal .value,
html.ph-prices-hidden .cart-summary-products .value,
html.ph-prices-hidden .cart-summary-line .value,
html.ph-prices-hidden .checkout-summary .value,
html.ph-prices-hidden .card.cart-summary .value {
  display: none !important;
}

/* Potwierdzenie zamówienia — ceny w wierszu produktu (dwie kolumny col-5) i tabela podsumowań */
html.ph-prices-hidden .order-confirmation-table .qty .row > .col-5,
html.ph-prices-hidden .order-confirmation-table table td:last-child {
  display: none !important;
}

/* Listy — stary szablon product-list.tpl */
html.ph-prices-hidden .product-list .product-price-and-shipping {
  display: none !important;
}
