/* Unified front theme */
:root{
  --bg:#f6f8fc; --panel:#ffffff; --muted:#475569; --text:#0f172a;
  --border:#e5e7eb; --accent:#2563eb; --accent-2:#0ea5e9; --ok:#16a34a; --warn:#f59e0b; --danger:#dc2626;
  --shadow:0 10px 20px rgba(0,0,0,.06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--text);font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;line-height:1.5}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.muted{color:var(--muted)}

.site-header{position:sticky;top:0;background:rgba(255,255,255,.8);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--border);z-index:50}
.site-header .row{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}
.brand{font-weight:800;letter-spacing:.3px}
.nav{display:flex;gap:8px;flex-wrap:wrap}
.nav a{padding:8px 12px;border-radius:999px;border:1px solid transparent}
.nav a:hover{background:#eef2ff;border-color:#dbeafe;text-decoration:none}

.hero{padding:56px 0;background:linear-gradient(180deg,#ffffff,#f6f8fc)}
.hero h1{font-size:40px;margin:0 0 8px}
.hero p{color:var(--muted);margin:0 0 16px}

.section{padding:24px 0}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

.card{background:var(--panel);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.card-header{padding:12px 14px;border-bottom:1px solid var(--border);font-weight:700}
.card-body{padding:14px}
.card-footer{padding:12px 14px;border-top:1px solid var(--border);color:var(--muted)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:.6rem .9rem;border-radius:12px;border:1px solid var(--border);background:#fff;color:var(--text);cursor:pointer;text-decoration:none}
.btn:hover{background:#f8fafc;text-decoration:none}
.btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn-primary:hover{background:#1d4ed8}

.input,select,textarea{width:100%;padding:.6rem .7rem;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text)}

.footer{border-top:1px solid var(--border);padding:16px 0;margin-top:24px;color:var(--muted)}

.grid-listing{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.product{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden;box-shadow:var(--shadow)}
.product .cover{aspect-ratio:4/3;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}
.product .content{padding:10px 12px;display:flex;flex-direction:column;gap:6px}
.product .title{font-weight:700}
.price{font-weight:800;color:#0b7a53}
.badges{display:flex;gap:6px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;gap:6px;padding:.25rem .5rem;border:1px solid var(--border);border-radius:999px;background:#fff;font-size:.85rem}
.pill.hot{border-color:#fed7aa;background:#fff7ed}
.pill.new{border-color:#dbeafe;background:#eff6ff}
.pill.low{border-color:#bbf7d0;background:#ecfdf5}

.step{margin:14px 0;border:1px solid var(--border);border-radius:14px;background:var(--panel)}
.step-header{padding:12px 14px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}
.step-body{padding:14px}
.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.choice{display:flex;align-items:center;justify-content:center;padding:10px;border:1px solid var(--border);border-radius:12px;background:#fff;cursor:pointer;transition:.15s}
.choice:hover{background:#f8fafc}
.choice.active{outline:2px solid var(--accent);background:#eff6ff}

@media(max-width:900px){
  .grid-2{grid-template-columns:1fr}
  .grid-3,.grid-listing,.choices{grid-template-columns:1fr}
  .hero h1{font-size:32px}
}
