/*
 * LNK Prix HT et TTC - le theme decide des couleurs et des tailles ; ces regles ne posent que la
 * mise en page. Proprietes logiques : le bloc suit le sens d'ecriture (arabe).
 *
 * @author    LNKBOOT
 * @copyright LNKBOOT
 * @license   Proprietaire - voir LICENSE.md
 */
.lnkpd { font-size: .875em; color: var(--lnk-pricedisplay-muted, var(--lnk-muted, inherit)); }
.lnkpd--product, .lnkpd--quickview { display: block; margin-block-start: .25rem; }
/* Interrupteur offert : les deux montants sont rendus, le principal du mode est masque. La classe
   de <body> decide (8 et plus, ou le theme) ; sans elle, data-lnkpd-main (tenu par toggle.js). */
.lnk-price-ht .lnkpd__alt--ht, .lnk-price-ttc .lnkpd__alt--ttc,
body:not(.lnk-price-ht):not(.lnk-price-ttc) .lnkpd[data-lnkpd-main="ht"] .lnkpd__alt--ht,
body:not(.lnk-price-ht):not(.lnk-price-ttc) .lnkpd[data-lnkpd-main="ttc"] .lnkpd__alt--ttc { display: none; }
.lnkpd__mention { display: block; font-size: .8125rem; opacity: .8; }
/* Hummingbird 1.0 (PrestaShop 8.1+), B2B, TTC : « tax excl. » natif masque si la ligne du module est la. */
.product__prices:has(.lnkpd) .product__price-taxless { display: none; }
/* Totaux : un bloc compact aligne en fin de ligne, comme les totaux d'une facture. */
.lnkpd--totals { display: block; max-width: 22rem; margin-block: .25rem .75rem; margin-inline: auto 0; }
.lnkpd--totals .lnkpd__row { display: flex; justify-content: space-between; gap: .5rem; }
.lnkpd--order { padding: .75rem 1rem; }
/* Dans le resume du panier, le bloc prend la largeur de la colonne. */
.lnkpd--cart.lnkpd--totals { max-width: none; margin-inline: 0; }
/* Classic : displayShoppingCart est le premier enfant de la carte du resume, avant ses blocs. */
.cart-grid-right > .cart-summary > .lnkpd--totals { max-width: none; margin: 0; padding-block: 1rem 0; padding-inline: 1.25rem; }
/* Interrupteur HT/TTC (widget mode toggle) : le theme l'habille. */
.lnk-price-toggle { display: inline-flex; gap: .5rem; }
.lnk-price-toggle__option[aria-pressed="true"] { font-weight: 600; text-decoration: underline; }
