.header-logo,
.header-cart {
  width: 20%;
}

.header-cart {
  flex-grow: unset;
}

.search-header-bar {
  height: 100px;
}

.search-header-bar > * {
  height: 100%;
}

.search-input > div {
  width: 100%;
}

.search-input-icon {
  position: absolute;
  font-size: 22px;
  top: 8px;
  left: 4px;
}

.rtl .search-input-icon {
  left: unset;
  right: 4px;
  top: 9px;
}

.search-input-input {
  padding-left: 30px;
  min-height: 40px;
  max-height: 40px;
}

.rtl .search-input-input {
  padding-left: inherit;
  padding-right: 30px;
}

.icon-shopping_cart_black_36dp-1-1,
.sm-search-icon > span {
  font-size: 32px;
}

.icon-shopping_cart_black_36dp-1-1 .path1:before {
  color: unset;
}

.icon-shopping_cart_black_36dp-1-1 .path2:before {
  color: unset;
}

.icon-language_black_24dp .path1:before {
  color: unset;
}

.cart-badge {
  position: absolute;
  right: 15px;
  top: -8px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 10px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background-color: #ab0000;
}

.rtl .cart-badge {
  right: unset;
  left: 15px;
}

.top-main-menu-wrapper {
  margin-right: -22px;
  margin-left: -22px;
}

.ic.menu {
  text-align: left;
  position: relative;
  right: 4px;
}

.rtl .ic.menu {
  text-align: right;
  right: unset;
  left: 4px;
}

.ic.menu,
.sm-search-icon {
  margin-right: 20px;
}

.icon-menu-top {
  margin-right: 10px !important;
  text-decoration: unset;
}

.rtl .ic.menu,
.sm-search-icon {
  margin-right: unset;
  margin-left: 20px;
}

.rtl .icon-menu-top {
  margin-right: unset !important;
  margin-left: 10px !important;
}

.icon-menu-top > span {
  font-size: 32px;
}

.icon-menu_open_black_24dp-1:before {
  color: unset;
}

.sm-search-div {
  display: none;
  visibility: hidden;
  position: absolute;
  left: 0;
  padding: 0px 15px 20px 15px;
  width: 100%;
  background-color: var(--header-primary-color, var(--primary-color));
  transform: translateY(-100%);
  transition: all 0.3s ease;
  z-index: 1;
}

.sm-search-div.show {
  visibility: visible;
  transform: translateY(0%);
  -webkit-transform: translate3d(0, 0, 0);
}

.footer .apps-social-icons:nth-child(2) {
  padding-left: 0px;
}

.rtl .footer .apps-social-icons:nth-child(2) {
  padding-right: 0px;
  padding-left: 15px;
}

.footer .google-app-stores {
  margin-left: -4px;
  margin-right: -4px;
}

.footer .icons-wrapper {
  padding: 0px;
}

.footer-about-us-links-div {
}

.footer-about-us-div {
  padding-right: 20%;
}

.rtl .footer-about-us-div {
  padding-right: unset;
  padding-left: 20%;
}

.slick-dotted.slick-slider {
  margin-bottom: 0px;
}

.main-slider .slick-dots {
  bottom: 12px;
}

.main-slider .slick-dots li button:before {
  font-size: 14px;
}

.features-section-img {
  max-height: 90px;
  max-width: 90px;
}

.slick-next.slick-arrow > span,
.slick-prev.slick-arrow > span {
  color: var(--primary-color);
  font-size: 3.3rem;
}

.category-item a,
.category-item img {
  display: block;
  text-align: center;
  width: 100%;
  text-decoration: none;
}

.category-item img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.category-item h3 {
  margin-top: 15px;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: var(--primary-color);
  /* white-space: break-spaces; */
}

.category-page-slider .category-item h3 {
  font-size: 1.2rem;
}

.categories-slider .category-item {
  width: 100%;
  max-width: 200px;
}

.slider-container {
  padding-left: 15px;
  padding-right: 15px;
}
.main-slider .slider-item {
}

.section-title {
  padding-left: 0px;
  padding-right: 0px;
}

.products-slider .prod-col,
.categories-slider .cat-col {
  padding-left: 15px;
  padding-right: 15px;
  display: block;
  width: auto;
}

.category-page-slider .categories-slider.s-slider {
  margin-right: -15px;
  margin-left: -15px;
}

