/*
Theme Name:   GearForPet Child
Theme URI:    https://gearforpet.com
Description:  Kadence Child Theme for GearForPet.com — Pet Gear Reviews & Buying Guides
Author:       GearForPet
Author URI:   https://gearforpet.com
Template:     kadence
Version:      1.1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  gearforpet-child
Tags: child-theme, kadence, pets, reviews, affiliate
*/

/* ============================================================
   IMPORT PARENT THEME
   ============================================================ */
/* Parent styles are loaded via functions.php wp_enqueue_scripts */

/* ============================================================
   GOOGLE FONTS
   Fonts are loaded via wp_enqueue_style() in functions.php.
   DO NOT add @import here — it blocks rendering and hurts CWV.
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES — Brand Tokens
   ============================================================ */
:root {
  /* Brand Colors */
  --gfp-navy:        #1F2A44;
  --gfp-navy-light:  #2A3858;
  --gfp-green:       #3CCF91;
  --gfp-green-dark:  #28B577;
  --gfp-green-light: #E8FAF2;
  --gfp-bg:          #F7F8FA;
  --gfp-white:       #FFFFFF;
  --gfp-text:        #2B2B2B;
  --gfp-text-muted:  #6B7280;
  --gfp-border:      #E5E7EB;
  --gfp-card-bg:     #FFFFFF;
  --gfp-shadow:      0 2px 12px rgba(31,42,68,0.08);
  --gfp-shadow-hover:0 8px 32px rgba(31,42,68,0.14);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Transitions */
  --trans-fast: 0.18s ease;
  --trans-med:  0.28s ease;
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gfp-text);
  background-color: var(--gfp-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gfp-navy);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--gfp-navy);
  text-decoration: none;
  transition: color var(--trans-fast);
}
a:hover { color: var(--gfp-green-dark); }

/* ============================================================
   ACCESSIBILITY — Focus States
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gfp-green);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Remove focus ring for mouse users only */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header,
header.kadence-header {
  background: var(--gfp-white) !important;
  border-bottom: 1px solid var(--gfp-border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 8px rgba(31,42,68,0.06);
}

/* Logo — Kadence DOM: .brand.has-logo-image > img (.custom-logo) */
.site-branding .custom-logo,
.brand.has-logo-image img,
.brand.has-logo-image .custom-logo,
.site-brand-logo-only img,
.kadence-logo img,
.kadence-logo-container img,
.header-logo img {
  max-height: 80px !important;
  height: 80px !important;
  width: auto !important;
}

/* Navigation */
.main-navigation a,
.kadence-navigation a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gfp-navy);
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  position: relative;
}

.main-navigation a::after,
.kadence-navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gfp-green);
  border-radius: 2px;
  transition: width var(--trans-med);
}
.main-navigation a:hover::after,
.kadence-navigation a:hover::after { width: 100%; }

/* "Start Here" CTA button in nav */
.menu-item-start-here > a,
.nav-cta-btn {
  background: var(--gfp-green) !important;
  color: var(--gfp-white) !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.2rem !important;
  font-weight: 700 !important;
  transition: background var(--trans-fast), transform var(--trans-fast) !important;
}
.menu-item-start-here > a:hover {
  background: var(--gfp-green-dark) !important;
  transform: translateY(-1px);
}
.menu-item-start-here > a::after { display: none !important; }

/* ============================================================
   GLOBAL BUTTONS
   ============================================================ */
.wp-block-button__link,
.kb-btn,
button[class*="kb-"] {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  transition: all var(--trans-fast) !important;
}

/* Primary Button */
.wp-block-button.is-style-fill .wp-block-button__link,
.kb-btn-primary,
.gfp-btn-primary {
  background: var(--gfp-green) !important;
  color: var(--gfp-white) !important;
  border: 2px solid var(--gfp-green) !important;
  padding: 0.75rem 1.8rem !important;
}
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--gfp-green-dark) !important;
  border-color: var(--gfp-green-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60,207,145,0.35) !important;
}

/* Outline Button */
.wp-block-button.is-style-outline .wp-block-button__link,
.kb-btn-outline,
.gfp-btn-outline {
  background: transparent !important;
  color: var(--gfp-navy) !important;
  border: 2px solid var(--gfp-navy) !important;
  padding: 0.75rem 1.8rem !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--gfp-navy) !important;
  color: var(--gfp-white) !important;
  transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.gfp-hero,
