/* Position discount styles. Plain CSS on purpose: Shopware's PHP SCSS compiler (theme:compile)
   fails on the :has() selector, and a webpack build is not available on the target systems. */

.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-hide-amount="true"]) .line-item-unit-price,
.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-hide-amount="true"]) .line-item-total-price,
.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-hide-amount="true"]) .cart-item-unit-price,
.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-hide-amount="true"]) .cart-item-total-price {
    display: none !important;
}

.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-removable="false"]) .line-item-remove,
.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-removable="false"]) .line-item-remove-button,
.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-removable="false"]) .cart-item-remove,
.line-item:has(.skywalkgroup-position-discount-notice-marker[data-skywalkgroup-position-discount-notice-removable="false"]) .cart-item-remove-button {
    display: none !important;
}

.skywalkgroup-position-discount-line-item,
.skywalkgroup-position-discount-notice-detail {
    font-size: .875rem;
}
