/*
Theme Name: Coach Mahdi
Description: Gold & cream coaching/hypnotherapy shop theme with WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
WC tested up to: 9.0
Text Domain: coachmahdi
*/
/* ─────────────────────────────────────────────────────────────────
   Coach Mahdi — Redesign
   Preserves the golden / cream visual language from the existing
   WordPress site, layered with bold display typography.
   ───────────────────────────────────────────────────────────────── */

:root {
  /* Palette pulled from the live site */
  --gold-1: #f0dca0;     /* top of header gradient */
  --gold-2: #d8b85a;     /* bottom of header gradient */
  --gold-3: #c8a04a;     /* deep gold accents */
  --gold-card: #e3c87a;  /* cream-gold card fills */
  --gold-soft: #ecd9a3;  /* soft gold (alt card / hover) */
  --cream: #faf5e6;      /* page sections, light cards */
  --cream-2: #f7efd9;
  --ink: #2a2010;        /* primary text */
  --ink-soft: #5a4520;   /* secondary text */
  --ink-muted: rgba(42, 32, 16, 0.65);
  --line: rgba(42, 32, 16, 0.12);
  --line-strong: rgba(42, 32, 16, 0.25);
  --accent-red: #c8102e;
  --white: #ffffff;
  --shadow-card: 0 24px 60px -28px rgba(168, 128, 32, 0.45),
                 0 6px 18px -10px rgba(0, 0, 0, 0.08);
  --shadow-card-lg: 0 36px 80px -32px rgba(168, 128, 32, 0.55),
                    0 12px 28px -14px rgba(0, 0, 0, 0.12);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 700;
}

