/*
Theme Name: Unique Song
Theme URI: https://uniquesong.com
Author: Unique Song
Author URI: https://uniquesong.com
Description: Unique Song — a WordPress theme for ordering unique personalised songs written by real musicians. Features a multi-step unique song order form, occasion-based packages, and a warm, music-inspired design.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unique-song
Tags: music, custom, booking, business, responsive, full-width-template, custom-colors, custom-menu, featured-images, footer-widgets, theme-options

*/

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

:root {
  --color-primary: #7c3aed;
  --color-primary-dark: #5b21b6;
  --color-primary-light: #a78bfa;
  --color-accent: #ec4899;
  --color-accent-light: #f9a8d4;
  --color-bg: #faf9f7;
  --color-bg-alt: #f3f0ff;
  --color-surface: #ffffff;
  --color-text: #1e1b4b;
  --color-text-muted: #4b5563;
  --color-border: #e5e7eb;
  --color-success: #10b981;
  --color-error: #ef4444;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(124,58,237,.12), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(124,58,237,.18), 0 4px 12px rgba(0,0,0,.08);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }
.container--wide { max-width: 1400px; }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: #f97316;
  color: #fff;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.btn--primary:hover {
  background: #ea6c0a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249,115,22,.4);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(236,72,153,.35);
}
.btn--accent:hover {
  background: #db2777;
  color: #fff;
  transform: translateY(-2px);
}

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

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.btn--lg { padding: 18px 40px; font-size: 1.1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }

/* ===================================================
   HEADER / NAV
=================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.site-logo .logo-icon:not(.logo-icon--img) {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

/* Explicit overrides so the gradient never bleeds onto an image icon */
.site-logo .logo-icon.logo-icon--img,
.logo-icon--img {
  background: none !important;
  object-fit: cover;
  display: block;
}

.site-logo:hover { color: var(--color-primary); }

.main-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-navigation ul li a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Dark mode toggle inside nav — desktop: compact icon button */
.dark-mode-toggle--nav {
  width: 38px;
  height: 38px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all var(--transition);
  flex-shrink: 0;
  margin-left: 4px;
}

.dark-mode-toggle--nav .dm-label {
  display: none; /* hidden on desktop, shown in mobile menu */
}

.dark-mode-toggle--nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: rotate(20deg) scale(1.1);
}

[data-theme="dark"] .dark-mode-toggle--nav {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Shrink the CTA button text on small screens */
@media (max-width: 480px) {
  .header-cta .btn--sm {
    padding: 8px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
  flex-shrink: 0;
}

.menu-toggle svg { width: 24px; height: 24px; }

/* ===================================================
   HERO SECTION
=================================================== */
.hero {
  padding: 100px 0 120px;
  background: linear-gradient(135deg, #faf9f7 0%, #fdf4ff 55%, #fdf2f8 100%);
  position: relative;
  overflow: hidden;
}

/* Soft warm glow on light background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 85% at 78% 45%, rgba(236,72,153,.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Purple glow accent – softened for light background */
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124,58,237,.10) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,.10);
  color: #5b21b6;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(124,58,237,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__title {
  margin-bottom: 20px;
  color: #1e1b4b;
  -webkit-text-fill-color: #1e1b4b;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: #4b5563;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.9rem;
  color: #4b5563;
}

.hero__trust > * { white-space: nowrap; }
.hero__trust .stars { color: #f59e0b; letter-spacing: 2px; }
.hero__trust strong { color: #1e1b4b; }

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card-stack {
  position: relative;
  width: 340px;
  height: 380px;
}

.song-card {
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  width: 280px;
}

.song-card--main {
  top: 40px;
  left: 30px;
  z-index: 3;
}

.song-card--back {
  top: 0;
  left: 60px;
  z-index: 1;
  opacity: 0.7;
  transform: rotate(6deg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.song-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.song-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 12px;
}

.song-card__waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  margin-bottom: 16px;
}

.song-card__waveform span {
  flex: 1;
  background: linear-gradient(to top, var(--color-primary-light), var(--color-primary));
  border-radius: 3px;
  animation: waveform 1.2s ease-in-out infinite alternate;
}

.song-card__waveform span:nth-child(2) { animation-delay: .1s; }
.song-card__waveform span:nth-child(3) { animation-delay: .2s; }
.song-card__waveform span:nth-child(4) { animation-delay: .3s; }
.song-card__waveform span:nth-child(5) { animation-delay: .4s; }
.song-card__waveform span:nth-child(6) { animation-delay: .5s; }
.song-card__waveform span:nth-child(7) { animation-delay: .6s; }
.song-card__waveform span:nth-child(8) { animation-delay: .7s; }
.song-card__waveform span:nth-child(9) { animation-delay: .8s; }
.song-card__waveform span:nth-child(10) { animation-delay: .9s; }

@keyframes waveform {
  from { height: 20%; }
  to { height: 100%; }
}

.song-card__play {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.play-btn {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

/* ===================================================
   OCCASIONS / HOW IT WORKS
=================================================== */
.section {
  padding: 80px 0;
  content-visibility: auto;
  contain-intrinsic-block-size: 500px;
}

.section--alt { background: var(--color-bg-alt); }

.us-seo-copy p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.us-seo-copy p:last-child { margin-bottom: 0; }
.us-seo-copy a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.section--dark {
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-dark) 100%);
  color: white;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: white; }
.section--dark p { color: rgba(255,255,255,.8); }

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section--dark .section__eyebrow { color: var(--color-accent-light); }

.section__title { margin-bottom: 16px; }
.section__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.section--dark .section__desc { color: rgba(255,255,255,.7); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.step-card__number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* Occasions */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.occasion-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--color-text);
  display: block;
}

.occasion-card:hover,
.occasion-card.active {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
  color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.occasion-card__emoji { font-size: 2rem; display: block; margin-bottom: 10px; }
.occasion-card__label { font-size: 0.9rem; font-weight: 600; }

/* ===================================================
   PRICING
=================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  background: linear-gradient(160deg, #faf5ff 0%, #fdf2f8 100%);
  box-shadow: var(--shadow-md);
  transform: scale(1.04);
}

.pricing-card--featured:hover { transform: scale(1.04) translateY(-6px); }

.pricing-card__badge {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.pricing-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card__price {
  margin-bottom: 8px;
}

.pricing-card__price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.pricing-card__price .currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--color-text);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__features li.unavailable { color: var(--color-text-muted); }
.pricing-card__features li.unavailable::before { content: '–'; color: var(--color-text-muted); }

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-card__occasion {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ===================================================
   FAQ
=================================================== */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-surface);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--color-bg-alt); }

.faq-question.active {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform var(--transition);
  color: var(--color-primary);
}

.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.97rem;
}

.faq-answer.open { display: block; }

/* ===================================================
   CTA BANNER
=================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-block-size: 400px;
}

.cta-banner::before {
  content: '♪';
  position: absolute;
  font-size: 200px;
  color: rgba(255,255,255,.06);
  top: -40px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
}

.cta-banner::after {
  content: '♫';
  position: absolute;
  font-size: 200px;
  color: rgba(255,255,255,.06);
  bottom: -40px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================================================
   FOOTER
=================================================== */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-logo {
  color: white;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: white; }

/* ===================================================
   CREATE SONG PAGE / MULTI-STEP FORM
=================================================== */
.create-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #faf9f7 0%, #f3f0ff 100%);
  padding: 48px 0 80px;
}

.create-page__header {
  text-align: center;
  margin-bottom: 48px;
}

.create-page__header h1 { margin-bottom: 12px; }
.create-page__header p { color: var(--color-text-muted); font-size: 1.05rem; }

/* Progress Bar */
.progress-bar {
  display: flex;
  align-items: flex-start;
  margin: 0 0 36px;
  padding: 0;
}

.progress-step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Connector line between dots */
.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(50% + 17px);
  width: calc(100% - 34px);
  height: 2px;
  background: var(--color-border);
  z-index: 0;
  transition: background var(--transition);
}

.progress-step.completed:not(:last-child)::after {
  background: var(--color-primary);
}

.progress-step__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
  flex-shrink: 0;
}

/* Completed: filled purple, show ✓ */
.progress-step.completed .progress-step__dot {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  font-size: 0;
}
.progress-step.completed .progress-step__dot::after {
  content: '✓';
  font-size: 0.8rem;
  font-weight: 800;
}

/* Active: white with purple ring + glow */
.progress-step.active .progress-step__dot {
  border-color: var(--color-primary);
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124,58,237,.15);
}

.progress-step__label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 2px;
  transition: color var(--transition);
}

.progress-step.active .progress-step__label,
.progress-step.completed .progress-step__label {
  color: var(--color-primary);
}

/* Form Container */
.song-form-container {
  max-width: 760px;
  margin: 0 auto;
}

.form-step {
  display: none;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  animation: fadeInUp .3s ease;
}

.form-step.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step__title {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}

.form-step__desc {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

/* Genre / Style Selector Grid */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.style-option {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-bg);
  user-select: none;
}

.style-option:hover {
  border-color: var(--color-primary-light);
  background: var(--color-bg-alt);
}

.style-option.selected {
  border-color: var(--color-primary);
  background: rgba(124,58,237,.08);
  color: var(--color-primary);
}

