/* Someh v10.63 - lightweight WooCommerce written-price dark fix
   CSS only. Fixes hidden 6+ digit slash-separated amounts inside WooCommerce written text.
   It does not touch bundled plugins, product gallery, TOC, tables, cart/forms/buttons or the main WooCommerce price block. */

:is(
  html.dark-skin,
  html.dark,
  html.dark-mode,
  html.night-mode,
  html.someh-early-dark,
  html.someh-dark,
  html.someh-dark-mode,
  html.wp-dark-mode-active,
  html.ai-dark,
  html.ai-dark-by-clock,
  html[data-theme="dark"],
  html[data-skin="dark"]
) body:is(.single-product,.woocommerce,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product)
:is(
  div.product .woocommerce-product-details__short-description,
  div.product .woocommerce-tabs .woocommerce-Tabs-panel,
  div.product .woocommerce-tabs .panel,
  div.product #tab-description,
  div.product .entry-content,
  div.product .post-content,
  div.product .page-content,
  div.product .entry,
  div.product .tie-content,
  .woocommerce .term-description,
  .term-description,
  .category-description
),
body:is(.dark-skin,.dark,.dark-mode,.night-mode,.someh-dark,.someh-dark-mode,.wp-dark-mode-active,.ai-dark,.ai-dark-by-clock,[data-theme="dark"],[data-skin="dark"]):is(.single-product,.woocommerce,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product)
:is(
  div.product .woocommerce-product-details__short-description,
  div.product .woocommerce-tabs .woocommerce-Tabs-panel,
  div.product .woocommerce-tabs .panel,
  div.product #tab-description,
  div.product .entry-content,
  div.product .post-content,
  div.product .page-content,
  div.product .entry,
  div.product .tie-content,
  .woocommerce .term-description,
  .term-description,
  .category-description
),
body.single-product.someh-product-text-bg-clean-active div.product :is(
  .woocommerce-product-details__short-description,
  .woocommerce-tabs .woocommerce-Tabs-panel,
  .woocommerce-tabs .panel,
  #tab-description,
  .entry-content,
  .post-content,
  .page-content,
  .entry,
  .tie-content
) {
  color: #e5e7eb !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
}

