/* ===== Design Tokens (matching landing page) ===== */
:root {
  --warm-white: #FAF8F5;
  --cream: #F3EDE4;
  --sand: #E8DFD1;
  --bark: #8B7355;
  --deep-bark: #5C4A32;
  --charcoal: #2D2A26;
  --soft-green: #7A8B6F;
  --sage: #A4B494;
  --muted-rose: #C4A89B;
  --warm-gray: #9B9389;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--deep-bark);
  letter-spacing: -0.01em;
}

.logo span { color: var(--soft-green); }
.logo-link { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--warm-gray);
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--deep-bark); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  background: var(--soft-green);
  color: white;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--deep-bark); }

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown > a::after {
  content: '▼';
  font-size: 0.6rem;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: white;
  border: 1px solid rgba(139, 115, 85, 0.12);
  border-radius: 10px;
  padding: 1.25rem 0 0.75rem;
  min-width: 200px;
  margin-top: 0;
  box-shadow: 0 8px 24px rgba(92, 74, 50, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1000;
  pointer-events: none;
}

.nav-dropdown:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-sub li {
  list-style: none;
}

.nav-sub li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--charcoal);
  font-size: 0.9rem;
  transition: all 0.15s;
}

.nav-sub li a:hover {
  background: var(--cream);
  color: var(--soft-green);
  padding-left: 1.5rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-content {
  padding-top: 72px;
  min-height: 100vh;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.crumb {
  color: var(--bark);
  transition: color 0.2s;
}

.crumb:hover { color: var(--deep-bark); }
.crumb-sep { color: var(--sand); margin: 0 0.1rem; }
.crumb-current { color: var(--charcoal); font-weight: 500; }

/* ===== PROVIDER PRICING PAGE ===== */
.provider-pricing-page {
  padding-bottom: 4rem;
}

.provider-pricing-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.provider-pricing-kicker,
.provider-pricing-status {
  color: var(--soft-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provider-pricing-hero h1 {
  margin: 0.5rem 0 0.75rem;
  color: var(--deep-bark);
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
}

.provider-pricing-hero > p:last-child {
  color: var(--warm-gray);
  font-size: 1.05rem;
}

.provider-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.provider-pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--sand);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(92, 74, 50, 0.05);
}

.provider-pricing-card--premium {
  border: 2px solid var(--soft-green);
  box-shadow: 0 10px 28px rgba(122, 139, 111, 0.16);
}

.provider-pricing-card--unavailable {
  background: var(--cream);
  box-shadow: none;
}

.provider-pricing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.provider-pricing-card h2 {
  margin-top: 0.35rem;
  color: var(--deep-bark);
  font-family: 'Lora', serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
}

.provider-pricing-badge {
  flex: 0 0 auto;
  padding: 0.3rem 0.55rem;
  color: var(--deep-bark);
  background: var(--sage);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.provider-pricing-description {
  min-height: 4.8rem;
  margin: 1rem 0 0;
  color: var(--warm-gray);
  font-size: 0.95rem;
}

.provider-pricing-price {
  margin: 1rem 0 0.6rem;
  color: var(--deep-bark);
  font-size: 1.65rem;
  font-weight: 700;
}

.provider-pricing-eligibility {
  min-height: 3.2rem;
  margin-bottom: 1.35rem;
  color: var(--charcoal);
  font-size: 0.9rem;
  line-height: 1.5;
}

.provider-pricing-card h3 {
  margin-bottom: 0.75rem;
  color: var(--deep-bark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.provider-pricing-features {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.provider-pricing-features li {
  display: grid;
  gap: 0.18rem;
  padding-left: 1.35rem;
  position: relative;
}

.provider-pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--soft-green);
  font-weight: 700;
}

.provider-pricing-features strong {
  color: var(--charcoal);
  font-size: 0.92rem;
  line-height: 1.35;
}

.provider-pricing-features span {
  color: var(--warm-gray);
  font-size: 0.85rem;
  line-height: 1.45;
}

.provider-pricing-availability {
  margin: auto 0 1rem;
  color: var(--deep-bark);
  font-size: 0.88rem;
  font-style: italic;
}

.provider-pricing-cta {
  display: block;
  margin-top: auto;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--soft-green);
  border: 1px solid var(--soft-green);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.provider-pricing-cta:hover {
  background: var(--deep-bark);
  border-color: var(--deep-bark);
}

.provider-pricing-cta:focus-visible {
  outline: 3px solid rgba(122, 139, 111, 0.45);
  outline-offset: 3px;
}

.provider-pricing-cta--disabled {
  color: var(--warm-gray);
  background: var(--sand);
  border-color: var(--sand);
  cursor: not-allowed;
}

.provider-pricing-note {
  max-width: 760px;
  margin: 2rem auto 0;
  color: var(--warm-gray);
  font-size: 0.88rem;
  text-align: center;
}

/* ===== SEARCH PAGE ===== */
.search-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}

.search-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.5rem;
}

.search-subtitle {
  color: var(--warm-gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.search-form {
  display: flex;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
  align-items: stretch;
}

.search-input-group {
  flex: 1;
  position: relative;
}

.search-icon-wrap {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bark);
  display: flex;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.75rem;
  border: 1px solid var(--sand);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: white;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--soft-green);
  box-shadow: 0 0 0 3px rgba(122, 139, 111, 0.1);
}

.search-input::placeholder { color: var(--warm-gray); }

.service-filter {
  padding: 0.9rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: white;
  cursor: pointer;
  min-width: 150px;
}

.service-filter:focus {
  outline: none;
  border-color: var(--soft-green);
}

.btn-search {
  padding: 0.9rem 1.75rem;
  background: var(--soft-green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-search:hover { background: var(--deep-bark); }

.search-extras {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.iaopcc-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: #1a5fb4;
  font-weight: 500;
  user-select: none;
}

.iaopcc-filter-label input[type="checkbox"] {
  accent-color: #1a5fb4;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.iaopcc-filter-text {
  transition: opacity 0.15s;
}

.iaopcc-filter-label:hover .iaopcc-filter-text {
  opacity: 0.75;
}

.near-me-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: #f0f5ee;
  color: #7A8B6F;
  border: 1.5px solid #A4B494;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.near-me-btn:hover {
  background: var(--soft-green);
  color: white;
  border-color: var(--soft-green);
}

.near-me-btn:active {
  transform: scale(0.98);
}

.near-me-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
}

.results-section {
  padding: 2rem 2rem 4rem;
}

.results-header {
  margin-bottom: 1.5rem;
}

.results-header h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  color: var(--deep-bark);
  font-weight: 500;
}

/* ===== PROVIDER LIST CARD ===== */
.providers-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.provider-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.provider-list-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--cream);
  transition: background 0.15s;
  border-radius: 12px;
  margin-bottom: 2px;
}