.display {
  font-size: clamp(48px, 7.2vw, 112px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.serif-italic { font-style: italic; font-family: var(--font-display); }

/* ── Header band ────────────────────────────────────────────── */
.cm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
  border-bottom: 1px solid rgba(200, 160, 74, 0.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset,
              0 6px 18px -10px rgba(140, 100, 24, 0.35);
}
.cm-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
}
.cm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.cm-logo__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
}
.cm-logo__mark svg { width: 100%; height: 100%; }
.cm-logo__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.cm-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
}
.cm-nav button {
  appearance: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  position: relative;
  cursor: pointer;
}
.cm-nav button[aria-current="true"] {
  font-weight: 700;
}
.cm-nav button[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.cm-nav button:hover { color: var(--ink-soft); }

.cm-header__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cm-discovery {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.cm-discovery__btn {
  background: var(--white);
  color: var(--ink);
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}
.cm-discovery__btn:hover { background: var(--cream); }
.cm-discovery__limit {
  font-size: 10px;
  color: var(--accent-red);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
}

.cm-cart-btn {
  position: relative;
  appearance: none;
  background: var(--ink);
  color: var(--gold-1);
  border: 0;
  border-radius: 999px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 18px;
}
.cm-cart-btn:hover { background: #3a2e18; }
.cm-cart-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: none;
}
.cm-cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent-red);
  color: white;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold-1);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn--gold {
  background: var(--gold-card);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(140,100,24,0.18);
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}
.btn--dark {
  background: var(--ink);
  color: var(--gold-1);
}
.btn--dark:hover { background: #3a2e18; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--gold-1); }
.btn--white {
  background: white;
  color: var(--ink);
}
.btn--lg { padding: 18px 36px; font-size: 15px; border-radius: 14px; }
.btn--block { width: 100%; justify-content: center; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section-band {
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
  border-top: 1px solid rgba(200, 160, 74, 0.6);
  border-bottom: 1px solid rgba(200, 160, 74, 0.6);
  padding: 22px 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* ── Home: Intro card grid ──────────────────────────────────── */
.intro {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}
.intro__left { text-align: center; padding-top: 18px; }
.intro__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.intro__role {
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 4px;
  font-size: 16px;
}
.intro__portrait {
  margin: 28px auto 24px;
  position: relative;
  width: 340px; height: 380px;
}
.intro__portrait svg.blob { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__portrait img.face {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 84%;
  height: 86%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50% 50% 12px 12px / 60% 60% 12px 12px;
}
.intro__portrait .silhouette {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 76%;
  background: linear-gradient(180deg, #3b2a14 0%, #1a1208 100%);
  border-radius: 50% 50% 14% 14% / 56% 56% 14% 14%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
}
.intro__portrait .silhouette::before {
  content: "";
  position: absolute;
  top: 18%;
  width: 46%;
  height: 36%;
  background: radial-gradient(ellipse at 50% 40%, #d2a572 0%, #7a4a1f 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(0.5px);
}
.intro__portrait .silhouette::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 88%;
  height: 56%;
  background: linear-gradient(180deg, #fafaf0 0%, #e8dcb6 100%);
  border-radius: 50% 50% 8% 8% / 30% 30% 8% 8%;
  clip-path: polygon(0 28%, 50% 0, 100% 28%, 100% 100%, 0 100%);
}

.intro__cta {
  background: var(--gold-card);
  border-radius: 12px;
  padding: 16px 22px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  display: inline-block;
  box-shadow: 0 2px 0 rgba(140, 100, 24, 0.18);
}
.intro__cta strong { font-weight: 800; }
.intro__cta .now { color: var(--accent-red); font-weight: 800; }

.intro__right {
  background: linear-gradient(180deg, var(--gold-card) 0%, #d6b76a 100%);
  border-radius: var(--radius-xl);
  padding: 44px 50px;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.intro__right h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
}
.intro__right h2 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(255,255,255,0.35) 60%);
  padding: 0 2px;
}
.intro__right p {
  font-size: 15.5px;
  margin: 0 0 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── Three Key Benefits photo strip ─────────────────────────── */
.benefits-strip {
  position: relative;
  height: 320px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.benefits-strip__cell {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  filter: brightness(0.55) saturate(0.85);
}
.benefits-strip__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.45) 100%);
}
.benefits-strip__cell svg {
  width: 100%; height: 100%;
}
.benefits-strip__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  z-index: 2;
}
.benefits-strip__overlay h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: white;
  font-size: 40px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.benefits-strip__overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* ── Services row (icons) ───────────────────────────────────── */
.services-row {
  background: white;
  padding: 64px 0 56px;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 14px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(216, 184, 90, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.service-card svg { width: 76px; height: 76px; color: var(--gold-3); }
.service-card span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-soft);
}

/* ── Testimonial ────────────────────────────────────────────── */
.testimonial {
  padding: 56px 0 80px;
  background: white;
}
.testimonial__card {
  background: var(--gold-card);
  border-radius: var(--radius-lg);
  padding: 48px 64px;
  margin: 0 auto;
  max-width: 1040px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial__author {
  margin-top: 22px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.testimonial__dots {
  display: flex; gap: 10px; justify-content: center; margin-top: 26px;
}
.testimonial__dots span {
  width: 8px; height: 8px;
  background: var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
}
.testimonial__dots span.active {
  background: var(--gold-3);
}

/* ── Forest CTA ─────────────────────────────────────────────── */
.forest {
  position: relative;
  padding: 96px 0;
  color: white;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #2c4a2e 0%, #1a3320 100%);
}
.forest::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(80,160,90,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(40,90,60,0.4) 0%, transparent 50%),
    repeating-linear-gradient(95deg, rgba(15,40,20,0.5) 0px, rgba(15,40,20,0.5) 30px, rgba(40,80,45,0.35) 30px, rgba(40,80,45,0.35) 60px);
  opacity: 0.85;
  z-index: 0;
}
.forest::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.25));
  z-index: 1;
}
.forest > * { position: relative; z-index: 2; }
.forest h2 {
  color: white;
  font-size: 38px;
  margin-bottom: 6px;
  font-weight: 600;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.forest h3 {
  color: white;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-style: italic;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

/* ── Footer ─────────────────────────────────────────────────── */
.cm-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 44px 0 28px;
  font-size: 13px;
}
.cm-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.cm-footer h4 {
  color: var(--gold-1);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
.cm-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cm-footer a:hover { color: var(--gold-1); }
.cm-footer__brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.cm-footer__brand .cm-logo__text { color: var(--gold-1); }
.cm-footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ── SHOP / PACKAGES ────────────────────────────────────────── */
.shop-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 88px 0 56px;
  border-bottom: 1px solid rgba(216, 184, 90, 0.35);
}
.shop-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
.shop-hero h1 {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: var(--ink);
}
.shop-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-3);
}
.shop-hero__meta {
  text-align: right;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 360px;
  margin-left: auto;
}
.shop-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 700;
  margin-bottom: 14px;
}
.shop-hero__count::before {
  content: ""; width: 32px; height: 1px; background: var(--gold-3);
}