:is(
  html.dark-skin,
  html.dark,
  html.dark-mode,
  html.night-mode,
  html.someh-early-dark,
  html.someh-dark,
  html.someh-dark-mode,
  html.wp-dark-mode-active,
  html.ai-dark,
  html.ai-dark-by-clock,
  html[data-theme="dark"],
  html[data-skin="dark"]
) body:is(.single-product,.woocommerce,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product)
:is(
  div.product .woocommerce-product-details__short-description,
  div.product .woocommerce-tabs .woocommerce-Tabs-panel,
  div.product .woocommerce-tabs .panel,
  div.product #tab-description,
  div.product .entry-content,
  div.product .post-content,
  div.product .page-content,
  div.product .entry,
  div.product .tie-content,
  .woocommerce .term-description,
  .term-description,
  .category-description
) :where(*):not(:where(
  header, header *,
  footer, footer *,
  nav, nav *,
  aside, aside *,
  .product_meta, .product_meta *,
  .posted_in, .posted_in *,
  .tagged_as, .tagged_as *,
  .sku_wrapper, .sku_wrapper *,
  .summary > .price, .summary > .price *,
  .entry-summary > .price, .entry-summary > .price *,
  .woocommerce div.product p.price, .woocommerce div.product p.price *,
  .woocommerce div.product span.price, .woocommerce div.product span.price *,
  .wci-album-outer, .wci-album-outer *,
  .wci-lazy-album-shell, .wci-lazy-album-shell *,
  .wci-album-box, .wci-album-box *,
  .wci-gallery, .wci-gallery *,
  [class*="wci-"], [class*="wci-"] *,
  .fic-card, .fic-card *,
  .fic-injected, .fic-injected *,
  [class*="fic-"], [class*="fic-"] *,
  .tm-contact-box, .tm-contact-box *,
  .tmc-fab, .tmc-fab *,
  .tmc-topbar, .tmc-topbar *,
  .tmcpt-bar, .tmcpt-bar *,
  .spc-topbar, .spc-topbar *,
  .woocommerce-product-gallery, .woocommerce-product-gallery *,
  .images, .images *,
  .gallery, .gallery *,
  .wp-caption, .wp-caption *,
  .pshtoc-box, .pshtoc-box *,
  .toc, .toc *,
  [class*="toc"], [class*="toc"] *,
  table, table *,
  form, form *,
  .cart, .cart *,
  .button, .button *,
  button, button *,
  input, textarea, select, option,
  svg, picture, figure, video, audio, iframe, canvas
)),
body:is(.dark-skin,.dark,.dark-mode,.night-mode,.someh-dark,.someh-dark-mode,.wp-dark-mode-active,.ai-dark,.ai-dark-by-clock,[data-theme="dark"],[data-skin="dark"]):is(.single-product,.woocommerce,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product)
:is(
  div.product .woocommerce-product-details__short-description,
  div.product .woocommerce-tabs .woocommerce-Tabs-panel,
  div.product .woocommerce-tabs .panel,
  div.product #tab-description,
  div.product .entry-content,
  div.product .post-content,
  div.product .page-content,
  div.product .entry,
  div.product .tie-content,
  .woocommerce .term-description,
  .term-description,
  .category-description
) :where(*):not(:where(
  header, header *,
  footer, footer *,
  nav, nav *,
  aside, aside *,
  .product_meta, .product_meta *,
  .posted_in, .posted_in *,
  .tagged_as, .tagged_as *,
  .sku_wrapper, .sku_wrapper *,
  .summary > .price, .summary > .price *,
  .entry-summary > .price, .entry-summary > .price *,
  .woocommerce div.product p.price, .woocommerce div.product p.price *,
  .woocommerce div.product span.price, .woocommerce div.product span.price *,
  .wci-album-outer, .wci-album-outer *,
  .wci-lazy-album-shell, .wci-lazy-album-shell *,
  .wci-album-box, .wci-album-box *,
  .wci-gallery, .wci-gallery *,
  [class*="wci-"], [class*="wci-"] *,
  .fic-card, .fic-card *,
  .fic-injected, .fic-injected *,
  [class*="fic-"], [class*="fic-"] *,
  .tm-contact-box, .tm-contact-box *,
  .tmc-fab, .tmc-fab *,
  .tmc-topbar, .tmc-topbar *,
  .tmcpt-bar, .tmcpt-bar *,
  .spc-topbar, .spc-topbar *,
  .woocommerce-product-gallery, .woocommerce-product-gallery *,
  .images, .images *,
  .gallery, .gallery *,
  .wp-caption, .wp-caption *,
  .pshtoc-box, .pshtoc-box *,
  .toc, .toc *,
  [class*="toc"], [class*="toc"] *,
  table, table *,
  form, form *,
  .cart, .cart *,
  .button, .button *,
  button, button *,
  input, textarea, select, option,
  svg, picture, figure, video, audio, iframe, canvas
)),
body.single-product.someh-product-text-bg-clean-active div.product :is(
  .woocommerce-product-details__short-description,
  .woocommerce-tabs .woocommerce-Tabs-panel,
  .woocommerce-tabs .panel,
  #tab-description,
  .entry-content,
  .post-content,
  .page-content,
  .entry,
  .tie-content
) :where(*):not(:where(
  .summary > .price, .summary > .price *,
  .entry-summary > .price, .entry-summary > .price *,
  .woocommerce div.product p.price, .woocommerce div.product p.price *,
  .woocommerce div.product span.price, .woocommerce div.product span.price *,
  .wci-album-outer, .wci-album-outer *,
  .wci-lazy-album-shell, .wci-lazy-album-shell *,
  .wci-album-box, .wci-album-box *,
  .wci-gallery, .wci-gallery *,
  [class*="wci-"], [class*="wci-"] *,
  .fic-card, .fic-card *,
  .fic-injected, .fic-injected *,
  [class*="fic-"], [class*="fic-"] *,
  .tm-contact-box, .tm-contact-box *,
  .tmc-fab, .tmc-fab *,
  .tmc-topbar, .tmc-topbar *,
  .tmcpt-bar, .tmcpt-bar *,
  .spc-topbar, .spc-topbar *,
  .woocommerce-product-gallery, .woocommerce-product-gallery *,
  .images, .images *,
  .gallery, .gallery *,
  .wp-caption, .wp-caption *,
  .pshtoc-box, .pshtoc-box *,
  .toc, .toc *,
  [class*="toc"], [class*="toc"] *,
  table, table *,
  form, form *,
  .cart, .cart *,
  .button, .button *,
  button, button *,
  input, textarea, select, option,
  svg, picture, figure, video, audio, iframe, canvas
)) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Stronger target for WooCommerce amount wrappers that are created inside written paragraphs. */
:is(
  html.dark-skin,
  html.dark,
  html.dark-mode,
  html.night-mode,
  html.someh-early-dark,
  html.someh-dark,
  html.someh-dark-mode,
  html.wp-dark-mode-active,
  html.ai-dark,
  html.ai-dark-by-clock,
  html[data-theme="dark"],
  html[data-skin="dark"]
) body:is(.single-product,.woocommerce,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product)
:is(
  div.product .woocommerce-product-details__short-description,
  div.product .woocommerce-tabs .woocommerce-Tabs-panel,
  div.product .woocommerce-tabs .panel,
  div.product #tab-description,
  div.product .entry-content,
  div.product .post-content,
  div.product .page-content,
  div.product .entry,
  div.product .tie-content,
  .woocommerce .term-description,
  .term-description,
  .category-description
) :is(p:not(.price),li,div:not(.price)) :is(.amount,.amount *,.woocommerce-Price-amount,.woocommerce-Price-amount *,bdi,.woocommerce-Price-currencySymbol,[class*="amount"],[class*="amount"] *),
body:is(.dark-skin,.dark,.dark-mode,.night-mode,.someh-dark,.someh-dark-mode,.wp-dark-mode-active,.ai-dark,.ai-dark-by-clock,[data-theme="dark"],[data-skin="dark"]):is(.single-product,.woocommerce,.woocommerce-page,.tax-product_cat,.tax-product_tag,.post-type-archive-product)
:is(
  div.product .woocommerce-product-details__short-description,
  div.product .woocommerce-tabs .woocommerce-Tabs-panel,
  div.product .woocommerce-tabs .panel,
  div.product #tab-description,
  div.product .entry-content,
  div.product .post-content,
  div.product .page-content,
  div.product .entry,
  div.product .tie-content,
  .woocommerce .term-description,
  .term-description,
  .category-description
) :is(p:not(.price),li,div:not(.price)) :is(.amount,.amount *,.woocommerce-Price-amount,.woocommerce-Price-amount *,bdi,.woocommerce-Price-currencySymbol,[class*="amount"],[class*="amount"] *),
body.single-product.someh-product-text-bg-clean-active div.product :is(
  .woocommerce-product-details__short-description,
  .woocommerce-tabs .woocommerce-Tabs-panel,
  .woocommerce-tabs .panel,
  #tab-description,
  .entry-content,
  .post-content,
  .page-content,
  .entry,
  .tie-content
) :is(p:not(.price),li,div:not(.price)) :is(.amount,.amount *,.woocommerce-Price-amount,.woocommerce-Price-amount *,bdi,.woocommerce-Price-currencySymbol,[class*="amount"],[class*="amount"] *) {
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
  text-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
}
