﻿@charset "utf-8";
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
*{/*box-sizing:content-box;*/ box-sizing:border-box;}
html { font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
body { margin: 0;}
body, div, span, object, iframe, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, q, dl, dt, dd, ol, ul, li, fieldset, form, legend, caption, tbody, tfoot, thead, article, aside, dialog, figure, footer, header, hgroup, nav, section{ padding:0; margin:0;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {display: block;}
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) {  /*display: none;*/  height: 0; }
[hidden], template {  display: none; }
a {  background-color: transparent; text-decoration:none; }
a:hover{text-decoration:underline;}
a:active,a:hover {  outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b,strong { font-weight: bold; }
dfn {  font-style: italic;}
mark {  color: #000;  background: #ff0;}
small {  font-size: 80%; }
sub,sup {  position: relative;  font-size: 75%;  line-height: 0;  vertical-align: baseline;}
sup {  top: -.5em;}
sub {  bottom: -.25em;}
img {  border: 0;}
svg:not(:root) {  overflow: hidden;}
figure {  margin: 1em 40px;}
hr {  height: 0;  -webkit-box-sizing: content-box;  -moz-box-sizing: content-box;   box-sizing: content-box; }
pre {  overflow: auto;}
code, kbd, pre, samp {  /*font-family: monospace, monospace;  font-size: 1em; */}
button, input, optgroup, select, textarea {  margin: 0;  font: inherit;  color: inherit; }
button { overflow: visible; }
button,select {  text-transform: none; }
button,html input[type="button"],input[type="reset"],input[type="submit"] {  -webkit-appearance: button;  cursor: pointer; }
button[disabled], html input[disabled] {  cursor: default; }
button::-moz-focus-inner, input::-moz-focus-inner {  padding: 0;  border: 0; }
input {  line-height: normal; outline:none;}
input[type="checkbox"],input[type="radio"] {  -webkit-box-sizing: border-box;  -moz-box-sizing: border-box;  box-sizing: border-box;  padding: 0; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {  height: auto; }
input[type="search"] {  -webkit-box-sizing: content-box;     -moz-box-sizing: content-box;    box-sizing: content-box;  -webkit-appearance: textfield; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {  -webkit-appearance: none; }
input[type="text"]{-webkit-appearance: none;}
fieldset {  padding: .35em .625em .75em;  margin: 0 2px;  border: 1px solid #c0c0c0;}
legend {  padding: 0;  border: 0; }
textarea {  overflow: auto; outline:none;-webkit-appearance: none;}
optgroup {  font-weight: bold; }
table { border-spacing: 0;  border-collapse: collapse;}
td,th {  padding: 0; }
/* base css */

img {  vertical-align: middle; }

hr {  margin-top: 20px;  margin-bottom: 20px;  border: 0;  border-top: 1px solid #eee; }

[role="button"] {  cursor: pointer; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {  line-height: 1.3;   }

h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { font-weight: normal; line-height: 1; color: #777; }

h1, .h1, h2, .h2, h3, .h3 { margin-top: 20px; margin-bottom: 10px; }

h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small {  font-size: 65%; }

h4, .h4, h5, .h5, h6, .h6 {  margin-top: 10px;  margin-bottom: 10px; }

h4 .small, .h4 .small, h5 .small, .h5 .small, h6 .small, .h6 .small {  font-size: 75%; }

h1, .h1 {  font-size: 42px; }
h2, .h2 {  font-size: 36px; }
h3, .h3 {  font-size: 30px; }
h4, .h4 {  font-size: 24px; }
h5, .h5 {  font-size: 20px; }
h6, .h6 {  font-size: 16px; }

p {  margin: 0 0 10px; }
.lead { margin-bottom: 20px;  font-size: 16px; font-weight: 300; line-height: 1.4; }

.text-left{ text-align:left;}
.text-center{ text-align:center;}
.text-right{ text-align:right;}
.clearfix:after{ content:""; display:block; clear:both; height:0; visibility:hidden;}
.clearfix{ zoom:1;}
.clear{ clear:both; height:0; overflow:hidden;}
.star_note{ color:#f00; padding:0 3px;}

/* IE输入密码或者text表单框中显示叉叉跟眼睛的图标样式去除 */
::-ms-clear, ::-ms-reveal{display: none;}

.height0{ overflow:hidden; height:0;}
/*-----------------------------分页 start--------------------------------*/
.next1{width: 100%;height: auto;overflow: hidden;text-align: center;}
.next1 ul{display: inline-block;}
.next1 ul li{display: inline-block;}
.next1 a{display: inline-block;border: 1px solid #ebebeb;color: #999;/* width: 30px; *//* height: 30px; *//* line-height: 30px; */margin: 0 4px;/* overflow: hidden; */}
.next1 a.on1,.next1 a:hover{background: #17ada4;color: #fff;border: 1px solid #17ada4;}
/*--------------------分页 end----------------------*/











.next1 {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center; /* 分页居中 */
    margin: 20px 0;
    padding: 0;
}
.next1 li {
    list-style: none;
}
.next1 li a {
    /* display: inline-block; */
    padding: 6px 12px;
    border: 1px solid #ddd;
    color: #333;
    /* text-decoration: none; */
    border-radius: 2px;
    font-size: 14px;
}
.next1 li.thisclass {
    padding: 6px 12px;
    background: #2277ee;
    color: #fff;
    border: 1px solid #2277ee;
    font-size: 14px;
}
.next1 li a:hover {
    background-color: #f5f5f5;
}

/* 手机端适配 */
@media (max-width:768px) {
    .next1 {
        gap: 4px;
    }
    .next1 li a,
    .next1 li.thisclass {
        padding: 4px 8px;
        font-size: 12px;
    }
}






 
/* ===== 页面容器 ===== */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0px 40px;
}

/* ===== 分类导航 ===== */
.categories {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* 电脑一排 8 个 */
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: none; /* 去掉下划线 */
}

.categories .category {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #4a5568;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.categories .category:hover,
.categories .category:active {
  color: #fff;
  background: #2b6cb0;
  border-color: #2b6cb0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.25);
}

/* ===== 产品网格列表 ===== */
.list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== 产品卡片 ===== */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #edf1f6;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(31, 45, 61, 0.12);
  border-color: #dbe3ec;
}

.card:active {
  transform: scale(0.98);
}

.card-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 16px;
  background: #fafbfc;
  transition: transform 0.3s ease;
}

.card:hover .card-img {
  transform: scale(1.04);
}

.card-name {
  padding: 14px 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #2d3748;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
}

/* ===== 平板 ===== */
@media (max-width: 1024px) {
  .categories {
    grid-template-columns: repeat(4, 1fr); /* 平板一排 4 个 */
  }

  .list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== 手机 ===== */
@media (max-width: 768px) {
  .page {
    padding: 16px 12px 40px;
  }

  .categories {
    grid-template-columns: repeat(2, 1fr); /* 手机一排 2 个 */
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .categories .category {
    padding: 10px 6px;
    font-size: 13px;
    white-space: normal; /* 允许两行显示，避免长名称被截断 */
    word-break: break-all;
  }

  .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card {
    border-radius: 10px;
  }

  .card-img {
    padding: 10px;
  }

  .card-name {
    font-size: 13px;
    line-height: 1.45;
    padding: 10px 10px 14px;
    min-height: 54px;
  }
}

/* ===== 超小屏 ===== */
@media (max-width: 360px) {
  .page {
    padding: 12px 10px 32px;
  }

  .list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .card-name {
    font-size: 12px;
    padding: 8px 8px 12px;
    min-height: 50px;
  }
}







