* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
body { background-color: #f5f5f5; color: #333; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; background-color: #fff; border-bottom: 1px solid #ddd; }
.logo { font-size: 24px; font-weight: bold; color: #0056b3; }
.search-bar input { padding: 8px; width: 300px; border: 1px solid #ccc; border-radius: 4px 0 0 4px; }
.search-bar button { padding: 8px 15px; background-color: #0056b3; color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }
.user-actions a { margin-left: 20px; text-decoration: none; color: #333; font-weight: bold; }
.navbar { background-color: #0056b3; padding: 10px 30px; display: flex; gap: 20px; }
.navbar a { color: white; text-decoration: none; font-size: 14px; }
.container { display: flex; padding: 20px 30px; gap: 20px; max-width: 1200px; margin: auto; }
.sidebar { width: 200px; background: white; padding: 15px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); height: fit-content; }
.filter-group { margin-top: 15px; }
.filter-group h4 { margin-bottom: 8px; font-size: 14px; }
.filter-group label { display: block; font-size: 13px; margin-bottom: 5px; }
.products { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.product-card { background: white; padding: 15px; border-radius: 5px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.product-img { font-size: 50px; margin-bottom: 10px; }
.product-title { font-size: 16px; margin-bottom: 5px; }
.product-rating { color: #ffa500; margin-bottom: 5px; }
.product-price { font-weight: bold; margin-bottom: 15px; }
.add-to-cart { background-color: #28a745; color: white; border: none; padding: 8px 15px; border-radius: 3px; cursor: pointer; width: 100%; }
.add-to-cart:hover { background-color: #218838; }
.cart-section { width: 250px; background: white; padding: 15px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); height: fit-content; }
#cart-items { list-style: none; margin: 15px 0; font-size: 13px; }
#cart-items li { display: flex; justify-content: space-between; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.cart-total { font-size: 16px; margin-bottom: 15px; }
.checkout-btn { background-color: #0056b3; color: white; border: none; padding: 10px; width: 100%; border-radius: 3px; cursor: pointer; }
