/* HUBBYX native related products — visual treatment only. */
body#product .hubbix-related-products {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(23, 50, 104, .05);
  margin: 0;
  padding: 32px;
}

body#product .hubbix-related-products__header {
  margin-bottom: 24px;
}

body#product .hubbix-related-products__header > p {
  color: #ff6600;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 9px;
}

body#product .hubbix-related-products__header h2 {
  color: #173268;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

body#product .hubbix-related-products__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body#product .hubbix-related-products--single .hubbix-related-products__grid {
  grid-template-columns: minmax(0, 1fr);
}

body#product .hubbix-related-product {
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 15px;
  display: grid;
  grid-template-columns: minmax(190px, 32%) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
}

body#product .hubbix-related-product__media {
  align-items: center;
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  display: flex;
  justify-content: center;
  min-height: 250px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

body#product .hubbix-related-product__slides {
  height: 250px;
  position: relative;
  width: 100%;
}

body#product .hubbix-related-product__slide {
  align-items: center;
  display: flex;
  height: 100%;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transition: opacity .2s ease;
  visibility: hidden;
}

body#product .hubbix-related-product__slide.is-active {
  opacity: 1;
  visibility: visible;
}

body#product .hubbix-related-product__slide picture {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

body#product .hubbix-related-product__media img {
  height: 100%;
  max-height: 250px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

body#product .hubbix-related-product__arrow {
  align-items: center;
  background: rgba(255,255,255,.94);
  border: 1px solid #e8edf3;
  border-radius: 50%;
  color: #173268;
  display: flex;
  font-size: 25px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  z-index: 2;
}

body#product .hubbix-related-product__arrow:hover,
body#product .hubbix-related-product__arrow:focus {
  border-color: #ff6600;
  color: #ff6600;
}

body#product .hubbix-related-product__arrow--prev { left: 12px; }
body#product .hubbix-related-product__arrow--next { right: 12px; }

body#product .hubbix-related-product__dots {
  bottom: 10px;
  display: flex;
  gap: 7px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

body#product .hubbix-related-product__dots button {
  background: #c9d3df;
  border: 0;
  border-radius: 50%;
  height: 8px;
  padding: 0;
  width: 8px;
}

body#product .hubbix-related-product__dots button.is-active {
  background: #ff6600;
}

body#product .hubbix-related-product__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 28px;
}

body#product .hubbix-related-product__content h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
}

body#product .hubbix-related-product__content h3 a {
  color: #173268;
}

body#product .hubbix-related-product__fallback {
  color: #55657d;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
}

body#product .hubbix-related-product__included {
  align-items: flex-start;
  background: #fff4eb;
  border: 1px solid #ffe0c7;
  border-radius: 9px;
  color: #173268;
  display: flex;
  font-size: 13px;
  gap: 8px;
  line-height: 1.4;
  margin: 0 0 16px;
  padding: 10px 12px;
}

body#product .hubbix-related-product__included span {
  color: #ff6600;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.2;
}

body#product .hubbix-related-product__included strong {
  font-weight: 700;
}

body#product .hubbix-related-product__benefits {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

body#product .hubbix-related-product__benefits li {
  align-items: flex-start;
  color: #173268;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 9px;
  line-height: 1.4;
}

body#product .hubbix-related-product__benefits li::before {
  color: #ff6600;
  content: "✓";
  font-weight: 900;
}

body#product .hubbix-related-product__footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: auto;
}

body#product .hubbix-related-product__price {
  align-items: baseline;
  color: #173268;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
}

body#product .hubbix-related-product__price small {
  color: #66758d;
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 700;
}

body#product .hubbix-related-product__price strong {
  font-size: 24px;
  font-weight: 800;
}

body#product .hubbix-related-product__price span {
  color: #66758d;
  font-size: 12px;
  font-weight: 700;
}

body#product .hubbix-related-product__cta {
  background: #ff6600;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  padding: 12px 18px;
  text-align: center;
}

body#product .hubbix-related-product__cta:hover,
body#product .hubbix-related-product__cta:focus {
  background: #e65c00;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991px) {
  body#product .hubbix-related-products__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body#product .hubbix-related-products {
    border-radius: 15px;
    padding: 22px 18px;
  }

  body#product .hubbix-related-product {
    grid-template-columns: minmax(0, 1fr);
  }

  body#product .hubbix-related-product__media {
    min-height: 210px;
  }

  body#product .hubbix-related-product__slides {
    height: 230px;
  }

  body#product .hubbix-related-product__content {
    padding: 22px;
  }

  body#product .hubbix-related-product__footer {
    align-items: stretch;
    flex-direction: column;
  }

  body#product .hubbix-related-product__cta {
    width: 100%;
  }
}
