/* Shared welcome offers on every customer page. */
body.hg-intro-open { overflow: hidden; }
body.hg-intro-open .clinic-chat-widget,
body.hg-intro-open .float-line,
body.hg-intro-open .mobile-action-bar { display: none !important; }
/* Centered welcome offers */
.hg-intro-modal[hidden] { display: none; }
.hg-intro-modal {
  --hg-ink: #2b2024;
  --hg-wine: #8f2e42;
  --hg-wine-dark: #682031;
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 80px 20px 24px;
  background: rgba(24, 21, 22, .82);
  color: var(--hg-ink);
  backdrop-filter: blur(2px);
}
.hg-popup-shell {
  position: relative;
  width: min(860px, 100%);
  margin: auto;
}
.hg-popup-close {
  position: absolute;
  top: -52px;
  right: -2px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #292326;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .22);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.hg-popup-close:hover, .hg-popup-close:focus-visible { background: #f7e8ec; color: var(--hg-wine); outline: 3px solid #fff; }
.hg-popup-title {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.hg-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hg-offer-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(0, 0, 0, .25);
}
.hg-offer-image { position: relative; height: auto; aspect-ratio: 5 / 2; flex-shrink: 0; overflow: hidden; background: #f6eaed; }
.hg-offer-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hg-fitness-photo > img { position: absolute; top: 0; left: 0; width: calc(100% * 1374 / 1340); max-width: none; height: auto; transform: translate(-1.31%, -.437%); }
.hg-offer-body { display: flex; flex-direction: column; flex: 1; padding: 17px 19px 19px; }
.hg-offer-eyebrow { margin: 0 0 6px; color: var(--hg-wine); font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.hg-offer-body h3 { min-height: 48px; margin: 0; color: #2b2024; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.25; }
.hg-offer-body > p:not(.hg-offer-eyebrow) { min-height: 42px; margin: 8px 0 15px; color: #71656a; font-size: 12px; line-height: 1.55; }
.hg-offer-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  min-height: 43px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.hg-offer-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hg-offer-card .hg-offer-cta { min-height: 48px; line-height: 1.3; }
.hg-offer-card .hg-offer-cta:hover, .hg-offer-card .hg-offer-cta:focus-visible { box-shadow: 0 5px 14px rgba(8, 114, 138, .25); }
.hg-offer-cta:active { transform: scale(.98); }
.hg-offer-cta:focus-visible, .hg-popup-skip:focus-visible { outline: 3px solid #e6a2b1; outline-offset: 3px; }
.hg-offer-cta-hormone, .hg-offer-cta-fitness { background: #08728a; }
.hg-offer-fitness .hg-offer-body { background: radial-gradient(ellipse at 100% 100%, #eaf8fc, transparent 70%), #fff; }
.hg-offer-fitness .hg-offer-body h3 { font-weight: 900; line-height: 1.08; color: #101e2b; }
.hg-offer-fitness .hg-offer-body h3 > span { color: #087d96; }
.hg-offer-fitness .hg-offer-body > p:not(.hg-offer-eyebrow) { min-height: 0; }
.hg-fitness-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 12px; padding: 0; list-style: none; color: #19394c; }
.hg-fitness-benefits li { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 0 5px; font-size: 9px; line-height: 1.35; }
.hg-fitness-benefits li + li { border-left: 1px solid #bddde7; }
.hg-fitness-benefits svg { width: 20px; height: 20px; flex-shrink: 0; }
.hg-offer-cta-fitness { background: linear-gradient(110deg, #02a8c3, #08728a); }
.hg-offer-cta-diy { background: var(--hg-wine); }
.hg-offer-cta span { font-size: 17px; }
.hg-diy-banner { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 20px; padding: 22px; border: 1px solid #ead1d9; border-radius: 22px; background: linear-gradient(110deg, #f6e2e8, #fbf1f4); }
.hg-diy-banner-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.75); transform: rotate(-5deg); }
.hg-diy-banner-icon img { display: block; width: 40px; height: 40px; }
.hg-diy-banner-copy { min-width: 0; }
.hg-diy-banner-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--hg-wine); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.hg-diy-banner-kicker span { padding: 4px 8px; border-radius: 999px; background: #fff; font-size: 10px; letter-spacing: 0; }
.hg-diy-banner-copy h3 { margin: 0 0 6px; color: var(--hg-wine-dark); font-size: clamp(18px, 2.5vw, 23px); line-height: 1.3; }
.hg-diy-banner-copy > p:last-child { margin: 0; color: #79606a; font-size: 12px; line-height: 1.6; }
.hg-diy-banner .hg-offer-cta { position: relative; isolation: isolate; overflow: hidden; gap: 18px; margin: 0; white-space: nowrap; padding-inline: 20px; }
.hg-offer-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.25) 50%, transparent 75%); transform: translateX(-130%); }
@media (prefers-reduced-motion: no-preference) {
  .hg-offer-card .hg-offer-cta::before { animation: hg-diy-shine 3s ease-in-out infinite paused; }
  .hg-offer-card .hg-offer-cta > span { animation: hg-diy-arrow 3s ease-in-out infinite paused; }
  .hg-offer-card .hg-offer-cta.is-motion-active::before,
  .hg-offer-card .hg-offer-cta.is-motion-active > span { animation-play-state: running; }
  .hg-diy-banner-icon { animation: hg-diy-bounce 3s ease-in-out infinite paused; }
  .hg-diy-banner-kicker span { animation: hg-diy-pop 3s ease-in-out infinite paused; }
  .hg-diy-banner .hg-offer-cta::before { animation: hg-diy-shine 3s ease-in-out infinite paused; }
  .hg-diy-banner .hg-offer-cta > span { animation: hg-diy-arrow 3s ease-in-out infinite paused; }
  .hg-diy-banner.is-motion-active .hg-diy-banner-icon,
  .hg-diy-banner.is-motion-active .hg-diy-banner-kicker span,
  .hg-diy-banner.is-motion-active .hg-offer-cta::before,
  .hg-diy-banner.is-motion-active .hg-offer-cta > span { animation-play-state: running; }
}
@keyframes hg-diy-bounce {
  0%, 60%, 100% { transform: rotate(-5deg) translateY(0); }
  70% { transform: rotate(3deg) translateY(-5px); }
  80% { transform: rotate(-8deg) translateY(0); }
  90% { transform: rotate(-3deg) translateY(-2px); }
}
@keyframes hg-diy-pop {
  0%, 60%, 100% { transform: scale(1); }
  72% { transform: scale(1.07); }
}
@keyframes hg-diy-shine {
  0%, 60% { transform: translateX(-130%); }
  95%, 100% { transform: translateX(130%); }
}
@keyframes hg-diy-arrow {
  0%, 60%, 100% { transform: translateX(0); }
  72%, 84% { transform: translateX(4px); }
}
.hg-popup-skip {
  display: block;
  min-height: 42px;
  margin: 15px auto 0;
  padding: 9px 19px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.hg-popup-skip:hover { background: #fff; color: var(--hg-wine-dark); }

@media (max-width: 640px) {
  .hg-intro-modal { place-items: start center; padding: 60px 15px 18px; }
  .hg-popup-shell { display: flex; flex-direction: column; width: min(460px, 100%); max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); margin: auto; }
  .hg-popup-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 4px; }
  .hg-popup-close { top: -49px; right: 0; width: 42px; height: 42px; }
  .hg-popup-title { margin-bottom: 12px; font-size: 21px; }
  .hg-offer-grid { grid-template-columns: 1fr; gap: 11px; }
  .hg-offer-card { border-radius: 17px; }
  .hg-offer-image { height: auto; min-height: 0; }
  .hg-offer-image > img { height: auto; object-fit: contain; object-position: center; }
  .hg-offer-body { padding: 14px; }
  .hg-offer-eyebrow { font-size: 9px; }
  .hg-offer-body h3 { min-height: 0; font-size: 20px; }
  .hg-offer-body > p:not(.hg-offer-eyebrow) { min-height: 0; margin: 7px 0 12px; font-size: 13px; line-height: 1.55; }
  .hg-offer-cta { min-height: 44px; padding: 10px 13px; font-size: 12px; }
  .hg-diy-banner { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; margin-top: 12px; border-radius: 17px; }
  .hg-diy-banner-icon { width: 44px; height: 48px; border-radius: 14px; }
  .hg-diy-banner-icon img { width: 30px; height: 30px; }
  .hg-diy-banner-kicker { font-size: 8px; gap: 5px; margin-bottom: 6px; }
  .hg-diy-banner-kicker span { font-size: 9px; }
  .hg-diy-banner-copy h3 { font-size: 18px; }
  .hg-diy-banner-copy > p:last-child { font-size: 11px; }
  .hg-diy-banner .hg-offer-cta { grid-column: 1 / -1; min-height: 42px; font-size: 12px; }
  .hg-popup-skip { width: 100%; min-height: 44px; margin-top: 12px; }
}

@media (max-width: 360px) {
  .hg-intro-modal { padding-inline: 10px; }
  .hg-offer-body { padding-inline: 10px; }
  .hg-offer-body h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-offer-cta { transition: none; }
  .hg-offer-cta:hover, .hg-offer-cta:active { transform: none; }
}
