/* Modern Homepage Redesign - Clean Layout */

.modern-homepage {
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Modern Hero Banner */
.modern-hero-banner {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  max-width: 100vw !important;
  left: 0;
  right: 0;
}

.hero-slides-container {
  position: relative;
  width: 100% !important;
  height: 400px;
  min-height: 400px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin: 0;
  max-width: 100% !important;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
}

.hero-slides-wrapper::before,
.hero-slides-wrapper::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide * {
  animation: none !important;
}

.hero-slide::before,
.hero-slide::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.7s ease-in-out;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
}

/* Completely hide background on banner slides */
.hero-flash-sale-slide-wrapper .hero-slide-bg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  animation: none !important;
}

.hero-gradient-blue {
  display: none !important;
  background: none !important;
  background-image: none !important;
  background-size: 0 !important;
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-gradient-green {
  display: none !important;
  background: none !important;
  background-image: none !important;
  background-size: 0 !important;
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-gradient-orange {
  display: none !important;
  background: none !important;
  background-image: none !important;
  background-size: 0 !important;
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-gradient-flash-sale {
  display: none !important;
  background: none !important;
  background-image: none !important;
  background-size: 0 !important;
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50% !important; }
  50% { background-position: 100% 50% !important; }
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  background: transparent !important;
}

.hero-flash-sale-slide-wrapper .hero-slide-bg {
  display: none !important;
}

.hero-flash-sale-slide-wrapper {
  background: transparent !important;
}

.hero-flash-sale-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: transparent !important;
  overflow: hidden;
  margin: 0;
}

.hero-banner-image-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10 !important;
  opacity: 1;
  visibility: visible;
  background: transparent !important;
  margin: 0;
  padding: 0;
}

.hero-flash-sale-btn {
  position: absolute;
  bottom: 40px;
  left: 80px;
  z-index: 20;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text-content {
  flex: 1;
  max-width: 500px;
  color: #fff;
  z-index: 4;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 16px 0;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 0.8s ease-out;
}

.hero-subtitle {
  font-size: 20px;
  margin: 0 0 32px 0;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1a1a1a;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-cta-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
  color: #1a1a1a;
}

.hero-cta-btn i {
  transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
  transform: translateX(4px);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-decorative-elements {
  position: absolute;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.hero-circle {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: float 4s ease-in-out infinite;
}

.hero-circle-1 {
  width: 160px;
  height: 160px;
  animation-delay: 0s;
}

.hero-circle-2 {
  width: 120px;
  height: 120px;
  animation-delay: 1s;
}

.hero-square {
  width: 200px;
  height: 140px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: rotate(6deg);
  transition: transform 0.3s ease;
  animation: float 4s ease-in-out infinite 0.5s;
}

.hero-square:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero-rectangle {
  width: 110px;
  height: 210px;
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.4), rgba(255, 107, 107, 0.6));
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4);
  animation: float 4s ease-in-out infinite 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Navigation Dots */
.hero-nav-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  gap: 10px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
  width: 12px;
  height: 12px;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: #fff;
  transform: scale(1.1);
}

/* Navigation Arrows */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 20px;
}

.hero-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
  left: 20px;
}

.hero-nav-next {
  right: 20px;
}

