.main-container-for-products {
    padding-left: 30px;
    padding-right: 30px;
}



.container-for-page-title-and-tab-buttons {
    padding-top: 24px;
    padding-bottom: 24px;
}
.products-page-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #000000;
    white-space: nowrap;
}

.sort-by-filter {
    float: inline-end;
}


/* The following is the style for card */

.card {
    display: flex;
    justify-content: space-between;
    width: 336px !important;
    height: 520px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border:none;
    cursor: pointer;
    background-color: transparent;
    border:none;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
   
    position: absolute;
    top: 0;
    left: 0;
}

.card .image-overlay {
    position: relative;
    height: 441px;
    width: 336px;
}

.card .icon-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.card .icon-buttons button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #000000;
    border: none;
    /* padding: 8px; */
    /* border-radius: 50%; */
    /* color: white; */
    cursor: pointer;
}

.card .icon-buttons button svg {
    width: 19px;
    height: 19px;
}

.card .icon-buttons button:hover svg path {
    fill: white;
}

.card .details {
    padding: 10px;
}

.selling-carousel-card-title {
    font-weight: 700;
    font-size: 19px;
    /* line-height: 80%; */
    color: #282828;
    padding-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
   
}

.selling-carousel-card-subtitle {
    font-weight: 600;
    font-size: 16px;
    font-size: 13px;
    color: #4C4C4C;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.card .colors {
    display: flex;
    gap: 6px;
    /* margin: 8px 0; */
    justify-content: space-between;
    align-items: center;
}

.parent-container-for-color-dot {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 3px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;

}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.parent-container-for-color-dot.selected {
    border: 3px solid black;
}

.color-box {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    width: 50%;
}

.price {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    display: inline-block;
}

.rating-price {
    font-weight: 700;
    font-size: 19px;
    line-height: 80%;
    color: #000000;
   
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rating span {
    font-weight: 700;
    font-size: 16px;
    line-height: 80%;
    color: #000000;

}


/* End of the style for the card */

.mobile-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.slider-nav {
  background-color: #eee;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  z-index: 1;
}

.mobile-slider-track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 8px;
  flex: 1;
}

.product-category-button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #f8f8f8;
  cursor: pointer;
}

.product-category-button.active {
  background-color: #007bff;
  color: white;
}



.container-for-prodcut-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
@media screen and (min-width: 1299px){
    .container-for-prodcut-cards  .card{
        width: 24%;
    }
}
@media screen and (min-width: 1799px){
    .container-for-prodcut-cards  .card{
        width: 19%;
    }
}

@media screen and (max-width: 768px){
    /* #mobile-category-slider {
        display: block !important;
    } */
    .parent-container-for-product-tab-buttons {
        display: none;
    }
    .product-tab-btn{
        min-width: max-content;
    }
    .slider-nav{
        background-color: transparent;
    }
    .main-container-for-products {
        padding-left: 16px;
        padding-right: 16px;
    }
}



[lang="ar"] {
    .slider-nav {
    transform: rotate(180deg) !important;
    }
}