/* ==========================================================================
   Isoharts / Zenergize Holistic Health Club - Bootstrap 5 theme
   Design tokens carried over 1:1 from the original React/Tailwind site.
   ========================================================================== */

:root {
  --sage: #4E6E5D;
  --sage-dark: #3D5849;
  --cream: #FAF8F5;
  --cream-2: #F2ECE1;
  --ink: #2B3530;
  --ink-soft: #4E5C54;
  --muted: #616F67;
  --gold: #D4A359;
  --gold-dark: #B88B43;
  --tan: #8C6D46;
  --line: #E4DDD3;

  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  --bs-body-bg: var(--cream);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-link-color: var(--sage);
  --bs-link-hover-color: var(--sage-dark);
  --bs-primary: #4E6E5D;
  --bs-primary-rgb: 78, 110, 93;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--bs-body-font-family) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(212, 163, 89, .3);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.fw-600 {
  font-weight: 600;
}

/* Brand colour helpers */
.text-ink {
  color: var(--ink) !important;
}

.text-inksoft {
  color: var(--ink-soft) !important;
}

.text-brandmuted {
  color: var(--muted) !important;
}

.text-sage {
  color: var(--sage) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.text-tan {
  color: var(--tan) !important;
}

.bg-cream {
  background-color: var(--cream) !important;
}

.bg-cream2 {
  background-color: var(--cream-2) !important;
}

.bg-ink {
  background-color: var(--ink) !important;
}

.border-line {
  border-color: var(--line) !important;
}

.link-sage {
  color: var(--sage);
  text-decoration: underline;
}

.link-sage:hover {
  color: var(--sage-dark);
}

/* ---------- Type scale (Tailwind text-3xl..6xl equivalents) ---------- */
.t-h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 600;
}

.t-h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 600;
}

.t-hero {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 600;
}

@media (min-width: 576px) {
  .t-h1 {
    font-size: 3rem;
  }

  .t-h2 {
    font-size: 2.25rem;
  }

  .t-hero {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .t-hero {
    font-size: 3.75rem;
  }

  .t-h1-lg {
    font-size: 3.75rem;
  }

  .t-h2-lg {
    font-size: 3rem;
  }
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 576px) {
  .wrap {
    padding-inline: 2rem;
  }
}

.section-pad {
  padding: 4rem 1.25rem;
}

.shop-section-pad {
  padding: 25px;
}

@media (min-width: 576px) {
  .section-pad {
    padding-inline: 2rem;
  }
}

@media (min-width: 992px) {
  .section-pad {
    padding: 6rem 4rem;
  }
}

.maxw-2xl {
  max-width: 42rem;
  margin-inline: auto;
}

.maxw-3xl {
  max-width: 48rem;
  margin-inline: auto;
}

.maxw-4xl {
  max-width: 56rem;
  margin-inline: auto;
}

.maxw-5xl {
  max-width: 64rem;
  margin-inline: auto;
}

.maxw-6xl {
  max-width: 72rem;
  margin-inline: auto;
}

/* ---------- Pill label ---------- */
.pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .25rem .75rem;
  border-radius: 999px;
}

.pill-cream {
  background: var(--cream-2);
  color: var(--tan);
}

.pill-white {
  background: #fff;
  color: var(--tan);
}

.pill-glass {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* ---------- Buttons ---------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.5;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-brand.sm {
  padding: .5rem 1.25rem;
  font-size: .875rem;
  background-color: #4e6e5d;
}

.btn-brand.xs {
  padding: .375rem .75rem;
  font-size: .75rem;
  white-space: nowrap;
}

.btn-sage {
  background: var(--sage) !important;
  color: #fff;
}

.btn-sage:hover {
  background: var(--sage-dark);
  color: #fff;
}

.btn-gold {
  background: var(--gold) !important;
  color: #fff;
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: #fff;
}

.btn-outline-sage {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage);
}

.btn-outline-sage:hover {
  background: var(--sage);
  color: #fff;
}

