*{box-sizing:border-box}
:root{
  --bg:#fff;
  --text:#111;
  --muted:#666;
  --border:#eee;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}
html,body{height:100%}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}
a{color:inherit}
.app{min-height:100vh;display:flex;flex-direction:column}

.topbar{
  position:sticky;top:0;z-index:30;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px 12px;background:#fff;border-bottom:1px solid var(--border)
}
.iconBtn{border:1px solid #e6e6e6;background:#fff;color:#111;padding:7px 10px;border-radius:12px;cursor:pointer}
.iconBtn:hover{background:#f6f6f6}
.brand .title{font-weight:900;letter-spacing:.4px}
.actions{display:flex;gap:8px;align-items:center}
.select{padding:9px 10px;border-radius:12px;border:1px solid #e6e6e6;background:#fff}
.selectWide{min-width:260px}


  background-image:url("assets/hero.png");
  background-size:cover;
  background-position:center;
  position:relative;
  border-bottom:1px solid var(--border);
}
.hero:after{
  content:"";
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,.08), rgba(0,0,0,.05));
}
.heroInner{
  position:relative;z-index:2;
  height:100%;
  display:flex;align-items:center;justify-content:center;
  padding:0 14px;
}
.heroTitle{
  font-family: "Georgia", "Times New Roman", serif;
  font-size:56px;
  font-weight:700;
  letter-spacing:.2px;
  color:#fff;
  text-shadow:0 8px 18px rgba(0,0,0,.55);
  white-space:nowrap;
}
.heroTitle .reg{font-size:22px;vertical-align:top;margin-left:6px}

.content{padding:14px;flex:1}
.controls{
  display:flex;gap:12px;align-items:center;justify-content:center;
  margin:18px auto 10px;flex-wrap:wrap;
}
.search{
  width:min(720px,100%);
  padding:10px 12px;border-radius:14px;border:1px solid #e6e6e6
}
.search::placeholder{color:#888}
.allBtn{
  border:1px solid #111;background:#111;color:#fff;
  padding:9px 12px;border-radius:12px;font-weight:800;cursor:pointer
}
.allBtn:hover{opacity:.92}

.meta{color:#444;margin:10px auto 12px;font-size:14px;text-align:center}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.card{border:1px solid #eee;border-radius:18px;padding:10px;background:#fff}
.card img{width:100%;height:210px;object-fit:cover;border-radius:14px}
.card h3{font-size:14px;margin:10px 0 6px;line-height:1.25}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.badge{font-size:11px;background:#f7f7f7;border:1px solid #eee;padding:3px 8px;border-radius:999px}
.price{font-weight:900;margin:0 0 10px}
.links{display:flex;gap:8px}
.linkBtn{flex:1;text-align:center;text-decoration:none;padding:8px 10px;border-radius:12px;border:1px solid #111;color:#111;font-weight:800;font-size:13px}
.linkBtn:hover{background:#111;color:#fff}

/* Sidebar */
.sidebar{position:fixed;top:0;left:0;height:100vh;width:320px;max-width:85vw;background:#fff;border-right:1px solid var(--border);padding:12px;z-index:40;overflow:auto}
.hidden{display:none}
.sideHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.sideTitle{font-weight:900}
.crumbs{display:flex;align-items:center;gap:8px;margin:6px 0 10px;font-size:13px;color:#555;flex-wrap:wrap}
.crumbBtn{border:1px solid #e6e6e6;background:#fff;padding:6px 10px;border-radius:999px;cursor:pointer}
.crumbBtn:hover{background:#f6f6f6}
.menu{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.item{border:1px solid #ededed;border-radius:16px;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
.item:hover{background:#fafafa}
.item .name{font-weight:800}
.item .count{color:#777;font-size:12px}

/* Footer */
.footer{
  background:#0f0f0f;color:#fff;
  padding:26px 14px;
  border-top:1px solid rgba(255,255,255,.08);
}
.footerInner{max-width:980px;margin:0 auto;text-align:center}
.footerLine{color:#eaeaea;line-height:1.6;margin:4px 0}
.footerLinks{margin-top:10px;font-weight:800}
.footerLinks a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.45)}
.footerLinks a:hover{border-bottom-color:#fff}

/* Legal pages */
.simpleHeader{max-width:980px;margin:0 auto;padding:18px 14px 10px}
.simpleHeader h1{margin:10px 0 0;font-size:28px}
.backLink{text-decoration:none;border-bottom:1px solid #111;font-weight:800}
.legalWrap{max-width:980px;margin:0 auto;padding:10px 14px 30px;line-height:1.65;color:#222}
.legalWrap h2{margin-top:18px}
.miniFooter{max-width:980px;margin:0 auto;padding:16px 14px 30px;color:#555;text-align:center;border-top:1px solid var(--border)}

@media (max-width: 820px){
  .brand{display:none}
  .heroTitle{font-size:42px}
  .selectWide{min-width:220px}
}
@media (max-width: 480px){
  .hero{
  position:relative;
  height:420px;
  background-image:url("assets/hero.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
}
  .heroTitle{font-size:34px}
}
