/*
Theme Name: Ancient Synergy
Theme URI: https://ancientsynergy.com
Author: Ancient Synergy
Description: A modern, sophisticated metaphysical wellness theme with cosmic jewel-tone aesthetics for Ancient Synergy.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: ancient-synergy
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — JEWEL TONE COSMIC PALETTE
   ============================================================ */
:root {
  --void:         #080710;
  --deep-space:   #0d0b1e;
  --cosmic:       #15112c;
  --amethyst:     #5c4f7e;
  --amethyst-mid: #6e60a0;
  --sapphire:     #273a72;
  --sapphire-mid: #3a5098;
  --emerald:      #064e3b;
  --rose:         #9d174d;
  --gold:         #c9a84c;
  --gold-light:   #dfc07a;
  --lavender:     #a494c4;
  --mauve:        #c4a0b4;
  --pearl:        #ede9f5;
  --white:        #ffffff;

  --grad-jewel:   #1e1838;
  --grad-gold:    #c9a84c;
  --grad-card:    rgba(17,0,51,0.55);

  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', 'Montserrat', sans-serif;
  --font-accent:  'Cinzel', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-glow:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.45);
  --shadow-gold:   0 4px 16px rgba(0,0,0,0.4);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  /* Reserve the scrollbar gutter so content never shifts sideways
     when pages of different heights load or the viewport shrinks */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  background-color: var(--void);
  color: var(--pearl);
  line-height: 1.7;
  overflow-x: hidden;
  /* Text never escapes its container, even for long unbroken words */
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--pearl);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: var(--font-heading);
  color: var(--pearl);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.lead {
  font-size: 1.15rem;
  color: rgba(240,235,255,0.75);
  max-width: 640px;
  line-height: 1.8;
}
.lead--secondary {
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--void);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  color: var(--void);
}

.btn-outline {
  background: transparent;
  color: var(--lavender);
  border: 1px solid rgba(164,148,196,0.4);
}
.btn-outline:hover {
  background: rgba(164,148,196,0.1);
  border-color: var(--lavender);
  color: var(--pearl);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--pearl);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(92,79,126,0.2);
  border-color: rgba(164,148,196,0.4);
  color: var(--pearl);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
/* Fixed header overlays content — every page except the front page
   (full-screen hero) needs a top offset so headings clear the menu */
body:not(.home) {
  padding-top: 110px;
}
/* On inner pages the header is always solid — the transparent style is
   only for the homepage hero. Prevents content showing through on scroll. */
body:not(.home) #site-header {
  background: rgba(3,0,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(92,79,126,0.2);
}

/* ── WooCommerce wrapper — the "invisible border" ──
   Every Woo page (shop, product, cart, checkout) renders inside this
   frame so content never touches the viewport edges. */
.woo-wrap {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 5rem;
}
.woo-wrap .container {
  width: min(1080px, 100%);
}

/* ── WooCommerce single product — two-column booking card ──
   Image carousel left (~45%), service info right (~55%), both
   vertically centered. Invisible padding acts as the internal
   border. Everything else inside div.product (tabs, upsells)
   spans the full width below the two columns. */
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: center;
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
}
.woocommerce div.product div.images {
  grid-column: 1;
  padding: 1rem;               /* invisible border around the image */
}
.woocommerce div.product div.summary {
  grid-column: 2;
  padding-left: 1rem;          /* invisible border on the text side */
  text-align: left;
}
.woocommerce div.product > *:not(.images):not(.summary) {
  grid-column: 1 / -1;
}
.woocommerce div.product div.images img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
}
/* Purchase bars (quantity + add-to-cart + express-pay buttons):
   left-aligned inside the info column, capped so they never run
   off the page. */
.woocommerce div.product form.cart {
  max-width: min(440px, 100%);
  margin: 1.5rem 0 2rem !important;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
/* Details section — spans full width beneath the image + summary.
   WooCommerce renders the product's long description here (the
   "Description" tab); the theme gives it room to breathe. */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(92,79,126,0.2);
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  border: none;
  background: none;
  overflow: visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.5);
  padding: 0 0 0.5rem;
  font-weight: 400;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
.woocommerce div.product .woocommerce-tabs .panel {
  color: rgba(240,235,255,0.78);
  font-size: 1.02rem;
  line-height: 1.9;
  max-width: 860px;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs .panel h2:first-of-type {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--pearl);
  margin-bottom: 1.25rem;
}
.woocommerce div.product .woocommerce-tabs .panel p { margin-bottom: 1.25rem; }