/* Responsive Hero Banner */
@media (max-width: 1200px) {
  .hero-slides-container {
    height: 300px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-decorative-elements {
    right: 40px;
    gap: 15px;
  }
  
  .hero-circle-1 {
    width: 120px;
    height: 120px;
  }
  
  .hero-circle-2 {
    width: 90px;
    height: 90px;
  }
  
  .hero-square {
    width: 150px;
    height: 100px;
  }
  
  .hero-rectangle {
    width: 80px;
    height: 150px;
  }
}

@media (max-width: 991px) {
  .hero-slides-container {
    height: 280px;
  }
  
  .hero-slide-content {
    padding: 0 40px;
    flex-direction: column;
    text-align: center;
  }
  
  .hero-decorative-elements {
    position: relative;
    right: auto;
    margin-top: 20px;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hero-slides-container {
    height: 250px;
    border-radius: 0;
  }
  
  .hero-slide-content {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .hero-cta-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .hero-decorative-elements {
    display: none;
  }
  
  .hero-nav-arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .hero-nav-prev {
    left: 10px;
  }
  
  .hero-nav-next {
    right: 10px;
  }
}

/* Modern Swiper Hero Carousel Section */
.swiper-hero-section {
  width: 100%;
  margin-bottom: 40px;
  position: relative;
  background: #fff;
  overflow: visible;
}

.heroSwiper {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: visible;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.swiper-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: all 1.5s ease-in-out;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite, pulse-bg 4s ease-in-out infinite;
  opacity: 1;
}

@keyframes pulse-bg {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}

.swiper-slide-bg.blue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #764ba2 100%) !important;
  background-size: 300% 300% !important;
  animation: gradient-shift 6s ease infinite, pulse-bg 4s ease-in-out infinite !important;
}

.swiper-slide-bg.purple {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 30%, #fa709a 60%, #f5576c 100%) !important;
  background-size: 300% 300% !important;
  animation: gradient-shift 6s ease infinite, pulse-bg 4s ease-in-out infinite !important;
}

.swiper-slide-bg.orange {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 30%, #ff6b6b 60%, #fee140 100%) !important;
  background-size: 300% 300% !important;
  animation: gradient-shift 6s ease infinite, pulse-bg 4s ease-in-out infinite !important;
}

.swiper-slide-bg.green {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 30%, #667eea 60%, #330867 100%) !important;
  background-size: 300% 300% !important;
  animation: gradient-shift 6s ease infinite, pulse-bg 4s ease-in-out infinite !important;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.swiper-slide-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.swiper-slide-text {
  z-index: 3;
  position: relative;
  background: rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.swiper-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff006e, #ff6b6b, #ee5a6f);
  background-size: 200% 200%;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(255, 0, 110, 0.5), 0 0 30px rgba(255, 107, 107, 0.4);
  animation: pulse-badge 2s ease-in-out infinite, gradient-shift 3s ease infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.animate-badge {
  animation: slideInDown 0.8s ease-out, pulse-badge 2s ease-in-out infinite 0.8s;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
  }
}

.swiper-title {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
  animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
  0%, 100% {
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
  }
  50% {
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 255, 255, 0.5);
  }
}

.animate-title {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.swiper-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 90%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.animate-description {
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.swiper-pricing {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 36px;
}

.swiper-price-old {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: line-through;
  font-weight: 500;
}

.swiper-price-new {
  font-size: 54px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 255, 255, 0.4);
  animation: price-glow 2s ease-in-out infinite, price-pulse 2s ease-in-out infinite;
  display: inline-block;
}

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

.animate-pricing {
  animation: slideInLeft 0.8s ease-out 0.6s both;
}

@keyframes price-glow {
  0%, 100% {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
  }
}

.swiper-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.swiper-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  color: #1a1a1a;
  padding: 20px 48px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: button-shine 3s ease-in-out infinite;
}

@keyframes button-shine {
  0%, 100% {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 255, 255, 0.4);
  }
}

.swiper-btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.swiper-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shine-sweep 3s infinite;
}

@keyframes shine-sweep {
  0% {
    transform: rotate(45deg) translateX(-100%) translateY(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%) translateY(100%);
  }
}

.swiper-btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.swiper-btn-primary:hover {
  background: linear-gradient(135deg, #f8f9fa, #fff);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(255, 255, 255, 0.3);
  color: #1a1a1a;
}

.swiper-btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 20px 48px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.swiper-btn-secondary::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.5s;
}

.swiper-btn-secondary:hover::before {
  left: 100%;
}

.swiper-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-color: #fff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.animate-buttons {
  animation: slideInLeft 0.8s ease-out 0.8s both;
}

.swiper-slide-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 3;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 30%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse-glow 3s ease-in-out infinite, rotate-glow 20s linear infinite;
  filter: blur(40px);
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@keyframes rotate-glow {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.swiper-product-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  min-width: 550px;
  min-height: 550px;
  object-fit: contain;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.3));
  transition: transform 0.5s ease, filter 0.5s ease;
  position: relative;
  z-index: 2;
  animation: float-image 4s ease-in-out infinite, image-glow-pulse 3s ease-in-out infinite;
}

@keyframes image-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 120px rgba(255, 255, 255, 0.5));
  }
}

.animate-image {
  animation: slideInRight 0.8s ease-out 1s both, float-image 4s ease-in-out infinite 1.8s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes float-image {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

.swiper-slide:hover .swiper-product-img {
  transform: scale(1.12) rotate(5deg);
  filter: drop-shadow(0 35px 90px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 140px rgba(255, 255, 255, 0.6));
}

.swiper-slide:hover .image-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.4);
}

