/* KOFFIAE 全站统一视觉层：不改页面文案，仅重构布局、视觉与响应式 */
:root {
  --brand: #0f766e;
  --brand-dark: #0b5f59;
  --accent: #f97316;
  --accent-dark: #dd5f0b;
  --ink: #102235;
  --muted: #5d6b78;
  --line: #dce4e8;
  --surface: #f5f8f9;
  --white: #fff;
  --shadow-sm: 0 4px 14px rgba(16, 34, 53, 0.08);
  --shadow-md: 0 14px 36px rgba(16, 34, 53, 0.13);
  --radius: 12px;
  --header-height: 112px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a,
button,
input,
textarea {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.42);
  outline-offset: 3px;
}

/* 顶部导航 */
.header {
  height: var(--header-height) !important;
  border-bottom: 1px solid rgba(16, 34, 53, 0.1);
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 4px 20px rgba(16, 34, 53, 0.08) !important;
  backdrop-filter: blur(14px);
}

.header-header {
  position: absolute !important;
  height: 32px !important;
  background: var(--ink) !important;
}

.hdcs {
  display: flex;
  width: min(1280px, calc(100% - 48px)) !important;
  height: 32px !important;
  margin: 0 auto;
  align-items: center;
  gap: 26px;
}

.hdcs li {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-size: 14px !important;
}

.hdcs li i {
  display: inline-flex;
  width: 24px;
  height: 32px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hdcs li img {
  display: block;
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
}

.hdcs li:first-child img {
  width: 30px !important;
  height: 30px !important;
  max-width: none;
}

.hdcs li a {
  font-size: 14px !important;
}

.hdcs li a:hover {
  color: #9ce8df;
}

.header-logo {
  display: flex;
  width: auto !important;
  height: 80px !important;
  margin: 32px 0 0 max(24px, calc((100% - 1280px) / 2)) !important;
  align-items: center;
}

.header-logo a {
  display: flex;
  height: 100%;
  align-items: center;
}

.header-logo img {
  width: auto !important;
  height: 64px !important;
  max-width: 100px;
  object-fit: contain;
}

.header-menu {
  top: 32px;
  right: max(24px, calc((100% - 1280px) / 2));
  width: min(860px, calc(100% - 210px)) !important;
  height: 80px !important;
  margin: 0 !important;
}

.menu-width {
  justify-content: flex-end !important;
  align-items: center;
  gap: 6px;
}

.btli {
  float: none !important;
  width: auto !important;
  min-width: 112px;
  line-height: 1.2 !important;
}

.menu-width > .btli > a {
  padding: 13px 16px;
  border-radius: 8px;
  color: var(--ink) !important;
  font-size: 15px !important;
  font-weight: 650;
  white-space: nowrap;
}

.header-menu .btli > a:hover,
.header-menu .btli > a.active {
  color: var(--white) !important;
  background: var(--brand) !important;
}

.header-menu .btli > a[style*="background-color"] {
  color: var(--white) !important;
  background: var(--brand) !important;
}

.droplist {
  position: absolute;
  min-width: 240px;
  padding: 8px !important;
  border: 1px solid var(--line);
  border-radius: 10px !important;
  background: var(--white) !important;
  box-shadow: var(--shadow-md) !important;
  overflow: visible !important;
}

.droplist li {
  height: auto !important;
  border: 0 !important;
  line-height: 1.3 !important;
}

.droplist li a {
  padding: 11px 12px !important;
  border-radius: 7px;
  color: var(--ink) !important;
  font-size: 14px !important;
}

.droplist li a:hover,
.droplist li a[style*="background-color"] {
  color: var(--white) !important;
  background: var(--brand) !important;
}

/* Hero 与分类页横幅 */
.banner {
  top: var(--header-height) !important;
  height: clamp(360px, 34vw, 540px) !important;
  background: var(--ink);
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 20, 34, 0.5), transparent 58%);
}

.banner-text {
  position: absolute;
  bottom: clamp(46px, 8vw, 100px);
  left: max(6vw, calc((100% - 1280px) / 2));
  z-index: 2;
}

.banner-text h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
}

.banner-left,
.banner-right {
  z-index: 3 !important;
  width: 48px !important;
  height: 64px !important;
  border-radius: 8px !important;
  background: rgba(16, 34, 53, 0.36);
  color: var(--white) !important;
  line-height: 64px !important;
}

