/* Pickhaven — warm, clean, mobile-first */
:root {
  --orange: #e8722a;
  --orange-dark: #c85f1d;
  --cream: #faf5ec;
  --tan: #f1e6d3;
  --ink: #2b241c;
  --muted: #7a6f5f;
  --card: #ffffff;
  --sale: #c0392b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--tan), var(--cream));
  padding: 2rem 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #e5d8bf;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.brand h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.5px;
}
.tagline {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.daily-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Sections */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
section { margin-top: 2.5rem; }
h2 {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
}
.section-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Filter buttons */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.filter-btn {
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--orange);
  color: #fff;
}

/* Product grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
}
.card-art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--tan);
}
.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(43,36,28,.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.card-body {
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  line-height: 1.3;
}
.rating {
  margin: 0 0 0.5rem;
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 600;
}
.price-row { margin: 0 0 0.5rem; }
.price, .price-sale {
  font-size: 1.35rem;
  font-weight: 800;
}
.price-was {
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
  font-size: 0.95rem;
}
.sale-badge {
  background: var(--sale);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.blurb {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}
.cta {
  display: block;
  text-align: center;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  text-decoration: none;
}
.cta:hover { background: var(--orange-dark); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid #e5d8bf;
  background: var(--tan);
}
.socials a {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: none;
  margin: 0 0.35rem;
}
.socials a:hover { text-decoration: underline; }
.disclosure {
  margin: 1rem 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.fine-print {
  margin: 0.25rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Small screens */
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .card-body h3 { font-size: 0.92rem; }
  .blurb { font-size: 0.82rem; }
  .cta { font-size: 0.9rem; padding: 0.65rem; }
}