/* Swiper Navigation Buttons */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
  background: #fff;
  border-color: #fff;
  color: #0d6efd;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.15);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
  font-size: 24px;
  font-weight: 700;
}

/* Swiper Pagination */
.heroSwiper .swiper-pagination {
  bottom: 30px;
  z-index: 10;
}

.heroSwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.9);
  opacity: 1;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.heroSwiper .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.heroSwiper .swiper-pagination-bullet-active {
  background: #fff;
  border-color: #fff;
  width: 35px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
  .swiper-title {
    font-size: 42px;
  }
  
  .swiper-price-new {
    font-size: 40px;
  }
  
  .swiper-product-img {
    min-width: 400px;
    min-height: 400px;
  }
}

@media (max-width: 991px) {
  .heroSwiper {
    height: 500px;
  }
  
  .swiper-slide-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .swiper-slide-image {
    order: -1;
  }
  
  .swiper-title {
    font-size: 36px;
  }
  
  .swiper-price-new {
    font-size: 36px;
  }
  
  .swiper-product-img {
    min-width: 350px;
    min-height: 350px;
  }
}

@media (max-width: 767px) {
  .heroSwiper {
    height: 450px;
  }
  
  .swiper-title {
    font-size: 28px;
  }
  
  .swiper-description {
    font-size: 16px;
  }
  
  .swiper-price-new {
    font-size: 32px;
  }
  
  .swiper-btn-primary,
  .swiper-btn-secondary {
    padding: 14px 32px;
    font-size: 15px;
  }
  
  .swiper-product-img {
    min-width: 280px;
    min-height: 280px;
  }
  
  .heroSwiper .swiper-button-next,
  .heroSwiper .swiper-button-prev {
    width: 44px;
    height: 44px;
  }
  
  .heroSwiper .swiper-button-next::after,
  .heroSwiper .swiper-button-prev::after {
    font-size: 20px;
  }
}

/* Products Section */
.products-section {
  padding: 30px 0;
  background: #fff !important;
  margin-bottom: 0;
}

.products-section:nth-child(even) {
  background: #fff !important;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.section-link:hover {
  color: #0a58ca;
  gap: 12px;
}

/* Products Row */
.products-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #0d6efd;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s ease;
}

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

.product-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4757;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.product-badge-seller {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff9800;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-badge-flash {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff006e;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-badge-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffc107;
  color: #000;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-details {
  padding: 20px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 44px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.price-old {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.price-new {
  font-size: 20px;
  font-weight: 700;
  color: #0d6efd;
}

.product-rating-small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #666;
}

.product-rating-small i {
  color: #ffc107;
  font-size: 14px;
}

.stock-info {
  font-size: 12px;
  color: #ff9800;
  font-weight: 600;
  margin-top: 8px;
}

/* Flash Deals Section */
.flash-deals {
  background: #fff !important;
}

.countdown-timer {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flash-item {
  border: 2px solid #ff9800;
}

/* Modern Flash Deals card tweaks */
.modern-flash-card {
  border: 1px solid rgba(248, 113, 113, 0.4);
  box-shadow: 0 8px 24px rgba(248, 113, 113, 0.25);
}

.modern-flash-card:hover {
  border-color: #f97316;
  box-shadow: 0 12px 32px rgba(248, 113, 113, 0.35);
}

.modern-flash-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
  z-index: 10;
}

.modern-flash-badge i {
  font-size: 12px;
}

.flash-icon-pill {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #fef3c7 0, #fed7aa 25%, #fb923c 60%, #ea580c 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.5);
  color: #fff;
}

.flash-icon-pill i {
  font-size: 20px;
}

.flash-stock {
  margin-top: 10px;
}

.flash-stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 4px;
}

.flash-stock-left {
  color: #b91c1c;
  font-weight: 700;
}

.flash-stock-sold {
  color: #6b7280;
  font-weight: 600;
}

.flash-stock-bar {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #fee2e2;
  overflow: hidden;
}

.flash-stock-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  transition: width 0.5s ease;
}

/* Featured Section */
.featured-section {
  padding: 60px 0;
  background: #fff;
}

/* Recent Searches */
.recent-searches {
  padding: 40px 0;
  background: #f8f9fa;
}