.provider-list-card:hover {
  background: var(--cream);
}

.provider-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.provider-avatar.green { background: rgba(122, 139, 111, 0.15); }
.provider-avatar.rose { background: rgba(196, 168, 155, 0.2); }
.provider-avatar.sand { background: rgba(139, 115, 85, 0.12); }

.provider-info { flex: 1; min-width: 0; }

.provider-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.provider-name-row h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
}

.provider-location {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-top: 0.15rem;
}

.provider-rating {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.provider-rating .stars {
  color: #d4a340;
  letter-spacing: -1px;
}

.provider-rating .rating-num {
  font-weight: 600;
  color: var(--charcoal);
}

.provider-rating .review-count {
  color: var(--warm-gray);
  font-size: 0.8rem;
}

.provider-rating.detail-rating {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.provider-rating.detail-rating .stars {
  font-size: 1.1rem;
}

.provider-rating.detail-rating .review-count {
  font-size: 0.9rem;
}

.provider-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.provider-updated-at {
  font-size: 0.75rem;
  color: #b0bab0;
  margin-top: 0.4rem;
}

/* ===== BADGES & TAGS ===== */
.badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge.verified {
  background: rgba(122, 139, 111, 0.12);
  color: var(--soft-green);
}

.badge.claimed {
  background: rgba(139, 115, 85, 0.1);
  color: var(--bark);
}

.badge.iaopcc {
  background: rgba(30, 100, 180, 0.1);
  color: #1a5fb4;
  font-weight: 600;
  border: 1px solid rgba(30, 100, 180, 0.2);
}

/* IAOPCC tooltip wrapper */
.iaopcc-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.iaopcc-badge-wrap .iaopcc-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.4;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 240px;
  white-space: normal;
  text-align: center;
  z-index: 100;
  pointer-events: none;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.iaopcc-badge-wrap .iaopcc-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a1a;
}

.iaopcc-badge-wrap:hover .iaopcc-tooltip {
  display: block;
}

/* ===== TRUST SIGNALS SECTION (provider detail page) ===== */
.trust-signals-section {
  border-top: 1px solid var(--border-light, #e8e0d6);
}

.trust-signals-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--cream, #faf7f4);
  border: 1px solid transparent;
}

.trust-item--iaopcc {
  background: rgba(26, 95, 180, 0.05);
  border-color: rgba(26, 95, 180, 0.15);
}

.trust-item--verified {
  background: rgba(45, 122, 79, 0.05);
  border-color: rgba(45, 122, 79, 0.15);
}

.trust-item--reviews {
  background: rgba(232, 160, 32, 0.05);
  border-color: rgba(232, 160, 32, 0.15);
}

.trust-item-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-item--iaopcc .trust-item-icon {
  background: rgba(26, 95, 180, 0.12);
  color: #1a5fb4;
}

.trust-item--verified .trust-item-icon {
  background: rgba(45, 122, 79, 0.12);
  color: #2d7a4f;
}

.trust-item--reviews .trust-item-icon {
  background: rgba(232, 160, 32, 0.12);
  color: #c07800;
  font-size: 0.8rem;
}

.trust-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-item-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal, #2a2a2a);
}

