/*
Theme Name: SerpZenith — serpzenith-theme-v1
Theme URI: https://serpzenith.net
Author: WP-Flash | SerpZenith
Author URI: https://serpzenith.net
Description: Bespoke raw PHP theme for SerpZenith — affordable SEO agency, link-building marketplace and client platform. WooCommerce + Rank Math compatible. Built with WP-Flash v4.0.
Version: 1.8.0
Requires PHP: 8.0
Tested up to: 6.7
License: Private
Text Domain: serpzenith
*/

/* ==========================================================================
   1. DESIGN TOKENS — from config/visual-identity.json (logo-derived)
   ========================================================================== */
:root {
  --brand-primary: #101828;
  --brand-primary-hover: #1D2939;
  --brand-secondary: #344054;
  --brand-accent: #7ED000;        /* CTA fills ONLY — never as text on white */
  --brand-accent-dark: #6BB300;
  --brand-accent-text: #3D7A00;   /* WCAG-safe green for links/labels on white */
  --brand-dark: #101828;
  --brand-text: #344054;
  --brand-muted: #667085;
  --brand-light: #F8FAFC;
  --brand-border: #E4E7EC;
  --brand-success: #067647;
  --brand-warning: #B54708;
  --brand-error: #B42318;
  --brand-white: #ffffff;

  /* One professional font site-wide (2026-07 header rebuild spec) */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Header system */
  --header-h: 90px;
  --header-border: #ececec;
  --nav-font-size: 16px;
  --nav-pad-x: clamp(12px, 1.1vw, 22px);
  --nav-hover-bg: #f8f9fb;
  --mega-radius: 10px;
  --mega-transition: 0.25s;

  --radius: 8px;
  --radius-btn: 6px;
  --shadow-sm: 0 1px 3px rgba(16,24,40,.07);
  --shadow-md: 0 4px 16px rgba(16,24,40,.09);
  --shadow-lg: 0 12px 32px rgba(16,24,40,.14);

  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-section: 80px;

  --container: 1240px;
  --container-narrow: 800px;
}

/* ==========================================================================
   2. FONTS — self-hosted variable woff2 (performance requirement)
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Off-canvas mobile nav (translateX 100%) must never create horizontal scroll */
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--brand-text);
  background: var(--brand-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-accent-text); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-primary); }
ul, ol { padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-accent-text); outline-offset: 2px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand-dark); color: #fff; padding: 10px 18px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: #fff; }
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  overflow: hidden; position: absolute !important; word-wrap: normal !important;
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-dark);
  line-height: 1.15;
  font-weight: 800;
}
h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(27px, 4vw, 40px); letter-spacing: -0.02em; }
h3 { font-size: clamp(21px, 3vw, 28px); }
h4 { font-size: 20px; font-weight: 700; }
h5 { font-size: 17px; font-weight: 700; }
p { margin-bottom: 1.15em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 19px; color: var(--brand-muted); }
strong { color: var(--brand-dark); }

/* ==========================================================================
   5. LAYOUT
   ========================================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-section) 0; }
.section-tight { padding: var(--sp-5) 0; }
.section-dark { background: var(--brand-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-light { background: var(--brand-light); }
.section-header { max-width: 720px; margin-bottom: var(--sp-5); }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
  display: inline-block; color: var(--brand-accent-text);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.section-dark .section-label { color: var(--brand-accent); }
.section-sub { color: var(--brand-muted); font-size: 18px; margin-top: 10px; }

.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Content + sidebar layout */
.layout-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: var(--sp-5); align-items: start; }
@media (max-width: 1024px) { .layout-sidebar { grid-template-columns: 1fr; } }

/* ==========================================================================
   6. BUTTONS — lime fill + dark text is the ONLY primary combo (WCAG 8.9:1)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2;
  cursor: pointer; border: 1.5px solid transparent; text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-accent); color: var(--brand-dark); border-color: var(--brand-accent); }
.btn-primary:hover { background: var(--brand-accent-dark); border-color: var(--brand-accent-dark); color: var(--brand-dark); }
.btn-dark { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.btn-dark:hover { background: var(--brand-primary-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-dark); color: #fff; }
.section-dark .btn-outline, .hero .btn-outline, .cta-final .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.section-dark .btn-outline:hover, .hero .btn-outline:hover, .cta-final .btn-outline:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   7. CARDS
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: #d5dae2; }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(126,208,0,.12); color: var(--brand-accent-text);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--brand-muted); }
.card-link { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; }
.card .card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.service-card { padding: 16px 16px 22px; }
.service-card h3, .service-card p, .service-card .card-link { padding: 0 8px; }
.card-link::after { content: "→"; transition: transform .18s; }
.card-link:hover::after { transform: translateX(3px); }

/* ==========================================================================
   8. ANNOUNCEMENT BAR
   ========================================================================== */
.announce-bar { background: var(--brand-dark); color: rgba(255,255,255,.85); font-size: 13px; }
.announce-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 24px; max-width: 1360px; margin: 0 auto; }
.announce-links { display: flex; align-items: center; gap: 20px; }
.announce-bar a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); font-weight: 500; }
.announce-bar a:hover { color: var(--brand-accent); }
.announce-bar svg { width: 13px; height: 13px; }
@media (max-width: 768px) { .announce-links.secondary { display: none; } }

/* ==========================================================================
   9. HEADER — enterprise navigation (90px sticky, white, 4-col mega)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: var(--brand-white);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.header-inner {
  display: flex; align-items: center;
  height: var(--header-h);
  max-width: 1360px; margin: 0 auto; padding: 0 24px;
  gap: 8px;
}

/* Logo — vertically centered, capped height */
.site-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 21px; font-weight: 800;
  color: var(--brand-dark); line-height: 1; white-space: nowrap; flex: none;
}
.site-logo img { width: auto; height: 48px; max-height: 48px; border-radius: 50%; }
.site-logo .zen { color: var(--brand-accent-text); }

