*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#1e293b;line-height:1.6}
a{text-decoration:none;color:inherit}
header{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100}
.hi{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;height:64px;gap:32px}
.logo{font-size:24px;font-weight:800;color:#0d9488}
nav{display:flex;gap:24px}
nav a{color:#64748b;font-weight:500}
nav a:hover,.nav-active{color:#0d9488}
.hr{margin-left:auto}
.btn{background:#0d9488;color:#fff;padding:8px 20px;border-radius:8px;font-weight:600}
.main{max-width:1200px;margin:0 auto;padding:40px 20px}
.page-title{font-size:32px;font-weight:700;margin-bottom:8px}
.page-sub{color:#64748b;margin-bottom:24px}

/* Store grid — 3 columns on desktop, clean cards */
.sg{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}

/* Store card */
.sc{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:14px;
  transition:transform .2s,box-shadow .2s;
  min-height:76px;
}
.sc:hover{transform:translateY(-2px);box-shadow:0 8px 16px rgba(0,0,0,.08)}

/* Logo wrapper — strict containment */
.init-wrap{
  width:48px!important;
  height:48px!important;
  min-width:48px;
  min-height:48px;
  max-width:48px;
  max-height:48px;
  flex-shrink:0;
  position:relative;
  overflow:hidden;
  border-radius:8px;
  background:#f8f9fa;
}

/* Logo image — force fit inside wrapper */
.init-wrap img,
.sc img,
.slogo{
  width:48px!important;
  height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  border-radius:8px;
  object-fit:contain!important;
  background:#f8f9fa;
  display:block;
}

/* Fallback initial */
.init{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:8px;
  color:#fff;
  font-size:20px;
  font-weight:700;
  flex-shrink:0;
}

/* Info section */
.sc .info{flex:1;min-width:0}
.sc .sn{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.sc .scat{color:#64748b;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc .scomm{color:#0d9488;font-weight:700;font-size:14px;line-height:1.4}

/* Search */
.search-box{margin-bottom:24px}
.search-box input{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:16px;outline:none}
.search-box input:focus{border-color:#0d9488}

/* Pagination */
.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin:24px 0;flex-wrap:wrap}
.pagination a,.pagination .cur{padding:8px 14px;border-radius:8px;font-size:14px;font-weight:500;background:#f1f5f9;color:#1e293b;transition:all .2s}
.pagination a:hover{background:#0d9488;color:#fff}
.cur{background:#0d9488!important;color:#fff!important}
.dots{color:#94a3b8;padding:0 4px}

/* Footer */
footer{background:#0f172a;color:#fff;padding:48px 20px 24px}
.fi{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.fc h4{font-size:14px;margin-bottom:16px;color:#94a3b8}
.fc a{display:block;color:#cbd5e1;font-size:13px;margin-bottom:8px}
.fc a:hover{color:#fff}
.fb{text-align:center;margin-top:32px;padding-top:24px;border-top:1px solid #1e293b;color:#64748b;font-size:13px}

/* Responsive */
@media(max-width:1024px){.sg{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.sg{grid-template-columns:1fr}.fi{grid-template-columns:repeat(2,1fr)}}
