/* === Global === */
/* === Global === */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(135deg, #27102b, #120f14, #251534);
  background-attachment: fixed; /* smooth on scroll */
  color: white;
  font-family: 'Courier New', Courier, monospace;
  scroll-behavior: smooth;
}

h2{
   text-align: center;
 
}

      /* slider........................................................................................................ */
      .slider {
        height: 250px;
        width: 100%;
        overflow-x: hidden;
      }
      .slide-track {
        height: 250px;
        display: flex;
        width: calc(600px * 20);
        animation: anim 130s linear infinite;
        overflow-x: hidden;
      }
      .slide {
        height: 290px;
        width: 600px;
        display: flex;
        overflow-x: hidden;
      }
      .slide img {
        height: 250px;
        width: 380px;
      }
      @keyframes anim {
        0% {
          transform: translateX(0%);
        }
        100% {
          transform: translateX(calc(-500px * 9));
        }
      }

.center-container{
display: flex;
align-items: center;
justify-content: center;
}

.eachProductH2 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(to right, #d946ef, #a855f7, #6366f1); /* pink → purple → blue */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
  display: inline-block;
  background-size: 100%;
  background-repeat: no-repeat;
}



.eachProductH2:hover::after {
  width: 80%;
}
.space{
  margin-top: 50px;
}
/* ===== Container Grid ===== */
#allProductsCon,#earbuds,#Cameras,#SmartPhoneCon ,#SmartTVsCon{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2px;
  padding: 0px 20px;
}

/* ===== Product Card ===== */
.product-card1 {
  border: 1px solid rgba(163, 202, 255, 0.3);
  box-shadow: 0 15px 35px rgba(173, 216, 230, 0.12);  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  margin-bottom: 10px;
  margin-top: 10px;
  color: #FFFF;
  height: 450px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card1 a{
    text-decoration: none;
    color: #ffff;
}

.product-card1:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ===== Product Image ===== */
.product-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding:  24px;
  padding-bottom: 0px;
  position: relative;
}

/* Scrollbar width */
::-webkit-scrollbar {
  width: 10px;
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
  background: #1a1a1a; /* dark track */
  border-radius: 10px;
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff00cc, #00e5ff);

  border-radius: 10px;
}

/* On hover effect */
::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(45deg, #00e5ff, #ff00cc);

}


.product-img img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.product-card1:hover .product-img img {
  transform: scale(1.07);
}




/* ===== Tag and Rating Row Inside Image ===== */
.tagAndRate {
  position: absolute;
  top: 16px;

  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;

  
}
.tag-badge {
  background: linear-gradient(to right, #d946ef, #a855f7, #6366f1); /* pink → purple → blue */
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 10px rgba(116, 235, 213, 0.3);
}

/* ===== Rating ===== */
.rating {
  font-size: 0.9rem;
  color: #f39c12;
  margin-bottom: 16px;
  margin-right: 40px;
}


/* ===== Product Details ===== */
.product-details {
  padding:0px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content:center;
  flex-grow: 1;
}

/* ===== Product Text ===== */
.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 12px 0 6px;
}

.product-display {
  font-size: 0.95rem;
  margin-bottom: 9px;
}

/* ===== Price Section ===== */
.price-section {
  display: flex;
  color: #fff;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}

.price {
  color: #ff3e6c;
  font-size: 1.3rem;
    margin-bottom: 9px;

}

.discount {
  background: #ffe2e8;
  color: #c2185b;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 14px;
}
a{
  list-style-type: none;
  text-decoration: none;
  color: white;
}
.fade-in {
  animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ===== Add to Cart Button ===== */
.add-to-cart-btn {   
  
  
  
  background: linear-gradient(to right, #d946ef, #a855f7, #6366f1); /* pink → purple → blue */


  color: #2c3e50;
  border: none;
  padding: 10px 22px;
  font-size: 0.95rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  box-shadow: 0 4px 14px rgba(116, 235, 213, 0.4);
}

.add-to-cart-btn:hover {
  transform: scale(1.05); 
  background: linear-gradient(to right,#6366f1 , #a855f7,#d946ef ); /* pink → purple → blue */

}

/* ===== Responsive ===== */
@media (max-width: 768px) {

  
.slide img
{
        margin-top: 20px;
      
      }
  .product-card1 {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .product-img img {
    margin-top: 30px;
    width: 200px;
    height: 200px;
  }

  .product-details {
    padding: 16px;
  }

  .product-title {
    font-size: 1.2rem;
    margin: 10px 0 6px;
  }

  .product-display {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .price-section {
    gap: 8px;
    margin-bottom: 10px;
  }

  .price {
    font-size: 1.1rem;
  }

  .discount {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .rating {
    font-size: 0.85rem;
    margin-right: 20px;
  }

  .add-to-cart-btn {
    font-size: 0.9rem;
    padding: 8px 18px;
  }
}

/* <!-- detail of SMART WATCHES --> */
  /* Container */
  .sw-detail-section {
    max-width: 900px;
    margin: 10px auto;
    padding: 20px;
    /* background: #fdfdfd; */
    border-radius: 12px;
padding-bottom: 30px;
color: #fff;
     border: 1px solid rgba(163, 202, 255, 0.3);
  box-shadow: 0 15px 35px rgba(173, 216, 230, 0.12);  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  }

  /* Title */
  .sw-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
background: linear-gradient(to right, #d946ef, #a855f7, #6366f1); /* pink → purple → blue */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;  }

  /* Layout Flex */
  .sw-detail-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: #fff;
    align-items: center;
    justify-content: center;
  }

  /* Image Container */
  .sw-detail-image-container {
    flex: 1 1 300px;
    max-width: 350px;
    border-radius: 16px;
    overflow: hidden;    color: #fff;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }

  .sw-detail-image-container:hover {
    transform: scale(1.05);
  }

  .sw-detail-image {
    width: 100%;
    display: block;
    object-fit: cover;
  }

  /* Details Text */
  .sw-detail-info {
    flex: 1 1 350px;    color: #fff;

    max-width: 400px;
  }

  .sw-detail-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;    color: #fff;

  }

  .sw-detail-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d9534f; /* reddish */
    margin-bottom: 12px;
  }

  .sw-detail-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 20px;
  }

  .sw-detail-specs {
    list-style: none;
    padding-left: 0;
    font-size: 0.95rem;
    color: #fff;
  }

  .sw-detail-specs li {
    margin-bottom: 8px;
  }

  /* Button */
  .sw-detail-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
  background: linear-gradient(to right, #d946ef, #a855f7, #6366f1); /* pink → purple → blue */
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    user-select: none;
  }

  .sw-detail-btn:hover {
  background: linear-gradient(to right,#6366f1 , #a855f7, #d946ef); /* pink → purple → blue */
  }

  /* Responsive */
  @media (max-width: 720px) {
    .sw-detail-content {
      flex-direction: column;
      gap: 20px;
    }
    .sw-detail-image-container,
    .sw-detail-info {
      max-width: 100%;
    }



      .sw-detail-section {
margin-left: 18px;
margin-right: 18px;

  }
  }
  .con{
    margin-top: 0px;
  }