.btn-outline-light-brand {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-light-brand:hover {
  background: #fff;
  color: var(--ink);
}

.btn-brand:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn-tier-gold,
.btn-tier-silver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .85rem 1.75rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-tier-gold {
  background: linear-gradient(135deg, #F6DE8D 0%, #D4A63A 45%, #B8862A 70%, #F2D27A 100%);
  color: #3A2A08;
  box-shadow: 0 6px 18px rgba(184, 134, 42, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.btn-tier-silver {
  background: linear-gradient(135deg, #F4F6F8 0%, #C9CED4 40%, #9EA5AD 65%, #E6E9EC 100%);
  color: #2B3035;
  box-shadow: 0 6px 18px rgba(120, 128, 138, .35), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.btn-tier-gold:hover,
.btn-tier-silver:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ---------- Cards & inputs ---------- */
.card-surface {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.input-field {
  display: block;
  width: 100%;
  border-radius: .75rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: .75rem 1rem;
  outline: none;
  color: var(--ink);
  transition: border-color .2s ease;
  font-size: 1rem;
  font-family: inherit;
}

.input-field:focus {
  border-color: var(--sage);
  box-shadow: none;
}

.accent-sage {
  accent-color: var(--sage);
}

/* ---------- Header / navbar ---------- */
.site-header {
  background: rgba(250, 248, 245, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 1030;
}

.site-header .navbar {
  padding: 0;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0;
  margin: 0;
}

.brand .bi {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  line-height: 1.25;
}

.site-header .nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .5rem 0;
  transition: color .2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--sage);
}

.navbar-toggler {
  border: 0;
  padding: .25rem;
  color: var(--ink);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler .bi {
  font-size: 1.75rem;
  line-height: 1;
}

@media (min-width: 992px) {
  .site-header .nav-link {
    padding: .5rem 0;
  }

  .site-header .navbar-nav {
    gap: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    border-top: 1px solid var(--line);
    padding: 1rem 0;
    margin-top: .25rem;
  }

  .site-header .nav-link {
    display: block;
    padding: .375rem 0;
    font-size: 1rem;
  }

  .site-header .nav-actions {
    border-top: 1px solid var(--line);
    margin-top: .75rem;
    padding-top: .75rem;
    flex-direction: column;
    align-items: stretch !important;
  }

  .site-header .nav-actions a {
    text-align: center;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .9);
  margin-top: 2.5rem;
}

.site-footer h3 {
  font-size: 1.875rem;
  font-weight: 600;
  color: #fff;
}

.site-footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .75rem;
}

.site-footer .tagline {
  color: var(--gold);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
}

.site-footer .about {
  margin-top: .75rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
  max-width: 28rem;
  line-height: 1.65;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
}

.site-footer li {
  margin-bottom: .5rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: background-color .2s ease;
  color: #fff;
}

.site-footer .social a:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.site-footer .contact li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

.site-footer .contact .bi {
  margin-top: .15rem;
  flex-shrink: 0;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.5rem 1.25rem;
}

.footer-legal .disclaimer {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: .025em;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
}

.footer-legal .copy {
  margin-top: .75rem;
  text-align: center;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 53, 48, .55);
}

.hero-inner {
  position: relative;
  color: #fff;
  padding: 7rem 1.25rem;
}

@media (min-width: 576px) {
  .hero-inner {
    padding-inline: 2rem;
  }
}

@media (min-width: 992px) {
  .hero-inner {
    padding: 10rem 2rem;
  }
}

.hero-inner h1 {
  max-width: 48rem;
  margin-top: 1rem;
}

.hero-inner .sub {
  margin-top: 1.25rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.65;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1500px;
  margin-inline: auto;
  align-items: stretch;
}

.pricing-grid .side-img {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 1rem;
}

@media (min-width: 1200px) {
  .pricing-grid.bp-xl {
    grid-template-columns: 200px minmax(0, 1fr) 200px;
  }

  .pricing-grid.bp-xl .side-img {
    display: block;
  }
}

@media (min-width: 992px) {
  .pricing-grid.bp-lg {
    grid-template-columns: 200px minmax(0, 1fr) 200px;
  }

  .pricing-grid.bp-lg .side-img {
    display: block;
    min-height: 400px;
  }
}

.tier-cards {
  max-width: 72rem;
  margin-inline: auto;
  width: 100%;
}

.tier-card {
  position: relative;
  padding: 0 0.8rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}

.tier-card.gold {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1), 0 0 0 4px rgba(232, 200, 114, .3);
  border: 2px solid #C9A24B;
}

@media (min-width: 768px) {
  .tier-card.gold {
    margin-top: -1rem;
    margin-bottom: 1rem;
  }

}

.tier-card .launch {
  position: absolute;
  top: -.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tan);
  color: #fff;
  white-space: nowrap;
}

.tier-card .tier-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: .75rem;
  margin: -.5rem 0 1.25rem;
}

.tier-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}

.tier-cards .plans {
  padding: 5px;
}

.tier-card .price {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.tier-card .price-sub {
  color: var(--muted);
  margin-bottom: .375rem;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  flex: 1;
}

.tier-card li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--ink-soft);
  margin-bottom: .75rem;
}

