/* ============================================================
   Beyond Beauty Academy × Glowtech — Contact CTA add-on
   WhatsApp + click-to-call beneath each purchase button.
   Additive only — does not touch existing CTA / checkout flow.
   ============================================================ */

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

/* "or" divider */
.contact-cta .cta-or {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  color: var(--gt-muted);
  font-size: 13px;
  font-weight: 700;
}
.contact-cta .cta-or::before,
.contact-cta .cta-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gt-line);
}

/* WhatsApp button — recognisable green, same pill geometry as .hero-cta */
.wa-cta {
  font: inherit;
  font-weight: 800;
  font-size: 18px;
  border: 0;
  cursor: pointer;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  color: #0b3d22;
  background: #25d366;
  box-shadow:
    0 12px 26px rgba(37, 211, 102, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition:
    transform var(--dur-base) var(--ease-warm),
    box-shadow var(--dur-base) var(--ease-warm);
}
.wa-cta:hover {
  transform: translateY(-2px);
  color: #0b3d22;
  text-decoration: none;
  box-shadow:
    0 18px 34px rgba(37, 211, 102, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.wa-cta svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Click-to-call line */
.call-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gt-burgundy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.call-link:hover {
  color: var(--gt-burgundy-deep);
  text-decoration: none;
}
.call-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Hero: align the stack to the start (right in RTL), under the buy button */
.hero-a .contact-cta {
  align-items: flex-start;
}

/* Dark burgundy sections (price, final CTA): lighten divider + call line */
.price .contact-cta .cta-or,
.fcta .contact-cta .cta-or {
  color: rgba(255, 246, 232, 0.78);
}
.price .contact-cta .cta-or::before,
.price .contact-cta .cta-or::after,
.fcta .contact-cta .cta-or::before,
.fcta .contact-cta .cta-or::after {
  background: rgba(255, 255, 255, 0.3);
}
.price .call-link,
.fcta .call-link {
  color: #fff;
}
.price .call-link:hover,
.fcta .call-link:hover {
  color: #ffd9e6;
}

/* In the white price card, the call line sits on white → keep it burgundy */
.price .card .call-link {
  color: var(--gt-burgundy);
}
.price .card .cta-or {
  color: var(--gt-muted);
}
.price .card .cta-or::before,
.price .card .cta-or::after {
  background: var(--gt-line);
}

/* Mobile — buttons go full width, matching the existing .hero-cta behaviour */
@media (max-width: 560px) {
  .contact-cta {
    align-items: stretch;
  }
  .hero-a .contact-cta {
    align-items: stretch;
  }
  .wa-cta {
    width: 100%;
  }
  .contact-cta .cta-or {
    max-width: none;
    align-self: center;
    width: 100%;
  }
  .call-link {
    justify-content: center;
  }
}

/* Keep the contact block AFTER the buy button's microcopy (meta / trust line).
   These CTA containers are flex in both modes, so `order` reorders cleanly. */
.method .contact-cta { order: 1; }
.fcta .contact-cta { order: 1; }

/* Hero reflows on mobile via display:contents + explicit `order` per child
   (cta-row = 6, gift-row = 7). Keep the contact block last. */
@container (max-width: 560px) {
  .hero-a .contact-cta { order: 8; }
}
