/* Waxness Day 2026 — shared styles */

:root {
  --wax-black: #16121a;
  --wax-charcoal: #2e252b;
  --wax-cream: #ffffff;
  --wax-cream-2: #fdf1f6;
  --wax-gold: #ff6fa5;
  --wax-gold-dark: #d81b6e;
  --wax-rose: #c0293e;
  --wax-line: #f6d9e6;
  --wax-max-width: 1120px;
  --wax-radius: 14px;
  --wax-shadow: 0 12px 32px rgba(22, 19, 17, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Merriweather", "Georgia", serif;
  background: var(--wax-cream);
  color: var(--wax-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: wax-fade-in 0.35s ease;
}

@keyframes wax-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

/* Back-to-top button */
.wax-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--wax-gold-dark);
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 150;
}

.wax-back-to-top.wax-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .wax-back-to-top { transition: none; }
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", "Playfair Display", "Georgia", serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.wax-container {
  width: 100%;
  max-width: var(--wax-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wax-section {
  padding: 64px 0;
}

.wax-section--tight { padding: 40px 0; }

.wax-section--alt {
  background: var(--wax-cream-2);
}

.wax-section--dark {
  background: var(--wax-black);
  color: var(--wax-cream);
}

.wax-eyebrow {
  display: inline-block;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wax-gold-dark);
  margin-bottom: 12px;
}

.wax-section--dark .wax-eyebrow { color: var(--wax-gold); }

h2.wax-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.wax-lead {
  font-size: 1.15rem;
  max-width: 62ch;
}

.wax-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.wax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wax-btn--primary {
  background: var(--wax-gold-dark);
  color: var(--wax-cream);
  box-shadow: 0 8px 20px rgba(216, 27, 110, 0.35);
}

.wax-btn--primary:hover { background: var(--wax-black); transform: translateY(-1px); }

.wax-btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.wax-btn--ghost:hover { background: rgba(0,0,0,0.06); }

.wax-btn:disabled,
.wax-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.wax-btn--block { width: 100%; }

/* Payment method choice (checkout) */
.wax-pay-method {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.wax-pay-method__option {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--wax-line);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wax-charcoal);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wax-pay-method__option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--wax-gold-dark);
  cursor: pointer;
}
.wax-pay-method__option:has(input:checked) {
  border-color: var(--wax-gold-dark);
  background: var(--wax-cream-2);
  color: var(--wax-gold-dark);
}
.wax-pay-method__option:has(input:disabled) { cursor: not-allowed; opacity: 0.45; }

/* Top bar */
.wax-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--wax-line);
}

.wax-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--wax-max-width);
  margin: 0 auto;
  gap: 16px;
}

.wax-topbar__brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--wax-black);
  letter-spacing: 0.04em;
}

.wax-topbar__brand span { color: var(--wax-gold-dark); }

.wax-topbar__brand img {
  height: 54px;
  width: auto;
  display: block;
}

/* Logo animation: heat-shimmer distortion (SVG filter, defs in footer.php)
   + an occasional glossy light sweep masked to the logo's own shape. */
.wax-logo-anim {
  position: relative;
  display: inline-block;
}

.wax-logo-anim img {
  filter: url(#wax-heat-filter);
}

.wax-logo-anim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  background-size: 260% 100%;
  background-position: 150% 0;
  -webkit-mask-image: url('/assets/img/waxness-logo-pink.svg');
  mask-image: url('/assets/img/waxness-logo-pink.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: wax-shimmer-sweep 7s ease-in-out infinite;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes wax-shimmer-sweep {
  0% { background-position: 150% 0; }
  18%, 100% { background-position: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wax-logo-anim img { filter: none; }
  .wax-logo-anim::after { animation: none; opacity: 0; }
}

.wax-topbar__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.wax-topbar__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wax-topbar__nav a { text-decoration: none; opacity: 0.8; display: inline-flex; align-items: center; gap: 6px; }
.wax-topbar__nav a:hover { opacity: 1; }
.wax-topbar__nav a i { font-size: 0.85em; }

.wax-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--wax-black);
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}

/* On small screens, Home/Educators collapse into a hamburger dropdown —
   Tickets stays visible at all times since it's the primary action. */
@media (max-width: 640px) {
  .wax-topbar { position: relative; }
  .wax-topbar__actions { gap: 12px; }
  .wax-hide-mobile { display: none; }

  .wax-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .wax-topbar__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--wax-cream);
    border-bottom: 1px solid var(--wax-line);
    padding: 12px 24px 18px;
    box-shadow: var(--wax-shadow);
  }

  .wax-topbar__nav.wax-nav-open { display: flex; }
  .wax-topbar__nav a { padding: 8px 0; width: 100%; }
}

/* Hero */
.wax-hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 111, 165, 0.22), transparent 45%),
    linear-gradient(180deg, #221a20 0%, var(--wax-black) 100%);
  color: var(--wax-cream);
  text-align: center;
  overflow: hidden;
}

.wax-hero__date {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--wax-gold);
  margin-bottom: 18px;
}

.wax-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 10px;
}

.wax-hero__sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--wax-cream-2);
  margin-bottom: 34px;
}

.wax-hero__intro {
  max-width: 640px;
  margin: 0 auto 36px;
  color: rgba(250, 246, 240, 0.85);
}