.trust-item-text span {
  font-size: 0.78rem;
  color: var(--text-light, #666);
  line-height: 1.4;
}

.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  background: var(--cream);
  color: var(--bark);
  font-weight: 400;
}

.tag.price {
  background: rgba(122, 139, 111, 0.1);
  color: var(--soft-green);
  font-weight: 500;
}

/* ===== DIRECTORY / STATES ===== */
.directory-hero, .state-hero, .city-hero, .provider-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  padding: 3rem 0 2.5rem;
}

.directory-hero .container,
.state-hero .container,
.city-hero .container,
.provider-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.directory-hero h1, .state-hero h1, .city-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.4rem;
}

.directory-subtitle, .state-subtitle, .city-subtitle {
  color: var(--warm-gray);
  font-size: 1rem;
}

.city-services {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.state-card, .city-card, .county-card {
  background: white;
  border: 1px solid rgba(139, 115, 85, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.state-card:hover, .city-card:hover, .county-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 74, 50, 0.08);
}

.state-card h3, .city-card h3, .county-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.25rem;
}

.state-count, .city-count, .county-count {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 2rem 0 4rem;
}

/* ===== PROVIDER DETAIL ===== */
.provider-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  padding: 2rem 0 4rem;
  align-items: start;
}

.provider-header {
  margin-bottom: 2rem;
}

.provider-header h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.5rem;
}

.provider-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.provider-address {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

.listing-last-updated {
  font-size: 0.82rem;
  color: #a8b2a8;
  margin-top: 0.35rem;
}

.provider-section {
  margin-bottom: 2rem;
}

.provider-section h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.75rem;
}

.provider-section p {
  color: var(--charcoal);
  line-height: 1.7;
}

/* ── Provider Photo Gallery ─────────────────────────────────────── */
.provider-photo-gallery {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  gap: 4px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-single {
  grid-template-columns: 1fr;
}

.gallery-two {
  grid-template-columns: 1fr 1fr;
}

.gallery-multi {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.gallery-multi .gallery-item:first-child {
  grid-row: 1 / 3;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--warm-gray, #f5f3f0);
}

.gallery-single .gallery-item {
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.gallery-credit {
  font-size: 0.75rem;
  color: var(--text-light, #888);
  margin: 0.4rem 0 0;
  text-align: right;
}

@media (max-width: 480px) {
  .gallery-multi {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-multi .gallery-item:first-child {
    grid-row: auto;
  }
}
/* ── End Provider Photo Gallery ─────────────────────────────────── */

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--soft-green);
  flex-shrink: 0;
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream);
}

.detail-label {
  font-size: 0.9rem;
  color: var(--warm-gray);
}

.detail-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--deep-bark);
}

a.detail-value:hover { color: var(--soft-green); }

/* ===== CONTACT FORM / CARD ===== */
.contact-card {
  background: white;
  border: 1px solid rgba(139, 115, 85, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(92, 74, 50, 0.04);
  position: sticky;
  top: 88px;
}

.contact-card h2, .contact-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.35rem;
}

.contact-card > p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

.provider-owner-card {
  margin-bottom: 16px;
  background: #f0faf4;
  border: 1px solid #c3e6d3;
}

.provider-owner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.provider-owner-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.provider-owner-action--primary {
  background: #2d7a4f;
  color: #fff;
}

.provider-owner-action--upgrade {
  background: #fff4d6;
  border: 1px solid #e6c77a;
  color: #7a4d00;
}

