/* Product page: 72.9% column, vw-scaled type, sticky highlights.
   Rank Ray — https://rankray.com */

.p-product {
  background: #fff;
}

.p-product h1,
.p-product h2,
.p-product h3 {
  color: inherit;
  font-weight: 700;
}

.p-product .p-specs h3 {
  font-weight: 400;
}

.p-product .container {
  width: 72.9%;
  max-width: none;
}

/* Breadcrumbs under PDP banner — same column as buy box */
.p-product > .jc-crumbs--below {
  width: 72.9%;
  max-width: none;
}

.p-banner.is-empty {
  background: #1a1a1a;
}

.p-banner.is-empty .p-banner__img {
  display: none;
}

.p-banner__txt {
  position: absolute;
  z-index: 2;
  left: 13.55%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 36rem;
  color: #111;
  pointer-events: none;
}

.p-banner__txt h1,
.p-banner__txt h2 {
  margin: 0;
  font-size: clamp(1.625rem, 3.75vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: #111;
}

.p-banner__txt p {
  margin: 0.35rem 0 0;
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  line-height: 1.9;
  color: var(--jc-color-text);
}

.p-banner__txt--white,
.p-banner__txt--white h1,
.p-banner__txt--white h2 {
  color: #fff;
  text-shadow: var(--jc-hero-shadow-title);
}

.p-banner__txt--white p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: var(--jc-hero-shadow-body);
}

.p-product-notices {
  width: 72.9%;
  margin: 0 auto;
  padding: 0 0 0.5rem;
}

.p-product-notices .woocommerce-error,
.p-product-notices .woocommerce-message,
.p-product-notices .woocommerce-info {
  margin: 0 0 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.p-product-notices .woocommerce-error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.p-product-notices .woocommerce-error a,
.p-product-notices .woocommerce-message a {
  color: inherit;
  font-weight: 700;
}

.p-product-notices .woocommerce-message {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
}

.p-dart {
  padding: 6.25vw 0 5.5vw;
  background: #fff;
}

.p-order {
  padding: 0 0 6.5vw;
  background: #fff;
}

.p-dart__box,
.p-dart__shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem 3.5rem;
  align-items: start;
}

/* Buy-box slots wrap the hero grid — do not constrain layout. */
.p-buy-wrap,
.p-buy {
  display: block;
  width: 100%;
  max-width: none;
}

/* Neutralize WooCommerce single-product float rules on clone pages. */
body.is-product-layout .p-product.product .p-dart__stage,
body.single-product .p-product .p-dart__stage {
  float: none;
  width: 100%;
  max-width: 100%;
  clear: none;
  margin: 0;
}

body.is-product-layout .p-product.product .p-dart__shop-right .p-dart__stage,
body.single-product .p-product .p-dart__shop-right .p-dart__stage {
  float: none;
  clear: none;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.p-dart__box--no-stage,
.p-dart__shop-grid--no-stage {
  grid-template-columns: minmax(0, 1fr);
  max-width: 48rem;
}

.p-dart__shop-left,
.p-dart__shop-right {
  min-width: 0;
}

.p-dart__shop-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  isolation: isolate;
}

/*
 * Keep the right column in normal flow: image → thumbs → purchase.
 * Stage must own its height (aspect-ratio) and clip abs-pos spin frames.
 * Never let 31vw / min-width: 16rem images paint over the buy box.
 */
body.is-product-layout .p-product .p-dart__shop-right .p-dart__stage,
body.single-product .p-product .p-dart__shop-right .p-dart__stage,
.p-dart__shop-right .p-dart__stage {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  min-height: 0;
  aspect-ratio: 1;
  background: #fff;
}

.p-dart__shop-right .p-spin,
.p-dart__shop-right .p-still {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.p-stage-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.p-stage-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #4b5563;
  box-shadow: 0 1px 6px rgba(17, 17, 17, 0.14);
  transform: translateY(-50%);
  cursor: pointer;
}

.p-stage-nav:hover,
.p-stage-nav:focus-visible {
  background: #fff;
  color: #111;
}

.p-stage-nav--prev {
  left: 0.65rem;
}

.p-stage-nav--next {
  right: 0.65rem;
}

.p-stage-slide {
  display: block;
  transition: transform 0.32s ease;
}

.p-stage-slide--incoming[hidden] {
  display: none !important;
}

.p-stage-nav svg {
  display: block;
  pointer-events: none;
}

.p-stage-slide.is-from-end {
  transform: translateX(100%);
}

.p-stage-slide.is-from-start {
  transform: translateX(-100%);
}

.p-stage-slide.is-in {
  transform: translateX(0);
}

.p-stage-slide.is-to-start {
  transform: translateX(-100%);
}

.p-stage-slide.is-to-end {
  transform: translateX(100%);
}

@media (prefers-reduced-motion: reduce) {
  .p-stage-slide {
    transition: none;
  }
}

