/* CartDrop — light professional theme. */
:root {
  --ink: #14213d;
  --ink-soft: #3d4a63;
  --muted: #6b7686;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --line: #e6e1d8;
  --accent: #e4572e;        /* cart orange-red */
  --accent-dark: #c7431f;
  --gold: #f2a007;
  --green: #178a4c;
  --green-bg: #e7f6ee;
  --amber-bg: #fdf3e0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 33, 61, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8ec 0, var(--bg) 340px);
  line-height: 1.55;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent-dark); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 9px; letter-spacing: -.02em; }
.brand .dot { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--accent-dark); }
.btn { display: inline-block; background: var(--accent); color: #fff !important; font-weight: 700; padding: 11px 20px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; font-size: .98rem; }
.btn:hover { background: var(--accent-dark); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-nav { padding: 8px 16px; font-size: .9rem; }
.btn-ghost { background: var(--surface); color: var(--ink) !important; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: #fff; }
.btn-small { padding: 7px 14px; font-size: .88rem; }

/* Type */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--accent-dark); display: flex; align-items: center; gap: 8px; margin: 34px 0 6px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; }
h1 { font-size: 2.4rem; line-height: 1.12; letter-spacing: -.02em; margin: 4px 0 10px; }
h2 { font-size: 1.45rem; letter-spacing: -.01em; margin: 30px 0 10px; }
h3 { font-size: 1.08rem; margin: 0 0 6px; }
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 46rem; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: 26px 0 8px; }
.hero .tagline { font-size: 1.2rem; color: var(--ink-soft); max-width: 42rem; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 18px 0 6px; }
.hero-stats div { font-size: .92rem; color: var(--muted); }
.hero-stats strong { display: block; font-size: 1.3rem; color: var(--ink); }

/* Deal feed */
.feed-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 22px 0 6px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft); border-radius: 999px; padding: 7px 15px; font-weight: 700; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box { flex: 1 1 220px; }
.search-box input, .field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--surface); color: var(--ink);
}
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 16px 0 30px; }
.deal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.deal-card .store-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.store-badge { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.cat-badge { font-size: .78rem; font-weight: 700; color: var(--accent-dark); background: #fdeee8; padding: 3px 9px; border-radius: 999px; }
.deal-card h3 { line-height: 1.3; }
.deal-card .blurb { color: var(--ink-soft); font-size: .95rem; margin: 0; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-now { font-size: 1.55rem; font-weight: 800; color: var(--ink); }
.price-was { color: var(--muted); text-decoration: line-through; }
.price-off { color: var(--green); font-weight: 800; background: var(--green-bg); padding: 2px 8px; border-radius: 999px; font-size: .85rem; }
.price-check { font-size: 1.05rem; font-weight: 700; color: var(--ink-soft); }
.coupon { background: var(--amber-bg); border: 1px dashed var(--gold); border-radius: 8px; padding: 6px 10px; font-size: .9rem; }
.coupon code { font-weight: 800; }
.verified { font-size: .82rem; color: var(--muted); }
.verified .tick { color: var(--green); font-weight: 800; }
.card-actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.report-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; padding: 0; }
.report-btn:hover { color: var(--accent-dark); }
.report-btn[disabled] { text-decoration: none; cursor: default; }

/* Panels, tables, forms */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 18px 0; }
table.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 18px 0; }
table.compare th, table.compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--ink); color: #fff; font-size: 1rem; }
table.compare thead th.vip-col { background: var(--accent); }
table.compare tbody th { font-weight: 700; color: var(--ink); width: 22%; }
table.info { border-collapse: collapse; }
table.info th, table.info td { text-align: left; padding: 7px 14px 7px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin: 20px 0; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--accent); }
.price-card .price { font-size: 2.1rem; font-weight: 800; margin: 6px 0; }
.price-card .price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-card ul { padding-left: 18px; color: var(--ink-soft); }
.field { margin: 12px 0; }
.field label { display: block; font-weight: 700; margin-bottom: 5px; font-size: .95rem; }
.auth-msg { margin-top: 10px; font-size: .95rem; }
.auth-msg-error { color: #b3261e; }
.auth-msg-success { color: var(--green); }
.notice { border-radius: 10px; padding: 12px 16px; font-size: .95rem; margin: 14px 0; }
.notice-amber { background: var(--amber-bg); border: 1px solid #f0d9a8; }
.notice-green { background: var(--green-bg); border: 1px solid #bfe6cf; }

/* Library + merch */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 16px 0 30px; }
.asset-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.asset-card .lock { font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.lock-free { color: var(--green); }
.lock-vip { color: var(--accent-dark); }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 18px 0; }
.merch-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.merch-card .slogan { font-size: 1.35rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.merch-card .kind { color: #ffd9a8; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 12px; }

/* Watchlist */
.watch-item { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.watch-item a { word-break: break-all; }
.remove-btn { background: none; border: 0; color: #b3261e; font: inherit; font-size: .88rem; cursor: pointer; white-space: nowrap; }

footer { border-top: 1px solid var(--line); margin-top: 46px; padding: 26px 0 40px; color: var(--muted); font-size: .9rem; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
footer a { color: var(--ink-soft); }
@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  .main-nav { gap: 12px; }
}
