/* ─── GiftTide Design System v2 ─────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette */
  --cream:       #F7F2EA;
  --terracotta:  #C26A4E;
  --sage:        #7B8A6F;
  --sage-light:  #A8B89C;
  --sage-mid:    #96A788;
  --burgundy:    #5C2424;
  --gold:        #D4A574;
  --gold-light:  #E8C9A0;
  --text:        #1F1612;
  --text-mid:    #4A3E38;
  --text-light:  #7A6E68;

  /* Legacy aliases kept so inner pages compile */
  --warm-white:         #F7F2EA;
  --charcoal:           #1F1612;
  --charcoal-light:     #7A6E68;
  --sage-dark:          #5A6A50;
  --dusty-pink:         #C26A4E;
  --dusty-pink-light:   #D9967E;
  --gold-legacy:        #D4A574;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Announcement Bar ───────────────────────────────────────────────── */
.announcement-bar {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  padding: 0 1rem;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 101;
}

.announcement-bar .sep {
  opacity: 0.4;
  font-size: 0.6rem;
}

.announcement-bar .days-count {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--gold-light);
}

/* ─── Nav ────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 36px;
  width: 100%;
  z-index: 100;
  padding: 0 2.5rem;
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247, 242, 234, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 138, 111, 0.15);
}

/* ─── Logo ───────────────────────────────────────────────────────────── */
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.logo .logo-dot {
  color: var(--terracotta);
  font-size: 0.75em;
  margin-left: 0.05em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

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

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.45rem 1.1rem;
  border: 1.5px solid rgba(123, 138, 111, 0.35);
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s;
}

.nav-cart:hover {
  border-color: var(--sage);
  background: rgba(123, 138, 111, 0.08);
}

.cart-count {
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.62rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cart-count.empty { display: none; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
}

.btn-primary:hover {
  background: #4a1c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(92, 36, 36, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

.btn-secondary:hover {
  background: rgba(31, 22, 18, 0.05);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-terracotta:hover {
  background: #a85840;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(194, 106, 78, 0.3);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 0.9rem; }
.btn-sm { padding: 0.55rem 1.4rem; font-size: 0.78rem; }
.btn-block { width: 100%; }

/* ─── Section helpers ────────────────────────────────────────────────── */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 0;
}

/* ─── Product Card (shared across pages) ─────────────────────────────── */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pcard {
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.pcard:hover { transform: translateY(-3px); }

.pcard-image {
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #EDE7DE;
}

.pcard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pcard:hover .pcard-image img { transform: scale(1.03); }

.pcard-image-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}

.pcard-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--gold);
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 1px;
}

.pcard-body {
  padding: 1rem 0 0;
}

.pcard-category {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.pcard-name {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.pcard-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(123, 138, 111, 0.12);
}

.pcard-price {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}

.pcard-compare {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.pcard-cta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--terracotta);
}

/* ─── Countdown Timer (shared, used in hero / product / cart / guide) ── */

/* Hero countdown — displays inside the hero section */
.hero-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(31, 22, 18, 0.55);
  border: 1px solid rgba(212, 165, 116, 0.4);
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.6rem 1.1rem;
  border-radius: 2px;
  margin-bottom: 1.75rem;
  max-width: 100%;
}

.hero-countdown.gt-countdown--urgent {
  border-color: rgba(255, 100, 80, 0.5);
  color: #FFCFC8;
}

.hero-countdown.gt-countdown--expired {
  color: rgba(247, 242, 234, 0.55);
  border-color: rgba(247, 242, 234, 0.15);
}

/* Urgency sticky banner below nav — product + cart pages */
.urgency-banner {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(123, 138, 111, 0.25);
  transition: background 0.4s;
  position: sticky;
  top: 92px; /* below announcement bar (36px) + nav (56px) */
  z-index: 99;
}

.urgency-banner.urgency-banner--urgent {
  background: #9B2E2E;
}

.urgency-banner a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Countdown inline in cart checkout area */
.cart-countdown {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(155, 175, 138, 0.08);
  border: 1px solid rgba(155, 175, 138, 0.2);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--sage-dark);
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

.cart-countdown.cart-countdown--urgent {
  background: rgba(155, 46, 46, 0.07);
  border-color: rgba(155, 46, 46, 0.2);
  color: #9B2E2E;
}

