* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #f8f9fa; color: #333; line-height: 1.6; }

header { background: #ffffff; padding: 18px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.logo { font-size: 22px; font-weight: 700; color: #0f172a; letter-spacing: 1px; text-decoration: none; }
nav a { text-decoration: none; color: #475569; margin-left: 22px; font-weight: 500; font-size: 15px; transition: color 0.2s; }
nav a:hover { color: #0f172a; }

.hero { background: #1e293b; color: #fff; text-align: center; padding: 55px 20px; }
.hero h1 { font-size: 32px; margin-bottom: 10px; }
.hero p { font-size: 16px; color: #cbd5e1; max-width: 650px; margin: 0 auto; }

.controls { max-width: 1200px; margin: 28px auto 10px; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { background: #fff; border: 1px solid #cbd5e1; padding: 8px 18px; border-radius: 20px; cursor: pointer; font-weight: 500; font-size: 14px; color: #334155; transition: all 0.2s; }
.filter-btn.active, .filter-btn:hover { background: #1e293b; color: #fff; border-color: #1e293b; }

.search-box input { padding: 9px 16px; border: 1px solid #cbd5e1; border-radius: 20px; width: 250px; font-size: 14px; outline: none; }
.search-box input:focus { border-color: #1e293b; }

.container { max-width: 1200px; margin: 25px auto 50px; padding: 0 20px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 25px; }

.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: transform 0.2s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); }
.product-img-wrap { width: 100%; height: 230px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.product-img { width: 100%; height: 100%; object-fit: cover; }
.no-img { color: #64748b; font-size: 14px; font-weight: 500; }
.cat-badge { position: absolute; top: 12px; left: 12px; background: rgba(15, 23, 42, 0.8); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 12px; }

.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-code { font-size: 12px; color: #64748b; font-weight: 600; }
.product-title { font-size: 18px; font-weight: 600; margin: 4px 0 8px; color: #0f172a; }
.product-specs { font-size: 12px; color: #475569; background: #f1f5f9; padding: 6px 10px; border-radius: 5px; margin-bottom: 10px; }
.product-desc { font-size: 14px; color: #475569; margin-bottom: 16px; }
.product-price { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 14px; }

.whatsapp-btn { display: block; text-align: center; background-color: #25D366; color: white; text-decoration: none; padding: 11px; border-radius: 6px; font-weight: 600; font-size: 14px; transition: background 0.2s; }
.whatsapp-btn:hover { background-color: #1ebe5d; }

footer { background: #0f172a; color: #94a3b8; text-align: center; padding: 35px 20px; font-size: 14px; }
footer strong { color: #fff; }

@media (max-width: 600px) {
    .controls { flex-direction: column; align-items: stretch; }
    .search-box input { width: 100%; }
}
