:root{
  --bg:#fffaf9;--card:#ffffff;--text:#282121;--muted:#7d6f6f;
  --pink:#c97f82;--pink-soft:#f8eaea;--gold:#c99a43;--gold-soft:#fff3d9;
  --green:#5f8f49;--green-soft:#edf6e8;--border:#eadede;
  --shadow:0 12px 30px rgba(85,50,50,.08);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}button,input{font:inherit}
.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px max(20px,calc((100vw - 1180px)/2));background:rgba(255,250,249,.93);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.brand{display:flex;align-items:center;gap:14px}.brand img{width:76px;height:76px;object-fit:contain;border-radius:50%;background:#fff}
.brand h1{font-size:20px;margin:0 0 4px}.brand p{margin:0;color:var(--muted);font-size:14px}
.whatsapp-top{padding:11px 16px;border-radius:999px;background:#eaf7ea;color:#35723b;font-weight:700;border:1px solid #d6ebd7}
main{max-width:1180px;margin:0 auto;padding:28px 20px 60px}
.hero{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:36px;border:1px solid var(--border);border-radius:28px;background:linear-gradient(135deg,#fff 0%,#fff5f3 58%,#fff8e9 100%);box-shadow:var(--shadow)}
.eyebrow{display:inline-block;color:#9d686a;background:var(--pink-soft);padding:7px 11px;border-radius:999px;font-size:13px;font-weight:700}
.hero h2{font-size:clamp(30px,5vw,50px);line-height:1.02;margin:16px 0 12px;max-width:760px}.hero p{font-size:17px;color:var(--muted);margin:0;max-width:650px}
.hero-card{width:170px;height:170px;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid var(--border)}
.hero-card strong{font-size:46px;color:var(--gold)}.hero-card span{text-align:center;color:var(--muted);font-size:13px;max-width:100px}
.catalog-controls{margin:30px 0 14px}.search-box{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:0 14px;box-shadow:0 6px 16px rgba(60,40,40,.04)}
.search-box input{width:100%;border:0;outline:0;background:transparent;padding:15px 0;font-size:16px}
.categories{display:flex;gap:8px;overflow:auto;padding:14px 0 4px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}
.category-btn{white-space:nowrap;border:1px solid var(--border);background:#fff;color:var(--muted);padding:9px 13px;border-radius:999px;cursor:pointer}
.category-btn.active{background:var(--pink-soft);color:#8d5558;border-color:#edcfd0;font-weight:700}
.status-row{display:flex;justify-content:space-between;align-items:center;margin:16px 0;color:var(--muted);font-size:13px}.link-btn{border:0;background:transparent;color:#8f6465;cursor:pointer;font-weight:700}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-card{background:var(--card);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 8px 22px rgba(70,40,40,.05);transition:transform .18s ease,box-shadow .18s ease;cursor:pointer}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.product-image{aspect-ratio:1/1;background:linear-gradient(145deg,#fff7f6,#fffaf0);display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-image img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:52px;opacity:.7}
.product-body{padding:16px}.product-category{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.product-name{font-size:17px;margin:7px 0 10px;line-height:1.2;min-height:40px}
.product-footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.price{font-weight:800;font-size:19px;color:#815f28}
.badge{font-size:11px;padding:6px 9px;border-radius:999px;font-weight:700;white-space:nowrap}.badge.ok{background:var(--green-soft);color:#4f7a3d}.badge.low{background:var(--gold-soft);color:#8e6b2e}.badge.out{background:#f6e8e8;color:#9a5555}
.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}.empty-state div{font-size:46px}.empty-state h3{color:var(--text)}
footer{max-width:1180px;margin:0 auto 30px;padding:24px 20px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);border-top:1px solid var(--border)}
footer p{margin:4px 0 0}footer a{font-weight:800;color:#7c5a5c}
dialog{width:min(560px,calc(100% - 28px));border:0;border-radius:24px;padding:0;box-shadow:0 25px 70px rgba(45,25,25,.25);position:relative;overflow:hidden}
dialog::backdrop{background:rgba(40,25,25,.45);backdrop-filter:blur(3px)}.close-modal{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.9);cursor:pointer}
.detail-image{height:300px;background:#fff6f3;display:flex;align-items:center;justify-content:center;overflow:hidden}.detail-image img{width:100%;height:100%;object-fit:cover}
.detail-body{padding:24px}.detail-body h3{font-size:28px;margin:6px 0 12px}.detail-price{font-size:26px;color:#815f28;font-weight:800;margin:12px 0}.detail-meta{color:var(--muted);font-size:14px;margin-bottom:18px}
.whatsapp-btn{display:flex;align-items:center;justify-content:center;width:100%;padding:14px;border-radius:14px;background:#e9f7ea;color:#34733b;font-weight:800;border:1px solid #d3ead5}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.hero-card{width:100%;height:auto;padding:18px;flex-direction:row;gap:12px}.hero-card strong{font-size:34px}.hero-card span{max-width:none}}
@media(max-width:650px){.brand img{width:58px;height:58px}.brand h1{font-size:16px}.brand p{font-size:12px}.whatsapp-top{padding:9px 11px;font-size:13px}main{padding:20px 14px 46px}.hero{padding:24px 20px;border-radius:22px}.hero h2{font-size:34px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-body{padding:13px}.product-name{font-size:15px}.price{font-size:17px}.badge{font-size:10px}footer{flex-direction:column;align-items:flex-start;gap:12px;padding:22px 14px}}
@media(max-width:390px){.product-grid{grid-template-columns:1fr}}
