/* ==========================================================
   NECHY FINANCE — THEME STYLESHEET
   Brand: Warm Editorial | British English
   Built for: Elementor Free + WooCommerce
   ========================================================== */

/* === CSS VARIABLES === */
:root {
  --nf-blue-primary:   #016ffd;
  --nf-blue-deep:      #335991;
  --nf-blue-light:     #eaf2ff;
  --nf-blue-mid:       #8da0eb;
  --nf-white:          #ffffff;
  --nf-black:          #0d0d0d;
  --nf-ink:            #1a2640;
  --nf-muted:          #5a6a82;
  --nf-border:         #d4e3f7;
  --nf-cream:          #f8fbff;
  --nf-gold:           #f0a500;
  --nf-success:        #1a7f5a;
  --nf-danger:         #e05252;
  --font-serif:        'Playfair Display', Georgia, serif;
  --font-sans:         'DM Sans', system-ui, sans-serif;
  --nf-radius:         12px;
  --nf-radius-sm:      6px;
  --nf-shadow-sm:      0 2px 12px rgba(1,111,253,0.08);
  --nf-shadow-md:      0 8px 32px rgba(1,111,253,0.12);
  --nf-shadow-lg:      0 20px 60px rgba(1,111,253,0.16);
  --nf-transition:     0.25s ease;
}

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* === GLOBAL RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--nf-ink);
  background: var(--nf-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nf-blue-primary); text-decoration: none; transition: var(--nf-transition); }
a:hover { color: var(--nf-blue-deep); }
ul, ol { padding-left: 1.5rem; }
button { font-family: var(--font-sans); cursor: pointer; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--nf-ink);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 58px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
p { color: var(--nf-muted); line-height: 1.85; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--nf-ink); font-weight: 600; }
blockquote {
  border-left: 4px solid var(--nf-blue-primary);
  padding: 16px 24px;
  background: var(--nf-blue-light);
  border-radius: 0 var(--nf-radius-sm) var(--nf-radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--nf-ink);
  margin: 24px 0;
}

/* === LAYOUT UTILITIES === */
.nf-container       { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nf-container-sm    { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.nf-section         { padding: 80px 0; }
.nf-section-sm      { padding: 48px 0; }
.nf-text-center     { text-align: center; }
.nf-bg-cream        { background: var(--nf-cream); }
.nf-bg-dark         { background: var(--nf-ink); }
.nf-bg-blue         { background: var(--nf-blue-light); }

/* === ELEMENTOR OVERRIDES === */
/* Ensure Elementor sections inherit brand fonts */
.elementor-section,
.elementor-widget-wrap,
.elementor-widget-container {
  font-family: var(--font-sans);
}
.elementor-heading-title {
  font-family: var(--font-serif) !important;
}
/* Elementor column spacing reset */
.elementor-section .elementor-column-gap-default .elementor-column > .elementor-element-populated {
  padding: 10px;
}

/* === SITE HEADER === */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nf-border);
  box-shadow: var(--nf-shadow-sm);
}
.nf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Logo */
.nf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nf-logo-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--nf-blue-primary), var(--nf-blue-deep));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 20px;
  flex-shrink: 0;
}
.nf-logo-text {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 21px;
  color: var(--nf-ink);
  line-height: 1;
}
.nf-logo-text span { color: var(--nf-blue-primary); }
/* Primary nav */
.nf-primary-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.nf-primary-nav ul li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--nf-radius-sm);
  font-size: 14px; font-weight: 500;
  color: var(--nf-muted);
  transition: var(--nf-transition);
  text-decoration: none;
}
.nf-primary-nav ul li a:hover,
.nf-primary-nav ul li.current-menu-item > a {
  color: var(--nf-blue-primary);
  background: var(--nf-blue-light);
}
.nf-header-cta .nf-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  background: var(--nf-blue-primary);
  color: white; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: var(--nf-transition);
}
.nf-header-cta .nf-btn:hover {
  background: var(--nf-blue-deep);
  transform: translateY(-1px);
  box-shadow: var(--nf-shadow-md);
}
/* Mobile nav toggle */
.nf-mobile-toggle {
  display: none;
  background: none; border: none;
  font-size: 24px; color: var(--nf-ink);
  cursor: pointer; padding: 8px;
}
/* Mobile menu */
.nf-mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid var(--nf-border);
  padding: 16px 24px 24px;
}
.nf-mobile-nav.open { display: block; }
.nf-mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.nf-mobile-nav ul li a {
  display: block; padding: 12px 0;
  border-bottom: 1px solid var(--nf-border);
  font-size: 15px; font-weight: 500; color: var(--nf-muted);
}
.nf-mobile-nav ul li:last-child a { border-bottom: none; }
.nf-mobile-nav .nf-btn {
  display: block; text-align: center; margin-top: 16px;
  padding: 12px; background: var(--nf-blue-primary);
  color: white; border-radius: 8px; font-weight: 600;
}

