/* Product image bounds: keep the entire mockup inside the stage, including on iOS Safari. */
body.single-product .ma-custom-product-gallery .ma-gallery-stage {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
body.single-product .ma-custom-product-gallery .ma-gallery-slide {
  inset: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.single-product .ma-custom-product-gallery .ma-gallery-slide img {
  position: static !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  flex: 0 1 auto !important;
  margin: auto !important;
}
@media (max-width: 600px) {
  body.single-product .woocommerce div.product > .ma-custom-product-gallery {
    width: min(100%, 320px) !important;
    max-width: min(100%, 320px) !important;
  }
  body.single-product .woocommerce div.product .ma-custom-product-gallery .ma-gallery-stage {
    aspect-ratio: 1 / 1 !important;
    max-height: 320px !important;
  }
  body.single-product .woocommerce div.product .product_title {
    font-size: clamp(1.2rem, 4.8vw, 1.55rem) !important;
    line-height: 1.24 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  body.single-product .ma-custom-product-gallery .ma-product-gallery-controls { overflow: hidden !important; }
  body.single-product .ma-custom-product-gallery .ma-gallery-track {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    overflow-x: auto !important;
  }
}

/* MA v0.1.47 — responsive single-product layout.
   This file loads after the base, cards, CTA and gallery styles.
   Percentage widths are relative to the containing block, never vw.
   No clipping or fixed-width product columns. */

body.single-product .woocommerce div.product {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.single-product .woocommerce div.product > *,
body.single-product .woocommerce div.product .summary,
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related.products,
body.single-product .woocommerce div.product .ma-custom-product-gallery {
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body.single-product .ma-custom-product-gallery {
  width: 100% !important;
  max-width: 620px !important;
}
body.single-product .ma-catalog-switcher,
body.single-product .ma-gallery-track {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
body.single-product .woocommerce div.product .summary,
body.single-product .woocommerce div.product .product_title,
body.single-product .woocommerce div.product .woocommerce-tabs {
  overflow-wrap: anywhere;
}
body.single-product .ma-puzzle-size-choice [role="group"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 9px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
body.single-product .ma-puzzle-size-choice [role="group"] a {
  display: block !important;
  width: 100% !important;
  max-width: 540px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

/* Tablet and below: one genuinely fluid column.
   WooCommerce's gallery and summary default floats are disabled. */
@media (max-width: 1024px) {
  body.single-product .ma-announcement,
  body.single-product .ma-header,
  body.single-product .ma-main,
  body.single-product .ma-shop-shell,
  body.single-product .ma-footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.single-product .ma-shell,
  body.single-product .ma-header__inner {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
  body.single-product .woocommerce,
  body.single-product .woocommerce div.product {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.single-product .woocommerce div.product > .ma-custom-product-gallery,
  body.single-product .woocommerce div.product > div.summary,
  body.single-product .woocommerce div.product > .woocommerce-tabs,
  body.single-product .woocommerce div.product > .related.products,
  body.single-product .woocommerce div.product > nav {
    display: block !important;
    float: none !important;
    clear: both !important;
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-inline: 0 !important;
  }
  body.single-product .woocommerce div.product > .ma-custom-product-gallery {
    width: min(100%, 460px) !important;
    max-width: min(100%, 460px) !important;
    margin: 0 auto 22px !important;
  }
  body.single-product .woocommerce div.product > .ma-custom-product-gallery .ma-gallery-stage {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 370px !important;
    aspect-ratio: 5 / 4 !important;
  }
  body.single-product .woocommerce div.product > div.summary {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  body.single-product .woocommerce div.product .product_title {
    max-width: 100% !important;
    font-size: clamp(1.45rem, 4.5vw, 2.3rem) !important;
    line-height: 1.22 !important;
    white-space: normal !important;
  }
  body.single-product .woocommerce div.product .ma-product-gallery-controls {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  body.single-product .woocommerce div.product .ma-gallery-track {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }
  body.single-product .woocommerce div.product .related.products {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  body.single-product .woocommerce div.product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 12px 0 !important;
  }
  body.single-product .woocommerce div.product .related.products li.product {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  body.single-product .ma-header__inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 16px !important;
  }
  body.single-product .ma-brand,
  body.single-product .ma-nav {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.single-product .ma-nav__list {
    flex-wrap: wrap !important;
    gap: 12px 18px !important;
    white-space: normal !important;
  }
  body.single-product .ma-actions { flex: 1 1 100% !important; min-width: 0 !important; }
}
@media (max-width: 600px) {
  body.single-product .ma-shell,
  body.single-product .ma-header__inner {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }
  body.single-product .ma-section.ma-shop-shell { padding: 18px 0 36px !important; }
  body.single-product .woocommerce div.product > .ma-custom-product-gallery {
    max-width: min(100%, 390px) !important;
    width: min(100%, 390px) !important;
    margin-bottom: 16px !important;
  }
  body.single-product .woocommerce div.product > .ma-custom-product-gallery .ma-gallery-stage {
    aspect-ratio: 1 / 1 !important;
    max-height: 390px !important;
  }
  /* Mobile: enlarge only the initial lifestyle image for this shirt. */
  #product-329 .ma-custom-product-gallery .ma-gallery-stage
  a.ma-gallery-slide[data-ma-slide="0"] > img {
    scale: 1.6 !important;
    transform-origin: center center !important;
  }
  /* Larger shirt presentation; compact, still comfortably tappable selectors. */
  body.single-product .ma-custom-product-gallery .ma-color-buttons {gap:8px !important;}
  body.single-product .ma-custom-product-gallery button.ma-color-swatch {
    flex:0 0 39px !important;min-width:39px !important;max-width:39px !important;
    width:39px !important;min-height:39px !important;max-height:39px !important;
    height:39px !important;padding:3px !important;
  }
  body.single-product .ma-custom-product-gallery button.ma-color-swatch span.ma-color-dot {
    width:29px !important;min-width:29px !important;
    height:29px !important;min-height:29px !important;
  }
  body.single-product .ma-custom-product-gallery .ma-size-buttons {gap:6px !important;}
  body.single-product .ma-custom-product-gallery button.ma-size-choice {
    min-width:44px !important;min-height:42px !important;
    height:42px !important;padding:0 8px !important;font-size:13px !important;
  }
  body.single-product .woocommerce div.product .product_title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
  }
  body.single-product .ma-puzzle-size-choice [role="group"] a {
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 11px 12px !important;
  }
  body.single-product .woocommerce div.product .related.products .woocommerce-loop-product__title {
    font-size: 12px !important;
    min-height: 0 !important;
    overflow-wrap: anywhere !important;
  }
}
@media (max-width: 350px) {
  body.single-product .woocommerce div.product .related.products ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Only the WPVibe draft-preview controls, never the published storefront. */
@media (max-width: 700px) {
  #wpvibe-preview-banner {
    box-sizing: border-box !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    overflow: hidden !important;
    font-size: 11px !important;
  }
  #wpvibe-preview-banner .wpvibe-info,
  #wpvibe-preview-banner .wpvibe-btn-live { display: none !important; }
  #wpvibe-preview-banner .wpvibe-badge { flex: 0 1 auto !important; min-width: 0 !important; font-size: 11px !important; }
  #wpvibe-preview-banner .wpvibe-btn-stop { flex: 0 0 auto !important; padding: 7px 10px !important; font-size: 11px !important; white-space: nowrap !important; }
}
/* All product prices, including AJAX-selected variation prices. Last-loaded stylesheet. */
body.single-product .woocommerce div.product .summary .price,
body.single-product .woocommerce div.product .summary .woocommerce-variation-price,
body.single-product .woocommerce div.product .summary .single_variation .price,
body.single-product .woocommerce div.product .summary .woocommerce-variation .price,
body.single-product .woocommerce div.product .summary .price .amount,
body.single-product .woocommerce div.product .summary .price bdi,
body.single-product .woocommerce div.product .summary .price .woocommerce-Price-currencySymbol,
body.single-product .woocommerce div.product .summary .woocommerce-variation-price .amount,
body.single-product .woocommerce div.product .summary .woocommerce-variation-price bdi,
body.single-product .woocommerce div.product .summary .woocommerce-variation-price .woocommerce-Price-currencySymbol {
 color:#6F6DA8 !important;
 -webkit-text-fill-color:#6F6DA8 !important;
 font-family:"Inter",system-ui,sans-serif !important;
 font-size:clamp(1.9rem,3.2vw,2.35rem) !important;
 font-weight:800 !important;
 line-height:1.22 !important;
}

