/* ==========================================================================
   Dark single-product pages (standard WooCommerce).
   Enqueued on is_product() by theme_scripts() (inc/general.php), after
   chrome-dark.css. Scoped to body.single-product. Header/footer chrome comes
   from chrome-dark.css; this darkens the product body + WooCommerce elements.
   Note: the description tab may contain Gutenberg blocks with their own light
   backgrounds (kit cards, tables) that need per-block tuning.
   ========================================================================== */

/* ---- Backgrounds + base text ---- */
body.single-product { background: #000; color: #fefefe; }
body.single-product #page,
body.single-product .site-main,
body.single-product #content { background: #000; }

/* ---- Headings + summary text ---- */
body.single-product .product_title,
body.single-product .entry-summary,
body.single-product .entry-summary h1,
body.single-product .entry-summary h2,
body.single-product .entry-summary h3,
body.single-product .entry-summary p,
body.single-product .entry-summary li,
body.single-product .woocommerce-product-details__short-description,
body.single-product .stock,
body.single-product .product_meta,
body.single-product .product_meta a { color: #fefefe; }

/* ---- Price ---- */
body.single-product .price,
body.single-product .price .amount,
body.single-product .price del,
body.single-product .price ins,
body.single-product .woocommerce-Price-amount { color: #fefefe; }

/* ---- Form fields: quantity, selects, inputs ---- */
body.single-product .quantity input,
body.single-product select,
body.single-product input[type="text"],
body.single-product input[type="email"],
body.single-product input[type="tel"],
body.single-product input[type="number"],
body.single-product textarea {
  background: #141414;
  color: #fefefe;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---- Variations table ---- */
body.single-product .variations,
body.single-product .variations th,
body.single-product .variations td,
body.single-product .variations label,
body.single-product .single_variation .price,
body.single-product .woocommerce-variation-availability { color: #fefefe; }
body.single-product .reset_variations { color: var(--sb, #0078e1); }

/* ---- Tabs ---- */
body.single-product .woocommerce-tabs ul.tabs { border-bottom-color: rgba(255, 255, 255, 0.15); }
body.single-product .woocommerce-tabs ul.tabs::before { border-bottom-color: rgba(255, 255, 255, 0.15); }
body.single-product .woocommerce-tabs ul.tabs li {
  background: #141414;
  border-color: rgba(255, 255, 255, 0.15);
}
body.single-product .woocommerce-tabs ul.tabs li a { color: rgba(255, 255, 255, 0.72); }
body.single-product .woocommerce-tabs ul.tabs li.active { background: #000; border-bottom-color: #000; }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #fefefe; }
body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3,
body.single-product .woocommerce-tabs .panel h4,
body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel li,
body.single-product .woocommerce-tabs .panel span { color: #fefefe; }

/* ---- Tables (attributes / schedule) ---- */
body.single-product .shop_table,
body.single-product .woocommerce-product-attributes,
body.single-product .woocommerce-tabs .panel table { color: #fefefe; }
body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td,
body.single-product .woocommerce-tabs .panel table th,
body.single-product .woocommerce-tabs .panel table td { border-color: rgba(255, 255, 255, 0.12); }

/* ---- Breadcrumb + generic links ---- */
body.single-product .woocommerce-breadcrumb,
body.single-product .woocommerce-breadcrumb a { color: rgba(255, 255, 255, 0.6); }

/* ---- Related / upsell product cards ---- */
body.single-product ul.products li.product .woocommerce-loop-product__title,
body.single-product ul.products li.product .price { color: #fefefe; }

/* ---- WooCommerce notices (keep readable on dark) ---- */
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error { color: #111; }