.provider-owner-action--primary:hover,
.provider-owner-action--primary:focus-visible { color: #fff; }

.provider-owner-action--primary:hover { background: #245f3e; }
.provider-owner-action--upgrade:hover { background: #b7791f; color: #fff; }

.provider-owner-action:focus-visible {
  outline: 3px solid #1f2937;
  outline-offset: 3px;
}

.provider-owner-action.btn-submit { margin-top: 0; }

.city-contact-section {
  max-width: 600px;
  margin: 3rem auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--soft-green);
  box-shadow: 0 0 0 3px rgba(122, 139, 111, 0.1);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.btn-submit {
  padding: 0.8rem;
  background: var(--soft-green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1rem;
}

.btn-submit:hover { background: var(--deep-bark); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-message {
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.form-message.success {
  background: rgba(122, 139, 111, 0.1);
  color: var(--soft-green);
}

.form-message.error {
  background: rgba(196, 168, 155, 0.15);
  color: #c0392b;
}

/* ===== BUTTONS ===== */
.btn-outline {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--bark);
  border-radius: 10px;
  color: var(--bark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--bark);
  color: white;
}

.browse-prompt, .no-results {
  text-align: center;
  padding: 3rem 1rem;
}

.browse-prompt h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  color: var(--deep-bark);
  margin-bottom: 1rem;
}

.no-results p {
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 3.5rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 220px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--sage); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p { font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.8rem; padding: 0.5rem 1rem; }

  .nav-sub {
    position: static;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin-top: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    transform: none;
    transition: all 0.2s ease;
  }

  .nav-dropdown.active .nav-sub {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(139, 115, 85, 0.12);
    margin-top: 0.5rem;
  }

  .container { padding: 0 1.5rem; }

  .search-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .service-filter { min-width: auto; }

  .provider-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-card { position: static; }

  .form-row { grid-template-columns: 1fr; }

  .states-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .directory-hero, .state-hero, .city-hero, .provider-hero {
    padding: 2rem 0 1.5rem;
  }

  .provider-pricing-hero { padding: 2rem 0 1.5rem; }
  .provider-pricing-grid { grid-template-columns: 1fr; }
  .provider-pricing-description,
  .provider-pricing-eligibility { min-height: 0; }
}

@media (max-width: 480px) {
  .states-grid { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .provider-list-card { padding: 1rem; }
  .provider-avatar { width: 44px; height: 44px; }
  .nearby-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content-section {
  max-width: 760px;
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--cream);
}

.seo-content-section h2 {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 1rem;
}

.seo-content-section p {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  margin-top: 2rem;
}

.faq-section h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 1rem;
}

.faq-item {
  border: 1px solid var(--cream);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: white;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

.faq-item summary:hover {
  background: var(--cream);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--bark);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ===== NEARBY CITIES ===== */
.nearby-cities-section {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--cream);
}

.nearby-cities-section h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 1.25rem;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.nearby-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background: white;
  border: 1px solid rgba(139, 115, 85, 0.08);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.nearby-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(92, 74, 50, 0.08);
  border-color: rgba(139, 115, 85, 0.18);
}

.nearby-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soft-green);
  line-height: 1.3;
}

.nearby-count {
  font-size: 0.73rem;
  color: var(--warm-gray);
}

/* ===== DIRECTORY SEARCH BAR ===== */
.directory-search-bar {
  margin: 2rem 0 1.5rem;
}

.directory-quick-search {
  display: flex;
  gap: 0.75rem;
  max-width: 600px;
}

.directory-quick-search .search-input {
  flex: 1;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--sand);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: white;
  transition: border-color 0.2s;
}

.directory-quick-search .search-input:focus {
  outline: none;
  border-color: var(--soft-green);
  box-shadow: 0 0 0 3px rgba(122, 139, 111, 0.1);
}

/* ===== POPULAR CITIES ===== */
.popular-section {
  text-align: left;
  padding: 1rem 0 2rem;
}

.popular-section h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  color: var(--deep-bark);
  margin-bottom: 1.25rem;
}

.popular-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.popular-city-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  background: white;
  border: 1px solid rgba(139, 115, 85, 0.08);
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.popular-city-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(92, 74, 50, 0.06);
}

.popular-city-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}

.popular-city-count {
  font-size: 0.8rem;
  color: var(--warm-gray);
}

/* ===== RELATED PROVIDERS ===== */
.related-providers-section {
  margin: 2rem 0 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream);
}

.related-providers-section h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 1rem;
}

/* ===== PRICING PILL (provider cards) ===== */
.pricing-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ===== PRICING TABLE (provider detail) ===== */
.pricing-section h2 {
  margin-bottom: 1rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.pricing-table thead th {
  text-align: left;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--deep-bark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--sand);
}

.pricing-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--sand);
  color: var(--charcoal);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table .price-cell {
  font-weight: 600;
  color: #2e7d32;
  white-space: nowrap;
}

.pricing-disclaimer {
  font-size: 0.8rem;
  color: var(--warm-gray);
  font-style: italic;
  margin-top: 4px;
}

/* ===== REQUEST PRICING CARD ===== */
.request-pricing-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--sand);
}

.request-pricing-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.request-pricing-title {
  font-weight: 600;
  color: var(--deep-bark);
  margin-bottom: 4px;
  font-size: 1rem;
}

