/* My Love For Pets storefront — mobile-first, no dependencies */

:root {
  --cream: #FFFBF5;
  --sand: #F7E9D7;
  --warm: #E8833A;
  --warm-dark: #C96A24;
  --ink: #3E2F25;
  --muted: #8A6D4B;
  --card: #FFFFFF;
  --radius: 14px;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-paw { font-size: 1.5rem; }

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

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.site-nav a:hover { color: var(--warm-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--sand), #FBD9B8);
  text-align: center;
  padding: 3.5rem 0 3rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  line-height: 1.2;
}

.hero-sub {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.08s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--warm);
  color: #fff;
}

.btn-primary:hover { background: var(--warm-dark); }

.btn-secondary {
  background: #fff;
  color: var(--warm-dark);
  border: 2px solid var(--warm);
}

.btn-secondary:hover { background: var(--sand); }

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Shop section */
.shop-section { padding: 2.5rem 0; }

.shop-section h2 { margin: 0 0 0.25rem; }

.disclosure {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Category chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--sand);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 2.6rem; }
}

.product-card {
  background: var(--card);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(62, 47, 37, 0.06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--sand);
  display: block;
}

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

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-dark);
  font-weight: 700;
}

.product-name {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.product-blurb {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
}

.product-card .btn {
  text-align: center;
  margin-top: 0.5rem;
}

.grid-note {
  text-align: center;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* About / Contact */
.about-section, .contact-section {
  padding: 2.5rem 0;
}

.about-section { background: #fff; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }

.about-section h2, .contact-section h2 { margin-top: 0; }

.about-section p, .contact-section p { max-width: 44rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #F5EDE3;
  padding: 2rem 0;
  text-align: center;
}

.site-footer .disclosure { color: #CBB79F; }

.copyright { font-size: 0.85rem; color: #CBB79F; margin: 0.5rem 0 0; }