.shop-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 26px 0 0;
}
.shop-filters button {
  background: white;
  border: 1.5px solid rgba(42,32,16,0.15);
  color: var(--ink-soft);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .15s ease;
}
.shop-filters button:hover { border-color: var(--gold-3); color: var(--ink); }
.shop-filters button.active {
  background: var(--ink);
  color: var(--gold-1);
  border-color: var(--ink);
}

.shop-grid {
  padding: 36px 0 96px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.pkg-card {
  grid-column: span 4;
  background: var(--gold-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  color: var(--ink);
  border: 1px solid rgba(168, 128, 32, 0.25);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .25s ease;
  min-height: 380px;
}
.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-lg);
}
.pkg-card--featured {
  grid-column: span 6;
  background: linear-gradient(160deg, #2a2010 0%, #3a2c14 60%, #4a3618 100%);
  color: var(--gold-1);
  border-color: var(--gold-3);
  min-height: 440px;
}
.pkg-card--featured .pkg-card__title,
.pkg-card--featured .pkg-card__price,
.pkg-card--featured .pkg-card__lede { color: var(--gold-1); }
.pkg-card--featured .pkg-card__meta { color: rgba(240, 220, 160, 0.7); }
.pkg-card--featured .pkg-card__tag { background: var(--gold-card); color: var(--ink); }
.pkg-card--featured .pkg-card__bullets li::before { background: var(--gold-3); }
.pkg-card--featured .pkg-card__bullets { color: rgba(240, 220, 160, 0.85); }

.pkg-card--wide {
  grid-column: span 8;
}
.pkg-card--narrow {
  grid-column: span 4;
}

.pkg-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.pkg-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pkg-card__number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.pkg-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 8px 0 0;
}
.pkg-card--featured .pkg-card__title { font-size: 44px; }
.pkg-card__lede {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.pkg-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.pkg-card__bullets li {
  padding-left: 18px;
  position: relative;
}
.pkg-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 999px;
}
.pkg-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}
.pkg-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.pkg-card__price b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.02em;
}
.pkg-card--featured .pkg-card__price b { font-size: 48px; }
.pkg-card__meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
  font-weight: 600;
}

.pkg-card__popular {
  position: absolute;
  top: -14px; right: 28px;
  background: var(--accent-red);
  color: white;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -8px rgba(200,16,46,0.6);
}

/* ── Package detail page ────────────────────────────────────── */
.pkg-detail {
  padding: 64px 0 80px;
  background: var(--cream);
}
.pkg-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 24px;
  background: none;
  border: 0;
  padding: 0;
}
.pkg-detail__back:hover { color: var(--ink); }

.pkg-detail__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}
.pkg-detail__tag {
  display: inline-block;
  background: var(--gold-card);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}
