Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #2c3e50;
+ --accent-color: #e74c3c;
+ --background-color: #f8f9fa;
+ --text-color: #333;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ }
+
+ .header-container {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ padding: 2rem;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+
+ .search-container {
+ max-width: 800px;
+ margin: 0 auto;
+ display: flex;
+ gap: 1rem;
+ }
+
+ input[type="text"] {
+ flex: 1;
+ padding: 0.8rem;
+ border: none;
+ border-radius: 4px;
+ font-size: 1rem;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ button {
+ padding: 0.8rem 1.5rem;
+ background-color: var(--accent-color);
+ color: white;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: transform 0.2s, background-color 0.2s;
+ }
+
+ button:hover {
+ transform: translateY(-2px);
+ background-color: #c0392b;
+ }
+
+ .product-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .product-card {
+ background: white;
+ border-radius: 8px;
+ padding: 1rem;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
+ transition: transform 0.3s;
+ }
+
+ .product-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .product-card img {
+ width: 100%;
+ height: 200px;
+ object-fit: cover;
+ border-radius: 4px;
+ }
+
+ .product-card h3 {
+ margin: 1rem 0;
+ color: var(--secondary-color);
+ }
+
+ .product-card p {
+ color: var(--accent-color);
+ font-size: 1.2rem;
+ font-weight: bold;
+ margin-bottom: 1rem;
+ }
+
+ .footer-container {
+ background-color: var(--secondary-color);
+ color: white;
+ text-align: center;
+ padding: 2rem;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 768px) {
+ .search-container {
+ flex-direction: column;
+ }
+
+ .product-grid {
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
+ padding: 1rem;
+ }
+ }
+
+ @keyframes fadeIn {
+ from { opacity: 0; transform: translateY(20px); }
+ to { opacity: 1; transform: translateY(0); }
+ }
+
+ .product-card {
+ animation: fadeIn 0.5s ease-out forwards;
+ }