/* NIXRAD stable product gallery */
html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt > .main-image,
html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt > .additional-images,
html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt .swiper-controls,
html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt .swiper-button-prev,
html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt .swiper-button-next {
  display: none !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery,
html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery * {
  box-sizing: border-box !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
  --nxg-thumb-w: 88px;
  --nxg-thumb-h: 112px;
  --nxg-main-h: 520px;
  --nxg-main-ratio: 1.333333;
  --nxg-frame-ratio: var(--nxg-main-ratio);
  --nxg-frame-h: var(--nxg-main-h);
  --nxg-gap: 4px;
  --nxg-scrollbar-w: 20px;
  display: grid !important;
  grid-template-columns: calc(var(--nxg-thumb-w) + var(--nxg-scrollbar-w)) minmax(0, 1fr) !important;
  gap: var(--nxg-gap) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumbs {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: calc(var(--nxg-thumb-w) + var(--nxg-scrollbar-w)) !important;
  height: var(--nxg-frame-h) !important;
  min-height: var(--nxg-frame-h) !important;
  max-height: var(--nxg-frame-h) !important;
  margin: 0 !important;
  padding: 0 calc(var(--nxg-scrollbar-w) - 6px) 0 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb {
  flex: 0 0 var(--nxg-thumb-h) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--nxg-thumb-w) !important;
  min-width: var(--nxg-thumb-w) !important;
  max-width: var(--nxg-thumb-w) !important;
  height: var(--nxg-thumb-h) !important;
  min-height: var(--nxg-thumb-h) !important;
  max-height: var(--nxg-thumb-h) !important;
  margin: 0 !important;
  padding: 6px !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb.is-active {
  border-color: #7a1b6f !important;
  box-shadow: 0 0 0 1px #7a1b6f inset !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 8px !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb.is-video {
  position: relative !important;
  border-color: rgba(106, 27, 92, .55) !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-thumb-play {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(106, 27, 92, .94) !important;
  box-shadow: 0 8px 18px rgba(9, 32, 68, .28) !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
  z-index: 3 !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-thumb-play::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 52% !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 7px solid transparent !important;
  border-bottom: 7px solid transparent !important;
  border-left: 10px solid #fff !important;
  transform: translate(-35%, -50%) !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-main {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, calc(var(--nxg-main-h) * var(--nxg-main-ratio))) !important;
  min-width: 0 !important;
  height: var(--nxg-main-h) !important;
  justify-self: start !important;
  aspect-ratio: var(--nxg-main-ratio) !important;
  max-height: var(--nxg-main-h) !important;
  overflow: hidden !important;
  border: 1px solid #edf0f3 !important;
  border-radius: 14px !important;
  background: #fff !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000 !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-play {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 6 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  width: 74px !important;
  height: 74px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(106, 27, 92, .94) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .26) !important;
  transform: translate(-50%, -50%) !important;
  cursor: pointer !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-play::before {
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 6px !important;
  border-top: 16px solid transparent !important;
  border-bottom: 16px solid transparent !important;
  border-left: 24px solid #fff !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-ui {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  pointer-events: none !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-nav {
  position: absolute !important;
  top: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: rgba(26, 43, 76, .84) !important;
  color: #fff !important;
  transform: translateY(-50%) !important;
  pointer-events: auto !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-prev { left: 10px !important; }
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-next { right: 10px !important; }
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-prev::before { content: "\2039" !important; font-size: 28px !important; }
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-next::before { content: "\203a" !important; font-size: 28px !important; }
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-dots {
  position: absolute !important;
  right: 0 !important;
  bottom: 10px !important;
  left: 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  pointer-events: auto !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-dot {
  width: 9px !important;
  height: 9px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #7d8593 !important;
}
html.route-product-product:not(.popup) body #product-product .nixrad-gallery-dot.is-active { background: #4f91b5 !important; }

@media (min-width: 1025px) {
  html.route-product-product:not(.popup) body #product-product .product-info {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(620px, 1.1fr) !important;
    column-gap: 24px !important;
    align-items: start !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-info > .product-left,
  html.route-product-product:not(.popup) body #product-product .product-info > .product-right {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-title-row,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-product-title {
    width: 100% !important;
    max-width: none !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-product-title {
    font-size: clamp(28px, 2.05vw, 38px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    text-wrap: balance;
    overflow-wrap: anywhere !important;
  }
}
@media (min-width: 1025px) and (max-width: 1379px) {
  html.route-product-product:not(.popup) body #product-product .product-info {
    grid-template-columns: minmax(0, .94fr) minmax(560px, 1.06fr) !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  html.route-product-product:not(.popup) body #product-product .product-info { display: block !important; }
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-thumb-w: 96px;
    --nxg-thumb-h: 118px;
    --nxg-main-h: 520px;
    --nxg-gap: 18px;
    max-width: 674px !important;
    margin: 0 auto !important;
  }
}
/* Tablet portrait: grow only the gallery stage so the product card has no right-side void. */
@media (min-width: 700px) and (max-width: 1024px) and (orientation: portrait) {
  html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt {
    width: 100% !important;
    max-width: none !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-thumb-w: clamp(96px, 14vw, 124px);
    --nxg-thumb-h: clamp(120px, 17.2vw, 152px);
    --nxg-gap: 14px;
    --nxg-scrollbar-w: 8px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    grid-template-columns: calc(var(--nxg-thumb-w) + var(--nxg-scrollbar-w)) minmax(0, 1fr) !important;
    align-items: start !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    justify-self: stretch !important;
    aspect-ratio: var(--nxg-main-ratio) !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-link,
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-img {
    width: 100% !important;
    height: 100% !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumbs {
    width: calc(var(--nxg-thumb-w) + var(--nxg-scrollbar-w)) !important;
    padding-right: 0 !important;
    scrollbar-gutter: auto !important;
  }
}

@media (min-width: 700px) and (max-width: 768px) {
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-thumb-w: 92px;
    --nxg-thumb-h: 116px;
    --nxg-gap: 8px;
    --nxg-scrollbar-w: 4px;
    grid-template-columns: calc(var(--nxg-thumb-w) + var(--nxg-scrollbar-w)) minmax(0, 1fr) !important;
    gap: var(--nxg-gap) !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main {
    width: 78% !important;
    min-width: 0 !important;
    max-width: 78% !important;
    height: auto !important;
    justify-self: start !important;
    aspect-ratio: var(--nxg-main-ratio) !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumbs {
    width: calc(var(--nxg-thumb-w) + var(--nxg-scrollbar-w)) !important;
    padding-right: 0 !important;
    scrollbar-gutter: auto !important;
  }
}

/* Tablet portrait: make the configurator area match the wider gallery rhythm. */
@media (min-width: 700px) and (max-width: 1024px) and (orientation: portrait) {
  html.route-product-product:not(.popup) body #product-product .product-right,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm {
    width: 100% !important;
    max-width: none !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm {
    margin-top: 22px !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-product-title {
    max-width: 640px !important;
    margin: 0 0 10px !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-price-row {
    max-width: 640px !important;
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-steps {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 20px !important;
    width: 100% !important;
    max-width: none !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-field {
    min-width: 0 !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-field select,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-field input {
    height: 48px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-step:has(#colorSwatches),
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-step:has(.nixrad-hm-colors),
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-step:has(.nixrad-hm-conn-group) {
    grid-column: 1 / -1 !important;
  }

  html.route-product-product:not(.popup) body #product-product #colorSwatches,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-colors {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
  }

  html.route-product-product:not(.popup) body #product-product #colorSwatches > .nixrad-hm-color,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-color,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-color--more {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 96px !important;
    margin: 0 !important;
    padding: 10px 6px !important;
    border-radius: 12px !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-color-disc {
    width: 54px !important;
    height: 54px !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-conn-group {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-conn {
    min-height: 96px !important;
    padding: 10px 6px !important;
    border-radius: 12px !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-conn img {
    height: 48px !important;
  }

  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel {
    width: 100% !important;
    max-width: none !important;
    margin: 16px 0 20px !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-head {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
  }

  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-actions {
    grid-template-columns: repeat(2, 128px) !important;
    gap: 10px !important;
  }

  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-link-btn {
    width: 128px !important;
    max-width: 128px !important;
    min-height: 50px !important;
    border-radius: 11px !important;
    font-size: 11px !important;
  }

  html.route-product-product:not(.popup) body #product-product .product-tabs,
  html.route-product-product:not(.popup) body #product-product .tabs-container,
  html.route-product-product:not(.popup) body #product-product .module-product_tabs {
    width: 100% !important;
    max-width: none !important;
  }

  html.route-product-product:not(.popup) body #product-product .nav-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html.route-product-product:not(.popup) body #product-product .nav-tabs > li,
  html.route-product-product:not(.popup) body #product-product .nav-tabs > li > a {
    width: 100% !important;
    margin: 0 !important;
  }

  html.route-product-product:not(.popup) body #product-product .nav-tabs > li > a {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  html.route-product-product:not(.popup) body #product-product .product-info { display: block !important; padding-right: 0 !important; padding-left: 0 !important; }
  html.route-product-product:not(.popup) body #product-product .product-left { width: 100% !important; margin: 0 !important; padding: 0 !important; }
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-thumb-w: 76px;
    --nxg-thumb-h: 88px;
    --nxg-main-h: 400px;
    --nxg-gap: 3px;
    padding-left: 8px !important;
  }
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main {
    width: 100% !important;
    height: auto !important;
    justify-self: stretch !important;
  }
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumbs {
    height: var(--nxg-frame-h) !important;
    min-height: var(--nxg-frame-h) !important;
    max-height: var(--nxg-frame-h) !important;
  }
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb {
    flex: 0 0 var(--nxg-thumb-h) !important;
    height: var(--nxg-thumb-h) !important;
    min-height: var(--nxg-thumb-h) !important;
    max-height: var(--nxg-thumb-h) !important;
    padding: 5px !important;
    border-radius: 10px !important;
  }
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main { border-right: 0 !important; border-left: 0 !important; border-radius: 0 !important; }
  html.route-product-product:not(.popup) body #product-product .nixrad-gallery-nav { width: 32px !important; height: 32px !important; border-radius: 8px !important; }
}
@media (max-width: 390px) {
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-thumb-w: 70px;
    --nxg-thumb-h: 82px;
    --nxg-main-h: 390px;
    --nxg-gap: 6px;
    padding-left: 6px !important;
  }
}

@media (max-width: 768px) {
  html.route-product-product:not(.popup) body #product-product #content {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb {
    padding: 2px !important;
    border-radius: 9px !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb img {
    border-radius: 6px !important;
    object-fit: contain !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-thumb-w: 66px;
    --nxg-scrollbar-w: 4px;
    grid-template-columns: calc(var(--nxg-thumb-w) + var(--nxg-scrollbar-w)) minmax(0, 1fr) !important;
    gap: 0 !important;
    padding-left: 0 !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumbs {
    padding-right: 0 !important;
    scrollbar-gutter: auto !important;
  }
}

@media (max-width: 768px) {
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-colors {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches {
    display: grid !important;
    grid-template-columns: repeat(3, 58px) minmax(112px, 1fr) !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches.nx-colors-four,
  html.route-product-product:not(.popup) body #product-product #colorSwatches:has(> .nixrad-hm-color--more:nth-child(5)) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches > .nixrad-hm-color {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    box-sizing: border-box !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-color,
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-color--more {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 4px 3px !important;
    justify-content: center !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches .nixrad-hm-color:not(.nixrad-hm-color--more) {
    min-height: 76px !important;
    padding: 3px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches.nx-colors-four .nixrad-hm-color:not(.nixrad-hm-color--more),
  html.route-product-product:not(.popup) body #product-product #colorSwatches:has(> .nixrad-hm-color--more:nth-child(5)) .nixrad-hm-color:not(.nixrad-hm-color--more) {
    min-height: 76px !important;
    padding: 6px 2px !important;
    border: 1px solid #e5eaf0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .035) !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-color-disc {
    width: 42px !important;
    height: 42px !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right .nixrad-hm-color-name {
    max-width: 100% !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches .nixrad-hm-color--more {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 4px 8px !important;
    border: 2px dashed #8d2a79 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches.nx-colors-four > .nixrad-hm-color--more,
  html.route-product-product:not(.popup) body #product-product #colorSwatches > .nixrad-hm-color--more:nth-child(5) {
    grid-column: 1 / -1 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 6px 12px !important;
  }
  html.route-product-product:not(.popup) body #product-product #colorSwatches .nixrad-hm-color--more .nixrad-hm-color-name {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel {
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 12px !important;
    border: 1px solid #d7ebe7 !important;
    border-radius: 12px !important;
    background: #fbfefd !important;
    box-shadow: none !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-main {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-flame {
    display: inline-flex !important;
    flex: 0 0 46px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border: 1px solid #e4e9ef !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 20px !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-summary {
    min-width: 0 !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-value {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-sub {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 96px) !important;
    gap: 6px !important;
    width: auto !important;
    justify-content: end !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 96px !important;
    max-width: 96px !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 5px 4px !important;
    border: 1px solid #d6e0ea !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #162744 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-link-btn::before,
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-link-btn::after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 540px) {
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-head {
    grid-template-columns: 1fr !important;
  }
  html.route-product-product:not(.popup) body #product-product #nixradHeatPanel .nixrad-hm-heat-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }
}

@media (min-width: 769px) {
  html.route-product-product:not(.popup) body #product-product .product-left #nixradHeatPanel .nixrad-hm-heat-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-left #nixradHeatPanel .nixrad-hm-heat-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 96px) !important;
    gap: 6px !important;
    width: auto !important;
    justify-content: end !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-left #nixradHeatPanel .nixrad-hm-link-btn {
    width: 96px !important;
    max-width: 96px !important;
    flex: 0 0 96px !important;
    padding: 5px 4px !important;
    font-size: 10px !important;
  }
}

html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel {
  display: grid !important;
  grid-template-columns: auto auto minmax(0, 1fr) auto !important;
  grid-template-rows: auto !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 8px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  background: #fbfdff !important;
  min-height: 0 !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel[style*="display:none"],
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel[style*="display: none"] {
  display: none !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel .nixrad-hm-aks-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel .nixrad-hm-aks-value {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel .nixrad-hm-aks-sub {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel .nixrad-hm-aks-desc {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: center !important;
  color: #64748b !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-control {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: grid !important;
  grid-template-columns: 64px auto !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 0 !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-control[style*="display:none"],
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-control[style*="display: none"] {
  display: none !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-input {
  width: 64px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 8px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-control .nixrad-hm-aks-unit {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-range {
  display: none !important;
}

@media (max-width: 768px) {
  html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel {
    grid-template-columns: auto auto auto !important;
    gap: 6px !important;
    padding: 8px 10px !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel .nixrad-hm-aks-value {
    font-size: 20px !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-aks-panel .nixrad-hm-aks-desc {
    display: none !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-control {
    grid-column: 3 !important;
    grid-row: 1 !important;
    grid-template-columns: 58px auto !important;
  }
  html.route-product-product:not(.popup) body #product-product .product-right #nixrad-variant-compact-aks-input {
    width: 58px !important;
  }
}

/* Final gallery proportion rule: thumbnails and main image scale together without cropping. */
@media (max-width: 1024px) {
  html.route-product-product:not(.popup) body #product-product .product-image.nixrad-gallery-rebuilt,
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    width: 100% !important;
    max-width: none !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-gallery-max-h: none;
    --nxg-thumb-w: clamp(64px, 16vw, 124px);
    --nxg-thumb-h: clamp(80px, 20vw, 150px);
    --nxg-gap: clamp(6px, 1.8vw, 14px);
    --nxg-scrollbar-w: 4px;
    display: grid !important;
    grid-template-columns: minmax(74px, 22%) minmax(0, 78%) !important;
    gap: var(--nxg-gap) !important;
    align-items: start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumbs {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-right: 0 !important;
    gap: clamp(8px, 1.6vw, 12px) !important;
    scrollbar-gutter: auto !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    flex: 0 0 auto !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    justify-self: stretch !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-link,
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-img {
    width: 100% !important;
    height: auto !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main-img,
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb img {
    object-fit: contain !important;
    object-position: center !important;
  }
}

/* iPad Mini portrait: keep Air untouched, but give thumbnails more share. */
@media (min-width: 700px) and (max-width: 799px) and (orientation: portrait) {
  html.route-product-product:not(.popup) body #product-product .nixrad-stable-gallery {
    --nxg-thumb-w: 112px;
    --nxg-thumb-h: auto;
    --nxg-gap: 12px;
    --nxg-scrollbar-w: 0px;
    grid-template-columns: minmax(112px, 30%) minmax(0, 70%) !important;
    gap: var(--nxg-gap) !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumbs {
    width: 100% !important;
    padding-right: 0 !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding: 4px !important;
    flex: 0 0 auto !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-thumb img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  html.route-product-product:not(.popup) body #product-product .nixrad-stable-main {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
}