.style-option__icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.style-option__label { font-size: 0.85rem; font-weight: 600; }

/* Voice / Language / Mood selectors */
.select-group { margin-bottom: 24px; }

.select-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.select-group label .icon { color: var(--color-primary); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-surface);
  color: var(--color-text);
  user-select: none;
}

.chip:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.chip.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
}

/* Form Fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row--full { grid-template-columns: 1fr; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-field label .required { color: var(--color-accent); margin-left: 3px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
  background: white;
}

.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.form-field .hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.form-field .char-count {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: right;
}

/* Occasion Picker in form */
.occasion-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.occasion-option {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-bg);
  user-select: none;
}

.occasion-option:hover { border-color: var(--color-primary-light); background: var(--color-bg-alt); }
.occasion-option.selected { border-color: var(--color-primary); background: rgba(124,58,237,.08); }
.occasion-option__emoji { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.occasion-option__label { font-size: 0.8rem; font-weight: 600; color: var(--color-text); }
.occasion-option.selected .occasion-option__label { color: var(--color-primary); }

/* Mood Selector */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.mood-option {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-bg);
}

.mood-option:hover { border-color: var(--color-primary-light); background: var(--color-bg-alt); }
.mood-option.selected { border-color: var(--color-primary); background: rgba(124,58,237,.08); }
.mood-option__emoji { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.mood-option__label { font-size: 0.85rem; font-weight: 600; }

/* Form navigation */
.form-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

/* Back button — fixed width, left */
.form-nav > [data-prev],
.form-nav > .btn[data-prev] {
  flex: 0 0 auto;
}

/* Next / Submit button — grows to fill remaining row space */
.form-nav > [data-next],
.form-nav > [type="submit"],
.form-nav > #submit-order {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}

/* Step info — always on its own line below the buttons */
.form-nav .step-info {
  flex: 0 0 100%;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1.4;
}

@media (max-width: 440px) {
  .form-nav {
    gap: 8px;
  }
  .form-nav > [data-next],
  .form-nav > [type="submit"],
  .form-nav > #submit-order {
    font-size: 0.9rem;
    padding: 14px 16px;
  }
}

/* Delivery / Add-ons */
.addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.addon-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-bg);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.addon-card:hover { border-color: var(--color-primary-light); background: var(--color-bg-alt); }
.addon-card.selected { border-color: var(--color-primary); background: rgba(124,58,237,.06); }

.addon-card__check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.addon-card.selected .addon-card__check {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.addon-card__body h4 { font-size: 0.9rem; margin-bottom: 4px; }
.addon-card__body p { font-size: 0.8rem; color: var(--color-text-muted); margin: 0; }
.addon-card__price { font-weight: 700; color: var(--color-primary); font-size: 0.9rem; }

/* Order Summary */
.order-summary {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
}

.order-summary h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.order-summary__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.order-summary__line .label { color: var(--color-text-muted); }
.order-summary__line .value { font-weight: 600; }

.order-summary__section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-border);
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 2px solid var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.order-summary__total .amount { color: var(--color-primary); font-size: 1.5rem; }

/* Success Step */
.success-step {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-success), #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(16,185,129,.3);
}

.success-step h2 { margin-bottom: 12px; }
.success-step p { color: var(--color-text-muted); max-width: 440px; margin: 0 auto 28px; }

/* ===================================================
   PAGE HERO (Inner pages)
=================================================== */
.page-hero {
  background: linear-gradient(160deg, var(--color-bg-alt) 0%, #fdf2f8 100%);
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-hero__eyebrow {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--color-text-muted); font-size: 1.1rem; max-width: 540px; margin: 0 auto; }

/* Dark hero variants — declared after .page-hero so they reliably override the light background */
.reviews-hero,
.samples-hero {
  background: linear-gradient(135deg, #1a0533 0%, #2d0a4e 60%, #4a1070 100%);
  padding: 80px 0 60px;
  border-bottom: none;
}
.reviews-hero h1,
.samples-hero h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.reviews-hero p,
.samples-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 28px;
}
.reviews-hero .page-hero__eyebrow,
.samples-hero .page-hero__eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

/* ===================================================
   BLOG / POSTS
=================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.post-card__thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-primary-light));
  overflow: hidden;
}

.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-card__body { padding: 24px; }

.post-card__meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.post-card__cat {
  background: rgba(124,58,237,.1);
  color: var(--color-primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.post-card__title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-card__title a { color: var(--color-text); }
.post-card__title a:hover { color: var(--color-primary); }

.post-card__excerpt { font-size: 0.9rem; color: var(--color-text-muted); }

/* ===================================================
   CONTACT PAGE
=================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 28px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: rgba(124,58,237,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail__label { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 3px; }
.contact-detail__value { font-weight: 600; }

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* ===================================================
   WOOCOMMERCE BASE STYLES
=================================================== */
.woocommerce-page .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product a img {
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: transform var(--transition);
}

.woocommerce ul.products li.product:hover a img { transform: scale(1.03); }

.woocommerce ul.products li.product .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.woocommerce ul.products li.product .button {
  display: inline-block;
  padding: 10px 22px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ===================================================
   WIDGETS / SIDEBAR
=================================================== */
.widget {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary-light);
  color: var(--color-text);
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { gap: 40px; }
  .hero__card-stack { width: 280px; height: 320px; }
  .song-card { width: 240px; }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .site-logo { font-size: 1.15rem; }
  .site-logo .logo-icon { width: 34px; height: 34px; font-size: 1rem; }
  .main-navigation { display: none; }
  .main-navigation.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--color-border);
    z-index: 99;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .main-navigation.open ul { flex-direction: column; width: 100%; gap: 4px; }
  .main-navigation.open ul li { width: 100%; }
  .main-navigation.open ul li a { display: block; padding: 12px 16px; }
  /* Dark mode toggle in mobile menu — full-width row with label */
  .main-navigation.open .dark-mode-toggle--nav {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 12px 16px;
    justify-content: flex-start;
    gap: 10px;
    margin-left: 0;
    margin-top: 4px;
    font-size: 1rem;
  }
  .main-navigation.open .dark-mode-toggle--nav .dm-label {
    display: inline;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
  }
  .main-navigation.open .dark-mode-toggle--nav:hover {
    transform: none;
  }
  /* Hide dark mode toggle when menu is closed on mobile */
  .main-navigation:not(.open) .dark-mode-toggle--nav { display: none; }
  .menu-toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-step { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-6px); }
  .progress-step__label { font-size: 0.6rem; letter-spacing: 0; }
}

@media (max-width: 480px) {
  .btn--lg { padding: 14px 28px; font-size: 1rem; }
  .section { padding: 56px 0; }
  .style-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .occasions-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* ===================================================
   UTILITIES
=================================================== */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.w-full { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===================================================
   WORDPRESS CORE CLASSES
=================================================== */
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: 6px; }
.sticky { /* WP sticky post */ }
.screen-reader-text { @extend .sr-only; }

/* Entry content typography */
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2rem; margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

/* Comment form */
#respond { margin-top: 40px; }
#respond h3 { margin-bottom: 20px; }
#commentform input, #commentform textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--transition);
}
#commentform input:focus, #commentform textarea:focus {
  border-color: var(--color-primary);
}
#commentform input[type="submit"] {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 32px;
  width: auto;
}
#commentform input[type="submit"]:hover { background: var(--color-primary-dark); }

/* ===================================================
   DARK MODE — SMART COLOUR SYSTEM
=================================================== */

/* 1. CSS variable overrides */
[data-theme="dark"] {
  --color-bg:           #0f0e17;
  --color-bg-alt:       #17152a;
  --color-surface:      #1e1c30;
  --color-text:         #edeaff;
  --color-text-muted:   #9590b8;
  --color-border:       #2e2b4a;
  --color-primary:      #b39dfc;
  --color-primary-dark: #7c3aed;
  --color-primary-light:#d0c4fe;
  --color-accent:       #f472b6;
  --color-accent-light: #fbcfe8;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.35);
  --shadow-md:  0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.6);
}

/* 2. Base body background & text */
[data-theme="dark"] body {
  background: var(--color-bg);
  color: var(--color-text);
}