/* === BUTTONS === */
.nf-btn,
.nf-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  cursor: pointer; border: none;
  transition: var(--nf-transition);
  text-decoration: none;
  font-family: var(--font-sans);
}
.nf-btn-primary,
.nf-btn { background: var(--nf-blue-primary); color: white; }
.nf-btn-primary:hover,
.nf-btn:hover {
  background: var(--nf-blue-deep);
  transform: translateY(-1px);
  box-shadow: var(--nf-shadow-md);
  color: white;
}
.nf-btn-outline {
  background: transparent;
  color: var(--nf-blue-primary);
  border: 2px solid var(--nf-blue-primary);
}
.nf-btn-outline:hover {
  background: var(--nf-blue-primary);
  color: white;
}
.nf-btn-gold {
  background: var(--nf-gold); color: white;
}
.nf-btn-gold:hover { background: #d4920a; }
.nf-btn-white {
  background: white; color: var(--nf-blue-primary);
}
.nf-btn-white:hover { background: var(--nf-blue-light); }

/* === BADGE === */
.nf-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--nf-blue-light); color: var(--nf-blue-primary);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
  margin-bottom: 14px;
}

/* === CARDS === */
.nf-card {
  background: white;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius);
  padding: 28px;
  transition: var(--nf-transition);
  box-shadow: var(--nf-shadow-sm);
}
.nf-card:hover {
  box-shadow: var(--nf-shadow-md);
  transform: translateY(-3px);
  border-color: var(--nf-blue-mid);
}

/* === SITE FOOTER === */
#site-footer {
  background: var(--nf-ink);
  color: white;
  padding: 64px 0 0;
}
.nf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.nf-footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; margin: 16px 0 24px; line-height: 1.7; }
.nf-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.nf-footer-logo .nf-logo-mark { width: 36px; height: 36px; font-size: 16px; }
.nf-footer-logo .nf-logo-text { color: white; font-size: 18px; }
.nf-footer-logo .nf-logo-text span { color: var(--nf-blue-mid); }
.nf-footer-col h5 {
  font-family: var(--font-serif); font-size: 16px;
  color: white; margin-bottom: 16px;
}
.nf-footer-col a, .nf-footer-col ul li a {
  display: block; color: rgba(255,255,255,0.55);
  font-size: 14px; padding: 4px 0;
  transition: var(--nf-transition);
  list-style: none;
  text-decoration: none;
}
.nf-footer-col a:hover, .nf-footer-col ul li a:hover { color: var(--nf-blue-mid); }
.nf-footer-col ul { padding: 0; margin: 0; list-style: none; }
.nf-social-links { display: flex; gap: 10px; }
.nf-social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700;
  transition: var(--nf-transition); cursor: pointer;
  text-decoration: none;
}
.nf-social-btn:hover { background: var(--nf-blue-primary); color: white; }
.nf-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.nf-footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--nf-transition); }
.nf-footer-bottom a:hover { color: white; }
.nf-footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* === NEWSLETTER SECTION === */
.nf-newsletter-section {
  background: linear-gradient(135deg, var(--nf-blue-primary), var(--nf-blue-deep));
  padding: 64px 0;
}
.nf-newsletter-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.nf-newsletter-text h3 { font-family: var(--font-serif); color: white; font-size: 28px; margin-bottom: 6px; }
.nf-newsletter-text p { color: rgba(255,255,255,0.75); font-size: 15px; }
.nf-newsletter-form { display: flex; gap: 12px; flex: 1; max-width: 460px; }
.nf-newsletter-form input {
  flex: 1; padding: 13px 18px; border-radius: 8px;
  border: 2px solid transparent; outline: none;
  font-family: var(--font-sans); font-size: 14px;
  background: rgba(255,255,255,0.18); color: white;
  transition: var(--nf-transition);
}
.nf-newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.nf-newsletter-form input:focus { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.4); }