/* Same treatment for non-WooCommerce detail pages (.service-details) */
.service-details {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(92,79,126,0.2);
}
.service-details .eyebrow { margin-bottom: 1.25rem; }
.service-details h2 {
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}
.service-details p {
  color: rgba(240,235,255,0.78);
  font-size: 1.02rem;
  line-height: 1.9;
  max-width: 860px;
  margin-bottom: 1.25rem;
}
.service-details ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 860px;
}
.service-details ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: rgba(240,235,255,0.72);
  line-height: 1.8;
}
.service-details ul li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.75em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* Mobile: stack the columns — image on top (centered), text below */
@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    grid-column: 1;
  }
  .woocommerce div.product div.images {
    max-width: min(420px, 100%);
    margin: 0 auto !important;
    padding: 0;
  }
  .woocommerce div.product div.summary {
    padding-left: 0;
  }
}
.woocommerce div.product form.cart div.quantity {
  float: none;
  margin: 0;
}
.woocommerce div.product form.cart .qty {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(92,79,126,0.35);
  border-radius: var(--radius-sm);
  color: var(--pearl);
  padding: 0.65rem 0.5rem;
  width: 4.5rem;
}
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  float: none;
  background: var(--gold);
  color: var(--void);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: background-color var(--transition), transform var(--transition);
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--gold-light);
  color: var(--void);
  transform: translateY(-2px);
}
/* Express-checkout / payment bars stay inside the frame too */
.woocommerce div.product .summary > * {
  max-width: 100%;
}
.woocommerce div.product .price {
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}
/* Breadcrumb: keep clear of the fixed header and match the theme */
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  color: rgba(240,235,255,0.5);
}
.woocommerce .woocommerce-breadcrumb a { color: rgba(240,235,255,0.7); }
/* Product title shouldn't fight the nav for space */
.woocommerce div.product .product_title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}

/* ── WooCommerce shop archive — modernized ──
   Structure per spec; earth-tone hexes mapped to the brand's
   cosmic jewel palette (PRODUCT.md rules out beige/parchment). */

/* Archive hero: full-width band above the grid */
.shop-hero--archive {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 3rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--deep-space) 0%, var(--grad-jewel) 55%, var(--cosmic) 100%);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-lg);
}
/* Moving stars behind the heading; content stays above the canvas */
#shop-hero-starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}
.shop-hero--archive > *:not(#shop-hero-starfield),
.shop-hero .container {
  position: relative;
  z-index: 1;
}
/* The fallback shop-page hero hosts the same canvas */
.shop-hero {
  position: relative;
  overflow: hidden;
}
.shop-hero--archive .section-title { margin-bottom: 0.75rem; }
.shop-hero--archive .lead {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  text-align: center;
  margin: 0 auto;
}
.shop-hero--archive .header-ornament { margin-top: 1.75rem; }
@media (max-width: 768px) {
  .shop-hero--archive { min-height: 180px; padding: 2rem 1.25rem; }
}

/* Filter pills (left) + sort dropdown (right) */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 0.5rem;
}
.shop-toolbar .shop-filter {
  margin-bottom: 0;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}
a.filter-btn { text-decoration: none; display: inline-flex; align-items: center; }
.shop-sort { flex-shrink: 0; }
.shop-sort .woocommerce-ordering { margin: 0; float: none; }
.shop-sort select,
.shop-sort .orderby {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255,255,255,0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c9a84c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  border: 1px solid rgba(92,79,126,0.35);
  border-radius: 8px;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55rem 2.5rem 0.55rem 1rem;
  cursor: pointer;
  transition: border-color var(--transition);
}
.shop-sort select:hover,
.shop-sort select:focus-visible { border-color: rgba(201,168,76,0.5); outline: none; }
.shop-sort select option { background: var(--deep-space); color: var(--pearl); }
/* Mobile: pills collapse into a horizontal scroll row */
@media (max-width: 768px) {
  .shop-toolbar .shop-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
  }
  .shop-toolbar .filter-btn { white-space: nowrap; flex-shrink: 0; }
}

/* Product grid: 4 → 3 → 2 → 1 columns, 28px gaps */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 40px 0;
  list-style: none;
  margin: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* Elevated product cards */
.woocommerce ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center;
  background: rgba(17,0,51,0.55);
  border: 1px solid rgba(92,79,126,0.25);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
/* Uniform square thumbnails (carousel track already enforces 1:1) */
.woocommerce ul.products li.product .as-loop-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1rem;
}
.woocommerce ul.products li.product .as-loop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.woocommerce ul.products li.product a img { margin: 0; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--pearl);
  padding: 0 1.25rem 0.35rem;
}
/* Star ratings — amber, shown below the title */
.woocommerce ul.products li.product .star-rating {
  margin: 0.25rem auto 0.4rem;
  color: #C8922A;
}
/* WooCommerce count badges render in <mark> — kill the browser's
   yellow-highlighter default wherever they appear */
