/*
Theme Name: VIT Coach
Theme URI: https://vitcoach.com
Author: VIT Coach
Author URI: https://vitcoach.com
Description: A premium dark/light theme for VIT Coach — digital fitness coaching platform powered by WooCommerce. Features downloadable products, AI fitness tools, BMI calculator, membership pricing, and a professional dark/light mode toggle.
Version: 1.0.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: vitcoach
Tags: e-commerce, fitness, dark-mode, custom-menu, custom-logo, featured-images, theme-options
WooCommerce: 9.0
*/

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

/* ===== THEME VARIABLES ===== */
:root {
  --accent: #8BBF3E;
  --accent-dark: #76a832;
  --accent-glow: rgba(139, 191, 62, 0.3);
  --accent-subtle: rgba(139, 191, 62, 0.08);
  --accent-border: rgba(139, 191, 62, 0.2);
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== DARK THEME (Default) ===== */
[data-theme="dark"] {
  --bg-body: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-elevated: #1c1c1c;
  --bg-input: rgba(255,255,255,0.04);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-dim: #555;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --navbar-bg: rgba(10,10,10,0.72);
  --hero-gradient: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.25) 100%);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.5);
  --input-focus-bg: rgba(139,191,62,0.04);
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg-body: #f5f5f0;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-elevated: #ffffff;
  --bg-input: rgba(0,0,0,0.03);
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-dim: #999;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --navbar-bg: rgba(255,255,255,0.72);
  --hero-gradient: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.15) 100%);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.08);
  --input-focus-bg: rgba(139,191,62,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.5s ease, color 0.5s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== ACCESSIBILITY ===== */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 60px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: var(--navbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

/* Inner pages: solid navbar immediately */
.navbar.navbar-solid {
  background: var(--navbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .navbar.navbar-solid {
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.navbar.navbar-solid .nav-logo { color: var(--text-primary); }
.navbar.navbar-solid .nav-menu a { color: var(--text-secondary); font-weight: 500; }
.navbar.navbar-solid .nav-menu a:hover { color: var(--accent); }
.navbar.navbar-solid .btn-ghost { color: var(--text-primary); border-color: var(--border-hover); }
.navbar.navbar-solid .theme-toggle { color: var(--text-secondary); border-color: var(--border); background: var(--bg-input); }
.navbar.navbar-solid .nav-cart { color: var(--text-secondary); }
.navbar.navbar-solid .mobile-toggle { color: var(--text-primary); }
[data-theme="light"] .navbar.navbar-solid .nav-menu a { color: #444; }
[data-theme="light"] .navbar.navbar-solid .nav-logo { color: #1a1a1a; }
[data-theme="light"] .navbar.navbar-solid .btn-ghost { color: #333; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .navbar.navbar-solid .nav-cart { color: #444; }
[data-theme="light"] .navbar.navbar-solid .theme-toggle { color: #555; border-color: rgba(0,0,0,0.12); }

/* Scrolled state (all pages) */
.navbar.scrolled {
  background: var(--navbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.navbar.scrolled .nav-logo { color: var(--text-primary); }
.navbar.scrolled .nav-menu a { color: var(--text-secondary); }
.navbar.scrolled .btn-ghost { color: var(--text-primary); border-color: var(--border-hover); }
.navbar.scrolled .theme-toggle { color: var(--text-secondary); }
.navbar.scrolled .nav-cart { color: var(--text-secondary); }
[data-theme="light"] .navbar.scrolled .nav-menu a { color: #444; }
[data-theme="light"] .navbar.scrolled .nav-logo { color: #1a1a1a; }
[data-theme="light"] .navbar.scrolled .btn-ghost { color: #333; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .navbar.scrolled .nav-cart { color: #444; }

/* Homepage hero: transparent with gradient + text shadow for contrast */
.navbar[data-has-hero]:not(.scrolled) {
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.12) 60%, transparent 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.navbar[data-has-hero]:not(.scrolled) .nav-logo,
.navbar[data-has-hero]:not(.scrolled) .nav-menu a,
.navbar[data-has-hero]:not(.scrolled) .btn-ghost,
.navbar[data-has-hero]:not(.scrolled) .nav-cart,
.navbar[data-has-hero]:not(.scrolled) .mobile-toggle {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.navbar[data-has-hero]:not(.scrolled) .nav-menu a { color: rgba(255,255,255,0.85); }
.navbar[data-has-hero]:not(.scrolled) .nav-menu a:hover { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.navbar[data-has-hero]:not(.scrolled) .btn-ghost { border-color: rgba(255,255,255,0.3); }
.navbar[data-has-hero]:not(.scrolled) .btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-shadow: none; }
.navbar[data-has-hero]:not(.scrolled) .theme-toggle { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); }
.navbar[data-has-hero]:not(.scrolled) .theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.navbar[data-has-hero]:not(.scrolled) .nav-logo span { color: var(--accent); }

.nav-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo span { color: var(--accent); }

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-menu a {
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}
.nav-menu a:hover { color: var(--accent); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a { color: var(--accent); }
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after { width: 100%; }

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

.btn-ghost {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 26px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 13px 30px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  font-size: 16px;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
[data-theme="dark"] .theme-toggle .fa-sun { display: none !important; }
[data-theme="dark"] .theme-toggle .fa-moon { display: block !important; }
[data-theme="light"] .theme-toggle .fa-sun { display: block !important; }
[data-theme="light"] .theme-toggle .fa-moon { display: none !important; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 1100;
  padding: 30px;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.mobile-menu.active { right: 0; }
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
  margin-bottom: 30px;
  float: right;
}
.mobile-menu ul { clear: both; }
.mobile-menu ul li { margin-bottom: 0; }
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
}
.mobile-menu ul li a:hover { color: var(--accent); }
.mobile-menu-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-actions .btn-primary { justify-content: center; padding: 14px; }

/* WooCommerce Cart Icon */
.nav-cart {
  position: relative;
  color: var(--text-secondary);
  font-size: 18px;
  transition: var(--transition);
}
.nav-cart:hover { color: var(--accent); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--hero-gradient); }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,191,62,0.12);
  border: 1px solid rgba(139,191,62,0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}
.hero h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(50px, 7.5vw, 90px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #fff;
  animation: fadeInUp 0.8s 0.2s ease forwards;
  opacity: 0;
}
.hero h1 span { color: var(--accent); display: block; }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.75;
  animation: fadeInUp 0.8s 0.4s ease forwards;
  opacity: 0;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease forwards;
  opacity: 0;
}
.hero-stats {
  position: absolute;
  bottom: 56px;
  right: 60px;
  z-index: 2;
  display: flex;
  gap: 44px;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: 'Bebas Neue', cursive;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.slider-dots {
  position: absolute;
  bottom: 56px;
  left: 60px;
  z-index: 2;
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: var(--accent); width: 56px; }

/* ===== FEATURES BAR ===== */
.features-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 60px;
  transition: background 0.5s ease;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.feature-item { text-align: center; padding: 18px 10px; transition: var(--transition); cursor: default; }
.feature-item:hover { transform: translateY(-4px); }
.feature-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  background: var(--accent-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  transition: var(--transition);
}
.feature-item:hover .feature-icon { background: var(--accent-border); transform: scale(1.08); }
.feature-item h4 { font-size: 13.5px; font-weight: 600; letter-spacing: 0.3px; color: var(--text-primary); }

/* ===== SECTIONS ===== */
.section {
  padding: 100px 60px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-full {
  padding: 100px 60px;
  transition: background 0.5s ease;
}
.section-full .section-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 540px;
  line-height: 1.7;
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  cursor: pointer;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.08) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
}
.category-card:hover .category-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 60%); }
.category-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  width: fit-content;
}
.category-card h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 30px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: #fff;
}
.category-card p { color: rgba(255,255,255,0.65); font-size: 13.5px; line-height: 1.6; }
.category-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.category-card:hover .category-arrow { background: var(--accent); color: #fff; transform: rotate(-45deg); }

/* ===== PRODUCTS ===== */
.products-section { background: var(--bg-card); }
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}
.products-tabs { display: flex; gap: 8px; }
.products-tabs button {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}
.products-tabs button.active,
.products-tabs button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--bg-body);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}
.product-image { position: relative; height: 230px; overflow: hidden; background: var(--bg-elevated); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-red);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge.new { background: var(--accent-blue); }
.product-badge.popular { background: var(--accent-purple); }
.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.product-action-btn:hover { background: var(--accent); color: #fff; }
.product-info { padding: 20px; }
.product-category {
  font-size: 11.5px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 6px;
}
.product-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; transition: var(--transition); }
.product-card:hover .product-info h3 { color: var(--accent); }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.product-stars { color: #f59e0b; font-size: 12px; }
.product-rating span { font-size: 12.5px; color: var(--text-dim); }
.product-price-row { display: flex; align-items: center; justify-content: space-between; }
.product-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 1px;
}
.product-price .old {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}
.btn-add-cart {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-add-cart:hover { transform: scale(1.12); box-shadow: 0 4px 18px var(--accent-glow); }

/* ===== BMI CALCULATOR ===== */
.bmi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-top: 52px;
}
.bmi-image { position: relative; border-radius: var(--radius); overflow: hidden; height: 480px; }
.bmi-image img { width: 100%; height: 100%; object-fit: cover; }
.bmi-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-border);
  border-radius: var(--radius);
  pointer-events: none;
}
.bmi-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: background 0.5s ease;
}
.bmi-form h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 30px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.bmi-form > p { color: var(--text-secondary); font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus { border-color: var(--accent); background: var(--input-focus-bg); }
.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.bmi-result {
  display: none;
  margin-top: 18px;
  padding: 20px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  text-align: center;
}
.bmi-result.show { display: block; animation: fadeInUp 0.5s ease; }
.bmi-number { font-family: 'Bebas Neue', cursive; font-size: 50px; color: var(--accent); line-height: 1; }
.bmi-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ===== PRICING ===== */
.pricing-section { background: var(--bg-card); }
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  margin-bottom: 52px;
}
.pricing-toggle span { font-size: 14.5px; color: var(--text-dim); font-weight: 500; transition: var(--transition); }
.pricing-toggle span.active-toggle { color: var(--text-primary); font-weight: 600; }
.toggle-switch {
  width: 52px;
  height: 26px;
  background: var(--border-hover);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-switch.active { background: var(--accent); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}
.toggle-switch.active::after { left: 29px; }
.save-badge {
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 50px rgba(139,191,62,0.07); }
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 50px;
  letter-spacing: 1.5px;
}
.pricing-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-subtle);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.pricing-card:nth-child(1) .pricing-icon { color: var(--accent-blue); background: rgba(59,130,246,0.1); }
.pricing-card:nth-child(2) .pricing-icon { color: var(--accent); }
.pricing-card:nth-child(3) .pricing-icon { color: var(--accent-purple); background: rgba(168,85,247,0.1); }
.pricing-name { font-family: 'Bebas Neue', cursive; font-size: 26px; letter-spacing: 2px; margin-bottom: 6px; }
.pricing-desc { color: var(--text-secondary); font-size: 13.5px; margin-bottom: 22px; }
.pricing-amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 6px; }
.pricing-currency { font-size: 22px; font-weight: 600; color: var(--text-secondary); }
.pricing-value { font-family: 'Bebas Neue', cursive; font-size: 60px; line-height: 1; letter-spacing: 2px; }
.pricing-period { font-size: 14px; color: var(--text-dim); margin-bottom: 26px; }
.pricing-features { margin-bottom: 30px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-secondary);
}
.pricing-features li i { color: var(--accent); margin-top: 3px; font-size: 11px; }
.pricing-features li.disabled { opacity: 0.3; }
.pricing-features li.disabled i { color: var(--text-dim); }
.btn-pricing {
  width: 100%;
  padding: 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: 'Outfit', sans-serif;
}
.btn-pricing-outline { background: transparent; border: 2px solid var(--border-hover); color: var(--text-primary); }
.btn-pricing-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-pricing-filled { background: var(--accent); border: 2px solid var(--accent); color: #fff; }
.btn-pricing-filled:hover { box-shadow: 0 8px 28px var(--accent-glow); transform: translateY(-2px); }

/* ===== AI FEATURES ===== */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 52px;
}
.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-card); }
.ai-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  border-radius: 50%;
}
.ai-card-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-subtle);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 22px;
}
.ai-card h3 { font-family: 'Bebas Neue', cursive; font-size: 28px; letter-spacing: 2px; margin-bottom: 10px; }
.ai-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; margin-bottom: 22px; }
.ai-features-list { display: grid; gap: 9px; }
.ai-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.ai-features-list li i { color: var(--accent); font-size: 8px; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 190px);
  gap: 10px;
  margin-top: 52px;
}
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery-item:nth-child(1),
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: white; font-family: 'Bebas Neue', cursive; font-size: 20px; letter-spacing: 2px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--bg-card); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1160px;
  margin: 48px auto 0;
}
.testimonial-card {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.testimonial-stars { color: #f59e0b; font-size: 13px; margin-bottom: 18px; }
.testimonial-text { font-size: 14.5px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14.5px; }
.testimonial-role { font-size: 12.5px; color: var(--text-dim); }

/* ===== NEWSLETTER ===== */
.newsletter-section { position: relative; padding: 100px 60px; text-align: center; overflow: hidden; }
.newsletter-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  border-radius: 50%;
}
.newsletter-content { position: relative; z-index: 1; }
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 32px auto 0;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 15px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form input:focus { border-color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 72px 60px 36px;
  transition: background 0.5s ease;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-brand p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.7; max-width: 280px; margin: 14px 0 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 14px;
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h4 {
  font-family: 'Bebas Neue', cursive;
  font-size: 19px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 13.5px;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom p { color: var(--text-dim); font-size: 12.5px; }
.footer-payments { display: flex; gap: 10px; }
.footer-payments i { font-size: 26px; color: var(--text-dim); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { box-shadow: 0 8px 28px var(--accent-glow); }

/* ===== BLOG STYLES ===== */
.blog-featured:hover img { transform: scale(1.03); }
.product-card:hover h3 a { color: var(--accent); }

/* ===== LEGAL PAGES ===== */
.entry-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin: 36px 0 14px;
}

/* ===== FAQ ACCORDION ===== */
.faq-item { transition: border-color 0.3s ease; }
.faq-item.active { border-color: var(--accent-border) !important; }
.faq-item.active .faq-question { color: var(--accent) !important; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 400px !important; padding-bottom: 4px !important; }
.faq-question:hover { background: var(--bg-card-hover) !important; }

/* ===== CONTACT FORM ===== */
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--input-focus-bg);
}

/* ===== CART & CHECKOUT ===== */
.woocommerce .cart-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
    font-size: 16px;
}
.woocommerce .return-to-shop .button {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}
.woocommerce-checkout #payment {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--border) !important;
}
.woocommerce-checkout #payment div.payment_box {
    background: var(--bg-body) !important;
    color: var(--text-secondary) !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}