.searches-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0d6efd;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.search-tag:hover {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-heading {
    font-size: 40px;
  }
  
  .price-current {
    font-size: 36px;
  }
  
  .products-row {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-heading {
    font-size: 36px;
  }
  
  .products-row {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .hero-banner {
    padding: 40px 0;
  }
  
  .hero-heading {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .price-current {
    font-size: 32px;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 32px;
    font-size: 14px;
  }
  
  .products-section {
    padding: 25px 0;
  }
  
  .products-row {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .product-name {
    font-size: 14px;
    min-height: 40px;
  }
  
  .price-new {
    font-size: 18px;
  }
}

/* Modern Product Section - Best of Electronics */
.modern-product-section {
  padding: 30px 0;
  background: #fff !important;
  margin-bottom: 0;
}

/* Anchor offsets for in-page links */
#flash-deals,
#recommended-for-you {
  scroll-margin-top: 120px;
}

/* Reduce spacing before footer */
main.flipkart-homepage > .main-content-wrapper:last-child,
main.flipkart-homepage > section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 20px;
}

footer.footer-white {
  margin-top: 0 !important;
  padding-top: 30px !important;
}

.modern-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.modern-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.modern-section-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.modern-view-all-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.modern-view-all-btn:hover {
  color: #0a58ca;
  gap: 8px;
}

.modern-view-all-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.modern-view-all-btn:hover i {
  transform: translateX(4px);
}

.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1200px) {
  .modern-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .modern-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.modern-product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(229, 231, 235, 0.5);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  contain: layout style paint;
  isolation: isolate;
}

.modern-product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  border-color: #0d6efd;
}

.modern-product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* Product Image Carousel */
.product-image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.carousel-image-item.active {
  opacity: 1;
  pointer-events: auto;
}

.modern-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}

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

/* Navigation Arrows */
.carousel-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.modern-product-card:hover .carousel-nav-arrow {
  opacity: 1;
}

.carousel-nav-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-nav-arrow i {
  font-size: 18px;
  font-weight: bold;
}

.carousel-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Image Navigation Dots */
.carousel-image-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}

/* Zoom Button */
.product-zoom-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0;
}

.modern-product-card:hover .product-zoom-btn {
  opacity: 1;
}

.product-zoom-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.product-zoom-btn i {
  font-size: 16px;
}

.modern-product-image-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  z-index: 5;
}

.modern-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.modern-wishlist-btn:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modern-wishlist-btn i {
  color: #6b7280;
  font-size: 16px;
  transition: color 0.3s ease;
}

.modern-wishlist-btn:hover i,
.modern-wishlist-btn.active i {
  color: #ef4444;
}

.modern-wishlist-btn.active i.bi-heart-fill {
  color: #ef4444;
}

.modern-quick-add {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid rgba(229, 231, 235, 0.5);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.modern-product-card:hover .modern-quick-add {
  opacity: 1;
  max-height: 100px;
  padding: 12px 16px;
}

/* Ensure it doesn't interfere with image carousel or scrolling */
.modern-product-image-wrapper {
  overflow: hidden;
  contain: layout style paint;
}

.modern-add-to-cart-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.modern-add-to-cart-btn:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

.modern-add-to-cart-btn i {
  font-size: 14px;
}

.modern-product-info {
  padding: 16px;
}

.modern-product-name-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.modern-product-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.4;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

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

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

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

.modern-rating-stars i {
  font-size: 12px;
  color: #fbbf24;
}

.modern-rating-stars i.bi-star {
  color: #d1d5db;
}

.modern-rating-count {
  font-size: 12px;
  color: #6b7280;
}

.modern-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.modern-price-current {
  font-size: 20px;
  font-weight: 900;
  color: #0d6efd;
  letter-spacing: -0.5px;
}

.modern-price-original {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

/* Deals of the Day tweaks */
.deals-of-day-section {
  background: #fff !important;
}

.modern-timer-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.modern-timer-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Responsive adjustments for modern product section */
@media (max-width: 1200px) {
  .modern-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .modern-product-section {
    padding: 25px 0;
  }

  .modern-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .modern-section-title {
    font-size: 20px;
  }

  .modern-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
  }

  .modern-product-name {
    font-size: 13px;
    min-height: 36px;
  }

  .modern-price-current {
    font-size: 18px;
  }
}

/* Modern Sidebar Layout */
.main-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 40px;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.modern-sidebar {
  width: 264px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 16px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 130px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  isolation: isolate;
}

/* Custom scrollbar for sidebar */
.modern-sidebar::-webkit-scrollbar {
  width: 6px;
}

.modern-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modern-sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.modern-sidebar::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Quick Links */
.sidebar-quick-links {
  padding: 0 16px 16px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.quick-link-item:hover {
  background: linear-gradient(to right, rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.02));
  color: #0d6efd;
}

.quick-link-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.quick-link-item span {
  flex: 1;
}

/* Browse Categories */
.sidebar-categories {
  padding: 0 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: visible;
}

.sidebar-categories-title {
  font-size: 11px;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px 0;
  padding: 0 4px;
}

.sidebar-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.sidebar-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  position: relative;
}

