/* SNB Mirror — layout fixes (preserve slider float, center 1200px blocks) */

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

/* ── clearfix for float-based legacy layout ── */
.content::after,
footer .foot::after,
header .head::after {
  content: "";
  display: table;
  clear: both;
}

/* Homepage: full-bleed sections */
body[data-snb-mirror="1"] .content:not(:has(.con_top)) {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  clear: both;
}

/* Inner pages: restore 1200px centered column */
body[data-snb-mirror="1"] .content:has(.con_top) {
  width: 1200px !important;
  max-width: calc(100% - 32px) !important;
  margin: 0 auto !important;
  overflow: visible;
  clear: both;
  float: none;
}

body[data-snb-mirror="1"] .content:has(.con_top) .con_top,
body[data-snb-mirror="1"] .content:has(.con_top) .coninfo {
  float: left;
  width: 100%;
  clear: both;
}

body[data-snb-mirror="1"] .content:has(.con_top) .coninfo {
  overflow: visible;
  clear: both;
}

body[data-snb-mirror="1"] .content:has(.con_top) .coninfo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto 0;
}

/* Center page title + sub-nav (fix float/flex conflict) */
body[data-snb-mirror="1"] .content:has(.con_top) .con_top .titles,
body[data-snb-mirror="1"] .content:has(.con_top) .con_top .about_navs {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  float: none;
  width: 100%;
}

body[data-snb-mirror="1"] .content:has(.con_top) .con_top .titles .t1,
body[data-snb-mirror="1"] .content:has(.con_top) .con_top .titles .t2,
body[data-snb-mirror="1"] .content:has(.con_top) .con_top .titles .t3,
body[data-snb-mirror="1"] .content:has(.con_top) .about_navs .n_name,
body[data-snb-mirror="1"] .content:has(.con_top) .about_navs .n_line,
body[data-snb-mirror="1"] .content:has(.con_top) .about_navs a {
  float: none !important;
}

/* News list items stay within column */
body[data-snb-mirror="1"] .content:has(.con_top) .coninfo .newitem,
body[data-snb-mirror="1"] .content:has(.con_top) .coninfo .jointopimg {
  width: 100%;
  max-width: 1200px;
}

/* ── Header ── */
header {
  width: 100%;
  height: 120px;
  background: #fff;
  border-bottom: 5px solid #eceded;
  position: relative;
  z-index: 200;
  float: none;
}

header .head {
  width: 1200px;
  max-width: calc(100% - 32px);
  height: 120px;
  margin: 0 auto;
}

header .head .logo {
  margin-top: 44px;
}

/* ── Slider ── */
.content .slider {
  display: block !important;
  width: 1200px;
  max-width: calc(100% - 32px);
  height: 450px;
  margin: 0 auto;
  overflow: hidden;
}

