*{
  box-sizing: border-box;
}

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f7fb;
  color: #222;
}

a{
  text-decoration: none;
  color: inherit;
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.topbar{
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.nav{
  height: 60px;
  display: flex;
  align-items: center;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.logo{
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2d6cdf;
}

.section-head{
  margin: 18px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.section-head h1{
  margin: 0 0 6px;
  font-size: 22px;
}

.section-head p{
  margin: 0;
  color: #666;
  font-size: 14px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.thumb{
  height: 140px;
  background-color: #e9eef7;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.body{
  padding: 12px;
}

.name{
  margin: 0 0 6px;
  font-size: 16px;
}

.meta{
  margin: 0 0 10px;
  font-size: 13px;
  color: #666;
}

.price-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.price{
  font-weight: bold;
  color: #111;
}

.tag-ok{
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #1f7a3d;
  border: 1px solid #bfe8cd;
}

.actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn{
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid #bbb;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.btn:hover{
  background: #f0f0f0;
}

.btn-primary{
  background: #2d6cdf;
  border-color: #2d6cdf;
  color: #fff;
}

.btn-primary:hover{
  background: #2458b6;
}