.section-hero {
  background: linear-gradient(135deg, var(--gfp-navy) 0%, var(--gfp-navy-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.gfp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(60,207,145,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Mobile: tone down the overlay so text stays readable */
@media (max-width: 768px) {
  .gfp-hero::before {
    opacity: 0.5;
    width: 300px;
    height: 300px;
    top: auto;
    bottom: -10%;
    right: -15%;
  }
}

.gfp-hero h1 {
  color: var(--gfp-white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.gfp-hero h1 span,
.hero-accent {
  color: var(--gfp-green);
}

.gfp-hero p,
.hero-subtext {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(60,207,145,0.15);
  border: 1px solid rgba(60,207,145,0.3);
  color: var(--gfp-green);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.gfp-section {
  padding: 72px 0;
}

.gfp-section-light {
  background: var(--gfp-bg);
}

.gfp-section-white {
  background: var(--gfp-white);
}

.gfp-section-navy {
  background: var(--gfp-navy);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gfp-navy);
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: var(--gfp-text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.section-heading .section-tag {
  display: inline-block;
  background: var(--gfp-green-light);
  color: var(--gfp-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.gfp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.gfp-cat-card {
  background: var(--gfp-white);
  border: 1px solid var(--gfp-border);
  border-radius: var(--radius-md);
  padding: 28px 20px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans-med);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.gfp-cat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gfp-green);
  transform: scaleX(0);
  transition: transform var(--trans-med);
}

.gfp-cat-card:hover {
  box-shadow: var(--gfp-shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.gfp-cat-card:hover::before { transform: scaleX(1); }

.cat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.cat-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gfp-navy);
  margin-bottom: 6px;
  display: block;
}

.cat-desc {
  font-size: 0.78rem;
  color: var(--gfp-text-muted);
  line-height: 1.4;
}

/* Kadence Info Box overrides */
.kb-info-box-wrap {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--gfp-border) !important;
  transition: all var(--trans-med) !important;
  background: var(--gfp-white) !important;
}
.kb-info-box-wrap:hover {
  box-shadow: var(--gfp-shadow-hover) !important;
  transform: translateY(-4px) !important;
}

/* ============================================================
   POST CARDS — Reviews & Best Of
   ============================================================ */
.gfp-post-card,
.kb-post-grid-item {
  background: var(--gfp-white) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--gfp-border) !important;
  overflow: hidden !important;
  transition: all var(--trans-med) !important;
  display: flex;
  flex-direction: column;
}

.gfp-post-card:hover,
.kb-post-grid-item:hover {
  box-shadow: var(--gfp-shadow-hover) !important;
  transform: translateY(-4px) !important;
}

.gfp-post-card .card-img,
.kb-post-grid-item .kadence-post-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.gfp-post-card .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gfp-post-card .card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gfp-green-dark);
  margin-bottom: 8px;
}

.gfp-post-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gfp-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.gfp-post-card .card-excerpt {
  font-size: 0.875rem;
  color: var(--gfp-text-muted);
  line-height: 1.6;
  flex: 1;
}

.gfp-post-card .card-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gfp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gfp-text-muted);
}

/* Star Rating — [gfp_rating] shortcode output */
.gfp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}
.stars-wrapper {
  position: relative;
  display: inline-block;
  line-height: 1;
  font-size: 1.1rem;
}
.stars-bg {
  color: #D1D5DB; /* grey empty stars */
  letter-spacing: 2px;
}
.stars-filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #F59E0B; /* amber filled stars */
  letter-spacing: 2px;
}
.rating-score {
  color: var(--gfp-text-muted);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ============================================================
   BEST-OF SECTION — Money section
   ============================================================ */
.best-of-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.best-of-card {
  background: var(--gfp-white);
  border: 1px solid var(--gfp-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--trans-med);
  text-decoration: none;
  position: relative;
}

.best-of-card:hover {
  box-shadow: var(--gfp-shadow-hover);
  transform: translateY(-3px);
  border-color: var(--gfp-green);
}

.best-of-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--gfp-green);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.5;
}

.best-of-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gfp-navy);
  margin-bottom: 4px;
}

.best-of-card p {
  font-size: 0.8rem;
  color: var(--gfp-text-muted);
  margin: 0;
  line-height: 1.5;
}

.best-of-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gfp-green);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity var(--trans-fast), right var(--trans-fast);
}
.best-of-card:hover .best-of-arrow {
  opacity: 1;
  right: 16px;
}

/* ============================================================
   COMPARISON SECTION
   ============================================================ */
.comparison-block {
  background: var(--gfp-navy);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.comparison-block h2 {
  color: var(--gfp-white);
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.comparison-block > div:first-child p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.comparison-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-links li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-links li:last-child { border-bottom: none; }

.comparison-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--trans-fast);
}

.comparison-links a:hover { color: var(--gfp-green); }

