:root {
  --color-accent: #bc002d;
  --color-accent-dark: #8f0022;
  --color-ink: #1a1a1a;
  --color-ink-soft: #5a5a5a;
  --color-bg: #f7f7f8;
  --color-surface: #ffffff;
  --color-border: #e5e5e8;
  --radius: 10px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 4px 10px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Header */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 20px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Main / Hero */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.hero {
  max-width: 640px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.hero-lead {
  color: var(--color-ink-soft);
  font-size: 16px;
  margin: 0 0 10px;
}

.hero-lead strong {
  color: var(--color-accent);
}

.fine-print {
  margin: 14px 0 0;
  color: var(--color-ink-soft);
  font-size: 12.5px;
}

.fine-print + .fine-print {
  margin-top: 2px;
}

/* Store filters */

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-pill {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--color-accent);
}

.filter-pill.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.difficulty-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--color-ink-soft);
}

.difficulty-legend strong {
  color: var(--color-ink);
  font-weight: 600;
}

.difficulty-legend .flame {
  width: 13px;
  height: 13px;
}

/* Product grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.empty-state {
  color: var(--color-ink-soft);
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26, 26, 26, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.35;
  min-height: 46px;
}

.card-meta {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}

.meta-row dt {
  color: var(--color-ink-soft);
  font-weight: 500;
}

.meta-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.flame-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.flame {
  width: 14px;
  height: 14px;
}

.flame.is-active .flame-core {
  fill: var(--color-accent);
}

.flame.is-active .flame-glow {
  fill: #ffb020;
}

.flame.is-inactive .flame-core,
.flame.is-inactive .flame-glow {
  fill: #dcdce0;
}

.interest-line {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--color-accent-dark);
}

.request-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.request-btn:hover {
  background: var(--color-accent-dark);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 20px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 13px;
}

/* Responsive tweaks */

@media (max-width: 480px) {
  .site-header {
    padding: 20px 16px;
  }

  main {
    padding: 32px 16px 60px;
  }

  .card-title {
    min-height: 0;
  }
}
