/* ===== HERO + SEARCH giống Chợ Tốt ===== */
.hero-wrap{
  background: linear-gradient(180deg,#f7b500,#f6a40021);
  padding: 18px 0 26px;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
}

.hero{
  position: relative;
  padding: 28px 0 36px;
  text-align: center;
  overflow: hidden;
}

.hero-title{
  margin: 0;
  font-size: 46px;
  font-weight: 900;
  color:#111;
}

.search-bar{
  margin: 18px auto 0;
  max-width: 980px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 180px 1fr 220px 140px;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  align-items: center;
  position: relative;
  z-index: 2;
}

.sb-item{
  height: 48px;
  border: 1px solid #eee;
  border-radius: 12px;
  display:flex;
  align-items:center;
  padding: 0 12px;
  font-weight: 700;
  color:#111;
  background:#fff;
}

.sb-item input{
  width:100%;
  border:0;
  outline:0;
  font-size: 15px;
  background:transparent;
}

.sb-btn{
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #ffd200;
  font-weight: 900;
  cursor: pointer;
}

/* tags */
.suggest{
  margin-top: 12px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.tag{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(0,0,0,.08);
  font-weight: 700;
  font-size: 14px;
}

/* ===== CARD DANH MỤC ===== */
.cate-card{
  margin-top: -18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  padding: 22px 18px;
}

.cate-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: start;
}

.cate-item{
  text-decoration:none;
  color:#222;
  text-align:center;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 14px;
  transition: .15s;
}
.cate-item:hover{ background:#f6f6f6; }

.cate-item img{
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.cate-item span{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 160px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px){
  .cate-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-bar{ grid-template-columns: 160px 1fr 200px 120px; }
  .hero-title{ font-size: 36px; }
}

@media (max-width: 768px){
  .cate-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-bar{ grid-template-columns: 1fr; }
  .sb-item, .sb-btn{ height: 46px; }
  .hero-title{ font-size: 28px; }
}