/* === HERO SECTION === */
.nf-hero {
  background: linear-gradient(160deg, var(--nf-blue-light) 0%, var(--nf-cream) 50%, white 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.nf-hero::before {
  content: '';
  position: absolute; top: -100px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(1,111,253,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.nf-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.nf-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--nf-blue-light); border: 1px solid var(--nf-border);
  color: var(--nf-blue-primary); font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.nf-hero h1 { margin-bottom: 20px; }
.nf-hero h1 em { font-style: italic; color: var(--nf-blue-primary); }
.nf-hero-lead { font-size: 18px; margin-bottom: 36px; max-width: 480px; }
.nf-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.nf-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.nf-stat-value { display: block; font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--nf-ink); }
.nf-stat-label { font-size: 13px; color: var(--nf-muted); }
/* Hero visual card */
.nf-hero-visual { display: flex; flex-direction: column; gap: 16px; }
.nf-hero-card {
  background: white; border-radius: 16px; padding: 28px;
  box-shadow: var(--nf-shadow-lg); border: 1px solid var(--nf-border);
}
.nf-hero-card .card-label { font-size: 12px; color: var(--nf-muted); font-weight: 500; margin-bottom: 6px; }
.nf-hero-card h4 { font-family: var(--font-serif); color: var(--nf-ink); margin-bottom: 16px; font-size: 17px; }
.nf-progress-row { margin-bottom: 10px; }
.nf-prog-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--nf-muted); margin-bottom: 4px; }
.nf-prog-track { height: 6px; background: var(--nf-blue-light); border-radius: 3px; }
.nf-prog-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--nf-blue-primary), var(--nf-blue-mid)); }
.nf-hero-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nf-mini-card {
  background: white; border-radius: 12px; padding: 18px;
  box-shadow: var(--nf-shadow-sm); border: 1px solid var(--nf-border);
}
.nf-mini-card .mc-icon { font-size: 22px; margin-bottom: 8px; }
.nf-mini-card .mc-title { display: block; font-size: 13px; font-weight: 600; color: var(--nf-ink); margin-bottom: 2px; }
.nf-mini-card .mc-sub { font-size: 12px; color: var(--nf-muted); }

/* === BLOG CARDS === */
.nf-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nf-posts-grid-2col { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.nf-post-card {
  background: white; border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius); overflow: hidden;
  transition: var(--nf-transition); box-shadow: var(--nf-shadow-sm);
}
.nf-post-card:hover { box-shadow: var(--nf-shadow-md); transform: translateY(-3px); }
.nf-post-thumb {
  height: 220px; overflow: hidden;
  background: linear-gradient(135deg, var(--nf-blue-light), var(--nf-blue-mid));
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.nf-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nf-post-body { padding: 22px; }
.nf-post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.nf-post-cat {
  font-size: 11px; font-weight: 700; color: var(--nf-blue-primary);
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--nf-blue-light); padding: 3px 8px; border-radius: 4px;
}
.nf-post-date { font-size: 12px; color: var(--nf-muted); }
.nf-post-card h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.35; }
.nf-post-card h3 a { color: var(--nf-ink); }
.nf-post-card h3 a:hover { color: var(--nf-blue-primary); }
.nf-post-card p { font-size: 14px; margin-bottom: 16px; }
.nf-read-more {
  font-size: 13px; font-weight: 600; color: var(--nf-blue-primary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: var(--nf-transition);
}
.nf-read-more:hover { gap: 8px; }
/* Blog list post (archive) */
.nf-blog-list-item {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  background: white; border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius); overflow: hidden;
  transition: var(--nf-transition); margin-bottom: 24px;
}
.nf-blog-list-item:hover { box-shadow: var(--nf-shadow-md); border-color: var(--nf-blue-mid); }
.nf-blog-list-thumb {
  background: linear-gradient(135deg, var(--nf-blue-light), var(--nf-blue-mid));
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  min-height: 160px;
}
.nf-blog-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nf-blog-list-body { padding: 24px 24px 24px 0; display: flex; flex-direction: column; justify-content: center; }
.nf-blog-list-body h2 { font-size: 21px; margin-bottom: 8px; }
.nf-blog-list-body h2 a { color: var(--nf-ink); }
.nf-blog-list-body h2 a:hover { color: var(--nf-blue-primary); }
.nf-blog-list-body p { font-size: 14px; margin-bottom: 12px; }
.nf-post-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.nf-post-author { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--nf-muted); }
.nf-author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--nf-blue-primary), var(--nf-blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 11px; font-weight: 700;
}

