   /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: Arial, sans-serif;
            overflow-x: hidden;
        }
        
        /* Amazon-style full-width slider */
        .slider {
            position: relative;
            width: 100vw;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            overflow: hidden;
            background: #f5f5f5;
            padding: 0;
        }
        
        /* Mobile-first height (matches Amazon app proportions) */
        .slider {
            height: 160px;
        }
        
        /* Tablet */
        @media (min-width: 481px) and (max-width: 768px) {
            .slider {
                height: 200px;
            }
        }
        
        /* Small desktop */
        @media (min-width: 769px) and (max-width: 1024px) {
            .slider {
                height: 280px;
            }
        }
        
        /* Large desktop */
        @media (min-width: 1025px) {
            .slider {
                height: 350px;
            }
        }
        
        /* Image Box - full width */
        .image-box {
            display: flex;
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            height: 100%;
        }
        
        /* Individual Slides - full width */
        .slide {
            min-width: 100%;
            position: relative;
            padding: 0;
            margin: 0;
        }
        
        .slide img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }
        
        /* Navigation - Hidden by default, shown on hover (desktop) */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            font-size: 16px;
            cursor: pointer;
            z-index: 10;
            display: none;
            align-items: center;
            justify-content: center;
            color: #333;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        }
        
        .slider:hover .nav-btn {
            display: flex;
        }
        
        #prev {
            left: 15px;
        }
        
        #next {
            right: 15px;
        }
        
        /* Dots Navigation */
        .dots {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 6px;
            z-index: 10;
        }
        
        .dots span {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .dots span.active {
            background: #fff;
            transform: scale(1.3);
        }
        
        /* Mobile-specific optimizations */
        @media (max-width: 480px) {
            .slider {
                height: 160px;
            }
            
            .dots {
                bottom: 8px;
            }
            
            /* Show arrows on mobile when touching */
            .slider.touching .nav-btn {
                display: flex;
                background: rgba(0, 0, 0, 0.3);
                color: white;
                width: 25px;
                height: 25px;
                font-size: 14px;
            }
            
            #prev {
                left: 5px;
            }
            
            #next {
                right: 5px;
            }
        }





/* ===== Product Comparison Overlay ===== */
.product-comp {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.box {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: var(--jk-border-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  flex: 1;
  min-width: 250px;
  max-width: 24%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--jk-transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}












/* ===== Product Scroll Styles ===== */
.gm-product-scroll-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding: 20px 0;
  margin: 30px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--jk-primary-color) #f1f1f1;
}

.gm-product-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.gm-product-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--jk-primary-color);
  border-radius: 10px;
}

.gm-product-scroll-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.gm-product-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding-bottom: 10px;
}

.gm-product-card {
  background: #fff;
  border-radius: var(--jk-border-radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  width: 220px;
  flex: 0 0 auto;
  transition: var(--jk-transition);
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
}

.gm-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.gm-product-thumb {
  position: relative;
  text-align: center;
  padding: 15px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

.gm-product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gm-product-thumb img:hover {
  transform: scale(1.05);
}

.gm-product-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff3f6c;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: var(--jk-border-radius);
  z-index: 2;
}

.gm-hover-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.product__action1 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product__action1 li a {
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--jk-transition);
  color: #555;
}

.product__action1 li a:hover {
  transform: scale(1.1);
  color: var(--jk-primary-color);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.gm-product-info {
  padding: 15px;
  text-align: center;
  background: #fff;
}

.gm-product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--jk-text-dark);
  height: 38px;
  overflow: hidden;
  margin-bottom: 8px;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gm-price-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
}

.gm-old-price {
  color: #aaa;
  font-size: 13px;
  text-decoration: line-through;
}

.gm-new-price {
  color: #28a745;
  font-size: 16px;
  font-weight: 600;
}

.gm-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  color: #ffb300;
  font-size: 14px;
  margin: 8px 0;
}

.gm-add-cart {
  margin-top: 10px;
}

.gm-add-cart button {
  padding: 8px 15px;
  background: var(--jk-primary-color);
  border: none;
  color: #111;
  font-size: 14px;
  border-radius: var(--jk-border-radius);
  cursor: pointer;
  transition: var(--jk-transition);
  width: 100%;
  font-weight: 500;
}

.gm-add-cart button:hover {
  background: var(--jk-primary-dark);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .product-comp {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: column;
  }
  
  .box {
    max-width: 100%;
    margin-bottom: 15px;
  }
  
  .gm-product-card {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .slider {
    margin-top: 15px;
  }
  
  .nav-btn {
    width: 35px;
    height: 35px;
    padding: 8px;
  }
  
  .gm-product-scroll-wrapper {
    margin: 20px 0;
    padding: 15px 0;
  }
  
  .gm-product-card {
    width: 180px;
  }
  
  .gm-product-thumb {
    height: 160px;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .gm-product-card {
    width: 160px;
  }
  
  .gm-product-thumb {
    height: 140px;
  }
  
  .gm-product-title {
    font-size: 13px;
    height: 36px;
  }
  
  .gm-new-price {
    font-size: 15px;
  }
  
  .gm-add-cart button {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* ===== Animations ===== */
@keyframes shake {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.cart-btn.added {
  animation: shake 0.5s ease;
}

.wishlist-btn i.active {
  color: #e53935;
  animation: heartBeat 0.5s;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}