.section-Grid {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem 1rem;
}

.scroll-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 2rem;
  background-color: #141414;
 
}

.scroll-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  background-color:#141414;
  border-radius:12px;

  align-items: center; /* ✅ Vertically centers children */
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.card-products {
  flex: 0 0 auto;
  width: 300px;
  height:420px;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2); /* subtle glow */
  position: relative;
  
}

.card-products:hover {
  /* transform: scale(1.03); */
   transform: translateX(5px); /* subtle lift */
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 
              0 0 40px rgba(0, 255, 255, 0.3); /* glowing effect */

}

.card-products img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-products-content {
  padding: 1rem;
}

.card-products-content h3 {
  font-size: 1rem;
  color: #ffd700;
}

.card-products-content p {
  font-size: 1rem;
  color: #ccc;
}

.scroll-btn {
  position: absolute;
  top: 15%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: #ff6600;
  font-size: 1.5rem;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  
}

.scroll-btn.left {
  right:3.5rem;
}

.scroll-btn.right {
  right: 1rem;
}

.badge {
  position: absolute;
  top: 10px;
  right: 5px;
  background-color: #0072c6; /* Blue for UAE/Oman theme */
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
}

/* ✅ Mobile Fix */
@media (max-width: 728px) {
  .scroll-wrapper {
    padding: 1rem;
  }

  .scroll-container {
    display: block !important;
    overflow: hidden !important;
    white-space: normal !important;
  }

  .card-products {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }

  .scroll-btn {
    display: none !important;
  }

  html, body {
    overflow-x: hidden !important;
  }
}
