/* Opt-in product contextual navigation only. Uploaded artwork/stage styles are independent. */
body.rt-progressive-product :is(.product-title-section, .rt-gallery-navigation, .e8e8-sticky-product-cta) {
  --localnav-body: rgb(255,255,255);
  --localnav-body-alpha: rgba(255,255,255,0.8);
  --localnav-outline: #e6e6e8;
  --localnav-explore-outline: rgb(134,134,139);
  --localnav-explore-hover: #f2f2f2;
  --localnav-close-hover: rgb(51,51,54);
  --localnav-blur-bg: rgba(255,255,255,0.4);
  --localnav-paddlenav-shadow: rgba(134,134,139,0.07);
  --localnav-disabled-link: rgb(134,134,139);
  --cta-padding-block: 6px;
  --localnav-anim-duration: 240ms;
  --localnav-anim-fn: cubic-bezier(0.2,0.8,0.2,1);
  transition: transform var(--localnav-anim-duration) var(--localnav-anim-fn);
}

body.rt-progressive-product #page-container #et-boc .et-l .product-title-section.e8e8-is-sticky {
  background: var(--localnav-body) !important;
  border: 0 !important;
  padding: 6px 0 !important;
}

body.rt-progressive-product #page-container #et-boc .et-l .product-title-section.e8e8-is-sticky > .et_pb_row {
  box-sizing: border-box !important;
  margin-inline: auto !important;
  width: calc(100% - 24px) !important;
  max-width: 1120px !important;
  padding: 5px 14px !important;
  border: 1px solid var(--localnav-outline) !important;
  border-radius: 10em !important;
  background: var(--localnav-body) !important;
  box-shadow: 0 4px 16px var(--localnav-paddlenav-shadow) !important;
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation) {
  box-sizing: border-box !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding: 5px !important;
  gap: 4px !important;
  border: 1px solid var(--localnav-outline) !important;
  border-radius: 10em !important;
  background: var(--localnav-body) !important;
  box-shadow: 0 3px 12px var(--localnav-paddlenav-shadow) !important;
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation) button {
  min-height: 44px !important;
  border: 1px solid transparent !important;
  border-radius: 10em !important;
  background: transparent !important;
  color: #242424 !important;
  box-shadow: none !important;
  transition: transform var(--localnav-anim-duration) var(--localnav-anim-fn);
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation) button:not(:disabled):hover {
  background: var(--localnav-explore-hover) !important;
  border-color: var(--localnav-explore-outline) !important;
  color: var(--localnav-close-hover) !important;
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation) button:disabled {
  background: transparent !important;
  color: var(--localnav-disabled-link) !important;
  opacity: 1 !important;
  cursor: default;
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation) button:focus-visible {
  outline: 2px solid #dd1e01 !important;
  outline-offset: 3px !important;
}

body.rt-progressive-product .e8e8-sticky-product-cta__button {
  --cta-padding-block: 6px;
  padding-block: var(--cta-padding-block) !important;
  min-height: 0 !important;
  border-radius: 10em !important;
  transition: transform var(--localnav-anim-duration) var(--localnav-anim-fn);
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  body.rt-progressive-product #page-container #et-boc .et-l .product-title-section.e8e8-is-sticky {
    background: var(--localnav-blur-bg) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  body.rt-progressive-product #page-container #et-boc .et-l .product-title-section.e8e8-is-sticky > .et_pb_row, body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation) {
    background: var(--localnav-body-alpha) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.rt-progressive-product :is(.product-title-section, .rt-gallery-navigation, .e8e8-sticky-product-cta), body.rt-progressive-product :is(.rt-gallery-navigation) button, body.rt-progressive-product .e8e8-sticky-product-cta__button {
    transition: none !important;
  }
}
/* v94: reusable product controls; scope remains the opt-in product template.
   Glass = controls over visual content; segmented = one mutually exclusive view
   or method. Placement/turnaround multi-choice cards retain their red borders. */