/* Primary nav — identical spacing, no wrapping, centered block */
.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-list { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-item { position: static; } /* mega panels anchor to .site-header, not the item */
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 var(--nav-pad-x);
  font-family: var(--font-body);
  font-size: var(--nav-font-size); font-weight: 600;
  letter-spacing: 0; line-height: 1.4;
  color: var(--brand-secondary); white-space: nowrap;
  background: none; border: none; border-radius: 8px; cursor: pointer;
  transition: color var(--mega-transition) ease, background-color var(--mega-transition) ease;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--brand-dark); background: var(--nav-hover-bg); }
.nav-caret { display: inline-flex; align-items: center; transition: transform var(--mega-transition) ease; }
.nav-caret svg { width: 16px; height: 16px; }
.nav-item.open .nav-caret { transform: rotate(180deg); }

/* ----- Mega panel — full width, anchored under the header ----- */
.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--brand-white);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 24px 48px -12px rgba(16,24,40,.14);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--mega-transition) ease, transform var(--mega-transition) ease, visibility var(--mega-transition);
  pointer-events: none;
}
.nav-item.open > .mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.mega-inner { max-width: 1360px; margin: 0 auto; padding: 40px 24px 0; }
.mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-bottom: 32px;
}
.mega-col {
  background: transparent; border-radius: var(--mega-radius);
  padding: 20px; transition: background-color var(--mega-transition) ease;
}
.mega-col:hover { background: var(--nav-hover-bg); }
.mega-heading {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-muted); margin: 0 0 14px; line-height: 1.4;
}
.mega-links { list-style: none; padding: 0; margin: 0; }
.mega-links li + li { margin-top: 2px; }
.mega-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; margin: 0 -10px;
  font-size: 15px; font-weight: 500; line-height: 1.4;
  color: var(--brand-secondary); border-radius: 8px; white-space: nowrap;
  transition: color var(--mega-transition) ease, background-color var(--mega-transition) ease;
}
.mega-links a > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.mega-ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(126,208,0,.12); color: var(--brand-accent-text);
  transition: background-color var(--mega-transition) ease, color var(--mega-transition) ease;
}
.mega-ico svg { width: 15px; height: 15px; }
.mega-links a:hover { color: var(--brand-dark); background: var(--nav-hover-bg); }
.mega-links a:hover .mega-ico { background: var(--brand-accent); color: var(--brand-dark); }

.mega-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--header-border);
  padding: 16px 20px; margin: 0 -24px; padding-left: 44px; padding-right: 44px;
  background: var(--nav-hover-bg);
}
.mega-footer-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.mega-footer-links a { font-size: 14px; font-weight: 500; color: var(--brand-muted); white-space: nowrap; }
.mega-footer-links a:hover { color: var(--brand-dark); }
.mega-view-all { font-size: 14.5px; font-weight: 600; color: var(--brand-accent-text); white-space: nowrap; }
.mega-view-all:hover { color: var(--brand-dark); }

/* ----- Header actions ----- */
.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px;
  color: var(--brand-secondary); background: none; border: none; cursor: pointer;
  transition: color var(--mega-transition) ease, background-color var(--mega-transition) ease;
}
.icon-btn:hover { background: var(--nav-hover-bg); color: var(--brand-dark); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px;
  background: var(--brand-accent); color: var(--brand-dark); border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; padding: 0 4px;
}
.cart-count.is-empty { display: none; }

/* CTA — far right, fixed height, never overflows */
.header-cta {
  height: 48px; padding: 0 30px; margin-left: 12px;
  border-radius: 8px; font-size: 15px; font-weight: 600; white-space: nowrap;
}

/* ----- Header search bar ----- */
.header-search { border-top: 1px solid var(--header-border); background: var(--brand-white); }
.header-search-inner { max-width: 1360px; margin: 0 auto; padding: 14px 24px; }
.header-search form {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--brand-border); border-radius: 8px; padding: 4px 6px 4px 16px;
  max-width: 720px; margin: 0 auto;
}
.header-search svg { color: var(--brand-muted); flex: none; }
.header-search input {
  flex: 1; border: none; outline: none; font-size: 15.5px; min-width: 0;
  height: 40px; background: transparent;
}

/* ----- Responsive: tablet & mobile ----- */
.hamburger { display: none; }
@media (max-width: 1240px) {
  .header-cta { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .site-logo img { height: 38px; }
}

/* ----- Mobile drawer (separate navigation) ----- */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 380;
  background: rgba(16,24,40,.45);
  opacity: 0; transition: opacity var(--mega-transition) ease;
}
.mobile-nav-overlay.open { opacity: 1; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 400;
  width: min(400px, 92vw);
  background: var(--brand-white);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 40px rgba(16,24,40,.18);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--header-border); flex: none;
}
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 8px 12px 20px; }
.m-item { border-bottom: 1px solid var(--header-border); }
.m-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 52px; padding: 0 10px;
  font-size: 16px; font-weight: 600; color: var(--brand-dark);
  background: none; border: none; cursor: pointer; text-align: left;
}
.m-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.m-panel { padding: 4px 10px 16px; }
.m-heading {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--brand-muted); margin: 14px 0 4px;
}
.m-link {
  display: block; padding: 10px 12px; margin: 0 -12px;
  font-size: 15px; font-weight: 500; color: var(--brand-secondary); border-radius: 8px;
}
.m-link:hover { background: var(--nav-hover-bg); color: var(--brand-dark); }
.m-link.m-top {
  font-size: 16px; font-weight: 600; color: var(--brand-dark);
  min-height: 52px; display: flex; align-items: center;
  border-bottom: 1px solid var(--header-border); margin: 0; border-radius: 0;
}
.m-view-all { color: var(--brand-accent-text); font-weight: 600; }
.mobile-nav-foot {
  display: grid; gap: 10px; padding: 16px 20px;
  border-top: 1px solid var(--header-border); flex: none;
}

