/* DealPulse catalog site — clean, mobile-first, faceless. */
:root {
  --ink: #22262e;
  --muted: #5b6270;
  --bg: #faf8f3;
  --card: #ffffff;
  --accent: #d9480f;
  --accent-dark: #b53a0b;
  --line: #e8e2d6;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: 1px; color: #fff; text-decoration: none; }
.brand span { color: var(--accent); }
.site-nav a { color: #d7dce4; text-decoration: none; margin-left: 18px; font-size: 0.95rem; }
.site-nav a:hover { color: #fff; }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: 2.1rem; margin: 0 0 12px; line-height: 1.25; }
.hero p { color: var(--muted); max-width: 640px; margin: 0 auto 10px; font-size: 1.05rem; }
.hero .pills { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Catalog */
.cat-section { margin: 44px 0; }
.cat-head h2 { margin: 0 0 4px; font-size: 1.55rem; }
.cat-blurb { color: var(--muted); margin: 0 0 18px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.card img { width: 100%; height: auto; display: block; aspect-ratio: 5 / 6.5; object-fit: cover; background: #eee; }
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.35; }
.card-desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; flex: 1; }
.card-row { display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 800; font-size: 1.25rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); }
.btn.buy { padding: 8px 18px; font-size: 0.95rem; }

/* Delivery note */
.delivery {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections: testimonials, request */
.section { margin: 56px 0; }
.section h2 { font-size: 1.55rem; margin: 0 0 6px; }
.section > .wrap > p.lead, p.lead { color: var(--muted); margin: 0 0 20px; max-width: 640px; }
.empty-state {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
}
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 16px;
  max-width: 640px;
}
.quote blockquote { margin: 0 0 8px; font-style: italic; }
.quote figcaption { color: var(--muted); font-size: 0.9rem; }

/* Forms */
form.netlify-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 640px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.hidden { display: none; }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }

/* Thank-you page */
.thanks { text-align: center; padding: 80px 20px; }
.thanks h1 { font-size: 1.9rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #aab2bf;
  margin-top: 64px;
  padding: 28px 0;
  font-size: 0.9rem;
}
.site-footer a { color: #d7dce4; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 560px) {
  .hero h1 { font-size: 1.6rem; }
  .site-nav a { margin-left: 12px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-body h3 { font-size: 0.92rem; }
  .card-desc { font-size: 0.82rem; }
}