.request-pricing-desc {
  font-size: 0.9rem;
  color: var(--bark);
  line-height: 1.5;
}

.request-pricing-card--subtle {
  background: transparent;
  border: 1px dashed var(--sand);
  padding: 14px 18px;
}

/* ===== PRICING SOURCE BADGE ===== */
.pricing-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.pricing-source-verified {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.pricing-source-web {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
}

/* ===== PRICING LAST UPDATED ===== */
.pricing-last-updated {
  font-style: normal;
  font-weight: 400;
  color: var(--warm-gray);
  font-size: 0.78rem;
}

/* ===== PRICE LEVEL INDICATOR ===== */
.price-level-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--sand);
  margin-bottom: 12px;
}
.price-level-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.price-level-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--sand);
  color: var(--warm-gray);
  background: #fff;
  transition: all .15s;
}
.price-level-dot.active {
  border-color: #2e7d32;
  color: #2e7d32;
  background: #e8f5e9;
}
.price-level-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.price-level-label strong {
  font-size: 0.95rem;
  color: var(--deep-bark);
}
.price-level-label span {
  font-size: 0.82rem;
  color: var(--bark);
  line-height: 1.4;
}

/* ===== PRICING ADD-ONS ===== */
.pricing-addons {
  margin-top: 16px;
  border-top: 1px solid var(--sand);
  padding-top: 16px;
}
.pricing-addons-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep-bark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pricing-table--addons thead {
  display: none;
}
.pricing-table--addons td:last-child {
  font-weight: 600;
  color: #2e7d32;
  text-align: right;
  white-space: nowrap;
}
.pricing-addon-note {
  font-size: 0.85rem;
  color: var(--bark);
  margin-top: 8px;
}

/* ===== PRICING PICKUP FEE ===== */
.pricing-pickup-fee {
  font-size: 0.87rem;
  color: var(--bark);
  margin-top: 10px;
  padding: 8px 12px;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid var(--sand);
}
.pickup-icon { margin-right: 4px; }

/* ===== PRICING NOTE ===== */
.pricing-note {
  font-size: 0.85rem;
  color: var(--bark);
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 4px;
}

/* ===== TIER INCLUDES ===== */
.tier-includes {
  display: block;
  font-size: 0.78rem;
  color: var(--warm-gray);
  font-weight: 400;
  font-style: italic;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .directory-quick-search {
    flex-direction: column;
  }
  .popular-cities-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-table {
    font-size: 0.85rem;
  }
  .pricing-table thead th,
  .pricing-table tbody td {
    padding: 8px 10px;
  }
}

/* ===== BLOG ===== */
.blog-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.blog-hero p {
  color: var(--warm-gray);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  padding: 3rem 0 4rem;
}

.blog-card {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(92, 74, 50, 0.1);
  transform: translateY(-2px);
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--soft-green);
  background: rgba(122, 139, 111, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.blog-card h2 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--warm-gray);
}

.blog-card-meta span { display: flex; align-items: center; gap: 0.3rem; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--soft-green);
  margin-top: 1rem;
  transition: color 0.2s;
}

.blog-read-more:hover { color: var(--deep-bark); }

/* ===== ARTICLE PAGE ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

.article-header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--sand);
  margin-bottom: 2.5rem;
}

.article-header .blog-card-tag { margin-bottom: 1rem; }

.article-header h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--deep-bark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--warm-gray);
  flex-wrap: wrap;
}

.article-meta span { display: flex; align-items: center; gap: 0.35rem; }

.article-body {
  padding: 0 0.5rem;
}

.article-body h2 {
  font-family: 'Lora', serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 1.75rem 0 0.6rem;
}

.article-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-body li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.article-body a {
  color: var(--soft-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.article-body a:hover { color: var(--deep-bark); }

.article-body strong { color: var(--deep-bark); font-weight: 600; }

.comparison-permalink .article-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.comparison-permalink .article-body {
  min-width: 0;
}

.comparison-permalink a:focus-visible {
  outline: 3px solid var(--soft-green);
  outline-offset: 3px;
  border-radius: 3px;
}

.comparison-details {
  margin: 2.5rem 0 0;
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 12px;
}

.comparison-details h2 {
  margin: 0 0 1rem;
  font-family: 'Lora', serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--deep-bark);
  line-height: 1.3;
}

.comparison-details-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-details-table caption {
  padding: 0 0 0.85rem;
  color: var(--warm-gray);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.comparison-details-table th,
.comparison-details-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sand);
  color: var(--charcoal);
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.comparison-details-table thead tr { background: var(--cream); }
.comparison-details-table thead th { color: var(--deep-bark); font-weight: 600; }
.comparison-details-table thead th:first-child { width: 22%; }
.comparison-details-table tbody th { color: var(--deep-bark); font-weight: 600; }
.comparison-details-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.55); }
.comparison-details-table tbody tr:last-child th,
.comparison-details-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .comparison-permalink .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .comparison-permalink .data-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-details {
    margin-top: 2rem;
    padding: 1.1rem;
  }

  .comparison-details h2 { font-size: 1.35rem; }

  .comparison-details-table,
  .comparison-details-table tbody,
  .comparison-details-table tr,
  .comparison-details-table th,
  .comparison-details-table td { display: block; }

  .comparison-details-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .comparison-details-table tr {
    margin-bottom: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--sand);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
  }

  .comparison-details-table tbody tr:last-child { margin-bottom: 0; }
  .comparison-details-table tbody th,
  .comparison-details-table tbody td { width: auto; padding: 0.35rem 0; border: 0; }
  .comparison-details-table tbody th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
  .comparison-details-table tbody td { font-size: 0.9rem; }
  .comparison-details-table tbody td::before {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--warm-gray);
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}

/* Glossary links */
.glossary-links {
  width: 100%;
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 12px;
}

