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

:root {
  --primary: #C9A27C;
  --primary-dark: #A67C52;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #fefdfb;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.nav-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #ff4757;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
  display: none;
}

/* Page Titles */
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin: 3rem 0 1rem;
}

.page-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab {
  padding: 0.75rem 2rem;
  border: none;
  background: white;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: #f8f8f8;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image span[class^="tag-"] {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tag-bestseller {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
}

.tag-premium {
  background: linear-gradient(135deg, #9C27B0, #E91E63);
  color: white;
}

.tag-value {
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  color: white;
}

.tag-popular {
  background: linear-gradient(135deg, #FF6B9D, #C44569);
  color: white;
}

.tag-exotic {
  background: linear-gradient(135deg, #FF6B9D, #FFA500);
  color: white;
}

.tag-seasonal {
  background: linear-gradient(135deg, #FF9800, #FFD54F);
  color: white;
}

.tag-coming-soon {
  background: linear-gradient(135deg, #9E9E9E, #BDBDBD);
  color: white;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.mrp {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

.add-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 124, 0.3);
}

.add-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Buttons */
.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 10px 40px rgba(201, 162, 124, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(201, 162, 124, 0.5);
}

.btn--secondary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Footer */
.footer {
  background: #2C1810;
  color: white;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: white;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Summary Styles */
.order-summary {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.summary-total {
  font-size: 1.5rem;
  font-weight: 800;
  padding-top: 1rem;
  border-top: 2px solid #e0e0e0;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  /* Navigation */
  .nav-minimal {
    padding: 1rem;
  }

  .nav-logo img {
    height: 50px !important; /* Slightly smaller on mobile */
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .nav-links a {
    padding: 0.5rem 0.75rem;
  }

  .cart-badge {
    min-width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }

  /* Product Grid - Single column on mobile */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* Product Cards - Optimized for mobile */
  .product-card {
    max-width: 100%;
  }

  .product-name {
    font-size: 1.1rem;
  }

  .product-description {
    font-size: 0.9rem;
  }

  /* Buttons - Larger touch targets */
  .add-to-cart,
  .btn,
  button {
    min-height: 48px; /* Thumb-friendly */
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  /* Page Titles */
  .page-title {
    font-size: 2rem;
    padding: 1rem;
  }

  /* Category Tabs */
  .category-tabs {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .category-tab {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  /* Forms - Mobile optimized */
  input[type="text"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important; /* Prevents zoom on focus iOS */
    min-height: 48px;
  }

  /* Sections */
  .section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }
}