body.is-product-layout .p-product .p-dart__shop-right .p-spin__frames,
body.single-product .p-product .p-dart__shop-right .p-spin__frames,
body.is-product-layout .p-product .p-dart__shop-right .p-spin__view,
body.single-product .p-product .p-dart__shop-right .p-spin__view,
body.is-product-layout .p-product .p-dart__shop-right .p-still img,
body.single-product .p-product .p-dart__shop-right .p-still img,
.p-dart__shop-right .p-spin__frames,
.p-dart__shop-right .p-spin__view,
.p-dart__shop-right .p-still img,
.p-dart__shop-right .p-still__img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  max-height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.p-dart__shop-right .p-spin__frames {
  overflow: hidden;
}

.p-dart__shop-right .p-spin__frames .p-spin__view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.p-dart__shop-right .p-thumbs-rail,
.p-dart__shop-right .p-thumbs--stage,
.p-dart__shop-right .p-buy__purchase {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
}

.p-dart__shop-right .p-buy__picks {
  padding: 0.85rem 1rem 1rem;
  border: 1px solid #eceef1;
  border-radius: 12px;
  background: #fff;
}

.p-dart__shop-right :focus-visible {
  outline: 2px solid var(--jc-color-primary, #0504aa);
  outline-offset: 2px;
  scroll-margin-top: 0.75rem;
  scroll-margin-bottom: 0.75rem;
}

.p-thumbs-rail {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.p-dart__shop-right .p-thumbs.p-thumbs--stage,
.p-thumbs--stage {
  justify-content: flex-start;
  flex-wrap: nowrap;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.p-thumbs-rail.is-overflow .p-thumbs--stage {
  padding-inline: 2.85rem;
  scroll-padding-inline: 2.85rem;
}

.p-thumbs--stage .p-thumbs__btn {
  flex: 0 0 clamp(2.75rem, 16vw, 5.5rem);
  min-width: 2.75rem;
  max-width: 5.5rem;
  scroll-snap-align: start;
}

@media (min-width: 1101px) {
  .p-thumbs-rail.is-overflow .p-thumbs--stage {
    padding-inline: 3.15rem;
    scroll-padding-inline: 3.15rem;
  }

  .p-thumbs--stage .p-thumbs__btn {
    flex: 0 0 6.25rem;
    min-width: 6.25rem;
    max-width: 6.25rem;
  }
}

.p-thumbs-rail__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow: 0 1px 4px rgba(17, 17, 17, 0.12);
  transform: translateY(-50%);
  cursor: pointer;
}

.p-thumbs-rail__btn[hidden] {
  display: none !important;
}

.p-thumbs-rail__btn--prev {
  left: 0.15rem;
}

.p-thumbs-rail__btn--next {
  right: 0.15rem;
}

.p-thumbs-rail__btn:focus-visible {
  outline: 2px solid var(--jc-color-primary, #0504aa);
  outline-offset: 2px;
}

.p-thumbs-rail__fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 2.75rem;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 78%);
  opacity: 0;
  transition: opacity 0.16s ease;
}

.p-thumbs-rail.is-overflow-end .p-thumbs-rail__fade {
  opacity: 1;
}

.p-thumbs-rail.is-overflow-start::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 1.75rem;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff 78%);
}

@media (prefers-reduced-motion: reduce) {
  .p-thumbs--stage {
    scroll-behavior: auto;
  }

  .p-thumbs-rail__fade {
    transition: none;
  }
}

.p-dart__copy .p-dart__title {
  margin: 0;
  padding-top: 2vw;
  font-size: clamp(1.5rem, 3.125vw, 3.75rem);
  font-weight: 700;
  color: #111;
}

.p-dart__sub {
  margin: 0.45rem 0 1.1rem;
  color: var(--jc-color-cyan, #00adbb);
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  font-weight: 500;
  font-family: inherit;
  line-height: 1.35;
}

.p-dart__intro {
  max-width: 36rem;
  margin: 0 0 1.1rem;
  font-size: clamp(0.875rem, 0.94vw, 1.0625rem);
  line-height: 1.65;
  color: var(--jc-color-text);
}

.p-dart__intro p {
  margin: 0 0 0.75rem;
}

.p-dart__intro p:last-child {
  margin-bottom: 0;
}

.p-dart__rule {
  display: block;
  width: 30px;
  height: 2px;
  margin-bottom: 1.15rem;
  background: #333;
}

.p-dart__rule--center {
  margin: 0 auto 1.15rem;
  background: #fff;
}

.p-product .p-specs__title {
  margin: 0 0 0.75rem;
  font-size: clamp(0.95rem, 1.05vw, 1.2rem);
  font-weight: 600;
  color: var(--jc-color-text);
  letter-spacing: 0.01em;
}

.p-specs-panel[hidden] {
  display: none;
}

.p-specs-switch .p-specs-panel:not(.is-active) .p-specs {
  margin-bottom: 0;
}

.p-specs-switch .p-specs-panel.is-active .p-specs {
  margin-bottom: 1.6rem;
}

.p-specs {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.p-specs h3 {
  position: relative;
  padding-left: 18px;
  margin: 0 0 0.5rem;
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--jc-color-text);
}

.p-specs h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #666;
}

.p-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.p-thumbs:not(.p-thumbs--stage) {
  max-width: calc(4 * 5.2vw + 60px);
}

.p-thumbs::-webkit-scrollbar {
  display: none;
}

