/* SECTION547 — Tại sao Quà tết Maison (Ladi clone, brand #850e35) */
.mc-qt-why-wrap.elementor-section,
.elementor-section.mc-qt-why-wrap,
.mc-qt-why {
  --qt-why-accent: #850e35;
  --qt-why-soft: #ee6983;
  --qt-why-text: #850e35;
  --qt-why-title: #850e35;
  --qt-why-line: #850e35;
  --qt-why-bg: #fff7f9;
  --qt-why-em: #ee6983;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  background: var(--qt-why-bg) !important;
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 963px;
  font-family: Tinos, serif;
}

.mc-qt-why-wrap > .elementor-container {
  position: relative !important;
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 963px;
  overflow: visible;
}

.mc-qt-why-wrap > .elementor-container > .elementor-column,
.mc-qt-why-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  position: relative !important;
  min-height: 963px;
  overflow: visible !important;
}

.mc-qt-why-wrap .elementor-element {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.mc-qt-why-wrap .elementor-element.mc-qt-why__decor-html {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  overflow: visible !important;
}

.mc-qt-why__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.mc-qt-why__ring {
  position: absolute;
  left: -22px;
  top: 0;
  width: 68px;
  height: 68px;
  color: rgba(238, 105, 131, 0.45);
  z-index: 1;
}

.mc-qt-why__ring svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mc-qt-why__blob {
  position: absolute;
  left: 722px;
  top: 85px;
  width: 107px;
  height: 57px;
  color: rgba(238, 105, 131, 0.5);
  z-index: 4;
  pointer-events: auto;
}

.mc-qt-why__blob-inner {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-27deg);
  transform-origin: center;
  transition: transform 150ms linear;
}

.mc-qt-why__blob:hover .mc-qt-why__blob-inner {
  transform: rotate(0deg);
}

.mc-qt-why__blob svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mc-qt-why__wave {
  position: absolute;
  left: 799px;
  top: 469px;
  width: 504px;
  height: 271px;
  z-index: 3;
  pointer-events: auto;
  overflow: visible;
}

.mc-qt-why__wave-inner {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-138deg);
  transform-origin: 50% 50%;
  transition: transform 150ms linear;
}

.mc-qt-why__wave:hover .mc-qt-why__wave-inner {
  transform: rotate(0deg);
}

.mc-qt-why__wave svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  max-width: none;
}

.mc-qt-why__wave svg path {
  fill: rgba(238, 105, 131, 0.18);
}

.mc-qt-why__line {
  position: absolute;
  left: 21px;
  top: 141px;
  width: 0.8px;
  height: 765px;
  background: var(--qt-why-line);
  pointer-events: none;
}

.mc-qt-why__dot {
  position: absolute;
  left: 11px;
  width: 21px;
  height: 21px;
  box-sizing: border-box;
  border: 5.6px solid var(--qt-why-soft);
  border-radius: 1000px;
  background: #fff;
  pointer-events: none;
  z-index: 2;
}

.mc-qt-why__dot--1 { top: 133px; }
.mc-qt-why__dot--2 { top: 360px; }
.mc-qt-why__dot--3 { top: 588px; }
.mc-qt-why__dot--4 { top: 789px; }

.mc-qt-why-wrap .elementor-element.mc-qt-why__title {
  position: absolute !important;
  left: 22px;
  top: 16px;
  z-index: 2;
  width: 672px !important;
  max-width: 672px !important;
}

.mc-qt-why-wrap .mc-qt-why__title .elementor-heading-title,
.mc-qt-why__title {
  margin: 0;
  font-family: "Cormorant Upright", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--qt-why-title);
  text-align: left;
}

.mc-qt-why__title-accent {
  color: var(--qt-why-soft) !important;
}

.mc-qt-why-wrap .mc-qt-why__item.elementor-inner-section,
.mc-qt-why__item {
  position: absolute !important;
  left: 47px;
  z-index: 2;
  width: 690px !important;
  max-width: 690px !important;
  box-sizing: border-box;
}

.mc-qt-why__item--1 { top: 130px; }
.mc-qt-why__item--2 { top: 357px; }
.mc-qt-why__item--3 { top: 585px; }
.mc-qt-why__item--4 { top: 786px; }

.mc-qt-why-wrap .mc-qt-why__item > .elementor-container,
.mc-qt-why-wrap .mc-qt-why__item > .elementor-container > .elementor-column,
.mc-qt-why-wrap .mc-qt-why__item .elementor-widget-wrap {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

/* Item titles: base #850e35, accent spans #ee6983 (Ladi mauve/pink split) */
.mc-qt-why-wrap .mc-qt-why__item-title .elementor-heading-title,
.mc-qt-why__item-title {
  margin: 0 0 14px;
  font-family: Tinos, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--qt-why-accent);
  text-align: left;
}

.mc-qt-why__em {
  color: var(--qt-why-soft) !important;
}

