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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f9fafb;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top Banner */
.top-banner {
  background: linear-gradient(to right, #fef3c7, #fde68a);
  padding: 0.5rem;
  text-align: center;
}

.top-banner span {
  color: #78350f;
  font-weight: 600;
  font-size: 0.875rem;
}

.banner-badge {
  background-color: #d97706;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

/* Info Bar */
.info-bar {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 0;
}

.info-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.info-bar .supplier {
  color: #0d9488;
  font-weight: 600;
}

.info-bar a {
  color: #6b7280;
  text-decoration: none;
  margin-left: 1rem;
}

.info-bar a:hover {
  color: #0d9488;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  background-color: #0d9488;
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.search-form {
  flex: 1;
  max-width: 42rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.625rem 3rem 0.625rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.search-input:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0d9488;
  color: white;
  padding: 0.375rem 1rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

.search-button:hover {
  background-color: #0f766e;
}

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

.header-actions a {
  color: #374151;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions a:hover {
  color: #0d9488;
}

.cart-badge {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: #0d9488;
  color: white;
  font-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Navigation */
nav {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  overflow-x: auto;
}

.nav-links a {
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #0d9488;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #7f1d1d, #991b1b, #7f1d1d);
  padding: 3rem 0;
  color: white;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-badge {
  display: inline-block;
  background-color: #f59e0b;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #fecaca;
}

.hero-button {
  display: inline-block;
  background-color: white;
  color: #7f1d1d;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-button:hover {
  background-color: #f3f4f6;
}

.hero-image {
  flex: 1;
  min-width: 300px;
}

.hero-image-wrapper {
  background: linear-gradient(to bottom right, #fef3c7, #fde68a);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Title Section */
.title-section {
  background-color: white;
  padding: 2rem 0;
  text-align: center;
}

.title-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

/* Category Section */
.category-section {
  padding: 2rem 0;
}

.category-wrapper {
  background: linear-gradient(to bottom right, #f0fdfa, #cffafe);
  border-radius: 1rem;
  padding: 2rem;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.category-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
}

.scroll-buttons {
  display: flex;
  gap: 0.5rem;
}

.scroll-btn {
  background-color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
  background-color: #f0fdfa;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}
/* Updated Category Card - Bigger Icons */

.category-card {
  min-width: 160px;        /* was 140px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;   /* slightly more padding */
  background: linear-gradient(to bottom right, #f0fdfa, #cffafe);
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s;
}

.category-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.category-icon-wrapper {
  position: relative;
  margin-bottom: 0.75rem;
}

/* KEY CHANGE: was 80px × 80px, now 110px × 110px */
.category-icon {
  width: 110px;
  height: 110px;
  background-color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* KEY CHANGE: was 56px × 56px, now 80px × 80px */
.category-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.category-discount {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: #f59e0b;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-name {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.category-card:hover .category-name {
  color: #0d9488;
}

.category-offer {
  font-size: 0.75rem;
  color: #0d9488;
  font-weight: 500;
}

/* Product Card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.product-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.product-image-wrapper {
  position: relative;
  background-color: #f9fafb;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 200px;
  
  transition: transform 0.3s;
}

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

.product-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
}

.save-badge {
  background-color: #f59e0b;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: block;
}

.discount-badge {
  background-color: #fee2e2;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
  display: block;
}

.stock-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stock-badge.in-stock {
  background-color: #d1fae5;
  color: #065f46;
}

.stock-badge.low-stock {
  background-color: #fee2e2;
  color: #991b1b;
}

.stock-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #10b981;
  border-radius: 9999px;
}

.product-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.star {
  width: 12px;
  height: 12px;
}

.star.filled {
  color: #fbbf24;
}

.star.empty {
  color: #d1d5db;
}

.review-count {
  font-size: 0.75rem;
  color: #6b7280;
  margin-left: 0.25rem;
}

.product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card:hover .product-name {
  color: #0d9488;
}

.product-price {
  margin-bottom: 0.75rem;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.current-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
}

.original-price {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.free-delivery {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #0d9488;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.add-to-cart {
  width: 100%;
  background-color: #0d9488;
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-to-cart:hover {
  background-color: #0f766e;
}

.fulfilled {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Footer */
footer {
  background-color: #111827;
  color: #d1d5db;
  margin-top: 4rem;
}

.footer-content {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-section a:hover {
  color: #5eead4;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #25d366;
  color: white;
  padding: 1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 100;
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  background-color: #22c55e;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .search-form {
    display: none;
  }
  
  .nav-links {
    display: none;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

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

.toast-title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.875rem;
  color: #6b7280;
}