.sidebar-category-item i:first-child {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #6b7280;
  transition: color 0.2s ease;
}

.sidebar-category-item span {
  flex: 1;
}

.sidebar-category-item i:last-child {
  font-size: 12px;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.sidebar-category-item:hover {
  background: #f3f4f6;
  color: #0d6efd;
}

.sidebar-category-item:hover i:first-child,
.sidebar-category-item:hover i:last-child {
  color: #0d6efd;
}

.sidebar-category-item.active {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.sidebar-category-item.active i:first-child,
.sidebar-category-item.active i:last-child {
  color: #0d6efd;
}

/* Promo Banner */
.sidebar-promo {
  margin-top: 16px;
  padding: 0 16px;
  flex-shrink: 0;
  margin-bottom: 0;
}


.sidebar-promo-content {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sidebar-promo-content::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-promo-content::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-promo-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 4px 0;
}

.sidebar-promo-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #fff;
}

.sidebar-promo-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px 0;
}

.sidebar-promo-btn {
  display: inline-block;
  background: #fff;
  color: #0d6efd;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.sidebar-promo-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #0a58ca;
}

/* Sidebar Footer Spacer - Extends sidebar to footer */
.sidebar-footer-spacer {
  flex: 1;
  min-height: 0;
  padding: 20px 0;
}

/* Main Content Area */
.main-content-area {
  flex: 1;
  min-width: 0;
  background: #fff;
  position: relative;
  overflow: visible;
}

/* Responsive */
@media (max-width: 991px) {
  .main-content-wrapper {
    flex-direction: column;
  }

  .modern-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    margin-bottom: 20px;
  }
}


/* Remove all animations and decorative elements from banner slides */
.hero-flash-sale-slide-wrapper .hero-slide-bg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
  animation: none !important;
}

.hero-flash-sale-slide-wrapper {
  background: transparent !important;
}

.hero-flash-sale-slide-wrapper * {
  animation: none !important;
}

.hero-flash-sale-slide-wrapper .hero-decorative-elements {
  display: none !important;
}

.hero-flash-sale-slide-wrapper::before,
.hero-flash-sale-slide-wrapper::after {
  display: none !important;
  content: none !important;
}

.hero-banner-image-full {
  z-index: 10 !important;
}

/* Completely remove all animations and backgrounds from banner slides */
.hero-flash-sale-slide-wrapper .hero-slide-bg,
.hero-flash-sale-slide-wrapper .hero-gradient-flash-sale,
.hero-flash-sale-slide-wrapper .hero-gradient-blue,
.hero-flash-sale-slide-wrapper .hero-gradient-green,
.hero-flash-sale-slide-wrapper .hero-gradient-orange {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
  animation: none !important;
  background-image: none !important;
}

.hero-flash-sale-slide-wrapper {
  background: transparent !important;
  background-image: none !important;
}

.hero-flash-sale-slide-wrapper * {
  animation: none !important;
}

.hero-flash-sale-slide-wrapper .hero-decorative-elements {
  display: none !important;
}

.hero-flash-sale-slide-wrapper::before,
.hero-flash-sale-slide-wrapper::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-banner-image-full {
  z-index: 10 !important;
}

/* Ensure banner images fit properly without being cut off */
.hero-flash-sale-slide-wrapper {
  overflow: visible !important;
}

.hero-slides-container {
  overflow: visible !important;
}

