/* Sharper Sales 2026 refresh — preview.
   One last public layer over the existing styles. Admin pages never load it.
   Palette: navy, blue and green only (no purple). Fonts: Outfit + DM Sans. */

:root{--r-navy:#06101c;--r-panel:#0c1b2c;--r-panel-2:#10233a;--r-line:#22384f;--r-line-2:#2e4a66;--r-text:#eef6ff;--r-muted:#a9bbcd;--r-green:#8ee52e;--r-green-2:#a8f053;--r-blue:#78c7f3;--r-radius:20px}

/* Header: unchanged from the original design (full logo + "Sharper Sales" and tagline). */

/* ---------- Cookie choices: a compact bar, not a wall over the page ---------- */
html body .consent-box{left:12px;right:12px;bottom:12px;width:auto;max-width:560px;margin:0 auto;padding:16px 18px 14px;border:1px solid var(--r-line-2);border-radius:18px;background:#0b1a2a;box-shadow:0 18px 50px #000a}
@media(min-width:760px){html body .consent-box{left:auto;right:24px;bottom:24px;width:430px;margin:0}}
html body .consent-box>strong{font-family:Outfit,system-ui,sans-serif;font-size:16px}
html body .consent-box>p{margin:4px 0 8px;font-size:13.5px;line-height:1.5;color:var(--r-muted)}
.consent-more summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;color:var(--r-green);font-weight:600;font-size:14px;padding:4px 0;min-height:32px}
.consent-more summary::-webkit-details-marker{display:none}
.consent-more summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.consent-more[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.consent-more .consent-option{margin:10px 0}
html body .consent-box .page-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.consent-more[open]~.page-actions{grid-template-columns:repeat(3,1fr)}
.consent-more:not([open])~.page-actions [data-choice=save]{display:none}
html body .consent-box .page-actions button{min-height:44px;padding:10px 8px;font-size:14px}
/* Equal weight for "essential only" and "allow all" (PECR/ICO: rejecting is as easy as accepting). */

/* ---------- Homepage hero: brand colours only ---------- */
html body .trade-home-hero{background:radial-gradient(circle at 12% 88%,#123b2c 0,transparent 34%),radial-gradient(circle at 68% 18%,#14405e 0,transparent 40%),linear-gradient(135deg,#0f1d33,#071522 62%,#050d18);border-color:var(--r-line-2)}
html body .trade-home-hero h1{letter-spacing:-.02em}

/* ---------- Homepage facts strip ---------- */
.home-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 8px}
.home-facts>div{position:relative;padding:18px 18px 16px 62px;border:1px solid var(--r-line);border-radius:18px;background:linear-gradient(160deg,#0f2236,#0a1727)}
.home-fact-icon{position:absolute;left:16px;top:18px;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#16301f;color:var(--r-green);font:700 16px/1 Outfit,system-ui,sans-serif;border:1px solid #2c5a2f}
.home-facts strong{display:block;font-family:Outfit,system-ui,sans-serif;font-size:17px;line-height:1.25;color:var(--r-text)}
.home-facts p{margin:4px 0 0;font-size:14px;line-height:1.5;color:var(--r-muted)}
.home-facts a{color:var(--r-green);font-weight:600}
@media(max-width:1000px){.home-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home-facts{grid-template-columns:1fr;gap:10px;margin-top:16px}.home-facts>div{padding:14px 14px 14px 58px}.home-fact-icon{top:14px}}

/* ---------- Homepage shop rail ---------- */
.home-shop-rail .section-heading{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:8px 20px}
.home-shop-rail .section-heading .eyebrow{width:100%;margin-bottom:0}
.home-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}
.home-shop-card{display:flex;flex-direction:column;border:1px solid var(--r-line);border-radius:18px;background:var(--r-panel);color:var(--r-text);text-decoration:none;overflow:hidden;transition:border-color .16s,transform .16s,box-shadow .16s}
.home-shop-card:hover{border-color:var(--r-green);transform:translateY(-2px);box-shadow:0 14px 34px #0006}
.home-shop-photo{display:block;aspect-ratio:1;margin:8px;border-radius:12px;background:#eef3f8;overflow:hidden}
.home-shop-photo img{width:100%;height:100%;object-fit:contain;display:block}
.home-shop-copy{display:grid;gap:4px;padding:6px 14px 14px}
.home-shop-copy small{color:var(--r-blue);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.home-shop-copy strong{font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.home-shop-copy b{font-family:Outfit,system-ui,sans-serif;font-size:20px;color:var(--r-green)}
.home-shop-note{margin-top:14px;color:var(--r-muted);font-size:14px}
@media(max-width:900px){.home-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:560px){.home-shop-copy{padding:4px 10px 12px}.home-shop-copy strong{font-size:14px}.home-shop-copy b{font-size:18px}}

/* No empty "first review is coming" box on the homepage; the reviews page keeps it. */
.home-storefront-page .review-home:has(.review-empty){display:none}

/* ---------- Final call to action: both journeys ---------- */
.final-cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
@media(max-width:700px){.final-cta-actions{justify-content:stretch}.final-cta-actions>*{flex:1 1 100%;text-align:center;justify-content:center}}

/* ---------- Tighter vertical rhythm on phones ---------- */
@media(max-width:700px){
  html body .home-storefront-main .section{padding-top:44px;padding-bottom:8px}
  html body .home-storefront-main .section h2{font-size:clamp(28px,8vw,36px)}
}

/* ---------- Product page: compact reassurance chips ---------- */
html body .trust-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body .trust-mini-grid span{display:flex;align-items:center;min-height:40px;padding:8px 12px;border:1px solid var(--r-line);border-radius:12px;background:#0a1828;font-size:13.5px;color:#d7e6f4}

/* ---------- Quote page: extras shown as what they add ---------- */
html body .accessory-tag.accessory-adds{background:#16301f;border:1px solid #2c5a2f;color:var(--r-green-2);text-transform:none;letter-spacing:0;font-weight:700}

/* ---------- Buttons: consistent green primary, calm secondary ---------- */
html body .button{background:var(--r-green);color:#07111f;border-color:var(--r-green)}
html body .button:hover{background:var(--r-green-2);border-color:var(--r-green-2)}
html body .secondary-button:hover{border-color:var(--r-green);color:var(--r-text)}

/* Respect people who turn animation off. */
@media (prefers-reduced-motion:reduce){.home-shop-card,.home-shop-card:hover{transition:none;transform:none}}

/* Align the shop rail with the other homepage sections. */
html body .home-storefront-main .home-shop-rail{padding-left:0;padding-right:0}

/* Quote page: the "I've checked the items" confirmation was rendering inline,
   so its text overlapped the tick box on phones. */
html body label.check-row.accessory-confirmation{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;padding:14px 16px;margin:14px 0;border:1px solid var(--r-line-2);border-radius:14px;background:#0a1828;line-height:1.5;font-size:15px}
html body label.check-row.accessory-confirmation input{margin:2px 0 0}

/* Sell page: two models per row on phones instead of one 420px-tall card each
   (the page was ~8,600px long on an iPhone). */
@media(max-width:520px){
  html body .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html body .catalog-card .catalog-image{aspect-ratio:1/1;max-height:none;padding:8px}
  html body .catalog-card .catalog-image img{width:100%;height:100%;object-fit:contain}
  html body .catalog-card .catalog-copy{padding:10px 12px 12px;gap:6px}
  html body .catalog-card .catalog-copy h2{font-size:15px;line-height:1.3}
  html body .catalog-card .mini-label{font-size:10.5px;letter-spacing:.06em}
  html body .catalog-card .catalog-price{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-top:auto}
  html body .catalog-card .catalog-price span{font-size:11.5px;line-height:1.2;color:var(--r-muted)}
  html body .catalog-card .catalog-price strong{font-size:20px}
  html body .catalog-card .catalog-actions{display:block;width:100%}
  html body .catalog-card .sell-now{display:flex;width:100%;box-sizing:border-box;justify-content:center;text-align:center;padding:10px 6px;font-size:13px;white-space:nowrap}
  html body .console-brand-logo{display:none}
}
