:root {
  --primary-color: #2a2a2a;
  --secondary-color: #f8f8f8;
  --accent-color: #e63946;
  --light-text: #777;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --info-color: #2196f3;
}

/* Products Section */
.products-section {
  padding: 60px 5%;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.view-all {
  padding: 8px 20px;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all:hover {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.navigation-arrows {
  display: flex;
  gap: 10px;
}

.arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow:hover {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.product-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  transition: transform 0.5s ease;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  z-index: 2;
  background-color: var(--accent-color);
}

.product-badge.trending {
  background-color: var(--info-color);
}

.product-badge.new {
  background-color: var(--success-color);
}

.product-image-container {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.quick-view, .wishlist {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-view:hover, .wishlist:hover {
  background-color: var(--accent-color);
  color: white;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.stars {
  color: #ffc107;
  font-size: 14px;
  letter-spacing: 2px;
}

.star.half {
  position: relative;
}

.star.half::after {
  content: '★';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #ddd;
}

.rating-count {
  font-size: 12px;
  color: var(--light-text);
}

.price-container {
  margin: 15px 0;
}

.current-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.original-price {
  font-size: 14px;
  text-decoration: line-through;
  color: var(--light-text);
  margin-left: 8px;
}

.discount {
  font-size: 14px;
  font-weight: 600;
  color: var(--success-color);
  margin-left: 8px;
}

.add-to-cart {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background-color: var(--accent-color);
}

/* Image Container - Desktop First */
.image-container5 {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.image-container5 .image {
  flex: 1;
  min-width: 0;
  max-width: calc(25% - 15px);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-container5 .image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-container5 .image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.image-container5 .image:hover img {
  transform: scale(1.05);
}

/* Wholesale Section */
#wholesale {
  text-align: center;
  padding: 50px 0;
  background: #f8f9fa;
}

#wholesale h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Testimonials Section */
#testimonials {
  padding: 80px 20px;
  background-color: #f9fafb;
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

#testimonials h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

#testimonials h1:after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: #e5e7eb;
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.card-icon {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.testimonial-rating {
  color: #f59e0b;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.card-text {
  color: #4b5563;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  font-size: 1rem;
}

/* Footer */
.footer {
  background-color: #111;
  color: #fff;
  padding: 30px 0;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1 1 200px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.pp a {
  text-decoration: none;
  color: black;
  font-weight: 400;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  color: white;
  text-align: center;
  line-height: 60px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #testimonials h1 {
    font-size: 2rem;
  }
  
  .card {
    max-width: 100%;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Mobile image container styles */
  .image-container5 {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px 10px;
  }
  
  .image-container5 .image {
    width: 90%;
    max-width: 400px;
    flex: none;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  #wholesale h1 {
    font-size: 2rem;
  }
  
  .whatsapp-button {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
  }
}