* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f4f6fb;
    color: #1f2937;
    min-height: 100vh;
}
.top {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 24px; background: #fff; border-bottom: 1px solid #e5e7eb;
}
.brand { font-weight: 700; font-size: 18px; color: #4338ca; }
.cart-link { color: #1f2937; text-decoration: none; font-weight: 600; }
.container { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
h1 { font-size: 22px; margin-bottom: 6px; }
h2 { font-size: 16px; margin-bottom: 8px; }
p { font-size: 14px; color: #4b5563; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 24px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 18px 22px; }
.product-icon { font-size: 44px; margin-bottom: 10px; }
.product-price { color: #4338ca; font-size: 20px; font-weight: 700; margin: 10px 0 12px; }
button {
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    border: 0; border-radius: 8px; padding: 9px 14px; background: #4f46e5; color: #fff;
}
button:hover { background: #4338ca; }
button.secondary { background: #e5e7eb; color: #1f2937; }
button.link { background: none; color: #b91c1c; padding: 0 0 0 8px; font-weight: 500; }
.cart ul { list-style: none; margin: 8px 0; }
.cart li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.cart .total { margin: 10px 0 12px; font-size: 15px; color: #1f2937; }
.added { color: #16a34a; font-size: 13px; margin-left: 8px; }
.foot { text-align: center; padding: 24px 16px 32px; }
.foot p { font-size: 12px; color: #9ca3af; }