.banner-left {
  left: 18px !important;
}

.banner-right {
  right: 18px !important;
}

.banner-zhiding {
  z-index: 3;
  bottom: 18px !important;
}

/* 首页锚点紧贴对应模块，顶部间距由 html 的 scroll-padding 统一控制。 */
.page-home #Products,
.page-home #Hot,
.page-home #About,
.page-home #FAQ,
.page-home #Contact {
  position: relative !important;
  top: 20px !important;
  height: 0 !important;
}

.botton {
  width: 38px !important;
  height: 5px !important;
  margin: 8px !important;
  border: 0 !important;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
}

.barimg {
  height: clamp(240px, 28vw, 390px) !important;
  margin-top: var(--header-height) !important;
  background: var(--ink);
}

.barimg img {
  object-position: center;
}

/* 全站内容宽度与标题 */
.container,
.main-content {
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px;
  margin-inline: auto;
}

.main-content,
.cpxianxi,
.col-xianxi,
.col-xianxi2 {
  min-height: 0 !important;
}

.main-wrapper {
  display: block !important;
  padding: 34px 0 72px;
  background: var(--white);
}

.navnar2 {
  display: flex;
  height: auto !important;
  min-height: 74px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left !important;
}

.cpming h1,
.cpming h3,
.navnar2 h1 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(25px, 3vw, 38px) !important;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.navnar2 .breadcrumb a,
.navnar2 .breadcrumb span {
  display: inline !important;
  padding: 0 !important;
  color: var(--muted) !important;
  background: transparent !important;
  font-size: inherit !important;
}

.navnar2 .breadcrumb a:hover {
  color: var(--brand) !important;
}

.section-title,
.Contact-title {
  margin-bottom: 34px !important;
}

.section-title h2,
.about-content h2,
.FAQ-content h2,
.Contact-title h2,
.detail-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  border: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-title h2::after,
.about-content h2::after,
.FAQ-content h2::after,
.Contact-title h2::after,
.detail-title::after {
  content: "";
  display: block;
  width: calc(100% + 20px);
  height: 4px;
  margin: 12px 0 0 -10px;
  border-radius: 8px;
  background: var(--accent);
}

/* 产品卡片 */
.product-categories {
  padding-top: 190px !important;
}

.hot-products {
  padding-block: 70px !important;
  background: var(--surface) !important;
}

.categories-list {
  gap: 24px !important;
}

.category-item {
  display: flex;
  padding: 10px 10px 18px !important;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  background: var(--white);
  box-shadow: var(--shadow-sm) !important;
  text-align: left !important;
  overflow: hidden;
}

.category-item:hover {
  border-width: 4px; /* 悬停时外框加粗到 4px，未悬停仍是 1px */
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-5px) !important;
}

.category-item img {
  aspect-ratio: 1 / 1;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--surface);
  object-fit: contain;
}

.category-item h3 {
  margin: 16px 10px 7px !important;
  color: var(--ink) !important;
  font-size: 17px !important;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.category-item:hover h3 {
  color: var(--brand) !important;
}

.category-item p {
  margin: 0 10px;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.55;
}

/* 首页企业信息、FAQ 和联系区 */
.about-brief {
  padding-block: 88px !important;
  align-items: flex-start !important;
  gap: 70px !important;
}

.about-content h1 {
  margin: 6px 0 22px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
}

.about-content p {
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

.about-stats {
  display: block !important;
}

.stat-item {
  max-width: none !important;
  padding: 10px !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md) !important;
}

.stat-item img {
  max-width: none !important;
  border-radius: 8px;
}

.FAQ {
  padding-block: 76px !important;
}

.faq-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-question {
  margin: 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px;
  background: var(--white);
}

.faq-question h3 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 17px !important;
  line-height: 1.45;
  cursor: default;
}

.faq-question h3::after {
  content: none;
}

.faq-question p {
  display: block !important;
  margin: 14px 0 0 !important;
  color: var(--muted);
  font-size: 15px !important;
}

.Contact-us {
  padding-block: 78px !important;
}

.Contact-list {
  min-height: 0 !important;
  gap: 56px !important;
}

.Contact-box1 {
  width: 100% !important;
  padding: 28px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.Contact-box1 ul li i {
  box-shadow: none !important;
  background: var(--brand) !important;
}

.message {
  padding: 28px !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm) !important;
}

