/* ============================================
   HOMEPAGE SECTIONS - Modern E-commerce Design
   ============================================ */

/* ============================================
   PROMO BANNER SECTION
   ============================================ */
.promo-banner-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.promo-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  position: relative;
  z-index: 1;
}

.promo-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.promo-card:hover::before {
  left: 100%;
}

.promo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.promo-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.promo-card:nth-child(2) .promo-icon {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.promo-card:nth-child(3) .promo-icon {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.promo-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.promo-btn:hover {
  gap: 12px;
}

/* Flash Sale Banner */
.flash-sale-banner {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.flash-sale-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.05) 10px,
    rgba(255,255,255,0.05) 20px
  );
  animation: stripeMove 20s linear infinite;
}

@keyframes stripeMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(50px); }
}

.flash-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.flash-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flash-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  animation: flashPulse 1s ease-in-out infinite;
}

@keyframes flashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.flash-text h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}

.flash-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 5px 0 0;
}

.flash-timer {
  display: flex;
  gap: 15px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  text-align: center;
  min-width: 80px;
}

.timer-value {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.timer-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ============================================
   CATEGORY PRODUCT SECTIONS
   ============================================ */
/* Category Sections Grid */
.row.g-4 {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
}

/* Ensure consistent card sizing across all sections */
.product-card-modern,
.product-card-recent,
.product-card-dark {
  width: 100%;
  max-width: 100%;
}

/* Standardize image heights */
.product-image-modern {
  height: 260px;
}

/* Recently Added specific grid adjustments */
.recently-added-section .container,
.products-for-you-section .container {
  max-width: 1400px;
}

.category-section {
  padding: 70px 0;
  position: relative;
}

.category-section:nth-child(odd) {
  background: #f8f9fa;
}

.category-section:nth-child(even) {
  background: #fff;
}

/* Standardize container width across all sections */
.category-section .container,
.promo-banner-section .container,
.flash-sale-banner .container {
  max-width: 1400px;
}

/* Section Headers */
.cat-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.cat-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.cat-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #212529;
  margin: 0;
}

.cat-subtitle {
  color: #6c757d;
  font-size: 1rem;
}

.cat-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* Fashion Section Colors */
.fashion-section .cat-label {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: #fff;
}
.fashion-section .cat-see-all {
  color: #ec4899;
  border-color: #ec4899;
}
.fashion-section .cat-see-all:hover {
  background: #ec4899;
  color: #fff;
}

/* Electronics Section Colors */
.electronics-section .cat-label {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
}
.electronics-section .cat-see-all {
  color: #3b82f6;
  border-color: #3b82f6;
}
.electronics-section .cat-see-all:hover {
  background: #3b82f6;
  color: #fff;
}

/* Skin Care Section Colors */
.skincare-section .cat-label {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
}
.skincare-section .cat-see-all {
  color: #10b981;
  border-color: #10b981;
}
.skincare-section .cat-see-all:hover {
  background: #10b981;
  color: #fff;
}

/* Gym Wear Section Colors */
.gymwear-section .cat-label {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #1e293b;
}
.gymwear-section .cat-see-all {
  color: #f59e0b;
  border-color: #f59e0b;
}
.gymwear-section .cat-see-all:hover {
  background: #f59e0b;
  color: #fff;
}

/* Makeup Section Colors */
.makeup-section .cat-label {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: #fff;
}
.makeup-section .cat-see-all {
  color: #8b5cf6;
  border-color: #8b5cf6;
}
.makeup-section .cat-see-all:hover {
  background: #8b5cf6;
  color: #fff;
}

/* ============================================
   UNIVERSAL PRODUCT CARD
   ============================================ */
.product-card-modern {
  background: #fff;
  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);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.product-image-modern {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* Badge System */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-new {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.badge-sale {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
}

.badge-hot {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #1e293b;
}

.badge-featured {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  background: #dc3545;
  color: #fff;
  transform: scale(1.1);
}

/* Quick Actions Overlay */
.quick-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-card-modern:hover .quick-actions,
.product-card-dark:hover .quick-actions {
  transform: translateY(0);
}

.quick-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.quick-view-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #212529;
}

.quick-view-btn:hover {
  background: #fff;
}

.add-cart-btn {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
}

.add-cart-btn:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
}