.woocommerce mark.count,
.widget mark.count {
  background: transparent;
  color: inherit;
}
/* Decorative gold five-star row on loop cards */
.woocommerce ul.products li.product .as-loop-stars {
  color: #C8922A;
  font-size: 0.8rem;
  letter-spacing: 2px;
  padding: 0 1.25rem;
}
/* Price — small, bold, muted */
.woocommerce ul.products li.product .price {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: rgba(201,168,76,0.8);
  font-family: var(--font-body);
  padding: 0 1.25rem;
}
.woocommerce ul.products li.product .price del { opacity: 0.45; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
/* Full-width Add to Cart inside the card */
.woocommerce ul.products li.product .button {
  display: block;
  width: calc(100% - 2.5rem);
  margin: 1rem auto 0;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.8rem 1rem;
}

/* Sale / New badges — top-left of the image */
.as-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.as-badge--new  { background: #3A7D44; }
.as-badge--sale { background: #C0392B; }
/* Woo's own sale flash stays hidden — the theme badge replaces it */
.woocommerce span.onsale,
.woocommerce .woocommerce-result-count { display: none !important; }

/* Pagination — pill buttons, filled active state */
.woocommerce nav.woocommerce-pagination { margin: 2.5rem 0 1.5rem; }
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li { border: none; }
.woocommerce nav.woocommerce-pagination ul li { margin: 0 4px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(92,79,126,0.35);
  background: transparent;
  color: rgba(240,235,255,0.65);
  font-size: 0.85rem;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: rgba(201,168,76,0.5);
  color: var(--pearl);
  background: rgba(92,79,126,0.15);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--void);
  font-weight: 600;
}

/* Empty state — centered, muted, with a way back */
.shop-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.shop-empty-state .shop-empty-text {
  color: rgba(240,235,255,0.55);
  font-size: 1rem;
  line-height: 1.8;
}
.shop-empty-state a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
  background: rgba(3,0,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(92,79,126,0.2);
  padding: 0.8rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.logo-main {
  display: block;
  white-space: nowrap;
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--pearl);
  line-height: 1;
}
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Nav Links — WP outputs a <ul><li> structure; normalise it */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.75);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.current-menu-item {
  color: var(--pearl);
}
.nav-links a:hover::after, .nav-links a.current-menu-item::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.78rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--pearl);
  transition: background-color var(--transition), opacity var(--transition), transform var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3,0,15,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--pearl);
  letter-spacing: 0.05em;
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--pearl);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--void);
}

#starfield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,0,15,0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem 0;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,160,180,0.1);
  border: 1px solid rgba(196,160,180,0.22);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: '✦';
  font-size: 0.6rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240,235,255,0.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   INTRO / ABOUT STORY SECTION
   ============================================================ */
