.single_col {
  .product-item {
    flex-direction: ROW;
    max-height: 180px;

    &:hover {
      .btn-sportify-action {
        transform: unset;
      }
    }

    .sportify-media-wrapper {
      width: 35%;
    }

    .sportify-card-btns-bar {
      display: none;
    }

    .sportify-details {
      width: 100%;
      justify-content: START;
      padding: 0 10px;

      .sportify-card-btns-bar_single {
        position: relative;

        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;

        /* transform: translateY(100%); */

        .btn-sportify-action {
          border-radius: 0;
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          height: 40px;
          font-size: 13px;
          color: #fff !important;
          border: none;
          cursor: pointer;
          gap: 6px;
          transform: unset;
          transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
          text-decoration: none;
          text-transform: capitalize;
        }
      }
    }
  }
}

.sportify-card-btns-bar_single {
  display: none;
}
.sportify-badge-tag {
  height: 16px;
}
/* ===========================
   Badges
=========================== */
.products-details {
  .badge-name {
    transform: rotate(0deg) !important;
  }
}

.product-item {
  .badge-name {
    width: 200px;
    position: absolute;
    top: 25px !important;
    right: -150px !important;
    left: auto;
    background: var(--text-color-primary-bg) !important;
    border-color: var(--text-color-primary-bg) !important;
    color: var(--white-color) !important;
    padding: 5px 50px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transform: rotate(-45deg) !important;
    text-align: center !important;
    z-index: 3 !important;
    border-radius: 0 !important;
    
    svg{
      fill: var(--white-color);
    }
  }
}

[dir="ltr"] .badge-name {
  left: -50px !important;
  right: auto !important;
}

.custom_badge_out {
  color: #616161;
  background: var(--bs-dark-bg-subtle);
}

.custom_badge_out span {
  padding: 5px;
}

.custom_badge_out,
.custom_badge {
  position: absolute;
  top: 0;
  left: 0;
  gap: 10px;
  display: flex;
  /* align-items: start; */
  justify-content: space-between;
  flex-direction: column;
  z-index: 5;
}
[dir="ltr"].custom_badge_out,
.custom_badge {
  align-items: end;
}

[dir="ltr"] .custom_badge_out,
.custom_badge {
  align-items: start;
}
/* 
[dir="ltr"] .custom_badge {
  left: auto;
  right: 0;
} */

.custom_badge .badge-sold,
.custom_badge .remaining-text {
  background: #d1e9ff;
  padding: 0 10px;
  border-radius: 15px;
  font-size: 10px;
  border: 2px solid;
}

/* ===========================
   Product Card
=========================== */

.product-item {
  position: relative;
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-height: 525px;
  /* border: 1px solid #f0f0f0; */
  transition: box-shadow 0.3s ease;
  /* max-width: 300px; */
}

/* ===========================
   Media Wrapper
=========================== */

.sportify-media-wrapper {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.sportify-img-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-image-2 {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 2;
  background-color: #f9f9f9;
  transition: opacity 0.4s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-item:hover .product-card-image-2 {
  opacity: 1;
}

/* ===========================
   Buttons Bar
=========================== */

.sportify-card-btns-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 10;
  overflow: hidden;
}

.btn-sportify-action {
  border-radius: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-weight: 500;
  font-size: 16px;
  color: #fff !important;
  border: none;
  cursor: pointer;
  gap: 6px;
  transform: translateY(100%);
  transition-delay: 0.4s;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
}

@media (max-width: 768px){
 
  .btn-sportify-action {
    font-size: 14px;
  } 

  
  .navy-btn {
    width: 75%;
  }

  .gray-btn,
  .orange-btn {
    width: 25%;

    span{
      display: none;
    }
  }
}

.product-item:hover .btn-sportify-action {
  transform: translateY(0);
}

/* Button Colors */

.orange-btn {
  background-color: var(--text-color-primary-bg);
  /* transition-delay: 0.4s !important; */
  /* transition: transform 0.4s ease; */
}

.navy-btn {
  background-color: var(--primary-color);
}
.gray-btn {
  background-color: #616161;
  /* transition-delay: 0.4s !important; */
  /* transition: transform 0.4s ease; */
}
.black-btn {
  background-color: #1a1a1a;
  /* transition-delay: 0.4s !important; */
  /* transition: transform 0.4s ease; */
}

/* ===========================
   Wishlist Icon
=========================== */

.icon_cont {
  position: absolute;
  top: 4%;
  right: 12px;
  z-index: 20;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  gap: 8px;
}

.product-item:hover .icon_cont {
  opacity: 1;
  transform: translateY(0);
}

[dir="rtl"] .icon_cont {
  right: 0;
  margin-right: 9px;
}

.comparison-trigger,
.wishlist-link,
.add-to-wishlist {
  width: 36px;
  height: 36px;
  /* backdrop-filter: blur(4px); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
  cursor: pointer;
  background: var(--primary-color);
  text-decoration: none;
  color: var(--white-color);
  font-size: 24px;
  transition: all 0.2s ease;
  border: 0;
}

.wishlist-link:hover,
.add-to-wishlist:hover,
.comparison-trigger:hover ,
.comparison-trigger.active {
  background: var(--text-color-primary-bg) !important;
  opacity: 1 !important;
}

#wishlistItems .sportify-wish-pos .add-to-wishlist:hover{
  background: var(--white-color-primary-bg) !important;
  opacity: 1 !important;
}

.add-to-wishlist .product-loader {
  width: 20px !important;
  height: 20px !important;
}

.icon-heart-mask {
  width: 20px;
  height: 20px;
  background-color: #0a1433;
  -webkit-mask: url("data:image/svg+xml,...") no-repeat center / contain;
}

.icon-heart-mask.filled {
  background-color: #e44321 !important;
}

/* ===========================
   Details Section
=========================== */

.sportify-details {
  padding: 16px;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.sp-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  width: 100%;
  margin: 0;
}

.sp-price-box {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-direction: column;
  /* width: 30%; */
}

.sp-current-price {
  font-weight: bold;
  color: var(--text-color-primary-bg);
  font-size: 16px;
}

.sp-old-price {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
}

.sp-category {
  font-size: 11px;
  color: #888;
  margin-top: 5px;
}

/* ===========================
   Titles Section
=========================== */

.main__title__sportify .container {
  display: flex;
}

.main__title__sportify .container.align-left {
  justify-content: flex-end;
}
.main__title__sportify .container.align-right {
  justify-content: flex-start;
}
.main__title__sportify .container.align-center {
  justify-content: center;
}

/* ===========================
   Product Details Page Title
=========================== */

.products-details-page .special__title__sportify {
  width: clamp(17.5rem, 13.5rem + 16.8vw, 34rem);
  border: 3px solid var(--primary-color);
  text-align: center;
  position: relative;
  height: clamp(4.5rem, 3.4rem + 4.7vw, 10rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background-size: cover !important;
  margin: 45px !important;
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 768px) {
  .btn-sportify-action {
    transform: translateY(0) !important;
    font-size: 12px;
  }

  .icon_cont {
    opacity: 1 !important;
    transform: translateY(0) !important;
    top: 8px;
    right: 8px;
  }

  .products-details-page .special__title__sportify {
    margin-top: 50px;
    margin-bottom: 35px;
    padding-block: 35px;
  }

  #related-products .product-item {
    width: unset;
  }


  .wishlist-card .navy-btn{
    width: 100%  !important ;
  }
}

@media (max-width: 425px) {
  #related-products .product-item {
    width: 145px;
  }
}
