:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --color-bg: #fbfbfd;
  --color-surface: #ffffff;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-border: #e5e5ea;
  --color-accent: #2c5282;
  --color-accent-hover: #1a365d;
  --color-disclosure-bg: #f2f2f7;
  --color-disclosure-border: #d1d1d6;
  --color-btn-amazon: #232f3e;
  --color-btn-ebay: #0064d2;
  --color-btn-etsy: #d5530b;
  --max-width: 760px;
  --border-radius: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

/* Site Header & Navigation */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.site-logo:hover {
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-text);
}

/* Main Container */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* Legal / Affiliate Disclosure Banner */
.disclosure-notice {
  background-color: var(--color-disclosure-bg);
  border-left: 3px solid var(--color-disclosure-border);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  border-radius: 4px;
  line-height: 1.5;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1.25rem;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Pinterest Optimized Image Container (2:3 Aspect Ratio) */
.pin-image-wrapper {
  margin: 1.5rem 0 2rem;
  background: #f0f0f4;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-align: center;
}

.pin-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.pin-caption {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

/* Product Meta Box */
.product-meta-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.meta-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.meta-item-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 0.2rem;
}

/* Purchase Links Section */
.buying-options {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.buying-options h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.buying-options p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

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

@media (min-width: 540px) {
  .btn-grid {
    flex-direction: row;
  }
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  color: #ffffff !important;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.1s ease, opacity 0.15s ease;
  flex: 1;
}

.btn-buy:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-buy:active {
  transform: translateY(0);
}

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

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

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

/* Reference / Non-affiliate links */
.reference-box {
  background: #f7f9fa;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
}

.reference-box a {
  font-weight: 500;
  color: #334155;
}

/* Product Grid for Homepage */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: #b0b0b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0f0f4;
  border-bottom: 1px solid var(--color-border);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.product-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Site Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-nav {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-text-muted);
}

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

.footer-statement {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-copy {
  color: #a1a1a6;
  font-size: 0.8rem;
}