/* Gift-guide countdown band */
.guide-countdown-band {
  background: var(--cream);
  border-bottom: 1px solid rgba(123, 138, 111, 0.15);
  padding: 1rem 2.5rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.guide-countdown-band .gt-countdown-icon { font-size: 1rem; }

.guide-countdown-band a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .hero-countdown { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
  .urgency-banner { top: 92px; font-size: 0.75rem; }
  .guide-countdown-band { padding: 0.875rem 1.25rem; font-size: 0.82rem; }
}

/* ─── Countdown Banner (legacy compat for shop.html) ─────────────────── */
.countdown-banner {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.countdown-banner .days {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--sage);
  color: var(--cream);
  padding: 4rem 2.5rem 2.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand .footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 1rem;
}

.footer-brand .logo-dot {
  color: var(--terracotta);
  font-size: 0.7em;
  margin-left: 0.05em;
}

.footer-brand p {
  font-size: 0.78rem;
  color: rgba(247, 242, 234, 0.65);
  line-height: 1.6;
  max-width: 180px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.5);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(247, 242, 234, 0.8);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 242, 234, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-line {
  font-size: 0.75rem;
  color: rgba(247, 242, 234, 0.45);
  letter-spacing: 0.03em;
}

.footer-bottom-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

/* ─── Legacy footer (for inner pages) ───────────────────────────────── */
footer {
  padding: 3rem 2.5rem;
  background: var(--sage);
  text-align: center;
}

footer p {
  font-size: 0.78rem;
  color: rgba(247, 242, 234, 0.6);
  letter-spacing: 0.03em;
}

footer a { color: var(--cream); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .logo { font-size: 1.25rem; }
  .nav-links a:not(.nav-cart) { display: none; }
  .announcement-bar { font-size: 0.72rem; gap: 0.5rem; }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ─── Trust Badge (Ships by Father's Day) ────────────────────────────── */
.gt-trust-badge-wrap {
  /* Full-width wrapper — badge stretches to container width in both PDP and card contexts. */
  width: 100%;
}

.gt-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 103, 65, 0.1);
  border: 1.5px solid rgba(74, 103, 65, 0.3);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--sage-dark, #4A6741);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  row-gap: 0.25rem;
}

.gt-trust-badge--urgent {
  background: rgba(155, 46, 46, 0.08);
  border-color: rgba(155, 46, 46, 0.3);
  color: #9B2E2E;
}

.gt-trust-badge--expired {
  background: rgba(212, 165, 116, 0.1);
  border-color: rgba(212, 165, 116, 0.35);
  color: var(--text-mid, #4A3E38);
}

.gt-trust-badge__icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1;
}

.gt-trust-badge__label {
  /* main text: "Ships by Father's Day — order by June 8" */
}

.gt-trust-badge__countdown {
  font-weight: 700;
  font-size: 0.78rem;
  opacity: 0.75;
}

.gt-trust-badge__microcopy {
  display: block;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 400;
  color: inherit;
  opacity: 0.7;
  padding-left: 1.45rem;
}

.gt-trust-badge__link {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .gt-trust-badge { font-size: 0.78rem; padding: 0.5rem 0.75rem; }
  .gt-trust-badge__countdown { font-size: 0.72rem; }
  .gt-trust-badge__microcopy { font-size: 0.65rem; }
}

/* ─── Exit-Intent Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 22, 18, 0.55);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 1s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--cream);
  max-width: 440px;
  width: 100%;
  padding: 3rem 2.5rem 2.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(31, 22, 18, 0.18);
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.25rem;
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.modal-rule {
  width: 48px;
  height: 1px;
  background: #D4A574;
  border: none;
  margin: 0 auto 1.25rem;
}

.modal h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.modal p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.modal .btn {
  background: #5C2424;
  color: var(--cream);
  width: 100%;
  justify-content: center;
}

.modal .btn:hover {
  background: #7a2f2f;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(92, 36, 36, 0.3);
}

.modal-dismiss {
  display: block;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.04em;
}

/* ─── Popup Modal (Email Capture) ──────────────────────────────────────── */
.gt-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 22, 18, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gt-popup-overlay.open {
  display: flex;
  opacity: 1;
}

.gt-popup {
  background: #fff;
  max-width: 460px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 60px rgba(31, 22, 18, 0.22);
  padding: 2.75rem 2.5rem 2.5rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(212, 165, 116, 0.3);
}

.gt-popup__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.25rem;
  color: #7A6E68;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.gt-popup__close:hover { color: #1F1612; }

.gt-popup__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C26A4E;
  margin-bottom: 1rem;
  display: block;
}

