* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
       background: #f5f6f8; color: #111827; line-height: 1.5; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.site-header { background: #111827; color: #fff; padding: 16px 0; }
.brand { font-size: 18px; font-weight: 700; letter-spacing: .02em; }

main.container { padding-top: 40px; padding-bottom: 40px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: 14px; overflow: hidden;
                box-shadow: 0 6px 24px rgba(0,0,0,.06); transition: transform .15s ease, box-shadow .15s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.10); }

.product-image { width: 100%; aspect-ratio: 4/3; background: #eef0f2; }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-info { padding: 18px 20px 22px; }
.product-sku { font-size: 12px; color: #6b7280; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.product-price { font-size: 22px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.product-description { font-size: 14px; color: #4b5563; margin-bottom: 16px; }

.buy-now { display: inline-block; background: #111827; color: #fff; text-decoration: none;
           font-weight: 600; font-size: 15px; padding: 12px 28px; border-radius: 8px;
           transition: background .15s ease; }
.buy-now:hover { background: #000; }

.site-footer { background: #fff; border-top: 1px solid #e5e7eb; padding: 20px 0; margin-top: 20px; }
.site-footer p { font-size: 12px; color: #9ca3af; text-align: center; }

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .buy-now { width: 100%; text-align: center; }
}
