/*
Theme Name: KMTMM
Theme URI: https://kmtmm.com/
Author: Custom for KMTMM
Author URI: https://kmtmm.com/
Description: Clean, lightweight dark theme matching the Know Me Through My Music aesthetic. Black background, warm gold accents, elegant typography. Minimal, fast, and ready for WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kmtmm
Tags: dark, black, gold, music, lifestyle, ecommerce, custom-menu, featured-images, full-width-template, theme-options, translation-ready, woocommerce
*/

/* ============================================================
   CSS VARIABLES – Design System
   ============================================================ */
:root {
  --kmtmm-black: #000000;
  --kmtmm-near-black: #0a0a0a;
  --kmtmm-charcoal: #121212;
  --kmtmm-dark-card: #1a1a1a;
  --kmtmm-gold: #c9a227;
  --kmtmm-gold-light: #e0c060;
  --kmtmm-gold-dark: #a8861e;
  --kmtmm-white: #ffffff;
  --kmtmm-off-white: #f5f5f5;
  --kmtmm-muted: #a0a0a0;
  --kmtmm-border: rgba(201, 162, 39, 0.25);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-pill: 9999px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-gold: 0 0 30px rgba(201, 162, 39, 0.15);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--kmtmm-black);
  color: var(--kmtmm-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--kmtmm-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--kmtmm-gold-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--kmtmm-white);
}

p {
  margin-bottom: 1.25rem;
  color: var(--kmtmm-off-white);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--kmtmm-border);
  padding: 16px 0;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--kmtmm-white);
  text-transform: uppercase;
}

.site-logo span.me {
  font-size: 1.4rem;
  color: var(--kmtmm-gold);
  font-weight: 700;
}

.site-logo img,
.site-logo .custom-logo {
  max-height: 72px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(201, 162, 39, 0.18));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--kmtmm-off-white);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  display: block;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--kmtmm-black);
  background: var(--kmtmm-gold);
}

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

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--kmtmm-border);
  border-radius: 50%;
  color: var(--kmtmm-white);
  transition: all var(--transition);
}

.cart-link:hover {
  border-color: var(--kmtmm-gold);
  color: var(--kmtmm-gold);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--kmtmm-gold);
  color: var(--kmtmm-black);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--kmtmm-border);
  color: var(--kmtmm-white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--kmtmm-gold);
  color: var(--kmtmm-black);
  border-color: var(--kmtmm-gold);
}

.btn-primary:hover {
  background: var(--kmtmm-gold-light);
  border-color: var(--kmtmm-gold-light);
  color: var(--kmtmm-black);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--kmtmm-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--kmtmm-gold);
  color: var(--kmtmm-gold);
}

/* ============================================================
   HERO (Front Page)
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--kmtmm-border);
  color: var(--kmtmm-gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--kmtmm-gold);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--kmtmm-gold-light);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--kmtmm-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photos {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 480px;
}

.hero-photo {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-1 {
  width: 200px;
  height: 260px;
  top: 20px;
  left: 0;
  z-index: 2;
  transform: rotate(-6deg);
}

.hero-photo-2 {
  width: 220px;
  height: 280px;
  top: 0;
  right: 20px;
  z-index: 3;
  transform: rotate(4deg);
}

.hero-photo-3 {
  width: 180px;
  height: 220px;
  bottom: 30px;
  left: 80px;
  z-index: 1;
  transform: rotate(8deg);
}

.hero-quote {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--kmtmm-dark-card);
  border: 1px solid var(--kmtmm-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  max-width: 280px;
  z-index: 4;
  box-shadow: var(--shadow-gold);
}

.hero-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--kmtmm-white);
}

.hero-quote p {
  font-size: 0.85rem;
  color: var(--kmtmm-muted);
  margin: 0;
  line-height: 1.5;
}

/* Waveform decoration */
.hero-wave {
  position: absolute;
  bottom: 40px;
  left: 24px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  opacity: 0.7;
}