/* Reduced motion: kill panel animations */
@media (prefers-reduced-motion: reduce) {
  .mega-panel, .mobile-nav, .mobile-nav-overlay, .nav-caret { transition: none; }
}

/* ==========================================================================
   10. HERO
   ========================================================================== */
.hero { background: linear-gradient(180deg, #0B1120 0%, var(--brand-dark) 100%); color: #fff; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 78% 28%, rgba(126,208,0,.13), transparent 65%),
    radial-gradient(520px 380px at 8% 90%, rgba(126,208,0,.05), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-6); align-items: center; padding: 72px 24px 80px; max-width: var(--container); margin: 0 auto; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--brand-accent); border: 1px solid rgba(126,208,0,.35); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--brand-accent); }
.hero-sub { font-size: 18.5px; color: rgba(255,255,255,.75); max-width: 540px; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.65); }
.hero-trust span strong { color: #fff; }
.hero-visual { position: relative; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding: 48px 24px 56px; } .hero-visual { display: none; } }

/* Hero dashboard visual (pure CSS, replaced by real screenshot via Customizer) */
.hero-dash {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 26px;
  box-shadow: 0 24px 64px -24px rgba(0,0,0,.55);
}
.hero-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-dash-head strong { color: #fff; font-family: var(--font-heading); }
.hero-dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.hd-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 14px 16px; }
.hd-stat .lbl { font-size: 12px; color: rgba(255,255,255,.55); }
.hd-stat .num { font-family: var(--font-heading); font-weight: 800; font-size: 24px; color: #fff; margin-top: 2px; }
.hd-stat .num.accent { color: var(--brand-accent); }
.hero-dash-chart { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-bottom: 6px; }
.hero-dash-chart span { flex: 1; height: var(--h, 40%); border-radius: 3px 3px 0 0; background: rgba(255,255,255,.14); }
.hero-dash-chart span.up { background: linear-gradient(180deg, var(--brand-accent), rgba(126,208,0,.3)); }
.hero-dash-caption { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 14px; }

/* Review source pills */
.review-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.review-pill {
  display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 8px 14px; font-size: 13px;
}
.review-pill strong { color: #fff; }
.review-pill .stars { color: var(--brand-accent); letter-spacing: 1px; }

/* ==========================================================================
   11. TRUST / PROOF BAR (numbers editable from admin)
   ========================================================================== */
.proof-bar { background: #fff; border-bottom: 1px solid var(--brand-border); }
.proof-inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding: 26px 24px; max-width: var(--container); margin: 0 auto; text-align: center; }
.proof-num { font-family: var(--font-heading); font-size: 30px; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.proof-label { font-size: 13px; color: var(--brand-muted); margin-top: 3px; }
@media (min-width: 901px) { .proof-item + .proof-item { border-left: 1px solid var(--brand-border); } }
@media (max-width: 900px) { .proof-inner { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .proof-inner { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   12. PROCESS / HOW IT WORKS
   ========================================================================== */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step-num {
  font-family: var(--font-heading); font-weight: 800; font-size: 15px;
  width: 34px; height: 34px; border-radius: 999px; background: var(--brand-accent);
  color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* ==========================================================================
   13. CITY / DIRECTORY GRIDS
   ========================================================================== */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.chip {
  display: flex; align-items: center; gap: 8px; padding: 11px 15px;
  border: 1px solid var(--brand-border); border-radius: var(--radius);
  font-size: 14.5px; font-weight: 500; color: var(--brand-secondary); background: #fff;
}
.chip:hover { border-color: var(--brand-accent-text); color: var(--brand-accent-text); }
.chip svg { width: 15px; height: 15px; color: var(--brand-accent-text); flex: none; }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--brand-border); }
.faq-item { border-bottom: 1px solid var(--brand-border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--brand-dark);
}
.faq-q .faq-icon { flex: none; width: 22px; height: 22px; color: var(--brand-accent-text); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 4px 22px; color: var(--brand-muted); max-width: 760px; }
.faq-item.open .faq-a { display: block; }

/* ==========================================================================
   15. TESTIMONIALS
   ========================================================================== */
.testimonial { display: flex; flex-direction: column; gap: 14px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--brand-border); }
.testimonial .stars { color: #F5A623; font-size: 15px; letter-spacing: 2px; }
.testimonial blockquote { font-size: 15.5px; color: var(--brand-text); }
.testimonial-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; }
.testimonial-meta .who { font-weight: 600; font-size: 14.5px; color: var(--brand-dark); }
a.testimonial-meta .who, .testimonial-meta a.who { text-decoration: none; }
.testimonial-meta a.who:hover { color: var(--brand-accent-text); }
.source-badge {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--brand-light); border: 1px solid var(--brand-border);
  color: var(--brand-muted); border-radius: 999px; padding: 3px 10px;
}

/* ==========================================================================
   16. CTA SECTION
   ========================================================================== */
.cta-final { background: var(--brand-dark); border-radius: 16px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 300px at 50% 0%, rgba(126,208,0,.16), transparent 70%);
}
.cta-final > * { position: relative; }
.cta-final h2 { color: #fff; margin-bottom: 12px; }
.cta-final p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 28px; }
.cta-final .hero-ctas { justify-content: center; }
@media (max-width: 640px) { .cta-final { padding: 40px 24px; } }

/* ==========================================================================
   17. BREADCRUMBS
   ========================================================================== */
.breadcrumbs { font-size: 13.5px; color: var(--brand-muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--brand-muted); }
.breadcrumbs a:hover { color: var(--brand-accent-text); }
.breadcrumbs .sep { margin: 0 7px; opacity: .5; }

/* ==========================================================================
   18. PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { padding: 40px 0 48px; }
.page-hero h1 { max-width: 820px; margin-bottom: 14px; }
.page-hero .lead { max-width: 720px; }
.page-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ==========================================================================
   19. ARTICLE / PROSE
   ========================================================================== */
.prose { max-width: var(--container-narrow); }
.prose h2 { margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose ul, .prose ol { margin-bottom: 1.15em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { border-left: 3px solid var(--brand-accent); padding: 4px 0 4px 20px; margin: 1.5em 0; color: var(--brand-muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--brand-border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--brand-light); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; }

/* ==========================================================================
   20. SIDEBAR
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; align-self: start; }
.sidebar-card { background: var(--brand-light); border: 1px solid var(--brand-border); border-radius: var(--radius); padding: 22px; }
.sidebar-card.dark { background: var(--brand-dark); border-color: var(--brand-dark); }
.sidebar-card.dark h4 { color: #fff; }
.sidebar-card.dark p { color: rgba(255,255,255,.72); font-size: 14px; }
.sidebar-card h4 { margin-bottom: 10px; font-size: 16.5px; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li { border-bottom: 1px solid var(--brand-border); }
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card li a { display: block; padding: 9px 0; font-size: 14.5px; color: var(--brand-secondary); }
.sidebar-card li a:hover { color: var(--brand-accent-text); }
.sidebar-card .btn { width: 100%; margin-top: 6px; }
@media (max-width: 1024px) { .sidebar { position: static; } }

/* ==========================================================================
   21. FORMS
   ========================================================================== */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--brand-dark); margin-bottom: 6px; }
.form-field .required { color: var(--brand-error); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--brand-border);
  border-radius: var(--radius-btn); font-size: 15.5px; background: #fff; color: var(--brand-text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--brand-accent-text); outline: none; box-shadow: 0 0 0 3px rgba(126,208,0,.18);
}
.form-field .field-error { color: var(--brand-error); font-size: 13px; margin-top: 4px; display: none; }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--brand-error); }
.form-field.has-error .field-error { display: block; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--brand-muted); }
.form-consent input { width: auto; margin-top: 3px; }
.form-msg { border-radius: var(--radius-btn); padding: 14px 16px; font-size: 15px; display: none; }
.form-msg.success { display: block; background: #EDFDF3; border: 1px solid #A6F4C5; color: var(--brand-success); }
.form-msg.error { display: block; background: #FEF3F2; border: 1px solid #FECDCA; color: var(--brand-error); }
.hp-field { position: absolute !important; left: -9999px !important; }

/* ==========================================================================
   22. WOOCOMMERCE — theme grid replaces Woo layout CSS (dequeued)
   ========================================================================== */
.woo-wrap { padding: 32px 0 var(--sp-section); }
.woo-wrap .woocommerce-breadcrumb { font-size: 13.5px; color: var(--brand-muted); margin-bottom: 20px; }
.woo-wrap .woocommerce-breadcrumb a { color: var(--brand-muted); }
.woo-wrap .woocommerce-products-header { margin-bottom: 8px; }
.woo-wrap .woocommerce-products-header__title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 6px; }
.term-description { color: var(--brand-muted); max-width: 720px; margin-bottom: 8px; }

/* Result count + ordering bar */
.woocommerce-result-count { color: var(--brand-muted); font-size: 14px; margin: 14px 0 20px; float: none; display: inline-block; }
.woocommerce-ordering { float: none; display: inline-block; margin: 14px 0 20px; }
.woocommerce-ordering select {
  border: 1px solid var(--brand-border); border-radius: 8px; padding: 9px 14px;
  font-size: 14px; background: #fff; color: var(--brand-secondary);
}
.woo-toolbar-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.woocommerce-notices-wrapper:empty { display: none; }

/* ----- Product grid (all contexts: shop, home shortcode, related, upsells) ----- */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none; padding: 0 !important; margin: 8px 0 0 !important;
  clear: both;
}
ul.products::before, ul.products::after { display: none !important; }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { ul.products, ul.products.columns-4, ul.products.columns-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { ul.products, ul.products[class*="columns-"] { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 520px)  { ul.products, ul.products[class*="columns-"] { grid-template-columns: 1fr !important; } }

ul.products li.product {
  width: 100% !important; float: none !important; margin: 0 !important;
  position: relative;
  background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius);
  padding: 16px 16px 20px; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease;
}
ul.products li.product:hover { box-shadow: var(--shadow-md); border-color: #d5dae2; }
ul.products li.product a img {
  width: 100%; height: auto; border-radius: 6px; margin: 0 0 14px !important;
  aspect-ratio: 1 / 1; object-fit: cover;
}
ul.products li.product .woocommerce-loop-product__link { display: flex; flex-direction: column; color: inherit; }
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading); font-size: 15.5px; font-weight: 700;
  color: var(--brand-dark); line-height: 1.35; margin: 0 0 8px; padding: 0;
}
ul.products li.product .star-rating { margin: 0 0 8px; font-size: 12px; }
ul.products li.product .price {
  color: var(--brand-dark); font-weight: 700; font-size: 16.5px; margin: 0 0 14px;
  display: block;
}
ul.products li.product .price del { color: var(--brand-muted); font-weight: 400; opacity: .7; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .button {
  margin-top: auto !important;
  background: var(--brand-accent); color: var(--brand-dark);
  border: none; border-radius: var(--radius-btn);
  padding: 11px 18px; font-weight: 600; font-size: 14.5px; text-align: center;
  transition: background .18s ease;
}
ul.products li.product .button:hover { background: var(--brand-accent-dark); color: var(--brand-dark); }
ul.products li.product .added_to_cart {
  margin-top: 8px; text-align: center; font-size: 13.5px; font-weight: 600;
}

/* Sale badge */
span.onsale {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  background: var(--brand-dark); color: var(--brand-accent);
  font-size: 12px; font-weight: 700; line-height: 1;
  border-radius: 999px; padding: 6px 12px;
  min-width: 0; min-height: 0; margin: 0 !important;
}

/* Homepage products section: kill Woo wrapper margins */
.section .woocommerce { margin: 0; }

/* ----- Single product ----- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 40px; align-items: start; position: relative; }
@media (max-width: 860px) { .single-product div.product { grid-template-columns: 1fr; } }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--radius); }
.single-product div.product .entry-summary { width: 100% !important; float: none !important; }
.single-product div.product .product_title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.single-product div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.single-product div.product p.price, .single-product div.product span.price {
  color: var(--brand-dark); font-weight: 800; font-size: 28px; margin-bottom: 16px; display: block;
}
.single-product div.product .woocommerce-product-details__short-description { color: var(--brand-secondary); margin-bottom: 18px; }
.single-product div.product form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 18px 0 22px; }
.single-product div.product form.cart div.quantity { display: flex; }
.single-product div.product form.cart .qty {
  width: 84px; padding: 12px 10px; border: 1px solid var(--brand-border);
  border-radius: var(--radius-btn); text-align: center; font-size: 15px;
}
.single-product div.product form.cart .single_add_to_cart_button {
  background: var(--brand-accent); color: var(--brand-dark); border: none;
  border-radius: var(--radius-btn); padding: 13px 30px; font-weight: 700; font-size: 16px;
  transition: background .18s ease;
}
.single-product div.product form.cart .single_add_to_cart_button:hover { background: var(--brand-accent-dark); }
.product_meta { font-size: 13.5px; color: var(--brand-muted); border-top: 1px solid var(--brand-border); padding-top: 14px; }
.product_meta > span { display: block; margin-bottom: 4px; }

/* Tabs */
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce-tabs ul.tabs {
  display: flex; gap: 4px; list-style: none; padding: 0 !important; margin: 0 0 0 !important;
  border-bottom: 1px solid var(--brand-border); overflow-x: auto;
}
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li {
  background: none !important; border: none !important; border-radius: 0 !important;
  padding: 0 !important; margin: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  display: inline-block; padding: 12px 18px; font-weight: 600; font-size: 15px;
  color: var(--brand-muted); border-bottom: 2px solid transparent; white-space: nowrap;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--brand-dark); border-bottom-color: var(--brand-accent); }
