/* ==========================Product CSS=============================== */

.productSliderHome,
#product-grid,
.related-products
{
  .slick-list.draggable {
    overflow: hidden;
    @media screen and (max-width: 1199px) {
      overflow: hidden;
    }
  }

  .itemProducts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    overflow: hidden;
    position: relative;
    .wrapperProductDetails {
      display: flex;
      flex-direction: column;
      width: 100%;
      justify-content: flex-start;
      position: relative;
      background-color: var(--light);
      border-radius: 5px;
      border: 1px solid rgb(0 0 0 / 16%);
      .proType {
        font-size: 14px;
        line-height: 1;
        font-family: var(--texts);
        color: black;
        font-weight: 500;
      }
      .proPrice {
        font-size: 18px;
        font-weight: bold;
        color: var(--dark);
        margin-top: 15px;
      }
      .refNumber {
        font-size: 13px;
        line-height: 1;
        font-family: var(--texts);
        color: rgb(0 0 0 / 60%);
        font-weight: 500;
        margin-top: 8px;
      }
      .small {
        font-size: 12px;
        color: var(--dark);
      }
      /*&:after {
        content: "";
        background-color: white;
        border: 1px solid rgb(0 0 0 / 10%);
        position: absolute;
        height: 300px;
        width: 100%;
        z-index: -1;
        bottom: 0;
        left: 0;
        border-radius: 15px;
      }*/
    }
    figure {
      margin: 0;
      height: 340px;
      background-repeat: no-repeat;
      background-size: cover;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: end;
      border-radius: 5px 5px 0 0;
      background-position: center;
      margin-bottom: 0px;
    }
    .heightFix {
      min-height: 100px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 15px;
      @media (max-width:1199px) {
        align-items: center;
      }
    }
    a.titleProduct {
      color: var(--dark);
      width: 100%;
      font-size: 17px;
      font-family: var(--headings);
      font-weight: 400;
      position: relative;
      padding: 0;
      display: flex;
      min-height: 70px;
      line-height: 25px;
      @media screen and (max-width: 1199px) {
        justify-content: center;
      }
    }
    .productFooter {
      display:none !important;
      .masterBtns {
        button {
          height: 50px;
        }
        .titleProduct {
          height: 50px;
          min-height: auto;
        }
      }
    }
    quantity-input.quantity {
      display: none;
    }
    .collection-cart {
      justify-content: center;
      gap: 15px;
      button {
        font-size: 14px;
        line-height: 60px;
        font-family: var(--button);
        padding: 15px;
        font-weight: 600;
        display: flex;
        border-radius: 80px;
        transition: var(--ease);
        min-width: auto;
        justify-content: center;
        background-color: #fff;
        width: auto;
        border: none;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 1px;
        svg {
          path {
            stroke: white;
          }
        }
      }
      a.titleProduct {
        background-color: var(--dark);
        padding: 15px !important;
        width: auto !important;
        border-radius: 100px;
      }
    }
    &:hover {
      .productFooter {
        transition: var(--ease);
        transform: translateY(-15px);
        z-index: 2;
      }
    }
  }
  span.prev.arrows {
    left: -90px;
    border-color: var(--primary);
    svg {
      fill: var(--primary);
    }
  }
  .stock-status {
      position: absolute;
      top: 0;
      span {
        font-size: 10px;
        font-weight: 600;
        font-family: 'Sharp Sans';
        position: relative;
        background-color: var(--dark);
        border-radius: 20px;
        color: var(--light);
        padding: 5px 10px 5px 20px;
        &:after {
          content: "";
          position: absolute;
          width: 5px;
          height: 5px;
          background-color: #00b878;
          border-radius: 100px;
          left: 8px;
          top: 8px;
        }
      }
      .stockout {
        &:after {
          background-color: red;
        }
      }
    }
  .productFooter {
    display: flex;
    width: 100%;
    justify-content: center;
    .masterBtns {
      display: flex;
      width: 100%;
      justify-content: center;
    }
    .collection-cart {
      display: flex;
      width: 100%;
    }
  }
  ul.slick-dots {
    justify-content: flex-start;
    @media screen and (max-width: 1199px) {
      justify-content: center;
    }
  }
  .slick-track .itemProducts:nth-child(2n) button {
    background-color: var(--dark);
    color: white;
  }
  .slick-track .itemProducts:nth-child(2n + 1) button {
    background-color: var(--dark);
    color: white;
  }
  .slick-track .itemProducts:nth-child(2n + 3) button {
    background-color: var(--dark);
    color: white;
  }
   .itemProducts:nth-child(2n) button {
    background-color: var(--dark);
    color: white;
  }
   .itemProducts:nth-child(2n + 1) button {
    background-color: var(--dark);
    color: white;
  }
   .itemProducts:nth-child(2n + 3) button {
    background-color: var(--dark);
    color: white;
  }
  .productFooter {
    position: absolute;
    z-index: 0;
    bottom: 0;
    width: 80%;
    display: flex;
    max-width: 80%;
    transition: var(--ease);
    transform: translateY(25vh);
  }
}