.content .slider ul {
  height: 450px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content .slider li {
  float: left;
  width: 1200px;
  max-width: 100%;
  height: 450px;
}

.content .slider li img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

/* ── Full-bleed sections: 100% width background, inner 1200px centered ── */
.content .about,
.content .product,
.content .news,
.content .joind,
.content .contact {
  width: 100% !important;
  max-width: 100% !important;
  float: left;
  clear: both;
}

.snb-wrap-1200 {
  width: 1200px;
  max-width: calc(100% - 32px);
  margin-left: auto !important;
  margin-right: auto !important;
}

.content .about {
  width: 1200px !important;
  max-width: calc(100% - 32px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

.content .product .pros,
.content .news .newscontent,
.content .joind .joinwai,
.content .contact .containfo {
  width: 1200px;
  max-width: calc(100% - 32px);
  margin-left: auto !important;
  margin-right: auto !important;
  float: none;
}

.content .contact .t_title {
  width: 1200px;
  max-width: calc(100% - 32px);
  margin-left: auto;
  margin-right: auto;
  float: none;
}

.content .contact .catmore {
  width: 100%;
  float: none;
  clear: both;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.content .contact .catmore a {
  margin: 0;
}

/* Join Us banner image */
.content .joind .joinwai .joinimg {
  width: 100%;
  max-width: 1200px;
  height: auto;
  float: none;
  display: block;
}

.content .joind .joinwai {
  position: relative;
}

/* ── Footer ── */
footer {
  width: 100%;
  float: none !important;
  clear: both;
  overflow: hidden;
}

footer .foot {
  width: 1200px;
  max-width: calc(100% - 32px);
  margin: 0 auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto !important;
}

footer .foot .foot_left {
  display: contents;
}

footer .foot .foot_left .flink_title {
  order: 1;
  width: 100%;
  float: none !important;
  text-align: center;
}

footer .foot .foot_left .links {
  order: 2;
  width: 100% !important;
  max-width: 900px;
  height: auto !important;
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 24px;
  overflow: visible;
}

footer .foot .foot_left .links a {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

footer .foot .foot_left .beian {
  order: 4;
  width: 100%;
  float: none !important;
  text-align: center;
  line-height: 1.6;
  margin-top: 20px;
}

footer .foot .foot_right,
footer .foot .snb-social-qr-wrap {
  order: 3;
  float: none !important;
  width: 100%;
  height: auto !important;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

footer .foot .snb-social-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

footer .foot .snb-social-qr-img {
  width: 100px;
  height: 100px;
  display: block;
  border-radius: 6px;
  background: #f5f5f5;
  object-fit: contain;
}

footer .foot .snb-social-qr-label {
  font-size: 13px;
  color: #666;
  line-height: 1.3;
}

/* legacy wechat QR — hidden if JS missed */
footer .foot .foot_right .qrcode,
footer .foot .foot_right .wechatname {
  display: none !important;
}

/* ── Side contact buttons → WhatsApp style ── */
.qqinfo,
.qqinfo2,
.qqinfo3 {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  background-color: #25d366 !important;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
  border: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.qqinfo:hover,
.qqinfo2:hover,
.qqinfo3:hover {
  background-color: #20bd5a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.qqinfo .qqico,
.qqinfo2 .qqico,
.qqinfo3 .qqico {
  display: none !important;
}

.qqinfo .ws-icon,
.qqinfo2 .ws-icon,
.qqinfo3 .ws-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: 8px;
  display: block;
}

.qqinfo .qqtxt,
.qqinfo2 .qqtxt,
.qqinfo3 .qqtxt {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.side-buttons {
  position: fixed;
  right: 12px;
  left: auto;
  top: 50%;
  transform: translateY(-40%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 500;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.side-buttons.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

.side-buttons .qqinfo,
.side-buttons .qqinfo2,
.side-buttons .qqinfo3 {
  pointer-events: auto;
}

.side-buttons .qqinfo,
.side-buttons .qqinfo2,
.side-buttons .qqinfo3 {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: auto;
  min-width: 132px;
  max-width: 168px;
  height: 48px;
  padding: 0 16px 0 12px;
  flex-shrink: 0;
  border-radius: 24px;
}

@media (max-width: 1480px) {
  .side-buttons {
    right: 12px;
    left: auto;
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: none;
  }
}

@media (max-width: 768px) {
  .side-buttons {
    right: 8px !important;
    left: auto !important;
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    transform: none;
    gap: 6px;
  }

  header .head .menus {
    display: none;
  }

  header .head .menus.open {
    display: block;
  }

  .snb-nav-toggle:not(.snb-mobile-header-actions .snb-nav-toggle) {
    display: block;
    float: right;
    margin-top: 44px;
    background: #003366;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
  }
}

.snb-nav-toggle {
  display: none;
}

img.img-placeholder {
  background: #eee;
}

/* Product detail page — centered 1200px column */
body[data-snb-mirror="1"] .content:has(.topinfo) {
  width: 1200px !important;
  max-width: calc(100% - 32px) !important;
  margin: 0 auto !important;
  overflow: visible;
  clear: both;
}

body[data-snb-mirror="1"] .content:has(.topinfo) .topinfo,
body[data-snb-mirror="1"] .content:has(.topinfo) .title,
body[data-snb-mirror="1"] .content:has(.topinfo) .coninfo {
  float: left;
  width: 100%;
  clear: both;
}

/* Product grid — 详情 + 购买 */
.content .coninfo .snb-product-card {
  height: auto;
  min-height: 320px;
  padding-bottom: 14px;
  box-sizing: border-box;
}

.content .coninfo .snb-product-card .snb-product-top {
  display: block;
  text-decoration: none;
  color: inherit;
}

.content .coninfo .snb-product-card .snb-product-top:hover .zzname {
  color: #1d2088;
}

.content .coninfo .snb-product-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 0 12px;
  clear: both;
}

.content .coninfo .snb-product-card .zzbtn {
  display: none;
}

.content .coninfo .snb-btn-detail,
.content .coninfo .snb-btn-buy {
  min-width: 72px;
  height: 34px;
  line-height: 34px;
  padding: 0 14px;
  font-size: 14px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

.content .coninfo .snb-btn-detail {
  background-color: #666666;
  color: #fff;
}

.content .coninfo .snb-btn-detail:hover {
  background-color: #555;
  color: #fff;
}

.content .coninfo .snb-btn-buy {
  background-color: #1d2088;
  color: #fff;
}

.content .coninfo .snb-btn-buy:hover {
  background-color: #151875;
}

/* Header cart — replaces English lang slot (中文 | 购物车) */
header .menus a.snb-header-cart {
  cursor: pointer;
}

header .menus a.snb-header-cart li {
  position: relative;
  padding: 0 14px;
  min-width: 56px;
}

header .menus a.snb-header-cart .snb-cart-badge {
  position: absolute;
  top: -8px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 600;
}

/* Product detail — buy button below image */
.content .topinfo .snb-prodetail-buy-wrap {
  width: 540px;
  max-width: 100%;
  float: right;
  clear: right;
  text-align: center;
  margin-top: 14px;
  margin-bottom: 8px;
}

.content .topinfo .snb-prodetail-buy {
  min-width: 180px;
  height: 44px;
  padding: 0 32px;
  border: none;
  border-radius: 4px;
  background: #1d2088;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.content .topinfo .snb-prodetail-buy:hover {
  background: #151875;
}

/* ── Shopping cart (yunshang-home inspired) ── */
.snb-cart-modal,
.snb-cart-panel {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}

.snb-cart-modal *,
.snb-cart-panel * {
  box-sizing: border-box;
}

.snb-cart-panel li,
.snb-cart-list li {
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  line-height: normal !important;
  text-align: left !important;
}

.snb-cart-list .snb-cart-item-card {
  text-align: center !important;
}

/* Qty stepper */
.snb-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.snb-qty-stepper .snb-qty-minus,
.snb-qty-stepper .snb-qty-plus {
  width: 36px;
  height: 36px;
  border: none;
  background: #f7f7f7;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.snb-qty-stepper .snb-qty-minus:hover,
.snb-qty-stepper .snb-qty-plus:hover {
  background: #eee;
}

.snb-qty-stepper .snb-qty-val {
  min-width: 40px;
  text-align: center;
  font-size: 15px;
  color: #333;
  padding: 0 4px;
  float: none !important;
  display: inline-block !important;
}

.snb-qty-stepper--sm .snb-qty-minus,
.snb-qty-stepper--sm .snb-qty-plus {
  width: 28px;
  height: 28px;
  font-size: 16px;
}

.snb-qty-stepper--sm .snb-qty-val {
  min-width: 32px;
  font-size: 14px;
}

/* Add-to-cart modal */
.snb-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.snb-cart-modal.open {
  display: flex;
}

.snb-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.snb-cart-dialog {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.snb-cart-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.snb-cart-dialog-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.snb-cart-close {
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  float: none !important;
}

.snb-cart-product {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
}

.snb-cart-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fafafa;
}

.snb-cart-meta {
  flex: 1;
  min-width: 0;
}

.snb-cart-name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.45;
  float: none !important;
  display: block !important;
  width: 100% !important;
}

.snb-cart-hint {
  margin: 0;
  font-size: 13px;
  color: #888;
  float: none !important;
}

.snb-cart-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
}

.snb-cart-qty-label {
  font-size: 14px;
  color: #555;
}

.snb-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 20px;
}

.snb-cart-add,
.snb-cart-buy-now {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  float: none !important;
  display: block !important;
}

.snb-cart-add {
  background: #1d2088;
  color: #fff;
}

.snb-cart-add:hover {
  background: #151875;
}

.snb-cart-buy-now {
  background: #fff;
  color: #1d2088;
  border: 1px solid #1d2088;
}

.snb-cart-buy-now:hover {
  background: #f5f6ff;
}

.snb-cart-msg {
  margin: 0 20px 16px;
  text-align: center;
  color: #25a244;
  font-size: 14px;
  float: none !important;
}

/* Cart drawer */
.snb-cart-panel {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  pointer-events: none;
}

.snb-cart-panel.open {
  display: block;
  pointer-events: auto;
}

.snb-cart-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.snb-cart-panel-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  animation: snbCartSlideIn 0.28s ease;
}

@keyframes snbCartSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.snb-cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.snb-cart-panel-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.snb-cart-panel-close {
  border: none;
  background: none;
  font-size: 26px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  float: none !important;
}

.snb-cart-panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.snb-cart-panel:not(.is-empty) .snb-cart-panel-body {
  justify-content: flex-start;
}

.snb-cart-panel.is-few .snb-cart-panel-body {
  justify-content: center;
}

/* Empty vs has-items — class toggle (hidden attr overridden by display:flex) */
.snb-cart-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  float: none !important;
}

.snb-cart-panel.is-empty .snb-cart-empty {
  display: flex;
}

.snb-cart-panel.is-empty .snb-cart-list {
  display: none;
}

.snb-cart-panel.is-empty .snb-cart-panel-foot {
  display: none;
}

.snb-cart-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.35;
}

.snb-cart-empty p {
  margin: 0 0 20px;
  color: #888;
  font-size: 14px;
  float: none !important;
  width: auto !important;
}

.snb-cart-empty-btn {
  height: 40px;
  padding: 0 24px;
  border: 1px solid #1d2088;
  border-radius: 6px;
  background: #fff;
  color: #1d2088;
  font-size: 14px;
  cursor: pointer;
  float: none !important;
}

.snb-cart-empty-btn:hover {
  background: #f5f6ff;
}

.snb-cart-list {
  list-style: none;
  margin: 0;
  padding: 16px 20px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.snb-cart-item-card {
  position: relative;
  width: 100%;
  max-width: 300px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 16px 14px;
  background: #fff;
  border: 0.5px solid #d4b896;
  border-radius: 8px;
  clear: both;
  float: none !important;
}

.snb-cart-item-card:last-child {
  border-bottom: 0.5px solid #d4b896;
}

.snb-cart-item-card .snb-cart-item-remove {
  position: absolute;
  top: 6px;
  right: 8px;
  margin: 0;
}

.snb-cart-item-card .snb-cart-item-thumb {
  display: block;
  float: none !important;
}

.snb-cart-item-card .snb-cart-item-img {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  object-fit: contain;
  border: 0.5px solid #d4b896;
  border-radius: 8px;
  background: #fafafa;
  display: block;
}

.snb-cart-item-card .snb-cart-item-name {
  width: 100% !important;
  max-width: 240px;
  margin: 0;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  display: block !important;
  float: none !important;
  color: #222;
  text-decoration: none;
  word-break: break-word;
}

.snb-cart-item-card .snb-qty-stepper {
  align-self: center;
  margin-top: 2px;
}

.snb-cart-item-name:hover {
  color: #1d2088;
}

.snb-cart-item-remove {
  border: none;
  background: none;
  color: #ccc;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  flex-shrink: 0;
  float: none !important;
  height: auto !important;
  margin-top: -2px;
}

.snb-cart-item-remove:hover {
  color: #e53935;
}

.snb-cart-item-body .snb-qty-stepper {
  width: auto;
  flex-shrink: 0;
  align-self: flex-start;
}

.snb-cart-panel-foot {
  padding: 16px 20px 20px;
  border-top: 1px solid #eee;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.snb-cart-summary {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #555;
  margin: 0 0 14px;
  float: none !important;
  line-height: 1.5;
}

.snb-cart-summary strong,
.snb-cart-summary .snb-cart-kind-count {
  display: inline;
  font-size: 16px;
  color: #1d2088;
  font-weight: 700;
  float: none !important;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
}

.snb-cart-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.snb-cart-checkout,
.snb-cart-continue {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  float: none !important;
  display: block !important;
}

.snb-cart-checkout {
  background: #1d2088;
  color: #fff;
}

.snb-cart-checkout:hover {
  background: #151875;
}

.snb-cart-continue {
  background: #f5f5f5;
  color: #555;
}

.snb-cart-continue:hover {
  background: #eee;
}

/* ── Mobile H5 (≤768px) ── */
.snb-mobile-header-actions {
  display: none;
}

@media (max-width: 768px) {
  header .head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  header .head .logo {
    margin-top: 0 !important;
    float: none;
    flex-shrink: 0;
  }

  header .head .menus {
    order: 10;
    width: 100%;
    float: none;
  }

  .snb-mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none;
    margin: 0;
    flex-shrink: 0;
    order: 2;
  }

  .snb-mobile-cart-btn,
  header .head .snb-nav-toggle {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    float: none;
    margin: 0 !important;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .snb-mobile-cart-btn {
    background: #f0f1f5;
    color: #1d2088;
  }

  header .head .snb-nav-toggle {
    background: #1d2088;
    color: #fff;
    font-size: 20px;
  }

  .snb-mobile-cart-btn .snb-cart-badge {
    top: -4px;
    right: -4px;
  }

  /* Cart / shop drawers — full width + safe area */
  .snb-cart-panel-drawer {
    width: 100vw !important;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
  }

  .snb-cart-panel-head {
    padding: max(14px, env(safe-area-inset-top)) 16px 14px;
  }

  .snb-cart-panel-foot {
    padding: 14px 16px max(16px, env(safe-area-inset-bottom));
  }

  .snb-cart-panel-body {
    flex: 1;
    min-height: 0;
  }

  .snb-cart-panel.is-few .snb-cart-panel-body {
    justify-content: flex-start;
    padding-top: 20px;
  }

  .snb-cart-list {
    padding: 12px 16px 16px;
    gap: 12px;
  }

  .snb-cart-item-card {
    max-width: min(320px, calc(100vw - 32px));
    padding: 16px 14px 12px;
  }

  .snb-cart-item-card .snb-cart-item-remove {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
  }

  .snb-cart-checkout,
  .snb-cart-continue {
    height: 48px;
    min-height: 48px;
    font-size: 16px;
  }

  .snb-qty-stepper .snb-qty-minus,
  .snb-qty-stepper .snb-qty-plus {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .snb-qty-stepper--sm .snb-qty-minus,
  .snb-qty-stepper--sm .snb-qty-plus {
    width: 40px;
    height: 40px;
  }

  .snb-qty-stepper .snb-qty-val {
    min-width: 44px;
    font-size: 16px;
  }

  /* Product detail — stack columns */
  body[data-snb-mirror="1"] .content:has(.topinfo) {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .content .topinfo .left,
  .content .topinfo .right {
    width: 100% !important;
    float: none !important;
  }

  .content .topinfo .right {
    height: auto !important;
    margin-top: 16px;
  }

  .content .topinfo .right ul li {
    height: auto !important;
  }

  .content .topinfo .right ul li img {
    width: 100% !important;
    height: auto !important;
  }

  .content .topinfo .right .arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .content .topinfo .snb-prodetail-buy-wrap {
    width: 100% !important;
    float: none !important;
    clear: both;
    margin-top: 12px;
  }

  .content .topinfo .snb-prodetail-buy {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  /* Product grid cards */
  .content .coninfo .snb-product-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .content .coninfo .snb-btn-detail,
  .content .coninfo .snb-btn-buy {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 44px;
    line-height: 44px;
    font-size: 15px;
  }

  /* Side WhatsApp — right side, compact on mobile */
  .side-buttons .qqinfo,
  .side-buttons .qqinfo2,
  .side-buttons .qqinfo3 {
    min-width: 0;
    max-width: 140px;
    height: 42px;
    padding: 0 12px 0 10px;
    font-size: 12px;
  }

  /* ── Homepage H5 layout ── */
  header {
    height: auto !important;
    min-height: 64px;
  }

  header .head {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 64px;
    padding: 10px 16px;
  }

  header .head .logo img {
    max-width: 140px;
    height: auto;
    display: block;
  }

  /* Banner */
  .content .slider {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .content .slider ul {
    height: auto !important;
  }

  .content .slider li {
    width: 100% !important;
    height: auto !important;
    float: none !important;
  }

  .content .slider li img {
    width: 100% !important;
    height: auto !important;
    max-height: 240px;
    object-fit: cover;
  }

  /* Section titles + sub-nav */
  .content .about .t_title,
  .content .news .newscontent .t_title,
  .content .contact .t_title {
    height: auto !important;
    float: none !important;
    padding: 0 16px;
  }

  .content .about .t_title .titles,
  .content .product .t_title .titles,
  .content .news .newscontent .t_title .titles,
  .content .contact .t_title .titles {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100% !important;
    height: auto !important;
    float: none !important;
  }

  .content .about .t_title .titles .t1,
  .content .about .t_title .titles .t2,
  .content .about .t_title .titles .t3,
  .content .product .t_title .titles .t1,
  .content .product .t_title .titles .t2,
  .content .product .t_title .titles .t3,
  .content .news .newscontent .t_title .titles .t1,
  .content .news .newscontent .t_title .titles .t2,
  .content .news .newscontent .t_title .titles .t3,
  .content .contact .t_title .titles .t1,
  .content .contact .t_title .titles .t2,
  .content .contact .t_title .titles .t3 {
    float: none !important;
  }

  .content .about .t_title .about_navs,
  .content .news .newscontent .t_title .about_navs {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px 0;
    width: 100% !important;
    height: auto !important;
    margin-top: 14px;
    padding: 0 8px;
    float: none !important;
  }

  .content .about .t_title .about_navs a,
  .content .news .newscontent .t_title .about_navs a {
    float: none !important;
    display: inline-flex;
  }

  .content .about .t_title .about_navs .n_name,
  .content .news .newscontent .t_title .about_navs .n_name {
    float: none !important;
    white-space: nowrap;
    font-size: 14px;
    height: auto;
    line-height: 1.5;
  }

  .content .about .t_title .about_navs .n_line,
  .content .news .newscontent .t_title .about_navs .n_line {
    float: none !important;
    flex-shrink: 0;
    margin: 0 8px;
    height: 14px;
  }

  /* About cards */
  .content .about {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto 0 !important;
    padding: 0 16px;
    float: none !important;
  }

  .content .about .aboutcon {
    flex-direction: column;
    height: auto !important;
    gap: 16px;
    margin-top: 16px;
  }

  .content .about .aboutcon .abt_item {
    width: 100% !important;
    height: auto !important;
    float: none !important;
  }

  .content .about .aboutcon .abt_item .artimg {
    width: 100%;
    height: auto;
    display: block;
  }

  .content .about .abtmore {
    float: none;
    text-align: center;
    margin-top: 16px;
  }

  .content .about .abtmore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Product carousel — horizontal scroll, centered cards */
  .content .product {
    height: auto !important;
    margin-top: 28px;
    padding-bottom: 20px;
  }

  .content .product .t_title {
    padding: 0 16px;
    height: auto !important;
  }

  .content .product .pros {
    width: 100% !important;
    height: auto !important;
    padding: 0;
  }

  .content .product .pros .pw {
    width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    overflow: visible !important;
  }

  .content .product .pros .pw .prolist {
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 0 !important;
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 16px 0 8px;
    scrollbar-width: none;
  }

  .content .product .pros .pw .prolist::-webkit-scrollbar {
    display: none;
  }

  .content .product .pros .pw .prolist::before,
  .content .product .pros .pw .prolist::after {
    content: "";
    flex: 0 0 max(16px, calc((100% - min(260px, calc(100vw - 48px))) / 2));
  }

  .content .product .pros .pw .prolist .pro_one {
    flex: 0 0 min(260px, calc(100vw - 48px));
    width: min(260px, calc(100vw - 48px)) !important;
    height: auto !important;
    margin-left: 0 !important;
    float: none !important;
    scroll-snap-align: center;
  }

  .content .product .pros .pw .prolist .pro_one .pimgw {
    width: 100% !important;
    height: 200px;
  }

  .content .product .pros .pw .prolist .pro_one .detail {
    margin-left: auto;
    margin-right: auto;
    float: none !important;
    display: flex !important;
  }

  .content .product .pros .probanner_left,
  .content .product .pros .probanner_right {
    display: none !important;
  }

  /* News */
  .content .news {
    height: auto !important;
    padding-bottom: 24px;
  }

  .content .news .newscontent {
    width: 100% !important;
    height: auto !important;
    padding: 0 16px;
  }

  .content .news .newscontent .news_left,
  .content .news .newscontent .news_right {
    width: 100% !important;
    float: none !important;
    height: auto !important;
    margin-left: 0 !important;
  }

  .content .news .newscontent .news_left .newsimg,
  .content .news .newscontent .news_left .newstitle,
  .content .news .newscontent .news_left .newsinfo {
    width: 100% !important;
    float: none !important;
  }

  .content .news .newscontent .news_left .newsimg {
    height: auto;
    max-height: 220px;
    object-fit: cover;
  }

  .content .news .newscontent .news_left .newstitle {
    white-space: normal;
    height: auto;
    line-height: 1.45;
    overflow: visible;
    text-overflow: unset;
  }

  .content .news .newscontent .news_left .newsinfo {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .content .news .newscontent .news_right .newsitem {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    box-sizing: border-box;
  }

  .content .news .newscontent .news_right .newsitem .newsdate {
    width: 52px;
    flex-shrink: 0;
    height: auto !important;
    margin-top: 0 !important;
    float: none !important;
  }

  .content .news .newscontent .news_right .newsitem .newsdate .day {
    font-size: 26px;
    float: none !important;
    line-height: 1.1;
  }

  .content .news .newscontent .news_right .newsitem .newsdate .yearmonth {
    float: none !important;
    text-align: left;
    font-size: 11px;
  }

  .content .news .newscontent .news_right .newsitem .newsdate .dateline {
    display: none;
  }

  .content .news .newscontent .news_right .newsitem .newinfo {
    width: auto !important;
    flex: 1;
    min-width: 0;
    height: auto !important;
    margin-left: 0 !important;
    float: none !important;
  }

  .content .news .newscontent .news_right .newsitem .newinfo .newtitle {
    max-height: none;
    white-space: normal;
    line-height: 1.4;
  }

  .content .news .newscontent .news_right .newsitem .newinfo .newcon {
    margin-top: 6px;
    max-height: none;
    overflow: visible;
  }

  /* Join */
  .content .joind {
    height: auto !important;
    margin-top: 24px;
    padding: 0 16px;
  }

  .content .joind .joinwai {
    width: 100% !important;
    height: auto !important;
  }

  .content .joind .joinwai .joinimg {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    display: block;
    border-radius: 4px;
  }

  .content .joind .joinwai .joininfo {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding: 16px 0 8px;
    text-align: center;
  }

  .content .joind .joinwai .joininfo .entitle,
  .content .joind .joinwai .joininfo .chtitle {
    float: none !important;
    width: 100%;
  }

  .content .joind .joinwai .joininfo .chtitle {
    font-size: 20px;
    margin-top: 4px;
  }

  .content .joind .joinwai .joininfo .joinmore {
    float: none !important;
    margin: 14px auto 0;
    min-height: 44px;
    padding: 0 16px;
  }

  /* Contact */
  .content .contact {
    height: auto !important;
    padding-bottom: 28px;
    background-size: cover;
  }

  .content .contact .t_title {
    padding: 0 16px;
  }

  .content .contact .containfo {
    width: 100% !important;
    height: auto !important;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 16px;
    margin-top: 20px;
  }

  .content .contact .containfo .contactitem {
    width: 100% !important;
    max-width: 360px;
    height: auto !important;
    float: none !important;
    margin-top: 0 !important;
    text-align: center;
  }

  .content .contact .containfo .contactitem .ctname,
  .content .contact .containfo .contactitem .ctval {
    float: none !important;
    height: auto;
    line-height: 1.5;
    word-break: break-word;
  }

  .content .contact .catmore {
    margin-top: 16px;
    padding: 0 16px;
  }

  /* Footer */
  footer {
    height: auto !important;
    padding: 24px 16px max(24px, env(safe-area-inset-bottom));
  }

  footer .foot {
    width: 100% !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer .foot .foot_left {
    display: contents;
  }

  footer .foot .foot_left .flink_title {
    order: 1;
    width: 100%;
    float: none !important;
    margin-top: 0;
    text-align: center;
  }

  footer .foot .foot_left .links {
    order: 2;
    width: 100% !important;
    height: auto !important;
    float: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-top: 16px;
    overflow: visible;
  }

  footer .foot .foot_left .links a {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 13px;
  }

  footer .foot .foot_right,
  footer .foot .snb-social-qr-wrap {
    order: 3;
    float: none !important;
    width: 100%;
    height: auto !important;
    margin: 16px 0 0;
    gap: 20px;
  }

  footer .foot .snb-social-qr-img {
    width: 88px;
    height: 88px;
  }

  footer .foot .foot_left .beian {
    order: 4;
    width: 100%;
    float: none !important;
    text-align: center;
    line-height: 1.6;
    margin-top: 20px;
    font-size: 12px;
  }
}

/* 国际物流合作方（全站页脚上方） */
.snb-logistics-partners {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 20px 16px 18px;
  text-align: center;
}
.snb-logistics-partners-title {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.snb-logistics-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
  max-width: 720px;
  margin: 0 auto;
}
.snb-logistics-partners-grid img {
  height: 26px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  opacity: 0.9;
}