.wax-hero__note {
  max-width: 640px;
  margin: -8px auto 36px;
  color: var(--wax-gold);
  font-weight: 600;
}

/* Grids */
.wax-grid {
  display: grid;
  gap: 28px;
}

.wax-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wax-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wax-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .wax-grid--3, .wax-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .wax-grid--2, .wax-grid--3, .wax-grid--4 { grid-template-columns: 1fr; }
}

.wax-card {
  background: #fff;
  border: 1px solid var(--wax-line);
  border-radius: var(--wax-radius);
  padding: 28px;
  box-shadow: var(--wax-shadow);
}

.wax-card h3 { font-size: 1.25rem; margin-bottom: 10px; }

.wax-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wax-cream-2);
  color: var(--wax-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

/* Icon list (checkmarks / feature list) */
.wax-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.wax-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wax-list li::before {
  content: "\2714";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wax-gold-dark);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.wax-section--dark .wax-list li::before {
  background: var(--wax-gold);
  color: var(--wax-black);
}

/* Same look as .wax-list, but with a real <i> icon per item instead of a
   uniform checkmark — used wherever each item benefits from its own icon. */
.wax-list li i {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wax-gold-dark);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.wax-list.wax-list--icons li::before {
  content: none;
}

.wax-section--dark .wax-list li i {
  background: var(--wax-gold);
  color: var(--wax-black);
}

/* Schedule timeline */
.wax-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--wax-line);
}

.wax-timeline li {
  position: relative;
  padding: 4px 0 28px 28px;
}

.wax-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wax-gold-dark);
}

.wax-timeline strong { display: block; font-family: "Poppins", sans-serif; font-size: 0.95rem; }

.wax-timeline strong i {
  color: var(--wax-gold-dark);
  width: 1.3em;
  text-align: center;
  margin-right: 6px;
}

/* Educator preview card (landing page) */
.wax-educator-preview {
  text-align: center;
}

.wax-educator-preview__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--wax-cream-2);
  border: 3px solid #fff;
  box-shadow: var(--wax-shadow);
}

.wax-educator-preview__photo img { width: 100%; height: 100%; object-fit: cover; }

.wax-educator-preview h3 { font-size: 1.1rem; margin-bottom: 2px; }

.wax-educator-preview__role {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  color: var(--wax-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Full educator card (educators page) */
.wax-educator {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--wax-line);
  border-radius: var(--wax-radius);
  padding: 32px;
  box-shadow: var(--wax-shadow);
  margin-bottom: 28px;
}

.wax-educator__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--wax-cream-2);
}

.wax-educator__photo img { width: 100%; height: 100%; object-fit: cover; }

.wax-educator__meta {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  color: var(--wax-charcoal);
  opacity: 0.8;
  margin-bottom: 4px;
}

.wax-educator__title {
  color: var(--wax-gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.wax-educator__ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--wax-rose);
  margin-bottom: 14px;
}

.wax-educator h4 {
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 16px 0 6px;
  color: var(--wax-charcoal);
  opacity: 0.65;
}

.wax-educator h4 i { margin-right: 5px; color: var(--wax-gold-dark); opacity: 1; }

.wax-educator--pending {
  opacity: 0.6;
  border-style: dashed;
}

.wax-badge-pending {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--wax-cream-2);
  color: var(--wax-gold-dark);
  border: 1px solid var(--wax-gold);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .wax-educator { grid-template-columns: 1fr; }
  .wax-educator__photo { max-width: 200px; margin: 0 auto; }
}

/* Footer */
.wax-footer {
  background: var(--wax-black);
  color: rgba(250, 246, 240, 0.6);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.85rem;
}

.wax-footer a { color: var(--wax-gold); text-decoration: none; }
.wax-footer a i { font-size: 0.85em; margin: 0 2px; }

/* Utility */
.wax-mt-lg { margin-top: 48px; }
.wax-mb-lg { margin-bottom: 48px; }
.wax-flex-center { display: flex; align-items: center; justify-content: center; }
.wax-gap-md { gap: 16px; }
.wax-muted { opacity: 0.7; }

/* Ticket price call-outs */
.wax-ticket-price {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--wax-gold-dark);
}

.wax-checkout-price {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--wax-gold-dark);
  margin: 2px 0 10px;
}

/* Speaker / class title lineup */
.wax-session-list {
  list-style: none;
  margin: 0 auto;
  padding: 6px 32px;
  max-width: 780px;
  background: #fff;
  border: 1px solid var(--wax-line);
  border-radius: var(--wax-radius);
  box-shadow: var(--wax-shadow);
}

.wax-session-list__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--wax-line);
}

.wax-session-list__item:last-child {
  border-bottom: none;
}

.wax-session-list__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wax-cream-2);
  color: var(--wax-gold-dark);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.wax-session-list__speaker {
  font-family: "Cormorant Garamond", "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--wax-black);
  margin-bottom: 4px;
}

.wax-session-list__speaker a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.wax-session-list__speaker a:hover,
.wax-session-list__speaker a:focus-visible {
  color: var(--wax-gold-dark);
  border-bottom-color: var(--wax-gold-dark);
}

.wax-session-list__title {
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  color: var(--wax-gold-dark);
  line-height: 1.5;
}

@media (max-width: 560px) {
  .wax-session-list { padding: 4px 20px; }
  .wax-session-list__item { gap: 14px; }
}