body.rt-progressive-product {
  --rt-glass-fill: #ffffffa1;
  --rt-glass-solid: #f5f5f7;
  --rt-glass-edge: rgba(255,255,255,.7);
  --rt-glass-shadow: 0 1px 1px rgba(255,255,255,.45) inset,0 3px 14px rgba(0,0,0,.06);
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-glass-surface, .rt-gallery-navigation, .product-title-section.e8e8-is-sticky > .et_pb_row):not(.rt-proof-view-nav) {
  background: var(--rt-glass-solid) !important;
  border: 1px solid var(--rt-glass-edge) !important;
  border-radius: 10em !important;
  box-shadow: var(--rt-glass-shadow) !important;
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-glass-surface, .rt-gallery-navigation, .product-title-section.e8e8-is-sticky > .et_pb_row):not(.rt-proof-view-nav) {
    background: var(--rt-glass-fill) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
  }
}
body.rt-progressive-product #page-container #et-boc .et-l .product-title-section.e8e8-is-sticky > .et_pb_row {
  padding: 5px 14px !important;
  min-height: 0 !important;
  gap: 12px !important;
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-pill-control, .e8e8-sticky-product-cta__button) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 14px !important;
  border-radius: 10em !important;
  font-family: var(--e8e8-font-body) !important;
  font-size: var(--e8e8-type-control-size) !important;
  line-height: var(--e8e8-type-control-line) !important;
  font-weight: var(--e8e8-type-support-weight) !important;
}

body.rt-progressive-product .e8e8-sticky-product-cta__button::before {
  content: "" !important;
  position: absolute !important;
  inset: -6px 0 !important;
  pointer-events: auto !important;
  transform: none !important;
  opacity: 1 !important;
  font-size: 0 !important;
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation, .rt-segmented-control) button[aria-pressed=true] {
  border-color: transparent !important;
  background: #1d1d1f !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-gallery-navigation, .rt-segmented-control) button[aria-pressed=true]:not(:disabled):hover {
  border-color: transparent !important;
  background: #333336 !important;
  color: #fff !important;
}

body.rt-focused-product #page-container #et-boc .et-l .e8e8-mockup-preview button.e8e8-mockup-preview__hotspot.rt-proof-upload-pill {
  background-color: #ffffffa1 !important;
  border-radius: 10em !important;
  padding-block: 6px !important;
  box-shadow: var(--rt-glass-shadow) !important;
  font-family: var(--e8e8-font-body) !important;
  font-weight: var(--e8e8-type-support-weight) !important;
}

body.rt-progressive-product #page-container #et-boc .et-l form.cart .rt-review-copy {
  display: block !important;
}

body.rt-progressive-product #page-container #et-boc .et-l form.cart table.rt-native-summary-calculation {
  display: none !important;
}

body.rt-progressive-product #page-container #et-boc .et-l form.cart #bulk-grid-add-to-cart {
  border-radius: 10px !important;
  background: var(--rt-solid-fill, #dd1e01) !important;
  border-color: var(--rt-solid-fill, #dd1e01) !important;
  color: #fff !important;
  box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.rt-progressive-product #page-container #et-boc .et-l form.cart #bulk-grid-add-to-cart:not(:disabled):hover {
    --rt-solid-fill: #e21f01;
  }
}
body.rt-progressive-product #page-container #et-boc .et-l form.cart #bulk-grid-add-to-cart:not(:disabled):active {
  --rt-solid-fill: #d51d01;
}

body.rt-progressive-product #page-container #et-boc .et-l form.cart #bulk-grid-add-to-cart:disabled {
  background: #e5e5e7 !important;
  border-color: #e5e5e7 !important;
  color: #626262 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

body.rt-progressive-product #page-container #et-boc .et-l form.cart #bulk-grid-add-to-cart.loading {
  opacity: 0.65 !important;
  cursor: wait !important;
}

body.rt-progressive-product :is(.e8e8-sticky-product-cta__button, #bulk-grid-add-to-cart):focus-visible {
  outline: 2px solid #1d1d1f !important;
  outline-offset: 4px !important;
}

@media (prefers-reduced-transparency: reduce) {
  body.rt-progressive-product #page-container #et-boc .et-l :is(.rt-glass-surface, .rt-gallery-navigation, .product-title-section.e8e8-is-sticky > .et_pb_row),
  body.rt-focused-product #page-container #et-boc .et-l .e8e8-mockup-preview button.e8e8-mockup-preview__hotspot.rt-proof-upload-pill {
    background: #f5f5f7 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
/* Product facts: internal dividers only, sourced from Woo product facts. */
body.rt-progressive-product .rt-product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
}