.pkg-detail h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 20px;
}
.pkg-detail h1 em { font-style: italic; font-weight: 400; color: var(--gold-3); }
.pkg-detail__lede {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 32px;
}
.pkg-detail__section {
  margin-top: 36px;
}
.pkg-detail__section h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 14px;
}
.pkg-detail__includes {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.pkg-detail__includes li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.pkg-detail__includes li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--ink);
  color: var(--gold-1);
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.pkg-detail__buybox {
  position: sticky;
  top: 110px;
  background: linear-gradient(160deg, var(--gold-card) 0%, #d6b76a 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card-lg);
  border: 1px solid rgba(168, 128, 32, 0.3);
}
.pkg-detail__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.pkg-detail__price b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.pkg-detail__price span { font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.pkg-detail__pricemeta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 24px;
}
.pkg-detail__guarantee {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.pkg-detail__guarantee svg { flex: none; width: 22px; height: 22px; color: var(--ink); margin-top: 1px; }

/* ── Cart drawer ────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 14, 4, 0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--cream);
  z-index: 101;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.3);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__head {
  padding: 28px 28px 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}
.cart-drawer__head span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.cart-drawer__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--gold-1);
  border: 0;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 16px;
}
.cart-drawer__close:hover { background: #3a2e18; }
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 28px;
}
.cart-empty {
  padding: 48px 0 24px;
  text-align: center;
  color: var(--ink-muted);
}
.cart-empty svg {
  width: 64px; height: 64px;
  color: rgba(168, 128, 32, 0.4);
  margin: 0 auto 18px;
  display: block;
}
.cart-empty h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 6px;
}

.cart-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-item__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--gold-card);
  display: grid; place-items: center;
  color: var(--ink);
}
.cart-item__icon svg { width: 28px; height: 28px; }
.cart-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.2;
}
.cart-item__qty {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}
.cart-item__qty button {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(168,128,32,0.18);
  color: var(--ink);
  border: 0;
  font-weight: 700;
  display: grid; place-items: center;
}
.cart-item__qty button:hover { background: rgba(168,128,32,0.3); }
.cart-item__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}
.cart-item__remove {
  background: none;
  border: 0;
  color: var(--ink-muted);
  font-size: 11px;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 2px;
}
.cart-item__remove:hover { color: var(--accent-red); }

.cart-drawer__foot {
  padding: 22px 28px 28px;
  background: white;
  border-top: 1px solid var(--line);
}
.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.cart-totals__row { display: flex; justify-content: space-between; }
.cart-totals__row--total {
  border-top: 1px dashed var(--line-strong);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
}
.cart-totals__row--total b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
}

/* ── Checkout ───────────────────────────────────────────────── */
.checkout {
  padding: 64px 0 96px;
  background: var(--cream);
}
.checkout__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.checkout h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.checkout h1 em { font-style: italic; color: var(--gold-3); font-weight: 400; }
.checkout__steps {
  display: flex; gap: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 24px;
}
.checkout__steps b { color: var(--ink); }
.checkout__steps span { color: var(--line-strong); }

.field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  appearance: none;
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-3);
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.checkout__section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.checkout__section h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 18px;
}
.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.payment-option {
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all .15s ease;
}
.payment-option svg { width: 24px; height: 24px; }
.payment-option.active {
  border-color: var(--ink);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(168, 128, 32, 0.15);
}