.glossary-links-header {
  margin-bottom: 1rem;
}

.glossary-links-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--soft-green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glossary-links h2 {
  margin: 0 0 0.35rem;
  color: var(--deep-bark);
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.glossary-links-header p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.glossary-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.65rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.glossary-links-list li {
  min-width: 0;
}

.glossary-links-list a {
  display: block;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  overflow-wrap: anywhere;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 8px;
  color: var(--soft-green);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.glossary-links-list a:hover {
  background: white;
  border-color: var(--soft-green);
  color: var(--deep-bark);
}

/* Price / comparison tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

.data-table thead tr {
  background: var(--cream);
}

.data-table thead th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--deep-bark);
  border-bottom: 2px solid var(--sand);
}

.data-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--sand);
  color: var(--charcoal);
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: rgba(243, 237, 228, 0.3); }

.data-table .td-note {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

/* Callout box */
.callout {
  background: var(--cream);
  border-left: 4px solid var(--soft-green);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.callout p { margin-bottom: 0; font-size: 0.97rem; }
.callout strong { color: var(--soft-green); }

/* FAQ section */
.faq-section {
  margin-top: 3rem;
  border-top: 1px solid var(--sand);
  padding: 2rem 0.5rem 0;
}

.faq-section h2 {
  font-family: 'Lora', serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--sand);
  padding: 1.25rem 0;
}

.article-layout .faq-item {
  padding: 1.25rem 1.25rem;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.faq-answer {
  font-size: 0.97rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* CTA box */
.article-cta {
  background: linear-gradient(135deg, var(--soft-green) 0%, var(--deep-bark) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  color: white;
  margin: 3rem 0;
}

.article-cta h3 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.article-cta p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-cta a {
  display: inline-block;
  background: white;
  color: var(--deep-bark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card h4 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 1rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card ul li {
  font-size: 0.88rem;
  color: var(--bark);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--sand);
  line-height: 1.4;
}

.sidebar-card ul li:last-child { border-bottom: none; }

.sidebar-card ul li a {
  color: var(--soft-green);
  text-decoration: none;
}

.sidebar-card ul li a:hover { color: var(--deep-bark); text-decoration: underline; }

.sidebar-cta {
  background: var(--cream);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

.sidebar-cta p {
  font-size: 0.92rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sidebar-cta a {
  display: block;
  background: var(--soft-green);
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.sidebar-cta a:hover { background: var(--deep-bark); }

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .glossary-links-list {
    grid-template-columns: 1fr;
  }
}

/* ===== COST CALCULATOR ===== */

.calc-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--sand);
}

.calc-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  color: var(--deep-bark);
  margin-bottom: 0.5rem;
}

.calc-hero-sub {
  color: var(--warm-gray);
  font-size: 1.05rem;
  max-width: 520px;
}

.calc-body {
  padding: 3rem 0 4rem;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-form {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 2rem;
}

.calc-form-title {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: var(--deep-bark);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.calc-step {
  margin-bottom: 1.5rem;
}

.calc-step-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.calc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--soft-green);
  color: white;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.calc-options-grid.two-col {
  grid-template-columns: repeat(3, 1fr);
}

.calc-option-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.4rem;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  background: var(--warm-white);
  gap: 0.2rem;
  position: relative;
}

.calc-option-label:hover {
  border-color: var(--soft-green);
  background: rgba(122, 139, 111, 0.06);
}

.calc-option-label:has(input:checked) {
  border-color: var(--soft-green);
  background: rgba(122, 139, 111, 0.12);
}

.calc-option-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.calc-option-emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.calc-option-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
}

.calc-option-sub {
  font-size: 0.68rem;
  color: var(--warm-gray);
}

.calc-select {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  color: var(--charcoal);
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B7355' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.calc-select:focus {
  outline: none;
  border-color: var(--soft-green);
  box-shadow: 0 0 0 3px rgba(122, 139, 111, 0.1);
}

.calc-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--soft-green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.calc-submit:hover { background: var(--deep-bark); }

/* ---- Results ---- */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.price-estimate-card {
  background: linear-gradient(135deg, var(--deep-bark) 0%, var(--bark) 100%);
  color: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.price-estimate-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.price-estimate-range {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.price-estimate-desc {
  font-size: 0.88rem;
  opacity: 0.8;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.price-data-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.18);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 500;
}

.calc-info-card {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 1.5rem;
}

.calc-info-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.calc-included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.calc-included-list li {
  font-size: 0.86rem;
  color: var(--warm-gray);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.calc-included-list li::before {
  content: '✓';
  color: var(--soft-green);
  font-weight: 700;
  flex-shrink: 0;
}

.calc-cta-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.calc-cta-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: var(--deep-bark);
  margin-bottom: 0.4rem;
}

.calc-cta-card p {
  font-size: 0.86rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
}

.btn-cta-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--soft-green);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta-primary:hover { background: var(--deep-bark); }

.calc-providers-section {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 1.5rem;
}

.calc-providers-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.calc-provider-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--cream);
  align-items: flex-start;
}

.calc-provider-item:last-child { border-bottom: none; }

.calc-provider-icon {
  width: 38px;
  height: 38px;
  background: rgba(122, 139, 111, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.calc-provider-details { flex: 1; min-width: 0; }

.calc-provider-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--deep-bark);
  margin-bottom: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-provider-location {
  font-size: 0.78rem;
  color: var(--warm-gray);
  margin-bottom: 0.25rem;
}

.calc-provider-link {
  font-size: 0.76rem;
  color: var(--soft-green);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.calc-provider-link:hover { color: var(--deep-bark); }

.calc-disclaimer {
  background: rgba(139, 115, 85, 0.06);
  border: 1px solid rgba(139, 115, 85, 0.14);
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.78rem;
  color: var(--warm-gray);
  line-height: 1.55;
}

.calc-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border: 1.5px dashed var(--sand);
  border-radius: 16px;
  background: white;
}

.calc-empty-state .calc-empty-emoji { font-size: 2.5rem; margin-bottom: 1rem; }

.calc-empty-state h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: var(--deep-bark);
  margin-bottom: 0.4rem;
}

.calc-empty-state p { font-size: 0.88rem; color: var(--warm-gray); }

@media (max-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .calc-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .calc-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-options-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-form { padding: 1.5rem; }
}

/* ===== Blog Images ===== */

/* Blog card thumbnail */
.blog-card-image {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--sand);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

/* Article hero image */
.article-hero-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16/9;
  max-height: 480px;
  background: var(--sand);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .article-hero-image {
    border-radius: 12px;
    max-height: 280px;
    margin-bottom: 1.75rem;
  }
}

/* ===== REVIEWS ===== */
.reviews-section {
  margin-top: 2rem;
}

.reviews-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
}

