* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: #f5f5f5; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.navbar { background: #1a1a2e; color: white; padding: 15px 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { font-size: 1.5rem; font-weight: bold; color: #fff; text-decoration: none; }
.navbar nav a { color: #fff; text-decoration: none; margin-left: 20px; }
.navbar nav a:hover { color: #f39c12; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.product-card { background: white; border-radius: 8px; padding: 15px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform .2s; }
.product-card:hover { transform: translateY(-5px); }
.product-card img { max-width: 100%; height: 180px; object-fit: cover; border-radius: 4px; }
.product-card h3 { margin: 10px 0; font-size: 1rem; }
.price { color: #e74c3c; font-weight: bold; font-size: 1.2rem; margin: 8px 0; }
.btn { display: inline-block; background: #3498db; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; font-size: 0.95rem; }
.btn:hover { background: #2980b9; }
.btn-remove { color: #e74c3c; text-decoration: none; }
.form { max-width: 400px; margin: 20px auto; background: white; padding: 25px; border-radius: 8px; }
.form input { width: 100%; padding: 10px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 4px; }
.cart-table { width: 100%; background: white; border-collapse: collapse; margin: 20px 0; }
.cart-table th, .cart-table td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; }
.alert { padding: 10px; border-radius: 4px; margin: 10px 0; }
.alert.error { background: #f8d7da; color: #721c24; }
.has-items { color: red; fout-size:14; padding: 3px; font-weight: bold; }
/* Container */
.filters { display: flex;flex-wrap: wrap; gap: 4px; align-items: center; margin: 6px 0;}
/* Small pill buttons / links */
.btn2 { display: inline-block; padding: 4px 2px; font-size: 10px; font-weight: 400; line-height: 1.2; color: #333; background-color: #f2f2f2; border: 1px solid #ddd; border-radius: 999px; /* pill shape */
    text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease; white-space: nowrap; user-select: none;}
/* Hover */
.btn2:hover { background-color: #e6e6e6; border-color: #ccc; color: #000;}
/* Active / pressed */
.btn2:active { transform: scale(0.97);}
/* Keyboard focus */
.btn2:focus-visible { outline: 2px solid #4a90e2; outline-offset: 2px;}
/* "All" button - slightly emphasized (optional) */
.filters .btn2:first-child {background-color: #4a90e2; border-color: #4a90e2; color: #fff;}
.filters .btn2:first-child:hover { background-color: #3b7cc4; border-color: #3b7cc4; }