/* Catloop public SEO pages — hand-written, no build step (see docs/seo-pages.md).
   Palette mirrors ui/glacier-tailwind.js for visual consistency with the app. */

:root {
  --primary: #0a4c6e;
  --gold: #b08d57;
  --secondary: #475569;
  --background: #f0f7ff;
  --surface: #ffffff;
  --border: #dbe6f0;
  --text: #10202b;
  --text-muted: #52697a;
}

* { box-sizing: border-box; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.draft-banner {
  background: #7a1f1f;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem;
  letter-spacing: 0.03em;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.25rem;
}
.site-header .brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.site-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

h1 { font-size: 1.65rem; margin: 0.2rem 0 0.6rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1rem; margin: 0.5rem 0 0.25rem; }

.tagline, .note, .description { color: var(--text-muted); }

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--border); }

.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin: 0.5rem 0.5rem 1rem 0;
}
.cta:hover { text-decoration: none; opacity: 0.92; }
.cta.secondary { background: var(--surface); color: var(--primary); border: 1px solid var(--primary); }
.cta.whatsapp { background: #25d366; color: #06210f; }

.catalog-list { list-style: none; padding: 0; margin: 0; }
.catalog-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.catalog-list a { font-weight: 600; }
.catalog-note { color: var(--text-muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
  color: var(--text);
}
.product-card:hover { text-decoration: none; border-color: var(--primary); }
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--background);
  display: block;
}
.product-card h3, .product-card .price, .product-card .specs { padding: 0 0.65rem; }
.product-card h3 { font-size: 0.9rem; }
.product-card .price { font-weight: 700; color: var(--primary); padding-bottom: 0.65rem; }

.specs { list-style: none; padding: 0 0.65rem; margin: 0.25rem 0; font-size: 0.78rem; color: var(--text-muted); }

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.pagination-status { color: var(--text-muted); font-size: 0.85rem; }

.product-detail {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .product-detail { grid-template-columns: 1fr 1fr; }
}
.product-images img {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
  background: var(--surface);
}
.product-info .price { font-size: 1.4rem; font-weight: 700; color: var(--primary); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border);
}
.spec-table th { color: var(--text-muted); font-weight: 600; width: 40%; }

.guide-body { max-width: 68ch; }
.guide-body h2 { font-size: 1.1rem; }
.guide-body p { margin: 0.75rem 0; }
.guide-body ul { padding-left: 1.25rem; }
.guide-product-links { list-style: none; padding: 0; }
.guide-product-links li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); }

.faq-list { max-width: 68ch; }
.faq-item { margin-bottom: 1.25rem; }
.faq-item h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.faq-item p { margin: 0; color: var(--text-muted); }

.guide-links { list-style: none; padding: 0; margin: 0.5rem 0 1.5rem; }
.guide-links li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.guide-links a { font-weight: 600; }
