/* GLOW GIFTS: all styling stays inside campaign-owned components. */
.lgs-glow-home,
.lgs-glow-progress,
.lgs-glow-topbar {
  --lgs-glow-cream: #fbf7f2;
  --lgs-glow-rose: #96616f;
  --lgs-glow-deep: #704553;
  --lgs-glow-pink: #f4dce5;
  --lgs-glow-ink: #352c2c;
  box-sizing: border-box;
  color: var(--lgs-glow-ink);
}
.lgs-glow-home *,
.lgs-glow-progress *,
.lgs-glow-topbar * { box-sizing: border-box; }
.lgs-glow-home[hidden],
.lgs-glow-progress[hidden],
.lgs-glow-topbar[hidden],
.lgs-glow-next[hidden],
.lgs-glow-stock-note[hidden] { display: none !important; }
.lgs-glow-offer[hidden] { display: none !important; }

/* The existing quiz remains one centered banner after the expired image is removed. */
body.page-id-72 .elementor-element-b9c651b > a.e-image-link-base:only-child {
  grid-column: 1 / -1;
  width: min(100%, 780px);
  justify-self: center;
}

/* A normal-flow strip sits above, rather than over, the native header. */
.lgs-glow-topbar {
  position: relative;
  display: block;
  width: 100%;
  padding: 11px 20px;
  background: #f2d5df;
  color: #623f4b;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}
.lgs-glow-topbar a { color: inherit; text-decoration: none; }
.lgs-glow-topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lgs-glow-topbar a:focus-visible,
.lgs-glow-cta:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.lgs-glow-home {
  width: min(100%, 1180px);
  margin: 24px auto 32px;
  background: var(--lgs-glow-cream);
  border: 1px solid #ebdce0;
  border-radius: 20px;
  overflow: hidden;
}
.lgs-glow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  padding: clamp(28px, 4vw, 48px);
  background: radial-gradient(ellipse at 80% 25%, #f6d7e6 0%, transparent 55%), linear-gradient(115deg, #fbf5f2, #f7e5ec);
}
.lgs-glow-eyebrow {
  margin: 0;
  color: #78515c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}
.lgs-glow-home .lgs-glow-hero h2.lgs-glow-title {
  margin: 12px 0 14px;
  color: #995b72;
  font-family: var(--theme-heading-font-family, Georgia, serif);
  font-size: clamp(42px, 5vw, 64px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.5px;
  overflow-wrap: anywhere;
}
.lgs-glow-intro {
  margin: 0 0 21px;
  color: var(--lgs-glow-ink);
  font-family: var(--theme-heading-font-family, Georgia, serif);
  font-size: 19px;
  line-height: 1.5;
}
.lgs-glow-offers { margin: 0 0 21px; }
.lgs-glow-offer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e2c5cf;
  font-size: 14px;
  line-height: 1.55;
}
.lgs-glow-offer > strong {
  flex: 0 0 auto;
  min-width: 85px;
  color: #915c6e;
  font-family: var(--theme-heading-font-family, Georgia, serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}
.lgs-glow-offer > span { min-width: 0; overflow-wrap: anywhere; }
.lgs-glow-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--lgs-glow-rose);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .4px;
  text-decoration: none;
}
.lgs-glow-cta:hover { background: #815360; color: #fff; }
.lgs-glow-date {
  display: inline-block;
  margin: 0 0 0 15px;
  color: #78515c;
  font-size: 12px;
  line-height: 1.6;
}
.lgs-glow-images {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(122px, auto)) auto;
  grid-auto-rows: auto;
  gap: 13px;
  align-self: center;
  min-width: 0;
  padding-top: 14px;
}
.lgs-glow-images > figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
}
.lgs-glow-images > .lgs-glow-foam { grid-row: 1 / span 2; }
.lgs-glow-images img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 132px;
  object-fit: contain;
}
.lgs-glow-images > .lgs-glow-foam img { width: 250px; max-width: none; height: 250px; }
.lgs-glow-images figcaption {
  margin: 5px 0 0;
  color: #876772;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
.lgs-glow-illustrative {
  grid-column: 1 / -1;
  margin: 0;
  color: #806b71;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.lgs-glow-ribbon {
  position: absolute;
  z-index: 1;
  top: -15px;
  right: 40%;
  font-size: 36px;
  line-height: 1;
  pointer-events: none;
}
.lgs-glow-terms {
  margin: 0;
  padding: 18px clamp(24px, 4vw, 48px);
  color: #806b71;
  font-size: 12px;
  line-height: 1.65;
}

.lgs-glow-progress {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid #eed3de;
  border-radius: 15px;
  background: #f9eaf0;
}
.lgs-glow-progress-title {
  margin: 0;
  color: var(--lgs-glow-deep);
  font-family: var(--theme-heading-font-family, Georgia, serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}
.lgs-glow-milestones {
  position: relative;
  height: 24px;
  margin: 17px 7px 4px;
  color: #78505f;
  font-size: 12px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.lgs-glow-milestones > .lgs-glow-level-40 {
  position: absolute;
  left: 80%;
  transform: translateX(-100%);
}
.lgs-glow-milestones > .lgs-glow-level-50 { position: absolute; right: 0; }
.lgs-glow-track {
  position: relative;
  height: 9px;
  margin-inline: 7px;
  border-radius: 99px;
  background: #e8ced9;
}
.lgs-glow-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #ad7389;
  transition: width .2s ease;
}
.lgs-glow-marker {
  position: absolute;
  top: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d8afc0;
  transform: translateX(-50%);
}
.lgs-glow-marker[data-level="40"] { left: 80%; }
.lgs-glow-marker[data-level="50"] { left: 100%; }
.lgs-glow-marker.is-unlocked,
.lgs-glow-marker[data-unlocked="true"] { background: #92576e; }
.lgs-glow-message,
.lgs-glow-next,
.lgs-glow-stock-note {
  margin: 15px 0 0;
  color: #6a4854;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.lgs-glow-next { margin-top: 7px; }
.lgs-glow-stock-note { font-size: 12px; }
.lgs-glow-progress[data-context="mini"] { margin-bottom: 14px; padding: 15px 14px; }
.lgs-glow-progress[data-context="mini"] .lgs-glow-progress-title { font-size: 17px; }
.lgs-glow-progress[data-context="mini"] .lgs-glow-message,
.lgs-glow-progress[data-context="mini"] .lgs-glow-next { font-size: 12px; }
.lgs-glow-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 6px 3px 0;
  padding: 4px 7px;
  border-radius: 5px;
  background: #f2d6e1;
  color: #8b5268;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .6px;
  vertical-align: middle;
  white-space: nowrap;
}
.lgs-glow-retail-note {
  display: block;
  margin-top: 7px;
  color: #8b5268;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.lgs-glow-product-notice {
  padding: 15px 18px;
  border: 1px solid #eed3de;
  border-radius: 10px;
  background: #f9eaf0;
  color: #6a4854;
  font-size: 14px;
  line-height: 1.65;
}
.lgs-glow-order-image {
  width: 48px;
  height: 48px;
  margin: 0 10px 5px 0;
  object-fit: contain;
  vertical-align: middle;
}

/* Only campaign-marked gift rows lose their editable quantity/remove controls. */
.lgs-glow-gift .wc-block-components-quantity-selector,
.lgs-glow-gift .wc-block-cart-item__remove-link,
.lgs-glow-gift a.remove,
.lgs-glow-gift .quantity > input.qty,
.lgs-glow-gift .quantity > button { display: none !important; }

@media (max-width: 650px) {
  .lgs-glow-topbar { padding: 10px 16px; font-size: 12px; }
  .lgs-glow-home { margin-block: 18px 24px; border-radius: 15px; }
  .lgs-glow-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 22px 24px; }
  .lgs-glow-home .lgs-glow-hero h2.lgs-glow-title { font-size: 50px; }
  .lgs-glow-intro { font-size: 18px; }
  .lgs-glow-offer { gap: 11px; font-size: 13px; }
  .lgs-glow-offer > strong { min-width: 79px; font-size: 25px; }
  .lgs-glow-date { margin-top: 10px; }
  .lgs-glow-images { width: min(100%, 360px); margin-inline: auto; }
  .lgs-glow-images img { height: 112px; }
  .lgs-glow-images > .lgs-glow-foam img { width: 234px; height: 234px; }
  .lgs-glow-terms { padding: 17px 22px; }
  .lgs-glow-progress { padding: 18px 15px; }
  .lgs-glow-progress-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lgs-glow-fill { transition: none; }
}