.summary {
  position: sticky;
  top: 110px;
  background: linear-gradient(160deg, var(--gold-card) 0%, #d6b76a 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.summary h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 18px;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42,32,16,0.15);
  font-size: 14px;
}
.summary__row:last-of-type { border-bottom: 0; }
.summary__row > div:first-child { max-width: 240px; }
.summary__row b { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px;
  margin-top: 12px;
  border-top: 2px dashed rgba(42,32,16,0.3);
}
.summary__total span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.summary__total b {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout__trust {
  margin-top: 18px;
  display: flex; gap: 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.checkout__trust svg { width: 18px; height: 18px; flex: none; color: var(--ink); margin-top: 1px; }

/* ── Success state ──────────────────────────────────────────── */
.success {
  text-align: center;
  padding: 96px 0 120px;
  background: var(--cream);
}
.success__check {
  width: 96px; height: 96px;
  margin: 0 auto 28px;
  background: var(--ink);
  color: var(--gold-1);
  border-radius: 999px;
  display: grid; place-items: center;
  box-shadow: 0 18px 36px -16px rgba(168,128,32,0.7);
}
.success__check svg { width: 48px; height: 48px; }
.success h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.success h1 em { font-style: italic; color: var(--gold-3); font-weight: 400; }
.success p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.success__buttons { display: flex; gap: 14px; justify-content: center; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .intro { grid-template-columns: 1fr; }
  .pkg-card, .pkg-card--featured, .pkg-card--wide { grid-column: span 12; }
  .pkg-detail__grid, .checkout__grid, .shop-hero__inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cm-nav { display: none; }
  .pkg-detail__buybox, .summary { position: static; }
}

/* ── Static HTML/CSS overrides ──────────────────────────────── */

/* Nav + logo as links */
.cm-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  position: relative;
  text-decoration: none;
  display: inline-block;
}
.cm-nav a[aria-current="page"] { font-weight: 700; }
.cm-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.cm-nav a:hover { color: var(--ink-soft); }
a.cm-logo { text-decoration: none; }
a.cm-cart-btn { text-decoration: none; }

/* Shop filter labels behave like buttons */
.shop-filters label {
  background: white;
  border: 1.5px solid rgba(42,32,16,0.15);
  color: var(--ink-soft);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-block;
  user-select: none;
}
.shop-filters label:hover { border-color: var(--gold-3); color: var(--ink); }

/* Hide the radio inputs themselves */
.cat-radio { display: none; }

/* Active filter label via :has() */
.shop-body:has(#cat-all:checked)          label[for="cat-all"],
.shop-body:has(#cat-coaching:checked)     label[for="cat-coaching"],
.shop-body:has(#cat-hypnotherapy:checked) label[for="cat-hypnotherapy"],
.shop-body:has(#cat-consulting:checked)   label[for="cat-consulting"],
.shop-body:has(#cat-course:checked)       label[for="cat-course"],
.shop-body:has(#cat-audio:checked)        label[for="cat-audio"],
.shop-body:has(#cat-workbook:checked)     label[for="cat-workbook"],
.shop-body:has(#cat-bundle:checked)       label[for="cat-bundle"] {
  background: var(--ink);
  color: var(--gold-1);
  border-color: var(--ink);
}

/* Filter: hide cards that don't match the selected category */
.shop-body:has(#cat-coaching:checked)     .pkg-card:not([data-cat="coaching"])     { display: none; }
.shop-body:has(#cat-hypnotherapy:checked) .pkg-card:not([data-cat="hypnotherapy"]) { display: none; }
.shop-body:has(#cat-consulting:checked)   .pkg-card:not([data-cat="consulting"])   { display: none; }
.shop-body:has(#cat-course:checked)       .pkg-card:not([data-cat="course"])       { display: none; }
.shop-body:has(#cat-audio:checked)        .pkg-card:not([data-cat="audio"])        { display: none; }
.shop-body:has(#cat-workbook:checked)     .pkg-card:not([data-cat="workbook"])     { display: none; }
.shop-body:has(#cat-bundle:checked)       .pkg-card:not([data-cat="bundle"])       { display: none; }

/* Package detail panels: hidden by default, shown via :target */
.pkg-detail-panel { display: none; }
.pkg-detail-panel:target { display: block; }

/* Hide the shop grid & hero when a detail panel is open */
.shop-body:has(.pkg-detail-panel:target) .shop-hero     { display: none; }
.shop-body:has(.pkg-detail-panel:target) .shop-grid-wrap { display: none; }

/* Testimonial CSS carousel */
.testimonial__carousel { position: relative; min-height: 260px; }
.testimonial__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: t-fade 19.5s infinite;
}
.testimonial__item:nth-child(1) { animation-delay: -1s;  } /* starts nearly faded-in */
.testimonial__item:nth-child(2) { animation-delay: 5.5s; }
.testimonial__item:nth-child(3) { animation-delay: 12s;  }

@keyframes t-fade {
  0%, 2%  { opacity: 0; }
  8%      { opacity: 1; }
  30%     { opacity: 1; }
  36%     { opacity: 0; }
  100%    { opacity: 0; }
}

/* Payment option labels (radio system) */
.pay-radio { display: none; }
.payment-section label.payment-option { cursor: pointer; }

.payment-section:has(#pay-card:checked)   label[for="pay-card"],
.payment-section:has(#pay-paypal:checked) label[for="pay-paypal"],
.payment-section:has(#pay-apple:checked)  label[for="pay-apple"] {
  border-color: var(--ink);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(168, 128, 32, 0.15);
}

.paypal-msg, .apple-msg { display: none; }
.payment-section:has(#pay-paypal:checked) .card-fields  { display: none; }
.payment-section:has(#pay-paypal:checked) .paypal-msg   { display: block; }
.payment-section:has(#pay-apple:checked)  .card-fields  { display: none; }
.payment-section:has(#pay-apple:checked)  .apple-msg    { display: block; }

/* ── Custom logo (uploaded via Customizer) ─────────────── */
.cm-logo__mark--custom { width: auto; height: 44px; }
.cm-logo__mark--custom a { display: block; line-height: 0; }
.cm-logo__mark--custom img { height: 44px; width: auto; object-fit: contain; display: block; }

/* ── WooCommerce default buttons → match theme .btn ─────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.wc-proceed-to-checkout a.checkout-button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  text-shadow: none;
  background: var(--ink);
  color: var(--gold-1);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover {
  background: #3a2e18;
  color: var(--gold-1);
}

/* Primary actions (alt / add-to-cart / checkout / place order) → gold */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.wc-proceed-to-checkout a.checkout-button {
  background: var(--gold-card);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(140, 100, 24, 0.18);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--gold-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

/* "View cart" link shown after add-to-cart */
.woocommerce a.added_to_cart {
  color: var(--gold-3);
  font-weight: 700;
  text-decoration: underline;
}

/* ── WooCommerce notices / messages ─────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-top: 3px solid var(--gold-3);
  background: var(--cream);
  color: var(--ink);
  border-radius: 10px;
  font-family: var(--font-body);
  list-style: none;
}
.woocommerce-error { border-top-color: var(--accent-red); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--gold-3); }
.woocommerce-error::before { color: var(--accent-red); }

/* ── Form fields (checkout, account, coupon) ────────────── */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text,
.woocommerce #customer_details input.input-text,
.woocommerce #customer_details textarea,
.woocommerce .quantity input.qty,
.woocommerce form .form-row select,
.woocommerce-ordering select,
.select2-container--default .select2-selection--single {
  border: 1.5px solid rgba(42, 32, 16, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce #customer_details input.input-text:focus,
.woocommerce .quantity input.qty:focus {
  outline: 0;
  border-color: var(--gold-3);
  box-shadow: 0 0 0 3px rgba(200, 160, 74, 0.18);
}
.woocommerce .quantity input.qty { width: 72px; text-align: center; }
.woocommerce form .form-row label,
.woocommerce-checkout label { color: var(--ink-soft); font-weight: 600; }
.required { color: var(--accent-red); }

/* ── select2 dropdown (country/state pickers) ───────────── */
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); line-height: 28px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--gold-3); }
.select2-dropdown { border-color: rgba(42, 32, 16, 0.18); }

/* ── Prices, amounts, links, ratings ────────────────────── */
.woocommerce .price,
.woocommerce .amount,
.woocommerce span.price,
.woocommerce ul.products li.product .price { color: var(--ink); font-weight: 700; }
.woocommerce .price del { color: var(--ink-muted); font-weight: 400; }
.woocommerce a { color: var(--gold-3); }
.woocommerce a:hover { color: var(--ink); }
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before { color: var(--gold-3); }

/* ── Cart & checkout tables ─────────────────────────────── */
.woocommerce table.shop_table,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
  border-radius: 12px;
  border-color: rgba(42, 32, 16, 0.12);
  background: #fff;
}
.woocommerce table.shop_table th { color: var(--ink); }
.woocommerce-checkout #payment { background: var(--cream); }
.woocommerce #payment .payment_methods li { color: var(--ink); }

/* ── Result count / ordering bar ────────────────────────── */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { color: var(--ink-soft); }

/* ── Pagination ─────────────────────────────────────────── */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: var(--ink);
  border-color: rgba(42, 32, 16, 0.12);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--gold-card); color: var(--ink); }
