:root {
  --blue: #1764a7;
  --blue-dark: #0d4f8b;
  --blue-pale: #eef6fc;
  --red: #e4393c;
  --green: #16a765;
  --gold: #f0a118;
  --ink: #333;
  --muted: #777;
  --line: #ddd;
  --paper: #fff;
  --soft: #f5f5f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 14px/1.6 Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.page-width { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.top-strip { height: 32px; color: #666; background: #f4f4f4; border-bottom: 1px solid #e4e4e4; font-size: 12px; }
.top-strip-inner { height: 32px; display: flex; align-items: center; justify-content: space-between; }
.top-strip a:hover { color: var(--red); }
.top-strip i, footer i { display: inline-block; width: 1px; height: 11px; margin: 0 12px; vertical-align: -1px; background: #ccc; }

.site-header { height: 106px; display: flex; align-items: center; gap: 58px; }
.brand { display: flex; align-items: center; min-width: 420px; }
.brand-mark {
  width: 56px;
  height: 56px;
  margin-right: 12px;
  color: #fff;
  background: linear-gradient(145deg, #2cbb61, #13944a);
  border: 3px solid #dff4e6;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: bold;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 2px 5px rgba(0,0,0,.15);
}
.brand strong { color: #1e5183; display: block; letter-spacing: 2px; font-size: 25px; line-height: 1.25; }
.brand small { display: block; margin-top: 3px; color: #999; letter-spacing: 3px; font-size: 11px; }
.header-promise { display: flex; align-items: center; min-width: 200px; }
.promise-icon {
  width: 42px; height: 42px; margin-right: 10px; display: grid; place-items: center;
  color: var(--red); border: 2px solid var(--red); border-radius: 50%; font-size: 18px; font-weight: bold;
}
.header-promise:nth-last-child(1) .promise-icon { color: var(--blue); border-color: var(--blue); }
.header-promise b, .header-promise small { display: block; }
.header-promise b { font-size: 15px; }
.header-promise small { color: #999; font-size: 12px; }
.compact-header { justify-content: space-between; }
.compact-header .brand { min-width: auto; }
.checkout-steps { display: flex; align-items: center; color: #999; }
.checkout-steps span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.checkout-steps b { width: 25px; height: 25px; border: 1px solid #bbb; border-radius: 50%; display: grid; place-items: center; }
.checkout-steps i { width: 44px; height: 1px; margin: 0 10px; background: #ccc; }
.checkout-steps .current { color: var(--blue); font-weight: bold; }
.checkout-steps .current b { color: white; border-color: var(--blue); background: var(--blue); }

.main-nav { height: 42px; color: #fff; background: var(--blue); border-bottom: 3px solid var(--blue-dark); }
.nav-inner { display: flex; align-items: stretch; height: 39px; }
.nav-inner a { min-width: 120px; padding: 0 24px; display: grid; place-items: center; font-weight: bold; }
.nav-inner a:hover, .nav-inner .active { background: var(--blue-dark); }
.nav-inner .all-goods { width: 210px; background: #0b477c; }
.notice-bar {
  height: 38px; margin-top: 12px; padding: 0 14px; display: flex; align-items: center;
  color: #795500; background: #fff9e8; border: 1px solid #f0dda2; font-size: 13px;
}
.notice-bar b { color: #d78b00; margin-right: 6px; }

.hero-layout { display: grid; grid-template-columns: 210px 1fr 210px; height: 330px; border: 1px solid #ddd; border-top: 0; }
.category-panel { background: #fff; border-right: 1px solid #ddd; overflow: hidden; }
.category-list { max-height: 288px; overflow-y: auto; }
.panel-title { height: 42px; padding: 0 16px; color: #fff; background: #175d9a; display: flex; align-items: center; font-weight: bold; }
.category-list a { height: 76px; padding: 13px 13px 11px; display: grid; grid-template-columns: 22px 1fr; align-content: center; border-bottom: 1px dotted #d6d6d6; }
.category-list a:hover { color: var(--blue); background: #f0f7fd; }
.category-list .category-bullet { grid-row: 1 / span 2; color: #aaa; font-size: 22px; }
.category-list b { font-size: 14px; }
.category-list small { color: #999; font-size: 11px; }
.loading-line { padding: 24px 14px; color: #999; }
.hero-banner { position: relative; overflow: hidden; min-width: 0; background: linear-gradient(118deg, #e9f6ff 0%, #f7fbfe 51%, #d9eeff 100%); }
.hero-banner::before, .hero-banner::after { content: ""; position: absolute; border-radius: 50%; border: 35px solid rgba(255,255,255,.42); }
.hero-banner::before { width: 330px; height: 330px; right: -80px; top: -105px; }
.hero-banner::after { width: 190px; height: 190px; right: 140px; bottom: -120px; }
.hero-copy { position: relative; z-index: 2; padding: 54px 0 0 58px; }
.hero-kicker { color: #2477b9; border-bottom: 2px solid #71afd9; padding-bottom: 4px; font-size: 13px; letter-spacing: 2px; }
.hero-copy h1 { margin: 15px 0 6px; color: #153f66; font-size: 34px; line-height: 1.32; letter-spacing: 2px; }
.hero-copy h1 em { color: var(--red); font-style: normal; }
.hero-copy p { margin: 0 0 23px; color: #637d94; }
.hero-button { display: inline-block; padding: 8px 26px; color: white; background: var(--red); border-bottom: 3px solid #b91e22; font-weight: bold; }
.hero-button:hover { background: #d5262a; }
.hero-art { position: absolute; z-index: 1; width: 310px; height: 290px; right: 3px; bottom: 0; }
.chat-card {
  position: absolute; width: 142px; height: 82px; padding: 16px 10px 10px 58px;
  background: rgba(255,255,255,.94); border: 1px solid #c7e2f5; box-shadow: 0 6px 16px rgba(41,92,129,.14);
}
.chat-card::after { content: ""; position: absolute; left: 20px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-left: 0; }
.chat-card i { position: absolute; left: 15px; top: 18px; width: 32px; height: 32px; background: #22ad5c; border-radius: 10px; }
.chat-card i::before, .chat-card i::after { content: ""; position: absolute; width: 5px; height: 5px; top: 12px; border-radius: 50%; background: white; }
.chat-card i::before { left: 8px; }
.chat-card i::after { right: 8px; }
.chat-card b, .chat-card small { display: block; }
.chat-card b { color: #2d587c; }
.chat-card small { color: #8aa1b3; font-size: 11px; }
.chat-one { top: 45px; left: 12px; transform: rotate(-4deg); }
.chat-two { top: 135px; right: 8px; transform: rotate(3deg); }
.chat-two i { background: var(--blue); }
.shield {
  position: absolute; left: 107px; bottom: 5px; width: 104px; height: 122px;
  color: white; background: linear-gradient(145deg, #2eb76b, #149553); display: grid; place-items: center;
  border: 8px solid rgba(255,255,255,.7); border-radius: 50% 50% 48% 48% / 40% 40% 60% 60%; font-size: 54px; font-weight: bold;
  box-shadow: 0 9px 22px rgba(25,91,65,.22);
}
.side-service { background: #fff; border-left: 1px solid #ddd; }
.service-head { height: 42px; padding: 0 14px; display: flex; align-items: center; color: #555; background: #f3f3f3; border-bottom: 1px solid #ddd; font-weight: bold; }
.service-body { padding: 17px 12px; text-align: center; border-bottom: 1px dotted #ccc; }
.headset { width: 44px; height: 44px; margin: 0 auto 6px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 24px; }
.service-body b, .service-body small, .service-body strong { display: block; }
.service-body b { color: var(--blue); font-size: 16px; }
.service-body small { margin-top: 10px; color: #999; }
.service-body strong { color: var(--red); }
.service-tip { padding: 14px; }
.service-tip b { color: #555; }
.service-tip p { margin: 4px 0; color: #888; font-size: 12px; line-height: 1.8; }

.products-section { margin-top: 24px; }
.section-heading { height: 48px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 2px solid var(--blue); }
.section-heading h2 { margin: 0; padding: 0 0 10px; font-size: 20px; }
.section-heading h2 span { margin-right: 4px; color: var(--red); }
.product-filters { display: flex; align-self: stretch; }
.product-filters button { min-width: 90px; padding: 0 13px; color: #777; background: transparent; border: 0; }
.product-filters button:hover { color: var(--blue); }
.product-filters .active { color: white; background: var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #e4e4e4; }
.product-card { min-width: 0; padding: 16px; border-right: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; background: white; }
.product-card:hover { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px var(--blue); }
.product-image { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: #f7f9fb; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.stock-tag { position: absolute; left: 0; bottom: 0; padding: 3px 9px; color: white; background: rgba(21,155,85,.9); font-size: 11px; }
.stock-tag.sold-out { background: rgba(120,120,120,.9); }
.product-meta { padding-top: 11px; }
.product-meta > small { color: var(--blue); }
.product-meta h3 { height: 24px; margin: 2px 0 4px; overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.product-meta h3 a:hover { color: var(--red); text-decoration: underline; }
.product-meta p { height: 42px; margin: 0; overflow: hidden; color: #888; font-size: 12px; line-height: 1.7; }
.product-bottom { margin-top: 8px; display: flex; align-items: baseline; justify-content: space-between; }
.price { color: var(--red); font-size: 23px; font-weight: bold; }
.price i { margin-right: 2px; font-size: 14px; font-style: normal; }
.inventory { color: #999; font-size: 11px; }
.buy-button { margin-top: 8px; height: 34px; color: white; background: var(--red); border-bottom: 2px solid #bb2024; display: grid; place-items: center; font-weight: bold; }
.buy-button:hover { background: #ce292d; }
.buy-button.disabled { pointer-events: none; background: #aaa; border-color: #888; }
.product-list { border: 1px solid #e4e4e4; border-top: 0; }
.product-row { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border-bottom: 1px solid #eee; background: #fff; }
.product-row:last-child { border-bottom: 0; }
.product-row:hover { background: #f7fbfe; }
.product-row-main { flex: 1; min-width: 0; }
.product-row-main small { color: var(--blue); font-size: 12px; }
.product-row-main h3 { margin: 2px 0 3px; font-size: 15px; }
.product-row-main h3 a:hover { color: var(--red); }
.product-row-main p { margin: 0; color: #888; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-row-side { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.product-row-side .price { color: var(--red); font-size: 18px; font-weight: bold; white-space: nowrap; }
.product-row-side .price i { margin-right: 2px; font-size: 12px; font-style: normal; }
.product-row-side .stock { color: #999; font-size: 12px; white-space: nowrap; }
.product-row-side .buy-button { margin: 0; padding: 0 18px; height: 34px; display: inline-grid; place-items: center; }
@media (max-width: 720px) {
  .product-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-row-side { flex-wrap: wrap; gap: 12px; }
  .product-row-side .buy-button { flex: 1; }
}
.empty-state { grid-column: 1 / -1; padding: 55px 20px; color: #888; text-align: center; border: 1px solid #e3e3e3; background: #fafafa; }

.trust-grid { margin: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #ddd; background: #fafafa; }
.trust-grid article { min-height: 150px; padding: 25px 22px; display: flex; gap: 15px; border-right: 1px solid #ddd; }
.trust-grid article:last-child { border-right: 0; }
.trust-icon { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-weight: bold; font-size: 17px; }
.trust-grid article:nth-child(2) .trust-icon { background: var(--red); }
.trust-grid article:nth-child(3) .trust-icon { background: var(--green); }
.trust-grid h3 { margin: 0 0 5px; font-size: 17px; }
.trust-grid p { margin: 0; color: #777; font-size: 12px; line-height: 1.8; }
.help-box { margin-bottom: 30px; border: 1px solid #d9d9d9; }
.help-title { height: 42px; padding: 0 16px; display: flex; align-items: center; color: #444; background: #f5f5f5; border-bottom: 1px solid #ddd; font-weight: bold; }
.help-box ol { margin: 0; padding: 24px 15px; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.help-box li { display: flex; align-items: center; justify-content: center; border-right: 1px dotted #ccc; }
.help-box li:last-child { border-right: 0; }
.help-box li > b { margin-right: 12px; color: #d5d5d5; font-size: 28px; }
.help-box strong, .help-box small { display: block; }
.help-box small { color: #999; }
.seo-intro { margin: 0 0 30px; padding: 24px 28px; border: 1px solid #ddd; background: #fafafa; }
.seo-intro h2 { margin: 0 0 10px; padding-left: 10px; border-left: 4px solid var(--blue); font-size: 18px; color: #1e5183; }
.seo-intro p { margin: 0; color: #666; font-size: 13px; line-height: 1.9; }
footer { padding: 25px 0; color: #888; background: #f4f4f4; border-top: 1px solid #ddd; text-align: center; font-size: 12px; }
footer p { margin: 5px 0; }
footer a:hover { color: var(--blue); }

.breadcrumb { height: 48px; display: flex; align-items: center; gap: 9px; color: #888; font-size: 12px; }
.breadcrumb a:hover { color: var(--blue); }
.product-detail { padding: 22px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; border: 1px solid #ddd; background: white; }
.detail-gallery { min-width: 0; }
.detail-image { height: 220px; max-width: 220px; margin: 0 auto 16px; padding: 10px; border: 1px solid #ddd; background: #fafafa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.image-caption { padding: 12px 0; color: #999; text-align: center; font-size: 11px; }
.detail-main { min-width: 0; }
.detail-desc { min-width: 0; padding-left: 26px; border-left: 1px solid #eee; }
.detail-desc h3 { margin: 0 0 12px; padding-left: 10px; border-left: 4px solid var(--blue); font-size: 16px; }
.detail-main .side-safe-tip { margin-top: 14px; }
.detail-category { display: inline-block; padding: 2px 9px; color: var(--blue); background: #e9f3fc; border: 1px solid #c8e0f3; font-size: 12px; }
.detail-main h1 { margin: 9px 0 4px; color: #333; font-size: 23px; line-height: 1.45; overflow-wrap: anywhere; }
.detail-subtitle { color: #e05658; font-size: 12px; }
.detail-price-row { height: 75px; margin-top: 16px; padding: 0 16px; display: flex; align-items: center; background: #f8f2ee; border-top: 1px solid #eadfd8; border-bottom: 1px solid #eadfd8; }
.detail-price-row > span { width: 78px; color: #777; }
.detail-price-row b { color: var(--red); font-size: 30px; }
.detail-price-row b i { margin-right: 3px; font-size: 17px; font-style: normal; }
.detail-price-row em { margin-left: 13px; padding: 2px 8px; color: white; background: var(--red); font-style: normal; font-size: 11px; }
.detail-facts { margin: 13px 0; padding-bottom: 8px; border-bottom: 1px dotted #ccc; font-size: 12px; }
.detail-facts div { display: flex; min-height: 29px; align-items: center; }
.detail-facts dt { width: 78px; color: #888; }
.detail-facts dd { margin: 0; color: #555; }
.detail-facts dd b { color: var(--green); }
.mini-usdt { width: 19px; height: 19px; margin-right: 4px; display: inline-grid; place-items: center; color: white; background: #26a17b; border-radius: 50%; }
.order-form h2 { margin: 0 0 10px; font-size: 15px; }
.order-form > label { margin-bottom: 10px; display: grid; grid-template-columns: 80px 1fr; align-items: center; }
.order-form > label > span { color: #555; font-size: 12px; }
.order-form > label > span b { color: var(--red); }
.order-form input[type="password"], .order-form input[type="email"] { height: 36px; padding: 0 10px; border: 1px solid #bbb; outline: none; }
.order-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(23,100,167,.09); }
.order-form > label > small { grid-column: 2; color: #aaa; font-size: 11px; }
.form-consent { margin: 5px 0 10px 80px; display: flex; align-items: center; gap: 6px; color: #777; font-size: 11px; }
.buy-now { width: 230px; height: 43px; margin-left: 80px; color: white; background: var(--red); border: 0; border-bottom: 3px solid #b92125; font-size: 16px; font-weight: bold; }
.buy-now:hover { background: #d72e32; }
.buy-now:disabled { cursor: not-allowed; background: #aaa; border-color: #888; }
.detail-side { padding-left: 20px; border-left: 1px solid #e3e3e3; }
.detail-side h3 { margin: 0; padding-bottom: 9px; border-bottom: 1px solid #ddd; font-size: 15px; }
.detail-side ul { margin: 0; padding: 7px 0; list-style: none; }
.detail-side li { padding: 12px 0; display: grid; grid-template-columns: 36px 1fr; border-bottom: 1px dotted #ccc; }
.detail-side li > span { grid-row: 1 / span 2; width: 29px; height: 29px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 12px; font-weight: bold; }
.detail-side li:nth-child(2) > span { background: var(--green); }
.detail-side li:nth-child(3) > span { background: var(--red); }
.detail-side li b { font-size: 12px; }
.detail-side li small { color: #999; font-size: 10px; }
.side-safe-tip { margin-top: 9px; padding: 11px; color: #785d19; background: #fff9e6; border: 1px solid #eee0ae; font-size: 11px; }
.side-safe-tip p { margin: 3px 0 0; }
.detail-information { margin: 22px 0 30px; border: 1px solid #ddd; }
.detail-tabs { height: 46px; display: flex; align-items: stretch; background: #f5f5f5; border-bottom: 1px solid #ddd; }
.detail-tabs > * { min-width: 125px; display: grid; place-items: center; border-right: 1px solid #ddd; }
.detail-tabs b { margin-top: -1px; color: var(--blue); background: white; border-top: 3px solid var(--blue); }
.detail-content { padding: 28px 40px 35px; line-height: 1.9; }
.auto-delivery-badge { max-width: 620px; margin: 0 auto 28px; padding: 17px 22px; display: grid; grid-template-columns: 50px 1fr; color: #2f6248; background: #edf9f2; border: 1px solid #b9e4ca; }
.auto-delivery-badge span { grid-row: 1 / span 2; font-size: 30px; }
.auto-delivery-badge b { font-size: 20px; }
.auto-delivery-badge small { color: #6e8d7b; }
.detail-content h3 { margin: 20px 0 8px; padding-left: 10px; border-left: 4px solid var(--blue); font-size: 16px; }
.description-copy { min-height: 60px; color: #666; }
.detail-note { padding: 1px 20px 15px; background: #fafafa; border: 1px solid #e5e5e5; color: #666; }
.detail-note p { margin: 6px 0; }
.product-order { margin: 22px 0; padding: 22px 26px; border: 1px solid #ddd; background: white; }
.product-order .order-form { max-width: 580px; }
.detail-promise { margin: 0 0 30px; padding: 20px 22px; border: 1px solid #ddd; background: #fafafa; }
.detail-promise h3 { margin: 0 0 14px; padding-left: 10px; border-left: 4px solid var(--blue); font-size: 16px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promise-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid #e3e3e3; }
.promise-item > span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: 14px; font-weight: bold; }
.promise-item:nth-child(2) > span { background: var(--green); }
.promise-item:nth-child(3) > span { background: var(--red); }
.promise-item b { display: block; font-size: 14px; }
.promise-item small { color: #999; font-size: 11px; }
.detail-promise .side-safe-tip { margin-top: 14px; }

.modal { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.payment-dialog { position: relative; z-index: 1; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 29px 34px 32px; background: white; border-top: 5px solid var(--blue); box-shadow: 0 10px 45px rgba(0,0,0,.32); }
.modal-close { position: absolute; right: 11px; top: 7px; width: 30px; height: 30px; color: #888; background: transparent; border: 0; font-size: 26px; line-height: 1; }
.dialog-status { color: var(--green); font-size: 12px; font-weight: bold; }
.payment-dialog h2 { margin: 2px 0 15px; font-size: 21px; }
.order-summary { padding: 12px 14px; display: grid; grid-template-columns: 86px 1fr; row-gap: 6px; background: #f6f6f6; border: 1px solid #ddd; font-size: 12px; }
.order-summary span { color: #888; }
.order-summary i { font-style: normal; }
.payment-choice { margin: 16px 0; padding: 14px; display: grid; grid-template-columns: 22px 44px 1fr auto; align-items: center; border: 2px solid var(--blue); background: #f3f8fd; }
.usdt-logo { width: 35px; height: 35px; display: grid; place-items: center; color: white; background: #26a17b; border-radius: 50%; font-size: 20px; font-weight: bold; }
.payment-choice b, .payment-choice small { display: block; }
.payment-choice small { color: #888; font-size: 11px; }
.payment-choice em { padding: 2px 7px; color: #26a17b; border: 1px solid #7bd0b5; font-style: normal; font-size: 10px; }
.primary-action { width: 100%; height: 43px; color: white; background: var(--red); border: 0; border-bottom: 3px solid #bb2125; font-weight: bold; }
.primary-action:disabled { background: #aaa; border-color: #888; }
.exact-amount { margin: 12px 0 16px; padding: 14px; text-align: center; background: #fff7f0; border: 1px solid #f1d1bb; }
.exact-amount small, .exact-amount b { display: block; }
.exact-amount b { color: var(--red); font-size: 31px; }
.exact-amount p { margin: 3px 0 0; color: #aa6c45; font-size: 11px; }
.qr-area { display: grid; grid-template-columns: 170px 1fr; gap: 18px; }
.qr-placeholder { width: 170px; height: 170px; display: grid; place-content: center; color: #999; background: repeating-linear-gradient(45deg,#f6f6f6,#f6f6f6 10px,#eee 10px,#eee 20px); border: 1px solid #ccc; text-align: center; }
.qr-placeholder span, .qr-placeholder small { display: block; }
.qr-placeholder img { width: 100%; height: 100%; object-fit: contain; background: white; }
.address-area { min-width: 0; }
.address-area > small { display: block; margin-bottom: 5px; color: #888; }
.address-area code { min-height: 86px; padding: 10px; display: block; overflow-wrap: anywhere; background: #f5f5f5; border: 1px solid #ddd; font-size: 12px; }
.secondary-button { margin-top: 10px; padding: 7px 18px; color: var(--blue); background: white; border: 1px solid var(--blue); }
.payment-warning { margin-top: 15px; padding: 10px; color: #8c671a; background: #fff9e8; border: 1px solid #eddda8; font-size: 11px; }
.final-order-row { margin: 12px 0; display: flex; justify-content: space-between; color: #777; font-size: 11px; }
.final-order-row span { color: var(--red); }
.modal-open { overflow: hidden; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 35px; padding: 10px 22px; color: white; background: #333; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: .2s; box-shadow: 0 4px 15px rgba(0,0,0,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #bf2e32; }

/* 悬浮客服小球 */
.support-ball {
  position: fixed; z-index: 90; right: 24px; bottom: 28px; width: 60px; height: 60px;
  display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center;
  color: #fff; background: linear-gradient(145deg, #2cbb61, #13944a); border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); cursor: pointer; transition: transform .2s;
}
.support-ball:hover { transform: translateY(-3px); }
.support-ball:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.support-ball-icon { font-size: 22px; font-weight: bold; line-height: 1; }
.support-ball small { font-size: 9px; letter-spacing: 1px; }
.support-panel {
  position: fixed; z-index: 91; right: 24px; bottom: 98px; width: 320px; height: 460px; max-height: calc(100vh - 130px);
  display: none; flex-direction: column; background: #fff; border: 1px solid #ddd; border-top: 4px solid var(--green);
  box-shadow: 0 10px 40px rgba(0,0,0,.2); overflow: hidden;
}
.support-panel.open { display: flex; }
.support-head { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(115deg, #1764a7, #164b75); }
.support-head b { font-size: 14px; }
.support-head small { display: block; margin-top: 2px; color: #cfe2f2; font-size: 10px; }
.support-close { width: 26px; height: 26px; color: #fff; background: transparent; border: 0; font-size: 22px; line-height: 1; }
.support-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f7f9fa; }
.support-msg { max-width: 82%; padding: 9px 12px; font-size: 13px; line-height: 1.6; word-break: break-word; }
.support-msg.bot { align-self: flex-start; color: #333; background: #fff; border: 1px solid #e3e3e3; border-radius: 4px 12px 12px 12px; }
.support-msg.user { align-self: flex-end; color: #fff; background: var(--blue); border-radius: 12px 4px 12px 12px; }
.support-typing { align-self: flex-start; padding: 11px 14px; background: #fff; border: 1px solid #e3e3e3; border-radius: 4px 12px 12px 12px; }
.support-typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; background: #b6bcc2; border-radius: 50%; animation: supportTyping 1.2s infinite; }
.support-typing span:nth-child(2) { animation-delay: .2s; }
.support-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes supportTyping { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.support-input-row { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eee; background: #fff; }
.support-input-row input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #bbb; outline: none; }
.support-input-row input:focus { border-color: var(--blue); }
.support-input-row input:disabled { background: #f3f3f3; color: #aaa; }
.support-input-row button { padding: 0 16px; color: #fff; background: var(--blue); border: 0; border-bottom: 2px solid #0d4f8b; font-weight: bold; }
.support-input-row button:disabled { background: #aaa; border-color: #888; }
.support-restart { align-self: center; margin-top: 4px; padding: 7px 18px; color: var(--blue); background: #fff; border: 1px solid var(--blue); font-size: 12px; }

/* 订单查询 / 扫码辅助登陆 简单页面 */
.simple-page { margin: 18px auto 36px; }
.simple-card { max-width: 560px; margin: 0 auto; padding: 26px 28px 24px; background: #fff; border: 1px solid #ddd; }
.simple-card.wide { max-width: 760px; }
.simple-card h1 { margin: 0 0 6px; font-size: 22px; color: #1e5183; }
.simple-card .sub { margin: 0 0 20px; color: #888; font-size: 12px; }
.simple-form label { display: block; margin-bottom: 14px; }
.simple-form label > span { display: block; margin-bottom: 5px; color: #555; font-size: 13px; }
.simple-form label > span b { color: var(--red); }
.simple-form input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #bbb; outline: none; }
.simple-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(23,100,167,.09); }
.simple-form button { width: 100%; height: 44px; color: #fff; background: var(--red); border: 0; border-bottom: 3px solid #b92125; font-size: 15px; font-weight: bold; }
.simple-form button:disabled { background: #aaa; border-color: #888; }
.simple-tip { margin: 14px 0 0; padding: 10px 12px; color: #8c671a; background: #fff9e8; border: 1px solid #eddda8; font-size: 12px; line-height: 1.7; }
.notice-block { margin-top: 18px; padding: 14px 16px; background: #fff9e8; border: 1px solid #eddda8; }
.notice-block b { display: block; margin-bottom: 6px; color: #d78b00; font-size: 13px; }
.notice-block p { margin: 0; color: #8c671a; font-size: 12px; line-height: 1.8; }
.simple-error { margin: 12px 0 0; padding: 10px 12px; color: #fff; background: var(--red); font-size: 13px; }
.muted-text { color: #a5afb6; }
.order-result { max-width: 760px; margin: 22px auto 0; }
.order-result .empty-state { grid-column: auto; }
.order-card { margin-bottom: 16px; background: #fff; border: 1px solid #ddd; }
.order-card-head { padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--blue); }
.order-card-head b { font-size: 14px; }
.order-card-head .order-status { padding: 2px 9px; background: rgba(255,255,255,.22); font-size: 12px; }
.order-card-body { padding: 4px 18px 12px; }
.order-card-body dl { margin: 0; display: grid; grid-template-columns: 100px 1fr; }
.order-card-body dt { padding: 11px 0; color: #888; font-size: 13px; border-bottom: 1px dotted #eee; }
.order-card-body dd { margin: 0; padding: 11px 0; color: #333; font-size: 13px; border-bottom: 1px dotted #eee; word-break: break-all; }
.order-card-body dt:last-of-type, .order-card-body dd:last-of-type { border-bottom: 0; }
.order-card-body dd b { color: var(--red); }
.delivery-box { min-height: 56px; padding: 10px 12px; color: #aaa; background: #f7f7f7; border: 1px dashed #ddd; font-size: 13px; line-height: 1.7; }
.usage-copy { line-height: 1.8; }

@media (max-width: 980px) {
  .site-header { gap: 25px; }
  .brand { min-width: 360px; }
  .header-promise:last-child { display: none; }
  .hero-layout { grid-template-columns: 200px 1fr; }
  .side-service { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .detail-desc { padding-left: 0; border-left: 0; margin-top: 20px; }
  .detail-side { display: none; }
}

@media (max-width: 720px) {
  .page-width { width: min(100% - 20px, 1180px); }
  .top-strip { height: auto; min-height: 32px; }
  .top-strip-inner > span:last-child { display: none; }
  .site-header { height: 82px; }
  .brand { min-width: 0; }
  .brand-mark { width: 46px; height: 46px; border-radius: 13px; font-size: 22px; }
  .brand strong { font-size: 18px; letter-spacing: 1px; }
  .brand small { font-size: 9px; letter-spacing: 1px; }
  .header-promise, .checkout-steps { display: none; }
  .main-nav { height: auto; overflow-x: auto; }
  .nav-inner { width: max-content; min-width: 100%; }
  .nav-inner a { min-width: 92px; padding: 0 13px; font-size: 12px; }
  .nav-inner .all-goods { width: 132px; }
  .notice-bar { height: auto; min-height: 38px; align-items: flex-start; padding-top: 8px; padding-bottom: 8px; }
  .hero-layout { height: auto; grid-template-columns: 1fr; border: 0; }
  .category-panel { border: 1px solid #ddd; }
  .category-list { display: flex; overflow-x: auto; }
  .category-list a { flex: 0 0 140px; height: 64px; }
  .hero-banner { min-height: 250px; border: 1px solid #ddd; border-top: 0; }
  .hero-copy { padding: 35px 0 0 24px; }
  .hero-copy h1 { font-size: 27px; }
  .hero-copy p { max-width: 290px; font-size: 11px; }
  .hero-art { opacity: .48; right: -85px; }
  .section-heading { height: auto; min-height: 52px; display: block; overflow: hidden; }
  .section-heading h2 { padding-top: 10px; }
  .product-filters { overflow-x: auto; height: 38px; }
  .product-filters button { white-space: nowrap; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { padding: 10px; }
  .product-image { height: 145px; }
  .product-meta h3 { font-size: 13px; }
  .product-meta p { display: none; }
  .price { font-size: 19px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid #ddd; }
  .help-box ol { grid-template-columns: repeat(2, 1fr); gap: 15px 0; }
  .help-box li:nth-child(2) { border-right: 0; }
  .product-detail { padding: 13px; grid-template-columns: 1fr; gap: 14px; }
  .detail-image { max-width: none; height: min(70vw, 300px); margin: 0 0 14px; }
  .detail-main h1 { font-size: 20px; }
  .order-form > label { grid-template-columns: 1fr; }
  .order-form > label > small { grid-column: 1; }
  .form-consent { margin-left: 0; }
  .buy-now { width: 100%; margin-left: 0; }
  .detail-content { padding: 20px 16px; }
  .detail-tabs span { display: none; }
  .payment-dialog { padding: 25px 18px; }
  .qr-area { grid-template-columns: 1fr; justify-items: center; }
  .address-area { width: 100%; }
  .final-order-row { display: block; }
  .final-order-row span { display: block; margin-top: 4px; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 250px; }
}

@media (max-width: 480px) {
  .support-panel { width: calc(100% - 32px); right: 16px; }
  .support-ball { right: 16px; bottom: 20px; width: 54px; height: 54px; }
  .order-card-body dl { grid-template-columns: 84px 1fr; }
  .simple-card { padding: 20px 18px; }
  .seo-intro { padding: 16px; }
  .promise-grid { grid-template-columns: 1fr; }
}