.category-page-slider .home-categories-section .section-title {
  margin-right: -15px;
  margin-left: -15px;
}

.category-page-slider .products-slider .prod-col,
.categories-slider .cat-col {
  padding-left: 15px;
  padding-right: 15px;
}

.categories-slider-wrapper,
.products-slider-wrapper,
.testimonials-slider-wrapper,
.partners-slider-wrapper {
  margin-right: -15px;
  margin-left: -15px;
}

.products-list .prod-col,
.bundle-offer-products .prod-col {
  width: 20%;
  padding: 15px;
}

.products-list .prod-col-attr {
  width: 25%;
}

/* .sort-block-width {
  margin-left: 30px;
} */

/* .rtl .sort-block-width {
  margin-left: 0px;
  margin-right: 30px;
} */

.select-dropdown .dropdown-item {
  padding-bottom: 7.5px;
  padding-top: 7.5px;
}

#products-list-filter-form-close {
  width: 44px;
  height: 44px;
  position: absolute;
  right: 0;
  top: 0;
}

.rtl #products-list-filter-form-close {
  right: unset;
  left: 0;
}

.products-pagination {
  margin-bottom: 24px;
  padding: 0 15px;
}

.products-pagination ul {
  padding: 0px;
}

.products-pagination .page-link {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.products-pagination .page-link.active {
  color: #ffffff;
  background-color: var(--primary-color);
}

.rtl .products-pagination .page-item:first-child .page-link {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.rtl .products-pagination .page-item:last-child .page-link {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.products-container .products-list {
  margin-bottom: 24px;
}

.cart-header-total {
  margin-right: 10px;
  font-size: 1.6rem;
  color: var(--header-text-color-primary-bg, var(--text-color-primary-bg));
}

.rtl .cart-header-total {
  margin-right: unset;
  margin-left: 10px;
}

.form-control {
  border-radius: 3px;
}

.box-1-1 {
  position: relative;
  width: 100%;
}

.box-1-1:before {
  content: "";
  display: block;
  padding-top: 100%; /* initial ratio of 1:1*/
}

.box-1-1 .content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Other ratios - just apply the desired class to the "box" element */
.box-1-1.ratio2_1:before {
  padding-top: 50%;
}
.box-1-1.ratio1_2:before {
  padding-top: 200%;
}
.box-1-1.ratio4_3:before {
  padding-top: 75%;
}
.box-1-1.ratio16_9:before {
  padding-top: 56.25%;
}

.box-1-1.ratio21_9:before {
  padding-top: 42.85%;
}

.product-item-out-of-stock {
  filter: grayscale(1);
}

.sm-search-div .autocomplete-items,
.lg-search-div .autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.sm-search-div .autocomplete-items div,
.lg-search-div .autocomplete-items div {
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.sm-search-div .autocomplete-items div:hover,
.lg-search-div .autocomplete-items div:hover {
  background-color: #e9e9e9;
}

.sm-search-div .autocomplete-items div a,
.lg-search-div .autocomplete-items div a {
  padding: 10px;
  cursor: pointer;
  color: inherit;
  display: block;
}

.product-crd-spec {
  min-height: 81px;
}

.gallery-section + .gallery-section {
  padding-top: 0px;
}

.ic-menu-back {
  font-size: 22px;
  margin-right: 16px;
  font-weight: bold;
}

.rtl .ic-menu-back {
  margin-right: unset;
  margin-left: 16px;
}

@media (max-width: 768px) {
  .header-cart {
    flex-grow: 1;
    width: 30%;
  }

  .header-logo {
    width: 70%;
  }

  .search-header-bar {
    height: 64px;
  }

  .footer .apps-social-icons:nth-child(2) {
    padding-left: 15px;
  }

  .rtl .footer .apps-social-icons:nth-child(2) {
    padding-right: 15px;
    padding-left: 15px;
  }

  .footer .icons-wrapper {
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .footer-about-us-div {
    padding-right: 0;
  }

  .rtl .footer-about-us-div {
    padding-right: unset;
    padding-left: 0;
  }

  .category-page-slider .categories-slider {
    height: 225px;
  }

  .categories-slider .category-item {
    width: 190px;
  }

  .category-page-slider .categories-slider .category-item {
    width: 165px;
  }

  .category-page-slider .categories-slider.s-slider {
    margin-right: -7.5px;
    margin-left: -7.5px;
  }

  .category-page-slider .products-slider .prod-col,
  .categories-slider .cat-col {
    padding-left: 7.5px;
    padding-right: 7.5px;
  }

  .products-slider .prod-col,
  .categories-slider .cat-col,
  .testimonials-slider .testimonials-customer-card,
  .partners-slider .partners-item {
    display: inline-block;
    vertical-align: top;
  }

  .partners-slider .partners-item {
    vertical-align: middle;
  }

  .categories-slider,
  .products-slider,
  .testimonials-slider,
  .partners-slider {
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
  }
  .product-crd-spec small {
    white-space: break-spaces;
  }

  .testimonials-slider::-webkit-scrollbar {
    width: 0 !important;
  }

  .categories-slider-wrapper,
  .products-slider-wrapper,
  .testimonials-slider-wrapper,
  .partners-slider-wrapper {
    overflow-x: hidden;
    margin-right: 0px;
    margin-left: 0px;
  }

  .slider-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .main-slider,
  .main-slider .slider-item {
  }

  .main-slider .slick-dots li button:before {
    font-size: 10px;
  }

  .main-slider .slick-dots {
    bottom: 4px;
  }

  .section-title {
    padding-right: 15px;
    padding-left: 15px;
  }

  .products-list .prod-col,
  .bundle-offer-products .prod-col {
    margin: 0 auto;
    width: auto;
  }

  .products-list .prod-col,
  .products-list .prod-col-attr {
    width: 50%;
  }

  .products-list .prod-col .product-item {
    width: 100%;
  }

  .sm-search-div {
    display: block;
  }

  .icon-shopping_cart_black_36dp-1-1,
  .sm-search-icon > span {
    font-size: 28px;
  }

  .icon-menu-top {
    width: 32px;
  }
}

.btn:focus,
.btn:active,
.page-link:focus,
.page-link:active {
  outline: none !important;
  box-shadow: none;
}

.gift-popover-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 115px;
  height: 140px;
  max-width: 100%;
}
.popover {
  top: 40px;
}
.popover .arrow {
  top: -0.5rem;
  left: 5px;
}
.popover .arrow::before {
  top: 0;
  border-width: 0 0.5rem 0.5rem;
  border-bottom-color: #fff;
}
.popover .arrow ::after {
  top: 1px;
  border-width: 0 0.5rem 0.5rem;
  border-bottom-color: #fff;
}

.products-details {
  color: var(--primary-color);
}
/* Single page */

.products-details {
  color: var(--primary-color);
}
@media (max-width: 992px) {
  .products-details .row {
    flex-direction: column;
  }
  .products-details > div > .row > div:nth-child(1) {
    order: 2;
    margin-top: 16px;
  }
  .products-details > div > .row > div:nth-child(2) {
    order: 1;
  }
  .products-details > div > .row > div:nth-child(3) {
    order: 3;
  }
}
.product_product_title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}
.product-images-container .gallery img.carousel-img {
  height: 350px;
  width: 100%;
}
.product-images-container .gallery .slick-slide:first-child img.carousel-img {
  object-fit: cover;
}
.product_product_short_description {
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
}
.product_buttons_wrapper {
  display: flex;
  align-items: center;
  gap: 0 16px;
  margin-bottom: 40px;
  margin-top: 10px;
  @media (max-width: 992px) {
    margin-bottom: 20px;
  }
}
.product-share-button {
  position: relative;
  cursor: pointer; /* لإظهار علامة اليد عند الوقوف على الزر */
}

.product-share-button .share-buttons {
  position: absolute;
  bottom: 0;
  left: 50%;
  /* جعلته يظهر أسفل الأيقونة كما في الكود الأصلي */
  transform: translate(-50%, 100%) scale(0.4);
  transform-origin: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 5px;
  background: #fff; /* أضفت خلفية بيضاء لضمان ظهور الأيقونات */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 10;
}

/* التعديل هنا: بدلاً من :hover نستخدم .active */
.product-share-button.active .share-buttons {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 100%) scale(1);
  transform-origin: center;
}
.sport-heart,
.product-share-button {
  background-color: #f2f4f7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border: none;
  cursor: pointer;
  font-size: 18px;
  @media (min-width: 768px) {
    transform: translateY(calc(-100% - var(--offset)));
    transition: transform 0.4s ease;
  }
}

.product-share-button svg {
  width: 24px;
  stroke: var(--primary-color);
}

.products-details .product-share-button svg {
  width: clamp(1.333rem, 1.1711rem + 0.5181vw, 2rem);
}
@media (max-width: 768px) {
  .products-details .product-share-button svg {
    width: 22px;
  }
}

.products-details .product_price p {
  margin: 0;
}

.product_specifications_wrapper {
  display: flex;
  flex-direction: column;
}
.product_specifications_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}
.product_specifications_item .specifications_label {
  display: flex;
  align-items: center;
  gap: 0 8px;
}
.specifications_label h4 {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  color: var(--color-primary);
}
.specifications_value {
  display: flex;
  align-items: center;
}
.specifications_value p,
.specifications_value h4 {
  margin: 0;
}
.specifications_value .product-formatted-price-discount {
  display: none;
}
.specifications_value .product-formatted-price-old {
  font-size: 14px;
  color: #929292;
  margin-right: 11px;
}
.lrt .specifications_value .product-formatted-price-old {
  margin-left: 11px;
  margin-left: 0;
}
.product_specifications_item .specifications_value,
.specifications_value .product-formatted-price {
  font-size: 18px;
  font-weight: 500;
}
.product_specifications_item:nth-child(1) {
  border: none;
}
.product-features .product_rating_label {
  font-size: 16px;
  font-weight: 500;
}
.product-features .product-card-rating-count {
  font-size: 14px;
  font-weight: 300;
  color: #1f1f1fc9;
}
 .product-features .product-card-rating .icon-star1::before {
  font-size: 20px;
  /* color: #ffc62a;*/
} 
#product-variants-options ul {
  flex-wrap: wrap;
}
#product-variants-options [name="المقاسات"] {
  display: flex;
}
#product-variants-options [name="المقاسات"] li {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f2f4f7;
}
#product-variants-options [name="المقاسات"] span {
  font-size: 20px;
  font-weight: 300;
  color: #0c19447d;
}
#product-variants-options [name="المقاسات"] .active span {
  font-weight: 500;
  color: var(--white-color);
}
#product-variants-options [name="المقاسات"] .active {
  background-color: var(--text-color-primary-bg);
  border-color: var(--text-color-primary-bg) !important;
}
#product-variants-options .form-group label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.products-details-page .product-features,
#productModal .product-features {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product_price_label {
  font-size: 16px;
  font-weight: 500;
}
.col-product-info .product_price {
  display: flex;
  gap: 0 5px;
}
.col-product-info .product-formatted-price {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-color-primary-bg);
  margin: 0;
  @media (max-width: 1528px) {
    font-size: 18px;
  }
  @media (max-width: 992px) {
    font-size: 24px;
  }
}
.col-product-info .product-formatted-price-old {
  font-size: 16px;
  color: #1f1f1fad;
}
.col-product-info .product-formatted-price-discount {
  display: none;
}
.col-product-info .select-quantity-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 8px;
}
.select-quantity-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.select-quantity-div .product-title {
  margin: 0;
}
.quantity_wrapper {
  padding-block: 7px;
  display: flex;
  max-width: 198px;
  flex: 1 1 0%;
  border: 1px solid #f2f4f7;
}
.quantity_wrapper::after {
  display: none !important;
}
.quantity_wrapper > * {
  flex: 1 1 0%;
  border-right: 1px solid #f2f4f7 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quantity_wrapper > button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.quantity_wrapper > button:focus {
  outline: none;
}
.quantity_wrapper > span {
  font-size: 20px;
}
.quantity_wrapper > input[readonly] {
  width: 20px;
  border: none;
  background: transparent;
  text-align: center;
  pointer-events: none;
  font-size: 20px;
}
.quantity_wrapper > *:nth-child(1) {
  border: none;
}
.products-details-page .btn-add-to-cart,
#productModal .btn-add-to-cart {
  background-color: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 6px;
  padding-block: 15px;
  transition: all ease 0.3s;
}
.products-details-page .btn-add-to-cart:hover {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);

  .add-to-cart-icon {
    background-color: var(--primary-color);
    color: var(--primary-color) !important;
  }
}
.relatedpro .product-item {
  max-width: unset;
}
.products-details-page .btn-add-to-cart span,
#productModal .btn-add-to-cart span {
  font-size: 20px;
}
#productModal {
  .modal-dialog {
    min-width: 500px;
    max-width: 1050px;
    @media (max-width: 1080px) {
      max-width: 90%;
      margin-inline: auto;
    }
    @media (max-width: 550px) {
      min-width: 95%;
      max-width: 95%;
      margin-inline: auto;
    }
  }
}
#productModal .products-details {
  margin-top: 20px;
}
#productModal {
  align-content: center;
}
#notifyModal {
  align-content: center;
}
#productModal .row {
  margin: 0;
}
#productModal .slick-list {
  padding: 0 !important;
  margin: 0 50px !important;
}
#productModal {
  .col-product-info .product-formatted-price {
    font-size: 18px;
  }
  .products-details-page .btn-add-to-cart span,
  #productModal .btn-add-to-cart span {
    font-size: 15px;
  }
  .quantity_wrapper {
    max-width: 148px;
    padding-block: 7.5px;
  }
  .quantity_wrapper > span {
    font-size: 15px;
  }
  .btn.btn-add-to-cart {
    padding-block: 10px;
  }
  .product_product_title {
    font-size: 18px;
  }
  .product_product_short_description {
    font-size: 13.5px;
  }
  .product_specifications_item .specifications_value,
  .specifications_value .product-formatted-price {
    font-size: 13.5px;
  }
  .product-title {
    font-size: 12px;
  }
  .add-to-wishlist {
    position: absolute;
    right: 0;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* margin: 10px; */
    width: 40px;
    height: 35px;
    cursor: pointer;
    border-radius: 5px;
    /* background-color: white; */
  }

  .icon-heart-mask {
    display: inline-block;
    width: 23px;
    height: 25px;
    mask-size: 100%;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-image: var(--heart-outlined-icon);
    background-color: var(--secondary, #a1a0a9);
  }
  .filled {
    fill: #ab0000;
  }
  .icon-heart-mask.filled {
    mask-image: var(--heart-filled-icon);
    background-color: var(--primary_color, #ff0000);
    border: 1px solid #ff0000;
  }
  .sport-heart,
  .product-share-button {
    width: 35px;
  }

  .products-details .product-share-button svg,
  .specifications_label svg {
    width: 18px;
  }
}
#productModal .row > * {
  padding-left: 0;
  padding-right: 0;
}
[dir="rtl"] #productModal .slick-next {
  right: auto;
  left: 20px;
  z-index: 2;
  background-color: rgba(204, 204, 204, 0.7);
  border-radius: 50%;
  opacity: 0.5;
}
[dir="rtl"] #productModal .slick-prev {
  right: 20px;
  left: auto;
  z-index: 2;
  border-radius: 50%;
  background-color: rgba(204, 204, 204, 0.7);
  opacity: 0.5;
}
[dir="ltr"] #productModal .slick-next {
  left: auto;
  right: 20px;
  z-index: 2;
  background-color: rgba(204, 204, 204, 0.7);
  border-radius: 50%;
  opacity: 0.5;
}
[dir="ltr"] #productModal .slick-prev {
  left: 20px;
  right: auto;
  z-index: 2;
  border-radius: 50%;
  background-color: rgba(204, 204, 204, 0.7);
  opacity: 0.5;
}
#product-images-slick-quick-view {
  max-height: 500px;
}
.tabs .tabs_header {
  display: flex;
  gap: 0 5px;
  border-bottom: 1px solid #f2f4f7;
}
.tabs_item {
  font-size: 20px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
  @media (max-width: 768px) {
    font-size: 14px;
  }
}
.tabs_item.active {
  background-color: var(--primary-color);
  color: var(--white-color);
  cursor: default;
  font-weight: 500;
}
.tabs_item.active .description-title {
  color: var(--white-color);
}
.tabs_item p {
  margin: 0;
}