/* 3. HEADER */
[data-theme="dark"] .site-header {
  background: rgba(15,14,23,.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
[data-theme="dark"] .site-logo { color: var(--color-text); }
[data-theme="dark"] .main-navigation ul li a { color: var(--color-text-muted); }
[data-theme="dark"] .main-navigation ul li a:hover,
[data-theme="dark"] .main-navigation ul li.current-menu-item a {
  background: var(--color-surface);
  color: var(--color-primary);
}
[data-theme="dark"] .main-navigation.open {
  background: #13111f;
  border-bottom: 1px solid var(--color-border);
}

/* 4. HERO — image bg applies to both modes; dark mode keeps the image */
[data-theme="dark"] .hero {
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
}
[data-theme="dark"] .hero::before {
  background: linear-gradient(
    135deg,
    rgba(6, 4, 14, 0.88) 0%,
    rgba(20, 10, 45, 0.80) 50%,
    rgba(6, 3, 16, 0.86) 100%
  );
}
[data-theme="dark"] .hero__badge {
  background: rgba(167,139,250,.18);
  border-color: rgba(167,139,250,.35);
  color: #d0c4fe;
}
[data-theme="dark"] .hero__title { color: #ffffff; -webkit-text-fill-color: unset; background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 50%, #f9a8d4 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
[data-theme="dark"] .hero__subtitle { color: rgba(237,234,255,.78); }
[data-theme="dark"] .hero__trust { color: rgba(237,234,255,.65); }
[data-theme="dark"] .song-card--main {
  background: linear-gradient(135deg, #2a2044, #1e1632);
  border-color: rgba(167,139,250,.25);
}
[data-theme="dark"] .song-card--back {
  background: linear-gradient(135deg, #5b21b6, #9d174d);
}

/* 5. SECTIONS — light/alt alternation */
[data-theme="dark"] .section {
  background: var(--color-bg);
}
[data-theme="dark"] .section--alt,
[data-theme="dark"] .why-section {
  background: var(--color-bg-alt);
}
[data-theme="dark"] .section__eyebrow {
  background: rgba(167,139,250,.15);
  color: var(--color-primary);
  border-color: rgba(167,139,250,.25);
}
[data-theme="dark"] .section__title  { color: #ffffff; }
[data-theme="dark"] .section__desc   { color: var(--color-text-muted); }

/* 6. CARDS — step, testimonial, pricing, post, why */
[data-theme="dark"] .step-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .step-card h3 { color: #fff; }
[data-theme="dark"] .step-card p  { color: var(--color-text-muted); }

[data-theme="dark"] .testimonial-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .testimonial-card__text   { color: var(--color-text); }
[data-theme="dark"] .testimonial-card__name   { color: #fff; }
[data-theme="dark"] .testimonial-card__occasion { color: var(--color-text-muted); }
[data-theme="dark"] .testimonial-card__avatar {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
  color: #fff;
}

[data-theme="dark"] .pricing-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .pricing-card--featured {
  background: linear-gradient(160deg, #231b40 0%, #2a1535 100%);
  border-color: rgba(167,139,250,.4);
}
[data-theme="dark"] .pricing-card__name   { color: #fff; }
[data-theme="dark"] .pricing-card__desc   { color: var(--color-text-muted); }
[data-theme="dark"] .pricing-card__features li { color: var(--color-text); }
[data-theme="dark"] .pricing-card__features li.unavailable { color: var(--color-text-muted); opacity: .45; }

[data-theme="dark"] .post-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .post-card__title a { color: #fff; }
[data-theme="dark"] .post-card__title a:hover { color: var(--color-primary); }
[data-theme="dark"] .post-card__excerpt { color: var(--color-text-muted); }
[data-theme="dark"] .post-card__meta   { color: var(--color-text-muted); }
[data-theme="dark"] .post-card__cat {
  background: rgba(167,139,250,.2);
  color: var(--color-primary);
}
[data-theme="dark"] .post-card__thumb {
  background: #1a1535;
}

/* 7. WHY CARDS */
[data-theme="dark"] .why-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .why-card:hover {
  border-color: rgba(167,139,250,.4);
  box-shadow: 0 4px 24px rgba(124,58,237,.2);
}
[data-theme="dark"] .why-card__body h3 { color: #fff; }
[data-theme="dark"] .why-card__body p  { color: var(--color-text-muted); }
[data-theme="dark"] .why-card__icon    { filter: brightness(0.9) saturate(1.1); }
[data-theme="dark"] .why-intro { color: var(--color-text-muted); }

/* 8. OCCASION CARDS */
[data-theme="dark"] .occasion-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}
[data-theme="dark"] .occasion-card:hover {
  background: rgba(167,139,250,.15);
  border-color: rgba(167,139,250,.4);
  color: var(--color-primary);
}

/* 9. FAQ */
[data-theme="dark"] .faq-item {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .faq-question {
  color: #fff;
  background: var(--color-surface);
}
[data-theme="dark"] .faq-question:hover,
[data-theme="dark"] .faq-question.active {
  background: rgba(167,139,250,.1);
  color: var(--color-primary);
}
[data-theme="dark"] .faq-answer { color: var(--color-text-muted); }

/* 10. FORMS */
[data-theme="dark"] .form-step {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .form-field label { color: var(--color-text); }
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field select,
[data-theme="dark"] .form-field textarea,
[data-theme="dark"] #commentform input,
[data-theme="dark"] #commentform textarea {
  background: #13111f;
  border-color: var(--color-border);
  color: var(--color-text);
}
[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field select:focus,
[data-theme="dark"] .form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(167,139,250,.15);
}
[data-theme="dark"] .style-option,
[data-theme="dark"] .mood-option,
[data-theme="dark"] .occasion-option,
[data-theme="dark"] .addon-card,
[data-theme="dark"] .chip {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}
[data-theme="dark"] .order-summary {
  background: #13111f;
  border-color: var(--color-border);
}
[data-theme="dark"] .order-summary h3 { color: #fff; }

/* 11. AUDIO PLAYER */
[data-theme="dark"] .samples-list { border-color: var(--color-border); }
[data-theme="dark"] .sample-track {
  background: var(--color-surface);
  border-bottom-color: var(--color-border);
}
[data-theme="dark"] .sample-track:hover { background: rgba(167,139,250,.07); }
[data-theme="dark"] .sample-track.playing {
  background: rgba(167,139,250,.12);
  border-left-color: var(--color-primary);
}
[data-theme="dark"] .sample-track__title { color: #fff; }
[data-theme="dark"] .track-progress-bar  { background: var(--color-border); }

/* 12. VIDEO SECTION */
[data-theme="dark"] .video-section { background: var(--color-bg); }
[data-theme="dark"] .video-placeholder {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="dark"] .video-placeholder p { color: var(--color-text-muted); }

/* 13. CTA BANNER — stays vivid in both modes (gradient is fine) */
[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #5b21b6 0%, #9d174d 100%);
}

/* 14. FOOTER — THE KEY FIX */
/* In light mode footer bg = var(--color-text) = dark navy. 
   In dark mode we must NOT use --color-text (which becomes near-white).
   Instead force a very dark, rich deep-purple tone. */
[data-theme="dark"] .site-footer {
  background: #0b0a14;
  color: rgba(237,234,255,.65);
  border-top: 1px solid var(--color-border);
}
[data-theme="dark"] .footer-brand .site-logo { color: #ffffff; }
[data-theme="dark"] .footer-brand p          { color: rgba(237,234,255,.55); }
[data-theme="dark"] .footer-col h4           { color: #ffffff; }
[data-theme="dark"] .footer-col ul li a      { color: rgba(237,234,255,.5); }
[data-theme="dark"] .footer-col ul li a:hover { color: #ffffff; }
[data-theme="dark"] .footer-social a {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}
[data-theme="dark"] .footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
}
[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255,255,255,.08);
  color: rgba(237,234,255,.4);
}
[data-theme="dark"] .footer-bottom a        { color: rgba(237,234,255,.45); }
[data-theme="dark"] .footer-bottom a:hover  { color: #ffffff; }

/* 15. PAGE TEMPLATES */
[data-theme="dark"] .page-hero {
  background: linear-gradient(160deg, #17152a 0%, #1d1131 100%);
}
[data-theme="dark"] .page-hero h1  { color: #fff; }
[data-theme="dark"] .page-hero p   { color: var(--color-text-muted); }

[data-theme="dark"] .create-page {
  background: linear-gradient(160deg, #0f0e17 0%, #17152a 100%);
}

[data-theme="dark"] .contact-form {
  background: var(--color-surface);
  border-color: var(--color-border);
}

/* 16. SIDEBAR / WIDGETS */
[data-theme="dark"] .widget {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}
[data-theme="dark"] .widget-title { color: #fff; }

/* 17. PURCHASE POPUPS */
[data-theme="dark"] .purchase-popup {
  background: #1e1c30;
  border-color: var(--color-border);
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
[data-theme="dark"] .purchase-popup__name   { color: #fff; }
[data-theme="dark"] .purchase-popup__detail { color: rgba(237,234,255,.65); }
[data-theme="dark"] .purchase-popup__detail strong { color: var(--color-primary); }
[data-theme="dark"] .purchase-popup__time   { color: rgba(237,234,255,.4); }
[data-theme="dark"] .purchase-popup__close  { color: rgba(237,234,255,.4); }
[data-theme="dark"] .purchase-popup__close:hover { color: #fff; }

/* 18. BUTTONS — ensure visibility in dark mode */
[data-theme="dark"] .btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
[data-theme="dark"] .btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}
[data-theme="dark"] .btn--ghost {
  color: rgba(237,234,255,.75);
  border-color: rgba(237,234,255,.2);
}
[data-theme="dark"] .btn--ghost:hover {
  background: rgba(237,234,255,.1);
  color: #fff;
}

/* 19. MISC ELEMENTS */
[data-theme="dark"] .hero__trust .stars { color: #f59e0b; }
[data-theme="dark"] .testimonials-stars { color: #f59e0b; }
[data-theme="dark"] .testimonial-card__stars { color: #f59e0b; }
[data-theme="dark"] .pricing-card .currency { color: var(--color-primary); }
[data-theme="dark"] .pricing-card .amount   { color: #fff; }
[data-theme="dark"] .step-card__number {
  background: rgba(167,139,250,.15);
  color: var(--color-primary);
  border-color: rgba(167,139,250,.25);
}
[data-theme="dark"] .step-card__icon { filter: drop-shadow(0 0 8px rgba(167,139,250,.2)); }

[data-theme="dark"] .video-stat__label { color: var(--color-text-muted); }
[data-theme="dark"] .testimonials-rating { color: var(--color-text-muted); }
[data-theme="dark"] .testimonials-hint   { color: rgba(237,234,255,.35); }

[data-theme="dark"] .faq-icon { color: var(--color-primary); }

/* 20. SMOOTH TRANSITIONS on theme switch */
*,
body,
.site-header,
.site-footer,
.hero,
.section,
.section--alt,
.step-card,
.pricing-card,
.testimonial-card,
.occasion-card,
.why-card,
.faq-item,
.post-card,
.sample-track,
.form-step,
.purchase-popup {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* ===================================================
   DARK MODE TOGGLE BUTTON
=================================================== */
.dark-mode-toggle {
  width: 40px;
  height: 40px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: rotate(20deg) scale(1.1);
}

[data-theme="dark"] .dark-mode-toggle {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

/* ===================================================
   HEADER SCROLLED STATE
=================================================== */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

/* ===================================================
   VIDEO SECTION
=================================================== */
.video-section { background: var(--color-bg); }

.video-wrapper {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.18), 0 4px 16px rgba(124,58,237,.12);
  position: relative;
  background: #000;
  /* Reserve 16:9 space before media loads to prevent layout shift */
  aspect-ratio: 16 / 9;
}

/* ---- Facade (click-to-load) ---- */
.gss-video-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline-offset: 3px;
}

.gss-video-facade__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .5s ease;
}

.gss-video-facade__thumb--gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%);
}

.gss-video-facade:hover .gss-video-facade__thumb,
.gss-video-facade:focus-visible .gss-video-facade__thumb {
  transform: scale(1.03);
  filter: brightness(.85);
}

.gss-video-facade__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.1) 0%,
    rgba(0,0,0,.25) 50%,
    rgba(0,0,0,.55) 100%
  );
  pointer-events: none;
}

/* Platform badge (YouTube / Vimeo) */
.gss-video-facade__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.gss-video-facade__badge svg { height: 20px; width: auto; }

/* Title bar at the bottom */
.gss-video-facade__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  font-size: clamp(.85rem, 2vw, 1.05rem);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  letter-spacing: .01em;
}

/* ---- Play button ---- */
.gss-play-btn {
  position: relative;
  width: clamp(60px, 10vw, 84px);
  height: clamp(60px, 10vw, 84px);
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  z-index: 1;
  flex-shrink: 0;
}

.gss-play-btn svg {
  width: 36%;
  height: 36%;
  color: var(--color-primary);
  margin-left: 6%;   /* optical centre for play triangle */
  transition: color .2s ease;
}

.gss-video-facade:hover .gss-play-btn,
.gss-video-facade:focus-visible .gss-play-btn {
  transform: scale(1.1);
  background: #fff;
  box-shadow: 0 12px 40px rgba(124,58,237,.45);
}

.gss-video-facade:hover .gss-play-btn svg,
.gss-video-facade:focus-visible .gss-play-btn svg {
  color: #6d28d9;
}

/* Pulsing ring animation */
.gss-play-btn__ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  animation: gss-ring-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes gss-ring-pulse {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.35); opacity: 0;  }
  100% { transform: scale(1.35); opacity: 0;  }
}

/* Pause pulsing when reduced-motion is requested */
@media (prefers-reduced-motion: reduce) {
  .gss-play-btn__ring { animation: none; }
  .gss-video-facade__thumb { transition: none; }
}

/* ---- Active state: iframe fills the wrapper ---- */
.gss-video-facade.is-playing,
.gss-video-native.is-playing {
  pointer-events: none;
  opacity: 0;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

/* ---- Self-hosted native video ---- */
.gss-video-native {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gss-video-native__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.gss-video-native__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.5));
  transition: opacity .25s ease;
  z-index: 2;
  cursor: pointer;
}

.gss-video-native__overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.gss-play-btn--native { pointer-events: all; }

/* ---- Empty placeholder (no video configured) ---- */
.video-placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.video-placeholder__inner { padding: 32px; }

.video-placeholder__icon {
  width: 64px;
  height: 64px;
  background: rgba(124,58,237,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.video-placeholder p {
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* ---- Stats row below the video ---- */
.video-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.video-stat__value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.video-stat__label {
  font-size: .85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

@media (max-width: 768px) {
  .video-wrapper { border-radius: var(--radius-md); }
  .video-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   AUDIO PLAYER
=================================================== */
.samples-list {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.sample-track {
  display: grid;
  grid-template-columns: 36px 48px 1fr minmax(160px, 260px) 48px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.sample-track:last-child { border-bottom: none; }

.sample-track:hover { background: var(--color-bg-alt); }

.sample-track.playing {
  background: rgba(124,58,237,.06);
  border-left: 3px solid var(--color-primary);
}

.sample-track__num {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.sample-track.playing .sample-track__num {
  color: var(--color-primary);
}

.track-play-btn {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.track-play-btn svg { width: 18px; height: 18px; }

.track-play-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.1);
}

.sample-track__info { min-width: 0; }

.sample-track__title {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.sample-track__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.track-badge {
  font-size: 0.73rem;
  font-weight: 700;
  background: rgba(124,58,237,.12);
  color: var(--color-primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.track-genre {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.sample-track__desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sample-track__player {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-progress-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  transition: height var(--transition);
}

.sample-track:hover .track-progress-bar,
.sample-track.playing .track-progress-bar { height: 6px; }

.track-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.track-time {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.sample-track__duration {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 500;
}

@media (max-width: 768px) {
  .sample-track {
    grid-template-columns: 40px 1fr 40px;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 16px;
  }
  .sample-track__num { display: none; }
  .sample-track__player { grid-column: 1 / -1; grid-row: 2; }
  .sample-track__duration { display: none; }
  .sample-track__desc { display: none; }
}

/* ===================================================
   PURCHASE POPUPS
=================================================== */
#purchase-popups {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
  max-width: 340px;
}

.purchase-popup {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), opacity 0.3s ease;
  position: relative;
  max-width: 340px;
}

.purchase-popup.visible {
  transform: translateX(0);
  opacity: 1;
}

.purchase-popup.hiding {
  transform: translateX(-120%);
  opacity: 0;
}

.purchase-popup__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.purchase-popup__body { flex: 1; min-width: 0; }

.purchase-popup__name {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 2px;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.purchase-popup__detail {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.purchase-popup__detail strong { color: var(--color-primary); }

.purchase-popup__time {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 3px;
}

.purchase-popup__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px 4px;
  flex-shrink: 0;
  transition: color var(--transition);
}
.purchase-popup__close:hover { color: var(--color-text); }

[data-theme="dark"] .purchase-popup {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

@media (max-width: 480px) {
  #purchase-popups {
    bottom: 16px;
    left: 12px;
    right: 12px;
    max-width: none;
  }
  .purchase-popup { max-width: none; }
}

/* ===================================================
   TESTIMONIAL FLAGS
=================================================== */
.testimonial-flag {
  font-size: 1.1rem;
  margin-right: 4px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* ===================================================
   RECENT POSTS SECTION
=================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.post-card__thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-primary-light));
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card__thumb img { transform: scale(1.04); }

.post-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.post-card__cat {
  background: rgba(124,58,237,.1);
  color: var(--color-primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.post-card__title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-card__title a { color: var(--color-text); }
.post-card__title a:hover { color: var(--color-primary); }

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex: 1;
  line-height: 1.6;
}

[data-theme="dark"] .post-card__cat {
  background: rgba(167,139,250,.15);
  color: var(--color-primary);
}

/* ===================================================
   MOBILE NAV DARK MODE
=================================================== */
[data-theme="dark"] .main-navigation.open .dark-mode-toggle--nav {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

[data-theme="dark"] .main-navigation.open .dark-mode-toggle--nav .dm-label {
  color: var(--color-text);
}

/* ===================================================
   TESTIMONIALS CAROUSEL
=================================================== */
.testimonials-trustline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.testimonials-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonials-rating {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.testimonials-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.testimonials-carousel {
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  padding: 24px 0 8px;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

.testimonials-carousel:active { cursor: grabbing; }

/* Continuous marquee keyframe */
@keyframes gss-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--gss-scroll-w, 3000px))); }
}

.testimonials-track {
  display: flex;
  gap: 20px;
  padding: 8px 0 28px;
  /* width set by content */
}

/* Continuous scroll state — activated by JS after measuring */
.testimonials-track.is-scrolling {
  animation: gss-marquee 40s linear infinite;
  will-change: transform;
}

.testimonials-track.is-scrolling.is-paused {
  animation-play-state: paused;
}

/* Override old grid layout — cards are now flex children */
.testimonials-track .testimonial-card {
  flex: 0 0 440px;
  min-width: 0;
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

/* Partially show adjacent cards on desktop */
@media (min-width: 1024px) {
  .testimonials-track .testimonial-card { flex: 0 0 480px; }
}

@media (max-width: 768px) {
  .testimonials-track .testimonial-card { flex: 0 0 380px; border-radius: 8px; }
}

@media (max-width: 640px) {
  .testimonials-track { gap: 14px; }
  .testimonials-track .testimonial-card {
    flex: 0 0 300px;
    border-radius: 8px;
    min-height: 200px;
  }
}

/* Dot indicators */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 8px;
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.testimonials-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
}

.testimonials-dot:hover { background: var(--color-primary-light); }

/* Pause indicator overlay */
.testimonials-carousel[aria-label*="paused"]::after {
  content: "⏸ Paused — tap to resume";
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  pointer-events: none;
  opacity: 0.8;
  white-space: nowrap;
}

.testimonials-carousel { position: relative; }

/* ===================================================
   WHY CHOOSE US SECTION — Redesigned
=================================================== */
.why-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,.07) 0%, transparent 70%);
  pointer-events: none;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card-new {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-card-new::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(124,58,237,.04), rgba(236,72,153,.04));
  transition: opacity var(--transition);
}

.why-card-new:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.why-card-new:hover::after { opacity: 1; }

.why-card-new__icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transition: transform var(--transition);
}

.why-card-new:hover .why-card-new__icon {
  transform: scale(1.1) rotate(-3deg);
}

.why-card-new__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.why-card-new__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 1;
}

.why-cta {
  text-align: center;
  margin-top: 48px;
}

/* Keep old why-card styles for backward compat */
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.why-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }
.why-card__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.why-card__body { flex: 1; }
.why-card__body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--color-text); }
.why-card__body p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .why-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .why-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card-new { padding: 24px 20px; }
  .why-card-new__icon { width: 56px; height: 56px; font-size: 1.7rem; }
}


/* ===================================================
   DARK MODE — SELECTION STATES (HIGH-CONTRAST FIX)
=================================================== */
[data-theme="dark"] .style-option.selected {
  border-color: var(--color-primary);
  background: rgba(179,157,252,.22);
  color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), 0 0 16px rgba(179,157,252,.15);
}
[data-theme="dark"] .style-option.selected .style-option__label {
  color: var(--color-primary);
}
[data-theme="dark"] .style-option:hover {
  border-color: var(--color-primary-light);
  background: rgba(179,157,252,.1);
  color: var(--color-text);
}

[data-theme="dark"] .mood-option.selected {
  border-color: var(--color-primary);
  background: rgba(179,157,252,.22);
  box-shadow: 0 0 0 1px var(--color-primary), 0 0 16px rgba(179,157,252,.15);
}
[data-theme="dark"] .mood-option.selected .mood-option__label {
  color: var(--color-primary);
}
[data-theme="dark"] .mood-option:hover {
  border-color: var(--color-primary-light);
  background: rgba(179,157,252,.1);
}

[data-theme="dark"] .occasion-option.selected {
  border-color: var(--color-primary);
  background: rgba(179,157,252,.22);
  box-shadow: 0 0 0 1px var(--color-primary), 0 0 16px rgba(179,157,252,.15);
}
[data-theme="dark"] .occasion-option.selected .occasion-option__label {
  color: var(--color-primary);
}
[data-theme="dark"] .occasion-option:hover {
  border-color: var(--color-primary-light);
  background: rgba(179,157,252,.1);
}

[data-theme="dark"] .chip.selected {
  background: var(--color-primary-dark);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 1px var(--color-primary), 0 0 12px rgba(179,157,252,.2);
}
[data-theme="dark"] .chip:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  background: rgba(179,157,252,.08);
}

[data-theme="dark"] .addon-card.selected {
  border-color: var(--color-primary);
  background: rgba(179,157,252,.18);
  box-shadow: 0 0 0 1px var(--color-primary);
}
[data-theme="dark"] .addon-card.selected .addon-card__check {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
[data-theme="dark"] .addon-card:hover {
  border-color: var(--color-primary-light);
  background: rgba(179,157,252,.08);
}

/* Package options — JS uses inline outline, override with box-shadow too */
[data-theme="dark"] .package-option[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--color-primary), 0 0 20px rgba(179,157,252,.2) !important;
  border-color: var(--color-primary) !important;
}

/* ===================================================
   VISUAL PAGE EDITOR PANEL
=================================================== */
#gss-ve-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99998;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(124,58,237,.45);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
}
#gss-ve-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,58,237,.55);
}
#gss-ve-trigger.active { opacity: 0; pointer-events: none; }

#gss-visual-editor {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  z-index: 99999;
  background: #fff;
  box-shadow: -8px 0 48px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(.4,0,.2,1);
  font-family: var(--font-body);
}
#gss-visual-editor.open { right: 0; }
[data-theme="dark"] #gss-visual-editor {
  background: #1a1730;
  box-shadow: -8px 0 48px rgba(0,0,0,.5);
  color: #edeaff;
}

.gss-ve__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  flex-shrink: 0;
}
.gss-ve__header h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.gss-ve__header-actions { display: flex; align-items: center; gap: 8px; }
.gss-ve__close {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.gss-ve__close:hover { background: rgba(255,255,255,.35); }

.gss-ve__status {
  padding: 8px 20px;
  font-size: 0.78rem;
  background: rgba(16,185,129,.1);
  color: #059669;
  border-bottom: 1px solid rgba(16,185,129,.2);
  flex-shrink: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}
.gss-ve__status.saving { background: rgba(245,158,11,.1); color: #d97706; }
.gss-ve__status.error  { background: rgba(239,68,68,.1);  color: #dc2626; }
[data-theme="dark"] .gss-ve__status { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.15); }

.gss-ve__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.gss-ve__body::-webkit-scrollbar { width: 4px; }
.gss-ve__body::-webkit-scrollbar-thumb { background: rgba(124,58,237,.3); border-radius: 4px; }

.gss-ve__section { border-bottom: 1px solid #f0eefd; }
[data-theme="dark"] .gss-ve__section { border-bottom-color: #2a2740; }

.gss-ve__section-toggle {
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: #1e1b4b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
[data-theme="dark"] .gss-ve__section-toggle { color: #d0c4fe; }
.gss-ve__section-toggle:hover { background: rgba(124,58,237,.05); }
.gss-ve__section-toggle .gss-ve__arrow { font-size: 0.7rem; transition: transform 0.2s; }
.gss-ve__section-toggle.open .gss-ve__arrow { transform: rotate(180deg); }
.gss-ve__section-toggle .gss-ve__section-icon { font-size: 1rem; margin-right: 8px; }

.gss-ve__fields {
  padding: 4px 16px 16px;
  display: none;
}
.gss-ve__fields.open { display: block; }

.gss-ve__field {
  margin-bottom: 14px;
}
.gss-ve__field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
[data-theme="dark"] .gss-ve__field label { color: #9590b8; }

.gss-ve__field input[type="text"],
.gss-ve__field input[type="url"],
.gss-ve__field input[type="email"],
.gss-ve__field textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: #1e1b4b;
  background: #faf9ff;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  resize: vertical;
}
[data-theme="dark"] .gss-ve__field input,
[data-theme="dark"] .gss-ve__field textarea {
  background: #13111f;
  border-color: #2e2b4a;
  color: #edeaff;
}
.gss-ve__field input:focus,
.gss-ve__field textarea:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}
[data-theme="dark"] .gss-ve__field input:focus,
[data-theme="dark"] .gss-ve__field textarea:focus {
  border-color: #b39dfc;
  box-shadow: 0 0 0 3px rgba(179,157,252,.12);
}
.gss-ve__field textarea { min-height: 70px; }

.gss-ve__field input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #7c3aed;
  margin-right: 6px;
  cursor: pointer;
}

.gss-ve__footer {
  padding: 14px 20px;
  border-top: 1px solid #f0eefd;
  flex-shrink: 0;
}
[data-theme="dark"] .gss-ve__footer { border-top-color: #2a2740; }
.gss-ve__save-all {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
}
.gss-ve__save-all:hover { opacity: 0.9; transform: translateY(-1px); }

.gss-ve__highlight-ring {
  outline: 3px solid rgba(124,58,237,.7) !important;
  outline-offset: 4px !important;
  transition: outline 0.3s !important;
}

@media (max-width: 480px) {
  #gss-visual-editor { width: 100vw; right: -100vw; }
}

/* ===================================================
   MID YEAR PROMO TIMER
=================================================== */
.promo-timer {
  position: relative;
  background: linear-gradient(100deg, #1a0533 0%, #3b0764 30%, #6d28d9 58%, #7c3aed 72%, #4c0f89 88%, #1a0533 100%);
  background-size: 220% 100%;
  animation: promo-bg-shift 8s ease-in-out infinite alternate;
  color: #fff;
  overflow: hidden;
  z-index: 9998;
  border-bottom: 2px solid rgba(250,220,80,.30);
}

@keyframes promo-bg-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Subtle geometric pattern overlay */
.promo-timer__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.03) 0px,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
  z-index: 0;
}

/* Shimmer sweep */
.promo-timer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
  animation: promo-shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes promo-shimmer {
  0%   { left: -80%; }
  100% { left: 140%; }
}

.promo-timer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Left copy block */
.promo-timer__left {
  flex: 1 1 280px;
  min-width: 0;
}

.promo-timer__label-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(250,220,60,.15);
  border: 1px solid rgba(250,220,60,.40);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 7px;
}

.promo-timer__flame {
  font-size: 0.95rem;
  animation: promo-flame-pulse 1.4s ease-in-out infinite;
}

@keyframes promo-flame-pulse {
  0%, 100% { transform: scale(1) rotate(-4deg); }
  50%       { transform: scale(1.22) rotate(4deg); }
}

.promo-timer__headline {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.promo-timer__price {
  font-size: 1.55rem;
  font-weight: 900;
  color: #fde68a;
  letter-spacing: -0.02em;
}

.promo-timer__original {
  font-size: 0.88rem;
  color: rgba(255,255,255,.45);
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 500;
}

.promo-timer__desc em {
  font-style: normal;
  color: #c4b5fd;
  font-weight: 600;
}

.promo-timer__sub {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.01em;
}

/* Countdown clock */
.promo-timer__clock {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.promo-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.promo-timer__block {
  min-width: 58px;
  padding: 8px 4px;
  background: rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  font-size: 1.85rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 4px 14px rgba(0,0,0,.35);
  transition: color 0.15s ease;
  /* Horizontal divider line classic flip-clock look */
  position: relative;
}

.promo-timer__block::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,.10);
}

.promo-timer__block.tick {
  color: #fde68a;
}

.promo-timer__unit-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
}

.promo-timer__sep {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
  line-height: 1;
  animation: promo-colon-blink 1s step-end infinite;
}

@keyframes promo-colon-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* CTA button */
.promo-timer__cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 13px 26px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #1a0533;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(245,158,11,.40), 0 1px 0 rgba(255,255,255,.25) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.promo-timer__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(245,158,11,.55), 0 1px 0 rgba(255,255,255,.25) inset;
  color: #1a0533;
  text-decoration: none;
}

/* Responsive — tablet */
@media (max-width: 860px) {
  .promo-timer__inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-align: center;
  }
  .promo-timer__left {
    flex: none;
    width: 100%;
    text-align: center;
  }
  .promo-timer__cta {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }
}

/* Responsive — mobile */
@media (max-width: 480px) {
  .promo-timer__inner {
    padding: 14px 16px;
    gap: 10px;
  }
  .promo-timer__label-badge {
    font-size: 0.66rem;
    padding: 2px 10px;
  }
  .promo-timer__headline {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .promo-timer__price {
    font-size: 1.2rem;
  }
  .promo-timer__original {
    font-size: 0.8rem;
  }
  .promo-timer__desc {
    display: block;
    margin-top: 2px;
    font-size: 0.85rem;
  }
  .promo-timer__sub {
    font-size: 0.7rem;
  }
  .promo-timer__block {
    min-width: 46px;
    font-size: 1.45rem;
    padding: 6px 2px;
  }
  .promo-timer__sep {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }
  .promo-timer__cta {
    padding: 11px 20px;
    font-size: 0.85rem;
    max-width: 100%;
  }
}

/* ===================================================
   GOLDEN TRUST BAR (top of page)
=================================================== */
.trust-bar {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px 0;
  position: relative;
  overflow: hidden;
  z-index: 9999;
}
.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(251,191,36,.12) 40%, transparent 100%);
  animation: trust-bar-shimmer 3s ease-in-out infinite;
}
@keyframes trust-bar-scroll {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes trust-bar-shimmer {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50%       { opacity: 1; transform: translateX(100%); }
}
.trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.trust-bar__item strong { color: #f97316; }
.trust-bar__stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.trust-bar__sep {
  color: rgba(255,255,255,.25);
  font-size: 0.75rem;
}
[data-theme="dark"] .trust-bar {
  background: linear-gradient(90deg, #1c1200 0%, #2d1f00 30%, #1c1200 60%, #0f0a00 100%);
}
[data-theme="dark"] .trust-bar__item { color: #fde68a; }

/* ===================================================
   HERO — STAR RATING BADGE
=================================================== */
.hero__star-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(251,191,36,.12) 0%, rgba(217,119,6,.08) 100%);
  border: 1.5px solid rgba(251,191,36,.45);
  border-radius: 50px;
  padding: 8px 18px 8px 14px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.hero__star-rating::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,.18), transparent);
  animation: star-rating-shine 4s ease-in-out infinite;
}
@keyframes star-rating-shine {
  0%   { left: -60%; }
  60%  { left: 110%; }
  100% { left: 110%; }
}
.hero__star-rating__stars {
  display: flex;
  gap: 1px;
  font-size: 1.1rem;
  color: #f59e0b;
  filter: drop-shadow(0 0 6px rgba(245,158,11,.5));
}
.hero__star-rating__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.3;
}
.hero__rating-score {
  white-space: nowrap;
  font-weight: 600;
  color: #92400e;
}
.hero__star-rating__text strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #78350f;
}
.hero__star-rating__text em {
  font-style: normal;
  font-size: 0.78rem;
  color: #b45309;
  white-space: nowrap;
}
[data-theme="dark"] .hero__star-rating {
  background: linear-gradient(135deg, rgba(251,191,36,.1) 0%, rgba(217,119,6,.06) 100%);
  border-color: rgba(251,191,36,.35);
}
[data-theme="dark"] .hero__star-rating__text       { color: #fde68a; }
[data-theme="dark"] .hero__star-rating__text strong { color: #fbbf24; }
[data-theme="dark"] .hero__star-rating__text em     { color: #d97706; }

/* ===================================================
   HERO — AWARD BADGES ROW
=================================================== */
.hero__awards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(251,191,36,.13) 0%, rgba(217,119,6,.09) 100%);
  border: 1.5px solid rgba(251,191,36,.4);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: award-glow 4s ease-in-out infinite;
}
.award-badge:nth-child(2) { animation-delay: 1.3s; }
.award-badge:nth-child(3) { animation-delay: 2.6s; }

.award-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251,191,36,.3);
}

/* Shimmer sweep */
.award-badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,.22), transparent);
  animation: award-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
.award-badge:nth-child(2)::before { animation-delay: 1.3s; }
.award-badge:nth-child(3)::before { animation-delay: 2.6s; }

@keyframes award-shimmer {
  0%   { left: -100%; }
  55%  { left: 140%; }
  100% { left: 140%; }
}
@keyframes award-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0),    0 2px 8px rgba(0,0,0,.06); }
  50%       { box-shadow: 0 0 18px rgba(251,191,36,.25), 0 4px 14px rgba(0,0,0,.08); }
}