.tier-card li .bi {
  color: var(--sage);
  font-size: 1.1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.tier-card .includes {
  margin-top: 1rem;
  font-size: .75rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

.tier-card .btn-brand,
.tier-card .btn-tier-gold,
.tier-card .btn-tier-silver {
  margin-top: 1.5rem;
  width: 100%;
  border-radius: 2rem;
}

/* ---------- Home sections ---------- */
.pillar {
  padding: 1.25rem;
}

.pillar .bi {
  color: var(--sage);
  font-size: 1.5rem;
  line-height: 1;
}

.pillar h4 {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: .75rem;
  font-family: var(--bs-body-font-family);
}

.pillar p {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .25rem;
  line-height: 1.6;
}

.element-dot {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-inline: auto;
}

.book-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #000;
  border-radius: 1rem;
}

/* ---------- Video library (packages) ---------- */
.video-card {
  overflow: hidden;
  height: 100%;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-thumb img.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb.locked img.thumb {
  filter: blur(4px);
  transform: scale(1.05);
}

.video-thumb .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .75rem;
  color: #fff;
  background: rgba(0, 0, 0, .5);
}

.video-thumb .overlay .bi-lock-fill {
  color: var(--gold);
  font-size: 1.25rem;
}

.video-thumb .overlay .lock-label {
  margin-top: .5rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.video-thumb .overlay .unlock-btn {
  margin-top: .75rem;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  border: 0;
  padding: .375rem 1rem;
  font-size: .75rem;
  font-weight: 600;
}

.video-thumb .overlay .unlock-btn:hover {
  background: var(--gold-dark);
}

.video-thumb .play {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}

.video-thumb .play:hover {
  background: rgba(0, 0, 0, .4);
}

.video-thumb .play .bi {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}

.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  padding: .75rem;
}

.video-meta h4 {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  font-family: var(--bs-body-font-family);
}

.video-meta .cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .025em;
  color: var(--muted);
}

.video-meta .src {
  display: inline-block;
  margin-top: .25rem;
  font-size: 11px;
  color: var(--sage);
}

.video-meta .src:hover {
  text-decoration: underline;
}

/* ---------- Club / elements ---------- */
.element-card {
  padding: 1.25rem;
  text-align: center;
}

.element-card .bi {
  color: var(--sage);
  font-size: 1.5rem;
}

.element-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: .5rem;
  color: var(--ink);
}