.tabs_content {
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none;
}
.tabs_content.active {
  height: auto;
  margin-top: 3rem;
  visibility: visible;
  opacity: 1;
  display: flex;
}

/* Product card*/
.image_container_sportify {
  aspect-ratio: 1/1.35;
  overflow: clip;
}
.image_container_sportify img {
  aspect-ratio: 1/1.35;
}
.image_container_sportify .product-card-image {
  opacity: 1;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.image_container_sportify .product-card-image-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
  visibility: hidden;
  object-fit: contain;
  object-position: center;
  transition: all 0.3s ease;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.product-item .content:hover .product-card-image-2 {
  visibility: visible;
  opacity: 1;
}
.product-item .content:hover .not_single_image .product-card-image {
  visibility: hidden;
  opacity: 0;
}
/*
.image_container_sportify:hover .product-card-image-2{
}
*/
.product-item .product-info {
  padding-block: clamp(0.75rem, 0.568rem + 0.5825vw, 1.5rem);
  border-bottom: 1px solid var(--primary-color-op-2);
}
.product-item .product-title {
  font-size: clamp(1rem, 0.7573rem + 0.7767vw, 2rem);
  max-width: 60%;
}
.product-item .product-price {
  color: var(--text-color-primary-bg);
  font-weight: 700;
  font-size: clamp(1rem, 0.7573rem + 0.7767vw, 2rem);
  margin-bottom: 0;
}
.wish-list-wrapper {
  --offset: clamp(0.583rem, 0.401rem + 0.5825vw, 1.333rem);
  width: fit-content;
  position: absolute;
  top: 0;
  right: var(--offset);
  overflow: clip;
  z-index: 2;
}
.content .product-card-wish-list {
  background-color: var(--primary-color-op-4);
  border-radius: 50%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--offset);
  width: clamp(2rem, 1.3527rem + 2.0715vw, 4.667rem);
  border: none;
  cursor: pointer;
  @media (min-width: 768px) {
    transform: translateY(calc(-100% - var(--offset)));
    transition: transform 0.4s ease;
  }
}
.product-card-wish-list svg {
  width: clamp(1.5rem, 1.3786rem + 0.3883vw, 2rem);
}
.content .add-to-cart-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: clip;
  z-index: 2;
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
.content .product-card-out-of-stock {
  position: absolute;
  width: fit-content;
  height: fit-content;
  top: 75px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 5px 0;
  z-index: 2;
}
.product-card-out-of-stock small {
  color: var(--white-color);
  background-color: red;
  padding: 5px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
.content .product-card-options {
  position: absolute;
  width: fit-content;
  height: fit-content;
  top: 16px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px 0;
  z-index: 2;
}
.product-card-options small {
  color: var(--white-color);
  background-color: var(--text-color-primary-bg);
  padding: 5px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  width: fit-content;
}
.add-to-cart-wrapper .product-card-add-to-cart,
.add-to-cart-wrapper .btn-product-card-out-of-stock {
  padding-block: clamp(0.667rem, 0.3435rem + 1.0353vw, 2rem);
  padding-inline: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--white-color);
  border-radius: 0;
  @media (min-width: 768px) {
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }
}
.add-to-cart-wrapper .product-card-quick-view {
  padding-block: clamp(0.667rem, 0.3435rem + 1.0353vw, 2rem);
  padding-inline: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--white-color);
  background-color: var(--text-color-primary-bg);
  border-color: var(--text-color-primary-bg);
  border-radius: 0;
  @media (min-width: 768px) {
    transform: translateY(100%);
    transition: transform 0.4s ease;
    transition-delay: 0.4s;
  }
}
.add-to-cart-wrapper .product-card-add-to-cart span,
.add-to-cart-wrapper .product-card-quick-view span,
.add-to-cart-wrapper .btn-product-card-out-of-stock span {
  font-size: clamp(0.75rem, 0.568rem + 0.5825vw, 1.5rem);
  font-weight: 500;
}
@media (max-width: 768px) {
  .add-to-cart-wrapper .product-card-add-to-cart span,
  .add-to-cart-wrapper .product-card-quick-view span,
  .add-to-cart-wrapper .btn-product-card-out-of-stock span {
    font-size: 12px;
  }
}
.add-to-cart-wrapper .product-card-add-to-cart svg,
.add-to-cart-wrapper .product-card-quick-view svg {
  width: clamp(1.333rem, 1.2116rem + 0.3883vw, 1.833rem);
  height: clamp(1.333rem, 1.2116rem + 0.3883vw, 1.833rem);
}
.add-to-cart-wrapper .product-card-add-to-cart .three-body {
  --uib-size: clamp(1.333rem, 1.2116rem + 0.3883vw, 1.833rem);
}
.add-to-cart-wrapper .out-of-stock-label,
.add-to-cart-wrapper .btn-product-card-out-of-stock {
  text-overflow: ellipsis;
  overflow: hidden;
}
.product-item .content {
  position: relative;
}
.product-item .content:hover .product-card-add-to-cart,
.product-item .content:hover .product-card-quick-view,
.product-item .content:hover .product-card-wish-list,
.product-item .content:hover .btn-product-card-out-of-stock {
  @media (min-width: 768px) {
    transform: translateY(0);
  }
}
.product-item .content:not(:hover) .product-card-quick-view {
  transition-delay: 0s;
}
.product-item .product-price {
  color: var(--text-color-primary-bg);
}
.product-item .product-card-description {
  padding-top: clamp(0.75rem, 0.568rem + 0.5825vw, 1.5rem);
}
.product-card-description .product-card-category-name {
  font-size: clamp(1rem, 0.7573rem + 0.7767vw, 2rem);
  color: var(--text-color-primary-bg);
  margin: 0;
  color: var(--color-primary);
}
.product-card-description .product-card-rating-wrapper {
  font-size: 16px;
}
.product-card-rating-wrapper .icon-star1::before {
  color: #ffc62a;
}
.section-product-price .product-price-discount {
  color: #1f1f1fad;
  font-size: clamp(0.75rem, 0.568rem + 0.5825vw, 1.5rem);
  text-align: center;
}
@media (max-width: 768px) {
  .section-product-price .product-price-discount {
    font-size: 11px;
  }
}
.products-details-page .product-prev-price {
  color: var(--text-color-primary-bg);
  display: flex;
  justify-content: flex-end;
  font-weight: 700;
  font-size: 13px;
}
.form-notify-me {
  border: 1px solid var(--primary-color);
  padding: 15px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-notify-me-phone-row {
  display: flex;
  gap: 20px;
  direction: ltr;
}
.form-notify-me-phone-row > input:first-child {
  max-width: 80px;
}
.form-notify-me-submit-button-row {
  display: flex;
  justify-content: end;
}
.btn-send-notify {
  margin-left: 15px;
  width: 100px;
  height: 40px;
}
.rtl .btn-send-notify {
  margin-left: unset;
  margin-right: 15px;
}
/* Style for our custom quantity controls */
.select-quantity-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.select-quantity-div .product-title {
  margin: 0;
}
.quantity_wrapper {
  padding-block: 7px;
  display: flex;
  max-width: 198px;
  flex: 1 1 0%;
  border: 1px solid #f2f4f7;
}
.quantity_wrapper::after {
  display: none !important;
}
.quantity_wrapper > * {
  flex: 1 1 0%;
  border-right: 1px solid #f2f4f7 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quantity_wrapper > button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.quantity_wrapper > button:focus {
  outline: none;
}
.quantity_wrapper > span {
  font-size: 20px;
}
.quantity_wrapper > input[readonly],
#product-quantity {
  width: 20px;
  border: none;
  background: transparent;
  text-align: center;
  pointer-events: none;
  font-size: 20px;
}
.quantity_wrapper > *:nth-child(1) {
  border: none;
}
/* الحاوية الخارجية للمفضلة داخل الكارد */
.sportify-wishlist-hover {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  opacity: 0; /* مخفية افتراضياً */
  visibility: hidden;
  transition: all 0.3s ease;
}

/* إظهار المفضلة عند تمرير الماوس على المنتج */
.product-item:hover .sportify-wishlist-hover {
  opacity: 1;
  visibility: visible;
}
/* حاوية القلب فوق الصورة */
.sportify-wishlist-wrapper {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 25;
  opacity: 0; /* مخفي افتراضياً ويظهر عند الحوم */
  transition: all 0.3s ease-in-out;
}

/* إظهار القلب عند تمرير الماوس على المنتج */
.product-item:hover .sportify-wishlist-wrapper {
  opacity: 1;
}
.sportify-action-bar {
  display: none;
}

.wish-circle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.icon-heart-mask {
  width: 20px;
  height: 20px;
  background-color: #0a1433;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l8.84-8.84 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat center / contain;
}

.icon-heart-mask.filled {
  background-color: #e44321 !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'%3E%3C/path%3E%3C/svg%3E");
}
