  :root {
      --bg-dark: #131414;
      --card-bg: #050505;
      --primary-blue: #007aff;
      --accent-orange: #ff6b00;
      --discount-green: #00d9a6;
      --text-gray: #6b7280;
  }

  /* SECTION */
  .sm-product-section {
      max-width: 1200px;
      margin: auto;
      padding: 10px;
  }

  /* HEADER */
  .sm-slider-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 30px;
  }

  .sm-title-group h3 {
      color: var(--primary-blue);
      font-size: 15px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin: 0 0 5px 0;
  }

  .sm-title-group h2 {
      font-size: 36px;
      font-weight: 900;
      /* color: var(--primary-blue); */
      margin: 0;
      text-transform: uppercase;
  }

  .sm-nav-buttons {
      display: flex;
      gap: 15px;
  }

  .sm-nav-btn {
      background: rgba(255, 255, 255, .05);
      border: 1px solid #333;
      color: white;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: .3s;
  }

  .sm-nav-btn:hover {
      background: var(--primary-blue);
      border-color: var(--primary-blue);
  }

  /* SLIDER */
  .sm-slider-viewport {
      overflow: hidden;
      width: 100%;
  }

  .sm-slider-viewport {
      width: 100%;
      overflow: hidden;
      position: relative;
  }



  /* REAL CAROUSEL VIEWPORT */
  /* .sm-slider-viewport {
      width: 100%;
      overflow-y: hidden;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      cursor: grab;
      padding: 10px;
  } */

  .sm-slider-viewport {
      width: 100%;
      overflow: hidden;
      position: relative;
      touch-action: pan-y;
      /*padding: 10px;*/
  }

  .sm-slider-viewport::-webkit-scrollbar {
      display: none;
  }

  .sm-slider-viewport.dragging {
      cursor: grabbing;
  }

  /* TRACK */

  .sm-product-track {
      display: flex;
      gap: 20px;
      transition: transform 0.6s cubic-bezier(.77, 0, .18, 1);
      will-change: transform;
  }

  /* SNAP EFFECT */

  .sm-product-card {
      /* scroll-snap-align:start; */
      flex-shrink: 0;
  }


  /* CARD */


  .sm-product-card {
      position: relative;
      flex: 0 0 calc(33.333% - 14px);
      /* EXACT 3 CARDS */
      padding: 22px;
      border-radius: 22px;
      background: rgba(18, 32, 58, 0.65);
      backdrop-filter: blur(18px);
      border: 1px solid rgba(0, 255, 255, 0.18);
      box-shadow:
          0 0 0 1px rgba(0, 255, 255, 0.08),
          0 10px 35px rgba(0, 0, 0, 0.6),
          inset 0 0 25px rgba(0, 255, 255, 0.05);
      color: white;
      transition: .35s;
      overflow: hidden;
  }

  /* glow hover */
  .sm-product-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow:
          0 0 25px rgba(0, 255, 255, 0.35),
          0 0 60px rgba(0, 200, 255, 0.18),
          0 15px 40px rgba(0, 0, 0, 0.8);
  }

  /* top badge */
  .sm-top-badge {
      position: absolute;
      top: 18px;
      left: 18px;
      font-size: 12px;
      padding: 6px 12px;
      border-radius: 20px;
      background: linear-gradient(90deg, #00eaff, #007bff);
      color: #001b2e;
      font-weight: 600;
  }

  /* discount circle */
  .sm-discount-circle {
      position: absolute;
      right: 6px;
      top: 6px;
      width: 55px;
      height: 55px;
      border-radius: 50%;
      background: radial-gradient(circle, #00f0ff, #007bff);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      box-shadow: 0 0 20px rgba(0, 255, 255, .6);
  }

  /* image */
  .sm-product-img {
      margin-top: 40px;
      text-align: center;
  }

  .sm-product-img img {
      width: 200px;
      height: 200px;
      
      transition: 0.4s;
      filter: drop-shadow(0 10px 25px rgba(0, 255, 255, 0.4));
  }

  .sm-product-card:hover img {
      transform: scale(1.08) rotate(-2deg);
  }

  /* rating */
  .sm-rating {
      margin-top: 18px;
      color: #ffd84d;
      font-size: 14px;
      text-align: center;
  }

  .sm-rating span {
      color: #9bb3d3;
      font-size: 12px;
  }

  /* name */
  .sm-product-name {
      font-size: 20px;
      font-weight: 600;
      text-align: center;
      margin-top: 10px;
  }

  /* price box */
  .sm-price-box {
      margin-top: 15px;
      text-align: center;
  }

  .sm-current-price {
      font-size: 24px;
      font-weight: 700;
      color: #00f0ff;
      margin-right: 10px;
  }

  .sm-old-price {
      text-decoration: line-through;
      color: #7e93b3;
  }

  /* button */
  .sm-btn {
      margin-top: 18px;
      display: block;
      text-align: center;
      padding: 12px;
      border-radius: 14px;
      background: linear-gradient(90deg, #00f0ff, #007bff);
      color: #001b2e;
      font-weight: 700;
      text-decoration: none;
      transition: 0.3s;
  }

  .sm-btn:hover {
      box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
      transform: scale(1.05);
  }

  .sm-product-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  }

  /* DESKTOP (3 cards) */
  .sm-product-card {
      flex: 0 0 calc((100% - 40px)/3);
  }

  /* TABLET (2 cards) */
  @media(max-width:900px) {
      .sm-product-card {
          flex: 0 0 calc((100% - 20px)/2);
      }
  }

  /* MOBILE (1 card perfect center) */
  @media(max-width:600px) {
      .sm-product-card {
          flex: 0 0 100%;
      }
  }

  .sm-product-track {
      display: flex;
      gap: 20px;
      transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  }
  
  
  .sm-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.sm-product-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.sm-product-card {
  min-width: 250px;
  flex-shrink: 0;
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}





/* Product Reveal Animation */
.product-reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease;
}

.product-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Card animation (extra smooth) */
.sm-product-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.sm-product-card.show {
  opacity: 1;
  transform: translateY(0);
}







/* ================= PAGE TITLE FIX ================= */
.page-title,
.page-title h1,
.page-title p,
.page-title a,
.page-title li {
  color: #fff !important;
}

/* Light mode me bhi white hi rahe */
body.light-mode .page-title,
body.light-mode .page-title h1,
body.light-mode .page-title p,
body.light-mode .page-title a,
body.light-mode .page-title li {
  color: #fff !important;
}
.page-title {
  position: relative;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0,0,0,0.5; */
  z-index: 1;
}

.page-title .container {
  position: relative;
  z-index: 2;
}