/* DE Deals — navy #0D1424 / gold #2a7ad5. Mobile-first, 360px base. */

:root {
  --navy: #0D1424;
  --navy-2: #16233c;
  --ink: #1c2432;
  --muted: #5b6572;
  --paper: #ffffff;
  --wash: #f4f2ec;
  --line: #ddd6c4;
  --gold: #2a7ad5;
  --gold-dark: #2a7ad5;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

a { color: var(--gold-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Header */
.site-header { background: var(--navy); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; gap: 12px;
}
.brand {
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 22px; letter-spacing: .02em;
}
.brand span { color: var(--gold); }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: #e8e4d8; text-decoration: none; font-weight: 600;
  padding: 12px 10px; min-height: 48px; display: inline-flex; align-items: center;
}
.site-nav a:hover { color: var(--gold); }

/* Disclosure strip */
.disclosure-strip {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.disclosure-strip .wrap { padding-top: 10px; padding-bottom: 10px; }

/* Hero */
.hero { padding: 28px 0 8px; }
.hero h1 {
  font-size: 30px; line-height: 1.2; margin: 0 0 10px; color: var(--navy);
}
.hero p { margin: 0; color: var(--muted); max-width: 640px; }

/* Controls */
.controls {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 22px 0 12px;
}
.controls input[type="search"],
.controls select {
  font-size: 16px; min-height: 48px;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; background: #fff; color: var(--ink);
}
.controls input[type="search"] { flex: 1 1 200px; }
.controls select { flex: 0 1 auto; }
.controls button {
  min-height: 48px; padding: 10px 20px;
  background: var(--navy); color: #fff; border: 0; border-radius: 10px;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.controls button:hover { background: var(--navy-2); }
.clear-link { align-self: center; font-weight: 600; padding: 10px 4px; }

/* Category pills */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.cat-pills a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; min-height: 48px;
  display: inline-flex; align-items: center;
  color: var(--navy); background: #fff;
}
.cat-pills a[aria-current="true"] {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Cards */
.grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  padding-bottom: 8px;
}
.card {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; background: #fff;
  display: flex; flex-direction: column; gap: 8px;
}
.card-cat {
  margin: 0; font-size: 12.5px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: var(--gold-dark);
}
.card-name { margin: 0; font-size: 21px; line-height: 1.25; }
.card-name a { color: var(--navy); text-decoration: none; }
.card-name a:hover { text-decoration: underline; }
.card-blurb { margin: 0; color: var(--muted); flex: 1; }
.card-price { margin: 0; font-size: 19px; font-weight: 800; color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 20px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none; text-align: center;
}
.btn-card { background: var(--navy); color: #fff; }
.btn-card:hover { background: var(--navy-2); }
.btn-buy { background: var(--gold); color: var(--navy); font-size: 17px; width: 100%; }
.btn-buy:hover { background: var(--gold-dark); color: #fff; }

.empty { padding: 18px 0 30px; color: var(--muted); }

/* How it works */
.how { padding: 22px 0 30px; }
.how h2 { color: var(--navy); font-size: 22px; margin: 0 0 8px; }
.how p { color: var(--muted); max-width: 700px; margin: 0; }

/* Detail pages */
.detail { padding-top: 20px; padding-bottom: 34px; max-width: 760px; }
.detail h1 { color: var(--navy); font-size: 30px; line-height: 1.2; margin: 6px 0 8px; }
.detail h2 { color: var(--navy); font-size: 21px; margin: 24px 0 6px; }
.detail p { margin: 0 0 12px; }
.crumb { font-size: 15px; }
.crumb a { font-weight: 600; }
.detail-price { font-size: 22px; font-weight: 800; color: var(--navy); }
.detail-price .via, .via { font-size: 15px; font-weight: 600; color: var(--muted); }
.buy-box {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--wash); padding: 18px; margin: 20px 0 6px;
}
.buy-price { font-size: 24px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.fineprint { font-size: 13.5px; color: var(--muted); }
.buy-box .fineprint { margin: 12px 0 0; }

/* Footer */
.site-footer {
  background: var(--navy); color: #cfd3e6; margin-top: 10px;
}
.site-footer .wrap { padding-top: 22px; padding-bottom: 26px; }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--gold); }
.site-footer .fineprint { color: #9aa1bd; }

/* Wider screens */
@media (min-width: 620px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
  .detail h1 { font-size: 36px; }
  .btn-buy { width: auto; min-width: 320px; }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}
