/* PriceMe seller pages — theme "Clear Trust". Mobile first. */
:root {
  --blue: #1D4ED8;
  --blue-dark: #1E40AF;
  --blue-soft: #DBEAFE;
  --orange: #C2410C;      /* text-safe orange */
  --orange-fill: #EA580C;
  --orange-soft: #FFF7ED;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --green: #15803D;
  --red: #B91C1C;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }

/* Header + hero */
.hero {
  background: var(--blue);
  color: #fff;
  border-radius: 0 0 24px 24px;
  padding: 8px 0 28px;
}
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.topbar img { height: 34px; width: auto; display: block; }
.topbar a.small-link { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 0; }
.hero h1 { font-size: clamp(26px, 6.6vw, 40px); line-height: 1.18; margin: 16px 0 10px; font-weight: 800; letter-spacing: 0; }
.hero h1 .l1, .hero h1 .hl { display: block; }
.hero h1 .hl { color: #FDBA74; }
.hero p.lead { font-size: 16px; color: var(--blue-soft); margin: 0 0 16px; max-width: 560px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { background: rgba(255,255,255,0.14); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { color: var(--blue-dark); background: #F8FAFF; }
.btn-blue { background: var(--blue); color: #fff; width: 100%; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #166534; color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }

/* Sections */
section { padding: 32px 0 4px; }
h2 { font-size: 24px; line-height: 1.25; margin: 0 0 16px; font-weight: 800; }
.steps { display: grid; gap: 12px; }
.step { background: var(--card); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; box-shadow: 0 1px 3px rgba(15,23,42,0.06); }
.step .num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.benefits { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.benefits li { background: var(--card); border-radius: 14px; padding: 14px 16px 14px 46px; position: relative; font-weight: 500; box-shadow: 0 1px 3px rgba(15,23,42,0.06); }
.benefits li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Example offer card */
.example { background: var(--card); border-radius: 16px; padding: 14px; box-shadow: 0 1px 3px rgba(15,23,42,0.08); max-width: 360px; }
.example .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; color: var(--orange); background: var(--orange-soft); border-radius: 6px; padding: 3px 8px; }
.example .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.example .price { font-size: 22px; font-weight: 800; color: var(--orange); }
.example .was { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.caption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Form */
.form-card { background: var(--card); border-radius: 18px; padding: 18px 16px; box-shadow: 0 1px 3px rgba(15,23,42,0.08); }
.form-wrap { max-width: 820px; }
@media (max-width: 719px) { .example-col { display: none; } }
fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; padding: 0; color: var(--blue); text-transform: uppercase; letter-spacing: 0.5px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; min-width: 0; }
.field label, .group-label { font-weight: 700; font-size: 13px; }
.field .hint { font-size: 12px; color: var(--muted); }
.opt { font-weight: 500; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=url], input[type=number], input[type=date], select {
  width: 100%; min-height: 46px; padding: 0 12px; border-radius: 10px;
  border: 1.5px solid #CBD5E1; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; /* 16px stops iPhone zoom */
}
input:focus, select:focus { border-color: var(--blue); }
.grid-2 { display: grid; gap: 0 12px; }
.grid-2.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prefix { display: flex; }
.prefix span { display: flex; align-items: center; padding: 0 10px; border: 1.5px solid #CBD5E1; border-right: 0; border-radius: 10px 0 0 10px; background: #F1F5F9; color: var(--muted); font-weight: 700; font-size: 14px; }
.prefix input { border-radius: 0 10px 10px 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 10px; border: 1.5px solid #CBD5E1; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 14px; }
.choice input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--blue); background: #EFF6FF; }
.field label.consent { font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex-shrink: 0; }
.saving { margin: -6px 0 8px; font-size: 13px; font-weight: 700; color: var(--green); min-height: 0; }
.saving:empty { display: none; }
.err-box { background: #FEF2F2; border: 1px solid #FECACA; color: var(--red); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; }
.err-box ul { margin: 6px 0 0; padding-left: 18px; }
.field-err { color: var(--red); font-size: 12px; font-weight: 700; }
.has-err input, .has-err select { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
details { background: var(--card); border-radius: 14px; padding: 0 16px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(15,23,42,0.06); }
summary { cursor: pointer; font-weight: 700; min-height: 52px; display: flex; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Thank you + content pages */
.page-top { background: var(--blue); padding: 16px 0 20px; }
.page-top img { height: 34px; display: block; }
.center-card { background: var(--card); border-radius: 20px; padding: 28px 20px; margin: 24px 0; box-shadow: 0 1px 3px rgba(15,23,42,0.08); }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.stack { display: grid; gap: 10px; margin-top: 20px; }
.prose h1 { font-size: 28px; margin: 24px 0 8px; }
.prose h2 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: #334155; }
.notice { background: var(--orange-soft); border: 1px solid #FED7AA; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #7C2D12; }

/* Footer */
.site-footer { margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.site-footer p { margin: 6px 0; }

/* Admin */
.admin-bar { background: var(--ink); color: #fff; padding: 12px 0; }
.admin-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-bar a { color: #fff; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.tabs a.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.sub { background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(15,23,42,0.06); }
.sub h3 { margin: 0 0 4px; font-size: 17px; }
.sub dl { display: grid; grid-template-columns: 120px 1fr; gap: 4px 12px; margin: 12px 0; font-size: 14px; }
.sub dt { color: var(--muted); }
.sub dd { margin: 0; word-break: break-word; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.b-pending { background: #FFEDD5; color: #9A3412; }
.b-approved { background: #DCFCE7; color: var(--green); }
.b-rejected { background: #FEE2E2; color: var(--red); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions .btn { min-height: 44px; font-size: 14px; padding: 0 16px; }
.btn-red { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.stat { background: #fff; border-radius: 14px; padding: 14px; }
.stat b { display: block; font-size: 26px; }
.stat span { font-size: 13px; color: var(--muted); }

/* Bigger screens */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-card { padding: 24px 28px; }
  .form-card fieldset { padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
  .btn-blue { width: auto; min-width: 260px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; }
  .two-col .example-col { margin-top: 0 !important; }
}
@media (min-width: 960px) {
  .hero { padding-bottom: 36px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-card { padding: 24px 32px; }
  .hero h1 .l1 { white-space: nowrap; }
}

/* ---------- Buyer homepage ---------- */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; padding: 12px 10px; border-radius: 10px; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.site-nav a.seller-cta { background: #fff; color: var(--blue); padding: 10px 14px; }
.site-nav a.seller-cta:hover { background: #F8FAFF; color: var(--blue-dark); }
.trust-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--blue-soft); margin-top: 12px; }
.search { background: #fff; border-radius: 16px; padding: 8px; display: grid; gap: 8px; max-width: 760px; }
.search .field { margin: 0; }
.search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search input, .search select { border: 0; background: #F1F5F9; }
.search .btn { min-height: 46px; }
@media (min-width: 720px) { .search { grid-template-columns: 1fr 1.2fr auto; } }

.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.results-head h2 { margin: 0; }
.results-head a { font-size: 14px; font-weight: 700; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex-shrink: 0; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.chips a.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }

.offer-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer-card { background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 3px rgba(15,23,42,0.08); }
.offer-card .top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.offer-card .cat { font-size: 12px; color: var(--muted); font-weight: 500; }
.offer-card .verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--green); background: #DCFCE7; border-radius: 6px; padding: 3px 7px; }
.offer-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.offer-card .seller { font-size: 13px; color: var(--muted); }
.offer-card .prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.offer-card .now { font-size: 24px; font-weight: 800; color: var(--orange); }
.offer-card .was { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.offer-card .save { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--green); }
.offer-card .meta { font-size: 12px; color: var(--muted); }
.offer-card .btns { display: grid; gap: 8px; margin-top: auto; }
.offer-card .btns .btn { min-height: 46px; font-size: 15px; width: 100%; }
.how-redeem { font-size: 13px; background: var(--orange-soft); color: #7C2D12; border-radius: 10px; padding: 8px 10px; }

.empty { background: #fff; border-radius: 18px; padding: 28px 20px; text-align: center; box-shadow: 0 1px 3px rgba(15,23,42,0.06); }
.empty h3 { margin: 0 0 6px; font-size: 19px; }
.empty p { margin: 0 auto 16px; color: var(--muted); max-width: 460px; }
.empty .btn { width: auto; }

.seller-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 24px 20px; display: grid; gap: 14px; align-items: center; }
.seller-band h2 { margin: 0; color: #fff; }
.seller-band p { margin: 0; color: #CBD5E1; }
@media (min-width: 720px) { .seller-band { grid-template-columns: 1fr auto; padding: 28px 32px; } }
@media (max-width: 520px) { .site-nav a:not(.seller-cta) { display: none; } }

/* Seller-first band under the hero */
.seller-first { padding-top: 24px; }
.band-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: #FDBA74; margin-bottom: 6px; }
.seller-band h2 { font-size: 26px; margin-bottom: 6px; }
.band-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.band-pills span { background: rgba(255,255,255,0.1); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; color: #E2E8F0; }
.band-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.band-actions .btn { white-space: nowrap; }
.band-link { color: #CBD5E1; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; padding: 8px 0; }
.band-link:hover { color: #fff; }
@media (min-width: 720px) { .band-actions { min-width: 260px; } }

/* Placeholder cards before real offers exist */
.offer-card.placeholder { border: 1.5px dashed #CBD5E1; box-shadow: none; background: #FBFCFE; }
.offer-card.placeholder h3 { color: var(--muted); }
.offer-card.placeholder .now { color: #94A3B8; }
.soon { font-size: 11px; font-weight: 800; color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 3px 7px; }
.ph-note { font-size: 13px; color: var(--muted); }

/* ---------- Homepage v9: 3-column hero ---------- */
.home-hero { background: var(--blue); color: #fff; border-radius: 0 0 24px 24px; padding: 8px 0 24px; }
.home-hero .topbar img { height: 32px; }
.hero-3 { display: grid; gap: 14px; margin-top: 10px; }
.h-col { border-radius: 18px; }
.h-buyer h1 { font-size: clamp(26px, 6.4vw, 34px); line-height: 1.15; margin: 4px 0 8px; font-weight: 800; }
.h-buyer h1 .hl { color: #FDBA74; display: block; }
.h-buyer .lead { font-size: 15px; color: var(--blue-soft); margin: 0 0 14px; }
.home-hero .search { grid-template-columns: 1fr; max-width: none; }
.home-hero .search .btn { width: 100%; }
.h-how { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 18px; }
.h-how h2, .h-seller h2 { font-size: 19px; margin: 0 0 12px; color: #fff; }
.h-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.h-how li { display: flex; gap: 12px; font-size: 14px; color: var(--blue-soft); line-height: 1.4; }
.h-how li span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.h-how li b { display: block; color: #fff; font-size: 15px; }
.h-seller { background: #C2410C; padding: 18px; display: flex; flex-direction: column; }
.h-seller .kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: #FFEDD5; }
.h-seller h2 { margin: 4px 0 6px; font-size: 21px; }
.h-seller p { margin: 0 0 10px; font-size: 14px; color: #FFEDD5; line-height: 1.45; }
.ticks { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 700; }
.ticks li::before { content: "✓ "; }
.h-seller .btn { margin-top: auto; color: #9A3412; }
.h-seller .btn:hover { color: #7C2D12; }
@media (min-width: 900px) {
  .home-hero { padding-bottom: 28px; }
  .hero-3 { grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; align-items: stretch; }
  .h-buyer { padding-right: 6px; display: flex; flex-direction: column; justify-content: center; }
}
body.home section { padding-top: 28px; }
.home-footer { margin-top: 40px; padding: 18px 0 22px; background: #fff; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.home-footer .f-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home-footer .f-row img { display: block; }
.home-footer nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.home-footer nav a { min-height: 40px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; }
.home-footer p { margin: 8px 0 0; }
@media (min-width: 900px) {
  .h-buyer h1 { font-size: 31px; }
  .home-hero .search { grid-template-columns: 0.9fr 1.1fr; }
  .home-hero .search .btn { grid-column: 1 / -1; }
  .h-how, .h-seller { padding: 18px 20px; }
  .h-how ol { gap: 14px; }
}
.h-buyer h1 .l1 { display: block; }
.h-seller { order: 2; } .h-how { order: 3; }
@media (min-width: 900px) {
  .hero-3 { grid-template-columns: 1.35fr 1fr 1fr; }
  .h-buyer h1 { font-size: 29px; }
  .h-buyer h1 .l1 { white-space: nowrap; }
  .h-how { order: 2; } .h-seller { order: 3; }
}

/* ---------- v10: centred hero box + centred footer ---------- */
.home-hero { background: transparent; border-radius: 0; padding: 12px 0 0; }
.home-hero > .wrap {
  background: var(--blue); border-radius: 24px;
  width: calc(100% - 24px); max-width: 1120px;
  padding: 8px 20px 22px;
  box-shadow: 0 8px 24px rgba(29,78,216,0.18);
}
@media (min-width: 900px) { .home-hero > .wrap { padding: 10px 28px 28px; } }

.home-footer { background: transparent; border-top: 0; margin-top: 36px; padding: 0 0 20px; }
.home-footer > .wrap {
  background: #fff; border-radius: 18px; width: calc(100% - 24px); max-width: 1120px;
  padding: 18px 20px; text-align: center; box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.home-footer .f-row { flex-direction: column; justify-content: center; gap: 6px; }
.home-footer nav { justify-content: center; }
.home-footer p { max-width: 720px; margin: 6px auto 0; }
/* align hero box + footer edges with page content */
.home-hero > .wrap, .home-footer > .wrap { width: calc(100% - 32px); max-width: 1048px; }
.home-hero > .wrap { padding: 8px 18px 20px; }
@media (min-width: 900px) { .home-hero > .wrap { padding: 10px 26px 26px; } }
@media (max-width: 899px) { .h-buyer h1 { font-size: clamp(22px, 6vw, 30px); } }
/* seller card colour #EA580C (white text kept bold for readability) */
.h-seller { background: #EA580C; }
.h-seller .kicker, .h-seller p { color: #FFFFFF; }
.h-seller p { font-weight: 500; }
.h-seller .btn { color: #9A3412; }
/* lighter orange */
.h-seller { background: #F97316; }
.h-seller p { font-weight: 600; }
.h-seller h2, .h-seller p, .h-seller .kicker, .ticks { text-shadow: 0 1px 1px rgba(124,45,18,0.25); }
/* v12: wider homepage layout */
body.home .wrap { max-width: 1312px; padding: 0 12px; }
body.home .home-hero > .wrap, body.home .home-footer > .wrap { width: calc(100% - 24px); max-width: 1288px; }
body.home .home-hero { padding-top: 8px; }
@media (min-width: 900px) {
  body.home .wrap { padding: 0 24px; }
  body.home .home-hero > .wrap, body.home .home-footer > .wrap { width: calc(100% - 48px); }
  body.home .home-hero > .wrap { padding: 12px 32px 30px; }
  .hero-3 { gap: 22px; }
}
@media (max-width: 899px) { body.home .home-hero > .wrap { padding: 8px 14px 16px; } }
body.home .home-hero > .wrap, body.home .home-footer > .wrap { max-width: 1264px; }
body.home .home-footer > .wrap { padding: 18px 20px; }
/* v13: links-only footer */
body.home .home-footer > .wrap { padding: 8px 16px; }
.home-footer nav { justify-content: center; gap: 0 22px; }
/* v14: logo back in footer row */
.home-footer .f-bar { display: flex; align-items: center; justify-content: space-between; gap: 4px 20px; flex-wrap: wrap; }
.home-footer .f-logo { display: inline-flex; align-items: center; min-height: 40px; }
.home-footer .f-logo img { display: block; }
@media (max-width: 899px) { .home-footer .f-bar { justify-content: center; } }
/* v15: centred footer row */
.home-footer .f-bar { justify-content: center; gap: 4px 28px; }
/* v16: one layout for every page */
body.home .home-hero.slim > .wrap { padding-bottom: 10px; }
body.home .wrap.narrow { max-width: 808px; }
body.home main.wrap.narrow { margin-top: 8px; }
.home-hero .two-col { margin-top: 6px; }
.home-hero .hero-copy h1, .home-hero h1 { margin-top: 10px; }

/* ---------- Step 2: codes + seller dashboard ---------- */
.btn-code { background: #F97316; color: #fff; }
.btn-code:hover { background: #EA580C; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ok-box { background: #F0FDF4; border: 1px solid #BBF7D0; color: var(--green); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.cat { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }

.code-card h1 { font-size: 24px; margin: 6px 0 4px; }
.code-card .seller-line { color: var(--muted); margin: 0 0 10px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.code-card .verified { font-size: 11px; font-weight: 800; color: var(--green); background: #DCFCE7; border-radius: 6px; padding: 3px 7px; }
.code-card .prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.code-card .now { font-size: 28px; font-weight: 800; color: var(--orange); }
.code-card .was { color: var(--muted); text-decoration: line-through; }
.code-card .save { font-weight: 800; color: var(--green); font-size: 14px; }
.code-box { margin: 18px 0 8px; border: 2px dashed #F97316; background: var(--orange-soft); border-radius: 16px; padding: 18px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.code-label { font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: #9A3412; }
.code-box .code { font-size: 40px; font-weight: 800; letter-spacing: 3px; color: var(--ink); font-variant-numeric: tabular-nums; }
.copy-btn { min-height: 44px; font-size: 14px; }
.redeem-steps { margin: 14px 0 0; padding-left: 20px; color: #334155; font-size: 15px; }
.redeem-steps li { margin-bottom: 6px; }

.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 20px 0 14px; }
.dash-head h1 { margin: 2px 0 0; font-size: 26px; }
.hint-small { font-size: 13px; color: var(--muted); }
.dash-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
.dash-card { background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 1px 3px rgba(15,23,42,0.08); }
.dash-card h2 { font-size: 18px; margin: 0 0 12px; }
.dash-card h3 { font-size: 14px; margin: 16px 0 6px; color: var(--muted); }
.redeem-card { border: 2px solid var(--blue-soft); }
.redeem-form { display: flex; gap: 8px; }
.redeem-form input { flex: 1; min-width: 0; font-size: 22px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; min-height: 54px; }
.redeem-form .btn { width: auto; min-width: 120px; }
.recent { list-style: none; padding: 0; margin: 0; font-size: 14px; color: #334155; }
.recent li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.funnel { display: grid; gap: 12px; }
.f-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 4px; }
.f-top b { font-size: 16px; }
.f-bar-bg { height: 10px; background: #EEF2FF; border-radius: 6px; overflow: hidden; }
.f-bar-fill { height: 100%; background: var(--blue); border-radius: 6px; }
.f-bar-fill.green { background: var(--green); }
.offer-table { display: grid; gap: 10px; }
.ot-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ot-main { display: flex; flex-direction: column; }
.ot-main span { font-size: 14px; color: var(--muted); }
.ot-stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #334155; }
.ot-link { grid-column: 1 / -1; font-size: 14px; font-weight: 700; }
.btn-code { background: #EA580C; } .btn-code:hover { background: #C2410C; }

/* ---------- Launch fixes: seller page, policy pages, setup check ---------- */
.prose h3 { font-size: 16px; margin: 20px 0 6px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-top: -4px; }
.prose code { background: #EEF2FF; border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.offer-card .seller a, .code-card .seller-line a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.seller-top { background: #fff; border-radius: 18px; padding: 20px; margin-top: 16px; box-shadow: 0 1px 3px rgba(15,23,42,0.08); display: grid; gap: 14px; grid-template-columns: auto 1fr; align-items: center; }
.seller-avatar { width: 60px; height: 60px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 28px; display: flex; align-items: center; justify-content: center; }
.seller-info h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.seller-info p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); align-items: center; }
.seller-info .verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--green); background: #DCFCE7; border-radius: 6px; padding: 3px 7px; }
.seller-actions { grid-column: 1 / -1; display: grid; gap: 8px; }
.seller-actions .btn { min-height: 46px; font-size: 15px; }
@media (min-width: 760px) {
  .seller-top { grid-template-columns: auto 1fr auto; padding: 24px; }
  .seller-actions { grid-column: auto; grid-template-columns: auto auto; }
}

.share-card { display: grid; gap: 12px; align-items: center; margin-bottom: 16px; border: 2px solid #BBF7D0; }
.share-card h2 { margin-bottom: 4px; }
.pub-link { display: inline-block; margin-top: 6px; font-weight: 800; word-break: break-all; }
@media (min-width: 760px) { .share-card { grid-template-columns: 1fr auto; } .share-card .btn { width: auto; } }

.del-wrap { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; color: var(--muted); }
.del-wrap input { width: 18px; height: 18px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #F8FAFC; }
.checks .mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 14px; }
.checks .ok .mark { background: var(--green); }
.checks .bad .mark { background: var(--red); }
.checks .unk .mark { background: #94A3B8; }
.checks .bad { background: #FEF2F2; }
.checks li div span { display: block; font-size: 14px; color: #334155; margin-top: 2px; }

/* ---------- Online price check ---------- */
.pricecheck { background: #F8FAFF; border: 1.5px solid var(--blue-soft); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.pc-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.pc-head b { font-size: 15px; }
.pc-head span { font-size: 13px; color: var(--muted); }
.pc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pc-links .btn { min-height: 44px; font-size: 14px; padding: 0 16px; }
.pricecheck .hint { font-size: 12px; color: var(--muted); margin: 0 0 10px; display: block; }
.verdict { margin: 0; font-size: 14px; font-weight: 700; border-radius: 10px; }
.verdict:empty { display: none; }
.verdict.good { background: #F0FDF4; color: var(--green); padding: 10px 12px; }
.verdict.warn { background: var(--orange-soft); color: #9A3412; padding: 10px 12px; }

.online-cmp { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; font-size: 13px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; padding: 8px 10px; color: #334155; }
.online-cmp b { text-decoration: line-through; color: var(--ink); }
.online-cmp .cmp-save { color: var(--green); font-weight: 800; }
.online-cmp .cmp-date { flex-basis: 100%; font-size: 11px; color: var(--muted); }
.code-card .online-cmp { margin-top: 10px; }

.online-admin { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.online-admin input { width: 130px; min-height: 44px; }
.ot-online { grid-column: 1 / -1; font-size: 13px; border-radius: 8px; padding: 6px 10px; }
.ot-online.good { background: #F0FDF4; color: var(--green); }
.ot-online.warn { background: var(--orange-soft); color: #9A3412; }

/* ---------- Automatic price lookup ---------- */
.pc-auto { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; }
.pc-auto .btn { width: auto; min-width: 0; min-height: 46px; font-size: 15px; }
.pc-out:empty { display: none; }
.pc-range { margin: 6px 0 4px; font-weight: 800; font-size: 16px; color: var(--ink); }
.pc-msg { margin: 6px 0; font-size: 14px; font-weight: 700; border-radius: 10px; padding: 10px 12px; }
.pc-msg.warn { background: var(--orange-soft); color: #9A3412; }
.pc-msg.good { background: #F0FDF4; color: var(--green); }
.pc-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.pc-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.pc-list li.picked { border-color: var(--green); background: #F0FDF4; }
.pc-info { min-width: 0; display: flex; flex-direction: column; }
.pc-info b { font-size: 14px; }
.pc-info span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-list .btn { min-height: 44px; font-size: 13px; padding: 0 12px; flex-shrink: 0; width: auto; min-width: 0; }
.ot-check, .ot-pc { grid-column: 1 / -1; }
.ot-check .btn { min-height: 44px; font-size: 14px; width: auto; }

/* ---- v22: buyer verification, flags, activity tables ---- */
.buyer-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line, #E2E8F0); text-align: left; }
.buyer-form h2 { font-size: 19px; margin: 0 0 4px; }
.otp-input { font-size: 26px !important; font-weight: 800; letter-spacing: 8px; text-align: center; min-height: 56px; }
.otp-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.linkbtn { background: none; border: 0; padding: 6px 0; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 32px; }
.flag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin: 2px 2px 2px 0; line-height: 1.5; }
.flag.f-ok { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.flag.f-bad { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.flag.f-warn { background: #FFF7ED; color: #9A3412; border: 1px solid #FED7AA; }
.tbl-wrap { overflow-x: auto; background: var(--card, #fff); border-radius: 14px; box-shadow: 0 1px 3px rgba(15,23,42,0.08); margin-bottom: 24px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E2E8F0; vertical-align: top; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tbl .btn { width: auto; min-height: 36px; padding: 6px 14px; font-size: 13px; }
.tbl .sub-l { font-size: 12px; color: var(--muted); }

/* ---- v23: product photos, location button, not-allowed list ---- */
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-head > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.offer-photo { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #F1F5F9; border: 1px solid #E2E8F0; flex-shrink: 0; }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.code-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 280px; margin: 0 0 14px; border-radius: 14px; }
.photo-pick { display: flex; align-items: center; gap: 12px; }
.photo-pick img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid #E2E8F0; flex-shrink: 0; }
.photo-pick input[type=file] { flex: 1; min-width: 0; font-size: 14px; padding: 10px; border: 1.5px dashed #CBD5E1; border-radius: 12px; background: #FBFCFE; min-height: 48px; }
.loc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn.loc-btn { width: auto; min-height: 40px; padding: 6px 14px; font-size: 14px; gap: 6px; display: inline-flex; align-items: center; }
.loc-msg { font-size: 13px; font-weight: 700; color: var(--green); }
.not-allowed { font-size: 13px; margin-top: 2px; }
.not-allowed summary { color: var(--blue); font-weight: 700; cursor: pointer; padding: 4px 0; }
.not-allowed ul { margin: 6px 0 4px; padding: 10px 12px 10px 28px; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 10px; color: #7F1D1D; line-height: 1.5; }
.admin-photo { float: right; margin: 0 0 8px 12px; }
.admin-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid #E2E8F0; display: block; }

/* ---- v25: 3-step seller form, FAQ page ---- */
.stepper { display: none; list-style: none; margin: 0 0 16px; padding: 0; gap: 6px; }
.js-steps .stepper { display: grid; grid-template-columns: repeat(3, 1fr); }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); padding: 8px 10px; border-radius: 12px; background: #F1F5F9; cursor: pointer; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper li span { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #CBD5E1; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.stepper li.on { background: #EFF6FF; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.stepper li.on span { background: var(--blue); }
.stepper li.done { color: var(--green); background: #F0FDF4; }
.stepper li.done span { background: var(--green); font-size: 0; }
.stepper li.done span::after { content: "✓"; font-size: 13px; }
.js-steps fieldset.fstep { border-bottom: 0 !important; margin-bottom: 0; padding-bottom: 0 !important; }
.js-steps fieldset.fstep[hidden] { display: none; }
.step-nav { display: none; margin-top: 8px; }
.js-steps .step-nav { display: grid; gap: 10px; }
.step-nav.two { grid-template-columns: 1fr 2fr; }
form:not(.js-steps) fieldset.fstep:last-of-type .step-nav { display: grid; grid-template-columns: 1fr; }
form:not(.js-steps) [data-back] { display: none; }
@media (max-width: 420px) { .stepper li { font-size: 12px; padding: 8px 6px; gap: 5px; } }
details.pricecheck > summary { cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
details.pricecheck > summary::-webkit-details-marker { display: none; }
details.pricecheck > summary::after { content: "+"; position: absolute; right: 2px; top: 0; font-size: 22px; font-weight: 700; color: var(--blue); line-height: 1; }
details.pricecheck[open] > summary::after { content: "–"; }
details.pricecheck:not([open]) > summary { margin-bottom: 0; }
details.pricecheck[open] > summary { margin-bottom: 10px; }
.faq-teaser { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--card, #fff); border-radius: 16px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(15,23,42,0.08); }
.faq-teaser h2 { font-size: 19px; margin: 0 0 4px; }
.faq-teaser p { margin: 0; color: var(--muted); font-size: 14px; }
.faq-teaser .btn { width: auto; min-width: 180px; }
.faq-page h1 { font-size: 28px; margin: 24px 0 6px; }
.faq-page h2 { font-size: 20px; margin: 22px 0 10px; scroll-margin-top: 12px; }
.faq-page .lead-muted { color: var(--muted); margin: 0 0 14px; }

/* ---- v27: complaints, security tools ---- */
textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #CBD5E1; border-radius: 12px; background: #fff; color: var(--ink); resize: vertical; min-height: 110px; }
.has-err textarea { border-color: var(--red); }
.more-tools { background: none; box-shadow: none; padding: 0; margin: 0; flex: 1 1 100%; font-size: 13px; }
.more-tools summary { color: var(--muted); font-weight: 700; cursor: pointer; padding: 6px 0; min-height: 0; font-size: 13px; }
.more-tools summary::after { content: none !important; }
.more-tools > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 12px; }
.more-tools label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.more-tools input[type=checkbox] { width: 18px; height: 18px; }
