html, body {
  font-family: "Chakra Petch", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Keep injected builder sections full-bleed (backgrounds to browser edges) */
.bb-product-content-fullbleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Prevent horizontal scroll caused by full-bleed */
.theme-content-area,
.theme-content-area-inner {
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  .theme-content-area,
  .theme-content-area-inner {
    overflow-x: hidden;
  }
}

.theme-product-detail-container {
  margin-top: 20px !important;
}

/* Ensure the moved details section behaves like normal site-width content */
.bb-details-fullwidth .theme-product-specification-section{
  width: 100%;
}

/* Hide the “Product Details” accordion header label */
.bb-no-accordion > summary{
  display: none !important;
}

/* Hide coupon container (typo preserved as in your theme) */
.theme-coupon-conatiner{
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
.theme-coupon-conatiner * {
  visibility: hidden !important;
}

.theme-product-details-style-10 .theme-product-detail-container .theme-cart-button {
  font-size: 16px !important;
}

/* Remove accordion-y spacing if needed */
.bb-no-accordion .theme-prod-content-details{
  padding-top: 0 !important;
}

.theme-name-sortby-filter { border: none !important; }

/* --------------------------
   CATEGORY/LIST (style-10)
-------------------------- */

/* Center title/desc/price area */
.theme-prod-box.theme-product-list-style-10 .theme-product-details-area{
  text-align: center;
  align-items: center;
}

.theme-prod-box.theme-product-list-style-10 .theme-product-description {
  padding-bottom: 20px;
}

/* Default CTA bar styling (in-stock behavior) */
.theme-prod-box.theme-product-list-style-10 .theme-product-button-area {
  padding: 10px !important;
  background: #434343 !important;
  font-size: 16px !important;
}

/* Product title size */
.theme-product-name a {
  font-size: 1.25em !important;
}

/* Disable product image hover animation */
.theme-prod-box.theme-product-list-style-10 .theme-product-image-area img,
.theme-prod-box.theme-product-list-style-10 .theme-product-image-area{
  transform: none !important;
  transition: none !important;
}
.theme-prod-box.theme-product-list-style-10:hover .theme-product-image-area img{
  transform: none !important;
}

/* Short description font color  */
.theme-product-short-description {
  color: #101010 !important;
}


/* --------------------------
   OUT-OF-STOCK OVERLAY REMOVAL + CLICKABILITY
-------------------------- */

/* Ensure overlays never block clicks */
.theme-product-out-of-stock-area,
.theme-product-out-of-stock-area::before,
.theme-product-out-of-stock-area::after,
.theme-product-image-area::before,
.theme-product-image-area::after {
  pointer-events: none !important;
}

/* Ensure image/link area is clickable */
.theme-product-image-area a,
.theme-product-image-area a * {
  pointer-events: auto !important;
}

/* Remove dark overlay on out-of-stock images */
.theme-product-out-of-stock-area,
.theme-product-detail-image-container .theme-out-of-stock,
.theme-product-image-area .theme-out-of-stock,
.theme-product-detail-image-inner::before,
.theme-product-image-area::before {
  background: none !important;
  opacity: 1 !important;
}

/* Ensure images are not dimmed */
.theme-product-detail-image img,
.theme-product-image-area img,
.theme-product-detail-image-container img {
  filter: none !important;
  opacity: 1 !important;
}

/* Product page: stop overlay pseudo layers */
.theme-product-detail-image-inner::before,
.theme-product-detail-image-container::before {
  background: transparent !important;
  opacity: 0 !important;
}

/* --------------------------
   HIDE OUT-OF-STOCK BADGES ON IMAGES (lists + product page)
-------------------------- */

.theme-out-of-stock-text,
.theme-ribbon-stock[data-zs-outofstock],
.theme-product-detail-image-container .theme-out-of-stock-text,
.theme-product-image-area .theme-out-of-stock-text,
.theme-product-detail-image-container .theme-prod-stock-details.theme-out-of-stock,
.theme-product-detail-image-container .theme-out-of-stock {
  display: none !important;
}

/* --------------------------
   LIST/CATEGORY (style-10): Out-of-stock = red text link, no background bar
-------------------------- */

.theme-prod-box.theme-product-list-style-10 .theme-product-view-details.bb-oos-view-details {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 10px !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.theme-prod-box.theme-product-list-style-10 .theme-product-view-details.bb-oos-view-details > a.bb-out-of-stock-link span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #E51C50 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

a.bb-out-of-stock-link {color: #E51C50 !important;}

/* Remove gray CTA bar for OOS products */
.theme-prod-box.theme-product-list-style-10 .theme-product-button-area.bb-oos-bar {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Product page: Out of Stock text exactly where CTA row is, under price */
.bb-product-outofstock-cta{
  color: #E51C50 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 10px 0 !important;
  margin: 12px 0 0 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.zphero { background-color: #000000 !important; }

/* ================================
   PRODUCT LISTS: HIDE ALL NORMAL CTAs
   (Add to Cart / View Details / More Details)
   BUT KEEP CUSTOM OOS TEXT VISIBLE
   EXCEPT on /categories/eurorack-patch-cables/...
   ================================ */

html:not(.bb-allow-list-ctas) .theme-prod-box .theme-product-view-details:not(.bb-oos-view-details) {
  display: none !important;
}