.woocommerce-tabs .panel { padding: 28px 0 0; max-width: 820px; }
.woocommerce-tabs .panel h2:first-child { font-size: 22px; }

/* Related / upsells */
.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 48px; }
.related.products > h2, .upsells.products > h2 { font-size: 24px; margin-bottom: 18px; }

/* ----- Notices ----- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: 1px solid var(--brand-border); border-left: 4px solid var(--brand-accent-dark);
  background: var(--brand-light); border-radius: var(--radius-btn);
  padding: 14px 18px !important; margin-bottom: 20px; color: var(--brand-text);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; list-style: none;
}
.woocommerce-error { border-left-color: var(--brand-error); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  order: 2; margin-left: auto; background: var(--brand-dark); color: #fff;
  border-radius: var(--radius-btn); padding: 8px 16px; font-size: 13.5px; font-weight: 600;
}

/* ----- Cart / checkout / tables ----- */
.woocommerce table.shop_table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--brand-border);
  border-radius: var(--radius); overflow: hidden; font-size: 15px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  padding: 13px 16px; border-bottom: 1px solid var(--brand-border); text-align: left;
}
.woocommerce table.shop_table th { background: var(--brand-light); font-weight: 600; font-size: 13.5px; }
.woocommerce table.shop_table img { width: 56px; border-radius: 6px; }
.wc-proceed-to-checkout a.checkout-button, .woocommerce #payment #place_order {
  display: block; text-align: center; background: var(--brand-accent); color: var(--brand-dark);
  font-weight: 700; font-size: 16.5px; border: none; border-radius: var(--radius-btn); padding: 15px 28px;
}
.wc-proceed-to-checkout a.checkout-button:hover, .woocommerce #payment #place_order:hover { background: var(--brand-accent-dark); color: var(--brand-dark); }
/* BUGFIX: the generic ".form-row { display:grid; grid-template-columns:1fr 1fr }" rule (Forms
   section) was matching WooCommerce's own per-field ".form-row" wrapper (checkout, login,
   register, edit-address, edit-account), forcing each field's <label> and <input> to sit side
   by side instead of stacked. Scoped to WooCommerce's own width-modifier classes (every WC/theme
   field wrapper always carries one) so it can't catch unrelated ".form-row" layouts elsewhere,
   like the dashboard's support-ticket form which reuses that class name for an actual 2-up grid. */