.gt-popup__rule {
  width: 48px;
  height: 1px;
  background: #D4A574;
  border: none;
  margin: 0 auto 1.5rem;
}

.gt-popup__headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.875rem;
  letter-spacing: -0.03em;
  color: #1F1612;
  line-height: 1.1;
  margin-bottom: 0.875rem;
}

.gt-popup__subhead {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #7A6E68;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.gt-popup__input-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.gt-popup__input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(31, 22, 18, 0.15);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1F1612;
  outline: none;
  transition: border-color 0.2s;
  background: #F7F2EA;
}
.gt-popup__input::placeholder { color: #7A6E68; }
.gt-popup__input:focus { border-color: #C26A4E; }
.gt-popup__input.error { border-color: #9B2E2E; animation: shake 0.3s ease; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.gt-popup__btn {
  background: #5C2424;
  color: #F7F2EA;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.gt-popup__btn:hover:not(:disabled) { background: #7a2f2f; transform: translateY(-1px); }
.gt-popup__btn:disabled { opacity: 0.65; cursor: not-allowed; }

.gt-popup__error {
  color: #9B2E2E;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
  display: none;
  text-align: left;
  padding: 0 0.25rem;
}

.gt-popup__privacy {
  font-size: 0.72rem;
  color: #7A6E68;
  line-height: 1.6;
}

.gt-popup__privacy a { color: #C26A4E; }

/* Success state */
.gt-popup__success {
  display: none;
  text-align: center;
}

.gt-popup__success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gt-popup__success h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.375rem;
  color: #1F1612;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.gt-popup__success p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #7A6E68;
  line-height: 1.65;
}

.gt-popup__dismiss {
  display: block;
  margin-top: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #7A6E68;
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.04em;
  padding: 0.25rem;
  text-decoration: underline;
  transition: color 0.2s;
}
.gt-popup__dismiss:hover { color: #1F1612; }

@media (max-width: 480px) {
  .gt-popup { padding: 2rem 1.5rem 1.75rem; }
  .gt-popup__headline { font-size: 1.5rem; }
  .gt-popup__input-row { flex-direction: column; }
  .gt-popup__btn { width: 100%; }
}

/* ─── Social Proof Block (Reviews / Testimonials) ─────────────────── */
.sf-wrap {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
}

/* Aggregate rating strip: "4.8 ★★★★★ · 47 reviews" */
.sf-aggregate {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(123, 138, 111, 0.15);
}

.sf-aggregate__stars {
  display: inline-flex;
  gap: 1px;
  font-size: 1.1rem;
  line-height: 1;
}

.sf-aggregate__score {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.sf-aggregate__count {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Star icons — shared across aggregate + cards */
.sf-star {
  display: inline-block;
  line-height: 1;
}

.sf-star--full  { color: #D4A574; }
.sf-star--half  { color: #D4A574; opacity: 0.55; }
.sf-star--empty { color: #D4A574; opacity: 0.2; }

/* 3-card testimonial grid */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sf-card {
  background: #fff;
  border: 1px solid rgba(123, 138, 111, 0.12);
  border-radius: 8px;
  padding: 1.25rem;
  transition: box-shadow 0.2s ease;
}

.sf-card:hover {
  box-shadow: 0 4px 20px rgba(31, 22, 18, 0.06);
}

.sf-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.sf-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sf-card__meta {
  flex: 1;
  min-width: 0;
}

.sf-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.sf-card__location {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 400;
}

.sf-card__verified {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--sage);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.sf-card__stars {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  line-height: 1;
}

.sf-card__quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 400;
  font-style: italic;
}

/* Responsive: stack cards on mobile */
@media (max-width: 768px) {
  .sf-wrap { margin-top: 2rem; }
  .sf-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .sf-aggregate { gap: 0.4rem; }
  .sf-aggregate__stars { font-size: 1rem; }
  .sf-aggregate__score { font-size: 1rem; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }

  /* Announcement bar: hide first item on small screens to prevent overflow */
  .announcement-bar > span:nth-child(1),
  .announcement-bar > span:nth-child(2) { display: none; }
}
