:root {
  /* Warm Ivory/Cream Backgrounds */
  --bg-primary: #FAF9F6;
  --bg-secondary: #F3EFE9;
  --bg-card: #FFFFFF;
  
  /* Accents */
  --accent-terracotta: #CD7B67;
  --accent-sage: #95A595;
  --accent-blue: #8C9CAE;
  --wood-brown: #8B6B5D;
  
  /* Text */
  --text-primary: #2C2C2C;
  --text-secondary: #666666;
  --text-light: #999999;
  
  /* Borders & Shadows */
  --border-light: rgba(139, 107, 93, 0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Fonts */
  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, li { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.grid { display: grid; gap: 2rem; }
.grid-cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Header */
.site-header { background: var(--bg-card); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; }
.top-bar { background: var(--accent-terracotta); color: white; text-align: center; font-size: 0.875rem; padding: 0.5rem; font-weight: 500; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--accent-terracotta); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-primary); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-terracotta); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s ease; border: none; text-align: center;
}
.btn-primary { background-color: var(--accent-terracotta); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: #B56754; transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--accent-terracotta); color: var(--accent-terracotta); background: transparent; }
.btn-outline:hover { background: var(--accent-terracotta); color: white; }

/* Product Card */
.product-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-img-wrap { position: relative; aspect-ratio: 1/1; background: var(--bg-secondary); overflow: hidden; }
.product-img-wrap img { object-fit: cover; width: 100%; height: 100%; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-info { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-sage); font-weight: 700; margin-bottom: 0.5rem; }
.product-title { font-size: 1.125rem; margin-bottom: 1rem; color: var(--text-primary); }
.product-price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.price { font-weight: 700; font-size: 1.25rem; color: var(--text-primary); }
.price-original { text-decoration: line-through; color: var(--text-light); font-size: 0.875rem; margin-left: 0.5rem; }

/* Hero Section */
.hero { background: var(--bg-secondary); padding: 6rem 0; text-align: center; }
.hero h1 { max-width: 800px; margin: 0 auto 1.5rem; font-size: 3.5rem; }
.hero p { max-width: 600px; margin: 0 auto 2rem; font-size: 1.125rem; color: var(--text-secondary); }

/* Footer */
.site-footer { background: #FFFFFF; padding: 4rem 0 2rem; border-top: 1px solid var(--border-light); margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 1.5rem; color: var(--text-primary); }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-terracotta); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-light); color: var(--text-light); font-size: 0.85rem; }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; }
.product-gallery img { border-radius: var(--radius-lg); border: 1px solid var(--border-light); }
.product-meta .category { color: var(--accent-sage); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; display: block;}
.product-meta h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.product-meta .price-wrap { margin-bottom: 2rem; }
.product-meta .price { font-size: 2rem; }
.affiliate-box { background: var(--bg-secondary); padding: 2rem; border-radius: var(--radius-lg); text-align: center; margin-bottom: 2rem; }
.disclosure-text { font-size: 0.8rem; color: var(--text-secondary); margin-top: 1rem; font-style: italic; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 1rem; border-bottom: 1px solid var(--border-light); text-align: left; }
.spec-table th { background: #FAFAFA; width: 30%; color: var(--text-secondary); font-weight: 600; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: 2.5rem; }
}