.intro-section {
  background: var(--void);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow behind about content */
.intro-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(92,79,126,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-story {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-hook {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin-bottom: 2rem;
  line-height: 1.15;
}
.about-hook em {
  font-style: italic;
  color: var(--gold-light);
}

.about-story .lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.about-story .lead--secondary {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.about-story .lead--secondary em {
  color: var(--gold-light);
  font-style: italic;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(92,79,126,0.2);
  max-width: 560px;
}
.intro-stat { text-align: center; }
.intro-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.intro-stat-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.5);
  margin-top: 0.4rem;
}

.about-story .btn-group { justify-content: center; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
/* The heading floats on the page background; only the list itself
   carries the deeper panel tone — keeps the section from reading
   as one large saturated block. */
.services-section {
  background: var(--void);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-header .lead {
  margin: 0 auto;
  text-align: center;
}

/* Services heading — its own quiet moment, clearly separated from
   the list below so the header never bleeds into the offerings. */
.services-header {
  max-width: 640px;
  margin-bottom: 5.5rem;
  position: relative;
}
.services-header .eyebrow { margin-bottom: 1.25rem; }
.services-header .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}
.services-header .lead {
  color: rgba(240,235,255,0.7);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

/* Ornamental gold rule with a centered diamond — closes the heading */
.header-ornament {
  width: 200px;
  height: 1px;
  margin: 2.5rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.65), transparent);
  position: relative;
}
.header-ornament::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* The offerings live in their own quiet panel, clearly set apart
   from the heading above it */
.services-list {
  background: rgba(13,11,30,0.55);
  border: 1px solid rgba(92,79,126,0.18);
  border-radius: var(--radius-lg);
  padding: 0.75rem clamp(1.5rem, 4vw, 3rem);
}
.services-list .service-row:last-child {
  border-bottom: none;
}

.service-row {
  display: grid;
  grid-template-columns: 104px 1fr 1.7fr auto;
  gap: 2rem 3rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(92,79,126,0.15);
  transition: border-color var(--transition);
}

.service-img {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(92,79,126,0.12);
  border: 1px solid rgba(92,79,126,0.18);
  border-radius: var(--radius-sm);
}
.service-row:hover {
  border-bottom-color: rgba(201,168,76,0.25);
}
.service-row--featured {
  padding: 2.75rem 0;
}
.service-row--featured .service-img {
  width: 120px;
  height: 120px;
}
.service-row--featured .service-name {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: var(--pearl);
}

.service-name {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: rgba(240,235,255,0.9);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.service-body {
  font-size: 0.91rem;
  color: rgba(240,235,255,0.6);
  line-height: 1.75;
  text-wrap: pretty;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-accent);
  white-space: nowrap;
  transition: color var(--transition);
}
.service-link::after {
  content: '→';
  transition: transform var(--transition);
  display: inline-block;
}
.service-link:hover::after { transform: translateX(4px); }
.service-link:hover { color: var(--gold-light); }

/* Card variant — used on inner pages (about, book, index fallback) */
.service-card {
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92,79,126,0.45);
  box-shadow: var(--shadow-card);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(92,79,126,0.2);
  border: 1px solid rgba(92,79,126,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--pearl);
}
.service-card p {
  font-size: 0.91rem;
  color: rgba(240,235,255,0.65);
  line-height: 1.7;
}

/* ============================================================
   BOOK FEATURE SECTION
   ============================================================ */
.book-section {
  background: var(--deep-space);
  position: relative;
  overflow: hidden;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.book-cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.book-cover {
  width: 280px;
  border-radius: var(--radius-md);
  box-shadow: -20px 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(92,79,126,0.4);
  transform: perspective(800px) rotateY(8deg);
  transition: transform var(--transition);
}
.book-cover:hover {
  transform: perspective(800px) rotateY(2deg) translateY(-8px);
}
.book-cover-placeholder {
  width: 280px;
  max-width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  background: #1a0040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: -20px 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(92,79,126,0.4);
  transform: perspective(800px) rotateY(8deg);
  border: 1px solid rgba(201,168,76,0.2);
}
.book-cover-placeholder .book-icon { font-size: 3rem; margin-bottom: 1rem; }
.book-cover-placeholder h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--pearl);
  margin-bottom: 0.5rem;
}
.book-cover-placeholder span {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

.book-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1rem;
}

.book-meta {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.book-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.book-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.5);
  font-family: var(--font-accent);
}
.book-meta-value {
  font-size: 1rem;
  color: var(--gold-light);
  font-family: var(--font-heading);
}

/* ============================================================
   PODCAST SECTION
   ============================================================ */
.podcast-section {
  background: var(--void);
  position: relative;
}

.podcast-grid {
  display: grid;
  /* min(320px, 100%) lets cards shrink below 320px instead of
     overflowing the viewport on small phones */
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.podcast-card {
  background: rgba(17,0,51,0.85);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.podcast-card:hover {
  border-color: rgba(92,79,126,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.podcast-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--grad-jewel);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}
.podcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.podcast-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(92,79,126,0.15);
  border-radius: var(--radius-sm);
}

.podcast-ep {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.podcast-title {
  font-size: 1rem;
  color: var(--pearl);
  font-family: var(--font-heading);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.podcast-duration {
  font-size: 0.78rem;
  color: rgba(240,235,255,0.6);
}
.podcast-play {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lavender);
  letter-spacing: 0.05em;
}
.podcast-play:hover { color: var(--gold-light); }
.play-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(164,148,196,0.15);
  border: 1px solid rgba(164,148,196,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

/* ============================================================
   SHOP PREVIEW SECTION
   ============================================================ */
.shop-section {
  background: var(--void);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.shop-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(92,79,126,0.18);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  background: rgba(17,0,51,0.5);
  text-decoration: none;
  color: inherit;
}
.shop-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.shop-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-card:hover .shop-img img { transform: scale(1.06); }
.shop-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grad-jewel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.7;
}

.shop-info {
  padding: 1.25rem;
}
.shop-category {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-accent);
  margin-bottom: 0.4rem;
}
.shop-name {
  font-size: 1rem;
  color: var(--pearl);
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
}
.shop-price {
  font-size: 1rem;
  color: var(--lavender);
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--deep-space);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b21a8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(201,168,76,0.2);
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(240,235,255,0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-jewel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pearl);
}
.author-title {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: var(--font-accent);
  letter-spacing: 0.1em;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--deep-space);
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
}
.contact-section::before {
  display: none;
}
#contact-starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

