@charset "UTF-8";
@media screen and (max-width: 1024px) {
  .product {
    width: 100%;
    margin: 0 auto;
    margin-top: 0.4rem;
  }
  .product > .product_title {
    font-size: 0.36rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .product > .product_title > img {
    margin-right: 0.2rem;
  }
  .product > .product_title > .zhankai {
    border: 0.06rem solid #ca262d;
    width: 0.3rem;
    height: 0.3rem;
    border-left-color: transparent;
    border-top-color: transparent;
    transform: rotate(43deg);
    margin-left: 0.2rem;
  }
  .product > .product_classify {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    height: 5rem;
    font-size: 0.32rem;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 和 Edge */
  }
  .product > .product_classify::-webkit-scrollbar {
    display: none;
  }
  .product > .product_classify > a {
    margin-right: 0.4rem;
    margin-top: 0.2rem;
    padding: 5px 10px;
    background-color: #e1e1e1;
  }
  .product > .product_classify > a:hover {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .product_classify > .a_active {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .product_content {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0.4rem;
  }
  .product > .product_content > .product_item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.4rem;
    background-color: #ca262d;
  }
  .product > .product_content > .product_item > .product_item_img {
    width: 90%;
    overflow: hidden;
  }
  .product > .product_content > .product_item > .product_item_img > img {
    width: 100%;
    transition: transform 0.3s ease;
  }
  .product > .product_content > .product_item > .product_item_text {
    font-size: 0.32rem;
    color: #ffffff;
  }
  .product > .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.4rem;
  }
  .product > .pagination > .frame {
    width: 40px;
    height: 30px;
    border: solid 1px #dedede;
    color: #b9b9b9;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
  }
  .product > .pagination > .frame:hover {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .pagination > .frame:last-child {
    margin-right: 0;
  }
  .product > .pagination > .pageitem {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border: solid 1px #dedede;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
  }
  .product > .pagination > .pageitem:hover {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .pagination > .font {
    color: #000;
  }
}

@media screen and (min-width: 1025px) {
  .product {
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 40px;
  }
  .product > .product_title {
    font-size: 36px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .product > .product_title > img {
    margin-right: 10px;
  }
  .product > .product_classify {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .product > .product_classify > a {
    margin-right: 70px;
    margin-top: 40px;
    padding: 5px 10px;
    background-color: #e1e1e1;
  }
  .product > .product_classify > a:hover {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .product_classify > .a_active {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .product_content {
    display: flex;
    flex-wrap: wrap;
  }
  .product > .product_content > .product_item {
    width: 285px;
    height: 314px;
    overflow: hidden;
    margin-right: 53px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }
  .product > .product_content > .product_item:nth-of-type(4) {
    margin-right: 0;
  }
  .product > .product_content > .product_item:nth-of-type(8) {
    margin-right: 0;
  }
  .product > .product_content > .product_item:nth-of-type(12) {
    margin-right: 0;
  }
  .product > .product_content > .product_item:nth-of-type(16) {
    margin-right: 0;
  }
  .product > .product_content > .product_item:hover {
    position: relative;
    color: #ffffff;
  }
  .product > .product_content > .product_item:hover:before {
    content: '';
    position: absolute;
    top: 49px;
    left: 0;
    width: 100%;
    /* 覆盖 50% 的宽度 */
    height: 100%;
    background-color: #ca262d;
    /* 红色，透明度 50% */
    z-index: -1;
    /* 确保伪元素在主元素后面 */
  }
  .product > .product_content > .product_item:hover .product_item_img > img {
    transform: scale(1.2);
  }
  .product > .product_content > .product_item > .product_item_img {
    width: 265px;
    height: 265px;
    overflow: hidden;
  }
  .product > .product_content > .product_item > .product_item_img > img {
    width: 100%;
    transition: transform 0.3s ease;
  }
  .product > .product_content > .product_item > .product_item_text {
    font-size: 18px;
    margin-top: 15px;
  }
  .product > .pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .product > .pagination > .frame {
    width: 40px;
    height: 30px;
    border: solid 1px #dedede;
    color: #b9b9b9;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
  }
  .product > .pagination > .frame:hover {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .pagination > .frame:last-child {
    margin-right: 0;
  }
  .product > .pagination > .pageitem {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border: solid 1px #dedede;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
  }
  .product > .pagination > .pageitem:hover {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .pagination > .pageitem_acitive {
    background-color: #ca262d;
    color: #ffffff;
  }
  .product > .pagination > .font {
    color: #000;
  }
}
