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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #2c3e50;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid #e8eef3;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 300;
  color: #2c3e50;
  letter-spacing: 2px;
}

.logo strong {
  font-weight: 600;
  color: #3498db;
}

nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: #3498db;
}

.header-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.lang-toggle button {
  background: #f8fafb;
  border: 1px solid #e8eef3;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  font-weight: 500;
  color: #5a6c7d;
}

.lang-toggle button:hover {
  background: #e8eef3;
  border-color: #d4dce5;
}

.cart-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.cart-btn:hover {
  background: #2980b9;
}

.cart-count {
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-text h1 strong {
  font-weight: 600;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-btn {
  background: white;
  color: #2c3e50;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image svg {
  width: 100%;
  height: 400px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

/* Products Section */
#products {
  padding: 5rem 0;
  background: #fafafa;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #5a6c7d;
  font-size: 1.1rem;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.filter-bar button {
  padding: 0.7rem 2rem;
  border: 1px solid #e8eef3;
  background: white;
  color: #5a6c7d;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.95rem;
  border-radius: 4px;
}

.filter-bar button:hover {
  border-color: #3498db;
  color: #3498db;
}

.filter-bar button.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border: 1px solid #e8eef3;
  padding: 0;
  transition: all 0.3s;
  display: none;
  border-radius: 4px;
  overflow: hidden;
}

.product-card.show {
  display: block;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #d4dce5;
}

.product-image {
  width: 100%;
  height: 240px;
  background: #f8fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e8eef3;
}

.product-image svg {
  width: 80px;
  height: 160px;
}

.product-card[data-category="men"] .product-image { 
  background: linear-gradient(135deg, #667eea20, #764ba220); 
}
.product-card[data-category="women"] .product-image { 
  background: linear-gradient(135deg, #f093fb20, #f5576c20); 
}
.product-card[data-category="children"] .product-image { 
  background: linear-gradient(135deg, #4facfe20, #00f2fe20); 
}
.product-card[data-category="elderly"] .product-image { 
  background: linear-gradient(135deg, #43e97b20, #38f9d720); 
}
.product-card[data-category="general"] .product-image { 
  background: linear-gradient(135deg, #fa709a20, #fee14020); 
}

.product-info {
  padding: 2rem;
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 0.8rem;
}

.product-card p {
  color: #5a6c7d;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-price {
  font-size: 1.8rem;
  color: #3498db;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: block;
}

.btn-add {
  width: 100%;
  background: #3498db;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.btn-add:hover {
  background: #2980b9;
}

/* About Section */
#about {
  padding: 5rem 0;
  background: white;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.15rem;
  color: #5a6c7d;
  line-height: 1.9;
}

/* Contact Section */
#contact {
  padding: 5rem 0;
  background: #f8fafb;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #5a6c7d;
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.contact-info a {
  color: #3498db;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border: 1px solid #e8eef3;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #2c3e50;
  font-weight: 500;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #d4dce5;
  background: white;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 4px;
}

.modal-header {
  background: #f8fafb;
  padding: 2rem;
  border-bottom: 1px solid #e8eef3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #2c3e50;
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  color: #95a5a6;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #2c3e50;
}

.modal-body {
  padding: 2rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e8eef3;
}

.cart-item h4 {
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 0.3rem;
}

.cart-item p {
  color: #95a5a6;
  font-size: 0.9rem;
}

.cart-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.qty-btn {
  background: #3498db;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.qty-btn:hover {
  background: #2980b9;
}

.remove-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
}

.remove-btn:hover {
  background: #c0392b;
}

.cart-total {
  padding: 2rem;
  background: #f8fafb;
  text-align: right;
  font-size: 1.8rem;
  color: #3498db;
  font-weight: 500;
  border-top: 1px solid #e8eef3;
}

.empty-cart {
  text-align: center;
  padding: 3rem;
  color: #95a5a6;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 3rem 0;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  nav ul {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image svg {
    width: 150px;
    height: 300px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: #27ae60;
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2000;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