/* Centered meta row of contact details */
.contact-meta-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(240,235,255,0.65);
}
.contact-detail-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(92,79,126,0.2);
  border: 1px solid rgba(92,79,126,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Centered form wrapper */
.contact-form-centered {
  max-width: 680px;
  margin: 0 auto;
}
/* Strip card styling from embed container */
.contact-form-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(92,79,126,0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(240,235,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: rgba(92,79,126,0.7); }

/* Contact Form 7 — inherit the theme's field styling */
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(92,79,126,0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  resize: none;
}
.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: rgba(92,79,126,0.7);
}
.contact-form-wrap .wpcf7-form input::placeholder,
.contact-form-wrap .wpcf7-form textarea::placeholder { color: rgba(240,235,255,0.35); }
.contact-form-wrap .wpcf7-form label {
  display: block;
  color: rgba(240,235,255,0.65);
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}
.contact-form-wrap .wpcf7-form input[type="submit"] {
  display: inline-flex;
  background: var(--gold);
  color: var(--void);
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: background var(--transition), transform var(--transition);
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.contact-form-wrap .wpcf7-response-output {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--pearl);
  margin: 1rem 0 0;
}
.contact-form-wrap .wpcf7-not-valid-tip {
  color: rgba(255,140,140,0.9);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}
.contact-fallback { text-align: center; }
.social-btn svg { width: 18px; height: 18px; display: block; }

/* ============================================================
   CTA / SUBSCRIBE SECTION
   ============================================================ */
.cta-section {
  background: var(--void);
  background-image: none;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}
/* Cosmic nebula backdrop — fully removed */
.cta-section::before { content: none; display: none; }

/* The centered card */
.subscribe-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 4rem;
  background: none;
  border: none;
}
.subscribe-inner::before { display: none; }

.subscribe-glyph {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0.5em;
  display: block;
  margin-bottom: 1rem;
}

.subscribe-inner .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.subscribe-inner .lead {
  margin: 0 auto 2rem;
  text-align: center;
  max-width: 500px;
}
.cta-disclaimer {
  font-size: 0.78rem;
  color: rgba(240,235,255,0.4);
  margin-top: 1.25rem;
  letter-spacing: 0.05em;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-glyph {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--gold);
  opacity: 0.7;
}
.cta-inner .section-title { margin-bottom: 1rem; }
.cta-inner .lead { margin-bottom: 0; }

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid rgba(92,79,126,0.4);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter-form:focus-within {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.95rem 1.5rem;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(240,235,255,0.4); }
.newsletter-form .btn {
  border-radius: 100px;
  margin: 4px;
  padding: 0.7rem 1.4rem;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.newsletter-form .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.newsletter-form--error input {
  color: rgba(255,140,140,0.9);
}
.newsletter-form__error {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,140,140,0.9);
  margin-top: 0.5rem;
  text-align: center;
}

/* Mobile: stack pill form */
@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: visible;
    background: none;
    border: none;
    gap: 0.75rem;
  }
  .newsletter-form input {
    border: 1px solid rgba(92,79,126,0.4);
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    padding: 0.9rem 1.5rem;
  }
  .newsletter-form .btn {
    border-radius: 100px;
    margin: 0;
    padding: 0.85rem 2rem;
    width: 100%;
    justify-content: center;
  }
}

/* ── Utility layout helpers ── */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Screen-reader only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--void);
  border-top: 1px solid rgba(92,79,126,0.2);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(240,235,255,0.55);
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(92,79,126,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(240,235,255,0.6);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  border-color: rgba(164,148,196,0.5);
  color: var(--pearl);
  background: rgba(92,79,126,0.2);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(240,235,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--lavender); }

.footer-bottom {
  border-top: 1px solid rgba(92,79,126,0.15);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(240,235,255,0.55);
}
.footer-bottom a {
  color: rgba(240,235,255,0.55);
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--lavender); }
/* Legal-links row: wrap instead of overflowing on narrow screens */
.footer-bottom > div {
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   INNER PAGE HEADER
   ============================================================ */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--cosmic);
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--gold);
}
.page-banner .eyebrow { justify-content: center; display: block; }
.page-banner h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

.about-photo {
  position: relative;
}
.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.about-photo-placeholder {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: #1a0040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid rgba(92,79,126,0.3);
}
.about-credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}
.credential-icon { font-size: 1.5rem; }
.credential-text { font-size: 0.85rem; color: rgba(240,235,255,0.75); }
.credential-text strong { color: var(--pearl); display: block; font-size: 0.9rem; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-hero {
  background: var(--cosmic);
  padding: 160px 0 80px;
  text-align: center;
}

.shop-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(92,79,126,0.3);
  background: transparent;
  color: rgba(240,235,255,0.65);
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(92,79,126,0.25);
  border-color: rgba(164,148,196,0.4);
  color: var(--pearl);
}

