* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Tahoma;
  background: #f5f5f5;
}

/* HEADER */
.shop-header {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  direction: rtl;
}

/* WRAPPER */
.slider-wrapper {
  position: relative;
  padding: 0 16px 25px;
}

/* TRACK */
.slider-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  padding: 10px 0;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

/* CARD */
.product-card {
  flex: 0 0 75%;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;

  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s;
  transform: scale(0.92);
  opacity: 0.6;
  filter: blur(1px);
}

/* کارت فعال (وسط) */
.product-card.active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
}

/* IMAGE */
.img-wrap {
  position: relative;
  aspect-ratio: 3/4;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BUTTONS */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #fff;
}

.wishlist-btn.active {
  color: red;
}

.cart-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border: none;
}

/* INFO */
.product-info {
  padding: 10px;
  direction: rtl;
}

.color-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 6px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ddd;
  cursor: pointer;
}

.dot.active {
  border: 2px solid #000;
}

/* NAV DOTS */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.sdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  transition: 0.3s;
}

.sdot.active {
  background: #111;
  transform: scale(1.4);
}