.hero-wave span {
  width: 4px;
  background: var(--kmtmm-gold);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.hero-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.hero-wave span:nth-child(2) { height: 22px; animation-delay: 0.1s; }
.hero-wave span:nth-child(3) { height: 32px; animation-delay: 0.2s; }
.hero-wave span:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.hero-wave span:nth-child(5) { height: 28px; animation-delay: 0.4s; }
.hero-wave span:nth-child(6) { height: 14px; animation-delay: 0.5s; }
.hero-wave span:nth-child(7) { height: 24px; animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--kmtmm-near-black);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--kmtmm-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* Pillars / Features */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
}

.pillar:hover {
  border-color: var(--kmtmm-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--kmtmm-gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.pillar p {
  color: var(--kmtmm-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Three columns (Listen / Share / Wear) */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.action-card {
  padding: 20px;
}

.action-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--kmtmm-gold);
}

.action-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.action-card p {
  color: var(--kmtmm-muted);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1a1508 0%, #0a0a0a 100%);
  border: 1px solid var(--kmtmm-border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--kmtmm-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--kmtmm-near-black);
  border-top: 1px solid var(--kmtmm-border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--kmtmm-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kmtmm-gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--kmtmm-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--kmtmm-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--kmtmm-muted);
}

/* ============================================================
   CONTENT PAGES
   ============================================================ */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  width: 100%;
}
.page-header .container {
  max-width: 1320px;
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.content-area {
  padding: 40px 0 80px;
  width: 100%;
}

.entry-content {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.entry-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.entry-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.4rem;
  color: var(--kmtmm-off-white);
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   WOOCOMMERCE BASICS
   ============================================================ */
.woocommerce .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.woocommerce ul.products li.product {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
}

.woocommerce ul.products li.product:hover {
  border-color: var(--kmtmm-border);
  box-shadow: var(--shadow-gold);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--kmtmm-white);
  padding: 16px 20px 4px;
}

.woocommerce ul.products li.product .price {
  color: var(--kmtmm-gold);
  padding: 0 20px 16px;
  font-weight: 600;
}

.woocommerce a.button,
.woocommerce button.button {
  background: var(--kmtmm-gold) !important;
  color: var(--kmtmm-black) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  border: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--kmtmm-gold-light) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-photos {
    height: 380px;
    max-width: 340px;
    margin: 0 auto;
  }

  .pillars,
  .actions-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

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

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--kmtmm-black);
    border-bottom: 1px solid var(--kmtmm-border);
    padding: 20px;
    gap: 4px;
  }

  .main-nav.is-open ul {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .main-nav.is-open a {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   MUSIC FAN ENERGY ADDITIONS
   ============================================================ */

/* Gold text highlight */
.gold-text {
  color: var(--kmtmm-gold);
}

/* Scrolling ticker */
.music-ticker {
  background: var(--kmtmm-near-black);
  border-bottom: 1px solid var(--kmtmm-border);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kmtmm-gold);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: ticker 40s linear infinite;
}

.ticker-track .dot {
  color: var(--kmtmm-muted);
  opacity: 0.6;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pulse badge */
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--kmtmm-gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
  margin-right: 4px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5); }
  50% { opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 0 8px rgba(201, 162, 39, 0); }
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--kmtmm-white);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--kmtmm-muted);
}

/* Photo labels */
.photo-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: var(--kmtmm-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--kmtmm-border);
}

/* Equalizer bars in hero */
.hero-eq {
  position: absolute;
  bottom: 30px;
  left: 24px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
}

.hero-eq span {
  width: 5px;
  background: linear-gradient(to top, var(--kmtmm-gold-dark), var(--kmtmm-gold-light));
  border-radius: 3px;
  animation: eq 1.1s ease-in-out infinite;
}

