    .related-slider-container {
      position: relative;
      margin: 0 auto;
      padding: 0 40px;
    }

    /* Product Slider */
    .product-slider {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding: 20px 0;
      scrollbar-width: none;
      /* Firefox */
    }

    .product-slider::-webkit-scrollbar {
      display: none;
      /* Chrome/Safari */
    }

    .slider-item {
      flex: 0 0 calc(20% - 16px);
      scroll-snap-align: start;
      transition: transform 0.3s ease;
    }

    .rating {
      justify-content: center;
    }
    /* Navigation Buttons */
    .slider-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      background: white;
      border: none;
      border-radius: 50%;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .slider-nav:hover {
      background: #f8f8f8;
      transform: translateY(-50%) scale(1.1);
    }

    .slider-nav.prev {
      left: 0;
    }

    .slider-nav.next {
      right: 0;
    }

    .slider-nav i {
      font-size: 16px;
      color: #333;
    }

    /* Product Card Enhancements */
    .product-card {
      position: relative;
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      padding: 15px;
      width: 100%;
    }

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

    .product-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: 2;
    }

    .discount-badge,
    .new-badge {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 3px;
      font-size: 12px;
      font-weight: bold;
      color: white;
      margin-right: 5px;
    }

    .discount-badge {
      background: #ff3d3d;
    }

    .new-badge {
      background: #4CAF50;
    }

    /* Responsive Adjustments */
    @media (max-width: 1200px) {
      .slider-item {
      flex: 0 0 calc(25% - 15px);
      }
    }

    @media (max-width: 992px) {
      .slider-item {
      flex: 0 0 calc(33.33% - 13px);
      }
    }

    @media (max-width: 768px) {
      .slider-item {
      flex: 0 0 calc(50% - 10px);
      }

      .related-slider-container {
      padding: 0 30px;
      display: block !important;
      }
    }

    @media (max-width: 576px) {
      .slider-item {
      flex: 0 0 calc(100% - 0px);
      }

      .slider-nav {
      width: 30px;
      height: 30px;
      }
    }