/* Intulon Test Store — demonstration storefront for GMC Sync app review.
   Deliberately plain: this exists so a Merchant Center account has a real,
   crawlable website to claim, not to win design awards. */

:root {
  --ink: #14181f;
  --muted: #5b6472;
  --line: #e3e7ed;
  --bg: #ffffff;
  --accent: #1f6feb;
  --notice: #fff8e6;
  --notice-line: #e8d59a;
  --max: 1040px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* The demo notice is deliberately the first thing on every page. */
.demo-banner {
  background: var(--notice);
  border-bottom: 1px solid var(--notice-line);
  font-size: 14px;
  padding: 10px 0;
  color: #6b551b;
}

header.site {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
header.site .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--muted); font-weight: 400; }
nav.site { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.site a:hover { color: var(--ink); }

main { padding: 36px 0 56px; }
h1 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p.lede { color: var(--muted); margin-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.card:hover { border-color: #c9d2de; }
.card img { width: 100%; height: 200px; object-fit: cover; display: block; background: #f4f6f9; }
.card .body { padding: 14px 16px 18px; }
.card .title { font-weight: 600; margin: 0 0 4px; }
.card .price { color: var(--muted); margin: 0; }

/* Product detail */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.product img { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #f4f6f9; }
.price-row { font-size: 24px; font-weight: 700; margin: 4px 0 2px; }
.stock { color: #147a3d; font-weight: 600; font-size: 14px; }
dl.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 22px 0 0; font-size: 15px; }
dl.specs dt { color: var(--muted); }
dl.specs dd { margin: 0; }

/* No checkout exists. The button explains itself rather than pretending. */
.buy {
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px dashed var(--notice-line);
  background: var(--notice);
  border-radius: 8px;
  color: #6b551b;
  font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 26px 0 44px;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

table.policy { border-collapse: collapse; margin-top: 12px; font-size: 15px; width: 100%; max-width: 640px; }
table.policy th, table.policy td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
table.policy th { background: #f7f9fc; font-weight: 600; }

@media (max-width: 720px) {
  .product { grid-template-columns: 1fr; }
}