/* === CATEGORY PILLS === */
.nf-cats-strip {
  background: var(--nf-cream);
  border-top: 1px solid var(--nf-border);
  border-bottom: 1px solid var(--nf-border);
  padding: 20px 0;
}
.nf-cats-inner { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.nf-cats-inner::-webkit-scrollbar { display: none; }
.nf-cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 20px; white-space: nowrap;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--nf-border); background: white;
  color: var(--nf-muted); transition: var(--nf-transition);
  text-decoration: none;
}
.nf-cat-pill:hover,
.nf-cat-pill.current-cat { background: var(--nf-blue-primary); color: white; border-color: var(--nf-blue-primary); }

/* === SIDEBAR === */
.nf-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.nf-sidebar-widget { margin-bottom: 32px; }
.nf-sidebar-widget h5 {
  font-family: var(--font-serif); font-size: 18px; color: var(--nf-ink);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--nf-blue-light);
}
.nf-sidebar-cats { display: flex; flex-direction: column; gap: 2px; }
.nf-sidebar-cats a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: var(--nf-radius-sm);
  font-size: 14px; color: var(--nf-muted); transition: var(--nf-transition);
}
.nf-sidebar-cats a:hover { background: var(--nf-blue-light); color: var(--nf-blue-primary); }
.nf-sidebar-cats .nf-count {
  background: var(--nf-blue-light); color: var(--nf-blue-primary);
  font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 10px;
}
.nf-sidebar-newsletter {
  background: linear-gradient(135deg, var(--nf-blue-primary), var(--nf-blue-deep));
  border-radius: var(--nf-radius); padding: 24px;
}
.nf-sidebar-newsletter h5 { color: white; border: none; }
.nf-sidebar-newsletter p { color: rgba(255,255,255,0.75); font-size: 13px; margin-bottom: 14px; }
.nf-sidebar-newsletter input {
  width: 100%; padding: 10px 14px; border-radius: 6px;
  border: none; font-family: var(--font-sans); font-size: 13px;
  margin-bottom: 10px; outline: none;
}
.nf-sidebar-newsletter button {
  width: 100%; padding: 10px; border-radius: 6px;
  background: var(--nf-gold); color: white;
  font-weight: 600; font-size: 13px; border: none; cursor: pointer;
  font-family: var(--font-sans);
}