/* 桌面两列时：右框高度跟左框走，底线齐平，不拉高左边 */
@media (min-width: 769px) {
  .Contact-box1 {
    float: none !important;
    margin-bottom: 0 !important;
  }

  .Contact-list > .Contact-box:last-child {
    height: 0;
    min-height: 100%;
  }

  .Contact-box2,
  .Contact-list > .Contact-box:last-child .message {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .Contact-list > .Contact-box:last-child .message form,
  .Contact-list > .Contact-box:last-child .message form > ul {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    float: none !important;
  }

  .Contact-list > .Contact-box:last-child .message form > ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(72px, 1fr) auto;
    gap: 10px 2%;
  }

  .Contact-list > .Contact-box:last-child .ny-con-cx-01,
  .Contact-list > .Contact-box:last-child .ny-con-cx-02,
  .Contact-list > .Contact-box:last-child .ny-con-cx-03,
  .Contact-list > .Contact-box:last-child .message form > ul > li:last-child {
    float: none !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .Contact-list > .Contact-box:last-child .ny-con-cx-03,
  .Contact-list > .Contact-box:last-child .message form > ul > li:last-child {
    grid-column: 1 / -1;
  }

  .Contact-list > .Contact-box:last-child .ny-con-cx-03 {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .Contact-list > .Contact-box:last-child .meText {
    flex: 1 1 auto;
    height: auto !important;
    min-height: 72px;
    max-height: none !important;
  }
}

.meInput,
.meText {
  border: 1px solid #cbd6dc !important;
  border-radius: 8px !important;
  background: var(--white);
}

.meInput:focus,
.meText:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.11);
}

.m-more input,
.send {
  min-width: 140px;
  border: 0;
  border-radius: 8px !important;
  background: var(--accent) !important;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.22);
  cursor: pointer;
}

.m-more input:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

/* 分类目录及侧栏 */
.cpxianxi {
  gap: 0;
  align-items: stretch !important;
}

.col-xianxi {
  height: 100% !important;
}

.sidebar-menu {
  position: sticky !important;
  top: calc(var(--header-height) + 24px) !important;
  margin-right: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden; /* 只裁圆角，不再内部滚动 */
}

.category-title {
  margin: 0 !important;
  padding: 15px 18px !important;
  background: var(--ink) !important;
}

.category-list li {
  padding: 0 !important;
}

.category-list li a {
  height: auto !important;
  padding: 9px 16px !important;
  line-height: 1.35 !important;
}

.category-list li a:hover,
.category-list li.active a {
  color: var(--white) !important;
  background: var(--brand) !important;
}

.new-products {
  padding: 0 14px 10px;
}

.new-products h4 {
  font-size: 18px !important;
}

.product-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px !important;
}

.product-item:last-child {
  margin-bottom: 0 !important;
}

/* 圆角外框锁在包图的链接上，避免 img 被父级 a 挤扁 */
.product-item > a:first-of-type {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  min-width: 74px;
  min-height: 74px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.product-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important; /* 覆盖全站 img{max-width:100%}，否则会缩到约 50px */
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.product-item:hover > a:first-of-type {
  border-color: var(--brand);
}

.product-item .read-more {
  color: var(--brand) !important;
  font-size: 12px !important;
  font-weight: 700;
}

.xiang {
  height: 1px !important;
  margin-block: 12px !important;
  background: var(--line) !important;
}

/* 产品详情页 */
.cpzsimg {
  margin-bottom: 50px;
}

.chanpin-list {
  gap: 34px;
  width: 100% !important;
}

.chanpin-list > .col {
  width: calc(50% - 17px) !important;
  padding: 0 !important;
}

.main-img-container {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  background: var(--surface);
}

.main-product-img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.thumbnail-container,
.thumbnailContainer {
  display: flex;
  gap: 10px !important;
  overflow-x: auto;
  padding: 2px 2px 8px;
}

.thumbnail-img {
  flex: 0 0 calc(20% - 8px);
  width: calc(20% - 8px) !important;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent !important;
  border-radius: 7px;
  background: var(--surface);
  object-fit: contain;
}

.thumbnail-img.active {
  border-color: var(--brand) !important;
}

.chanpin-title {
  padding: 8px 0 0 !important;
  text-align: left !important;
}

.chanpin-title h1 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.chanpin-title > p {
  margin-bottom: 24px !important;
  color: var(--muted);
  font-size: 17px;
}

.param-list {
  margin-bottom: 26px !important;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.param-list > div {
  padding: 11px 16px !important;
  border-bottom: 1px solid var(--line);
  font-size: 15px !important;
}

.param-list > div:last-child {
  border-bottom: 0;
}

.param-list > div:nth-child(odd) {
  background: var(--surface) !important;
}

.param-list > div span:first-child {
  min-width: 145px !important;
}

.chanpin-title > a {
  padding: 14px 28px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--accent);
  box-shadow: 0 7px 18px rgba(249, 115, 22, 0.25);
  color: var(--white) !important;
  font-size: 16px !important;
}

.chanpin-title > a:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px);
}

