/*
Theme Name: NovaPress
Theme URI: 
Author: 
Author URI: 
Description: A premium purple & neutral WordPress theme with multilevel navigation, full landing page sections, and WooCommerce support. Built for agencies, studios, and bold brands.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
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: novapress
Tags: full-site-editing, blog, portfolio, business, custom-colors, custom-menu, featured-images, responsive-layout, rtl-language-support, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — PURPLE + NEUTRAL PALETTE
   ============================================================ */
:root {
  /* Purple ramp */
  --p50:  #EEEDFE;
  --p100: #CECBF6;
  --p200: #AFA9EC;
  --p400: #7F77DD;
  --p600: #534AB7;
  --p800: #3C3489;
  --p900: #26215C;

  /* Neutral warm ramp */
  --n50:  #F8F7F5;
  --n100: #EFEDE8;
  --n200: #D3D1C7;
  --n400: #888780;
  --n600: #5F5E5A;
  --n800: #2C2C2A;

  /* White */
  --white: #FFFFFF;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;

  /* Radii — upgraded to modern scale */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(83,74,183,0.08);
  --shadow-md: 0 8px 32px rgba(83,74,183,0.13);
  --shadow-lg: 0 20px 60px rgba(83,74,183,0.18);

  /* Transitions — slightly slower, ease-out */
  --trans: 0.28s ease-out;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--n800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--p900);
}

/* Global focus ring */
:focus-visible {
  outline: 2px solid var(--p400);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Wider fluid container */
.container { max-width: clamp(960px, 90vw, 1380px); margin: 0 auto; padding: 0 40px; }

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.8px;
  color: var(--p600); text-transform: uppercase;
  text-align: center; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; color: var(--p900);
  text-align: center; margin-bottom: 12px; letter-spacing: -2px;
}
.section-sub {
  font-size: 17px; color: var(--n600);
  text-align: center; margin-bottom: 56px; max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--p600); color: #fff;
  padding: 8px 16px; z-index: 9999;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--trans);
}
.skip-link:focus { top: 0; }

/* ============================================================
   NAVBAR — sticky, taller, frosted glass
   ============================================================ */
.site-header {
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(83,74,183,0.1);
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  width: 100%;
}

.header-inner {
  display: flex; align-items: center; gap: 28px; height: 76px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--p600); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.site-title {
  font-size: 19px; font-weight: 800; color: var(--p900);
  letter-spacing: -0.5px; white-space: nowrap;
}
.site-title span { color: var(--p600); }

/* Primary Navigation */
.primary-nav { flex: 1; }
.nav-menu { display: flex; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 17px; height: 76px;
  color: var(--n600); font-size: 14px; font-weight: 500;
  transition: color var(--trans); white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li:focus-within > a { color: var(--p600); }

.nav-menu > li > a .menu-arrow {
  font-size: 10px; color: var(--n400);
  transition: transform var(--trans);
  margin-left: 2px;
}
.nav-menu > li:hover > a .menu-arrow,
.nav-menu > li:focus-within > a .menu-arrow { transform: rotate(180deg); color: var(--p600); }

.sub-menu {
  display: none; position: absolute; top: calc(100% + 1px); left: 0;
  background: var(--white); border: 1px solid var(--p100);
  border-top: 2.5px solid var(--p600);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-width: 230px; box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu { display: block; }

.sub-menu li { position: relative; }
.sub-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 18px; color: var(--n600); font-size: 14px;
  border-bottom: 1px solid var(--n100);
  transition: background var(--trans), color var(--trans);
}
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { background: var(--p50); color: var(--p800); }

.sub-menu .sub-menu {
  top: 0; left: 100%; border-top: none;
  border-left: 2.5px solid var(--p400);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 6px 0 24px rgba(83,74,183,0.10);
}
.sub-menu li:hover > .sub-menu,
.sub-menu li:focus-within > .sub-menu { display: block; }

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

.search-form {
  display: flex; align-items: center;
  background: var(--n50); border: 1px solid var(--n200);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color var(--trans);
}
.search-form:focus-within { border-color: var(--p400); }
.search-form input[type="search"] {
  background: none; border: none; outline: none;
  color: var(--n800); padding: 8px 14px; font-size: 13.5px; width: 180px;
}
.search-form input[type="search"]::placeholder { color: var(--n400); }
.search-form button[type="submit"] {
  background: var(--p600); border: none; padding: 0 13px; height: 36px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.search-form button[type="submit"]:hover { background: var(--p800); }
.search-form button[type="submit"] svg { width: 15px; height: 15px; fill: #fff; }

.btn-cta {
  background: var(--p600); color: #fff; border: none;
  padding: 10px 22px; font-size: 14px; font-weight: 600;
  border-radius: var(--radius-md); cursor: pointer;
  white-space: nowrap; transition: background var(--trans), transform var(--trans);
}
.btn-cta:hover { background: var(--p800); color: #fff; transform: translateY(-1px); }
.btn-cta:active { transform: scale(0.97); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--p900);
}
.menu-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* ============================================================
   HERO — full-bleed, taller, noise overlay, bigger type
   ============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, var(--p900) 0%, var(--p600) 55%, #7B74D4 100%);
  padding: 140px 40px 130px;
  text-align: center;
  overflow: hidden;
}

/* Radial glow accent */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(ellipse at center, rgba(175,169,236,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle noise texture overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-section > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28);
  border-radius: 30px; padding: 6px 20px;
  font-size: 12.5px; color: var(--p100); margin-bottom: 28px;
  letter-spacing: 0.5px; backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(44px, 6.5vw, 80px); font-weight: 800; color: #fff;
  line-height: 1.08; letter-spacing: -3px; margin-bottom: 22px;
}
.hero-title em { color: var(--p100); font-style: normal; }
.hero-description {
  color: var(--p100); font-size: 19px; max-width: 660px;
  margin: 0 auto 44px; line-height: 1.75; opacity: 0.92;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-hero-primary {
  background: #fff; color: var(--p800); border: none;
  padding: 16px 36px; font-size: 15.5px; font-weight: 700;
  border-radius: var(--radius-md); cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--p900); }
.btn-hero-primary:active { transform: scale(0.97); }

.btn-hero-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 16px 36px; font-size: 15.5px; font-weight: 500;
  border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--trans), border-color var(--trans);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-hero-outline:active { transform: scale(0.97); }

.hero-stats {
  display: flex; justify-content: center; gap: 64px; flex-wrap: wrap;
  margin-top: 72px; padding-top: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 100%);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.hero-stat-label { font-size: 12.5px; color: var(--p100); opacity: 0.82; margin-top: 4px; letter-spacing: 0.4px; }

/* ============================================================
   FEATURES — Warm neutral bg, pinned 3-col, bigger cards
   ============================================================ */
.features-section { background: var(--n50); padding: 108px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--p100);
  border-radius: var(--radius-lg); padding: 36px 36px;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}
