@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #f5f5f5;
  --accent-color: #ff6b6b;
  --text-light: #666;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: var(--primary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header:hover {
  box-shadow: var(--shadow-md);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.header-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  cursor: pointer;
}

.header-logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #1a1a1a;
}

.cart {
  position: relative;
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  border-radius: 25px;
  font-size: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

#cart-count {
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* Top Banner */
.top-banner {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.top-banner p {
  margin: 0;
}

/* Categories */
.categories {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  margin-bottom: 40px;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.category-tab {
  background: transparent;
  border: 2px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
}

.category-tab:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.category-tab.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: white;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  margin-top: 80px;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 8px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  padding: 12px 24px;
  background: white;
  color: #1a1a1a;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  background: #f5f5f5;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 20px;
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .header-content {
    gap: 16px;
  }

  .header-logo {
    height: 50px;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 12px;
  }

  .container {
    padding: 40px 20px;
  }

  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
  }

  .category-tab {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}