.mc-qt-why-wrap .mc-qt-why__item-text,
.mc-qt-why-wrap .mc-qt-why__item-text p,
.mc-qt-why__item-text {
  margin: 0;
  font-family: Tinos, serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--qt-why-text);
  text-align: justify;
}

.mc-qt-why__item-text strong {
  font-weight: 700;
}

/* Media — Ladi BOX style: background-image + border-radius + dashed/solid border */
.mc-qt-why__media {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  pointer-events: none;
}

.mc-qt-why__media--main {
  left: 792px;
  top: 102px;
  width: 395px;
  height: 395px;
}

.mc-qt-why__media--sm {
  left: 772px;
  top: 482px;
  width: 201px;
  height: 201px;
  z-index: 3;
}

.mc-qt-why__media--md {
  left: 885px;
  top: 657px;
  width: 242px;
  height: 242px;
  z-index: 3;
}

.mc-qt-why__box {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 360px;
  overflow: hidden;
  background-color: transparent;
  background-size: cover;
  background-origin: content-box;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}

.mc-qt-why__media--main .mc-qt-why__box,
.mc-qt-why__media--md .mc-qt-why__box {
  border: 2px dashed #fff;
}

.mc-qt-why__media--md .mc-qt-why__box {
  background-position: center top;
}

.mc-qt-why__media--sm .mc-qt-why__box {
  border: 4px solid var(--qt-why-soft);
}

/* Hide legacy Elementor image widgets if still present */
.mc-qt-why-wrap .elementor-element.mc-qt-why__media {
  display: none !important;
}

/* PHP fallback stage */
.mc-qt-why__stage {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
  min-height: 963px;
}

@media (max-width: 1024px) {
  .mc-qt-why-wrap.elementor-section,
  .elementor-section.mc-qt-why-wrap,
  .mc-qt-why {
    min-height: 0;
    padding: 28px 16px 40px !important;
  }

  .mc-qt-why-wrap > .elementor-container,
  .mc-qt-why-wrap > .elementor-container > .elementor-column,
  .mc-qt-why-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .mc-qt-why__stage {
    min-height: 0 !important;
    height: auto !important;
  }

  .mc-qt-why-wrap > .elementor-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .mc-qt-why-wrap > .elementor-container > .elementor-column > .elementor-widget-wrap,
  .mc-qt-why__stage {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
  }

  .mc-qt-why__ring,
  .mc-qt-why__blob,
  .mc-qt-why__wave,
  .mc-qt-why__line,
  .mc-qt-why__dot {
    display: none !important;
  }

  .mc-qt-why-wrap .elementor-element.mc-qt-why__title {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 1;
    margin: 0 0 22px !important;
  }

  .mc-qt-why-wrap .elementor-element.mc-qt-why__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 68px;
    height: 68px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 218 218'%3E%3Cpath fill='%23850e35' fill-opacity='0.28' d='M109,0A109,109,0,1,0,218,109,109,109,0,0,0,109,0Zm0,178.66A69.66,69.66,0,1,1,178.66,109,69.66,69.66,0,0,1,109,178.66Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .mc-qt-why-wrap .mc-qt-why__title .elementor-heading-title {
    position: relative;
    z-index: 1;
    font-size: 26px;
    line-height: 1.4;
    padding: 12px 0 0 10px;
  }

  .mc-qt-why-wrap .mc-qt-why__item.elementor-inner-section,
  .mc-qt-why__item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 2;
    margin: 0 0 22px !important;
    padding: 0 0 0 36px !important;
  }

  .mc-qt-why-wrap .mc-qt-why__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 21px;
    height: 21px;
    box-sizing: border-box;
    border: 5.6px solid var(--qt-why-soft);
    border-radius: 1000px;
    background: #fff;
  }

  .mc-qt-why-wrap .mc-qt-why__item:not(.mc-qt-why__item--4)::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 23px;
    bottom: -22px;
    width: 1px;
    background: var(--qt-why-line);
  }

  /* Ladi mobile: 3 vòng ảnh gom thành cụm nằm sau danh sách, tỉ lệ theo khung 420 */
  .mc-qt-why-wrap .elementor-element.mc-qt-why__decor-html,
  .mc-qt-why__stage > .mc-qt-why__decor {
    position: relative !important;
    inset: auto !important;
    order: 3;
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    aspect-ratio: 420 / 393;
    margin: 4px auto 0 !important;
    overflow: visible !important;
  }

  .mc-qt-why-wrap .mc-qt-why__decor-html .mc-qt-why__decor {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .mc-qt-why__media {
    position: absolute !important;
    display: block !important;
    height: auto !important;
    aspect-ratio: 1;
    margin: 0 !important;
  }

  .mc-qt-why__media--main {
    left: 38.881%;
    top: 2.621%;
    width: 59.524% !important;
  }

  .mc-qt-why__media--sm {
    left: 1.929%;
    top: 16.031%;
    width: 35.714% !important;
  }

  .mc-qt-why__media--md {
    left: 9.286%;
    top: 54.198%;
    width: 42.857% !important;
  }
}
