/* Related products under single product — match landing product-section look */
.mc-related-products,
.mc-related-products-wrap.elementor-section,
.elementor-section.mc-related-products-wrap,
.mc-single-product__below > .elementor > section#san-pham-lien-quan,
.mc-single-product__below > .elementor > .elementor-section:first-child {
  --qt-accent: #850e35;
  --qt-prod-text: #2f4357;
  --qt-prod-pink: #ff9a86;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(255, 182, 193, 0.14), transparent 55%),
    linear-gradient(180deg, #fffafb 0%, #ffffff 55%, #fff8f9 100%);
}

/* Centered stage — more side room so cards don’t hug the viewport */
.mc-related-products__inner,
.mc-related-products-wrap > .elementor-container,
.mc-single-product__below > .elementor > section#san-pham-lien-quan > .elementor-container,
.mc-single-product__below > .elementor > .elementor-section:first-child > .elementor-container {
  width: min(100% - 64px, 1200px) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Title: same family/weight/color language as mc-qt-products__title */
.mc-single-product__below .mc-related-products__title,
.mc-single-product__below .elementor-element.mc-related-products__title,
.mc-related-products-wrap .elementor-element.mc-related-products__title {
  margin: 0 0 2rem !important;
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
}

.mc-single-product__below .mc-related-products__title .elementor-heading-title,
.mc-single-product__below .elementor-element.mc-related-products__title .elementor-heading-title,
.mc-related-products__title.elementor-widget .elementor-heading-title,
.mc-related-products .mc-related-products__title {
  margin: 0 !important;
  color: #850e35 !important;
  font-family: "Cormorant Upright", "UVNLyDo", Tinos, serif !important;
  font-size: clamp(1.85rem, 3.2vw, 2.375rem) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

/* Grid: airy like landing (#san-pham) */
.mc-single-product__below .mc-related-products__grid,
.mc-single-product__below .mc-products__grid.mc-related-products__grid,
.mc-related-products__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 48px !important;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .mc-related-products__inner,
  .mc-related-products-wrap > .elementor-container,
  .mc-single-product__below > .elementor > section#san-pham-lien-quan > .elementor-container,
  .mc-single-product__below > .elementor > .elementor-section:first-child > .elementor-container {
    width: min(100% - 40px, 1200px) !important;
  }

  .mc-single-product__below .mc-related-products__grid,
  .mc-single-product__below .mc-products__grid.mc-related-products__grid {
    gap: 36px 28px !important;
  }
}

@media (max-width: 767px) {
  .mc-related-products,
  .mc-related-products-wrap.elementor-section,
  .mc-single-product__below > .elementor > section#san-pham-lien-quan,
  .mc-single-product__below > .elementor > .elementor-section:first-child {
    padding: 2.75rem 0 2.25rem;
  }

  .mc-related-products__inner,
  .mc-related-products-wrap > .elementor-container,
  .mc-single-product__below > .elementor > section#san-pham-lien-quan > .elementor-container,
  .mc-single-product__below > .elementor > .elementor-section:first-child > .elementor-container {
    width: min(100% - 28px, 1200px) !important;
  }

  .mc-single-product__below .mc-related-products__title .elementor-heading-title,
  .mc-single-product__below .elementor-element.mc-related-products__title .elementor-heading-title {
    font-size: 1.75rem !important;
  }

  .mc-single-product__below .mc-related-products__grid,
  .mc-single-product__below .mc-products__grid.mc-related-products__grid {
    grid-template-columns: 1fr;
    gap: 28px !important;
  }
}

.mc-single-product__below {
  margin-top: 0;
}
