﻿
.black_box {
    max-width: 1500px;
    /* padding: 0px 40px; */
    margin: 0 auto;
  }

  .black_box .content_box {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .black_box .content_box .box_item {
    width: 20%;
    padding: 10px;
    background-color: #fff;
    position: relative;
    margin-top: 10px;
  }

  .black_box .content_box .box_item::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    right: 6px;
    pointer-events: none;
    background-color: #00000007;
  }

  .black_box .content_box .box_item .box_content {
    position: relative;
    padding-bottom: 20px;   
  }

  .box_image {
    width: 100%;
    height: 404px;
    display: flex;
    align-items: center;
    justify-content: center;
  overflow: hidden;
  }

  .box_image img {
    max-width: 100%;
    display: block;
    height: auto;
    z-index: 1;
  }

  .box_content .title {
    max-width: 100%;
    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    overflow: hidden;
    /* padding: 4px 10px; */
    /* font-size: 15px; */
  }

  .box_content .price {
    padding: 4px 10px;
    font-weight: 700;
    color: #1C1D1D;
    font-size: 1em;
    font-family: '-apple-system';
  }

  @media screen and (max-width: 3840px) and (min-width: 861px) {
    .wishlist {
      z-index: 200;
      width: 40px;
      height: 40px;
      border-top-right-radius: 5px;
      border-radius: 50%;
      border: 2px solid #e0dcdb;
      color: #e0dcdb;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      bottom: 18%;
      left: 1%;
      /* opacity: 0; */
      font-size: 18px;
      font-weight: bold;
    }

    .wishlist:hover {
      background-color: rgb(186, 6, 6);
      border: none;
    }

    .wishlistfoucs {
      background-color: rgb(186, 6, 6);
      border: none;
    }

    .Addcart_icon {
      position: absolute;
      top: -10px;
      right: -5px;
      background: #000;
      font-size: 30px;
      color: #fff;
      border-radius: 50%;
      width: 40px;
      line-height: 40px;
      vertical-align: middle;
      text-align: center;
      opacity: 0;
      z-index: 10;
    }

    .box_image img:hover {
      transition: all .5s ease-in-out;
      transform: scale(1.1);
    }

    .Addcart_icon:hover {
      transition: all .1s ease-in-out;
      transform: scale(1.1);
    }

    .box_content:hover .Addcart_icon {
      transition: opacity .6s ease-in-out;
      opacity: 1;
    }
  }

  @media screen and (max-width: 1340px) and (min-width: 1200px) {
    .black_box .content_box .box_item {
      width: 25%;
    }

    .box_image {
      height: 300px;
      overflow: hidden;
    }

    .wishlist {
      bottom: 23%;
    }

  }

  @media screen and (max-width: 1199px) and (min-width: 861px) {
    .black_box .content_box .box_item {
      width: 33%;
    }

    .wishlist {
      bottom: 23%;
    }

    .box_image {
      height: 300px;
      overflow: hidden;
    }
  }

  @media screen and (max-width:860px) {

    .wishlist {
      z-index: 200;
      width: 30px;
      height: 30px;
      border-top-right-radius: 5px;
      border-radius: 50%;
      border: 2px solid #e0dcdb;
      color: #e0dcdb;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      bottom: 30%;
      left: 1%;
      /* opacity: 0; */
      font-size: 18px;
      font-weight: bold;
    }
    .Addcart_icon {
      position: absolute;
      top: -10px;
      right: -5px;
      background: #000;
      font-size: 20px;
      color: #fff;
      border-radius: 50%;
      width: 30px;
      height:30px;
      display: flex;
      justify-content: center;
      align-items: center;
     
      z-index: 10;
    }

    .black_box .content_box .box_item {
      width: 49%;
    }

    .black_box {
      padding: 0px;
    }

    .box_content .title {

      padding: 10px 5px 4px;
    }

    .box_content .price {
      padding: 4px 5px;
      color: #1C1D1D;
      font-size: 12px;
      display: flex;
      justify-content: space-between;
    }

    .box_content .price span {
      display: inline-block;
    }

    .box_image {
      height: 180px;
      overflow: hidden;
    }
  }