.product-details {
  margin-left: 20px !important;
}

.detail-title {
  margin-top: 24px;
  margin-bottom: 18px !important;
  font-size: clamp(23px, 2.4vw, 32px) !important;
}

.detail-content {
  color: var(--muted);
  font-size: 16px !important;
  line-height: 1.78 !important;
}

.detail-content p {
  margin: 16px 0 !important;
}

.detail-content ul {
  padding-left: 24px !important;
  list-style: disc;
}

.detail-content li {
  margin: 9px 0 !important;
}

.detail-content strong {
  color: var(--ink) !important;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-gallery img {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 9px;
}

.related-details {
  left: 0 !important;
  min-height: 0 !important;
  padding: 30px 0 0 !important;
}

.related-products h4 {
  color: var(--ink);
  font-size: 25px !important;
}

.related-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px !important;
}

.related-list > a,
.related-list > img,
.related-list > p {
  min-width: 0;
  max-width: 100%;
}

.related-item {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: left !important;
  overflow: hidden;
}

.related-item:hover {
  border-color: var(--brand);
  transform: translateY(-3px) !important;
}

.related-item img {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  border: 0 !important;
  border-radius: 6px;
  object-fit: contain;
}

.related-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.45;
}

.related-item:hover p {
  color: var(--brand) !important;
  background: transparent !important;
  font-size: 13px !important;
}

.img-modal {
  width: 100% !important;
  padding: 56px !important;
}

.modal-content {
  width: auto;
  max-width: min(920px, 82vw) !important;
  max-height: 86vh !important;
  object-fit: contain;
}

.prev-arrow {
  left: 24px !important;
}

.next-arrow {
  right: 24px !important;
}

.modal-arrow {
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 48px !important;
}

/* 页脚和在线客服 */
.copyright {
  min-height: 64px;
  background: var(--ink) !important;
  color: #c6d1d9 !important;
}

.kf-btn {
  right: 28px !important;
  bottom: 28px !important;
  width: 92px !important;
  height: 92px !important;
  border: 3px solid var(--white);
  box-shadow: 0 10px 28px rgba(16, 34, 53, 0.25) !important;
}

@media (min-width: 1400px) {
  .kf-btn {
    right: 32px !important;
    bottom: 32px !important;
    width: 118px !important;
    height: 118px !important;
  }
}

.kf-btn img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.kf-btn:hover {
  transform: translateY(-4px) scale(1.03) !important;
}

/* 隐私页沿用网站排版 */
body.page-privacy main.container {
  color: var(--muted);
  line-height: 1.8;
}

body.page-privacy main h1,
body.page-privacy main h2 {
  color: var(--ink);
  line-height: 1.25;
}

body.page-privacy main h1 {
  margin-bottom: 10px;
  font-size: 40px;
}

body.page-privacy main h2 {
  margin: 28px 0 8px;
  font-size: 23px;
}

body.page-privacy main ul {
  padding-left: 22px;
  list-style: disc;
}