.hero-eq span:nth-child(1)  { height: 16px; animation-delay: 0.05s; }
.hero-eq span:nth-child(2)  { height: 28px; animation-delay: 0.15s; }
.hero-eq span:nth-child(3)  { height: 40px; animation-delay: 0.25s; }
.hero-eq span:nth-child(4)  { height: 22px; animation-delay: 0.35s; }
.hero-eq span:nth-child(5)  { height: 36px; animation-delay: 0.1s; }
.hero-eq span:nth-child(6)  { height: 18px; animation-delay: 0.4s; }
.hero-eq span:nth-child(7)  { height: 32px; animation-delay: 0.2s; }
.hero-eq span:nth-child(8)  { height: 44px; animation-delay: 0.3s; }
.hero-eq span:nth-child(9)  { height: 24px; animation-delay: 0.05s; }
.hero-eq span:nth-child(10) { height: 38px; animation-delay: 0.45s; }
.hero-eq span:nth-child(11) { height: 20px; animation-delay: 0.15s; }
.hero-eq span:nth-child(12) { height: 30px; animation-delay: 0.35s; }
.hero-eq span:nth-child(13) { height: 14px; animation-delay: 0.25s; }

@keyframes eq {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.35); }
}

/* Section label */
.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kmtmm-gold);
  margin-bottom: 16px;
}

/* Pillar icons */
.pillar-icon {
  font-size: 1.6rem;
  color: var(--kmtmm-gold);
  margin-bottom: 12px;
  opacity: 0.9;
}

/* Action cards upgrade */
.action-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid var(--kmtmm-border);
  border-radius: 50%;
  transition: all var(--transition);
}

.action-card:hover .action-icon-wrap {
  background: rgba(201, 162, 39, 0.2);
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.25);
  transform: scale(1.08);
}

.action-icon {
  font-size: 1.8rem;
  color: var(--kmtmm-gold);
}

.action-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kmtmm-gold);
  letter-spacing: 0.02em;
}

.action-link:hover {
  color: var(--kmtmm-gold-light);
}

/* Teaser cards */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.teaser-card {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.teaser-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--kmtmm-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.teaser-card:hover {
  border-color: var(--kmtmm-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}

.teaser-card:hover::before {
  opacity: 1;
}

.teaser-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kmtmm-gold);
  background: rgba(201, 162, 39, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.teaser-card h3 {
  font-size: 1.7rem;
  margin-bottom: 14px;
  line-height: 1.25;
}

.teaser-card p {
  color: var(--kmtmm-muted);
  margin-bottom: 28px;
  font-size: 0.98rem;
}

/* Excited CTA */
.cta-excited {
  position: relative;
  overflow: hidden;
}

.cta-eq {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 36px;
  margin-bottom: 28px;
}

.cta-eq span {
  width: 5px;
  background: var(--kmtmm-gold);
  border-radius: 3px;
  animation: eq 1s ease-in-out infinite;
}

.cta-eq span:nth-child(1) { height: 14px; animation-delay: 0s; }
.cta-eq span:nth-child(2) { height: 26px; animation-delay: 0.15s; }
.cta-eq span:nth-child(3) { height: 36px; animation-delay: 0.3s; }
.cta-eq span:nth-child(4) { height: 22px; animation-delay: 0.1s; }
.cta-eq span:nth-child(5) { height: 30px; animation-delay: 0.25s; }

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

/* Stronger button hover */
.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline:hover {
  transform: translateY(-2px);
}

/* Responsive for new elements */
@media (max-width: 980px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .teaser-card {
    padding: 36px 28px;
  }

  .music-ticker {
    font-size: 0.7rem;
  }
}

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.kmtmm-single-product {
  padding: 60px 0 100px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.product-gallery img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.product-summary .product_title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.product-summary .price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--kmtmm-gold);
  margin-bottom: 20px;
}

.product-summary .woocommerce-product-details__short-description {
  color: var(--kmtmm-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.product-summary .cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.product-summary .quantity input {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--kmtmm-white);
  border-radius: 8px;
  padding: 12px;
  width: 70px;
  text-align: center;
}

.product-summary .single_add_to_cart_button {
  background: var(--kmtmm-gold) !important;
  color: var(--kmtmm-black) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  cursor: pointer;
  transition: all var(--transition);
}

.product-summary .single_add_to_cart_button:hover {
  background: var(--kmtmm-gold-light) !important;
  transform: translateY(-2px);
}

.product-soundtrack-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid var(--kmtmm-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--kmtmm-muted);
  margin-top: 28px;
}

.product-soundtrack-note .note-icon {
  color: var(--kmtmm-gold);
  font-size: 1.2rem;
}

.product-details {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 50px;
}

.woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0;
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: none !important;
  background: none !important;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 20px;
  color: var(--kmtmm-muted);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  color: var(--kmtmm-gold);
  border-bottom-color: var(--kmtmm-gold);
}

