.ayuve-membership{padding:1.25rem;margin:1rem 0;background:#f5f9f6;border:1px solid #c9ddce;border-radius:4px;color:#24392b}.ayuve-membership h3{font-size:1.1rem;margin-top:0}.ayuve-membership dl{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.ayuve-membership dd{margin:0}.ayuve-membership p{font-size:.9rem}.ayuve-membership .table{width:100%}

/* Visual price policy for Classic and themes retaining its price classes.
   Keep real amounts intact for checkout, invoices and payment modules. */
html.ayuve-hide-prices .product-price-and-shipping,
html.ayuve-hide-prices .product-prices,
html.ayuve-hide-prices .product-price,
html.ayuve-hide-prices .current-price,
html.ayuve-hide-prices .regular-price,
html.ayuve-hide-prices .unit-price-cart,
html.ayuve-hide-prices .price,
html.ayuve-hide-prices .discount-percentage,
html.ayuve-hide-prices .discount-amount,
html.ayuve-hide-prices .cart-voucher,
html.ayuve-hide-prices .cart-summary-line.cart-summary-discount,
html.ayuve-hide-prices .product-discount,
html.ayuve-hide-prices .cart-summary-line .value,
html.ayuve-hide-prices .cart-total .value,
html.ayuve-hide-prices .cart-summary-totals,
html.ayuve-hide-prices .cart-summary-subtotals-container,
html.ayuve-hide-prices .cart-summary-products .product-total,
html.ayuve-hide-prices .blockcart .cart-subtotals,
html.ayuve-hide-prices .blockcart .cart-total,
html.ayuve-hide-prices #blockcart-modal .subtotal,
html.ayuve-hide-prices #blockcart-modal .product-total,
html.ayuve-hide-prices .ayuve-money { display:none !important; }

.ayuve-extra-line{display:flex;flex-direction:column;gap:.25rem;padding:.75rem 0;border-bottom:1px solid #c9ddce}

/* Custom checkout: hide the price wrapper, not its sibling quantity control. */
html.ayuve-hide-prices #js-checkout-summary .media-total-price {
  display: none !important;
}

/* Completed order: decide from the order's own benefit, not the current period. */
html.ayuve-order-summary-only #order-items > .row > h3:nth-child(2),
html.ayuve-order-summary-only #order-items > .row > h3:nth-child(4),
html.ayuve-order-summary-only #order-items .order-line .qty > .row > div:first-child,
html.ayuve-order-summary-only #order-items .order-line .qty > .row > div:last-child,
html.ayuve-order-summary-only #order-items .order-confirmation-table > table tr:not(.total-value),
html.ayuve-order-summary-only #order-products thead th:nth-child(3),
html.ayuve-order-summary-only #order-products thead th:nth-child(4),
html.ayuve-order-summary-only #order-products > tbody > tr > td:nth-child(3),
html.ayuve-order-summary-only #order-products > tbody > tr > td:nth-child(4),
html.ayuve-order-summary-only #order-products tfoot tr:not(:last-child),
html.ayuve-order-summary-only .order-items .order-item .qty > .row > div:first-child,
html.ayuve-order-summary-only .order-items .order-item .qty > .row > div:last-child,
html.ayuve-order-summary-only .order-totals > .order-total:not(:last-child) { display:none !important; }

/* Internal membership rules are represented by the extras summary instead. */
html.ayuve-hide-prices #js-checkout-summary .cart-promo,
#checkout:has(.ayuve-cart-summary[data-ayuve-benefit="active"]) .cart-promo,
#opc_cart:has(.ayuve-cart-summary[data-ayuve-benefit="active"]) .cart-promo {
  display: none !important;
}
