/* Someh v10.15.1.3 - stable WooCommerce product dark text fix
   Scope: only single product text areas. Does not affect comments button, header, phone bar, widgets or light mode. */

body.single-product div.product .someh-product-readable-dark,
body.single-product div.product .someh-product-readable-dark :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,a) {
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}

body.single-product div.product .someh-product-readable-light,
body.single-product div.product .someh-product-readable-light :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,a) {
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}

body.single-product div.product .someh-product-readable-dark a {
  color:#93c5fd !important;
  -webkit-text-fill-color:#93c5fd !important;
}

body.single-product div.product .someh-product-readable-light a {
  color:#1d4ed8 !important;
  -webkit-text-fill-color:#1d4ed8 !important;
}

/* Only exact dark-mode classes/data attributes. No [class*="dark"] broad selector. */
html.dark-skin body.single-product div.product :is(.summary,.entry-summary) :is(.product_title,h1,h2,h3,p,.woocommerce-product-details__short-description),
body.dark-skin.single-product div.product :is(.summary,.entry-summary) :is(.product_title,h1,h2,h3,p,.woocommerce-product-details__short-description),
html.someh-dark body.single-product div.product :is(.summary,.entry-summary) :is(.product_title,h1,h2,h3,p,.woocommerce-product-details__short-description),
body.someh-dark.single-product div.product :is(.summary,.entry-summary) :is(.product_title,h1,h2,h3,p,.woocommerce-product-details__short-description),
html[data-theme="dark"] body.single-product div.product :is(.summary,.entry-summary) :is(.product_title,h1,h2,h3,p,.woocommerce-product-details__short-description),
body[data-theme="dark"].single-product div.product :is(.summary,.entry-summary) :is(.product_title,h1,h2,h3,p,.woocommerce-product-details__short-description) {
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
  opacity:1 !important;
  visibility:visible !important;
}

/* Never touch review/comment/tab buttons. */
body.single-product div.product :is(.woocommerce-tabs,.wc-tabs,.tabs,.comment-form,.comments-area,.woocommerce-Reviews) :is(button,.button,a,input,textarea,select) {
  opacity:revert !important;
  visibility:revert !important;
}


/* Someh v10.15.1.4 - WooCommerce description/tab text in dark mode.
   Exact dark-mode only; does not affect light mode or review/comment buttons. */
html.dark-skin body.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
body.dark-skin.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
html.dark-mode body.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
body.dark-mode.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
html.is-dark body.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
body.is-dark.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
html.someh-dark body.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
body.someh-dark.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
html[data-theme="dark"] body.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div),
body[data-theme="dark"].single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,div) {
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}

html.dark-skin body.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) a,
body.dark-skin.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) a,
html[data-theme="dark"] body.single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) a,
body[data-theme="dark"].single-product div.product :is(.woocommerce-Tabs-panel:not(#tab-reviews),.woocommerce-tabs .panel:not(#tab-reviews),#tab-description,.woocommerce-Tabs-panel--description) a {
  color:#93c5fd !important;
  -webkit-text-fill-color:#93c5fd !important;
}

/* Review and comment controls must remain controlled by WooCommerce/theme. */
body.single-product div.product :is(#tab-reviews,.woocommerce-Reviews,.comments-area,.comment-form,.reviews_tab,.wc-tabs,.tabs) :is(button,.button,a,input,textarea,select) {
  color:revert;
  -webkit-text-fill-color:revert;
  opacity:revert;
  visibility:revert;
}
