:root {
  --red: #d92d3a;
  --red-dark: #ad1f2b;
  --ink: #20242b;
  --muted: #6d737c;
  --line: #e3e5e8;
  --soft: #f5f6f7;
  --green: #16865b;
  --blue: #176aa6;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.utility-bar { background: #f4f5f6; border-bottom: 1px solid var(--line); color: #666; font-size: 12px; }
.utility-inner { height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner nav { display: flex; align-items: center; gap: 22px; }
.utility-action { margin: 0; padding: 0; border: 0; color: inherit; background: transparent; font-size: inherit; }
.utility-inner a:hover, .utility-action:hover, .main-nav a:hover { color: var(--red); }
.brand-row { height: 100px; display: grid; grid-template-columns: 260px 1fr 140px; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 52px; aspect-ratio: 1; flex: none; color: #fff; background: var(--red); border-radius: 4px; font-size: 28px; font-weight: 800; }
.brand strong { display: block; font-size: 27px; line-height: 1.05; }
.brand small { display: block; color: var(--muted); font-size: 11px; margin-top: 7px; }
.search { height: 44px; border: 2px solid var(--red); display: flex; border-radius: 4px; overflow: hidden; }
.search input { min-width: 0; flex: 1; border: 0; padding: 0 16px; outline: 0; }
.search button { width: 104px; border: 0; color: #fff; background: var(--red); display: flex; gap: 7px; align-items: center; justify-content: center; }
.search button:hover { background: var(--red-dark); }
.cart-button { height: 44px; border: 1px solid var(--line); background: #fff; display: flex; gap: 8px; align-items: center; justify-content: center; border-radius: 4px; position: relative; }
.cart-button b { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 11px; }
.nav-band { border-bottom: 2px solid var(--red); }
.main-nav { height: 44px; display: flex; align-items: stretch; }
.category-trigger { width: 220px; flex: none; border: 0; color: #fff; background: var(--red); display: flex; gap: 10px; align-items: center; padding: 0 18px; font-weight: 600; }
.main-nav nav { display: flex; align-items: center; gap: 34px; padding-left: 34px; font-size: 15px; font-weight: 600; }
.main-nav a.active { color: var(--red); }
.hero-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 238px; min-height: 410px; }
.category-menu { background: #262a30; padding: 9px 0; }
.category-menu button { width: 100%; height: 55px; display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: 11px; color: #f4f4f4; background: transparent; border: 0; padding: 0 17px; text-align: left; }
.category-menu button:hover { background: var(--red); }
.category-menu svg:last-child { width: 15px; opacity: .6; }
.hero { min-width: 0; position: relative; overflow: hidden; background: #e7f5fb; }
.hero > img { width: 100%; height: 410px; object-fit: cover; object-position: 58% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.76) 28%, transparent 58%); }
.hero-copy { position: absolute; z-index: 1; top: 88px; left: 46px; max-width: 360px; }
.hero-copy > span { color: var(--red); font-weight: 700; }
.hero h1 { font-size: 46px; margin: 13px 0 8px; letter-spacing: 0; }
.hero p { margin: 0 0 28px; color: #4e5762; font-size: 17px; }
.primary-link { height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 18px; color: #fff; background: var(--ink); border-radius: 3px; font-weight: 600; }
.primary-link:hover { background: var(--red); }
.service-panel { border: 1px solid var(--line); border-top: 0; padding: 18px 16px; background: #fff; }
.service-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.service-heading .avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--red); background: #fff0f1; }
.service-heading strong, .service-heading small { display: block; }
.service-heading small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.service-action { width: 100%; min-height: 72px; display: grid; grid-template-columns: 30px 1fr 16px; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 8px 2px; text-align: left; }
.service-action:hover strong { color: var(--red); }
.service-action > svg { color: var(--red); }
.service-action > svg:last-child { color: #aaa; width: 15px; }
.service-action strong, .service-action small { display: block; }
.service-action small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.service-links { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 18px; }
.service-links a { text-align: center; font-size: 11px; color: var(--muted); }
.service-links svg { display: block; margin: 0 auto 7px; color: var(--ink); }
.notice-strip { min-height: 47px; display: grid; grid-template-columns: 110px 1fr 80px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.notice-strip strong { display: flex; align-items: center; gap: 8px; color: var(--red); }
.ticker { min-width: 0; display: flex; gap: 32px; overflow: hidden; font-size: 13px; color: #555; white-space: nowrap; }
.ticker span::before { content: "·"; margin-right: 8px; color: var(--red); }
.text-button { color: var(--red); border: 0; background: none; padding: 7px; }
.quick-services { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 20px; padding: 18px 12px; row-gap: 20px; border: 1px solid var(--line); background: #fff; }
.quick-services > * { min-width: 0; min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: var(--ink); background: #fff; border: 0; text-align: center; }
.quick-services .service-icon { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; border-radius: 17px 17px 17px 8px; background: linear-gradient(145deg, #ff8a42, #eb263d 72%); box-shadow: 0 5px 12px rgba(220, 35, 55, .18); transition: transform .18s ease, box-shadow .18s ease; }
.quick-services svg { width: 28px; height: 28px; stroke-width: 2; }
.quick-services strong { display: block; font-size: 14px; font-weight: 600; }
.quick-services > *:hover .service-icon { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(220, 35, 55, .24); }
.zone-band { margin-top: 44px; padding: 38px 0 42px; background: #f4f5f6; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; }
.section-title span { color: var(--red); font-size: 11px; font-weight: 700; }
.section-title h2 { margin: 4px 0 0; font-size: 25px; }
.section-title.compact { margin: 38px 0 18px; }
.segmented { display: flex; border-bottom: 1px solid #ccc; }
.segmented button { min-width: 110px; padding: 10px 13px; border: 0; border-bottom: 2px solid transparent; background: none; color: #666; }
.segmented button.active { color: var(--red); border-color: var(--red); font-weight: 700; }
.zone-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.zone-feature, .zone-tile { position: relative; min-height: 250px; overflow: hidden; background: #fff; }
.zone-feature img, .zone-tile img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.zone-feature:hover img, .zone-tile:hover img { transform: scale(1.03); }
.zone-feature > div, .zone-tile > span { position: absolute; inset: 22px auto auto 24px; max-width: 170px; }
.zone-feature span { color: var(--red); font-weight: 700; font-size: 13px; }
.zone-feature strong, .zone-feature small, .zone-tile strong, .zone-tile small { display: block; }
.zone-feature strong { font-size: 21px; margin: 8px 0; }
.zone-feature small, .zone-tile small { color: var(--muted); margin-top: 6px; }
.zone-tile strong { font-size: 18px; }
.info-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-list { border-top: 2px solid var(--ink); }
.info-list header { height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.info-list header a { color: var(--muted); font-size: 12px; }
.info-list > a { min-height: 45px; display: grid; grid-template-columns: 44px 1fr 45px; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); font-size: 13px; }
.info-list b { font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.info-list time { color: #999; font-size: 11px; text-align: right; }
.tag { padding: 4px 5px; text-align: center; font-size: 11px; border-radius: 2px; }
.tag.buy { color: var(--blue); background: #e9f4fb; }
.tag.supply { color: var(--green); background: #eaf7f1; }
.outline-button { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 13px; color: var(--red); background: #fff; border: 1px solid var(--red); border-radius: 3px; }
.product-section { padding-bottom: 55px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { position: relative; border: 1px solid var(--line); padding: 12px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { border-color: #bbb; box-shadow: 0 8px 24px rgba(22,27,34,.08); }
.product-card > a { display: block; aspect-ratio: 1; overflow: hidden; }
.product-card img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-label { position: absolute; top: 18px; left: 18px; color: #fff; background: var(--red); padding: 4px 7px; border-radius: 2px; font-size: 10px; }
.product-label.points { background: var(--blue); }
.product-label.local { background: var(--green); }
.product-card h3 { height: 42px; margin: 12px 0 8px; font-size: 14px; line-height: 1.5; font-weight: 500; }
.product-card p { min-height: 26px; margin: 0; }
.product-card p strong { color: var(--red); font-size: 18px; }
.product-card p del { color: #aaa; font-size: 11px; margin-left: 8px; }
.product-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.add-cart, .icon-button { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--red); border: 1px solid #f0cbd0; background: #fff; }
.add-cart:hover { color: #fff; background: var(--red); }
.empty-state { padding: 50px; text-align: center; color: var(--muted); background: var(--soft); }
.site-footer { background: #282c31; color: #fff; }
.footer-service { min-height: 82px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-service span { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-service svg { color: #f4c45e; }
.footer-main { min-height: 130px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 45px; }
.footer-brand .brand-mark { width: 44px; }
.footer-brand small { color: #aaa; }
.footer-main nav { display: flex; gap: 24px; color: #ccc; font-size: 13px; }
.footer-main p { color: #888; font-size: 12px; }
.footer-record { display: grid; gap: 7px; text-align: right; white-space: nowrap; }
.footer-record a:hover { color: #ddd; }
.mobile-nav { display: none; }
dialog { width: min(680px, calc(100% - 28px)); border: 0; border-radius: 6px; padding: 0; box-shadow: 0 24px 80px rgba(0,0,0,.24); }
dialog::backdrop { background: rgba(15,18,23,.55); }
.modal-form { padding: 25px; }
.modal-form > header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.modal-form header span { color: var(--red); font-size: 10px; font-weight: 700; }
.modal-form h2 { margin: 4px 0 0; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.form-grid label { display: grid; gap: 7px; color: #555; font-size: 13px; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid #ccd0d5; border-radius: 3px; padding: 10px 11px; outline: 0; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217,45,58,.09); }
.agreement { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: #666; font-size: 12px; }
.modal-form > footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.modal-form > footer button { min-width: 92px; height: 40px; border-radius: 3px; }
.secondary { color: #555; border: 1px solid #ccd0d5; background: #fff; }
.primary { color: #fff; border: 1px solid var(--red); background: var(--red); }
.payment-dialog { width: min(720px, calc(100% - 28px)); }
.payment-panel { padding: 25px; }
.payment-panel > header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.payment-panel header span { color: var(--red); font-size: 10px; font-weight: 700; }
.payment-panel h2 { margin: 4px 0 0; font-size: 22px; }
.payment-summary { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; margin: 20px 0; padding: 15px 18px; background: var(--soft); color: var(--muted); font-size: 13px; }
.payment-summary strong { color: var(--ink); text-align: right; }
.payment-summary .payment-amount { color: var(--red); font-size: 20px; }
.alipay-checkout { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 20px; padding: 24px; border: 1px solid #dce9ff; background: #f5f9ff; }
.alipay-brand-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 8px; color: #fff; background: #1677ff; font-size: 36px; font-weight: 700; }
.alipay-checkout strong { font-size: 18px; }
.alipay-checkout p { margin: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.alipay-checkout small { color: #1677ff; }
.payment-panel > footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.payment-panel > footer button { min-width: 110px; height: 40px; border-radius: 3px; }
.alipay-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #fff; border: 1px solid #1677ff; background: #1677ff; }
.alipay-button:disabled { cursor: wait; opacity: .65; }
.alipay-mark { display: grid; place-items: center; width: 21px; height: 21px; color: #1677ff; background: #fff; border-radius: 3px; font-weight: 700; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 32px; transform: translate(-50%, 20px); padding: 12px 18px; color: #fff; background: var(--ink); border-radius: 4px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
svg { width: 18px; height: 18px; stroke-width: 1.8; }
@media (max-width: 960px) {
  .brand-row { grid-template-columns: 210px 1fr 48px; gap: 16px; }
  .cart-button { font-size: 0; }
  .main-nav nav { gap: 18px; padding-left: 20px; font-size: 13px; }
  .hero-layout { grid-template-columns: 190px 1fr; }
  .category-trigger { width: 190px; }
  .service-panel { display: none; }
  .quick-services { grid-template-columns: repeat(5, 1fr); }
  .zone-grid { grid-template-columns: 1fr 1fr; }
  .zone-feature { grid-row: span 2; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 24px, 1200px); }
  .utility-bar, .nav-band, .category-menu, .cart-button { display: none; }
  .brand-row { height: auto; display: block; padding: 13px 12px 11px; width: 100%; }
  .brand { width: max-content; margin-bottom: 12px; }
  .brand-mark { width: 40px; font-size: 22px; }
  .brand strong { font-size: 21px; }
  .brand small { display: none; }
  .search { width: 100%; height: 40px; }
  .search button { width: 76px; }
  .hero-layout { width: 100%; display: block; min-height: 0; }
  .hero > img { height: 260px; object-position: 63% center; }
  .hero::after { background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.45) 62%, transparent); }
  .hero-copy { top: 42px; left: 22px; max-width: 230px; }
  .hero-copy > span { font-size: 12px; }
  .hero h1 { font-size: 31px; margin-top: 10px; }
  .hero p { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
  .primary-link { height: 38px; font-size: 13px; }
  .notice-strip { width: calc(100% - 24px); grid-template-columns: 88px 1fr; }
  .notice-strip .ticker span:not(:first-child), .notice-strip > button { display: none; }
  .quick-services { width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 12px; padding: 14px 4px; row-gap: 14px; border-inline: 0; }
  .quick-services > * { min-height: 78px; gap: 7px; }
  .quick-services .service-icon { width: 48px; height: 48px; border-radius: 14px 14px 14px 7px; }
  .quick-services svg { width: 23px; height: 23px; }
  .quick-services strong { font-size: 12px; white-space: nowrap; }
  .zone-band { margin-top: 24px; padding: 26px 0; }
  .section-title { align-items: center; }
  .section-title h2 { font-size: 21px; }
  .segmented button { min-width: auto; padding-inline: 9px; font-size: 12px; }
  .zone-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .zone-feature { grid-column: 1 / -1; min-height: 210px; grid-row: auto; }
  .zone-tile { min-height: 170px; }
  .zone-tile > span { inset: 13px auto auto 14px; }
  .info-columns { grid-template-columns: 1fr; gap: 18px; }
  .info-list:nth-child(2) { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .product-card { padding: 9px; }
  .product-card h3 { font-size: 12px; }
  .product-card p strong { font-size: 15px; }
  .product-card footer small { font-size: 10px; }
  .footer-service { grid-template-columns: 1fr 1fr; padding: 15px 0; gap: 15px; }
  .footer-main { display: block; padding: 26px 0; }
  .footer-main nav { flex-wrap: wrap; margin: 22px 0; }
  .mobile-nav { position: fixed; z-index: 10; inset: auto 0 0; height: 62px; display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-top: 1px solid var(--line); }
  .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #555; background: #fff; border: 0; font-size: 10px; }
  .mobile-nav .active { color: var(--red); }
  .mobile-nav .publish-open svg { color: #fff; background: var(--red); width: 32px; height: 32px; padding: 6px; border-radius: 50%; }
  .mobile-cart-button { position: relative; }
  .mobile-cart-button b { position: absolute; top: 5px; right: calc(50% - 20px); min-width: 15px; height: 15px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--red); font-size: 9px; line-height: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .payment-panel { padding: 20px; }
  .alipay-checkout { grid-template-columns: 1fr; gap: 15px; text-align: center; }
  .alipay-brand-mark { margin-inline: auto; }
  .payment-actions { flex-wrap: wrap; }
  .payment-actions button { flex: 1 1 130px; }
  .toast { width: calc(100% - 32px); text-align: center; bottom: 76px; }
}