.shop-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
}

/* ============================================================
   PODCAST PAGE
   ============================================================ */
.podcast-featured {
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.3);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.podcast-featured-art {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  background: var(--grad-jewel);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.podcast-featured h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.podcast-featured p {
  color: rgba(240,235,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   BOOK PAGE
   ============================================================ */
.book-hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--void);
  position: relative;
  overflow: hidden;
}

.book-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.big-book-cover {
  width: 340px;
  max-width: 100%;
  height: 460px;
  border-radius: var(--radius-lg);
  background: #1a0040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  box-shadow: -30px 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(92,79,126,0.4);
  transform: perspective(1000px) rotateY(6deg) rotateX(2deg);
  border: 1px solid rgba(201,168,76,0.2);
}
.big-book-cover .book-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.big-book-cover h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--pearl);
  margin-bottom: 0.75rem;
}
.big-book-cover .author {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-accent);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1.5rem 0;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pearl);
  font-family: var(--font-heading);
}
.price-currency {
  font-size: 1.2rem;
  color: var(--lavender);
}

/* ============================================================
   IMAGE CAROUSEL (arrows + dots, hidden when only one image)
   ============================================================ */
.as-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}
/* Fixed aspect ratio: the card never changes height between slides */
.as-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.as-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.as-carousel-slide.is-active { opacity: 1; }
.as-carousel-slide img,
.as-carousel-slide .slide-ph,
.as-carousel-slide .service-img-placeholder {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.as-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  cursor: pointer;
  transition: background-color var(--transition);
}
.as-carousel-btn:hover,
.as-carousel-btn:focus-visible { background: rgba(0,0,0,0.7); }
.as-carousel-prev { left: 10px; }
.as-carousel-next { right: 10px; }
.as-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.as-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}
.as-carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}
.as-carousel--single .as-carousel-btn,
.as-carousel--single .as-carousel-dots { display: none; }

/* Compact controls inside the small service-row thumbnails */
.service-img .as-carousel-btn { width: 22px; height: 22px; font-size: 0.95rem; }
.service-img .as-carousel-prev { left: 4px; }
.service-img .as-carousel-next { right: 4px; }
.service-img .as-carousel-dots { bottom: 4px; gap: 4px; }
.service-img .as-carousel-dot { width: 5px; height: 5px; }

