/* Car Guy Gifts — Base Styles */

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --accent: #f5a623;
  --accent-hover: #f8b947;
  --text: #e8e8e8;
  --text-dim: #888;
  --border: #2a2a2a;
  --radius: 8px;
  --max-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
}

.concierge-link {
  font-weight: 600;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.cta:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

/* Gift guide grid */
.guides {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}

.guide-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.guide-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.guide-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.recipient {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* Product grid */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
}

main h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.product-link {
  display: block;
  color: inherit;
  padding: 1rem;
}

.product-link img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  background: #222;
}

.product-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.rating {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.seller {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.why {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

/* Mobile */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .product-link img {
    height: 160px;
  }

  main {
    padding: 1rem;
  }
}