body.rt-progressive-product .rt-product-facts > div {
  min-width: 0;
  padding: 16px;
  border-top: 1px solid #e6e6e8;
}

body.rt-progressive-product .rt-product-facts > div:nth-child(-n+2) {
  border-top: 0;
}

body.rt-progressive-product .rt-product-facts > div:nth-child(even) {
  border-left: 1px solid #e6e6e8;
}

body.rt-progressive-product .rt-product-facts dt {
  font-weight: 500;
  color: #6e6e73;
  font-size: 14px;
}

body.rt-progressive-product .rt-product-facts dd {
  margin: 4px 0 0;
  font-size: 16px;
  overflow-wrap: anywhere;
}

body.rt-progressive-product #review_form input#submit {
  background: var(--rt-accent, #dd1e01) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

body.rt-progressive-product #review_form input#submit:hover {
  filter: brightness(0.92);
}

body.rt-progressive-product #review_form input#submit:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 3px;
}

body.rt-focused-product .bulk-swatch-selected::before {
  background-color: #e8e8ed !important;
  box-shadow: 0 1px 3px #00000012 !important;
}

body.rt-focused-product .bulk-color-swatch:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 4px;
}

/* The gallery column owns desktop stickiness; do not stick its image module over Product details. */
body.rt-progressive-product #page-container #et-boc .et-l .product-gallery-column .et_pb_wc_images {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
}

/* Reusable geometry and intent are independent. Existing native aliases above
   retain their tested sizing. These classes do not change accessible roles. */
body.rt-progressive-product .rt-action-primary {
  --rt-action-fill: #dd1e01;
  --rt-action-ink: #fff;
}

body.rt-progressive-product .rt-action-supporting {
  --rt-action-fill: #1d1d1f;
  --rt-action-ink: #fff;
}

body.rt-progressive-product .rt-action-secondary {
  --rt-action-fill: #f5f5f7;
  --rt-action-ink: #1d1d1f;
}

body.rt-progressive-product :is(.rt-pill-control, .rt-button-shape-form).rt-action-primary:not(:disabled),
body.rt-progressive-product :is(.rt-pill-control, .rt-button-shape-form).rt-action-supporting:not(:disabled),
body.rt-progressive-product :is(.rt-pill-control, .rt-button-shape-form).rt-action-secondary:not(:disabled) {
  background: var(--rt-action-fill) !important;
  color: var(--rt-action-ink) !important;
}

body.rt-progressive-product .rt-button-shape-form {
  border-radius: 10px !important;
}

body.rt-progressive-product .rt-action-link {
  color: #dd1e01 !important;
  text-decoration: none;
  text-underline-offset: 3px;
}

body.rt-progressive-product .rt-action-link:hover {
  text-decoration: underline;
}

body.rt-progressive-product .rt-icon-control {
  background: #e8e8ed;
  color: #1d1d1f;
  border: 0;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
}

body.rt-progressive-product :is(.rt-pill-control, .rt-button-shape-form, .rt-action-link, .rt-icon-control):focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 3px;
}

/* Artwork views use the same solid segmented capsule as decoration methods.
   Gallery arrows/sticky glass and placement selection cards remain distinct. */
body.rt-progressive-product #page-container #et-boc .et-l .rt-proof-view-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
  width: fit-content !important;
  max-width: 100% !important;
  gap: 4px !important;
  padding: 5px !important;
  margin-inline: auto !important;
  background: #e8e8ed !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.rt-progressive-product #page-container #et-boc .et-l .rt-proof-view-nav button {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 10px 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #1d1d1f !important;
  box-shadow: none !important;
  font: 500 14px/20px var(--e8e8-font-body) !important;
  white-space: normal !important;
}

body.rt-progressive-product #page-container #et-boc .et-l .rt-proof-view-nav button[aria-pressed=true] {
  background: #1d1d1f !important;
  color: #f5f5f7 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.rt-progressive-product #page-container #et-boc .et-l .rt-proof-view-nav button:focus-visible {
  outline: 2px solid #dd1e01 !important;
  outline-offset: 3px !important;
}

body.rt-progressive-product #page-container #et-boc .et-l .rt-proof-view-nav button:disabled {
  opacity: 0.4 !important;
}
