/* PawJoy — warm, friendly, mobile-first storefront */
:root {
  --brand: #e8722a;
  --brand-dark: #c85a17;
  --ink: #2b2118;
  --muted: #7a6a5c;
  --bg: #fffaf5;
  --card: #ffffff;
  --line: #f0e4d6;
  --star: #f5a623;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1080px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav-links a:hover { color: var(--brand); }
@media (max-width: 640px) { .nav-links { gap: 14px; font-size: .9rem; } }

/* Hero */
.hero { text-align: center; padding: 64px 20px 48px; }
.hero h1 { font-size: 2.4rem; line-height: 1.2; margin-bottom: 12px; }
.hero h1 span { color: var(--brand); }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 24px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; font-weight: 700;
  padding: 14px 32px; border-radius: 999px; text-decoration: none; border: none;
  cursor: pointer; font-size: 1rem; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); }
.btn.disabled { background: #cbb9a6; cursor: default; }
.btn-outline {
  display: inline-block; border: 2px solid var(--brand); color: var(--brand-dark);
  padding: 12px 28px; border-radius: 999px; text-decoration: none; font-weight: 700;
}
.trustbar { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; color: var(--muted); font-size: .95rem; }
.trustbar b { color: var(--ink); }

/* Sections */
section.block { padding: 48px 0; }
section.block h2 { text-align: center; font-size: 1.7rem; margin-bottom: 8px; }
section.block .sub { text-align: center; color: var(--muted); margin-bottom: 32px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.card .imgwrap { position: relative; aspect-ratio: 1; overflow: hidden; background: #f7f1e9; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.02rem; line-height: 1.35; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--brand-dark); }
.stars { color: var(--star); font-size: .9rem; }
.stars small { color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price { font-size: 1.25rem; font-weight: 800; }
.compare { color: var(--muted); text-decoration: line-through; font-size: .95rem; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; }
@media (max-width: 720px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .imgwrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #f7f1e9; }
.product-detail img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-info h1 { font-size: 1.8rem; margin-bottom: 8px; }
.pd-info .price { font-size: 1.6rem; }
.pd-info .blurb { margin: 16px 0; font-size: 1.05rem; }
.pd-info ul { margin: 0 0 24px 20px; }
.pd-info li { margin-bottom: 8px; }
.delivery-note { background: #f4ecdf; border-radius: 10px; padding: 12px 16px; margin-top: 16px; font-size: .95rem; color: var(--muted); }
.delivery-note b { color: var(--ink); }

/* Category filter */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.filters button {
  border: 1px solid var(--line); background: var(--card); padding: 8px 18px;
  border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--ink);
}
.filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Info pages */
.prose { max-width: 720px; margin: 0 auto; padding: 40px 20px 64px; }
.prose h1 { margin-bottom: 16px; }
.prose h2 { margin: 28px 0 10px; font-size: 1.25rem; }
.prose p, .prose li { margin-bottom: 12px; color: #4a3d31; }
.prose ul { margin-left: 20px; }

/* FAQ */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; }
.faq-item summary { padding: 16px 18px; font-weight: 700; cursor: pointer; }
.faq-item .a { padding: 0 18px 16px; color: #4a3d31; }

/* Footer */
footer.site { background: var(--ink); color: #e8dccf; margin-top: 48px; }
footer.site .wrap { padding: 40px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
footer.site h4 { color: #fff; margin-bottom: 12px; }
footer.site a { color: #e8dccf; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: #fff; }
.foot-bottom { text-align: center; padding: 18px; border-top: 1px solid #4a3d31; font-size: .85rem; color: #b7a893; }

/* Contact form */
.contact-form { display: grid; gap: 14px; max-width: 520px; margin-top: 20px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: inherit;
}