.woocommerce-Tabs-panel {
  color: var(--kmtmm-off-white);
  line-height: 1.7;
}

/* Related products */
.related.products > h2,
.upsells.products > h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

/* ============================================================
   PRODUCT ARCHIVE / CATEGORY
   ============================================================ */
.shop-header {
  padding: 70px 0 30px;
}

.shop-tagline {
  color: var(--kmtmm-muted);
  font-size: 1.05rem;
  margin-top: 8px;
}

.shop-content {
  padding-bottom: 80px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--kmtmm-muted);
  font-size: 0.9rem;
}

.woocommerce .woocommerce-ordering select {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--kmtmm-white);
  border-radius: 8px;
  padding: 10px 14px;
}

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

.kmtmm-product-card {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.kmtmm-product-card:hover {
  border-color: var(--kmtmm-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}

.product-card-link {
  color: inherit;
  display: block;
  flex: 1;
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

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

.kmtmm-product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px 20px 8px;
}

.product-info .woocommerce-loop-product__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--kmtmm-white);
  margin-bottom: 6px;
}

.product-info .price {
  color: var(--kmtmm-gold);
  font-weight: 600;
  font-size: 1.05rem;
}

.product-actions {
  padding: 0 20px 20px;
}

.product-actions .button {
  width: 100%;
  text-align: center;
  background: transparent !important;
  border: 1px solid var(--kmtmm-border) !important;
  color: var(--kmtmm-gold) !important;
  border-radius: var(--radius-pill) !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
  transition: all var(--transition);
}

.product-actions .button:hover {
  background: var(--kmtmm-gold) !important;
  color: var(--kmtmm-black) !important;
}

/* ============================================================
   CHECKOUT & CART
   ============================================================ */
.woocommerce-checkout,
.woocommerce-cart {
  padding: 60px 0 100px;
}

.woocommerce-checkout h1,
.woocommerce-cart h1,
.woocommerce form .form-row label {
  color: var(--kmtmm-white);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  background: var(--kmtmm-dark-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--kmtmm-white) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
}

.woocommerce-checkout #payment {
  background: var(--kmtmm-dark-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.woocommerce-checkout #place_order {
  background: var(--kmtmm-gold) !important;
  color: var(--kmtmm-black) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  padding: 16px 32px !important;
  width: 100%;
}

.woocommerce table.shop_table {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--radius-lg);
  color: var(--kmtmm-off-white);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(255, 255, 255, 0.06) !important;
  padding: 16px !important;
}

/* ============================================================
   AMBASSADOR PAGE
   ============================================================ */
.ambassador-hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.1) 0%, transparent 55%);
}

