/* ============================================================
   Tomas Arsov – skrytí "akce/sleva" mimo množstevní tabulku
   ------------------------------------------------------------
   POZOR na specificitu: theme (styles.css) i addon
   (action_price_plus) přepisují přes !important A ID selektory,
   takže ".trida{...!important}" (0,1,0) prohrává s jejich
   "#content ... .trida" (1,x,0)!important. ID vždy vyhraje nad
   pouhými třídami. Proto níže selektory ZÁMĚRNĚ kopírují/zvyšují
   jejich specificitu (opakované třídy = legální způsob, jak
   přidat váhu). Kde theme NEMÁ !important, stačí naše !important.

   Naše množstevní tabulka používá .quantity-discounts__* – těch
   se nic z toho netýká.
   ============================================================ */

/* --- slevová vlajka (flag-discount) – detail i výpis ---------
   theme: .type-detail #content .flag-discount {...}  (1,2,0) */
.type-detail #content .flag-discount,
.flags .flag.flag-discount,
.product .flag-discount { display: none !important; }

/* --- "ušetříte / –% " badge (price-save) --------------------
   theme: #content .p-final-price-wrapper .price-save
          { display:inline-block !important }  (1,2,0) */
#content .p-final-price-wrapper .price-save.price-save,   /* (1,3,0) > (1,2,0) */
.products-block .product .price-save.price-save,          /* (0,4,0) */
.price-save { display: none !important; }

/* --- přeškrtnutá původní cena (price-standard) -------------- */
#content .p-final-price-wrapper .price-standard.price-standard,
.products-block .product .price-standard.price-standard,
.price-standard { display: none !important; }

/* --- upsell ceny: původní cena + % badge (up-price-common) --
   theme: #product-detail-form .up-product-wrapper
            .up-price-common-percentage{display:inline-block!important} (1,2,0)
          .up-product-details .up-price
            .up-price-common-percentage{...!important}              (0,3,0) */
#product-detail-form .up-product-wrapper .up-price-common-percentage.up-price-common-percentage, /* (1,3,0) */
.up-product-details .up-price .up-price-common-percentage.up-price-common-percentage,            /* (0,4,0) */
.up-price-common-percentage,
.up-price-common { display: none !important; }

/* --- akční (červená) cena -> černá --------------------------
   theme: #content .p-final-price-wrapper .price-save+.price-final
          { color:#d80027 !important }  (1,3,0)
   -> potřebujeme (1,4,0)+ a obarvit i vnořený text */
#content .p-final-price-wrapper .price-final.price-final.price-final,            /* (1,4,0) > (1,3,0) */
#content .p-final-price-wrapper .price-final.price-final.price-final strong,
#content .p-final-price-wrapper .price-final.price-final.price-final .price-final-holder,
#content .p-final-price-wrapper .price-save + .price-final.price-final,          /* přímý cíl theme rule */
#content .p-final-price-wrapper .price-action.price-action,
.products-block .product .price-final.price-final.price-final,
.products-block .product .price-final.price-final.price-final strong,
.products-block .product .price-action,
.price-final.price-action.price-action { color: #000 !important; }