.comparison-links a::after {
  content: '→';
  color: var(--gfp-green);
  font-size: 1rem;
  opacity: 0;
  transition: opacity var(--trans-fast);
}
.comparison-links a:hover::after { opacity: 1; }

/* ============================================================
   GUIDES SECTION
   ============================================================ */
.guides-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guides-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gfp-white);
  border: 1px solid var(--gfp-border);
  border-radius: var(--radius-sm);
  color: var(--gfp-navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--trans-fast);
}

.guides-list li a:hover {
  background: var(--gfp-green-light);
  border-color: var(--gfp-green);
  transform: translateX(4px);
}

.guides-list li a .guide-icon {
  width: 36px;
  height: 36px;
  background: var(--gfp-green-light);
  color: var(--gfp-green-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--trans-fast);
}

.guides-list li a:hover .guide-icon {
  background: var(--gfp-green);
  color: white;
}

/* ============================================================
   EMAIL SIGNUP SECTION
   ============================================================ */
.gfp-email-section {
  background: linear-gradient(135deg, var(--gfp-green-light) 0%, #D1FAE5 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  border: 1px solid rgba(60,207,145,0.2);
}

.gfp-email-section h2 {
  font-size: 2rem;
  color: var(--gfp-navy);
  margin-bottom: 0.5rem;
}

.gfp-email-section p {
  color: var(--gfp-text-muted);
  margin-bottom: 1.8rem;
  font-size: 1rem;
}

.email-form-row {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(31,42,68,0.1);
}

.email-form-row input[type="email"] {
  flex: 1;
  border: none;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  background: var(--gfp-white);
  color: var(--gfp-text);
}

.email-form-row button {
  background: var(--gfp-navy);
  color: var(--gfp-white);
  border: none;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--trans-fast);
}
.email-form-row button:hover { background: var(--gfp-navy-light); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--gfp-white);
  border-top: 1px solid var(--gfp-border);
  border-bottom: 1px solid var(--gfp-border);
  padding: 28px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gfp-navy);
}

.trust-icon {
  width: 38px;
  height: 38px;
  background: var(--gfp-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
.kadence-footer {
  background: var(--gfp-navy) !important;
  color: rgba(255,255,255,0.75) !important;
}

.footer-bottom-wrap {
  background: rgba(0,0,0,0.2) !important;
}

.site-footer a,
.kadence-footer a {
  color: rgba(255,255,255,0.7);
  transition: color var(--trans-fast);
}

.site-footer a:hover,
.kadence-footer a:hover {
  color: var(--gfp-green) !important;
}

.footer-widget-title,
.widget-title {
  font-family: var(--font-heading) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--gfp-white) !important;
  margin-bottom: 1.2rem !important;
}

.footer-logo img { max-height: 40px; filter: brightness(0) invert(1); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-green  { color: var(--gfp-green); }
.text-navy   { color: var(--gfp-navy); }
.text-muted  { color: var(--gfp-text-muted); }

.badge-green {
  display: inline-block;
  background: var(--gfp-green-light);
  color: var(--gfp-green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

/* ============================================================
   KADENCE-SPECIFIC OVERRIDES
   ============================================================ */

/* Row/Section backgrounds */
.wp-block-kadence-rowlayout {
  margin-bottom: 0 !important;
}

/* Global color palette sync */
.has-kadence-palette-1-color      { color: var(--gfp-navy) !important; }
.has-kadence-palette-2-color      { color: var(--gfp-green) !important; }
.has-kadence-palette-1-background-color { background-color: var(--gfp-navy) !important; }
.has-kadence-palette-2-background-color { background-color: var(--gfp-green) !important; }

/* Heading block sizes */
.wp-block-kadence-advancedheading {
  font-family: var(--font-heading) !important;
}

/* ============================================================
   FRONT-PAGE — Homepage Template Layout
   ============================================================ */

/* Hero 2-col grid — force grid display to override any Kadence reset */
.gfp-hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 48px;
  align-items: center;
}

/* Ghost (outline white) button — hero only */
.gfp-btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--gfp-white);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color var(--trans-fast), background var(--trans-fast);
}
.gfp-btn-ghost:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  color: var(--gfp-white);
}

.gfp-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero media area */
.gfp-hero-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}
.gfp-hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
}
/* Specific override for the external hero image */
.gfp-hero-img {
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  aspect-ratio: unset !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}
.gfp-hero-placeholder {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  font-family: var(--font-heading);
}
.gfp-hero-placeholder-icon { font-size: 3rem; line-height: 1; }

/* Reviews 3-col grid */
.gfp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card image placeholder (when no thumbnail) */
.card-img-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--gfp-green-light), #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.card-img-link { display: block; }

