.product_section {
  padding: 15px 0;
  margin: 0 0 60px;
}

.product_section .section_title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 30px;
}

.product_section .product_grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}

/* =========================
   PRODUCT CARD
========================= */

.product_section .product_card {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #eeeeee;
  border-radius: 8px;
  border: 1px solid #dddddd;

  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 5px 10px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product_section .product_card:hover {
  transform: translateY(-3px);

  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================
   IMAGE AREA
========================= */

.product_section .product_image_wrapper {
  position: relative;
  width: 100%;
  height: 216px;
  overflow: hidden;
  background: #fff;
}

.product_section .product_image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.4s ease;
}

.product_section .product_card:hover .product_image {
  transform: scale(1.03);
}

/* =========================
   WISHLIST
========================= */

.product_section .wishlist_btn {
  position: absolute;
  z-index: 5;
  top: 9px;
  right: 9px;

  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: 0;
  background: transparent;

  color: #a90000;
  font-size: 21px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

/* =========================
   CONTENT
========================= */

.product_section .product_content {
  min-height: 100px;
  padding: 11px 10px 10px;
  display: flex;
  flex-direction: column;
}

/* =========================
   PRODUCT NAME
========================= */

.product_section .product_name {
  width: 100%;
  margin: 0 0 17px;

  color: #111;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product_section .no_product_div {
  width: 200px;
  height: 100%;
  margin: auto;
}

.no_product_div .no_product {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================
   LARGE TABLET
========================= */

@media (min-width: 992px) and (max-width: 1199px) {
  .product_section .product_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================
   TABLET
========================= */

@media (min-width: 768px) and (max-width: 991px) {
  .product_section .product_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product_section .product_image_wrapper {
    height: 210px;
  }
}

/* =========================
   MOBILE
========================= */

@media (min-width: 576px) and (max-width: 767.98px) {
  .product_section .product_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product_section .product_image_wrapper {
    height: 200px;
  }

  .product_section .wishlist_btn {
    top: 7px;
    right: 7px;
    font-size: 19px;
  }

  .product_section .product_content {
    min-height: 110px;
    padding: 10px 8px 8px;
  }

  .product_section .product_name {
    margin-bottom: 14px;
    font-size: 13px;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (min-width: 0px) and (max-width: 575.98px) {
  .product_section .product_grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .product_section .product_image_wrapper {
    height: 120px;
  }

  .product_section .product_content {
    padding: 9px 7px 7px;
  }

  .product_section .product_name {
    margin-bottom: 12px;
    font-size: 12px;
  }
}