.form-row.form-row-wide, .form-row.form-row-first, .form-row.form-row-last { display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  padding: 11px 14px; border: 1px solid var(--brand-border); border-radius: var(--radius-btn); font-size: 15px; width: 100%;
}
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; color: var(--brand-dark); }
#payment { background: var(--brand-light); border: 1px solid var(--brand-border); border-radius: var(--radius); }

/* Pair first/last-style fields side by side again on checkout + address forms (WooCommerce's
   own stylesheet that used to do this is dequeued by this theme). */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 16px; }
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-address-fields__field-wrapper .form-row-wide { flex: 1 1 100%; }
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-last,
.woocommerce-address-fields__field-wrapper .form-row-first,
.woocommerce-address-fields__field-wrapper .form-row-last { flex: 1 1 260px; }

/* General WooCommerce button (account forms, coupon apply, lost password, etc.) */
.woocommerce form .form-row .woocommerce-Button,
.woocommerce button.woocommerce-Button,
.woocommerce input.woocommerce-Button {
  display: inline-block; background: var(--brand-accent); color: var(--brand-dark); border: 1px solid var(--brand-accent);
  font-weight: 700; font-size: 15.5px; border-radius: var(--radius-btn); padding: 12px 26px; cursor: pointer;
}
.woocommerce form .form-row .woocommerce-Button:hover,
.woocommerce button.woocommerce-Button:hover,
.woocommerce input.woocommerce-Button:hover { background: var(--brand-accent-dark); }

