/* Someh v10.15.1.5 - WooCommerce dark mode: black content backgrounds + white text
   Scope: WooCommerce single product content only. Header/menu/phone/widgets are untouched. */

body.single-product.someh-woo-dark-active div.product :is(
  .summary,
  .entry-summary,
  .woocommerce-product-details__short-description,
  .woocommerce-tabs,
  .woocommerce-Tabs-panel,
  .panel,
  .entry-content,
  .post-content,
  .page-content,
  .wc-tab,
  .wcpt-desc-card,
  .wcpt-eta,
  [class*="wcpt"],
  table,
  thead,
  tbody,
  tfoot,
  tr,
  th,
  td,
  p,
  div:not(.woocommerce-product-gallery):not(.images):not(.product-images):not(.slick-slider):not(.swiper):not(.swiper-wrapper):not(.swiper-slide)
) {
  background:#05070b !important;
  background-color:#05070b !important;
  background-image:none !important;
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
  border-color:#263244 !important;
}

body.single-product.someh-woo-dark-active div.product :is(
  .summary,
  .entry-summary,
  .woocommerce-product-details__short-description,
  .woocommerce-tabs,
  .woocommerce-Tabs-panel,
  .panel,
  .entry-content,
  .post-content,
  .page-content,
  .wc-tab,
  .wcpt-desc-card,
  .wcpt-eta,
  [class*="wcpt"]
) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,b,em,small,label,blockquote,td,th,div) {
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}

body.single-product.someh-woo-dark-active div.product :is(
  .summary,
  .entry-summary,
  .woocommerce-product-details__short-description,
  .woocommerce-tabs,
  .woocommerce-Tabs-panel,
  .panel,
  .entry-content,
  .post-content,
  .page-content,
  .wc-tab,
  .wcpt-desc-card,
  .wcpt-eta,
  [class*="wcpt"]
) a {
  color:#93c5fd !important;
  -webkit-text-fill-color:#93c5fd !important;
}

/* Inputs inside WooCommerce product content */
body.single-product.someh-woo-dark-active div.product :is(input,textarea,select) {
  background:#0b1220 !important;
  background-color:#0b1220 !important;
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
  border-color:#334155 !important;
}

body.single-product.someh-woo-dark-active div.product :is(input,textarea,select)::placeholder {
  color:#cbd5e1 !important;
  -webkit-text-fill-color:#cbd5e1 !important;
  opacity:1 !important;
}

/* Keep product images/gallery backgrounds untouched */
body.single-product.someh-woo-dark-active div.product :is(
  .woocommerce-product-gallery,
  .woocommerce-product-gallery *,
  .images,
  .images *,
  .product-images,
  .product-images *,
  img,
  picture,
  figure,
  svg,
  path,
  .slick-slider,
  .slick-slider *,
  .swiper,
  .swiper *
) {
  background:revert !important;
  background-color:revert !important;
  background-image:revert !important;
  -webkit-text-fill-color:revert !important;
}

/* Exact CSS fallbacks before JS adds body.someh-woo-dark-active */
html.dark-skin body.single-product div.product :is(.summary,.entry-summary,.woocommerce-product-details__short-description,.woocommerce-tabs,.woocommerce-Tabs-panel,.wc-tab,.wcpt-desc-card,[class*="wcpt"]) {
  background:#05070b !important;
  background-color:#05070b !important;
  background-image:none !important;
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
}
body.dark-skin.single-product div.product :is(.summary,.entry-summary,.woocommerce-product-details__short-description,.woocommerce-tabs,.woocommerce-Tabs-panel,.wc-tab,.wcpt-desc-card,[class*="wcpt"]) {
  background:#05070b !important;
  background-color:#05070b !important;
  background-image:none !important;
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
}
html[data-theme="dark"] body.single-product div.product :is(.summary,.entry-summary,.woocommerce-product-details__short-description,.woocommerce-tabs,.woocommerce-Tabs-panel,.wc-tab,.wcpt-desc-card,[class*="wcpt"]) {
  background:#05070b !important;
  background-color:#05070b !important;
  background-image:none !important;
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
}
body[data-theme="dark"].single-product div.product :is(.summary,.entry-summary,.woocommerce-product-details__short-description,.woocommerce-tabs,.woocommerce-Tabs-panel,.wc-tab,.wcpt-desc-card,[class*="wcpt"]) {
  background:#05070b !important;
  background-color:#05070b !important;
  background-image:none !important;
  color:#f8fafc !important;
  -webkit-text-fill-color:#f8fafc !important;
}

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