.p-thumbs__btn {
  flex: 0 0 5.2vw;
  min-width: 50px;
  max-width: 100px;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.p-thumbs__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: var(--jc-color-cyan);
}

.p-thumbs__btn.is-on::after {
  height: 2px;
}

.p-thumbs__btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.p-dart__stage {
  position: relative;
  min-height: 31vw;
}

html.has-reveal .p-dart__stage.js-reveal,
html.has-reveal .p-dart__copy.js-reveal,
html.has-reveal .p-order.js-reveal,
html.has-reveal .p-order .js-reveal {
  opacity: 1;
  transform: none;
}

.p-spin,
.p-still {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 31vw;
}

.p-spin.is-on,
.p-still.is-on {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-spin {
  cursor: grab;
  user-select: none;
}

.p-spin.is-dragging {
  cursor: grabbing;
}

.p-spin__frames {
  position: relative;
  width: min(100%, 31.25vw);
  min-width: 16rem;
  aspect-ratio: 1;
  overflow: hidden;
}

.p-spin__view,
.p-still img {
  display: block;
  width: min(100%, 31.25vw);
  min-width: 16rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
}

.p-spin__frames .p-spin__view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  opacity: 0;
}

.p-spin__frames .p-spin__view.is-on {
  opacity: 1;
}

.p-spin__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.p-spin.is-dragging .p-spin__mask {
  cursor: grabbing;
}

.p-spin__hint {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 7%;
  z-index: 1;
  pointer-events: none;
}

