.component-car-item {
  padding: 10px 20px 24px 20px;
  //border: solid 1px rgba(200, 200, 200, .4);
  background-color: #ffffff;
  border-radius: 4px;
  transition: all .1s linear;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;

  &:hover {
    box-shadow: 0 9px 41px 0 rgba(155, 155, 155, 0.44);
    border-color: transparent;
    .total-price-1{
      visibility: hidden;
    }
    .details-cta{
      display: block;
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.9px;
      text-align: center;
      color: #ffffff;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      box-shadow: 0 2px 26px 0 rgba(0, 0, 0, 0.2);
      background-color: #70ad4d;
      padding: 8px 0px;
      margin: 0 -20px;
      position: absolute;
      bottom: 0;
      width: 100%;
    }
  }

  .top-tag{
    align-self: center;
    .offer-tag{
      display: flex;
      align-items: center;
      color: #b08608;
      background-color: #ffebaf;
      padding: 5px 8px;
      border-radius: 13.5px;
      img{
        width: 20px;
        margin-right: 10px;
      }
    }
  }

  img {
    max-width: 100%;
    margin: auto;
    align-self: center;
  }

  h3.title {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px 0;
  }

  .price {
    color: #70ad4d;
    font-size: 12px;
    font-weight: 600;

    strong {
      font-size: 18px;
      font-weight: 600;
    }
  }
  .days {
    font-weight: 600;
    font-size: 13px;
    color: #70ad4d;
  }
  .total-price, .total-price-1{
    font-size: 12px;
    margin-top: 15px;
  }
  .details-cta{
    display: none;
  }
  @media screen and (max-device-width: 480px) {
    flex-direction: column;
    border: solid 1px rgba(200, 200, 200, .4);
    &:hover{
      .details-cta{
        display: none;
      }
      .total-price-1{
        visibility: unset;
      }
    }
    .car-details-wrapper{
      display: flex;
      flex-direction: row;
      .text-details{
        display: flex;
        flex-direction: column;
      }
    }
    .top-tag{
      margin-bottom: 10px;
    }
    div {
      text-align: left;
    }
    img {
      max-width: 45%;
    }
    h3.title {
      margin: 0px;
      font-size: 12px;
    }
    .price {
      font-size: 12px;
    }
    .total-price {
      margin-top: 5px;
    }
  }
}