/* Comparison arrow */
.comparison-arrow {
  color: var(--gfp-green);
  font-size: 1rem;
  opacity: 0;
  transition: opacity var(--trans-fast);
}
.comparison-links a:hover .comparison-arrow { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .comparison-block {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 36px;
  }
  .gfp-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gfp-hero-media { order: -1; }
  .gfp-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gfp-hero { padding: 52px 0; }
  .gfp-section { padding: 52px 0; }
  .gfp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .best-of-grid { grid-template-columns: 1fr; }
  .comparison-block { padding: 28px; }
  .gfp-email-section { padding: 36px 24px; }
  .email-form-row { flex-direction: column; border-radius: var(--radius-md); overflow: visible; }
  .email-form-row input[type="email"] { border-radius: var(--radius-md); margin-bottom: 10px; }
  .email-form-row button { border-radius: var(--radius-md); padding: 14px; }
  .trust-items { gap: 24px; }
  .gfp-reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gfp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { flex-direction: column; gap: 18px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* ============================================================
   AFFILIATE DISCLOSURE BOX
   ============================================================ */
.gfp-affiliate-disclosure {
  background: var(--gfp-green-light);
  border-left: 4px solid var(--gfp-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 0.875rem;
  color: var(--gfp-text);
  line-height: 1.6;
}
.gfp-affiliate-disclosure strong { color: var(--gfp-navy); }
.gfp-affiliate-disclosure a {
  color: var(--gfp-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   PRODUCT COMPARISON TABLE
   ============================================================ */
.gfp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.9rem;
  box-shadow: var(--gfp-shadow);
  margin: 32px 0;
}
.gfp-comparison-table thead th {
  background: var(--gfp-navy);
  color: var(--gfp-white);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gfp-comparison-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.gfp-comparison-table thead th:last-child  { border-radius: 0 var(--radius-md) 0 0; }
.gfp-comparison-table tbody tr {
  border-bottom: 1px solid var(--gfp-border);
  transition: background var(--trans-fast);
}
.gfp-comparison-table tbody tr:last-child { border-bottom: none; }
.gfp-comparison-table tbody tr:hover { background: var(--gfp-green-light); }
.gfp-comparison-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  color: var(--gfp-text);
}
.gfp-comparison-table tbody tr:nth-child(even) td { background: var(--gfp-bg); }
.gfp-comparison-table tbody tr.top-pick td:first-child {
  border-left: 3px solid var(--gfp-green);
}
.gfp-comparison-table .check  { color: #22C55E; font-size: 1rem; }
.gfp-comparison-table .cross  { color: #EF4444; font-size: 1rem; }
.gfp-comparison-table .rating { color: #F59E0B; }

/* ============================================================
   PROS / CONS BLOCK
   ============================================================ */
.gfp-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.gfp-pros, .gfp-cons {
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.gfp-pros {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
}
.gfp-cons {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
}
.gfp-pros h4, .gfp-cons h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}
.gfp-pros h4 { color: #16A34A; }
.gfp-cons h4 { color: #DC2626; }
.gfp-pros ul, .gfp-cons ul { list-style: none; padding: 0; margin: 0; }
.gfp-pros li, .gfp-cons li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gfp-text);
  padding: 5px 0;
  line-height: 1.5;
}
.gfp-pros li::before { content: '✓'; color: #16A34A; font-weight: 700; flex-shrink: 0; }
.gfp-cons li::before { content: '✗'; color: #DC2626; font-weight: 700; flex-shrink: 0; }
@media (max-width: 600px) {
  .gfp-pros-cons { grid-template-columns: 1fr; }
}

/* ============================================================
   TOP PICK BADGE
   ============================================================ */
.gfp-top-pick-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gfp-green);
  color: var(--gfp-white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 50px;
  vertical-align: middle;
}
.gfp-top-pick-badge::before { content: '★'; font-size: 0.75rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.gfp-faq {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gfp-border);
}
.gfp-faq-item {
  border-bottom: 1px solid var(--gfp-border);
}
.gfp-faq-item:last-child { border-bottom: none; }
.gfp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gfp-navy);
  cursor: pointer;
  list-style: none;
  transition: background var(--trans-fast);
  background: var(--gfp-white);
}
.gfp-faq-item summary:hover { background: var(--gfp-green-light); }
.gfp-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gfp-green);
  font-weight: 400;
  transition: transform var(--trans-fast);
  flex-shrink: 0;
}
.gfp-faq-item[open] summary::after { content: '−'; }
.gfp-faq-content {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--gfp-text-muted);
  line-height: 1.7;
  background: var(--gfp-white);
}

/* ============================================================
   STICKY BUY NOW CTA (for review posts)
   ============================================================ */
.gfp-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--gfp-navy);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 24px rgba(31,42,68,0.18);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.gfp-sticky-cta.is-visible { transform: translateY(0); }
.gfp-sticky-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
  font-family: var(--font-heading);
}
.gfp-sticky-cta strong { color: var(--gfp-white); }
.gfp-sticky-cta .gfp-btn-buy {
  background: var(--gfp-green);
  color: var(--gfp-white);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background var(--trans-fast), transform var(--trans-fast);
}
.gfp-sticky-cta .gfp-btn-buy:hover {
  background: var(--gfp-green-dark);
  transform: translateY(-1px);
}
.gfp-sticky-cta .gfp-btn-buy:focus-visible {
  outline: 2px solid var(--gfp-white);
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .gfp-sticky-cta { flex-direction: column; text-align: center; gap: 10px; }
}

/* ============================================================
   PRICE COMPARISON CARD
   ============================================================ */
.gfp-price-card {
  background: var(--gfp-white);
  border: 1px solid var(--gfp-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 12px 0;
  transition: all var(--trans-med);
  text-decoration: none;
}
.gfp-price-card:hover {
  border-color: var(--gfp-green);
  box-shadow: var(--gfp-shadow-hover);
  transform: translateY(-2px);
}
.gfp-price-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.gfp-price-card-body { flex: 1; }
.gfp-price-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gfp-navy);
  margin-bottom: 4px;
}
.gfp-price-card-body .price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gfp-green-dark);
}
.gfp-price-card-body .price-original {
  font-size: 0.85rem;
  color: var(--gfp-text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}
.gfp-price-card .buy-btn {
  background: var(--gfp-green);
  color: var(--gfp-white);
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background var(--trans-fast);
  flex-shrink: 0;
}
.gfp-price-card:hover .buy-btn { background: var(--gfp-green-dark); }

/* ============================================================
   AFFILIATE HIGHLIGHT BOX
   ============================================================ */
.gfp-highlight-box {
  background: linear-gradient(135deg, var(--gfp-navy) 0%, var(--gfp-navy-light) 100%);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  color: var(--gfp-white);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.gfp-highlight-box::before {
  content: '🏆';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  opacity: 0.15;
}
.gfp-highlight-box h4 {
  color: var(--gfp-green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.gfp-highlight-box h3 {
  color: var(--gfp-white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.gfp-highlight-box p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.gfp-highlight-box a {
  display: inline-block;
  background: var(--gfp-green);
  color: var(--gfp-white);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background var(--trans-fast), transform var(--trans-fast);
}
.gfp-highlight-box a:hover {
  background: var(--gfp-green-dark);
  transform: translateY(-1px);
}

/* ============================================================
   DARK MODE
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --gfp-bg:       #0F1623;
    --gfp-white:    #1A2236;
    --gfp-card-bg:  #1A2236;
    --gfp-text:     #E5E7EB;
    --gfp-text-muted:#9CA3AF;
    --gfp-border:   #2E3A54;
    --gfp-shadow:   0 2px 12px rgba(0,0,0,0.35);
    --gfp-shadow-hover: 0 8px 32px rgba(0,0,0,0.5);
  }
  body { background-color: var(--gfp-bg); color: var(--gfp-text); }
  h1, h2, h3, h4, h5, h6 { color: #F3F4F6; }
  a { color: var(--gfp-green); }
  a:hover { color: var(--gfp-green-dark); }

  .gfp-cat-card,
  .gfp-post-card,
  .best-of-card,
  .guides-list li a,
  .gfp-price-card { background: var(--gfp-card-bg); border-color: var(--gfp-border); }

  .gfp-affiliate-disclosure { background: rgba(60,207,145,0.08); }
  .gfp-pros { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
  .gfp-cons { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.25); }
  .gfp-faq-item summary,
  .gfp-faq-content { background: var(--gfp-card-bg); }
  .gfp-faq-item summary:hover { background: rgba(60,207,145,0.08); }
  .email-form-row input[type="email"] { background: var(--gfp-card-bg); color: var(--gfp-text); }
  .trust-bar { background: var(--gfp-card-bg); border-color: var(--gfp-border); }
  .section-heading h2 { color: #F3F4F6; }
}

/* ============================================================
   REDUCE MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   MOBILE — reduce heavy shadows for performance
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --gfp-shadow:       0 1px 6px rgba(31,42,68,0.07);
    --gfp-shadow-hover: 0 4px 16px rgba(31,42,68,0.12);
  }
}
