* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #333; background: #f5f5f5; line-height: 1.6; }
.top-bar { background: #2c3e50; color: white; padding: 8px 0; text-align: center; font-size: 0.9em; }
nav { background: white; padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
nav .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
nav .logo { font-size: 1.8em; font-weight: bold; color: #2c3e50; white-space: nowrap; }
nav .logo a { color: #2c3e50; text-decoration: none; }
nav .search { flex: 1; max-width: 500px; display: flex; gap: 8px; }
nav .search input { flex: 1; padding: 10px 15px; border: 2px solid #eee; border-radius: 25px; font-size: 0.95em; outline: none; transition: border 0.3s; }
nav .search input:focus { border-color: #e74c3c; }
nav .search button { background: #e74c3c; color: white; border: none; padding: 10px 20px; border-radius: 25px; cursor: pointer; font-size: 1em; font-weight: bold; white-space: nowrap; }
nav .search button:hover { background: #c0392b; }
nav ul { list-style: none; display: flex; gap: 20px; align-items: center; }
nav a { text-decoration: none; color: #555; font-weight: 500; }
nav a:hover { color: #e74c3c; }
.cart-btn { background: #e74c3c; color: white !important; padding: 8px 15px; border-radius: 25px; font-weight: bold; position: relative; }
.cart-btn .badge { position: absolute; top: -8px; right: -8px; background: #2c3e50; color: white; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 0.75em; }
.hero { background: linear-gradient(135deg, #2c3e50 0%, #e74c3c 100%); color: white; padding: 70px 20px; text-align: center; }
.hero h1 { font-size: 2.5em; margin-bottom: 15px; }
.hero p { font-size: 1.1em; margin-bottom: 25px; }
.hero .btn { background: white; color: #e74c3c; padding: 14px 35px; border-radius: 5px; border: none; cursor: pointer; font-weight: bold; font-size: 1em; }
.container { max-width: 1200px; margin: 0 auto; padding: 50px 20px; }
.section-title { text-align: center; font-size: 1.8em; margin-bottom: 10px; color: #2c3e50; }
.section-subtitle { text-align: center; color: #777; margin-bottom: 40px; }
.categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 30px; }
.category { background: white; padding: 20px; border-radius: 10px; text-align: center; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; text-decoration: none; color: #333; }
.category:hover, .category.active { border-color: #e74c3c; background: #fff5f4; transform: translateY(-3px); }
.category .icon { font-size: 2.2em; margin-bottom: 8px; }
.category h3 { color: #2c3e50; font-size: 0.95em; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 25px; }
.product { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; transition: all 0.3s; }
.product:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.product .image { background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 4em; cursor: pointer; position: relative; text-decoration: none; }
.product .image .cat-tag { position: absolute; top: 10px; left: 10px; background: #2c3e50; color: white; padding: 3px 10px; border-radius: 15px; font-size: 0.7em; text-transform: capitalize; }
.product .info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product h3 { color: #2c3e50; margin-bottom: 8px; font-size: 1em; }
.product h3 a { color: #2c3e50; text-decoration: none; }
.product h3 a:hover { color: #e74c3c; }
.product .rating { color: #f39c12; font-size: 0.85em; margin-bottom: 8px; }
.product .price { color: #e74c3c; font-size: 1.3em; font-weight: bold; margin-bottom: 12px; }
.product .btn-add { background: #2c3e50; color: white; border: none; padding: 11px; border-radius: 5px; cursor: pointer; width: 100%; font-weight: bold; margin-top: auto; }
.product .btn-add:hover { background: #e74c3c; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 50px; color: #777; font-size: 1.1em; }
.trust-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.badge { background: white; padding: 25px 20px; border-radius: 10px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s; }
.badge:hover { transform: translateY(-5px); }
.badge-icon { font-size: 2.5em; margin-bottom: 10px; }
.badge h4 { color: #2c3e50; margin-bottom: 5px; }
.badge p { color: #777; font-size: 0.85em; }
footer { background: #1a252f; color: #bdc3c7; padding: 40px 20px 20px; }
footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
footer h4 { color: white; margin-bottom: 15px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: #bdc3c7; text-decoration: none; }
footer a:hover { color: #e74c3c; }
footer .bottom { text-align: center; padding-top: 25px; margin-top: 25px; border-top: 1px solid #34495e; color: #7f8c8d; font-size: 0.9em; }
@media (max-width: 768px) {
  nav .container { flex-wrap: wrap; }
  nav .search { order: 3; max-width: 100%; }
  footer .container { grid-template-columns: 1fr 1fr; }
}
