/* Ren Delivers storefront — mobile-first, no frameworks */

:root {
  --bg: #111114;
  --card: #1b1b20;
  --text: #f4f2ec;
  --muted: #a9a7a0;
  --accent: #f5b301;   /* hi-vis yellow */
  --accent-dark: #c98f00;
  --radius: 12px;
}

* { 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(--text);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

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

.site-header {
  text-align: center;
  padding: 28px 16px 18px;
  border-bottom: 3px solid var(--accent);
}

.brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.tagline {
  color: var(--muted);
  font-style: italic;
  margin-top: 6px;
  font-size: 1rem;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 14px 40px;
}

/* ---------- Featured ---------- */
#featured { margin-top: 20px; }

.featured-label {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 6px 6px 0 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #2a2a31;
}

.card-featured {
  border: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

.card-img-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.card-featured .card-img-link img {
  aspect-ratio: 16 / 10;
}

.card-body { padding: 14px 16px 16px; }

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.card-featured .card-body h3 { font-size: 1.35rem; }

.card-tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  text-align: center;
  min-width: 120px;
}

.card-featured .btn {
  font-size: 1.2rem;
  padding: 14px 40px;
}

.btn:active { background: var(--accent-dark); }

/* ---------- Sections ---------- */
section h2 {
  font-size: 1.4rem;
  margin: 34px 0 4px;
  padding-top: 10px;
}

.section-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #2a2a31;
  padding: 24px 16px 34px;
  text-align: center;
}

.social-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.social-row a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.copyright {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .social-row { flex-direction: row; justify-content: center; gap: 28px; }
}

@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
  .card-featured .card-img-link img { aspect-ratio: auto; height: 100%; }
}
