body{
    background-color:rgb(248,249,250) !important;
}

/* --- WRAPPER STYLE --- */
.filter-wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- تب‌ها کانتینر --- */
.tab-cont {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* مهم برای جلوگیری از wrap */
  gap: 10px;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-cont::-webkit-scrollbar {
  display: none;
}

/* --- تک تک تب‌ها --- */
.tab {
  color:black !important;
  flex-shrink: 0; /* خیلی مهم برای جلوگیری از فشرده‌شدن و wrap */
  white-space: nowrap;
  background-color: #f5f5f5;
  border: none;
  border-left: 5px solid transparent;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  padding: 14px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab:hover {
  background-color: #eaeaea;
}

.tab.active {
  border-left-color: #f0a500;
  background-color: #f0a50020;
}








.sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  width: 100%;
  height: auto;
  margin-bottom:60px;
}
/* Container for products */
.cont {
  gap: 10px;
  display: flex;
  width: 95%;
  margin: 0 auto;
  padding: 0;
  justify-content: left;
  flex-wrap: wrap;
  max-width: 1400px !important;
}

/* Product box */
.c20 {
  display: flex;
  flex-direction: column;
  width: 48%;
}

@media (min-width: 768px) {
  .c20 {
    width: 29%;
  }

  .cont,.tab-cont {
    gap: 15px;
  }
}

@media (min-width: 992px) {
  .c20 {
    width: 18%;
  }
}

/* Product Card */
.product {
  background: white;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  padding: 0 0 20px 0;
  text-align: center;
  height: 100% !important;
}

.product img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
  margin-bottom: 15px;
}

.product h3 {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left:10px;
  padding-right:10px;
}

/* Color selector */
.colors {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.color-btn {
  margin: 10px 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  transition: 0.2s;
}

.color-btn:hover {
  border-color: #f0a500;
}

.color-btn.active {
  border-color: #f0a500;
}
/* Color name display */
.color-name {
  margin: 0 10px;
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 4px;
  background-color: #f9f9f9;
}

/* Sizes */
.sizes {
  gap: 10px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.size-btn {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 4px;
  background-color: #f9f9f9;
}


button{
    color:black !important;
}
button:focus {
  outline: none !important;
  box-shadow: none !important;
}
.topsizes {
                margin-bottom: 20px;
            }