.feature-card:hover { border-color: var(--p400); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--p50); display: flex; align-items: center;
  justify-content: center; margin-bottom: 22px;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--p600); }
.feature-title { font-size: 16px; font-weight: 700; color: var(--p900); margin-bottom: 10px; }
.feature-text { font-size: 14px; color: var(--n600); line-height: 1.7; }

/* ============================================================
   SERVICES — Deep purple bg, pinned 3-col
   ============================================================ */
.services-section { background: var(--p900); padding: 108px 0; }
.services-section .section-label { color: var(--p200); }
.services-section .section-title { color: #fff; }
.services-section .section-sub { color: var(--p200); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 36px 32px; cursor: pointer;
  transition: background var(--trans), border-color var(--trans), transform var(--trans);
}
.service-card:hover { background: rgba(255,255,255,0.11); border-color: var(--p400); transform: translateY(-4px); }
.service-num { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--p400); margin-bottom: 16px; }
.service-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.service-text { font-size: 14px; color: var(--p200); line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 13.5px; color: var(--p400);
  font-weight: 600; transition: color var(--trans);
}
.service-link:hover { color: var(--p200); }
.service-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================
   TESTIMONIALS — Soft neutral bg, pinned 3-col, bigger cards
   ============================================================ */
.testimonials-section { background: var(--n100); padding: 108px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--n200);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: box-shadow var(--trans), transform var(--trans);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--p400); }
.testimonial-text {
  font-size: 14.5px; color: var(--n600); line-height: 1.8;
  margin-bottom: 22px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--p100); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--p800); flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--p900); }
.testimonial-role { font-size: 12.5px; color: var(--n400); }

/* ============================================================
   CTA BAND — deeper padding, bigger type
   ============================================================ */
.cta-section {
  background: linear-gradient(110deg, var(--p900) 0%, var(--p600) 100%);
  padding: 96px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(175,169,236,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -1.5px; }
.cta-section p { color: var(--p100); font-size: 17px; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--p800); border: none;
  padding: 15px 32px; font-size: 15px; font-weight: 700;
  border-radius: var(--radius-md); cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--p900); }
.btn-white:active { transform: scale(0.97); }
.btn-ghost-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 15px 32px; font-size: 15px; font-weight: 500;
  border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--trans), border-color var(--trans);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.75); color: #fff; }
.btn-ghost-white:active { transform: scale(0.97); }

/* ============================================================
   FOOTER — deep purple-neutral tint, more padding
   ============================================================ */
.site-footer { background: #1E1C38; padding: 72px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .site-title { color: #fff; }
.footer-description { font-size: 14px; color: var(--n400); margin-top: 14px; line-height: 1.75; max-width: 300px; }
.footer-widget h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  color: var(--n400); text-transform: uppercase; margin-bottom: 18px;
}
.footer-widget ul li { margin-bottom: 12px; }
.footer-widget ul li a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color var(--trans); }
.footer-widget ul li a:hover { color: var(--p200); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-socials { display: flex; gap: 18px; }
.footer-socials a { color: rgba(255,255,255,0.35); font-size: 18px; transition: color var(--trans); }
.footer-socials a:hover { color: var(--p200); }

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--n400); text-align: center; margin-top: 4px; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute;
  height: 1px; width: 1px; overflow: hidden;
}

