/* ============================================================
   EFW MEDSPA, ANNIVERSARY SALE | css/sale.css
   Loaded by js/sale.js. Uses the site tokens from efw.css / index.
   ============================================================ */

[data-sale-when][hidden] { display: none !important; }

/* ---- Top banner ---- */
.sale-banner { background: var(--dark) !important; }
.sale-banner .np-banner-text {
  margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--cream);
}
.sale-banner strong { color: var(--rose-gold-lt); }
.sale-banner-clock { font-variant-numeric: tabular-nums; }
.sale-banner-link {
  color: var(--rose-gold-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .sale-banner .np-banner-text { font-size: 12px; padding: 0 16px; line-height: 1.45; }
  .sale-banner-clock { display: none; }
}

/* ---- Section wrapper (homepage + specials) ---- */
.sale-section {
  padding: 100px 0;
  background: var(--dark-mid);
  color: var(--cream);
}
.sale-section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.sale-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose-gold-lt); margin-bottom: 16px;
}
.sale-heading {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 400; line-height: 1.08; letter-spacing: -.02em;
  color: var(--cream); margin-bottom: 18px;
}
.sale-heading em { font-style: italic; color: var(--rose-gold-lt); }
.sale-sub {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: rgba(250, 248, 245, .72);
}
.sale-more { text-align: center; margin-top: 48px; }
.sale-more-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; border-radius: 100px;
  background: var(--rose-gold); color: var(--dark);
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: background .3s, transform .3s;
}
.sale-more-link:hover { background: var(--rose-gold-lt); transform: translateY(-2px); }

/* ---- Package grid + cards ---- */
.sale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.sale-grid-featured {
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  justify-content: center;
}

.sale-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white); color: var(--dark);
  border: 1px solid var(--border);
  border-top: 3px solid var(--rose-gold);
  border-radius: 20px;
  padding: 32px 28px;
  transition: box-shadow .3s, transform .3s;
}
.sale-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sale-card-featured { border-top-color: var(--burgundy); }

.sale-card-badge {
  align-self: flex-start;
  padding: 6px 14px; margin-bottom: 18px;
  border-radius: 100px;
  background: var(--burgundy); color: var(--cream);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.sale-card-title {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 400; line-height: 1.2;
  margin-bottom: 16px;
}
.sale-card-items {
  list-style: none; padding: 0; margin: 0 0 24px;
  flex: 1;
}
.sale-card-items li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 14px; font-weight: 300; line-height: 1.55;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.sale-card-items li::before {
  content: '';
  position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose-gold);
}
.sale-card-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sale-card-now {
  font-family: var(--font-serif);
  font-size: 38px; line-height: 1; color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}
.sale-card-reg { font-size: 14px; color: var(--text-muted); }
.sale-card-save {
  align-self: flex-start;
  margin: 12px 0 22px;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(138, 155, 130, .16); color: #4F5F48;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.sale-card-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 100px;
  background: var(--burgundy); color: var(--cream);
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; transition: background .3s, transform .3s;
}
.sale-card-cta:hover { background: var(--burgundy-dark); transform: translateY(-1px); }

/* ---- Anniversary page notices (upcoming / ended) ---- */
.sale-notice { padding: 100px 0; text-align: center; background: var(--cream-dark); }
.sale-notice h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 52px); font-weight: 400;
  color: var(--dark); margin-bottom: 16px;
}
.sale-notice p {
  max-width: 480px; margin: 0 auto 32px;
  font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--text-secondary);
}
.sale-terms {
  max-width: 720px; margin: 48px auto 0;
  font-size: 12px; font-style: italic; line-height: 1.65; text-align: center;
  color: rgba(250, 248, 245, .6);
}

/* ---- First-visit popup ---- */
.sale-pop {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 44px 36px 28px;
  border: 1px solid rgba(221, 184, 158, .25);
  border-radius: 24px;
  background: var(--dark-mid);
  color: var(--cream);
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.sale-pop[open] { animation: salePopIn .45s cubic-bezier(.2, .8, .2, 1); }
.sale-pop::backdrop { background: rgba(26, 14, 17, .55); backdrop-filter: blur(3px); }
@keyframes salePopIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.sale-pop-close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer;
  color: rgba(250, 248, 245, .7);
}
.sale-pop-close:hover { color: var(--cream); background: rgba(250, 248, 245, .08); }
.sale-pop-logo { width: 64px; height: 64px; margin: 0 auto 18px; display: block; filter: invert(1) brightness(1.1); opacity: .9; }
.sale-pop-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose-gold-lt); margin: 0 0 14px;
}
.sale-pop-h {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 36px); font-weight: 400; line-height: 1.15;
  color: var(--cream); margin: 0 0 16px;
}
.sale-pop-h em { font-style: italic; color: var(--rose-gold-lt); }
.sale-pop-sub {
  font-size: 15px; font-weight: 300; line-height: 1.65;
  color: rgba(250, 248, 245, .75); margin: 0 0 28px;
}
.sale-pop-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 100px;
  background: var(--rose-gold); color: var(--dark);
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: background .3s, transform .3s;
}
.sale-pop-cta:hover { background: var(--rose-gold-lt); transform: translateY(-2px); }
.sale-pop-no {
  margin-top: 10px; padding: 12px; min-height: 44px;
  background: none; border: 0; cursor: pointer;
  font-size: 13px; color: rgba(250, 248, 245, .6);
  text-decoration: underline; text-underline-offset: 3px;
}
.sale-pop-no:hover { color: var(--cream); }
@media (prefers-reduced-motion: reduce) { .sale-pop[open] { animation: none; } }

/* ---- How to purchase (anniversary page) ---- */
.sale-steps {
  max-width: 860px; margin: 64px auto 0;
  padding: 36px 32px;
  border: 1px solid rgba(221, 184, 158, .25);
  border-radius: 20px;
}
.sale-steps-h {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 400; text-align: center;
  color: var(--cream); margin-bottom: 24px;
}
.sale-steps-list {
  list-style: none; counter-reset: step; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.sale-steps-list li {
  counter-increment: step;
  font-size: 14.5px; font-weight: 300; line-height: 1.65;
  color: rgba(250, 248, 245, .75);
}
.sale-steps-list li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 50%; border: 1px solid var(--rose-gold);
  font-family: var(--font-serif); font-size: 16px; color: var(--rose-gold-lt);
}
.sale-steps-list strong { display: block; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.sale-steps-help { margin-top: 28px; text-align: center; font-size: 14px; color: rgba(250, 248, 245, .7); }
.sale-steps-help a, .sale-steps-list a { color: var(--rose-gold-lt); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .sale-steps { padding: 28px 22px; }
  .sale-steps-list { grid-template-columns: 1fr; gap: 22px; }
}
