/*
Theme Name: Selectfinder
Theme URI: https://selectfinder.co
Author: Selectfinder
Description: Custom theme for selectfinder.co — trending product curation
Version: 1.0
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital@1&display=swap');

/* ── Variables ── */
:root {
  --bg:        #FFFFFF;
  --bg-card:   #F6F8F4;
  --bg-footer: #1A2E1E;
  --text:      #2C2C2C;
  --text-light:#5A5A5A;
  --text-muted:#888;
  --gold:      #C9A227;
  --gold-light:#E8C547;
  --sage:      #5C7A62;
  --sage-light:#E8F0E9;
  --border:    #E2E8E2;
  --white:     #FFFFFF;
  --radius:    10px;
  --shadow:    0 2px 16px rgba(0,0,0,0.07);
  --font-body: 'Montserrat', sans-serif;
  --font-serif:'Playfair Display', serif;
  --max-w:     1100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--gold); }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img { height: 40px; width: auto; }
.site-logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
.site-logo-text span { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--sage); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--sage-light) 0%, #EFF5EF 50%, #FBF9F3 100%);
  padding: 80px 0 72px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 18px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 36px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover { background: #4A6450; color: var(--white); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #A8841F; color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}
.btn-outline:hover { background: var(--sage); color: var(--white); }

/* ── Section ── */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-card); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 0.97rem;
  margin-bottom: 40px;
}
.section-header { text-align: center; margin-bottom: 40px; }

/* ── Feature Strip ── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p { font-size: 0.88rem; color: var(--text-light); }

/* ── Finds Grid ── */
.finds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.find-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.find-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.11); }
.find-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-card);
}
.find-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--sage-light), #DDE8DD);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.find-card-body { padding: 18px; }
.find-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--sage-light);
  color: var(--sage);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.find-card-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.find-card-desc {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.find-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold);
}
.find-card-link:hover { color: var(--sage); }
.find-card-link::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

/* ── Page Content ── */
.page-hero {
  background: linear-gradient(135deg, var(--sage-light), #EFF5EF);
  padding: 52px 0 44px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text);
  margin-bottom: 10px;
}
.page-hero p { color: var(--text-light); font-size: 0.97rem; }

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.page-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sage-light);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 16px; color: var(--text-light); font-size: 0.96rem; }
.page-content a { color: var(--sage); font-weight: 600; }
.page-content ul { margin: 0 0 16px 20px; color: var(--text-light); font-size: 0.96rem; }
.page-content li { margin-bottom: 6px; }

/* ── Disclosure Banner ── */
.disclosure-banner {
  background: var(--sage-light);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 680px) { .about-grid { grid-template-columns: 1fr; } }
.about-visual {
  background: linear-gradient(135deg, var(--sage-light), #DDE8DD);
  border-radius: 16px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text);
}
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 0.96rem; }

/* ── Pinterest Feed ── */
.pinterest-feed-section { background: var(--bg); }
.pinterest-embed-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--sage) 0%, #3D5942 100%);
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
}
.cta-band p { opacity: 0.85; margin-bottom: 28px; font-size: 0.97rem; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── Footer ── */
.site-footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .site-logo-text { color: var(--white); }
.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
  max-width: 300px;
  line-height: 1.6;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
@media (max-width: 600px) { .footer-nav { align-items: flex-start; } }
.footer-nav a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.8rem; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 48px 0; }
  .finds-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .finds-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .site-nav { display: none; }
}