/* Aggregate summary bar */
.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--sand);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.reviews-aggregate .agg-score {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.reviews-aggregate .agg-stars {
  font-size: 1.3rem;
  color: #e8a020;
  letter-spacing: 1px;
}

.reviews-aggregate .agg-count {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Individual review cards */
.review-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  background: #fff;
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.review-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.review-card-pet {
  font-size: 0.82rem;
  color: var(--text-light);
}

.review-card-stars {
  font-size: 1.05rem;
  color: #e8a020;
  white-space: nowrap;
}

.review-card-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

.review-card-text {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* "No reviews yet" placeholder */
.reviews-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-light);
  font-size: 0.93rem;
}

.reviews-empty .reviews-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Review form */
.review-form-section {
  margin-top: 1.5rem;
  background: #f9faf8;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.75rem;
}

.review-form-intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.review-form-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
}

/* Star rating input */
.star-rating-group {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 1rem;
}

.star-rating-group input[type="radio"] {
  display: none;
}

.star-rating-group label {
  font-size: 2rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
}

.star-rating-group label:hover,
.star-rating-group label:hover ~ label,
.star-rating-group input[type="radio"]:checked ~ label {
  color: #e8a020;
}

.star-rating-group input[type="radio"]:checked + label {
  color: #e8a020;
}

.star-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: -0.75rem 0 0.75rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .reviews-aggregate {
    gap: 0.75rem;
  }
}

/* ===== AFFILIATE PRODUCT BLOCKS ===== */
.affiliate-section {
  margin: 2.5rem 0;
  padding: 1.75rem;
  background: #fdf9f5;
  border: 1px solid #e8e0d5;
  border-radius: 12px;
}

