/*
 * Tickles_HidePrices
 *
 * Guest prices are stripped server-side (not rendered in HTML at all).
 * This CSS only handles the logged-in user toggle:
 *   .tickles-hide-prices  = prices hidden (logged-in, toggle off)
 *   .tickles-show-prices  = prices visible (logged-in, toggle on)
 */

/* ==========================================================================
   Logged-in with toggle OFF: hide prices via visibility
   (preserves layout, no shifting)
   ========================================================================== */

.tickles-hide-prices .price-box,
.tickles-hide-prices .price-container,
.tickles-hide-prices .final-price,
.tickles-hide-prices .old-price,
.tickles-hide-prices .special-price,
.tickles-hide-prices .normal-price,
.tickles-hide-prices [data-role="priceBox"],
.tickles-hide-prices [id^="product-price-"],
.tickles-hide-prices .product-item .price-box,
.tickles-hide-prices .product-item .price-container,
.tickles-hide-prices .product-item .price-wrapper,
.tickles-hide-prices .product-item .price,
.tickles-hide-prices .product-item [id^="product-price-"],
.tickles-hide-prices .matrix-price,
.tickles-hide-prices .price-box[x-html],
.tickles-hide-prices [x-html="item.product_price"],
.tickles-hide-prices [x-html="cart.subtotal"],
.tickles-hide-prices .cart-container .price-box,
.tickles-hide-prices .cart-container .price,
.tickles-hide-prices .cart-container .price-wrapper,
.tickles-hide-prices .opc-block-summary .price,
.tickles-hide-prices .table-totals .price {
    visibility: hidden !important;
}

/* ==========================================================================
   Logged-in with toggle ON: show prices
   ========================================================================== */

.tickles-show-prices .price-box,
.tickles-show-prices .price-container,
.tickles-show-prices .final-price,
.tickles-show-prices .old-price,
.tickles-show-prices .special-price,
.tickles-show-prices .normal-price,
.tickles-show-prices [data-role="priceBox"],
.tickles-show-prices [id^="product-price-"],
.tickles-show-prices .product-item .price-box,
.tickles-show-prices .product-item .price-container,
.tickles-show-prices .product-item .price-wrapper,
.tickles-show-prices .product-item .price,
.tickles-show-prices .product-item [id^="product-price-"],
.tickles-show-prices .matrix-price,
.tickles-show-prices .price-box[x-html],
.tickles-show-prices [x-html="item.product_price"],
.tickles-show-prices [x-html="cart.subtotal"],
.tickles-show-prices .cart-container .price-box,
.tickles-show-prices .cart-container .price,
.tickles-show-prices .cart-container .price-wrapper,
.tickles-show-prices .opc-block-summary .price,
.tickles-show-prices .table-totals .price {
    visibility: visible !important;
}