/* ===== WC MY ACCOUNT ===== */
.woocommerce-MyAccount-navigation {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.woocommerce-MyAccount-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

/* ===== WC ORDER RECEIVED ===== */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    color: var(--accent);
    font-weight: 600;
}

/* ===== PAGINATION ===== */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ===== WOOCOMMERCE NOTICES (improved) ===== */
.woocommerce-notices-wrapper .woocommerce-message {
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

/* ===== WORDPRESS SPECIFIC ===== */
.wp-block-image img { border-radius: var(--radius-sm); }
.entry-content { color: var(--text-secondary); line-height: 1.8; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--text-primary); margin: 1.5em 0 0.5em; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content a { color: var(--accent); }
.entry-content a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .navbar { padding: 0 28px; }
  .section { padding: 80px 28px; }
  .section-full { padding: 80px 28px; }
  .hero-content { padding: 0 28px; }
  .bmi-grid { grid-template-columns: 1fr; }
  .bmi-image { height: 320px; }
  .ai-grid { grid-template-columns: 1fr; }
  .features-bar { padding: 36px 28px; }
  .site-footer { padding: 52px 28px 28px; }
  .hero-stats { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 170px); }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-row: span 1; }
  .newsletter-section { padding: 80px 28px; }
  /* Inner pages responsive */
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .contact-form-grid { grid-template-columns: 1fr !important; }
  .how-it-works-grid { grid-template-columns: 1fr !important; }
  .about-values-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .page-hero-section { padding: 40px 28px !important; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { display: none; }
  .hero h1 { font-size: 46px; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-card { height: 280px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .slider-dots { left: 28px; bottom: 28px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form form { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  /* Inner pages responsive */
  .contact-cards-grid { grid-template-columns: 1fr !important; }
  .about-values-grid { grid-template-columns: 1fr !important; }
  .about-team-grid { grid-template-columns: 1fr !important; }
  .how-it-works-step { grid-template-columns: 1fr !important; }
  .how-it-works-step > div:first-child { display: flex; flex-direction: row; align-items: center; gap: 12px; }
  .how-it-works-step > div:first-child > div:last-child { display: none; }
  .section-title { font-size: clamp(28px, 5vw, 56px); }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-grid .gallery-item { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .products-tabs { flex-wrap: wrap; }
}

/* ===== ACCESSIBILITY: FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-pricing:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ===== SELECT ELEMENT RESET ===== */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ===== FAQ ACCORDION (fixed: override inline styles) ===== */
.faq-item.active .faq-answer {
  max-height: 400px !important;
  padding-bottom: 4px !important;
}
.faq-answer {
  max-height: 0 !important;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

/* ===== CONTACT FORM FEEDBACK ===== */
.vitcoach-notice {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.5s ease;
}
.vitcoach-notice-success {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
}
.vitcoach-notice-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  color: var(--accent-red);
}