/* === TESTIMONIALS === */
.nf-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nf-testi-card {
  background: white; border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius); padding: 28px;
}
.nf-stars { color: var(--nf-gold); font-size: 14px; margin-bottom: 12px; }
.nf-testi-text { font-size: 15px; color: var(--nf-ink); font-style: italic; line-height: 1.75; margin-bottom: 20px; }
.nf-testi-author { display: flex; align-items: center; gap: 12px; }
.nf-testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--nf-blue-primary), var(--nf-blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-family: var(--font-serif); font-size: 17px; flex-shrink: 0;
}
.nf-testi-name { display: block; font-size: 14px; font-weight: 600; color: var(--nf-ink); }
.nf-testi-loc { font-size: 12px; color: var(--nf-muted); }

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce #page-title { font-family: var(--font-serif); }
/* Shop grid */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 28px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.woocommerce ul.products li.product {
  background: white !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: var(--nf-transition) !important;
  box-shadow: var(--nf-shadow-sm) !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product:hover {
  box-shadow: var(--nf-shadow-lg) !important;
  transform: translateY(-4px) !important;
  border-color: var(--nf-blue-mid) !important;
}
.woocommerce ul.products li.product a img {
  width: 100% !important; border-radius: 0 !important; margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-serif) !important;
  font-size: 17px !important; padding: 16px 20px 4px !important;
  color: var(--nf-ink) !important;
}
.woocommerce ul.products li.product .price {
  padding: 0 20px 8px !important;
  font-family: var(--font-serif) !important;
  font-size: 20px !important; color: var(--nf-ink) !important; font-weight: 700 !important;
}
.woocommerce ul.products li.product .button {
  margin: 0 20px 20px !important;
  background: var(--nf-blue-primary) !important;
  color: white !important; border-radius: 8px !important;
  font-weight: 600 !important; font-size: 14px !important;
  padding: 10px 20px !important; border: none !important;
  transition: var(--nf-transition) !important;
  font-family: var(--font-sans) !important;
  display: inline-block !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--nf-blue-deep) !important;
}
/* Single product */
.woocommerce div.product .product_title {
  font-family: var(--font-serif) !important;
  color: var(--nf-ink) !important;
}
.woocommerce div.product .price { color: var(--nf-blue-primary) !important; font-size: 28px !important; font-weight: 700 !important; }
.woocommerce div.product .single_add_to_cart_button {
  background: var(--nf-blue-primary) !important;
  border-radius: 8px !important; font-weight: 600 !important;
  font-family: var(--font-sans) !important;
  padding: 14px 32px !important;
  transition: var(--nf-transition) !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--nf-blue-deep) !important; }
/* Cart & Checkout */
.woocommerce table.cart th,
.woocommerce table.shop_table th { font-family: var(--font-serif) !important; }
.woocommerce .checkout_coupon .button,
.woocommerce .cart .button,
.woocommerce #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--nf-blue-primary) !important;
  border-radius: 8px !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  transition: var(--nf-transition) !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover { background: var(--nf-blue-deep) !important; }
/* WooCommerce notices */
.woocommerce-message, .woocommerce-info {
  border-top-color: var(--nf-blue-primary) !important;
}
.woocommerce-message::before { color: var(--nf-blue-primary) !important; }
/* WooCommerce cart icon in nav */
.nf-cart-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--nf-muted);
  text-decoration: none; padding: 8px 12px;
  border-radius: var(--nf-radius-sm); transition: var(--nf-transition);
}
.nf-cart-link:hover { background: var(--nf-blue-light); color: var(--nf-blue-primary); }
.nf-cart-count {
  background: var(--nf-blue-primary); color: white;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* === TOOLS / CALCULATORS === */
.nf-calc-card {
  background: white; border: 1px solid var(--nf-border);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--nf-shadow-md); margin-bottom: 40px;
}
.nf-calc-header {
  background: linear-gradient(135deg, var(--nf-blue-primary), var(--nf-blue-deep));
  padding: 28px 32px; color: white;
}
.nf-calc-header h3 { font-family: var(--font-serif); color: white; margin-bottom: 4px; }
.nf-calc-header p { color: rgba(255,255,255,0.75); font-size: 14px; margin: 0; }
.nf-calc-body { padding: 32px; }
.nf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nf-form-group { margin-bottom: 20px; }
.nf-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--nf-ink); margin-bottom: 6px; }
.nf-form-group input,
.nf-form-group select {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--nf-border); border-radius: 8px;
  font-family: var(--font-sans); font-size: 14px; color: var(--nf-ink);
  outline: none; transition: var(--nf-transition); background: white;
}
.nf-form-group input:focus,
.nf-form-group select:focus { border-color: var(--nf-blue-primary); }
.nf-form-group .nf-hint { font-size: 12px; color: var(--nf-muted); margin-top: 4px; }
.nf-calc-result {
  background: var(--nf-blue-light); border: 2px solid var(--nf-border);
  border-radius: 10px; padding: 20px 24px; margin-top: 20px; display: none;
}
.nf-calc-result.visible { display: block; }
.nf-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.nf-result-item { text-align: center; }
.nf-result-label { font-size: 12px; color: var(--nf-muted); margin-bottom: 4px; }
.nf-result-value { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--nf-blue-primary); }
.nf-calc-advice {
  padding: 14px; background: white; border-radius: 8px;
  font-size: 14px; color: var(--nf-ink); line-height: 1.6;
}

