/* GuitarStomp Core v1.1.6.1: single-column affiliate-first product layout. */
body.gs-product-page-active .woocommerce div.product div.summary,
body.gs-product-page-active .woocommerce div.product .summary.entry-summary {
  box-sizing: border-box;
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
body.gs-product-page-active .woocommerce div.product div.images,
body.gs-product-page-active .woocommerce div.product .woocommerce-product-gallery {
  display: none !important;
}
/* Avada may calculate a left margin equal to the (now hidden) gallery width.
   Force the WC summary into a true full-width, single-column section.
   These overrides apply ONLY when the GuitarStomp layout is enabled. */
body.gs-product-page-active.single-product .woocommerce div.product div.summary,
body.gs-product-page-active.single-product .woocommerce div.product .summary.entry-summary,
body.gs-product-page-active.single-product .woocommerce .product .summary.entry-summary,
body.gs-product-page-active.single-product .woocommerce .product .summary-container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  flex: 0 1 100%;
  grid-column: 1 / -1;
}
body.gs-product-page-active.single-product .woocommerce .product .gs-product-page {
  width: 100% !important;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
  clear: both;
}
/* Titles or sharing panels injected by Avada's legacy single-product template
   are not part of the ordered page. Do not suppress GuitarStomp's own H1. */
body.gs-product-page-active.single-product .woocommerce div.product h2.product_title,
body.gs-product-page-active.single-product .woocommerce div.product h2.fusion-woo-product-title,
body.gs-product-page-active.single-product .woocommerce div.product .fusion-sharing-box,
body.gs-product-page-active.single-product .woocommerce div.product > .social-share {
  display: none !important;
}
.gs-product-page { width: 100%; max-width: 1140px; margin: 0 auto; clear: both; box-sizing: border-box; }
.gs-product-page > * { clear: both; }
.gs-product-page__title,
.woocommerce .gs-product-page h1.gs-product-page__title {
  text-align: left !important;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 1.65rem;
  padding: 0;
}
.gs-product-page > .gs-video-first__hero { margin: 0 0 2.25rem; max-width: 100%; }
.gs-product-page > .guitarstomp-profile,
.gs-product-page > .guitarstomp-retailers,
.gs-product-page > .gs-product-page__description,
.gs-product-page > .gs-video-first__more,
.gs-product-page > .gs-product-page__related,
.gs-product-page > .gs-product-page__social { margin-top: 0; margin-bottom: 2.5rem; }
.gs-product-page__description h2,
.gs-product-page__social h2 { margin: 0 0 1rem; }
.gs-product-page__description-body { line-height: 1.7; }
.gs-product-page__description-body > :first-child { margin-top: 0; }
.gs-product-page__related .related.products { margin: 0; }
.gs-product-page__social-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.gs-product-page__social .gs-product-page__share {
  box-sizing: border-box;
  display: inline-block;
  text-decoration: none;
  padding: .65rem 1rem;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}
.gs-product-page__social .gs-product-page__share:hover,
.gs-product-page__social .gs-product-page__share:focus-visible { text-decoration: underline; }
@media (max-width: 640px) {
  .gs-product-page__title,
  .woocommerce .gs-product-page h1.gs-product-page__title { margin-bottom: 1.1rem; }
  .gs-product-page > .gs-video-first__hero,
  .gs-product-page > .guitarstomp-profile,
  .gs-product-page > .guitarstomp-retailers,
  .gs-product-page > .gs-product-page__description,
  .gs-product-page > .gs-video-first__more,
  .gs-product-page > .gs-product-page__related,
  .gs-product-page > .gs-product-page__social { margin-bottom: 1.75rem; }
}