/* Product Info */
.product-info-modern {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Card content standardization */
.product-card-modern .product-info-modern,
.product-card-recent .product-info-modern,
.product-card-dark .product-info-modern {
  padding: 20px;
}

/* Ensure consistent card height behavior */
.product-card-modern,
.product-card-recent,
.product-card-dark {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-category-name {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-title-modern {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-title-modern:hover {
  color: #0d6efd;
}

.product-rating-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.stars-modern {
  display: flex;
  gap: 2px;
}

.stars-modern i {
  font-size: 0.75rem;
  color: #ffc107;
}

.stars-modern i.empty {
  color: #dee2e6;
}

.rating-count {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Price */
.product-price-modern {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  margin-top: auto;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #212529;
}

.price-old {
  font-size: 0.9rem;
  color: #6c757d;
  text-decoration: line-through;
}

.discount-badge {
  background: #dc3545;
  color: #fff;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Main Add to Cart Button */
.main-cart-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #212529, #495057);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.main-cart-btn:hover {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.main-cart-btn i {
  transition: transform 0.3s ease;
}

.main-cart-btn:hover i {
  transform: rotate(-10deg) scale(1.1);
}

/* ============================================
   RECENTLY ADDED SECTION - Enhanced
   ============================================ */
.recently-added-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.recently-added-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Animated grid pattern */
.recently-added-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Floating particles */
.recent-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 10s ease-in-out infinite;
}

.recent-particle-1 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #10b981, #34d399);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.recent-particle-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  top: 60%;
  right: 10%;
  animation-delay: 3s;
}

.recent-particle-3 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  bottom: 20%;
  left: 20%;
  animation-delay: 6s;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 0.5; }
}

/* Section Header */
.recent-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.recent-header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  animation: recentPulse 2s ease-in-out infinite;
}

@keyframes recentPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6); }
}

.recent-label i {
  animation: clockSpin 3s linear infinite;
}

@keyframes clockSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.recent-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.recent-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

.recent-see-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  color: #10b981;
  border: 2px solid #10b981;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.recent-see-all::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.recent-see-all:hover::before {
  left: 100%;
}

.recent-see-all:hover {
  background: #10b981;
  color: #fff;
  transform: translateX(5px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

/* Recently Added Card Variant */
.product-card-recent {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-recent:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.product-card-recent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.8s ease;
  z-index: 10;
  pointer-events: none;
}

.product-card-recent:hover::before {
  left: 100%;
}

/* New arrival badge */
.recent-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  animation: recentBadgePulse 1.5s ease-in-out infinite;
}

@keyframes recentBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================
   PRODUCTS FOR YOU (PERSONALIZED) - Enhanced
   ============================================ */
.products-for-you-section {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #16213e 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.products-for-you-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  animation: pfyGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes pfyGlowPulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Animated particles */
.pfy-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(20px);
  animation: pfyFloat 15s ease-in-out infinite;
}

.pfy-particle-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.pfy-particle-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  bottom: 20%;
  right: 15%;
  animation-delay: 5s;
}

.pfy-particle-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  top: 50%;
  right: 30%;
  animation-delay: 10s;
}

@keyframes pfyFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  33% { transform: translateY(-40px) scale(1.1); opacity: 0.6; }
  66% { transform: translateY(-20px) scale(0.9); opacity: 0.3; }
}

/* Mesh gradient overlay */
.products-for-you-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(at 40% 20%, hsla(320,100%,60%,0.1) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(270,100%,60%,0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(260,100%,60%,0.1) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsla(300,100%,60%,0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(280,100%,60%,0.1) 0px, transparent 50%);
  pointer-events: none;
}

/* Header with 3D effect */
.pfy-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.pfy-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(236, 72, 153, 0.4);
  animation: pfyGradientShift 3s ease-in-out infinite, pfyPulse 2s ease-in-out infinite;
}

@keyframes pfyGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pfyPulse {
  0%, 100% { box-shadow: 0 10px 40px rgba(236, 72, 153, 0.4); transform: scale(1); }
  50% { box-shadow: 0 15px 50px rgba(236, 72, 153, 0.6); transform: scale(1.02); }
}

.pfy-label i {
  animation: heartBeat 1.2s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

.pfy-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, #ec4899 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 10px 40px rgba(236, 72, 153, 0.3);
  letter-spacing: -1px;
}

.pfy-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin-top: 15px;
  font-weight: 400;
}

.pfy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

/* Enhanced Dark Card */
.product-card-dark {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.product-card-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(236, 72, 153, 0.2);
}

.product-card-dark:hover::before {
  opacity: 1;
}

/* Shimmer effect on hover */
.product-card-dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.8s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card-dark:hover::after {
  left: 100%;
}

/* Recommended badge */
.pfy-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
  animation: pfyBadgeGlow 2s ease-in-out infinite;
}

@keyframes pfyBadgeGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(236, 72, 153, 0.7); }
}

/* Dark theme text colors */
.product-card-dark .product-category-name {
  color: rgba(255, 255, 255, 0.7);
}

.product-card-dark .product-title-modern {
  color: #fff;
}

.product-card-dark .product-title-modern:hover {
  color: #ec4899;
}

.product-card-dark .price-current {
  color: #fff;
}

.product-card-dark .price-old {
  color: rgba(255, 255, 255, 0.5);
}

.product-card-dark .rating-count {
  color: rgba(255, 255, 255, 0.6);
}

.product-card-dark .wishlist-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.product-card-dark .wishlist-btn:hover {
  background: #ec4899;
  color: #fff;
}