/* === CONTACT FORM === */
.nf-contact-form-card {
  background: white; border: 1px solid var(--nf-border);
  border-radius: 16px; padding: 36px;
  box-shadow: var(--nf-shadow-md);
}
.nf-contact-form-card h3 { margin-bottom: 24px; }
.nf-form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--nf-border); border-radius: 8px;
  font-family: var(--font-sans); font-size: 14px; color: var(--nf-ink);
  outline: none; transition: var(--nf-transition);
  resize: vertical; min-height: 130px;
}
.nf-form-group textarea:focus { border-color: var(--nf-blue-primary); }
.nf-form-success {
  display: none; background: #e6f9f2; border: 1px solid #a3e0c8;
  border-radius: 8px; padding: 14px; color: var(--nf-success);
  font-size: 14px; font-weight: 500; margin-top: 14px; text-align: center;
}
.nf-form-success.visible { display: block; }

/* === CONTACT PAGE LAYOUT === */
.nf-contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.nf-contact-methods { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.nf-contact-method { display: flex; gap: 14px; align-items: flex-start; }
.nf-method-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--nf-blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.nf-method-body h5 { font-family: var(--font-serif); font-size: 15px; margin-bottom: 2px; }
.nf-method-body span { font-size: 14px; color: var(--nf-muted); }

/* === ABOUT PAGE === */
.nf-about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nf-about-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 20px;
  background: linear-gradient(145deg, var(--nf-blue-light), var(--nf-blue-mid), var(--nf-blue-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; box-shadow: var(--nf-shadow-lg);
  overflow: hidden; position: relative;
}
.nf-about-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.nf-about-badge {
  position: absolute; bottom: -14px; right: -14px;
  background: var(--nf-gold); color: white; border-radius: 12px;
  padding: 14px 20px; box-shadow: var(--nf-shadow-md); text-align: center;
}
.nf-about-badge strong { display: block; font-family: var(--font-serif); font-size: 26px; }
.nf-about-badge span { font-size: 12px; }
.nf-about-photo-wrap { position: relative; }
.nf-value-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.nf-value-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--nf-blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0; margin-top: 2px;
}
.nf-value-item h5 { font-family: var(--font-serif); margin-bottom: 2px; font-size: 16px; }
.nf-value-item p { font-size: 14px; margin: 0; }

/* === SINGLE POST STYLES === */
.nf-single-hero {
  background: var(--nf-ink); padding: 72px 0;
  position: relative; overflow: hidden;
}
.nf-single-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(1,111,253,0.18) 0%, transparent 60%);
}
.nf-single-hero .nf-container { position: relative; z-index: 1; max-width: 860px; }
.nf-single-hero h1 { color: white; margin-bottom: 16px; }
.nf-single-hero .nf-post-meta { margin-bottom: 0; }
.nf-single-content { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
.nf-single-content h2 { font-size: 26px; margin: 36px 0 12px; }
.nf-single-content h3 { font-size: 21px; margin: 28px 0 10px; }
.nf-single-content p { font-size: 17px; line-height: 1.9; margin-bottom: 20px; color: var(--nf-ink); }
.nf-single-content ul, .nf-single-content ol { margin: 16px 0 20px 24px; }
.nf-single-content li { font-size: 16px; line-height: 1.8; color: var(--nf-ink); margin-bottom: 6px; }
.nf-single-content img { border-radius: var(--nf-radius); margin: 24px 0; }
.nf-affiliate-notice {
  background: var(--nf-blue-light); border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-sm); padding: 14px 18px;
  font-size: 13px; color: var(--nf-muted); margin-bottom: 28px;
}
.nf-affiliate-notice strong { color: var(--nf-blue-primary); }

/* === PAGINATION === */
.nf-pagination { display: flex; gap: 8px; margin-top: 40px; align-items: center; flex-wrap: wrap; }
.nf-pagination a, .nf-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--nf-border); color: var(--nf-muted);
  transition: var(--nf-transition); text-decoration: none;
}
.nf-pagination a:hover, .nf-pagination span.current {
  background: var(--nf-blue-primary); color: white; border-color: var(--nf-blue-primary);
}