/* #1 badge gets extra gold ring */
.award-badge--gold {
  background: linear-gradient(135deg, rgba(251,191,36,.22) 0%, rgba(245,158,11,.15) 100%);
  border-color: rgba(251,191,36,.7);
  border-width: 2px;
}

.award-badge__medal {
  font-size: 1.3rem;
  filter: drop-shadow(0 2px 4px rgba(245,158,11,.4));
  flex-shrink: 0;
}
.award-badge--gold .award-badge__medal {
  filter: drop-shadow(0 2px 8px rgba(245,158,11,.7));
}

.award-badge__body {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.award-badge__body strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #78350f;
  letter-spacing: 0.01em;
}
.award-badge--gold .award-badge__body strong { color: #451a03; }
.award-badge__body span {
  font-size: 0.72rem;
  color: #b45309;
  font-weight: 500;
}

[data-theme="dark"] .award-badge {
  background: linear-gradient(135deg, rgba(251,191,36,.1) 0%, rgba(217,119,6,.07) 100%);
  border-color: rgba(251,191,36,.3);
}
[data-theme="dark"] .award-badge--gold {
  background: linear-gradient(135deg, rgba(251,191,36,.18) 0%, rgba(245,158,11,.12) 100%);
  border-color: rgba(251,191,36,.55);
}
[data-theme="dark"] .award-badge__body strong     { color: #fde68a; }
[data-theme="dark"] .award-badge--gold .award-badge__body strong { color: #fbbf24; }
[data-theme="dark"] .award-badge__body span       { color: #d97706; }

/* Mobile: hide some trust-bar items */
@media (max-width: 768px) {
  .trust-bar__sep:nth-child(4),
  .trust-bar__sep:nth-child(4) + .trust-bar__item { display: none; }
  .hero__awards { gap: 8px; }
  .award-badge { padding: 8px 12px 8px 10px; }
  .award-badge__medal { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .trust-bar__sep:nth-child(2),
  .trust-bar__sep:nth-child(2) + .trust-bar__item,
  .trust-bar__sep:nth-child(4),
  .trust-bar__sep:nth-child(4) + .trust-bar__item { display: none; }
  .hero__star-rating { font-size: 0.78rem; }
}

/* ===================================================
   CUSTOMER QUOTE STRIP
=================================================== */
@keyframes gss-quote-scroll {
  from { transform: translateX(0); }
  /* Fallback calc(-50% - 6px) = exact half-cycle when pills are doubled in HTML  */
  /* JS sets --gss-quote-w to the pixel-perfect value once fonts/layout settle    */
  to   { transform: translateX(calc(-1 * var(--gss-quote-w, calc(50% + 6px)))); }
}

.quote-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* Fade edges left and right */
.quote-strip::before,
.quote-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.quote-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface), transparent);
}
.quote-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface), transparent);
}