/* ----- Login / register (custom template override: woocommerce/myaccount/form-login.php) ----- */
.sz-auth-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 460px; margin: 0 auto; padding: 40px 0 var(--sp-section); }
.sz-auth-wrap--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 780px) { .sz-auth-wrap--split { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.sz-auth-card { background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.sz-auth-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.sz-auth-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand-dark);
}
.sz-auth-icon--accent { background: rgba(126,208,0,.15); color: var(--brand-accent-dark); }
.sz-auth-head h2 { font-size: 20px; margin-bottom: 4px; }
.sz-auth-head p { color: var(--brand-muted); font-size: 14px; line-height: 1.4; }

.input-icon-wrap { position: relative; display: block; }
.input-icon-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--brand-muted); pointer-events: none; }
.input-icon-wrap input.input-text { padding-left: 40px !important; }

.sz-auth-row-split { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.woocommerce form.login .woocommerce-form-login__rememberme,
.sz-auth-card .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 400; margin: 0; }
.sz-auth-card .lost_password { font-size: 13.5px; }
.sz-auth-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--brand-muted); background: var(--brand-light); border-radius: var(--radius-btn); padding: 10px 14px; margin: 4px 0 18px; }
.sz-auth-note svg { flex: none; width: 15px; height: 15px; }

.sz-auth-card .form-row { margin-bottom: 16px; }
.sz-auth-card label { font-size: 13.5px; font-weight: 600; color: var(--brand-dark); display: block; margin-bottom: 6px; }

.btn-full {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--brand-dark); color: #fff; border: 1px solid var(--brand-dark);
  font-weight: 700; font-size: 15.5px; border-radius: var(--radius-btn); padding: 13px 26px; cursor: pointer;
}
.btn-full svg { width: 16px; height: 16px; }
.btn-full:hover { opacity: .92; }
.btn-full--accent { background: var(--brand-accent); color: var(--brand-dark); border-color: var(--brand-accent); }
.btn-full--accent:hover { background: var(--brand-accent-dark); opacity: 1; }

/* Star ratings */
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #F5A623; }

/* Order fields box on product page */
.sz-order-fields { background: var(--brand-light); border: 1px solid var(--brand-border); border-radius: var(--radius); padding: 20px; margin: 18px 0; width: 100%; }
.sz-order-fields h4 { font-size: 15px; margin-bottom: 12px; }
.sz-order-fields .form-field { margin-bottom: 12px; }
.sz-secure-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--brand-muted); margin-top: 14px; }
.sz-secure-note svg { width: 16px; height: 16px; color: var(--brand-success); flex: none; }

/* Woo pagination */
.woocommerce nav.woocommerce-pagination { text-align: center; margin-top: var(--sp-5); }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 8px; border: none; list-style: none; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  display: inline-block; padding: 9px 15px; border: 1px solid var(--brand-border); border-radius: 6px;
  font-size: 14.5px; color: var(--brand-secondary); background: #fff;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--brand-accent-text); color: var(--brand-accent-text); }

/* No marketing sidebar on cart/checkout/account (distraction-free) */
.woocommerce-cart .layout-sidebar,
.woocommerce-checkout .layout-sidebar,
.woocommerce-account .layout-sidebar { grid-template-columns: 1fr; }
.woocommerce-cart .layout-sidebar > .sidebar,
.woocommerce-checkout .layout-sidebar > .sidebar,
.woocommerce-account .layout-sidebar > .sidebar { display: none; }

/* My Account wrapper */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
@media (max-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
/* WooCommerce always prints an empty .woocommerce-notices-wrapper as the first child —
   pin every direct child's grid slot explicitly so it can't shift nav/content into the wrong column. */
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; }
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
.woocommerce-account .woocommerce > .sz-auth-wrap { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation { background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius); padding: 8px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation li a {
  display: block; padding: 10px 14px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: var(--brand-secondary);
}
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--brand-light); color: var(--brand-dark); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--brand-dark); color: #fff; }
.woocommerce-MyAccount-content { min-width: 0; }

/* ==========================================================================
   23. CLIENT DASHBOARD
   ========================================================================== */
