:root{
  --green:#6f9c44;
  --green-dark:#476b2d;
  --green-soft:#eff6e8;
  --cream:#fffdf8;
  --text:#2f332c;
  --muted:#7b8276;
  --border:#e5ebdf;
  --shadow:0 14px 35px rgba(65,78,55,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#fbfff7 0,#fff 320px);
}
button,input{font:inherit}
.hero{
  position:relative;
  overflow:hidden;
  min-height:260px;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 80% 20%,rgba(255,255,255,.85),transparent 34%),
    linear-gradient(135deg,#f1f8e9,#fdfcf2);
  border-bottom:1px solid var(--border);
}
.hero::after{
  content:"";
  position:absolute;
  width:430px;height:430px;
  right:-80px;bottom:-180px;
  background:url("logo.png") center/contain no-repeat;
  opacity:.055;
}
.hero-content{
  width:min(1180px,calc(100% - 36px));
  margin:auto;
  display:flex;
  gap:26px;
  align-items:center;
  position:relative;
  z-index:1;
}
.logo{
  width:135px;height:135px;
  object-fit:cover;
  border-radius:30px;
  background:#fff;
  box-shadow:var(--shadow);
  border:1px solid rgba(94,130,61,.16);
}
.eyebrow{
  margin:0 0 5px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:700;
  font-size:12px;
  color:var(--green-dark);
}
h1{margin:0;font-size:clamp(34px,6vw,62px);line-height:1}
.business-info{margin:12px 0 0;color:var(--muted);font-size:16px}
main{width:min(1180px,calc(100% - 30px));margin:0 auto;padding:26px 0 50px}
.toolbar{
  display:flex;
  gap:10px;
  margin-top:-26px;
  position:relative;
  z-index:2;
}
.search-box{
  flex:1;
  display:flex;
  align-items:center;
  gap:9px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:0 14px;
  box-shadow:var(--shadow);
}
.search-box input{
  width:100%;
  border:0;
  outline:0;
  padding:14px 0;
  color:var(--text);
  background:transparent;
}
.refresh-btn{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:0 17px;
  color:var(--green-dark);
  cursor:pointer;
  box-shadow:var(--shadow);
}
.categories-wrap{margin-top:20px}
.categories{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.category-btn{
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
  border-radius:999px;
  padding:8px 13px;
  cursor:pointer;
}
.category-btn.active{
  color:#fff;
  background:var(--green);
  border-color:var(--green);
}
.catalog-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:15px;
  margin:30px 0 15px;
}
.catalog-head h2{margin:0;font-size:24px}
.catalog-head p{margin:4px 0 0;color:var(--muted);font-size:13px}
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.card{
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:0 8px 24px rgba(55,70,45,.07);
  transition:transform .16s ease,box-shadow .16s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.product-photo{
  aspect-ratio:1/1;
  width:100%;
  object-fit:cover;
  display:block;
  background:var(--green-soft);
}
.photo-empty{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:48px;
  background:linear-gradient(135deg,#f4f9ef,#fcfff9);
}
.card-body{padding:15px}
.category-label{
  display:inline-block;
  margin-bottom:7px;
  color:var(--green-dark);
  background:var(--green-soft);
  padding:4px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.card h3{
  margin:0;
  font-size:17px;
  line-height:1.2;
}
.description{
  margin:8px 0 12px;
  min-height:36px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.price{
  display:block;
  margin-bottom:12px;
  color:var(--green-dark);
  font-size:21px;
}
.whatsapp-btn{
  width:100%;
  display:block;
  border:0;
  text-decoration:none;
  text-align:center;
  border-radius:12px;
  padding:10px 12px;
  background:var(--green);
  color:#fff;
  font-weight:700;
}
.whatsapp-btn.disabled{
  background:#e9eee5;
  color:#899083;
  pointer-events:none;
}
.status{
  padding:28px;
  text-align:center;
  color:var(--muted);
  border:1px dashed var(--border);
  border-radius:18px;
  background:#fff;
}
.status[hidden]{display:none}
footer{
  min-height:120px;
  border-top:1px solid var(--border);
  background:var(--cream);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  color:var(--muted);
}
footer img{
  width:45px;height:45px;
  object-fit:cover;border-radius:12px;
}
footer strong{display:block;color:var(--text)}
footer span{font-size:12px}

@media(max-width:950px){
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .hero{min-height:220px}
  .hero-content{gap:15px}
  .logo{width:88px;height:88px;border-radius:22px}
  .business-info{font-size:13px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .card-body{padding:11px}
  .card h3{font-size:14px}
  .description{font-size:11px}
  .price{font-size:17px}
}
@media(max-width:440px){
  .toolbar{margin-top:-18px}
  .refresh-btn{padding:0 12px}
}
