/**
 * DCustomThreads — hide internal pricing noise from customers.
 *
 * Hide blank / wholesale garment prices everywhere customers browse or design.
 * Keep Design Now footer .w2i-design-price visible (real marked-up + print total).
 */

/* Blank garment / style price under the product name (designer). */
#web2inkdesigner .w2i-product-price,
#web2inkdesigner .w2i-style-price,
#web2inkdesigner .product-price,
#web2inkdesigner .w2i-design-product-price,
#web2inkdesigner .w2i-item-price,
#web2inkdesigner .w2i-style-meta .price,
#web2inkdesigner .w2i-product-style .price,
#web2inkdesigner .w2i-design-style-price,
#web2inkdesigner .w2i-blank-price,
#web2inkdesigner [data-w2i-blank-price],
#web2inkdesigner .w2i-styles .price,
#web2inkdesigner .w2i-style .price,
#web2inkdesigner .w2i-product-list .price {
  display: none !important;
}

/* Product / archive blank list prices (wholesale). Design calculator totals stay. */
.w2i-design-form .w2i-product-price,
.w2i-design-detail .price,
.web2ink-designer .summary .price,
.single-product .summary > .price,
.single-product .w2i-pui .price,
.single-product p.price,
.single-product .elementor-widget-woocommerce-product-price,
.single-product .elementor-widget-woocommerce-product-price .price,
ul.products li.product .price,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-Price-amount,
.elementor-widget-woocommerce-products .price {
  display: none !important;
}

/* Never hide the Design Now live total */
#web2inkdesigner > footer .w2i-design-price,
#web2inkdesigner > footer .w2i-design-price .w2i-design-price-value,
#web2inkdesigner > footer .w2i-design-price .woocommerce-Price-amount {
  display: revert !important;
}

/* Size breakdown / individual price list on the side while decorating */
#web2inkdesigner .w2i-size-list,
#web2inkdesigner .w2i-size-price-table,
#web2inkdesigner .w2i-sizes-prices,
#web2inkdesigner .w2i-design-sizes-panel,
#web2inkdesigner .w2i-side-size-prices,
#web2inkdesigner .w2i-qty-size-grid .w2i-size-price,
#web2inkdesigner table.w2i-size-chart,
#web2inkdesigner .w2i-price-by-size {
  display: none !important;
}

/* Decoration size tiers + price breakdown (sizepricing panel internals) */
#web2inkdesigner .w2i-sizepricing-tiers,
#web2inkdesigner .w2i-sizepricing-tier-price,
#web2inkdesigner .w2i-sizepricing-tier-where,
#web2inkdesigner .w2i-sizepricing-panel .w2i-sizepricing-size,
#web2inkdesigner .w2i-sizepricing-panel .w2i-sizepricing-size-2,
#web2inkdesigner .w2i-sizepricing-panel label[for*="sizepricing"],
.w2i-sizepricing-panel.w2i-sizepricing-no-tiers .w2i-sizepricing-tiers,
.w2i-sizepricing-panel.w2i-sizepricing-no-prices .w2i-sizepricing-tier-price,
.w2i-sizepricing-panel.w2i-sizepricing-no-tiers .w2i-sizepricing-size,
.w2i-sizepricing-panel.w2i-sizepricing-no-tiers .w2i-sizepricing-size-2 {
  display: none !important;
}

/* Hide entire sizepricing size picker row when tiers are hidden */
.w2i-sizepricing-panel.w2i-sizepricing-no-tiers .w2i-sizepricing-sizes,
.w2i-sizepricing-panel.w2i-sizepricing-no-tiers .w2i-sizepricing-size-wrap {
  display: none !important;
}

/* Printer icon on Print process field label */
#web2inkPriceCalculatorMainDiv.w2i-flat .w2i-calc-field-process > .InnerDivInf::before,
.w2i-messagebox.w2i-price-quote-popup .w2i-calc-field-process > .InnerDivInf::before {
  display: none !important;
  content: none !important;
}

/* Embroidery options panel while process is Printing */
body.dct-process-printing .w2i-sizepricing-panel[data-process="3"],
body.dct-process-printing .w2i-sizepricing-panel.is-embroidery,
body.dct-process-printing #w2i-embroidery-options,
body.dct-process-printing .w2i-embroidery-options,
body.dct-process-printing .w2i-sizepricing-panel[data-context] .w2i-sizepricing-addons,
body.dct-process-printing .w2i-sizepricing-panel .w2i-sizepricing-title:contains("Embroidery") {
  /* JS toggles body class + panel visibility; CSS backup: */
}

body.dct-process-printing .w2i-sizepricing-panel[data-for-process="3"],
body.dct-process-printing .w2i-emb-only {
  display: none !important;
}
