/* 冀农数兴商城：在现有移动商城组件上调整品牌、商品层级及留白。 */
:root {
    --light-color: #286342;
    --store-primary: #286342;
    --store-primary-dark: #17472c;
    --store-berry: #843651;
    --store-paper: #f7f5ef;
    --store-surface: #ffffff;
    --store-ink: #203427;
    --store-muted: #677365;
    --store-line: #e2e8dc;
}
body { background: var(--store-paper); color: var(--store-ink); font-size: 16px; }
.user-profile-sync { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; color: var(--store-muted); }
a { color: var(--store-primary); }
a:focus-visible, button:focus-visible { outline: 3px solid #73a883; outline-offset: 3px; }
.btn-primary, .swal2-confirm { background: var(--store-primary) !important; border-color: var(--store-primary) !important; box-shadow: none; }
.btn-primary:hover, .btn-primary:focus { background: var(--store-primary-dark) !important; }
.btn-outline-primary { color: var(--store-primary); border-color: var(--store-primary); }
.btn-outline-primary:hover { background: var(--store-primary); border-color: var(--store-primary); }
.text-primary { color: var(--store-primary) !important; }
.bg-primary, .badge-primary { background-color: var(--store-primary) !important; }
.form-control:focus { border-color: #73a883; box-shadow: 0 0 0 .2rem rgba(40,99,66,.12); }
.form-control { font-size: 16px; }
.section { border-radius: 12px; }
.store-header { padding: 22px 20px 16px; display: flex; align-items: center; gap: 12px; }
.store-header img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #fff; }
.store-header h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.store-header p { margin: 4px 0 0; font-size: 13px; color: var(--store-muted); }
.store-hero { padding: 24px 20px 0; background: #e9efdf; overflow: hidden; position: relative; }
.store-eyebrow { display: block; color: var(--store-primary); font-size: 12px; letter-spacing: .15em; margin-bottom: 10px; }
.store-hero h2 { font-size: 30px; line-height: 1.35; color: var(--store-ink); font-weight: 700; margin: 0 0 10px; }
.store-hero p { margin: 0; color: #54634f; font-size: 14px; }
.store-hero .hero-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.hero-products { display: flex; gap: 10px; margin: 18px -4px 0; align-items: end; }
.hero-products img { width: calc((100% - 20px)/3); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px 12px 0 0; }
.hero-products img:nth-child(2) { margin-bottom: 12px; border-radius: 12px; }
.store-services { display: flex; justify-content: space-between; gap: 8px; padding: 16px 4px; color: var(--store-muted); font-size: 12px; }
.store-services i { color: var(--store-primary); margin-right: 4px; }
.catalog-section { background: var(--store-surface); padding: 18px 14px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 18px; }
.catalog-heading h2 { font-size: 21px; font-weight: 700; margin: 0 0 5px; color: var(--store-ink); }
.catalog-heading p { font-size: 13px; color: var(--store-muted); margin: 0; }
.catalog-heading > a { min-height: 44px; display: flex; align-items: center; font-size: 13px; white-space: nowrap; }
.store-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.store-category { display: flex; align-items: center; flex-direction: column; gap: 8px; border: 1px solid var(--store-line); background: #f8faf5; border-radius: 10px; padding: 12px 4px; min-height: 44px; }
.store-category img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #fff; }
.store-category span { font-size: 14px; font-weight: 600; }
.catalog-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
.catalog-products > a { display: block; min-width: 0; }
.catalog-products .goods_card { display: block; height: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--store-line); }
.catalog-products .goods_card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.goods_card .right { min-width: 0; }
.catalog-products .goods_card .right { padding: 10px; }
.goods_card .right h5 { font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-products .goods_card .right h5 { min-height: 45px; margin-bottom: 6px; }
.goods_card .right strong { color: var(--store-berry); font-size: 21px; }
.goods_card .right .product-spec { color: var(--store-muted); font-size: 12px; line-height: 1.5; margin-bottom: 7px; overflow-wrap: anywhere; }
.catalog-products .product-spec { min-height: 36px; }
.goods_card .right p { color: var(--store-muted); margin-bottom: 6px; }
.product-action { display: flex; justify-content: space-between; align-items: center; font-size: 12px; min-height: 44px; color: var(--store-primary); border-top: 1px solid var(--store-line); margin-top: 9px; padding-top: 6px; }
.product-action i { font-size: 19px; }
.store-share { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px; margin-top: 16px; background: #e9efdf; border-radius: 12px; }
.store-share h3 { margin: 0 0 5px; font-size: 17px; }
.store-share p { margin: 0; font-size: 13px; color: var(--store-muted); }
.store-share button { min-width: 44px; min-height: 44px; }
.store-empty { text-align: center; padding: 30px 12px; color: var(--store-muted); font-size: 14px; }
.g-c-hr { border: 0; border-top: 1px solid var(--store-line); }
.appBottomMenu { background: var(--store-surface); border-color: var(--store-line); padding-bottom: env(safe-area-inset-bottom,0); }
.appBottomMenu .item { color: var(--store-muted); }
.appBottomMenu .item.active { color: var(--store-primary); }
.appBottomMenu .item span { display: block !important; font-size: 12px; }
.left-bar { width: 25%; background: var(--store-paper); }
.left-bar ul li { min-height: 54px; padding: 14px 8px; align-items: center; }
.left-bar .active { padding-left: 8px; border-left-width: 3px; color: var(--store-primary); }
.left-bar ul li p { margin-left: 0; font-size: 14px; }
.left-bar ul li img { display: none; }
.right-menu { width: 75%; padding: 16px 10px 100px; }
.right-menu h3 { margin: 0 0 16px; font-size: 19px; }
.right-menu .goods_card { border-radius: 8px; overflow: hidden; align-items: flex-start; }
.right-menu .goods_card img { width: 38%; height: auto; aspect-ratio: 1; object-fit: contain; }
.right-menu .goods_card .right { flex: 1; padding: 4px 0 4px 10px; }
.right-menu .goods_card h5 { font-size: 14px; }
.right-menu .goods_card .btn { font-size: 12px; padding: 8px 12px; min-height: 44px; }
.goods-desc { padding: 20px 16px; }
.goods-desc .title { font-size: 21px; line-height: 1.5; color: var(--store-ink); }
.goods-desc .now_price { font-size: 28px; color: var(--store-berry); }
.goods-desc .price { align-items: baseline; flex-wrap: wrap; }
.goods-desc .desc { font-size: 15px; line-height: 1.7; color: var(--store-muted); }
.goods-detail .content img { height: auto; display: block; }
.goods-bottom { border-color: var(--store-line); padding-bottom: env(safe-area-inset-bottom,0); z-index: 1020; }
.goods-bottom .left .bar-list { min-width: 44px; min-height: 44px; display: flex; justify-content: center; flex-direction: column; }
.goods-bottom .right { font-size: 17px; min-height: 56px; }
.order-goods-card { padding-top: 22px; align-items: flex-start; }
.order-goods-card img { height: 100px; object-fit: contain; border-radius: 8px; }
.order-goods-card .title { margin-left: 12px; }
.order-mark textarea { width: 100%; }
.appFooter .footer-logo { width: 82px; height: 88px; object-fit: contain; }
.appFooter { color: var(--store-muted); }
.share-guide { border-radius: 16px; padding: 42px 24px 28px; text-align: center; position: relative; background: var(--store-surface); color: var(--store-ink); }
.share-guide h2 { font-size: 21px; margin-top: 18px; }
.share-guide p { color: var(--store-muted); font-size: 15px; line-height: 1.8; }
.share-logo { width: 66px; height: 66px; object-fit: contain; }
.share-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--store-muted); font-size: 24px; }
.share-arrow { position: absolute; right: 60px; top: 22px; font-size: 26px; color: var(--store-primary); }
.share-guide .btn { min-height: 44px; }
.subtitle { color: var(--store-muted); font-size: .95rem; }
.money-card { background: var(--store-primary) !important; }
.banner-style img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
@media (min-width: 768px) {
    .store-header { padding-left: 24px; }
    .store-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 32px 24px 0; }
    .store-hero h2 { font-size: 38px; }
    .hero-products { margin-top: 0; }
    .catalog-products { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .store-services { justify-content: center; gap: 36px; }
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { --store-paper: #1c251e; --store-surface: #263229; --store-ink: #e5eee1; --store-muted: #b6c6af; --store-line: #41543e; --store-berry: #ef9bb5; }
    :root:not([data-theme="light"]) .store-hero h2, :root:not([data-theme="light"]) .store-share h3 { color: #203427; }
    :root:not([data-theme="light"]) .store-share p { color: #54634f; }
    :root:not([data-theme="light"]) .store-category { background: var(--store-surface); color: var(--store-ink); }
    :root:not([data-theme="light"]) .goods_card { background: var(--store-surface); }
    :root:not([data-theme="light"]) .goods-desc, :root:not([data-theme="light"]) .goods-detail, :root:not([data-theme="light"]) .right-menu { background: var(--store-surface); }
    :root:not([data-theme="light"]) .catalog-heading > a, :root:not([data-theme="light"]) .product-action, :root:not([data-theme="light"]) .appBottomMenu .item.active { color: #acd4a4; }
}
[data-theme="dark"] { --store-paper: #1c251e; --store-surface: #263229; --store-ink: #e5eee1; --store-muted: #b6c6af; --store-line: #41543e; --store-berry: #ef9bb5; }
[data-theme="dark"] .store-hero h2, [data-theme="dark"] .store-share h3 { color: #203427; }
[data-theme="dark"] .store-share p { color: #54634f; }
[data-theme="dark"] .store-category, [data-theme="dark"] .goods_card, [data-theme="dark"] .goods-desc, [data-theme="dark"] .goods-detail, [data-theme="dark"] .right-menu { background: var(--store-surface); color: var(--store-ink); }
[data-theme="dark"] .catalog-heading > a, [data-theme="dark"] .product-action, [data-theme="dark"] .appBottomMenu .item.active { color: #acd4a4; }
@media (prefers-reduced-motion: reduce) { .btn, a { transition: none !important; } }

/* Quiet editorial refinement; fonts use installed Chinese faces, without a CDN. */
:root { --store-display: "Songti SC", "STSong", "SimSun", serif; --store-ease: cubic-bezier(.22,.61,.36,1); }
.store-header { padding-top: 28px; padding-bottom: 22px; }
.store-header h1 { font-size: 19px; letter-spacing: .065em; }
.store-header p { letter-spacing: .025em; }
.store-hero { background: #e8ecdf; border: 1px solid #dce2d3; border-radius: 4px 20px 4px 20px; padding-top: 28px; }
.store-eyebrow { font-size: 11px; letter-spacing: .18em; margin-bottom: 16px; }
.store-hero h2 { font-family: var(--store-display); font-size: 32px; font-weight: 600; line-height: 1.4; letter-spacing: .015em; }
.hero-products { gap: 12px; margin-top: 24px; }
.hero-products img { width: calc((100% - 24px)/3); border: 1px solid rgba(32,52,39,.08); border-radius: 4px 4px 0 0; box-shadow: 0 8px 20px rgba(32,52,39,.06); }
.hero-products img:nth-child(2) { border-radius: 4px; }
.hero-link i { transition: transform 280ms var(--store-ease); }
.section-kicker { display: block; margin-bottom: 9px; font-size: 10px; letter-spacing: .12em; color: var(--store-muted); }
.catalog-section { border-radius: 4px; padding-top: 24px; padding-bottom: 24px; }
.catalog-heading h2 { font-family: var(--store-display); font-size: 24px; font-weight: 600; letter-spacing: .03em; }
.catalog-heading { border-bottom: 1px solid var(--store-line); padding-bottom: 18px; }
.store-category { border-radius: 5px; background: var(--store-paper); padding-top: 16px; padding-bottom: 16px; }
.catalog-products .goods_card { border-radius: 5px; box-shadow: 0 3px 14px rgba(32,52,39,.025); }
.catalog-products .goods_card .right { padding: 12px; }
.goods_card .right strong, .goods-desc .now_price { font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.store-share { border: 1px solid var(--store-line); background: var(--store-surface); border-radius: 5px; padding: 22px 18px; }
.appBottomMenu { box-shadow: 0 -6px 24px rgba(32,52,39,.035); }
.btn, .store-category, .catalog-products > a .goods_card, .appBottomMenu .item, .goods-bottom .right { transition: transform 220ms var(--store-ease), background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.btn:active, .store-category:active, .catalog-products > a:active .goods_card, .goods-bottom .right:active { transform: scale(.985); }
.motion-enter { animation: store-reveal 540ms var(--store-ease) both; animation-delay: var(--motion-delay,0ms); }
@keyframes store-reveal { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
    .catalog-products > a:hover .goods_card, .store-category:hover { transform: translateY(-3px); border-color: #bacbb8; box-shadow: 0 10px 24px rgba(32,52,39,.07); }
    .hero-link:hover i { transform: translateX(4px); }
    .btn:hover { transform: translateY(-1px); }
}
@media (min-width: 768px) { .store-hero { padding-top: 40px; } .store-hero h2 { font-size: 44px; } .catalog-section { padding: 28px 24px; } }
@media (min-width: 1100px) { #appCapsule { max-width: 1100px; margin-left: auto; margin-right: auto; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store-hero { background: #cfd9c7; border-color: #65785e; } }
[data-theme="dark"] .store-hero { background: #cfd9c7; border-color: #65785e; }
@media (prefers-reduced-motion: reduce) {
    .motion-enter { animation: none !important; }
    .hero-link i, .btn, .store-category, .catalog-products > a .goods_card, .appBottomMenu .item, .goods-bottom .right { transition: none !important; transform: none !important; }
}

.sku-options{display:flex;flex-wrap:wrap;gap:10px}.sku-choice{background:#fff;border:1px solid #dbe2d6;border-radius:10px;padding:10px 14px;color:#52654d;text-align:left}.sku-choice.selected{background:#eaf0e4;border-color:#778d69;box-shadow:0 2px 8px #617a4812}.sku-section h3{font-size:17px;margin-bottom:15px}#sku-rewards{font-size:12px;margin-top:14px}.address-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.address-actions .btn{padding:7px 12px}#address-form label{display:block;margin:10px 0}.address-region{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#buy_num{max-width:100px}.page-more{display:block;margin:24px auto 100px;padding:9px 22px;border:1px solid #dce3d8;border-radius:18px;background:#fff;color:#60745d}.order-record{border:1px solid #e9ebe4;border-radius:14px;padding:18px}.order-record .order-goods-card{padding:14px 0;margin:0;border:0}.empty-state{grid-column:1/-1;color:#858b82;padding:24px;text-align:center}.goods-detail .content img{display:block;width:100%;height:auto}.pay-now:disabled{opacity:.6;cursor:wait}
.account-setup{max-width:480px;margin:0 auto;padding:32px 20px 48px}.account-brand{display:flex;align-items:center;gap:12px;margin-bottom:36px;color:var(--store-ink);font-size:15px}.account-brand img{width:40px;height:40px;object-fit:contain}.account-panel{background:var(--store-surface);border:1px solid var(--store-line);border-radius:8px;padding:28px 22px}.account-panel h1{font-family:var(--store-display);color:var(--store-ink);font-size:29px;line-height:1.5;margin:0 0 12px}.account-intro{color:var(--store-muted);line-height:1.8;margin-bottom:28px}.account-panel label{display:flex;justify-content:space-between;font-weight:500;margin:18px 0 8px;color:var(--store-ink);font-size:16px}.account-panel label span{font-size:12px;color:var(--store-muted);font-weight:400}.account-panel .form-control{font-size:16px;min-height:50px;border-color:var(--store-line);background:var(--store-paper);color:var(--store-ink)}.account-panel .btn{min-height:50px;margin-top:18px;font-size:16px}.account-note{font-size:13px;line-height:1.9;margin:20px 0 0;color:var(--store-muted)}.account-error{color:#a83c57;min-height:22px;margin:14px 0 0;font-size:14px}.account-logout{display:block;margin:20px auto 0;min-height:44px;border:0;background:none;color:var(--store-muted);font-size:14px}