/* Jewel-tone placeholder slides (used until real photos are added) */
.slide-ph--a { background: linear-gradient(135deg, #1e1838 0%, #34285c 100%); }
.slide-ph--b { background: linear-gradient(135deg, #15112c 0%, #273a72 100%); }
.slide-ph--c { background: linear-gradient(135deg, #1a0040 0%, #5c4f7e 100%); }

/* ============================================================
   BOOKING CARD — two-column service/product layout
   (image carousel left, service info right)
   ============================================================ */
.booking-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.booking-card .service-image-wrapper {
  flex: 0 1 45%;
  min-width: min(280px, 100%);
  padding: 1rem;               /* invisible border around the image */
  border-radius: var(--radius-md);
}
.booking-card .service-image-wrapper .as-carousel {
  border-radius: var(--radius-md);
}
.booking-card .service-info {
  flex: 1 1 50%;
  min-width: min(300px, 100%);
  padding-left: 1rem;          /* invisible border on the text side */
  text-align: left;
}
.booking-card .service-info h1,
.booking-card .service-info h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.booking-card .service-info .lead {
  margin-bottom: 1.5rem;
}
.booking-card .booking-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .booking-card { gap: 1.5rem; }
  .booking-card .service-image-wrapper {
    flex-basis: 100%;
    width: 100%;
    max-width: min(420px, 100%);
    margin: 0 auto;            /* stacked: image centered above text */
    padding: 0;
  }
  .booking-card .service-info {
    flex-basis: 100%;
    padding-left: 0;
  }
}

/* ============================================================
   LEGAL PAGES (Disclaimer · Terms · Privacy)
   ============================================================ */
.legal-content {
  color: rgba(240,235,255,0.78);
  font-size: 16px;
  line-height: 1.8;
}
.legal-content h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--pearl);
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.75rem 0 1rem;
  color: var(--pearl);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1.25rem; }
.legal-content ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.legal-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.75em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.legal-content a { color: var(--gold-light); }
.legal-content .legal-updated {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.45);
  margin-bottom: 2.5rem;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: rgba(92,79,126,0.25);
}

/* ============================================================
   COSMIC ORBS (DECORATIVE)
   ============================================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-purple { background: var(--amethyst); }
.orb-blue   { background: var(--sapphire-mid); }
.orb-gold   { background: var(--gold); opacity: 0.15; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .service-row       { grid-template-columns: 88px 1fr auto; gap: 1.25rem 2rem; }
  .service-body      { grid-column: 2 / -1; margin-top: -0.25rem; }
  .shop-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .book-hero-grid    { grid-template-columns: 1fr; text-align: center; }
  .big-book-cover    { margin: 0 auto; }
  .about-bio-grid    { grid-template-columns: 1fr; }
}

/* Nav collapse breakpoint — hides links before they crowd */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger           { display: flex; }
}

@media (max-width: 768px) {
  .service-row         { grid-template-columns: 72px 1fr; gap: 0.75rem 1.25rem; align-items: start; }
  .service-body        { grid-column: 1 / -1; margin-top: 0; }
  .service-link        { grid-column: 2; }
  .intro-grid          { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-meta-row    { flex-direction: column; align-items: center; gap: 1.25rem; }
  .contact-row         { grid-template-columns: 1fr; }
  .book-grid           { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .shop-grid           { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .podcast-featured    { flex-direction: column; }
  .footer-bottom       { flex-direction: column; text-align: center; }
  .section-pad         { padding: 70px 0; }
  .subscribe-inner     { padding: 3.5rem 1.5rem; }
  .intro-stats         { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  /* Wrap button groups so they don't overflow */
  .hero-actions        { flex-wrap: wrap; justify-content: center; }
  .btn-group           { flex-wrap: wrap; justify-content: center; }

  /* Reduce body text size slightly */
  .lead                { font-size: 1rem; }

  /* Prevent hero text from overflowing */
  .hero-content        { padding: 0 1.25rem; }
  .hero-title          { word-break: break-word; }

  /* Section headers shouldn't overflow */
  .section-header      { padding: 0 0.5rem; }
}

/* Narrow screens — scale the wordmark down so the logo, hamburger,
   and padding always fit without pushing the header wider than the
   viewport (the wordmark is nowrap by design) */
@media (max-width: 540px) {
  .logo-icon,
  .site-logo .custom-logo { width: 38px; height: 38px; }
  .logo-main { font-size: 1.05rem; letter-spacing: 0.1em; }
  .logo-sub  { font-size: 0.52rem; letter-spacing: 0.25em; }
}

/* Small phones — stack the newsletter form and fix any remaining overflow */
@media (max-width: 480px) {
  .section-pad         { padding: 50px 0; }
  .contact-section,
  .cta-section         { padding-top: 50px; }

  /* Newsletter form stacks vertically */
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 0.5rem;
    gap: 0.5rem;
    max-width: 100%;
  }
  .newsletter-form input {
    padding: 0.85rem 1rem;
    text-align: center;
  }
  .newsletter-form .btn {
    margin: 0;
    width: 100%;
    border-radius: 10px;
    justify-content: center;
  }

  /* Stat numbers are too large at tiny widths */
  .intro-stat-num      { font-size: 1.8rem; }
  .intro-stat-label    { font-size: 0.6rem; }

  /* Podcast cards: image stacks above text */
  .podcast-card        { flex-direction: column; gap: 1rem; }
  .podcast-thumb       { width: 100%; max-width: 80px; }

  /* Service rows: single column */
  .service-row         { grid-template-columns: 1fr; }
  .service-img         { display: none; }
  .service-link        { grid-column: 1; }

  /* Buttons full-width on tiny screens */
  .hero-actions .btn,
  .btn-group .btn      { width: 100%; justify-content: center; max-width: 280px; }

  /* Book meta wraps */
  .book-meta           { flex-direction: column; gap: 0.75rem; }

  /* Footer nav columns stack */
  .footer-nav-cols     { flex-direction: column; gap: 1.5rem; }

  /* Testimonial cards: reduce padding */
  .testimonial-card    { padding: 1.5rem; }

  /* Contact details: smaller text */
  .contact-detail      { font-size: 0.82rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.animate-fade-up.delay-1 { animation-delay: 0.15s; }
.animate-fade-up.delay-2 { animation-delay: 0.3s; }
.animate-fade-up.delay-3 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up {
    opacity: 1;
    animation: none;
  }
  [data-reveal] { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   WORDPRESS CORE ALIGNMENT (keep WP happy)
   ============================================================ */
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin-right: 1.5rem; }
.alignright  { float: right; margin-left: 1.5rem; }
.wp-caption  { max-width: 100%; }

/* ============================================================
   HEADER CART LINK
   ============================================================ */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--pearl);
  border: 1px solid rgba(201,168,76,0.25);
  transition: color var(--duration-fast, 150ms) ease, border-color var(--duration-fast, 150ms) ease;
  flex-shrink: 0;
}
.nav-cart:hover,
.nav-cart:focus-visible {
  color: var(--gold-light, #C9A84C);
  border-color: rgba(201,168,76,0.6);
}
.nav-cart-count {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #C8922A;
  color: #080710;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  font-family: var(--font-body);
}
.nav-cart-count.is-empty { display: none; }

/* ============================================================
   WOOCOMMERCE CART & CHECKOUT — cosmic dark treatment
   ============================================================ */
/* Tables: cart items, cart totals, checkout order review */
.woocommerce table.shop_table {
  background: var(--grad-card, linear-gradient(160deg, #0d0b1e 0%, #15112c 100%));
  border: 1px solid rgba(107,33,168,0.25);
  border-radius: var(--radius-lg);
  border-collapse: separate;
  border-spacing: 0;
  color: var(--pearl);
  overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(107,33,168,0.18);
  color: var(--pearl);
  padding: 1rem;
}
.woocommerce table.shop_table th {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(240,235,255,0.65);
}
.woocommerce table.shop_table a { color: var(--pearl); }
.woocommerce table.shop_table a:hover { color: var(--gold-light, #C9A84C); }
.woocommerce table.shop_table .product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.woocommerce table.shop_table .amount { color: rgba(201,168,76,0.9); font-weight: 700; }

/* Remove (×) control */
.woocommerce a.remove {
  color: rgba(240,235,255,0.5) !important;
  transition: color 150ms ease, background 150ms ease;
}
.woocommerce a.remove:hover {
  color: #fff !important;
  background: #C0392B;
}

/* Quantity input */
.woocommerce .quantity .qty {
  background: var(--deep-space);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  color: var(--pearl);
  padding: 0.45rem 0.4rem;
  width: 4.2em;
}
.woocommerce .quantity .qty:focus-visible {
  border-color: rgba(201,168,76,0.6);
  outline: none;
}

/* Coupon + generic text inputs on cart/checkout */
.woocommerce-cart .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--deep-space);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  color: var(--pearl);
  padding: 0.65rem 0.85rem;
}
.woocommerce form .form-row input.input-text:focus-visible,
.woocommerce form .form-row textarea:focus-visible,
.woocommerce form .form-row select:focus-visible,
.woocommerce-cart .coupon .input-text:focus-visible {
  border-color: rgba(201,168,76,0.6);
  outline: none;
}
.woocommerce form .form-row label { color: rgba(240,235,255,0.75); }
.woocommerce form .form-row .required { color: #C0392B; }

/* Buttons: gold primary treatment across cart/checkout */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
  background: linear-gradient(135deg, #C9A84C 0%, #C8922A 100%);
  color: #080710;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.6rem;
  transition: filter 150ms ease, transform 150ms ease;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover {
  background: linear-gradient(135deg, #C9A84C 0%, #C8922A 100%);
  color: #080710;
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
  background: rgba(201,168,76,0.35);
  color: rgba(8,7,16,0.7);
}
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  padding: 1.05rem 1.6rem;
}

/* Cart totals + checkout panels */
.woocommerce .cart_totals h2,
.woocommerce-checkout h3 {
  color: var(--pearl);
  font-family: var(--font-display, inherit);
}
.woocommerce-checkout #payment {
  background: var(--grad-card, #0d0b1e);
  border: 1px solid rgba(107,33,168,0.25);
  border-radius: var(--radius-lg);
  color: var(--pearl);
}
.woocommerce-checkout #payment div.payment_box {
  background: rgba(92,79,126,0.18);
  color: rgba(240,235,255,0.8);
}
.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgba(92,79,126,0.18);
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(107,33,168,0.2);
}

/* Notices (added-to-cart, errors, info) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--grad-card, #0d0b1e);
  border-top-color: #C8922A;
  color: var(--pearl);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.woocommerce-message::before,
.woocommerce-info::before { color: #C8922A; }
.woocommerce-error { border-top-color: #C0392B; }
.woocommerce-error::before { color: #C0392B; }

/* Empty cart state */
.cart-empty.woocommerce-info { text-align: center; }
.woocommerce .return-to-shop { text-align: center; }

/* Block-based cart/checkout (if the Cart page uses blocks) */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { color: var(--pearl); }
.wc-block-components-button:not(.is-link) {
  background: linear-gradient(135deg, #C9A84C 0%, #C8922A 100%);
  color: #080710;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wc-block-components-button:not(.is-link):hover {
  filter: brightness(1.1);
  color: #080710;
}
.wc-block-components-quantity-selector,
.wc-block-components-text-input input {
  background: var(--deep-space);
  border-color: rgba(201,168,76,0.3);
  color: var(--pearl);
}