/* Responsive adjustments for banner images */
@media (max-width: 768px) {
  .hero-flash-sale-btn {
    left: 20px;
    bottom: 20px;
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Completely disable all gradient animations that cause white flow effect */
.hero-slide-bg,
.hero-gradient-blue,
.hero-gradient-green,
.hero-gradient-orange,
.hero-gradient-flash-sale {
  animation: none !important;
  background: transparent !important;
  background-image: none !important;
}

/* Disable gradient-shift animation completely */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50% !important; }
  50% { background-position: 100% 50% !important; }
}

/* Ensure no animations run on any hero slide elements */
.hero-slide *,
.hero-slide-bg *,
.hero-slide-content * {
  animation: none !important;
}

/* Remove any pseudo-elements that might cause white flow */
.hero-slide::before,
.hero-slide::after,
.hero-slide-bg::before,
.hero-slide-bg::after,
.hero-slide-content::before,
.hero-slide-content::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Force remove all gradient animations and white flow effects */
.hero-slide,
.hero-slide-bg,
.hero-slide-content,
.hero-slides-wrapper,
.hero-slides-container {
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
}

.hero-slide * {
  animation: none !important;
}

/* Remove any gradient backgrounds completely */
.hero-gradient-blue,
.hero-gradient-green,
.hero-gradient-orange,
.hero-gradient-flash-sale {
  display: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
}

/* Disable gradient-shift animation globally */
* {
  --gradient-shift: none !important;
}

/* Completely remove white flow effect - disable all gradient animations */
.hero-slide-bg {
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
}

/* Remove any pseudo-elements that create flow effects */
.hero-slide::before,
.hero-slide::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

/* Ensure no background gradients show */
.hero-slide-content {
  background: transparent !important;
  background-image: none !important;
}

/* Final comprehensive removal of white flow effect */
.hero-flash-sale-slide-wrapper .hero-slide-bg,
.hero-flash-sale-slide-wrapper::before,
.hero-flash-sale-slide-wrapper::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  background-image: none !important;
  content: none !important;
  animation: none !important;
}

/* Ensure the slide content itself has no background animations */
.hero-flash-sale-slide {
  background: transparent !important;
  background-image: none !important;
  animation: none !important;
}

.hero-flash-sale-slide * {
  animation: none !important;
}

/* ULTIMATE FIX: Completely disable all animations and gradients on hero banner */
.modern-hero-banner,
.modern-hero-banner *,
.hero-slides-container,
.hero-slides-container *,
.hero-slides-wrapper,
.hero-slides-wrapper *,
.hero-slide,
.hero-slide *,
.hero-flash-sale-slide-wrapper,
.hero-flash-sale-slide-wrapper *,
.hero-flash-sale-slide,
.hero-flash-sale-slide * {
  animation: none !important;
  background: transparent !important;
  background-image: none !important;
  background-size: auto !important;
  background-position: 0 0 !important;
}

/* Disable shine/flow animations */
@keyframes shine {
  0%, 100% { transform: translateX(-100%) !important; opacity: 0 !important; }
}

/* Remove any white flow/shine effects */
.hero-slide::before,
.hero-slide::after,
.hero-slide-content::before,
.hero-slide-content::after,
.hero-flash-sale-slide::before,
.hero-flash-sale-slide::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Disable shimmer effect on hero banner */
.shimmer-effect {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Ensure hero banner is not affected by any shimmer/shine effects */
.modern-hero-banner .shimmer-effect,
.hero-slides-container .shimmer-effect,
.hero-slide .shimmer-effect {
  display: none !important;
}

/* Disable shine animation on hero banner */
.modern-hero-banner *::before,
.modern-hero-banner *::after {
  animation: none !important;
  background: none !important;
  background-image: none !important;
}

/* Completely disable shimmer animation */
@keyframes shimmer {
  0%, 100% { 
    left: -100% !important; 
    opacity: 0 !important; 
    transform: translateX(-100%) !important;
  }
}

/* Remove any existing shimmer elements */
.shimmer-effect {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  animation: none !important;
}

/* Ensure hero slides wrapper fills container */
.hero-slides-wrapper {
  height: 100% !important;
  min-height: 100% !important;
}

/* Make sure images fill the banner space completely */
.hero-flash-sale-slide-wrapper {
  width: 100%;
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-slides-container {
    height: 300px;
    min-height: 300px;
  }
  
  .hero-nav-dots {
    bottom: 15px;
    padding: 6px 10px;
    gap: 8px;
  }
  
  .hero-dot {
    width: 10px;
    height: 10px;
  }
}