.dash-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: var(--sp-4); align-items: start; padding: 40px 0 var(--sp-section); }
@media (max-width: 900px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-nav { background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 14px); }
.dash-nav ul { list-style: none; padding: 8px; }
.dash-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--brand-secondary);
}
.dash-nav a:hover { background: var(--brand-light); color: var(--brand-dark); }
.dash-nav li.active a { background: var(--brand-dark); color: #fff; }
.dash-nav svg { width: 17px; height: 17px; flex: none; }
.dash-nav .badge { margin-left: auto; background: var(--brand-accent); color: var(--brand-dark); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }

.dash-welcome { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.dash-welcome h2 { font-size: 22px; margin-bottom: 4px; }
.dash-welcome p { color: var(--brand-muted); font-size: 14.5px; }
.dash-quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-qa {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--brand-border);
  border-radius: var(--radius-btn); padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--brand-dark);
  white-space: nowrap;
}
.dash-qa:hover { border-color: var(--brand-dark); }
.dash-qa svg { width: 17px; height: 17px; color: var(--brand-muted); }
.dash-qa--accent { background: var(--brand-accent); border-color: var(--brand-accent); }
.dash-qa--accent svg { color: var(--brand-dark); }
.dash-qa--accent:hover { background: var(--brand-accent-dark); border-color: var(--brand-accent-dark); }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 900px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.dash-stat { background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.dash-stat-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
}
.dash-stat-icon svg { width: 20px; height: 20px; }
.dash-stat-icon--accent { background: rgba(126,208,0,.15); color: var(--brand-accent-dark); }
.dash-stat-icon--warn { background: rgba(161,92,0,.12); color: var(--brand-warn, #a15c00); }
.dash-stat-icon--good { background: rgba(26,127,55,.12); color: var(--brand-success, #1a7f37); }
.dash-stat-body { min-width: 0; }
.dash-stat .num { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.dash-stat .lbl { font-size: 12.5px; color: var(--brand-muted); white-space: nowrap; }

.dash-empty { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--brand-border); border-radius: var(--radius); background: rgba(126,208,0,.03); }
.dash-empty-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(126,208,0,.12); color: var(--brand-accent-dark);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.dash-empty h3 { font-size: 17px; margin-bottom: 6px; }
.dash-empty p { color: var(--brand-muted); font-size: 14.5px; margin-bottom: 18px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.dash-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-muted); padding: 12px 14px; border-bottom: 1px solid var(--brand-border); white-space: nowrap; }
.dash-table td { padding: 14px; border-bottom: 1px solid var(--brand-border); }
.dash-table tr:hover td { background: var(--brand-light); }
@media (max-width: 640px) { .dash-table th, .dash-table td { padding: 10px; font-size: 13.5px; } }

.status-badge { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.status-badge.pending   { background: #FFFAEB; color: var(--brand-warning); border: 1px solid #FEDF89; }
.status-badge.progress  { background: #EFF8FF; color: #175CD3; border: 1px solid #B2DDFF; }
.status-badge.completed { background: #ECFDF3; color: var(--brand-success); border: 1px solid #A6F4C5; }
.status-badge.hold      { background: #FEF3F2; color: var(--brand-error); border: 1px solid #FECDCA; }

.progress-track { background: var(--brand-border); border-radius: 999px; height: 8px; overflow: hidden; min-width: 90px; }
.progress-fill { background: var(--brand-accent); height: 100%; border-radius: 999px; transition: width .4s ease; }

/* Chat */
.chat-box { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius); height: 560px; max-height: 70vh; }
@media (max-width: 640px) { .chat-box { height: min(560px, 62vh); } }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 75%; padding: 11px 15px; border-radius: 12px; font-size: 14.5px; }
.chat-msg.mine { align-self: flex-end; background: var(--brand-dark); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg.theirs { align-self: flex-start; background: var(--brand-light); border: 1px solid var(--brand-border); border-bottom-left-radius: 3px; }
.chat-msg .meta { display: block; font-size: 11px; opacity: .6; margin-top: 4px; }
.chat-msg a { text-decoration: underline; }
.chat-msg.mine a { color: var(--brand-accent); }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--brand-border); }
.chat-input textarea { flex: 1; resize: none; height: 46px; padding: 11px 14px; border: 1px solid var(--brand-border); border-radius: var(--radius-btn); }
.chat-attach { display: flex; align-items: center; }

/* Offer card */
.offer-card { background: #fff; border: 1px solid var(--brand-border); border-left: 4px solid var(--brand-accent); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.offer-price { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--brand-dark); }
.offer-price del { font-size: 18px; color: var(--brand-muted); font-weight: 500; margin-right: 8px; }
.offer-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--brand-muted); margin: 12px 0 18px; }
.offer-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   PRODUCT REVIEWS (WooCommerce native comments — customer name/email + Gravatar)
   ========================================================================== */
.woocommerce-Reviews { max-width: 760px; }
.woocommerce-Reviews-title { font-size: 20px; margin-bottom: 18px; }
.woocommerce-noreviews { color: var(--brand-muted); font-size: 14.5px; background: var(--brand-light); border-radius: var(--radius); padding: 14px 18px; }

.commentlist { list-style: none; padding: 0; margin: 0 0 28px; }
.commentlist li.review { margin-bottom: 16px; }
.commentlist .comment_container { display: flex; gap: 14px; background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius); padding: 18px 20px; }
.commentlist .comment_container img.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; border: 1px solid var(--brand-border); }
.commentlist .comment-text { min-width: 0; }
.commentlist .comment-text .star-rating { margin-bottom: 6px; }
.commentlist .meta { font-size: 13.5px; color: var(--brand-muted); margin-bottom: 6px; }
.commentlist .woocommerce-review__author { color: var(--brand-dark); font-weight: 700; font-size: 14.5px; }
.commentlist .woocommerce-review__dash { display: none; }
.commentlist .woocommerce-review__published-date::before { content: "· "; }
.commentlist .description p { font-size: 14.5px; color: var(--brand-text); margin: 0; }
.commentlist .description p:last-child { margin-bottom: 0; }

#review_form_wrapper { background: var(--brand-light); border: 1px solid var(--brand-border); border-radius: var(--radius); padding: 24px; }
#review_form .comment-reply-title { font-size: 17px; display: block; margin-bottom: 16px; }
#review_form .comment-form-rating { margin-bottom: 16px; }
#review_form .comment-form-rating label { font-size: 13.5px; font-weight: 600; color: var(--brand-dark); display: block; margin-bottom: 6px; }
#review_form .comment-form-rating select,
#review_form .comment-form-comment textarea,
#review_form .comment-form-author input,
#review_form .comment-form-email input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--brand-border); border-radius: var(--radius-btn);
  font-size: 15px; font-family: inherit; background: #fff;
}
#review_form .comment-form-comment,
#review_form .comment-form-author,
#review_form .comment-form-email { margin-bottom: 16px; }
#review_form .comment-form-comment label,
#review_form .comment-form-author label,
#review_form .comment-form-email label { font-size: 13.5px; font-weight: 600; color: var(--brand-dark); display: block; margin-bottom: 6px; }
#review_form .comment-notes, #review_form .comment-form-cookies-consent { font-size: 13px; color: var(--brand-muted); }
#review_form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; margin: 4px 0 18px; }
#review_form .form-submit { margin: 0; }
#review_form .form-submit #submit {
  display: inline-block; background: var(--brand-accent); color: var(--brand-dark); border: 1px solid var(--brand-accent);
  font-weight: 700; font-size: 15.5px; border-radius: var(--radius-btn); padding: 12px 26px; cursor: pointer;
}
#review_form .form-submit #submit:hover { background: var(--brand-accent-dark); }

