.wrapper {
  padding: 0 15px;
}

.shortcut {
  padding: 20px 0 60px;
  width: 100%;
}

.shortcut span {
  font-size: 14px;
  color: #AAADAB;
  margin-right: 10px;
}

.shortcut a {
  font-size: 14px;
  color: #6E706F;
  margin-right: 13px;
}

.shortcut .iconfont {
  font-size: 12px;
  color: #9CA3AD;
  margin-right: 13px;
}


.product h2 {
  font-size: 36px;
  font-weight: 600;
  color: #485030;
  margin-bottom: 40px;
}


.product .classify {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid rgba(37, 37, 41, 0.1);
  margin-bottom: 40px;
}

.classify .box {
  padding: 12px 24px;
  font-size: 14px;
  color: #252529;
  background-color: #F5F5F5;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.box:hover {
  background-color: #E8E8E8;
}

.box.has-dropdown {
  position: relative;
}

.box .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin-top: 8px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.box.has-dropdown:hover .dropdown-menu,
.box.has-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.box .dropdown-menu li {
  list-style: none;
}

.box .dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #252529;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.box .dropdown-menu li a:hover {
  background-color: #F5F5F5;
}

.box.active .iconfont {
  transform: rotate(180deg);
}

.product_list .list {
  width: 100%;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 40px;
}

.list li {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.list li a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.list .list_pic {
  width: 100%;
  height: 360px;
  overflow: hidden;
  margin-bottom: 20px;
}

.list .list_pic img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.list li:hover .list_pic img {
  transform: scale(1.05);
}

.list .title {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.list .title span {
  width: 48px;
  height: 24px;
  padding: 2px 12px;
  margin-right: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background-color: #485030;
  border-radius: 6px;
  line-height: 24px;
  flex-shrink: 0;
}

.list .title h3 {
  font-size: 16px;
  color: #252529;
  font-weight: 500;
  height: 60px;
  line-height: 28px;
  transition: all 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
}

.list li:hover .title h3 {
  font-weight: 700;
  text-decoration: underline;
}

.list p {
  font-size: 14px;
  color: #656970;
  flex-shrink: 0;
  min-height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
}

.list .price {
  position: relative;
  color: #252529;
  margin-top: auto;
}

.list .price i {
  font-size: 22px;
}

.list .price span {
  font-size: 24px;
  color: #252529;
  padding-left: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .wrapper {
    padding: 0;
  }

  .shortcut {
    padding: 20px 15px 40px;
  }

  .product .list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
    padding: 0 30px;
  }

  .list .price {
    font-size: 14px;
    text-align: center;
  }


  .product h2 {
    font-size: 32px;
    text-align: center;
  }

  .product .classify {
    padding: 20px 15px;
  }
}

@media (max-width: 992px) {
  .wrapper {
    padding: 0;
  }

  .wrapper {
    padding: 0;
  }

  .shortcut {
    padding: 20px 15px 40px;
  }

  .product {
    padding: 0 15px;
  }

  .product_list .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 25px;
    padding: 0 30px;
  }

  .list .price {
    text-align: center;
  }

  .product h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
  }

  .product .classify {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
  }

  .classify .box {
    padding: 10px 20px;
    font-size: 13px;
  }


}

@media (max-width: 768px) {

  .shortcut {
    padding: 15px 15px 40px;
  }

  .product h2 {
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
  }

  .product .classify {
    padding: 15px 0;
    margin-bottom: 25px;
  }

  .classify .box {
    padding: 8px 16px;
    font-size: 12px;
  }

  .product_list .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    padding: 0;
  }

  .list .list_pic {
    display: flex;
    justify-content: center;
    height: 250px;
    margin-bottom: 5px;
  }

  .list .list_pic img {
    width: 100%;
    height: 100%;
    
  }

  .list .title {
    margin-top: 15px;
    margin-bottom: 8px;
    justify-content: flex-start;
    text-align: center;
  }

  .list .title span {
    padding: 2px 10px;
    font-size: 12px;
    line-height: 20px;
  }

  .list .title h3 {
    font-size: 14px;
    line-height: 20px;
    height: 40px;
  }

  .list p {
    font-size: 12px;
    margin-bottom: 10px;
    text-align: left;
    min-height: 36px;
  }

  .list .price {
    text-align: center;
  }

}