[data-theme="dark"] .quote-strip {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}
[data-theme="dark"] .quote-strip::before {
  background: linear-gradient(to right, var(--color-bg-alt), transparent);
}
[data-theme="dark"] .quote-strip::after {
  background: linear-gradient(to left, var(--color-bg-alt), transparent);
}

.quote-strip__wrap {
  overflow: hidden;
}

.quote-strip__track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  will-change: transform;
  /* Animation starts immediately — no JS class needed.
     Pills are doubled in PHP so the loop is seamless.
     JS will refine --gss-quote-w to the exact pixel width. */
  animation: gss-quote-scroll 76s linear infinite;
}

/* JS adds is-scrolling after measuring; keep for backwards compat */
.quote-strip__track.is-scrolling {
  animation: gss-quote-scroll 76s linear infinite;
}

.quote-strip__track.is-paused,
.quote-strip__track.is-scrolling.is-paused {
  animation-play-state: paused;
}

.quote-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg, #fff);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 18px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

[data-theme="dark"] .quote-pill {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.quote-pill__flag {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.quote-pill__text {
  font-size: 0.8rem;
  color: var(--color-text);
  font-style: italic;
  line-height: 1.4;
}

.quote-pill__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary, #7c3aed);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .quote-pill { padding: 7px 14px; }
  .quote-pill__text { font-size: 0.75rem; }
  .quote-pill__name { font-size: 0.7rem; }
  .quote-strip::before,
  .quote-strip::after { width: 48px; }
}

/* ===================================================
   TELEGRAM LIVE CHAT WIDGET
=================================================== */
.tg-chat {
  position: fixed;
  bottom: 100px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none; /* container must not block clicks on page elements behind it */
}
.tg-chat--left  { left: 24px; align-items: flex-start; }
.tg-chat--right { right: 24px; align-items: flex-end; }

@media (max-width: 768px) {
  .tg-chat--hide-mobile { display: none !important; }
}

/* ---- Floating button ---- */
.tg-chat__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  background: #2AABEE;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  box-shadow: 0 6px 28px rgba(42,171,238,.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: visible;
  cursor: pointer;
  border: none;
  user-select: none;
  white-space: nowrap;
  pointer-events: all; /* re-enable clicks — parent container has pointer-events:none */
}
.tg-chat__btn:hover {
  background: #1a96d4;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(42,171,238,.55);
  color: #fff;
}
.tg-chat__btn:active { transform: translateY(-1px); }