/* ==========================================================================
   24. FOOTER — authority footer
   ========================================================================== */
.site-footer { background: var(--brand-dark); color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 64px 24px 44px; max-width: var(--container); margin: 0 auto; }
@media (max-width: 1080px) { .footer-main { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .footer-main { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { font-size: 14px; margin: 14px 0; }
.footer-brand .site-logo { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; list-style: none; }
.footer-contact svg { width: 15px; height: 15px; color: var(--brand-accent); flex: none; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.68); font-size: 14px; }
.footer-col a:hover { color: var(--brand-accent); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: rgba(255,255,255,.75); }
.footer-social a:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.footer-social svg { width: 16px; height: 16px; }

/* Expandable directories */
.footer-directories { border-top: 1px solid rgba(255,255,255,.1); max-width: var(--container); margin: 0 auto; padding: 10px 24px; }
.footer-dir { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-dir summary { cursor: pointer; padding: 14px 0; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.85); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.footer-dir summary::-webkit-details-marker { display: none; }
.footer-dir summary::after { content: "+"; color: var(--brand-accent); font-size: 17px; }
.footer-dir[open] summary::after { content: "–"; }
.footer-dir-links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 4px 0 18px; }
.footer-dir-links a { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-dir-links a:hover { color: var(--brand-accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; max-width: var(--container); margin: 0 auto; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--brand-accent); }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons svg { height: 22px; width: auto; opacity: .7; }

/* ==========================================================================
   25. UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
.badge-lime { background: rgba(126,208,0,.14); color: var(--brand-accent-text); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; display: inline-block; }

/* Founder card (homepage fallback when no photo set) */
.founder-card { text-align: center; padding: 48px 32px; }
.founder-card img { margin: 0 auto 16px; border-radius: 50%; }
.founder-card .founder-name { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--brand-dark); margin-bottom: 2px; }
.founder-card .founder-role { font-size: 14.5px; color: var(--brand-muted); margin-bottom: 18px; }
.founder-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* "Your business next" card beside sparse case studies */
.cs-next { background: var(--brand-light); border-style: dashed; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.cs-next .btn { align-self: flex-start; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: var(--sp-5); }
.pagination .page-numbers { padding: 9px 15px; border: 1px solid var(--brand-border); border-radius: 6px; font-size: 14.5px; color: var(--brand-secondary); }
.pagination .page-numbers.current { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.pagination a.page-numbers:hover { border-color: var(--brand-accent-text); color: var(--brand-accent-text); }

/* ==========================================================================
   26. FLOATING CONVERSION ELEMENTS
   ========================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  width: 58px; height: 58px; border-radius: 999px;
  background: var(--brand-accent); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(126,208,0,.4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); color: var(--brand-dark); }

.mobile-cta-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 240;
  background: #fff; border-top: 1px solid var(--brand-border);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta-bar .btn { flex: 1; padding: 12px 10px; font-size: 15px; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .wa-float { bottom: 78px; right: 16px; width: 50px; height: 50px; }
  body { padding-bottom: 66px; }
}

.cookie-banner {
  position: fixed; left: 22px; bottom: 22px; z-index: 260;
  max-width: 420px; background: var(--brand-dark); color: rgba(255,255,255,.85);
  border-radius: 12px; padding: 20px; box-shadow: var(--shadow-lg);
  font-size: 14px;
}
.cookie-banner a { color: var(--brand-accent); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; margin-top: 14px; }
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 78px; max-width: none; }
}

@media print { .announce-bar, .site-header, .site-footer, .sidebar, .wa-float, .mobile-cta-bar, .cookie-banner { display: none !important; } }
