.bread {
  width: fit-content;
  position: relative;
  top: -80px;
  color: #fff;
  padding: 10px 20px;
  background-color: var(--hidenPage-crumb-color);
}
.bread a {
  color: #fff;
}

.head_menu_list_box_bottom ul li a {
  display: block;
  font-weight: 500;
}

.head_menu_list_box_bottom ul li a:hover,
.head_menu_list_box_bottom ul li a.current-menu {
  color: #1e88e5;
}

.sub-page-banner {
  background: url("../images/ny1.jpg") center no-repeat;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sub-page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.sub-page-banner h1 {
  color: #fff;
  font-size: 36px;
  z-index: 1;
  margin: 0;
}

.main_products_row {
  height: fit-content;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product_list_container {
  max-width: var(--view-width);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 40px auto;
}

.main_products {
  width: 370px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
}

.main_products_title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  display: block;
  background-color: #fff;
  border-bottom: 1px #ccc solid;
}

.main_products ul li {
  background-color: #f7f7f7;
  margin-bottom: 5px;
  border: none;
}

.main_products ul li a {
  color: #666;
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.main_products ul li.active a,
.main_products ul li a:hover,
.products_contact_us_button:hover {
  background-color: var(--hidenPage-crumb-color);
  color: #fff !important;
}

.main_products_box {
  min-height: 100vh;
  width: fit-content;
  height: fit-content;
  background-color: #fff;
  flex: 1;
  padding: 20px 30px;
}

.main_products_block {
  border: 1px #eee solid;
  padding: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.main_products_block:hover {
  height: 106%;
  overflow: hidden;
  border: 1px solid var(--hidenPage-crumb-color);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.main_products_block:hover img {
  transform: scale(1.1);
}
.main_products_block:hover .main_products_list_title {
  transform: translateY(20px);
}
.main_products_block:hover .main_products_read_more {
  transform: translateY(10px);
}

.main_products_block img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.main_products_list_title {
  line-height: 32px;
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  text-align: center;
  margin: 10px auto;
  transition: all 0.3s ease;
}

.main_products_read_more {
  display: block;
  width: 110px;
  height: 40px;
  line-height: 40px;
  background-color: var(--hidenPage-crumb-color);
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 5px;
}

.main_products_read_more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #234e6d;
  transition: left 0.5s ease;
  z-index: 0;
}

.main_products_read_more::after {
  content: ">";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.main_products_read_more span {
  position: relative;
  z-index: 1;
}

.main_products_read_more:hover {
  padding-right: 30px;
}

.main_products_read_more:hover::before {
  left: 0;
}

.main_products_read_more:hover::after {
  opacity: 1;
}

.main_products ul li:hover {
  background-color: var(--hidenPage-crumb-color);
}

.products_contact_us {
  margin-top: 30px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.products_contact_us_title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.products_contact_us_content {
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.6;
}

.products_contact_us_button {
  margin-top: 30px;
  background-color: var(--hidenPage-crumb-color);
}

.help_section {
  margin-top: 40px;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.help_section h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.help_section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}
.main_products_read_more:hover {
  color: #fff !important;
}
.products_contact_us {
  color: #fff;
  width: 260px;
  height: 160px;
  background-image: url(../imgs/products_contact_bg.jpg);
  background-size: cover;
}
/* 响应式设计 */
@media (max-width: 1366px) {
  .head-menu-box,
  .hidden-page-box {
    padding: 0 20px;
  }
}

@media (max-width: 789px) {
  .product_list_container {
    flex-direction: column;
  }

  .main_products {
    width: 81vw;
  }

  .sub-page-banner h1 {
    font-size: 2rem;
  }
  .main_products_row {
    grid-template-columns: 1fr;
  }
  .main_products_box {
    min-height: 0;
    margin-bottom: 10px;
  }
  .bread {
    top: 0;
    background-color: var(--page-common-bg-color);
  }
  .bread a,
  .bread {
    color: #000;
  }
}