.affiliate-section-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.affiliate-section-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}

.affiliate-disclosure {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.affiliate-product-card {
  background: #fff;
  border: 1px solid #ede6db;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.affiliate-product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.affiliate-product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f5f0ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #bbb;
}

.affiliate-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.affiliate-product-info {
  padding: 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.affiliate-product-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
}

.affiliate-product-desc {
  font-size: 0.74rem;
  color: var(--text-light);
  line-height: 1.4;
  flex: 1;
}

.affiliate-product-price {
  font-size: 0.78rem;
  color: #2d7a4f;
  font-weight: 600;
  margin-top: 0.25rem;
}

.affiliate-product-cta {
  margin-top: 0.5rem;
  display: inline-block;
  font-size: 0.73rem;
  color: #2d7a4f;
  font-weight: 600;
  text-decoration: none;
}

/* Provider page memorial products section */
.provider-memorial-products {
  margin-top: 1.5rem;
}

/* Memorial products page */
.memorial-products-hero {
  background: linear-gradient(135deg, #fdf9f5 0%, #f0f4ed 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.memorial-products-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.memorial-products-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

.memorial-products-section {
  margin: 2.5rem 0;
}

.memorial-products-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8e0d5;
}

.memorial-products-page-disclosure {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  background: #f5f1eb;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .affiliate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .affiliate-section {
    padding: 1.25rem;
  }
}

/* Local review badge on provider cards */
.local-review-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: #2d7a4f;
  font-weight: 600;
  margin-top: 2px;
}

.local-review-badge .lrb-stars {
  color: #e8a020;
  font-size: 0.9rem;
}

/* ===== Provider FAQ Section ===== */
.faq-list {
  border: 1px solid var(--sand, #E8DFD1);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--sand, #E8DFD1);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal, #2D2A26);
  line-height: 1.4;
  transition: background 0.15s;
}

.faq-question:hover {
  background: var(--cream, #F3EDE4);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--bark, #8B7355);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.open .faq-question {
  background: var(--cream, #F3EDE4);
  color: var(--forest, #2d7a4f);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  background: var(--cream, #F3EDE4);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-body, #4a4540);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .faq-question {
    font-size: 0.88rem;
    padding: 0.9rem 1rem;
  }
  .faq-answer {
    padding: 0 1rem 0.875rem;
  }
}

/* ===== Compare Feature ===== */
.provider-card-wrap {
  position: relative;
}

.pcp-cmp-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 5px 12px;
  background: #fff;
  border: 1.5px solid #d4c9b8;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8B7355;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.18s;
  z-index: 5;
  white-space: nowrap;
}

.pcp-cmp-btn:hover {
  background: #f0f5ee;
  border-color: #7A8B6F;
  color: #4a6741;
}

.pcp-cmp-btn.added {
  background: #7A8B6F;
  border-color: #7A8B6F;
  color: #fff;
}

/* Floating compare bar */
#pcp-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #2D2A26;
  color: #FAF8F5;
  padding: 0.875rem 1.5rem;
  display: none;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  border-top: 2px solid #7A8B6F;
}

#pcp-compare-bar.visible {
  display: flex;
}

.pcp-bar-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}

.pcp-bar-label {
  font-size: 0.82rem;
  color: #A4B494;
  font-weight: 500;
  white-space: nowrap;
}

.pcp-bar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(122,139,111,0.25);
  border: 1px solid rgba(122,139,111,0.4);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: #FAF8F5;
  font-weight: 500;
}

.pcp-bar-chip .chip-remove {
  background: none;
  border: none;
  color: #A4B494;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0 0 0 2px;
  line-height: 1;
  transition: color 0.15s;
}

.pcp-bar-chip .chip-remove:hover { color: #FAF8F5; }

.pcp-bar-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.pcp-bar-compare-btn {
  padding: 0.5rem 1.25rem;
  background: #7A8B6F;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.15s;
  white-space: nowrap;
}

.pcp-bar-compare-btn:hover { background: #A4B494; }

.pcp-bar-clear-btn {
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: #9B9389;
  border: 1px solid rgba(155,147,137,0.3);
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.15s;
  white-space: nowrap;
}

.pcp-bar-clear-btn:hover { color: #FAF8F5; border-color: rgba(250,248,245,0.3); }

@media (max-width: 600px) {
  #pcp-compare-bar { padding: 0.75rem 1rem; gap: 0.5rem; }
  .pcp-bar-compare-btn { font-size: 0.82rem; padding: 0.45rem 1rem; }
  .pcp-cmp-btn { font-size: 0.7rem; padding: 4px 9px; }
}