.tg-chat__btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  flex-shrink: 0;
}
.tg-chat__btn-text { line-height: 1; }

/* Pulse ring */
.tg-chat__btn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: #2AABEE;
  animation: tg-pulse 2.5s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes tg-pulse {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.45; }
  80%  { transform: translate(-50%,-50%) scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}

/* ---- Greeting popup ---- */
.tg-chat__popup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  padding: 16px;
  max-width: 280px;
  width: 280px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.tg-chat__popup.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Arrow pointing down to button */
.tg-chat__popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.08));
}
.tg-chat--right .tg-chat__popup::after {
  left: auto;
  right: 24px;
}

.tg-chat__popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 0.75rem;
  color: #aaa;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.15s;
}
.tg-chat__popup-close:hover { color: #555; }

.tg-chat__popup-avatar {
  width: 38px;
  height: 38px;
  background: #2AABEE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-chat__popup-body { flex: 1; padding-right: 16px; }

.tg-chat__popup-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}

.tg-chat__popup-msg {
  font-size: 0.83rem;
  color: #444;
  line-height: 1.45;
  margin: 0 0 10px;
}

.tg-chat__popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2AABEE;
  color: #fff;
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s;
}
.tg-chat__popup-cta:hover { background: #1a96d4; color: #fff; }

/* Dark mode */
[data-theme="dark"] .tg-chat__popup {
  background: #1e1c30;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
[data-theme="dark"] .tg-chat__popup::after { border-top-color: #1e1c30; }
[data-theme="dark"] .tg-chat__popup-name   { color: #edeaff; }
[data-theme="dark"] .tg-chat__popup-msg    { color: #9590b8; }

/* Keep widget above other fixed elements */
#gss-ve-trigger { bottom: 24px; right: 24px; }

/* =============================================================
   LANGUAGE SWITCHER
============================================================= */
.gss-lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.gss-lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 5px 10px 5px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.18s, background 0.18s;
  line-height: 1;
}
.gss-lang-switcher__toggle:hover,
.gss-lang-switcher__toggle[aria-expanded="true"] {
  border-color: var(--color-primary, #7c3aed);
  background: rgba(124,58,237,0.07);
}

.gss-lang-switcher__globe {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.75;
}

.gss-lang-switcher__label {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gss-lang-switcher__caret {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.18s;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.gss-lang-switcher__toggle[aria-expanded="true"] .gss-lang-switcher__caret {
  transform: rotate(180deg);
}

.gss-lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 9999;
}
.gss-lang-switcher__dropdown.is-open {
  display: block;
  animation: gss-lang-fade 0.15s ease;
}
@keyframes gss-lang-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gss-lang-switcher__dropdown li {
  margin: 0;
  padding: 0;
}
.gss-lang-switcher__dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.gss-lang-switcher__dropdown a:hover {
  background: var(--color-primary-light, #f3eeff);
  color: var(--color-primary, #7c3aed);
}

/* Dark mode */
[data-theme="dark"] .gss-lang-switcher__toggle {
  border-color: rgba(255,255,255,0.2);
  color: var(--color-text, #eee);
}
[data-theme="dark"] .gss-lang-switcher__dropdown {
  background: #1e1b2e;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
[data-theme="dark"] .gss-lang-switcher__dropdown a {
  color: #d4d0e8;
}
[data-theme="dark"] .gss-lang-switcher__dropdown a:hover {
  background: rgba(124,58,237,0.15);
  color: #c4b5fd;
}

/* Mobile: full-width in open menu */
@media (max-width: 768px) {
  .gss-lang-switcher {
    margin: 8px 0 4px;
  }
  .gss-lang-switcher__toggle {
    width: 100%;
    justify-content: flex-start;
  }
  .gss-lang-switcher__dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 20px;
    background: transparent;
    animation: none;
  }
  .gss-lang-switcher__dropdown.is-open {
    display: block;
  }
  .gss-lang-switcher__dropdown a {
    color: inherit;
    padding: 6px 0;
    font-size: 0.9rem;
  }
  [data-theme="dark"] .gss-lang-switcher__dropdown a { color: #d4d0e8; }
}

/* =============================================================
   FOOTER PAYMENT TRUST BAR
============================================================= */
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin: 32px 0 0;
}

.footer-payments__secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-payments__lock {
  width: 16px;
  height: 17px;
  flex-shrink: 0;
  color: #4ade80;
}

.footer-payments__icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  border-radius: 5px;
  overflow: hidden;
  opacity: 0.88;
  transition: opacity 0.18s, transform 0.18s;
  flex-shrink: 0;
}
.pay-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.pay-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Dark mode — already looks good on dark footer; light-bg cards get a subtle border */
[data-theme="light"] .pay-icon--paypal,
[data-theme="light"] .pay-icon--gpay {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}

@media (max-width: 640px) {
  .footer-payments {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-payments__icons {
    gap: 6px;
  }
  .pay-icon {
    width: 48px;
    height: 30px;
  }
}

/* ===================================================
   LEGAL PAGES (Privacy Policy / Terms / Refund)
=================================================== */
.legal-hero {
  background: linear-gradient(135deg,#1a0533 0%,#2d0a4e 60%,#4a1070 100%);
  padding: 64px 0 48px;
  text-align: center;
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
}
.legal-hero__updated {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin: 0;
}

.legal-section { padding: 48px 0 80px; }

.legal-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Table of contents — full-width block at the top, before the legal body */
.legal-toc {
  background: #f9f7ff;
  border: 1px solid #ede9fe;
  border-radius: 12px;
  padding: 20px 24px;
  width: 100%;
}
.legal-toc h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #7c3aed;
  margin: 0 0 12px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 18px;
}
.legal-toc li {
  margin-bottom: 8px;
}
.legal-toc a {
  color: #4b5563;
  text-decoration: none;
  font-size: .85rem;
  line-height: 1.4;
  transition: color .15s;
}
.legal-toc a:hover { color: #7c3aed; }

/* Body */
.legal-body { order: 2; }
.legal-content h2 {
  font-size: 1.2rem;
  color: #1e1b4b;
  margin: 36px 0 10px;
  padding-top: 36px;
  border-top: 1px solid #f3f4f6;
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p, .legal-content li { color: #374151; line-height: 1.75; font-size: .95rem; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 10px 0 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: #7c3aed; text-decoration: underline; }
.legal-content a:hover { color: #6d28d9; }
.legal-intro {
  font-size: 1rem;
  color: #374151;
  background: #f9f7ff;
  border-left: 4px solid #7c3aed;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 32px;
  line-height: 1.7;
}
.legal-highlight {
  background: linear-gradient(135deg,#ecfdf5,#d1fae5);
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 32px;
}
.legal-highlight strong { display: block; color: #065f46; margin-bottom: 6px; font-size: 1rem; }
.legal-highlight p { margin: 0; color: #065f46; font-size: .9rem; }

/* Scroll margin for anchor links */
.legal-content section { scroll-margin-top: 80px; }

/* ===================================================
   BLOG — SINGLE POST TEMPLATE
=================================================== */

/* Breadcrumb */
.breadcrumb-nav {
  background: var(--color-bg-alt);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .85rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--color-text-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--color-border); }
.breadcrumb li:last-child { color: var(--color-text); font-weight: 600; }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* Blog hero */
.page-hero--blog { padding: 48px 0 40px; text-align: left; }
.page-hero--blog h1 { margin-bottom: 16px; max-width: 800px; }

/* Post meta row */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--color-text-muted);
}
.post-meta__item { display: flex; align-items: center; gap: 5px; }
.post-meta__item svg { opacity: .6; flex-shrink: 0; }
.post-meta__sep { color: var(--color-border); }

/* Category tag */
.post-category-tag {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-full);
  padding: 3px 14px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: background var(--transition);
}
.post-category-tag:hover { background: var(--color-primary); color: #fff; }

/* Blog section */
.section--blog { padding-top: 0; }

/* Featured image */
.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.post-featured-image img { width: 100%; height: auto; display: block; }
.post-featured-image figcaption {
  padding: 10px 16px;
  font-size: .82rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  text-align: center;
}

/* Entry content */
.entry-content { line-height: 1.8; }
.entry-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 2.4rem 0 .9rem;
  color: var(--color-text);
}
.entry-content h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 2rem 0 .7rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol {
  margin: 0 0 1.25rem 1.4rem;
  list-style: disc;
}
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .5rem; line-height: 1.7; }
.entry-content strong { color: var(--color-text); font-weight: 700; }
.entry-content a { color: var(--color-primary); text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

/* Post footer */
.post-footer { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--color-border); }
.post-tags { margin-bottom: 20px; font-size: .9rem; color: var(--color-text-muted); }
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.post-navigation a {
  font-weight: 600;
  color: var(--color-primary);
  font-size: .95rem;
  max-width: 48%;
}
.post-navigation a:hover { text-decoration: underline; }

/* In-article CTA banner (card style — distinct from the gradient .cta-banner
   used on the homepage/occasion pages; renamed to avoid a class collision
   that was making those gradient banners render with a white background
   and invisible white-on-white text in light mode) */
.section--cta-alt { background: linear-gradient(135deg, var(--color-bg-alt), #fdf2ff); }
.cta-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}
.cta-banner-card__title { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 8px; color: var(--color-text); }
.cta-banner-card__body p { color: var(--color-text-muted); margin: 0; max-width: 520px; }

@media (max-width: 640px) {
  .cta-banner-card { flex-direction: column; padding: 28px 20px; text-align: center; }
  .cta-banner-card__body p { max-width: 100%; }
  .post-navigation a { max-width: 100%; }
}

/* ===================================================
   PROMO CODES PAGE
=================================================== */
.section--promo-codes { padding-top: 48px; }

/* Grid */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

/* Card */
.promo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Badge */
.promo-card__badge {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -.01em;
}
.promo-card__badge span { display: block; }

/* Body */
.promo-card__body { padding: 24px; flex: 1; }
.promo-card__title {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--color-text);
  line-height: 1.3;
}
.promo-card__desc {
  font-size: .9rem;
  color: var(--color-text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Code block */
.promo-card__code-block { margin-bottom: 16px; }
.promo-card__code-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.promo-card__code-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
}
.promo-card__code {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--color-primary);
  background: transparent;
  padding: 12px 16px;
  border: none;
  user-select: all;
}
.promo-card__copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition);
  font-family: var(--font-body);
}
.promo-card__copy-btn:hover { background: var(--color-primary-dark); }
.promo-card__copy-btn--copied { background: var(--color-success); }
.copy-icon { font-size: 1rem; }

/* Meta row */
.promo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.promo-card__meta-item {
  font-size: .78rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}
.promo-card__meta-item--urgent {
  color: #b45309;
  background: #fef3c7;
  border-color: #fcd34d;
  font-weight: 600;
}

/* Footer */
.promo-card__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.promo-card__cta { width: 100%; justify-content: center; text-align: center; }

/* Terms */
.promo-terms {
  font-size: .82rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 8px;
  padding: 0 16px;
  line-height: 1.6;
}
.promo-terms::before { content: 'ℹ️  '; }

/* Empty state */
.promo-empty {
  text-align: center;
  padding: 80px 20px;
}
.promo-empty__icon { font-size: 3.5rem; margin-bottom: 20px; }
.promo-empty h2 { font-size: 1.6rem; margin-bottom: 12px; }
.promo-empty p { color: var(--color-text-muted); margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; }

@media (max-width: 480px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card__code { font-size: 1rem; }
}

/* Hero trust badges */
.promo-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.promo-hero-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

/* About section — SEO body copy */
.section--promo-about { padding-top: 8px; }
.promo-about-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 20px;
}
.promo-about-text p:last-child { margin-bottom: 0; }

/* Intro text */
.promo-intro-text {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 32px;
}

/* Verified badge on card */
.promo-card__verified { margin-bottom: 14px; }
.promo-card__verified-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ===================================================
   HOW TO USE STEPS
=================================================== */
.section--how-to-use { background: var(--color-bg-alt); }

.promo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.promo-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.promo-step__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}
.promo-step__body h3 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--color-text);
}
.promo-step__body p {
  font-size: .9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ===================================================
   PROMO FAQ ACCORDION
=================================================== */
.section--promo-faq { padding-bottom: 56px; }

.promo-faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promo-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}
.promo-faq-item + .promo-faq-item { margin-top: 8px; }
.promo-faq-item__q {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.promo-faq-item__q::-webkit-details-marker { display: none; }
.promo-faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.promo-faq-item[open] .promo-faq-item__q::after {
  transform: rotate(45deg);
}
.promo-faq-item__a {
  padding: 0 20px 18px;
}
.promo-faq-item__a p {
  font-size: .92rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb-nav {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}
.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--color-text-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--color-border); }
.breadcrumb a { color: var(--color-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .promo-steps { grid-template-columns: 1fr; }
  .promo-hero-badges { gap: 8px; }
}

/* =============================================================
   SEO LANDING PAGES — shared component styles
   (us-review-card, us-reviews-grid, us-page-hero utilities)
============================================================= */

/* Page hero utility */
.us-page-hero { padding-top: 4rem; padding-bottom: 3rem; }
.us-page-hero .section__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.us-rating-summary { display:inline-flex; align-items:center; gap:.5rem; font-size:1rem; margin-top:1rem; }
.us-stars { color:#f59e0b; letter-spacing:.05em; font-size:1.25rem; }

/* Reviews grid */
.us-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Review card */
.us-review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}
.us-review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.us-review-card__header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem; }
.us-review-card__stars { color:#f59e0b; font-size:1.1rem; letter-spacing:.04em; }
.us-review-card__occasion { font-size:.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.07em; color:#6b7280; background:#f3f4f6; padding:.2rem .6rem; border-radius:20px; }
.us-review-card__body { font-size:.95rem; line-height:1.65; color:#374151; flex:1; }
.us-review-card__footer { display:flex; flex-wrap:wrap; gap:.4rem .75rem; align-items:center; font-size:.8rem; color:#6b7280; border-top:1px solid #f3f4f6; padding-top:.75rem; margin-top:auto; }
.us-review-card__footer strong { color:#111827; }
.us-review-card__location::before { content:'· '; }
.us-review-card__verified { color:#10b981; font-weight:600; margin-left:auto; }

/* Trust badges */
.us-trust-badges { display:flex; flex-wrap:wrap; gap:.6rem; }
.us-trust-badge { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; border-radius:6px; padding:.3rem .75rem; font-size:.85rem; font-weight:600; }

/* Steps list */
.us-steps-list { padding-left:1.25rem; display:flex; flex-direction:column; gap:.9rem; }
.us-steps-list li { font-size:.97rem; line-height:1.6; color:#374151; }

/* Unordered list utility */
.us-list { padding-left:1.25rem; display:flex; flex-direction:column; gap:.7rem; }
.us-list li { font-size:.97rem; line-height:1.6; color:#374151; }

/* Price table */
.us-price-table { display:flex; flex-direction:column; gap:1rem; margin:1.5rem 0; }
.us-price-row { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:1.25rem 1.5rem; display:flex; gap:1.5rem; flex-wrap:wrap; align-items:flex-start; }
.us-price-row--featured { border-color:#7c3aed; background:#faf5ff; }
.us-price-row__name { min-width:140px; font-size:1rem; }
.us-price-row__details ul { list-style:disc; padding-left:1.1rem; margin:0; display:flex; flex-direction:column; gap:.4rem; }
.us-price-row__details li { font-size:.9rem; color:#374151; }

/* Contact options */
.us-contact-options { display:flex; flex-direction:column; gap:1.5rem; margin:1.5rem 0; }
.us-contact-option { display:flex; gap:1.25rem; align-items:flex-start; background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:1.25rem 1.5rem; }
.us-contact-option__icon { font-size:2rem; line-height:1; flex-shrink:0; }
.us-contact-option h3 { margin:0 0 .4rem; font-size:1.05rem; }
.us-contact-option p { margin:0 0 .75rem; font-size:.93rem; color:#4b5563; }

/* Discount CTA box */
.us-discount-cta-box p { color:#4b5563; }

/* Dark theme section overrides */
.section--alt .us-review-card { background:#fff; }