.p-spin__orbit {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.p-spin__orbit ellipse {
  fill: none;
  stroke: #c5c5c5;
  stroke-width: 1.15;
  stroke-dasharray: 2.4 3.6;
}

.p-spin__badge {
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  transform: translateX(-50%);
  color: var(--jc-color-cyan, #00adbb);
  background: #fff;
  padding: 0 0.45rem;
  line-height: 1;
}

.p-spin__deg {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.p-spin__arrows {
  display: block;
  width: 2.65rem;
  height: 0.7rem;
}

.p-spin__arrows path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-spin.is-dragging .p-spin__hint {
  opacity: 0.28;
}

.p-high,
.p-high .jc-vertical-scroll__pin,
.p-high .jc-vertical-scroll-slide,
.p-high .jc-vertical-scroll-slide__media,
.p-high__pin,
.p-high__panel,
.p-high__img,
.p-high .vertical-slider {
  background: transparent !important;
  background-color: transparent;
}

.p-high .jc-vertical-scroll__pin,
.p-high__pin {
  width: 100%;
  height: auto !important;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.p-high .jc-vertical-scroll-slide,
.p-high__panel,
.p-high .vertical-slider {
  min-height: 0 !important;
  height: auto !important;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.p-high .jc-vertical-scroll-slide__media img,
.p-high__img img,
.p-high .vertical-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 800px) {
  /* Match desktop 16:9 geometry — full image visible (contain), no 100svh crop band. */
  .p-high .jc-vertical-scroll__pin,
  .p-high__pin {
    width: 100%;
    height: auto !important;
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .p-high .jc-vertical-scroll-slide,
  .p-high__panel,
  .p-high .vertical-slider {
    aspect-ratio: auto;
    height: 100% !important;
    min-height: 0 !important;
  }

  .p-high .jc-vertical-scroll-slide__media img,
  .p-high__img img,
  .p-high .vertical-slider img {
    object-fit: contain;
    object-position: center;
  }
}

.p-catalog-stack {
  width: 100%;
  margin: 0 auto;
}

.p-catalog-stack img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Seamless product PDF: full-bleed like catalog stack — no file chrome, titles, or cards */
.p-pdf {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.p-pdf__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.p-pdf__doc {
  margin: 0;
}

.p-pdf__doc + .p-pdf__doc {
  margin-top: 0;
}

.p-pdf__doc--download {
  width: 94%;
  max-width: var(--jc-container, 1200px);
  margin-inline: auto;
  padding: 2rem 0 3rem;
}

.p-pdf__viewer {
  width: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.p-pdf__frame {
  display: block;
  width: 100%;
  height: min(220vh, 120rem);
  min-height: 48rem;
  border: 0;
  background: #fff;
}

.p-pdf__poster {
  display: none;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.p-pdf__poster img {
  display: block;
  width: 100%;
  height: auto;
}

.p-pdf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
}

.p-pdf__btn {
  min-height: 2.75rem;
  touch-action: manipulation;
  text-decoration: none;
}

@media (max-width: 767px) {
  .p-pdf__doc--download {
    padding: 1.5rem 0 2.25rem;
  }

  /* iOS often cannot paint PDF iframes — fall back to full-bleed first page */
  .p-pdf__doc--embed:has(.p-pdf__poster) .p-pdf__viewer {
    display: none;
  }

  .p-pdf__poster {
    display: block;
  }

  .p-pdf__frame {
    height: min(180vh, 90rem);
    min-height: 32rem;
  }

  .p-pdf__actions .p-pdf__btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 768px) {
  .p-pdf__frame {
    height: min(240vh, 140rem);
    min-height: 56rem;
  }
}

.p-dart__rating {
  margin: 0.4rem 0 1rem;
}

.p-dart__rating .cr-reviews-rating,
.p-dart__rating .woocommerce-product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.p-dart__rating .crstar-rating-svg {
  display: inline-flex;
  line-height: 1;
}

.p-dart__rating .cr-review-link,
.p-dart__rating .woocommerce-review-link {
  color: var(--jc-color-text);
  text-decoration: none;
}

.p-dart__rating .cr-review-link:hover,
.p-dart__rating .woocommerce-review-link:hover {
  text-decoration: underline;
}

.p-reviews {
  width: 72.9%;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: transparent;
  scroll-margin-top: calc(var(--jc-header-h, 100px) + 1rem);
}

.p-reviews h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  color: #111;
  text-align: center;
}

.p-high__txt {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 72.9%;
  height: 100%;
  padding-left: 4vw;
  color: var(--jc-color-text);
}

.p-high__txt h3 {
  margin: 0 0 2.2vw;
  max-width: 31vw;
  font-size: clamp(1.5rem, 2.6vw, 3.125rem);
  line-height: 1.1;
  color: #111;
}

.p-high__panel.is-on .p-high__txt h3 {
  animation: p-slide-up 0.5s ease both;
}

.p-high__panel--art .p-high__txt {
  display: none;
}

.p-high__txt p {
  margin: 0;
  max-width: 28.6vw;
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  line-height: 1.9;
}

.p-high__note {
  margin-top: 0.75rem !important;
  font-size: 0.75rem !important;
  color: var(--jc-color-text);
}

.p-high__txt--white,
.p-high__txt--white h3 {
  color: #fff;
}

.p-high__txt--white p {
  color: rgba(255, 255, 255, 0.92);
}

.p-high__txt--white .p-high__note {
  color: rgba(255, 255, 255, 0.78);
}

.p-high__dots {
  display: none !important;
}

@media (max-width: 768px) {
  .p-high__txt {
    padding: 0.75rem 0.85rem 1rem;
  }

  .p-high__txt h2,
  .p-high__txt h3 {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .p-high__txt p {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    line-height: 1.4;
  }

  .p-high__note {
    font-size: clamp(0.75rem, 3vw, 0.8rem) !important;
    margin-top: 0.5rem !important;
    line-height: 1.35;
  }
}

@keyframes p-slide-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heating block — ccell.com `.elements` pattern: cover bg fills the box, text centred on top. */
.p-evomax {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100dvh;
  margin-bottom: 6.5vw;
  padding: clamp(2.5rem, 6vw, 4rem) 8%;
  text-align: center;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}

.p-evomax__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.p-evomax__media .p-evomax__bg,
.p-evomax__bg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-evomax__box {
  position: relative;
  z-index: 2;
  max-width: 50vw;
}

.p-evomax__title,
.p-evomax h2,
.p-evomax h3,
.p-evomax h4 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3.125vw, 3.75rem);
  color: #fff;
  text-shadow: var(--jc-hero-shadow-title);
}

.p-evomax p {
  margin: 0;
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  line-height: 2.2;
  color: #fff;
  text-shadow: var(--jc-hero-shadow-body);
}

.p-details {
  width: 72.9%;
  margin: 0 auto 6.25vw;
}

/* Heating image (.p-evomax) normally sits between highlights and detail photos.
   When that block is off, leave a full-width breath so the last slide is not glued on. */
.p-high:has(+ .p-details),
.p-high:has(+ .p-story),
.p-high:has(+ .p-explore) {
  margin-bottom: clamp(5rem, 10vw, 8rem);
}

.p-laser + .p-details,
.p-dart + .p-details {
  margin-top: clamp(5rem, 10vw, 8rem);
}

.p-details__wide,
.p-details__cell {
  overflow: hidden;
}

.p-details__wide {
  height: 24vw;
  min-height: 10rem;
  margin-bottom: 0.75rem;
}

.p-details__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.p-details__cell {
  height: 24vw;
  min-height: 10rem;
}

.p-details img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-explore {
  padding: 4.7vw 0;
  background: #fff;
}

.p-story {
  padding: 4.2vw 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.p-story__box {
  width: min(46rem, 72.9%);
  margin: 0 auto;
}

.p-story__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  color: #111;
  text-align: center;
}

.p-story__body {
  color: var(--jc-color-text);
  font-size: clamp(0.9375rem, 1vw, 1.0625rem);
  line-height: 1.7;
}

.p-story__body p {
  margin: 0 0 1rem;
}

.p-story__body p:last-child {
  margin-bottom: 0;
}

.p-story__more {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: #2f6fed;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.p-story__more:hover {
  color: #1d4ed8;
}

/* Product FAQ (ACF product_faqs) */
.justccell-faq {
  width: 100%;
  max-width: 100%;
  margin: 45px auto 25px;
}

.justccell-faq h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 22px;
}

.justccell-faq details {
  width: 100%;
  border-bottom: 1px solid #e3e3e3;
  margin: 0;
  padding: 0;
}

.justccell-faq summary {
  position: relative;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 42px 18px 0;
  list-style: none;
  line-height: 1.4;
}

.justccell-faq summary::-webkit-details-marker {
  display: none;
}

.justccell-faq summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
}

.justccell-faq details[open] summary::after {
  content: "−";
}

.justccell-faq .faq-answer {
  padding: 0 40px 18px 0;
}

.justccell-faq .faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .justccell-faq {
    margin-top: 30px;
  }

  .justccell-faq h2 {
    font-size: 23px;
    margin-bottom: 15px;
  }

  .justccell-faq summary {
    font-size: 15px;
    padding: 16px 38px 16px 0;
  }

  .justccell-faq .faq-answer {
    padding: 0 25px 16px 0;
  }

  .justccell-faq .faq-answer p {
    font-size: 14px;
    line-height: 1.6;
  }
}

.p-dart {
  background: #fff;
}

.p-details {
  background: #fff;
}

.p-explore__head,
.p-explore__rail {
  width: 72.9%;
  margin-left: auto;
  margin-right: auto;
}

.p-explore__head {
  text-align: center;
}

.p-explore__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 600;
  color: #111;
}

.p-explore__head p {
  margin: 0.4rem 0 0;
  color: var(--jc-color-text);
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
}

.p-explore__rail {
  position: relative;
  margin-top: 1.5rem;
}

.p-explore__scroller {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1.5rem 0 1.25rem;
}

.p-explore__scroller::-webkit-scrollbar {
  display: none;
}

.p-explore__card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #111;
  text-decoration: none;
}

