/*
 * Shop pages (product, cart, checkout, order received, account): readable in both skins.
 * Staging, 2026-11-19 (round 3). Loaded only on WooCommerce pages by functions.php.
 *
 * Cause: the WordPress Additional CSS "identity layer" pins `body.page` to cream paper
 * and `.entry-content, .page .site-content` to dark ink in every skin. In the dark skin
 * the theme turns WooCommerce panels near-black (--color-theme-white-box #161616) and
 * headings near-white, so text ends up dark-on-dark or light-on-cream.
 * Fix: in the dark skin only, let shop pages use the theme's own dark tokens.
 * The light skin is untouched.
 */
:root[data-bx-mode="dark"] body.woocommerce-page,
:root[data-bx-mode="dark"] body.woocommerce,
body.buddyx-dark-theme.woocommerce-page,
body.buddyx-dark-theme.woocommerce {
  background-color: var(--color-theme-body);
}

:root[data-bx-mode="dark"] body.woocommerce-page .site-content,
:root[data-bx-mode="dark"] body.woocommerce-page .entry-content,
:root[data-bx-mode="dark"] body.woocommerce .site-content,
:root[data-bx-mode="dark"] body.woocommerce .entry-content,
body.buddyx-dark-theme.woocommerce-page .site-content,
body.buddyx-dark-theme.woocommerce-page .entry-content,
body.buddyx-dark-theme.woocommerce .site-content,
body.buddyx-dark-theme.woocommerce .entry-content {
  color: var(--global-font-color);
}


:root[data-bx-mode="dark"] body.woocommerce-page .site-content ::placeholder,
:root[data-bx-mode="dark"] body.woocommerce .site-content ::placeholder,
body.buddyx-dark-theme.woocommerce-page .site-content ::placeholder,
body.buddyx-dark-theme.woocommerce .site-content ::placeholder {
  color: #a3a3a3;
  opacity: 1;
}


/* Round 6 (staging, 2026-11-19): commissioned products, "Your words" box above Add to cart. */
.pv-commission-words {
  margin: 0 0 1.25em;
  width: 100%;
}
.pv-commission-words label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4em;
}

.pv-commission-words textarea {
  width: 100%;
  min-height: 7em;
  background: var(--color-theme-white-box, #fff);
  color: var(--global-font-color, #1e1c19);
  border: 1px solid var(--global-border-color, #ccc);
  border-radius: 6px;
  padding: 0.6em 0.75em;
}

.pv-commission-words__note {
  margin: 0.5em 0 0;
  font-size: 0.92em;
}