.product-card-dark .quick-view-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a2e;
}

.product-card-dark .quick-view-btn:hover {
  background: #fff;
}

.product-card-dark .add-cart-btn {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.product-card-dark .add-cart-btn:hover {
  background: linear-gradient(135deg, #f43f5e, #7c3aed);
}

/* Mobile responsiveness for quick actions */
@media (max-width: 768px) {
  .quick-actions {
    transform: translateY(0);
    padding: 10px;
    gap: 8px;
  }
  
  .quick-btn {
    padding: 8px;
    font-size: 0.75rem;
  }
  
  .wishlist-btn {
    width: 36px;
    height: 36px;
  }
  
  .wishlist-btn i {
    font-size: 0.9rem;
  }
}

.product-card-dark .main-cart-btn {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.product-card-dark .main-cart-btn:hover {
  background: linear-gradient(135deg, #f43f5e, #7c3aed);
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.product-card-dark .product-title-modern {
  color: #fff;
}

.product-card-dark .product-category-name {
  color: rgba(255, 255, 255, 0.6);
}

.product-card-dark .price-current {
  color: #fff;
}

.product-card-dark .price-old {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   BEST OF ALL WORLDS SECTION
   ============================================ */
.best-of-all-worlds-section {
  padding: 60px 0;
  background: #fff;
}

.best-of-all-worlds-section .section-header {
  margin-bottom: 40px;
}

.best-of-all-worlds-section .section-label {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.best-of-all-worlds-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.best-of-all-worlds-section .section-subtitle {
  color: #6b7280;
  font-size: 1rem;
}

/* Small minimalist action icons */
.best-worlds-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.best-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #6b7280;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.best-action-icon:hover {
  background: #667eea;
  color: #fff;
  transform: scale(1.1);
}

.best-action-icon i {
  pointer-events: none;
}

/* Desktop: 4x4 grid (16 products) - col-lg-3 = 4 columns */
@media (min-width: 992px) {
  #bestOfAllWorldsGrid .col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

/* Laptop/Tablet: 3x3 grid (9 products) - col-md-4 = 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
  #bestOfAllWorldsGrid .col-md-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

/* Mobile: 3x3 grid (9 products) - col-4 = 3 columns */
@media (max-width: 767px) {
  #bestOfAllWorldsGrid .col-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .promo-grid,
  .pfy-grid,
  .recent-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .category-section .row.g-4 > [class*="col-"] {
    padding: 0 12px;
  }
}

@media (max-width: 991px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
  
  .flash-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .flash-left {
    flex-direction: column;
  }
  
  .cat-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .cat-see-all {
    align-self: flex-end;
  }
  
  .cat-title {
    font-size: 1.8rem;
  }
  
  .pfy-grid,
  .recent-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .recent-title {
    font-size: 2rem;
  }
  
  .recent-section-header,
  .cat-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .recent-see-all,
  .cat-see-all {
    align-self: flex-start;
  }
  
  .pfy-header {
    margin-bottom: 40px;
  }
  
  .pfy-title {
    font-size: 2.2rem;
  }
  
  /* Ensure Bootstrap grid matches CSS grid */
  .category-section .row.g-4 > [class*="col-"] {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  
  .product-image-modern {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .promo-card {
    padding: 25px 20px;
  }
  
  .timer-box {
    min-width: 60px;
    padding: 10px 15px;
  }
  
  .timer-value {
    font-size: 1.5rem;
  }
  
  .pfy-grid,
  .recent-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pfy-title {
    font-size: 1.8rem;
  }
  
  .recent-title {
    font-size: 1.6rem;
  }
  
  .category-section,
  .recently-added-section,
  .products-for-you-section {
    padding: 50px 0;
  }
  
  .recent-particle,
  .pfy-particle {
    display: none;
  }
  
  /* Stunning 2x2 Grid Layout for Mobile Category Sections */
  .category-section .row.g-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    --bs-gutter-x: 0;
  }

  .category-section .row.g-4 > [class*="col-"] {
    padding: 0;
    flex: unset;
    max-width: unset;
    width: 100%;
  }

  /* Clean Modern Cards */
  .product-card-modern {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .product-card-modern:active {
    transform: scale(0.97);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  /* Product Image - Square Aspect */
  .product-image-modern {
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100%;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
  }

  .product-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

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

  /* Hide clutter - only show essential info */
  .product-badge,
  .wishlist-btn,
  .quick-actions,
  .product-category-name,
  .product-rating-modern {
    display: none !important;
  }

  /* Product Info - Clean & Minimal */
  .product-info-modern {
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
  }

  .product-title-modern {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.35;
    margin: 0;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7em;
  }

  .product-price-modern {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
  }

  .product-price-modern .price-current {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
  }

  .product-price-modern .price-old {
    font-size: 0.72rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
  }
}