/* ============================================================
   SINGLE POST / PAGE CONTENT
   ============================================================ */
.entry-content {
  max-width: 760px; margin: 60px auto; padding: 0 32px;
}
.entry-content h1 { font-size: 40px; margin-bottom: 22px; letter-spacing: -1.5px; }
.entry-content h2 { font-size: 28px; margin: 40px 0 16px; letter-spacing: -0.8px; }
.entry-content h3 { font-size: 22px; margin: 32px 0 12px; }
.entry-content p { margin-bottom: 20px; color: var(--n600); }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 20px; color: var(--n600); }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 3px solid var(--p600); padding: 16px 24px;
  margin: 28px 0; background: var(--p50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--p800);
}
.entry-content code {
  background: var(--n100); padding: 3px 8px;
  border-radius: var(--radius-sm); font-size: 14px; font-family: monospace;
}
.entry-content pre {
  background: var(--n800); color: var(--n100); padding: 24px;
  border-radius: var(--radius-md); overflow-x: auto; margin-bottom: 24px;
}

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; padding: 60px 0; max-width: clamp(960px, 90vw, 1380px); margin: 0 auto;
  padding-left: 40px; padding-right: 40px;
}
.post-card {
  background: var(--white); border: 1px solid var(--p100);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--trans), border-color var(--trans), transform var(--trans);
}
.post-card:hover { box-shadow: var(--shadow-md); border-color: var(--p400); transform: translateY(-4px); }
.post-thumbnail img { width: 100%; height: 220px; object-fit: cover; }
.post-card-body { padding: 26px 28px; }
.post-category {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--p600); text-transform: uppercase; margin-bottom: 10px;
}
.post-card-title { font-size: 18px; font-weight: 700; color: var(--p900); margin-bottom: 12px; line-height: 1.35; letter-spacing: -0.3px; }
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--p600); }
.post-excerpt { font-size: 14px; color: var(--n600); line-height: 1.7; margin-bottom: 18px; }
.read-more { font-size: 13.5px; font-weight: 600; color: var(--p600); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 48px 0; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; color: var(--n600);
  border: 1px solid var(--n200); transition: all var(--trans);
}
.pagination a:hover { background: var(--p50); border-color: var(--p400); color: var(--p600); }
.pagination .current { background: var(--p600); color: #fff; border-color: var(--p600); }

/* ============================================================
   FORMS
   ============================================================ */
.wp-form input[type="text"],
.wp-form input[type="email"],
.wp-form input[type="tel"],
.wp-form textarea,
.wp-form select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--n200);
  border-radius: var(--radius-md); font-size: 14px; color: var(--n800);
  background: var(--white); outline: none; transition: border-color var(--trans);
  font-family: var(--font-sans);
}
.wp-form input:focus, .wp-form textarea:focus, .wp-form select:focus {
  border-color: var(--p400);
  box-shadow: 0 0 0 3px rgba(127,119,221,0.14);
}
.wp-form textarea { resize: vertical; min-height: 140px; }
.wp-form button[type="submit"], .wp-form input[type="submit"] {
  background: var(--p600); color: #fff; border: none;
  padding: 13px 30px; font-size: 14.5px; font-weight: 600;
  border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.wp-form button[type="submit"]:hover { background: var(--p800); transform: translateY(-1px); }
.wp-form button[type="submit"]:active { transform: scale(0.97); }

/* ============================================================
   WOOCOMMERCE BASIC OVERRIDES
   ============================================================ */
.woocommerce .button {
  background: var(--p600) !important; color: #fff !important;
  border-radius: var(--radius-md) !important; font-weight: 600 !important;
  transition: background var(--trans) !important;
}
.woocommerce .button:hover { background: var(--p800) !important; }
.woocommerce-message { border-top-color: var(--p600) !important; }
.woocommerce .woocommerce-info { border-top-color: var(--p400) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .features-grid, .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .primary-nav { display: none; width: 100%; order: 3; }
  .primary-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 14px 24px; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li > a { height: auto; padding: 13px 0; border-bottom: 1px solid var(--n100); }
  .sub-menu { position: static; box-shadow: none; border: none; border-left: 3px solid var(--p200); padding-left: 14px; }
  .sub-menu .sub-menu { border-left: 3px solid var(--p100); }
  .header-actions { display: none; }
  .hero-section { padding: 80px 24px 80px; }
  .hero-stats { gap: 28px; }
  .features-section, .services-section, .testimonials-section { padding: 72px 0; }
  .features-grid, .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; letter-spacing: -1.5px; }
  .section-title { font-size: 26px; letter-spacing: -0.8px; }
  .cta-section h2 { font-size: 26px; }
  .hero-description { font-size: 16px; }
}