/* 平板 */
@media (max-width: 1050px) {
  :root {
    --header-height: 96px;
  }

  .header-header,
  .hdcs {
    height: 28px !important;
  }

  .header-logo {
    height: 68px !important;
    margin-top: 28px !important;
  }

  .header-logo img {
    width: auto !important;
    height: 56px !important;
  }

  .header-menu {
    top: 28px;
    height: 68px !important;
    width: calc(100% - 155px) !important;
  }

  .btli {
    min-width: 0;
  }

  .menu-width > .btli > a {
    padding: 11px 10px;
    font-size: 14px !important;
  }

  .categories-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .main-content .categories-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

/* 手机和平板竖屏 */
@media (max-width: 768px) {
  :root {
    --header-height: 104px;
  }

  .header {
    height: var(--header-height) !important;
  }

  .header-header {
    display: block !important;
    height: 32px !important;
  }

  .hdcs {
    display: flex !important;
    width: calc(100% - 20px) !important;
    height: 32px !important;
    margin: 0 10px;
    justify-content: space-between;
    gap: 8px;
    font-size: 0;
  }

  .hdcs li {
    min-width: 0;
    gap: 5px;
    font-size: 12px !important;
  }

  .hdcs li i {
    width: 20px;
    flex-basis: 20px;
    height: 32px;
  }

  .hdcs li img,
  .hdcs li:first-child img {
    width: 20px !important;
    height: 20px !important;
  }

  .hdcs li a {
    overflow: hidden;
    font-size: 12px !important;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-logo {
    height: 72px !important;
    margin: 32px 0 0 18px !important;
  }

  .header-logo img {
    width: auto !important;
    height: 52px !important;
  }

  .header-menu {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
    top: 47px !important;
    right: 16px !important;
    width: 44px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    background: var(--white) !important;
    color: var(--ink) !important;
    font-size: 25px !important;
  }

  .sjdlist {
    position: fixed !important;
    top: 98px !important;
    right: 12px !important;
    width: min(330px, calc(100% - 24px)) !important;
    max-height: calc(100vh - 80px);
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px !important;
    background: var(--white) !important;
    box-shadow: var(--shadow-md) !important;
    overflow-y: auto !important;
  }

  .sjdlist li,
  .sjdlist li.has-submenu {
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 1.3 !important;
  }

  .sjdlist li a {
    padding: 11px 13px !important;
    border-radius: 7px;
    color: var(--ink) !important;
    font-size: 15px !important;
  }

  .sjdlist li a[style*="background-color"] {
    color: var(--white) !important;
    background: var(--brand) !important;
  }

  .sjdlist li ul.sub-menu {
    position: static !important;
    width: auto !important;
    padding-left: 14px;
    background: var(--surface) !important;
  }

  .sjdlist li ul.sub-menu li {
    height: auto !important;
  }

  .sjdlist li ul.sub-menu li a {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }

  .banner {
    height: 330px !important;
  }

  .banner-text {
    bottom: 55px;
    left: 24px;
    right: 24px;
  }

  .banner-text h2 {
    font-size: 38px;
  }

  .banner-left,
  .banner-right {
    display: none;
  }

  .barimg {
    height: 220px !important;
  }

  .container,
  .main-content {
    width: min(100% - 32px, 1280px) !important;
    padding-inline: 0 !important;
  }

  .main-wrapper {
    padding-top: 24px;
  }

  .navnar2 {
    min-height: 0;
    margin-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .breadcrumb {
    text-align: left;
  }

  .product-categories {
    padding-top: 172px !important;
  }

  .categories-list,
  .main-content .categories-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .about-brief {
    padding-block: 64px !important;
    gap: 30px !important;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }

  .Contact-list {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .chanpin-list {
    flex-direction: column;
    gap: 14px;
  }

  .page-product .chanpin-list > .col:nth-child(2) {
    order: -1;
  }

  .chanpin-list > .col {
    width: 100% !important;
  }

  .chanpin-title {
    padding-top: 18px !important;
  }

  .cpxianxi > .col {
    width: 100% !important;
    padding-right: 0 !important;
  }

  .product-details {
    margin-left: 0 !important;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .img-modal {
    padding: 16px !important;
  }

  .modal-arrow {
    padding: 5px 12px !important;
    font-size: 34px !important;
  }

  .prev-arrow {
    left: 8px !important;
  }

  .next-arrow {
    right: 8px !important;
  }
}

@media (max-width: 520px) {
  .categories-list,
  .main-content .categories-list {
    grid-template-columns: 1fr !important;
  }

  .category-item {
    padding: 8px 8px 16px !important;
  }

  .banner {
    height: 280px !important;
  }

  .banner-text h2 {
    font-size: 31px;
  }

  .barimg {
    height: 180px !important;
  }

  .chanpin-title h1 {
    font-size: 29px !important;
  }

  .param-list > div {
    flex-direction: row !important;
    gap: 8px;
  }

  .param-list > div span:first-child {
    min-width: 112px !important;
  }

  .related-list {
    grid-template-columns: 1fr 1fr;
  }

  .kf-btn {
    right: 14px !important;
    bottom: 14px !important;
    width: 58px !important;
    height: 58px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
