/* Main Page Design */

.image_family_ctn {
  height: 610px;
  /* background-image: url("../products/downlight/image/recessed/adjustable/mars/mars_adjustable.PNG"); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  position: relative;
  overflow: hidden; /* Ensures the zoomed image doesn’t overflow */
}

.image_family_ctn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
  background-position: inherit;
  transition: transform 0.5s ease-in-out;
}

.image_family_ctn:hover::before {
  transform: scale(1.1); /* Zoom in effect */
}

.image_family_ctn h4,
.image_family_ctn .my-row {
  position: relative; /* Ensure text and content stay above */
  z-index: 2;
}
.image_family_ctn h4 {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
}

.read_more_button {
  border: none;
  padding-block: 10px;
  background-color: var(--black);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.read_more_button:hover {
  background-color: #333;
}

.text_link_navigation {
  color: var(--black);
}
.text_link_navigation a:hover {
  color: var(--primary-main);
}
.list_main_heading {
  color: var(--black);
  margin-bottom: 0px !important;
}
.product_list_seprater {
  height: 0.08px;
  background-color: #0000001a;
}
.product_container {
  padding-inline: 10px !important;
}
.product_list_box {
  cursor: pointer;
  padding-block: 20px;
  display: flex;
  padding-inline: 0px;
  align-items: center;
}
.product_list_box:hover {
  background-color: #11111212;
}
.product_image {
  background-color: #fff;
  border: 1px solid #0000001a;
  height: 185px;
  width: 185px;
}
.details_text {
  margin-block: 0px;
  color: var(--black);
  font-size: 14px;
}
.product_name_heading {
  background-color: #eee9e9;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 20px;
}
.img_box {
  border: 1px solid var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
}
.mini_img_box {
  /* border: 1px solid var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px; */
}
.mini_img_box img {
  border: 1px solid var(--black);
  height: 70px;
  width: 90px;
}
.specification_table_row {
  background-color: #eee9e9;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.specification_table_row_white {
  /* background-color: #FFFFFF; */
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table_text {
  /* margin: 0px; */
  padding: 10px;
  /* font-weight: 600; */
  font-size: 13px;
}
.download_heading {
  color: var(--black);
  font-size: 35px;
}
.custom_download_btn {
  background-color: #eee9e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  width: 50%;
}
.custom_download_btn:hover {
  background-color: #0000001a;
}
.custom_download_btn p {
  margin: 0px;
  color: var(--black);
}
.custom_download_btn i {
  margin-right: 10px;
  color: var(--black);
}
.product_img_small {
  height: 100%;
  width: 100%;
}
.product_img_small_2 {
  height: 100%;
  width: 50%;
}
.mini_img_ctn{
  display: flex;
  justify-content: start;
  align-items: center;
}

@media (max-width: 768px) {
  .image_family_ctn {
    height: 400px;
  }
}

@media (max-width: 1023px) {
  .product_image {
    height: 100%;
    width: 100%;
  }
  .mini_img_ctn {
    justify-content: center;
  }
  .custom_download_btn{
    width: 100%;
  }
}