/* ordernow.css - Flexbox layout with .order-now prefix */

.order-now .left-banner {
  /* flex: 1 1 100%; */
  width: 100%;
  max-width: 100%;
  /* min-height: 250px; */
  /* background: url('/img/image-72.png') no-repeat center center/cover; */
  color: white;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  text-align: center;
  border-radius: 5px;
  /* padding: 20px; */
}

.order-now .left-banner h5 {
  font-weight: bold;
  /* color: white; */
}

.product-namee {
  display: -webkit-box !important;
  height: auto;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal !important;
  max-height: 3em;
  color: #666 !important;
}

.order-now .left-banner .btn {
  background-color: white !important;
  color: #fe4e44 !important;
  border: none;
}

.order-now .showabove768 {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.order-now .showbelow768 {
  display: none !important;
}

.order-now .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  height: 100%;
  width: 100%;
  /* padding-left: 15px; */
}

.order-now .product-card {
  flex: 1 1 calc(16% - 15px);
  display: flex;
  flex-direction: column;
  border: 1px solid lightgrey;
  border-radius: 7px;
  box-shadow: none;
  height: 100%;
}

.order-now .product-card img {
  width: 100%;
  /* height: 70%; */
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 5px 5px 0 0;
}

.order-now .product-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.order-now .product-card .btn {
  /* margin-top: auto; */
  width: 100%;
  border-radius: 34px;
  padding: 10px;
  justify-content: center;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

.order-now .product-card a:hover {
  margin-top: auto;
  /* width: 100%; */
  background: linear-gradient(to right, #fe4e44, #9f0900);
  color: white;
  border: 1px solid #fe4e44;
}

.order-now .order-now-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px;
  border: 1px solid lightgrey;
  /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25); */
}

.order-now .product-card:hover {
  box-shadow: none;
}

.order-now .title-show-768 {
  display: none !important;
}

.order-now .hide-768 {
  display: block !important;
}

@media (max-width: 991px) {
  .order-now .showabove768 {
    display: none !important;
  }

  .order-now .showbelow768 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .order-now .order-now-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px;
    height: unset;
  }

  .order-now .card-body p:first {
    height: 2rem;
    line-height: 1rem;
    overflow: hidden;
  }

  .order-now .left-banner {
    display: none;
  }

  .order-now .product-grid {
    width: 100%;
  }

  .order-now .title-show-768 {
    display: flex !important;
    width: 100%;
    height: 40px;
    padding-bottom: 20px;
  }

  .order-now .hide-768 {
    display: none !important;
  }

  .order-now {
    background: none !important;
  }

  .order-now .product-card img {
    height: unset;
  }
}

@media (max-width: 430px) {
  .order-now .product-grid {
    flex-direction: column !important;
  }
}