.p-explore__card:hover {
  color: #111;
}

.p-explore__card-img {
  width: 72%;
  max-width: 16rem;
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto;
  background: transparent;
}

.p-explore__card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-explore__card h3 {
  margin: 0.85rem 0 0.25rem;
  width: 100%;
  padding: 0 10px;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-explore__card p {
  margin: 0 0 0.35rem;
  width: 100%;
  padding: 0 10px;
  color: var(--jc-color-text);
  font-size: clamp(0.8rem, 0.94vw, 1.125rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-explore__card span {
  color: var(--jc-color-cyan);
  font-size: clamp(0.8rem, 0.94vw, 1.125rem);
}

.p-explore__prev,
.p-explore__next {
  position: absolute;
  top: 28%;
  z-index: 3;
  width: var(--jc-rail-nav-size);
  height: var(--jc-rail-nav-size);
}

.p-explore__next {
  right: -1.1rem;
}

.p-explore__prev {
  left: -1.1rem;
}

@media (max-width: 1580px) {
  .p-product .container,
  .p-product > .jc-crumbs--below,
  .p-high__txt,
  .p-details,
  .p-reviews,
  .p-explore__head,
  .p-explore__rail {
    width: 84%;
  }

  .p-banner__txt {
    left: 8%;
  }
}

@media (min-width: 1101px) {
  .p-dart__shop-right {
    position: sticky;
    top: calc(var(--jc-admin-bar, 0px) + var(--navh, 100px) + 0.75rem);
    align-self: start;
    /* No viewport max-height / overflow-y: that clipped the stage while
       spin/still images still overflowed and painted over Colour / ATC. */
  }

  html:has(nav.show_nav) .p-dart__shop-right {
    top: calc(var(--navh, var(--jc-header-h, 100px)) + var(--jc-admin-bar, 0px) + 0.75rem);
  }
}

@media (max-width: 1100px) {
  .p-banner__txt {
    width: 84%;
  }

  .p-dart__box,
  .p-dart__shop-grid,
  .p-details__pair {
    grid-template-columns: 1fr;
  }

  /*
   * Stacked PDP: gallery → thumbs → picks → tier table → title/specs.
   * display:contents on shop columns only — hoists column children into one grid
   * without moving DOM. Use grid-area (not flex order): iOS Safari ignores flex order
   * on display:contents children, so source order would put .p-dart__copy above tiers.
   * Never apply contents to .p-buy__picks / .p-buy__purchase (same node); that
   * destroys the picks wrapper and shrinks Colour/Tank selects.
   */
  .p-product .container,
  .p-product > .jc-crumbs--below,
  .p-product-notices {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(0.75rem, 4vw, 1.25rem);
    box-sizing: border-box;
  }

  .p-dart {
    padding-top: 2rem;
    padding-bottom: calc(2.5rem + 5.5rem);
    overflow-x: clip;
  }

  .p-dart__shop-grid {
    display: grid;
    grid-template-areas:
      "stage"
      "thumbs"
      "picks"
      "prices"
      "copy";
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem 0;
    width: 100%;
    min-width: 0;
  }

  .p-dart__shop-left,
  .p-dart__shop-right {
    display: contents;
  }

  .p-dart__shop-right {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .p-buy-wrap,
  .p-buy,
  .p-buy__box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .p-dart__stage,
  .p-thumbs-rail,
  .p-buy__picks,
  .p-buy__prices,
  .p-dart__copy {
    grid-area: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .p-dart__stage {
    grid-area: stage;
  }

  .p-thumbs-rail {
    grid-area: thumbs;
  }

  .p-buy__picks {
    grid-area: picks;
  }

  .p-buy__prices {
    grid-area: prices;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .p-dart__copy {
    grid-area: copy;
  }

  .p-dart__copy .p-dart__title,
  .p-dart__sub,
  .p-dart__intro,
  .p-dart__intro p,
  .p-specs-switch {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .p-dart .p-spin__frames,
  .p-dart .p-spin__view:not(.p-spin__frames .p-spin__view),
  .p-dart .p-still img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .p-buy__picks select,
  .p-buy .variations,
  .p-buy .variations select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .p-spin__frames,
  .p-spin__view,
  .p-still img {
    width: 100%;
    min-width: 0;
  }

  .p-stage-nav {
    width: 3rem;
    height: 3rem;
  }

  .p-dart__stage,
  .p-spin,
  .p-still {
    min-height: 18rem;
  }

  .p-dart__shop-right .p-dart__stage,
  .p-dart__shop-right .p-spin,
  .p-dart__shop-right .p-still {
    min-height: 0;
  }

  .p-dart__shop-right .p-spin__frames,
  .p-dart__shop-right .p-spin__view,
  .p-dart__shop-right .p-still img,
  .p-dart__shop-right .p-still__img {
    width: 100%;
    min-width: 0;
  }

  .p-high__txt {
    padding-left: 6%;
  }

  .p-high__txt h3,
  .p-high__txt p,
  .p-evomax__box {
    max-width: none;
    width: 100%;
  }

  .p-evomax {
    min-height: max(calc(100vw / 2), 24rem);
    padding: 2rem 6% 2.5rem;
  }

  .p-details__wide,
  .p-details__cell {
    height: 12rem;
  }
}

@media (max-width: 480px) {
  .p-banner,
  .p-explore,
  .p-details {
    overflow-x: clip;
  }

  .p-dart__shop-right,
  .p-thumbs-rail,
  .p-thumbs--stage {
    overflow-x: visible;
  }

  .p-thumbs--stage {
    overflow-x: auto;
  }

  .p-high {
    overflow: visible;
  }

  .p-high__txt {
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 1.25rem 1rem 2rem;
    box-sizing: border-box;
  }

  .p-high__txt h3,
  .p-high__txt p,
  .p-high__note {
    max-width: 100%;
    width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 800px) {
  .p-banner__txt {
    top: auto;
    bottom: 2.6rem;
    transform: none;
    width: 88%;
    left: 6%;
  }

  .p-product .container,
  .p-product > .jc-crumbs--below,
  .p-high__txt,
  .p-details,
  .p-reviews,
  .p-explore__head,
  .p-explore__rail {
    width: 100%;
    padding-inline: 1rem;
    box-sizing: border-box;
  }

  .p-explore__card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }

  .p-explore__prev {
    left: 0.25rem;
  }

  .p-explore__next {
    right: 0.25rem;
  }
}

.p-buy-notices {
  margin-bottom: 0.75rem;
}

.p-buy-notices .woocommerce-error,
.p-buy-notices .woocommerce-message {
  margin: 0 0 0.5rem;
}

.p-buy {
  padding: 0;
  background: transparent;
}

.p-buy__box {
  position: relative;
  z-index: 3;
  max-width: none;
  margin: 0;
}

.p-buy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
  gap: 1.75rem 3rem;
  align-items: start;
}

.p-buy__grid--no-tiers {
  grid-template-columns: minmax(0, 1fr);
}

.p-buy__sku {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.p-buy__price {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: #111;
}

.p-buy__stepper {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 2.75rem;
  box-sizing: border-box;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.p-buy__stepper button {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  padding: 0;
  border: 0;
  background: #f4f4f5;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.p-buy__stepper input,
.p-buy__field .p-buy__stepper input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid #cfcfcf;
  border-right: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  text-align: center;
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  cursor: text;
}

.p-buy__stepper input::-webkit-outer-spin-button,
.p-buy__stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.p-buy__laser-notice {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  font-size: 0.9rem;
  line-height: 1.45;
}

.p-buy__laser-notice[hidden] {
  display: none !important;
}

.p-buy__purchase {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 26rem;
}

.p-dart__shop-right .p-buy__purchase,
.p-dart__shop-left .p-buy__purchase {
  max-width: none;
  width: 100%;
}

.p-buy__config {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eceef1;
}

.p-buy__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #eceef1;
}

.p-buy__qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1rem;
}

.p-buy__field-label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
}

.p-buy__field--qty {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
}

.p-buy__stock {
  flex: 0 1 auto;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #4b5563;
  font-weight: 600;
}

.p-buy__stock.is-error {
  color: #b42318;
}

.p-buy__stock[hidden] {
  display: none !important;
}

.p-buy-sticky {
  position: fixed;
  z-index: 100050;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 6%;
  background: #fff;
  box-shadow: 0 -8px 24px rgb(0 0 0 / 12%);
}

.p-buy-sticky[hidden],
.p-buy__field[hidden] {
  display: none !important;
}

.p-buy-sticky .p-buy__cta {
  width: auto;
  min-width: 12rem;
  margin: 0;
}

.p-buy__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  border: 1px solid #e5e7eb;
}

.p-buy__table th,
.p-buy__table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
}

.p-buy__table thead th {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.p-buy__table tbody tr {
  cursor: default;
  color: #374151;
  background: #fff;
}

.p-buy__table tbody tr:last-child th,
.p-buy__table tbody tr:last-child td {
  border-bottom: 0;
}

.p-buy__table tbody tr.active-tier {
  background: rgba(5, 4, 170, 0.05);
  background: color-mix(in srgb, var(--jc-color-primary) 5%, transparent);
  font-weight: 700;
  color: #111;
}

.p-buy__table tbody tr.active-tier th,
.p-buy__table tbody tr.active-tier td {
  color: #111;
}

.p-buy__picks {
  --p-buy-label: 9.25rem;
  --p-buy-gap: 0.65rem;
}

.p-buy__field,
.p-buy .variations tr {
  display: grid;
  grid-template-columns: var(--p-buy-label) minmax(0, 1fr);
  align-items: center;
  gap: var(--p-buy-gap);
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
}

.p-buy .variations tr.jc-variation-attr--tank-na,
form.variations_form .variations tr.jc-variation-attr--tank-na {
  opacity: 0.85;
}

.p-buy .variations tr.jc-variation-attr--tank-na label,
form.variations_form .variations tr.jc-variation-attr--tank-na label {
  color: #6b7280;
}

.p-buy .variations tr.jc-variation-attr--tank-na select:disabled,
form.variations_form .variations tr.jc-variation-attr--tank-na select:disabled {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 1;
}

.p-buy__field.p-buy__field--qty {
  display: grid;
  grid-template-columns: var(--p-buy-label) minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: var(--p-buy-gap);
  flex: 0 0 auto;
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0;
  min-height: 0;
  line-height: 1.2;
}

.p-buy__field > span:not(.p-buy__stepper) {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.p-buy__field select,
.p-buy__field input:not([data-buy-qty]) {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
  font: inherit;
  appearance: auto;
  -webkit-appearance: menulist;
  cursor: pointer;
  pointer-events: auto;
}

.p-buy__field .p-buy__stepper,
.p-buy__stepper {
  display: flex;
  box-sizing: border-box;
}

.p-buy__field .p-buy__stepper button,
.p-buy__stepper button {
  box-sizing: border-box;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  min-width: 2.75rem;
  max-width: 2.75rem;
}

.p-buy__field .p-buy__stepper input,
.p-buy__stepper input {
  box-sizing: border-box;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  max-width: none;
  padding: 0;
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

.p-buy__purchase .jc-laser {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;
}

.p-buy__purchase .jc-laser__toggle {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #1d1d1f;
}

.p-buy__price-panel {
  margin: 0 0 1rem;
  padding: 0;
}

.p-buy__pricing-hero {
  margin: 0;
}

.p-buy__quote {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.p-buy__quote:has([data-buy-total-row]:not([hidden])) {
  margin: 0 0 1rem;
}

.p-buy__quote-breakdown:not(:empty) {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #eceef1;
}

.p-buy__pricing-hero[hidden] {
  display: none !important;
}

.p-buy__quote-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
}

.p-buy__quote-total-amount {
  display: inline-flex;
  position: relative;
  align-items: baseline;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #111;
  font-variant-numeric: tabular-nums;
  font-kerning: normal;
}

.p-buy__quote-unit-line [data-buy-unit],
.p-buy__quote-line strong,
.p-buy__table td {
  position: relative;
}

.p-buy__pair {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
}

.p-buy__was {
  color: #4b5563;
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: -0.01em;
  text-decoration: line-through;
  text-decoration-color: #dc2626;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0;
  text-decoration-skip-ink: none;
}

.p-buy__now {
  color: #111;
  font-weight: 700;
  text-decoration: none;
  background: none;
}

.p-buy__table .p-buy__was {
  font-size: 0.9em;
}

.p-buy__quote-unit-line .p-buy__pair {
  margin-right: 0.15rem;
}

.p-buy__unit-suffix {
  color: #6b7280;
}

.p-buy__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p-buy__quote-unit-line {
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}

.p-buy__quote-unit-line[hidden] {
  display: none;
}

.p-buy__quote-line,
.p-buy__quote-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  color: #111;
}

.p-buy__quote-line[hidden] {
  display: none;
}

.p-buy__quote-line {
  color: #4b5563;
}

.p-buy__quote-line strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.p-buy__quote-vat {
  color: #86868b;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.p-buy__quote.is-quote .p-buy__quote-total-amount {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
}

.p-buy .woocommerce-Price-amount,
.p-buy .amount,
.woocommerce-Price-amount bdi {
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.p-buy .woocommerce-Price-currencySymbol,
.woocommerce-Price-currencySymbol {
  margin-right: 0.05em;
  letter-spacing: -0.02em;
  font-weight: inherit;
}

.p-buy__quote-total-amount,
.p-buy__quote-unit-line {
  font-feature-settings: "tnum" 1;
}

.p-buy__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.08s ease, background-color 0.12s ease, opacity 0.12s ease;
}

.p-buy__cta:hover {
  background: #6d28d9;
  color: #fff;
}

.p-buy__cta:active,
.p-buy__cta.is-pressed {
  transform: scale(0.985);
  background: #5b21b6;
}

.p-buy__cta.is-busy {
  opacity: 0.88;
  cursor: progress;
}

.p-buy__cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #7c3aed;
}

.p-buy__note,
.p-buy__collect {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4b5563;
}

.p-buy form.cart {
  position: relative;
  margin: 0;
  padding: 0;
}

.p-buy .woocommerce-variation-add-to-cart,
.p-buy .reset_variations_alert {
  margin: 0;
  padding: 0;
  border: 0;
}

.p-buy .variations,
.p-buy .variations tbody {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.p-buy .variations th,
.p-buy .variations td {
  display: block;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  text-align: left;
  vertical-align: middle;
  background: transparent;
}

.p-buy .variations .label {
  width: auto;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.p-buy .variations .value {
  min-width: 0;
}

.p-buy form.cart .variations select,
.p-buy .variations select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 2.75rem;
  margin: 0;
  padding: 0 0.75rem;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
  font: inherit;
}

.p-buy .woocommerce-variation-price,
.p-buy .woocommerce-variation-availability,
.p-buy .reset_variations,
.p-buy form.cart .quantity,
.p-buy form.cart .single_add_to_cart_button {
  display: none !important;
}

.p-buy .single_variation_wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.p-laser {
  padding: 2.4vw 0;
  background: #fff;
  color: var(--jc-color-text);
}

.p-laser__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: 1.75rem 2.25rem;
  align-items: center;
}

.p-laser__box--text {
  grid-template-columns: 1fr;
  max-width: 46rem;
}

.p-laser h2 {
  margin: 0 0 0.5rem;
  color: var(--jc-color-text);
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
}

.p-laser p {
  margin: 0 0 1rem;
  max-width: 36em;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--jc-color-text);
}

.p-laser__cta {
  display: inline-flex;
}

.p-laser__media {
  min-width: 0;
}

.p-laser__video {
  display: block;
  width: 100%;
  height: 13.5rem;
  max-height: 13.5rem;
  object-fit: cover;
  border-radius: 8px;
  background: #ececec;
}

@media (max-width: 900px) {
  .p-buy__grid,
  .p-buy__box {
    margin-right: auto;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .p-buy__picks {
    --p-buy-label: 8rem;
  }

  .p-buy__purchase,
  .p-buy__prices,
  .p-buy__picks {
    max-width: none;
    width: 100%;
  }

  .p-buy__stepper,
  .p-buy__cta {
    width: 100%;
  }

  .p-buy__field,
  .p-buy .variations tr {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .p-buy__field.p-buy__field--qty {
    grid-template-columns: var(--p-buy-label) minmax(0, 1fr);
    margin-bottom: 0.45rem;
  }

  .p-buy__field select,
  .p-buy__field input:not([data-buy-qty]) {
    min-height: 3.15rem;
  }

  .p-buy__stepper {
    height: 3.15rem;
    border-radius: 6px;
  }

  .p-buy__field .p-buy__stepper button,
  .p-buy__stepper button {
    flex-basis: 3.15rem;
    width: 3.15rem;
    min-width: 3.15rem;
    max-width: 3.15rem;
    font-size: 1.35rem;
  }

  .p-buy__table {
    display: block;
    margin: 0 0 0.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
  }

  .p-buy__table thead,
  .p-buy__table tbody {
    display: block;
    width: 100%;
  }

  .p-buy__table thead tr,
  .p-buy__table tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .p-buy__table thead th,
  .p-buy__table tbody th,
  .p-buy__table tbody td {
    display: block;
    border-bottom: 0;
    box-sizing: border-box;
  }

  .p-buy__table thead th {
    flex: 1 1 50%;
    min-width: 0;
    padding: 0.7rem 0.65rem;
    font-size: 0.62rem;
    letter-spacing: 0.01em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .p-buy__table thead th:last-child {
    flex: 1 1 50%;
    text-align: right;
  }

  .p-buy__table tbody tr {
    min-height: 3.25rem;
    border-bottom: 1px solid #eceef1;
  }

  .p-buy__table tbody tr:last-child {
    border-bottom: 0;
  }

  .p-buy__table tbody th {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 0.95rem 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .p-buy__table tbody td {
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    max-width: 52%;
    padding: 0.95rem 0.65rem;
    text-align: right;
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .p-buy__table tbody tr.active-tier {
    box-shadow: inset 4px 0 0 var(--jc-color-primary);
  }

  .p-buy__quote-total-amount {
    font-size: 1.85rem;
  }

  .p-laser {
    padding: 1.75rem 0 2.25rem;
    border-top: 1px solid #eceef1;
    background: #f7f8fa;
  }

  .p-laser__box {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .p-laser__copy,
  .p-laser__media {
    width: 100%;
    min-width: 0;
  }

  .p-laser h2 {
    font-size: 1.35rem;
  }

  .p-laser p {
    max-width: none;
    margin: 0 0 1.1rem;
  }

  .p-laser .p-laser__cta.btn {
    display: flex;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
  }

  .p-laser__video {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .p-buy__field,
  .p-buy .variations tr {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
