/*
 * Single product: plain / tinted / plain bands, like the home page, with one tint only.
 *   cream (page bg)  : gallery + summary
 *   light taupe band : description / additional information tabs (the palette's soft taupe)
 *   cream            : related products
 * The tinted band breaks out of the page container with a wide box-shadow + clip-path (no template change).
 */

.single-product .woocommerce-content > .product > .woocommerce-tabs {
  --band-bg: var(--color-primary-soft);
  margin-top: var(--space-6);
  padding-block: var(--space-7);
  box-shadow: 0 0 0 100vmax var(--band-bg);
  background: var(--band-bg);
  clip-path: inset(0 -100vmax);
}

.single-product .woocommerce-content > .product > .related,
.single-product .woocommerce-content > .product > .upsells {
  margin-top: var(--space-2);
}

/* With the Q&A section (components-product-questions.css) in cream between them, related products get the tint. */
.single-product .woocommerce-content > .product:has(> .product-questions) > .related,
.single-product .woocommerce-content > .product:has(> .product-questions) > .upsells {
  margin-top: var(--space-8);
  padding-block: var(--space-7);
  box-shadow: 0 0 0 100vmax var(--color-primary-soft);
  background: var(--color-primary-soft);
  clip-path: inset(0 -100vmax);
}