.element-card p {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* ---------- Shop ---------- */
.filter-pill {
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all .2s ease;
}

.filter-pill:hover {
  border-color: var(--sage);
}

.filter-pill.active {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.filter-pill.lg {
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
}

.product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product .p-img {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}

.product .p-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product:hover .p-img img {
  transform: scale(1.05);
}

.product .p-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.product .kind {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .025em;
  color: var(--muted);
}

.product h4 {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: .125rem;
  line-height: 1.35;
  font-family: var(--bs-body-font-family);
}

.product .desc {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product .foot {
  margin-top: .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.product .price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.cart-badge {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  background: var(--gold);
  color: #fff;
  font-size: .75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-img {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  height: 16rem;
  position: relative;
}

.detail-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-close:hover {
  background: var(--cream-2);
}

.modal-content.card-surface,
.offcanvas.cart-canvas {
  border-color: var(--line);
}

.offcanvas.cart-canvas {
  background: var(--cream);
  max-width: 28rem;
  width: 100%;
}

.cart-item {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.qty-btn {
  padding: .25rem .4rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: #fff;
  line-height: 1;
}

/* ---------- Events ---------- */
.event-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card img.ev-img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .event-card {
    flex-direction: row;
  }

  .event-card img.ev-img {
    width: 11rem;
    height: auto;
  }
}

.event-card .ev-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pill-online {
  background: var(--cream-2);
  color: var(--sage);
}

.pill-inperson {
  background: var(--cream-2);
  color: var(--tan);
}

/* ---------- Trainings ---------- */
.training-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.training-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.training-thumb.locked img {
  filter: blur(4px);
}

.training-thumb .veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-thumb .veil .bi {
  color: var(--gold);
  font-size: 1.75rem;
}

/* ---------- Quiz ---------- */
.quiz-progress {
  height: .5rem;
  border-radius: 999px;
  background: var(--cream-2);
  overflow: hidden;
}

.quiz-progress>div {
  height: 100%;
  transition: width .4s ease;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: .75rem;
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  background: #fff;
  color: var(--ink);
  transition: all .2s ease;
  cursor: pointer;
  font-size: 1rem;
}

.quiz-option:hover {
  border-color: var(--sage);
  background: var(--cream);
}

.quiz-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
}

.quiz-scale button {
  border-radius: .75rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  cursor: pointer;
  transition: all .2s ease;
}

.quiz-scale button:hover {
  border-color: var(--sage);
  background: var(--cream);
}

.quiz-scale .n {
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}

.quiz-scale .l {
  font-size: 10px;
  color: var(--muted);
}

.result-badge {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
}

/* ---------- Astrology ---------- */
.astro-badge {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* ---------- Auth pages ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 3rem 1.25rem;
}

.auth-card {
  max-width: 28rem;
  padding: 2rem;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.auth-brand .bi {
  color: var(--gold);
  font-size: 1.5rem;
}

.auth-brand span {
  font-size: 1.875rem;
  font-weight: 600;
}


/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: min(92vw, 26rem);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  pointer-events: none;
}

.toast-msg {
  pointer-events: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: .75rem;
  padding: .75rem 1rem;
  font-size: .875rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  animation: toast-in .25s ease;
}

.toast-msg.error {
  border-left-color: #c0392b;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Scroll reveal (respects reduced motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .toast-msg {
    animation: none;
  }
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Utilities ---------- */
.lh-relaxed {
  line-height: 1.65;
}

.text-xs {
  font-size: .75rem;
}

.text-sm {
  font-size: .875rem;
}

.hidden {
  display: none !important;
}

.woocommerce a.added_to_cart {
  font-size: 13px;
}

.single-product section.related.products h2,
.single-product .woocommerce-Tabs-panel--description h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.single-product div#tab-description p {
  font-size: 13px;
}

.single-product .product_meta {
  font-size: 15px;
}

.type-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.type-product>.woocommerce-product-gallery,
.type-product>.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.type-product>.woocommerce-tabs,
.type-product>.related {
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .type-product {
    grid-template-columns: 1fr;
  }

  .auth-card {
    max-width: 100%;
    padding: 5px;

  }

  .shop-section-pad {
    padding: 25px 0;
  }

  .product .foot {
    display: block;
  }

  .woocommerce div.product form.cart .button {
    background-color: #4e6e5d;
    font-size: 15px;
  }

  .woocommerce .quantity .qty {
    border: 1px solid #4e6e5d;
  }

  span.price.font-display a {
    font-size: 17px;
  }

  .cmn-ntn-brand {
    font-size: 14px;
  }

  .single-product .woocommerce-product-details__short-description {
    margin-bottom: 25px;
  }

  .wc-memberships-products-grant-access a {
    color: #0000ff;
  }

  .wc-block-checkout__actions .wc-block-checkout__actions_row--justify-flex-end {
    background: #4e6e5d;
    width: 50%;
  }

  body.woocommerce-checkout div.wc-block-components-radio-control-accordion-option:nth-child(n+3) {
    display: none !important;
  }

  .wpcf7-form textarea {
    max-height: 120px;
  }

  a.cmn-ntn-brand {
    font-size: 12px;
  }

  span.price.font-display.contact-us-pricing a {
    font-size: 20px !important;
  }