.ambassador-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.ambassador-lead {
  font-size: 1.15rem;
  color: var(--kmtmm-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.ambassador-content {
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   BLOG GRID & SINGLE
   ============================================================ */
.blog-header {
  padding: 70px 0 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.blog-card {
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--kmtmm-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}

.blog-card-link {
  color: inherit;
  display: block;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--kmtmm-gold);
  opacity: 0.4;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.blog-cat {
  color: var(--kmtmm-gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-date {
  color: var(--kmtmm-muted);
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--kmtmm-white);
}

.blog-card-excerpt {
  color: var(--kmtmm-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.blog-card-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kmtmm-gold);
}

.blog-pagination {
  text-align: center;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--kmtmm-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.blog-pagination a:hover,
.blog-pagination .current {
  background: var(--kmtmm-gold);
  color: var(--kmtmm-black);
  border-color: var(--kmtmm-gold);
}

/* Single post */
.single-header {
  padding: 70px 0 30px;
  text-align: center;
}

.single-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.single-author {
  color: var(--kmtmm-muted);
  margin-top: 12px;
  font-size: 0.95rem;
}

.single-featured {
  margin-bottom: 50px;
}

.single-featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.single-content {
  max-width: 720px;
  margin: 0 auto;
}

.single-footer {
  max-width: 720px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-tags {
  margin-bottom: 40px;
  color: var(--kmtmm-muted);
  font-size: 0.9rem;
}

.single-tags a {
  color: var(--kmtmm-gold);
}

.single-nav .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.single-nav a {
  display: block;
  padding: 20px;
  background: var(--kmtmm-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.single-nav a:hover {
  border-color: var(--kmtmm-border);
}

.single-nav .nav-label {
  display: block;
  font-size: 0.8rem;
  color: var(--kmtmm-gold);
  margin-bottom: 6px;
}

.single-nav .nav-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--kmtmm-white);
}

.single-nav .nav-next {
  text-align: right;
}

/* Responsive product & blog */
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-nav .nav-links {
    grid-template-columns: 1fr;
  }

  .single-nav .nav-next {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HERO SLIDER (background images)
   ============================================================ */
.hero-slider {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.45) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(201,162,39,0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-slider .hero-grid {
  align-items: center;
}

.hero-slider .hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}

.hero-slider .hero-quote {
  position: relative;
  bottom: auto;
  right: auto;
  max-width: 300px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(12px);
}

.hero-slider-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-dot.is-active,
.hero-dot:hover {
  background: var(--kmtmm-gold);
  border-color: var(--kmtmm-gold);
  transform: scale(1.2);
}

.hero-slider .hero-eq {
  position: absolute;
  bottom: 28px;
  left: 24px;
  z-index: 3;
}

@media (max-width: 980px) {
  .hero-slider {
    min-height: auto;
    padding: 70px 0 60px;
  }
  .hero-slider .hero-visual {
    align-items: flex-start;
    margin-top: 20px;
  }
  .hero-slider .hero-quote {
    max-width: 100%;
  }
}

/* ============================================================
   CONVERSION: Product trust + sticky ATC
   ============================================================ */
.product-breadcrumb {
  font-size: 0.85rem;
  color: var(--kmtmm-muted);
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-breadcrumb a { color: var(--kmtmm-muted); }
.product-breadcrumb a:hover { color: var(--kmtmm-gold); }

.product-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kmtmm-gold);
  margin-bottom: 10px;
}

.product-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.product-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--kmtmm-muted);
}
.product-trust svg { color: var(--kmtmm-gold); flex-shrink: 0; }

/* Sticky mobile ATC */
.sticky-atc {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--kmtmm-border);
  padding: 12px 16px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
}
.sticky-atc.is-visible { display: block; }
.sticky-atc-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-atc-info strong {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.sticky-atc-price {
  font-size: 0.85rem;
  color: var(--kmtmm-gold);
  font-weight: 600;
}
.sticky-atc-btn {
  padding: 12px 22px !important;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sticky-atc.is-visible { display: block; }
  .kmtmm-single-product { padding-bottom: 90px; }
}

/* Checkout steps + trust */
.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.checkout-steps .step { color: var(--kmtmm-muted); }
.checkout-steps .step.active { color: var(--kmtmm-gold); font-weight: 600; }
.checkout-steps .step.done { color: var(--kmtmm-off-white); }
.checkout-steps .step-sep { color: rgba(255,255,255,0.2); }

.checkout-trust-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 14px 20px;
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--kmtmm-border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--kmtmm-muted);
}

.cart-continue {
  margin-top: 32px;
  text-align: center;
}

/* Stronger ATC button on product */
.product-summary .single_add_to_cart_button {
  min-height: 52px !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}
.product-summary .single_add_to_cart_button:hover {
  box-shadow: 0 6px 28px rgba(201, 162, 39, 0.5);
}

/* Woo notices */
.woocommerce-message,
.woocommerce-info {
  background: rgba(201,162,39,0.12) !important;
  border-top-color: var(--kmtmm-gold) !important;
  color: var(--kmtmm-white) !important;
}
.woocommerce-message a,
.woocommerce-info a {
  color: var(--kmtmm-gold) !important;
  font-weight: 600;
}

/* ============================================================
   LOGIN / MY ACCOUNT
   ============================================================ */
.login-box-wrap {
  max-width: 960px;
  margin: 0 auto 60px;
}
.login-box-wrap .woocommerce form.login,
.login-box-wrap .woocommerce form.register {
  background: var(--kmtmm-dark-card);
  border: 1px solid var(--kmtmm-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  float: none !important;
  width: 100% !important;
  max-width: 440px;
  margin: 0 auto 24px;
}
.login-box-wrap .woocommerce .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  float: none !important;
}
.login-box-wrap .woocommerce .col-1,
.login-box-wrap .woocommerce .col-2 {
  float: none !important;
  width: 100% !important;
}
.login-box-wrap .woocommerce form .form-row {
  float: none !important;
  width: 100% !important;
}
.login-box-wrap .woocommerce form .form-row input.input-text {
  width: 100%;
  background: var(--kmtmm-near-black);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--kmtmm-white);
  border-radius: 8px;
  padding: 12px 14px;
}
.login-box-wrap .woocommerce form .button {
  background: var(--kmtmm-gold) !important;
  color: var(--kmtmm-black) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  width: 100%;
  padding: 12px 20px !important;
}
@media (max-width: 700px) {
  .login-box-wrap .woocommerce .u-columns {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HEADER DROPDOWNS (desktop)
   ============================================================ */
.site-header,
.header-inner,
.main-nav,
.main-nav .menu,
.main-nav li {
  overflow: visible !important;
}

.site-header {
  z-index: 10000;
}

.main-nav .menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
  list-style: none;
  margin: 0;
}

.main-nav .menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--kmtmm-off-white, #f5f0e8);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a {
  color: var(--kmtmm-black, #0a0a0a);
  background: var(--kmtmm-gold, #c9a227);
}

.main-nav .menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.7em;
  opacity: 0.75;
}

/* Submenu panel */
.main-nav ul.sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #0a0a0a;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  z-index: 10001;
}

.main-nav li:hover > ul.sub-menu,
.main-nav li:focus-within > ul.sub-menu,
.main-nav li.is-open > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav ul.sub-menu a {
  display: block;
  padding: 10px 14px;
  color: rgba(245, 240, 232, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
}

.main-nav ul.sub-menu a:hover,
.main-nav ul.sub-menu .current-menu-item > a {
  color: #ffe4a3;
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile nav */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
  }

  .main-nav.is-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
    padding: 16px;
    z-index: 10002;
  }

  .main-nav.is-open .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open .menu > li > a {
    border-radius: 12px;
    justify-content: space-between;
  }

  .main-nav.is-open ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border: 0;
    border-left: 2px solid rgba(201, 162, 39, 0.35);
    margin: 4px 0 8px 12px;
    padding: 4px 0 4px 8px;
    min-width: 0;
  }
}


/* Wider pages: forms, grids, Elementor-ish content */
.entry-content .forminator-ui,
.entry-content form,
.entry-content .wp-block-group,
.content-area .container {
  max-width: 100%;
  width: 100%;
}

/* Single post: readable but not too narrow */
.single-post .entry-content,
.single .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog / archive cards */
@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Community / category grids from page builders */
.entry-content .wp-block-columns,
.entry-content .uagb-post-grid,
.entry-content .uael-post-grid {
  max-width: 100% !important;
  width: 100% !important;
}