/* === SECTION HEADERS === */
.nf-section-header { margin-bottom: 48px; }
.nf-section-header h2 { margin-bottom: 12px; }
.nf-section-header p { font-size: 17px; max-width: 560px; }
.nf-section-header.centered { text-align: center; }
.nf-section-header.centered p { margin: 0 auto; }

/* === WHY CARDS === */
.nf-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nf-why-card {
  background: white; border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius); padding: 28px;
  transition: var(--nf-transition);
}
.nf-why-card:hover { border-color: var(--nf-blue-primary); box-shadow: var(--nf-shadow-md); }
.nf-why-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--nf-blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.nf-why-card h4 { margin-bottom: 8px; }

/* === LEGAL PAGES === */
.nf-legal-hero { background: var(--nf-cream); border-bottom: 1px solid var(--nf-border); padding: 56px 0; }
.nf-legal-body { padding: 56px 0; }
.nf-legal-body h2 { font-size: 24px; margin: 36px 0 12px; }
.nf-legal-body h2:first-child { margin-top: 0; }
.nf-legal-body p { font-size: 16px; margin-bottom: 14px; color: var(--nf-ink); }
.nf-legal-body ul { margin: 12px 0 18px; }
.nf-legal-body li { font-size: 15px; color: var(--nf-muted); margin-bottom: 6px; }

/* === ELEMENTOR WIDGET HELPERS === */
/* Allow Elementor widgets to use brand colours via CSS var references */
.e-con, .elementor-widget { --e-global-color-primary: var(--nf-blue-primary); }
.elementor-widget-button .elementor-button {
  font-family: var(--font-sans) !important;
  border-radius: 8px !important;
}
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-serif) !important; }
.elementor-widget-text-editor { font-family: var(--font-sans) !important; color: var(--nf-muted); }
/* Image widget */
.elementor-widget-image img { border-radius: var(--nf-radius); }
/* Divider */
.elementor-widget-divider .elementor-divider-separator { border-color: var(--nf-border); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .nf-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nf-hero-inner { gap: 40px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .nf-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .nf-testi-grid { grid-template-columns: repeat(2, 1fr); }
  .nf-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nf-primary-nav, .nf-header-cta { display: none; }
  .nf-mobile-toggle { display: block; }
  .nf-hero-inner { grid-template-columns: 1fr; }
  .nf-hero-visual { display: none; }
  .nf-hero-stats { gap: 20px; }
  .nf-hero-actions { flex-direction: column; }
  .nf-posts-grid { grid-template-columns: 1fr; }
  .nf-posts-grid-2col { grid-template-columns: 1fr; }
  .nf-why-grid { grid-template-columns: 1fr; }
  .nf-testi-grid { grid-template-columns: 1fr; }
  .nf-blog-layout { grid-template-columns: 1fr; }
  .nf-blog-list-item { grid-template-columns: 1fr; }
  .nf-blog-list-thumb { height: 180px; }
  .nf-about-hero-grid { grid-template-columns: 1fr; }
  .nf-contact-layout { grid-template-columns: 1fr; }
  .nf-form-row { grid-template-columns: 1fr; }
  .nf-calc-body { padding: 20px; }
  .nf-form-row { grid-template-columns: 1fr; }
  .nf-result-grid { grid-template-columns: 1fr; }
  .nf-newsletter-inner { flex-direction: column; gap: 28px; }
  .nf-newsletter-form { max-width: 100%; flex-direction: column; }
  .nf-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nf-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nf-footer-bottom-links { justify-content: center; }
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .nf-contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .nf-section { padding: 56px 0; }
  .nf-calc-header { padding: 20px 20px; }
  .nf-contact-form-card { padding: 24px; }
}

.nf-footer-bottom-bar { background: rgba(0,0,0,0.2); }
.nf-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.nf-main-col { min-width: 0; }
.nf-sidebar-col { min-width: 0; }
.nf-header-right { display: flex; align-items: center; gap: 12px; }
.nf-header-btn {
  display: inline-flex; align-items: center;
  padding: 10px 20px; background: var(--nf-blue-primary); color: white;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: var(--nf-transition);
}
.nf-header-btn:hover { background: var(--nf-blue-deep); color: white; }
@media (max-width: 768px) {
  .nf-blog-layout { grid-template-columns: 1fr; }
  .nf-header-right { display: none; }
}
