* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: white;
  padding: 20px 0;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

header p {
  opacity: 0.9;
}

header .back-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.search-form {
  display: flex;
  gap: 10px;
  margin: 30px 0;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.search-form select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.search-form button {
  padding: 12px 30px;
  background: #1a73e8;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.search-form button:hover {
  background: #1557b0;
}

.stores-info {
  margin-top: 30px;
}

.stores-info h2 {
  margin-bottom: 15px;
}

.store-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.store-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.store-card h3 {
  margin-bottom: 10px;
}

.store-card.carrefour { border-top: 4px solid #0052cc; }
.store-card.coto { border-top: 4px solid #00a650; }
.store-card.jumbo { border-top: 4px solid #ff6600; }

.results-header {
  margin: 20px 0;
}

.results-header h2 {
  color: #1a73e8;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.product-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 5px;
}

.product-details h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.category {
  font-size: 0.85rem;
  color: #666;
  background: #f0f0f0;
  padding: 3px 10px;
  border-radius: 3px;
}

.price-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.price-item {
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
  background: #f9f9f9;
  border-radius: 5px;
  min-width: 100px;
}

.price-item.best {
  background: #e8f5e9;
  border: 2px solid #4caf50;
}

.price-item .store {
  font-size: 0.85rem;
  color: #666;
}

.price-item .price {
  font-size: 1.2rem;
  font-weight: bold;
}

.price-item .badge {
  font-size: 0.75rem;
  color: #4caf50;
  font-weight: bold;
}

.savings {
  margin-top: 10px;
  padding: 10px;
  background: #fff3e0;
  border-radius: 5px;
  color: #e65100;
  font-weight: bold;
}

.no-results {
  text-align: center;
  padding: 50px;
  background: white;
  border-radius: 10px;
}