#shop-view.shop-coupons {
    width: min(640px, calc(100% - 24px));
    min-height: 0;
    margin: 62px auto 92px;
    padding: 0;
    background: transparent;
}
.coupon-hero {
    display: flex;
    align-items: center;
    min-height: clamp(126px, 27vw, 212px);
    padding: 18px clamp(22px, 6vw, 42px);
    border-radius: 18px;
    background: linear-gradient(90deg, #57110c72 0%, transparent 73%), #8a1c0e url(/banners/coupons.webp) center / cover no-repeat;
    color: #fff6e7;
}
#shop-view .coupon-hero h1 {
    margin: 0;
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.2;
    letter-spacing: .04em;
    text-shadow: 0 2px 9px #430b0677;
}
.coupon-empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 34px 16px;
    background: #fff;
    border: 1px solid #f0e4df;
    border-radius: 18px;
    text-align: center;
}
.coupon-ticket {
    display: grid;
    place-items: center;
    width: 55px;
    height: 39px;
    border-radius: 7px;
    background: radial-gradient(circle at left, #fff 5px, transparent 5.5px),
                radial-gradient(circle at right, #fff 5px, transparent 5.5px), #ffebe6;
    color: #b73624;
    font-size: 20px;
    font-weight: 700;
}
#shop-view .coupon-empty h2 { margin: 0; color: #3d302c; font-size: 16px; }
.coupon-action {
    display: inline-grid;
    min-height: 44px;
    place-items: center;
    padding: 0 24px;
    border-radius: 999px;
    background: #ba3425;
    color: #fff;
    font-weight: 650;
}
.coupon-action:hover, .coupon-action:focus-visible { background: #9d281c; color: #fff; }

.content > :is(.nav, .index_gg, .tuijian_list) {
    box-sizing: border-box;
    width: calc(100% - 16px);
    max-width: 640px;
    margin-inline: auto;
    border-radius: 16px;
    overflow: hidden;
}

#shop-view.shop-inbox {
    width: min(640px, calc(100% - 24px));
    min-height: 0;
    margin: 62px auto 92px;
    padding: 0;
    color: #2b2422;
    background: transparent;
}
.inbox-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #f1ded9;
    border-radius: 18px;
    background: linear-gradient(115deg, #fff0e9, #fffaf7);
}
#shop-view .inbox-header h1 { margin: 0; font-size: 24px; line-height: 1.3; }
.inbox-envelope {
    box-sizing: border-box;
    position: relative;
    flex: none;
    display: block;
    width: 38px;
    height: 30px;
    border: 2px solid #bc493a;
    border-radius: 7px;
    background: #fff4ef;
    overflow: hidden;
}
.inbox-envelope::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 5px;
    width: 22px;
    height: 22px;
    border-right: 2px solid #bc493a;
    border-bottom: 2px solid #bc493a;
    border-radius: 0 0 3px 0;
    transform: rotate(45deg);
}
.inbox-list, .inbox-letter {
    margin-top: 12px;
    border: 1px solid #eee6e3;
    border-radius: 18px;
    background: white;
}
.inbox-list { overflow: hidden; }
.inbox-list li + li { border-top: 1px solid #f3ece8; }
.inbox-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 18px;
    color: inherit;
}
.inbox-row:hover, .inbox-row:focus-visible { background: #fff7f2; color: #962b22; }
.inbox-row-copy { display: grid; flex: 1 1 160px; min-width: 0; gap: 5px; }
.inbox-row-copy strong { font-size: 15px; line-height: 1.45; }
.inbox-row-copy span, .inbox-row time, .inbox-letter time { color: #766662; font-size: 13px; }
.inbox-row time { margin-left: auto; white-space: nowrap; }
.inbox-letter { padding: clamp(18px, 5vw, 32px); }
.inbox-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff0e9; color: #9b3528; }
#shop-view .inbox-letter h2 { margin: 12px 0 6px; font-size: clamp(21px, 5vw, 28px); line-height: 1.35; }
.inbox-letter h3 { margin: 22px 0 5px; font-size: 16px; }
#shop-view .inbox-letter p { padding: 0; color: #554946; line-height: 1.85; }

.inbox-original { margin-top: 18px; padding-top: 16px; border-top: 1px solid #f3ece8; overflow-wrap: anywhere; }
#shop-view .inbox-original p { margin: 0 0 6px; }
.inbox-original ol, .inbox-original ul { padding-left: 22px; }
.inbox-original ol li { list-style: decimal; }
.inbox-original ul li { list-style: disc; }

#shop-view.shop-help {
    width: min(640px, calc(100% - 24px));
    min-height: 0;
    margin: 62px auto 92px;
    padding: 0;
    background: transparent;
    color: #2d2422;
}
.help-hero {
    padding: clamp(20px, 5vw, 36px);
    border-radius: 20px;
    background: radial-gradient(ellipse at 95% 0, #f5a97280, transparent 55%), linear-gradient(120deg, #761f18, #b8422a);
    color: #fff7f0;
}
#shop-view .help-hero h1 { margin: 0 0 18px; font-size: 30px; line-height: 1.2; }
.help-search {
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
    background: #fffaf8;
    border-radius: 12px;
    color: #7d554d;
}
.help-search::before { content: ''; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; flex: none; }
.help-search input { width: 100%; min-height: 46px; border: 0; background: transparent; font-size: 16px; color: #332521; }
.help-search:focus-within { outline: 3px solid #ffcb9d; }
.help-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.help-filters button { margin: 0; padding: 8px 13px; min-height: 40px; background: #fff; border: 1px solid #ebded9; color: #47332e; border-radius: 999px; }
.help-filters [aria-pressed="true"] { background: #fff0e8; color: #982f20; border-color: #e8b8a9; font-weight: 700; }
.help-feedback:empty { display: none; }
.help-feedback { display: block; margin-bottom: 9px; color: #68544e; }
.help-group, .help-empty { margin-bottom: 12px; padding: 8px 16px; border: 1px solid #ece2de; border-radius: 16px; background: white; }
#shop-view .help-group h2 { margin: 8px 0 3px; color: #833427; }
.help-question + .help-question { border-top: 1px solid #f1e9e5; }
.help-question summary { position: relative; display: block; padding: 15px 24px 15px 0; cursor: pointer; font-size: 15px; font-weight: 600; }
.help-question summary::-webkit-details-marker { display: none; }
.help-question summary::after { content: '+'; position: absolute; right: 2px; color: #9b4a38; }
.help-question[open] summary::after { content: '−'; }
.help-answer { padding-bottom: 12px; color: #64504a; }
#shop-view .help-answer p { padding: 0; line-height: 1.75; }
.help-answer .shop-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; color: #982f20; background: #fff0e8; }

#shop-view.shop-commerce { width:min(640px,calc(100% - 24px)); min-height:0; margin:62px auto 88px; padding:0; background:transparent; color:#342826; }
#shop-view.shop-commerce > h1 { margin:0 0 12px; font-size:24px; line-height:1.3; }
.commerce-row,.commerce-product,.commerce-panel,.commerce-bar { margin:0 0 10px; padding:14px; border:1px solid #eee4df; border-radius:16px; background:#fff; }
.commerce-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.commerce-row > img { width:64px; height:64px; object-fit:cover; border-radius:10px; }
.commerce-row input { width:20px; height:20px; accent-color:#b53426; }
.commerce-copy { flex:1 1 130px; min-width:0; }
.commerce-copy .shop-link,.commerce-bar .shop-link { padding:0; margin:0; background:none; color:#3a2925; }
.commerce-copy strong,.commerce-price,.commerce-total strong { color:#b53426; font-size:17px; }
.commerce-quantity,.commerce-bar { display:flex; align-items:center; gap:8px; }
.commerce-quantity { margin-left:auto; }
.commerce-quantity button { padding:6px 8px; min-width:32px; min-height:36px; color:#6f4038; background:#f8efeb; }
.commerce-bar { justify-content:space-between; flex-wrap:wrap; }
.commerce-bar button { margin:0; min-height:44px; border-radius:999px; background:#b53426; }
.commerce-bar button:disabled,.commerce-quantity button:disabled { opacity:.5; cursor:default; }
.commerce-total { display:grid; gap:4px; }
.commerce-product img { display:block; margin:auto; width:min(100%,320px); border-radius:14px; }
#shop-view .commerce-product h2 { margin:16px 0 8px; font-size:19px; }
.commerce-feedback:empty { display:none; }

.foot_nav a.sel i.foot_i3, .foot_nav a.sel i.foot_i5 {
    background: #e64032;
    mask: var(--active-nav-icon) center / contain no-repeat;
}
.foot_nav a.sel i.foot_i3 { --active-nav-icon: url(/template/mobile_index/images/foot_i3.png); }
.foot_nav a.sel i.foot_i5 { --active-nav-icon: url(/template/mobile_index/images/foot_i5.png); }

.orders-header {
    margin-bottom: 14px;
    padding: 20px;
    border: 1px solid #f2ddd5;
    border-radius: 18px;
    background: linear-gradient(120deg, #fff0e8, #fffaf7);
}
#shop-view .orders-header h1 { margin: 0 0 7px; font-size: 24px; line-height: 1.25; }
#shop-view .orders-header p { padding: 0; color: #70534b; }
.order-card { margin-bottom: 14px; padding: 0 14px; border: 1px solid #eee3de; border-radius: 18px; background: #fff; }
.order-card-top, .order-card-total { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; font-size: 13px; color: #6c5650; }
.order-card-top { border-bottom: 1px solid #f3ebe7; }
.order-card-total { border-top: 1px solid #f3ebe7; }
.order-badge { padding: 4px 9px; border-radius: 999px; white-space: nowrap; color: #9d3629; background: #fff0e9; }
.order-card .commerce-row { padding: 11px 0; margin: 0; border: 0; flex-wrap: nowrap; }
.order-card .commerce-copy { flex: 1 1 auto; overflow-wrap: anywhere; }
.order-card .commerce-copy strong { display: block; margin-top: 5px; font-size: 14px; }
.order-quantity { white-space: nowrap; }
.order-amounts { display: grid; gap: 3px; text-align: right; }
.order-amounts strong { color: #a52d23; }
.order-empty { padding: 18px; text-align: center; }

.foot_nav i.foot_i4, .foot_nav a.sel i.foot_i4 {
    position: relative;
    background: none;
    color: #50565e;
}
.foot_nav a.sel i.foot_i4 { color: #e64032; }
.foot_nav i.foot_i4::before, .foot_nav i.foot_i4::after {
    content: "";
    position: absolute;
    left: 50%;
    box-sizing: border-box;
    transform: translateX(-50%);
    border: 1.7px solid currentColor;
}
.foot_nav i.foot_i4::before { top: 2px; width: 9px; height: 9px; border-radius: 50%; }
.foot_nav i.foot_i4::after { top: 13px; width: 19px; height: 10px; border-radius: 8px 8px 3px 3px; }

.pagetop1 .shop-back { top:1px; left:4px; }
.pagetop1 .shop-back a { position:relative; }
.pagetop1 .shop-back a::after {
    content:""; position:absolute; inset:5px; z-index:-1; border-radius:12px;
    background:#fff5ef; border:1px solid #f2e3dc;
}
.pagetop1 .shop-back a { isolation:isolate; color:#9b3d30; }
.pagetop1 .shop-back a::before { border-color:currentColor; margin-left:4px; }
.pagetop1 .shop-back a:hover::after, .pagetop1 .shop-back a:focus-visible::after { background:#ffe8de; }

@media (prefers-reduced-motion: no-preference) {
    .content:not([hidden]), #shop-view:not([hidden]) { view-transition-name: shop-surface; }
    .top_box1 { view-transition-name: shop-top; }
    .foot_nav { view-transition-name: shop-footer; }
    ::view-transition-old(root), ::view-transition-new(root),
    ::view-transition-old(shop-top), ::view-transition-new(shop-top),
    ::view-transition-old(shop-footer), ::view-transition-new(shop-footer) { animation: none; }
    ::view-transition-group(shop-surface) { animation: none; }
    ::view-transition-old(shop-surface) { animation: shop-exit 220ms cubic-bezier(.32,.05,.25,1) both; }
    ::view-transition-new(shop-surface) { animation: shop-enter 270ms cubic-bezier(.22,.72,.25,1) both; }
    :root { --shop-enter: 36px; --shop-exit: -19px; }
    :root[data-shop-direction="back"] { --shop-enter: -28px; --shop-exit: 36px; }
}

@keyframes shop-enter {
    from { opacity: .45; transform: translateX(var(--shop-enter)); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes shop-exit {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(var(--shop-exit)); }
}

html:has(#shop-view:not([hidden])) { overscroll-behavior-x: contain; }
body:has(#shop-view:not([hidden])) { touch-action: pan-y pinch-zoom; }
html[data-shop-shell="standalone"],
html[data-shop-shell="standalone"] body {
    overscroll-behavior-x: none;
}
html[data-shop-shell="standalone"]:has(#shop-view:not([hidden])) {
    overscroll-behavior-x: none;
}
@media (display-mode: standalone), (display-mode: fullscreen) {
    html, body { overscroll-behavior-x: none; }
    @media (prefers-reduced-motion: no-preference) {
        :root[data-shop-direction="back"] ::view-transition-old(shop-surface),
        :root[data-shop-direction="back"] ::view-transition-new(shop-surface) {
            animation: none !important;
        }
    }
}

body:has(.shop-member-login) { background:#fff; }
.member-login-top .pagetop1 { height:46px; border:0; }
.member-login-top .sear, .member-login-top .cd, .foot_nav.member-login-footer { display:none; }
#shop-view.shop-member-login {
    width:min(600px, calc(100% - 40px));
    margin:72px auto 40px;
    min-height:0;
    padding:0;
    background:#fff;
}
.member-form { display:grid; }
.member-logo { width:100px; height:100px; object-fit:cover; margin:0 auto 22px; border-radius:24px; }
#shop-view .member-heading { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.member-field { position:relative; display:flex; align-items:center; gap:12px; margin-inline:10px; border-bottom:1px solid #eaeaea; }
.member-field::before { content:""; flex:none; width:14px; height:14px; border:1.5px solid #a8a8a8; border-radius:50%; }
.member-password::before { height:12px; border-radius:3px; }
.member-password::after { position:absolute; content:""; width:8px; height:8px; left:3px; top:12px; border:1.5px solid #a8a8a8; border-bottom:0; border-radius:5px 5px 0 0; }
.member-field input { width:100%; height:50px; border:0; background:#fff; font-size:16px; color:#292323; }
.member-field:focus-within { border-color:#ff6517; }
.member-submit {
    margin-top:29px; border:0; border-radius:999px; min-height:44px;
    background:linear-gradient(100deg,#ff7a00,#ff4600); color:white; font-size:16px; cursor:pointer;
}
#shop-view .member-hint { text-align:center; color:#6d6561; padding:15px 0 0; }
.member-captcha-row {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    margin:4px 10px 0;
}
.member-captcha-row .member-captcha { margin-inline:0; }
.member-captcha-image {
    width:120px;
    height:42px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #eadfd7;
    background:#f7f2ee;
    cursor:pointer;
}
.member-remember {
    display:flex;
    align-items:center;
    gap:8px;
    margin:12px 12px 0;
    color:#6d6561;
    font-size:14px;
    cursor:pointer;
}
.member-remember input { width:16px; height:16px; accent-color:#ff6517; }

#shop-view.shop-profile { width:min(640px,100%); margin:0 auto 82px; padding:0; background:transparent; }
.top_box1.profile-top { display:none; }
.profile-hero { position:relative; isolation:isolate; overflow:hidden; color:white; background:radial-gradient(circle at 48% 20%,#ffab5450 0 48px,transparent 49px),linear-gradient(122deg,#ff482e,#ff9c2f); padding:16px 13px 34px; }
.profile-hero::after { content:""; position:absolute; bottom:-45px; left:-7%; width:114%; height:66px; border-radius:50% 50% 0 0; background:white; transform:rotate(3deg); z-index:-1; }
#shop-view .profile-hero h1 { margin:0 0 18px; text-align:center; font-size:18px; font-weight:600; }
.profile-identity { display:flex; align-items:center; gap:17px; }
.profile-identity img { width:64px; height:64px; object-fit:cover; border:2px solid white; border-radius:50%; }
.profile-name { display:grid; justify-items:start; gap:6px; }
.profile-name strong { font-size:18px; }
.profile-name span { padding:1px 8px; border-radius:999px; background:#fff2ab; color:#9b4b20; font-size:12px; }
.profile-balances { display:grid; grid-template-columns:repeat(3,1fr); background:#fff; padding:8px 0 14px; }
.profile-balances a, .profile-order-shortcuts a, .profile-menu a, .profile-menu button, .profile-orders header a { margin:0; padding:0; background:none; color:#332823; border-radius:0; }
.profile-balances a { display:grid; gap:3px; text-align:center; padding:6px 2px; }
.profile-balances span, .profile-orders header a { color:#786862; font-size:12px; }
.profile-orders, .profile-menu { margin-top:10px; background:#fff; }
.profile-orders header { display:flex; align-items:center; justify-content:space-between; padding:12px; border-bottom:1px solid #eee; }
#shop-view .profile-orders h2 { margin:0; font-size:15px; }
.profile-order-shortcuts { display:grid; grid-template-columns:repeat(5,1fr); padding:13px 2px; }
.profile-order-shortcuts a { display:grid; justify-items:center; gap:5px; text-align:center; font-size:12px; }
.profile-icon { display:grid; place-items:center; width:23px; height:23px; flex:none; border-radius:7px; background:linear-gradient(135deg,#ff8b45,#ff4e13); color:#fff; font-size:14px; font-weight:700; line-height:1; }
.profile-icon svg { display:block; width:14px; height:14px; color:#fff; }
.profile-menu a, .profile-menu button {
    display:flex; width:calc(100% - 20px); min-height:50px; align-items:center; gap:8px;
    margin-inline:10px; border:0; border-bottom:1px solid #eee; text-align:left; font:inherit; cursor:pointer;
}
.profile-menu a::after, .profile-menu button::after { content:"›"; margin-left:auto; color:#857a74; font-size:20px; }
.profile-menu a:hover, .profile-menu a:focus-visible,
.profile-menu button:hover, .profile-menu button:focus-visible { background:#fff5ef; }

.help-unread-host { position:relative; }
.help-unread-badge {
    position:absolute; top:-6px; right:-8px; z-index:2;
    min-width:16px; height:16px; padding:0 4px; box-sizing:border-box;
    border-radius:999px; background:#e53935; color:#fff;
    font-size:10px; font-weight:700; line-height:16px; text-align:center;
    pointer-events:none; box-shadow:0 0 0 1px #fff;
}
.nav a .help-unread-host, .nav a.help-unread-host { display:block; }
.nav a i.help-unread-host { margin:0 auto; }
.nav a .help-unread-badge { top:-4px; right:-6px; }
.profile-icon.help-unread-host .help-unread-badge { top:-7px; right:-9px; }
#shop-view .shop-action.help-unread-host { overflow:visible; }
#shop-view .shop-action .help-unread-badge { top:-8px; right:-10px; }

#shop-view a.premium-service-btn,
#shop-view a.premium-service-btn:link,
#shop-view a.premium-service-btn:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  margin: 12px 0 6px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e2028 0%, #14151a 100%);
  border: 1px solid rgba(229, 193, 123, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #f8fafc !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  overflow: visible;
}
#shop-view a.premium-service-btn:hover,
#shop-view a.premium-service-btn:focus,
#shop-view a.premium-service-btn:focus-visible {
  background: linear-gradient(135deg, #262934 0%, #191b22 100%);
  border-color: rgba(229, 193, 123, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), 0 0 12px rgba(229, 193, 123, 0.15);
  color: #ffffff !important;
  transform: translateY(-1px);
  outline: none;
}
#shop-view a.premium-service-btn:active {
  transform: scale(0.985);
  color: #e5c17b !important;
  background: linear-gradient(135deg, #1e2028 0%, #14151a 100%);
}
#shop-view a.premium-service-btn .premium-service-lead {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit !important;
}
#shop-view a.premium-service-btn .premium-service-icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: #e5c17b;
}
#shop-view a.premium-service-btn .premium-service-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: inherit !important;
  line-height: 1.2;
}
#shop-view a.premium-service-btn .arrow-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.25s ease;
}
#shop-view a.premium-service-btn:hover .arrow-icon,
#shop-view a.premium-service-btn:focus-visible .arrow-icon {
  color: #e5c17b;
  transform: translateX(3px);
}
#shop-view a.premium-service-btn .help-unread-badge {
  top: -8px;
  right: -6px;
}
@media (prefers-reduced-motion: reduce) {
  #shop-view a.premium-service-btn,
  #shop-view a.premium-service-btn .arrow-icon {
    transition: none;
  }
  #shop-view a.premium-service-btn:hover,
  #shop-view a.premium-service-btn:focus-visible,
  #shop-view a.premium-service-btn:active {
    transform: none;
  }
}

.payment-page { display:grid; gap:12px; }
.order-checkout-link { display:inline-flex; align-items:center; min-height:38px; padding:0 14px; border-radius:999px; background:#fff0e9; color:#9d3629; font-weight:650; }
.order-checkout-link:hover,.order-checkout-link:focus-visible { background:#ffdfcf; color:#85271f; }


.cashier-amount {
    position:relative; overflow:hidden; display:grid; gap:8px; justify-items:center;
    padding:21px 16px 24px; border-radius:22px; color:#512216; text-align:center;
    background:radial-gradient(ellipse at 84% 6%,#ffd7a9,transparent 53%),linear-gradient(150deg,#ffe1cc,#fff6ed 75%);
    border:1px solid #f9ddc9;
}
.cashier-badge { padding:3px 10px; border-radius:999px; color:#9d3927; background:#fff7; font-size:12px; }
#shop-view .cashier-amount h2 { margin:0; font-size:14px; font-weight:650; }
.cashier-amount > strong { font-size:clamp(30px,9vw,46px); line-height:1.15; letter-spacing:-.025em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#shop-view .cashier-amount p { padding:0; color:#79594a; }
.cashier-card { border:1px solid #eee4df; border-radius:18px; background:white; padding:0 15px; }
.cashier-section-title { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:14px 0; border-bottom:1px solid #f4ebe7; }
#shop-view .cashier-section-title h2 { margin:0; font-size:15px; }
.cashier-section-title span { color:#78665d; font-size:13px; }
.cashier-card .commerce-row { flex-wrap:nowrap; margin:0; padding:12px 0; border:0; }
.cashier-card .commerce-row img { width:48px; height:48px; }
.cashier-card .commerce-copy { overflow-wrap:anywhere; }
.cashier-card .commerce-copy strong { display:block; margin-top:4px; font-size:14px; }
.cashier-card .commerce-row > span { white-space:nowrap; }
.cashier-method { display:grid; align-items:center; grid-template-columns:38px 1fr auto; gap:10px; padding:14px 0; }
.cashier-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; background:#fff0e6; color:#a23c1d; font-size:20px; }
#shop-view .cashier-method p { padding:2px 0 0; color:#78665d; font-size:13px; }
.cashier-check { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; color:white; background:#b94524; }
.cashier-actions { display:grid; gap:8px; }
.cashier-actions .shop-action { margin:0; min-height:48px; border-radius:999px; background:linear-gradient(100deg,#bc4e15,#c43c20); font-weight:700; }
.cashier-actions .shop-link { margin:0; text-align:center; border:1px solid #ede1da; border-radius:999px; background:white; color:#7f3d2e; }
.foot_nav.cashier-footer-hidden { display:none; }
#shop-view.shop-cashier { margin-bottom:16px; }
@media (max-width:480px) {
    #shop-view.shop-cashier { margin-top:54px; }
    .cashier-amount { padding:15px 14px 17px; gap:6px; }
    .cashier-actions {
        position:sticky; bottom:0; z-index:2;
        padding:8px 0 max(8px,env(safe-area-inset-bottom));
        background:linear-gradient(0deg,#f4f4f4 85%,#f4f4f400);
    }
}

.cashier-feedback:empty { display:none; }
#shop-view .cashier-feedback { padding:0; color:#a53520; text-align:center; }
.cashier-actions button:disabled { opacity:.65; cursor:progress; }

.member-card { padding:16px; margin:0 0 12px; border:1px solid #eee3de; border-radius:18px; background:white; color:#382a25; }
.member-record { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
#shop-view .member-card h2 { margin:0 0 6px; font-size:16px; }
#shop-view .member-card p { padding:0; line-height:1.6; color:#74635c; overflow-wrap:anywhere; }
.member-record-actions { display:flex; gap:8px; }
.member-editor { display:grid; gap:12px; }
.member-editor-field { display:grid; gap:6px; font-size:14px; }
.member-editor-field input,.member-editor-field textarea { width:100%; padding:10px; border:1px solid #e8d9d1; border-radius:10px; color:#382a25; background:#fffaf7; font:inherit; font-size:16px; }
.member-editor-field textarea { min-height:74px; resize:vertical; }
.member-editor .shop-action { margin:0; min-height:44px; }
.member-favorite { display:block; margin-top:10px; padding:8px 14px; border-radius:999px; border:1px solid #f2d5c7; color:#9b3d30; background:#fff3eb; cursor:pointer; }

.region-card { padding:15px; margin-bottom:12px; border:1px solid #eee3de; border-radius:18px; background:white; }
.region-current { display:flex; align-items:center; flex-wrap:wrap; gap:9px; padding:8px 0; }
.region-current span { color:#806359; font-size:13px; }
.region-flag { width:30px; height:20px; object-fit:cover; border-radius:4px; box-shadow:0 0 0 1px #23140e16; }
.region-language { display:grid; gap:7px; padding-top:12px; }
.region-language select,.region-picker input { width:100%; border:1px solid #e9d9d1; border-radius:11px; padding:10px; font-size:16px; background:#fff8f3; color:#392b26; }
.region-list { max-height:40vh; overflow:auto; overscroll-behavior:contain; margin-top:8px; }
.region-list .region-row { display:grid; width:100%; grid-template-columns:30px 1fr auto; align-items:center; gap:10px; text-align:left; color:#392b26; background:white; border-radius:10px; margin:3px 0; font-size:14px; }
.region-row[aria-pressed="true"] { background:#fff0e8; color:#9a3824; font-weight:700; }
.region-row small { color:#775c54; }
.region-save { width:100%; min-height:44px; border-radius:999px; background:#ac4127; }

.withdrawal-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:5px; margin-bottom:12px; border-radius:14px; background:#eee7e3; }
.withdrawal-tabs .shop-link { margin:0; background:transparent; border-radius:10px; text-align:center; color:#664c43; }
.withdrawal-tabs [aria-current="page"] { background:#fff; color:#a33923; font-weight:700; }
dialog.withdrawal-dialog {
  position:fixed; inset:0; margin:auto; box-sizing:border-box;
  width:min(390px,calc(100% - 32px)); max-width:calc(100vw - 32px);
  height:fit-content; max-height:min(calc(100dvh - 24px), calc(100svh - 24px));
  overflow:auto; -webkit-overflow-scrolling:touch; padding:24px;
  border:1px solid #f3dace; border-radius:24px; text-align:center;
  color:#3d2720; background:#fffaf7; box-shadow:0 20px 60px #2f170c4a;
}
.withdrawal-dialog::backdrop { background:#28170f80; }
.withdrawal-emblem { display:grid; width:48px; height:48px; margin:0 auto 10px; place-items:center; border-radius:15px; background:#ffeddf; color:#af4928; font-size:24px; }
.withdrawal-dialog h2 { font-size:clamp(17px,4.6vw,19px); }
.withdrawal-dialog p { color:#6f5148; line-height:1.65; padding:3px 0 12px; }
.withdrawal-controls { display:grid; grid-template-columns:1fr 1.3fr; gap:8px; }
.withdrawal-controls button { margin:0; min-height:44px; border-radius:999px; background:#b54424; }
.withdrawal-controls button:first-child { background:#f5e8e1; color:#68473e; }
@media (prefers-reduced-motion:no-preference) {
    .withdrawal-dialog[open] { animation:withdrawal-in 235ms cubic-bezier(.2,.75,.3,1) both; }
    @keyframes withdrawal-in { from { opacity:0; translate:0 12px; scale:.97; } to { opacity:1; translate:0; scale:1; } }
}

.language-dropdown { position:relative; }
.language-dropdown .language-trigger {
    display:flex; justify-content:space-between; align-items:center; width:100%;
    margin:0; padding:11px 13px; min-height:46px; border:1px solid #eeddd2;
    border-radius:13px; background:linear-gradient(120deg,#fff7f1,#fffdfb); color:#392820;
    font-size:15px; font-weight:650; text-align:left;
}
.language-trigger::after {
    content:""; width:8px; height:8px; margin-right:3px; margin-top:-4px;
    border:solid #a6472d; border-width:0 2px 2px 0; transform:rotate(45deg);
    transition:transform .18s ease;
}
.language-trigger[aria-expanded="true"]::after { transform:translateY(4px) rotate(225deg); }
.language-options {
    position:absolute; inset:calc(100% + 6px) 0 auto; z-index:12;
    max-height:min(310px,46vh); overflow:auto; overscroll-behavior:contain;
    padding:6px; border:1px solid #eee0d8; border-radius:15px; background:#fffdfb;
    box-shadow:0 16px 30px #38211524;
}
.language-options[hidden] { display:none; }
.language-options .language-option {
    display:grid; grid-template-columns:1fr auto 14px; align-items:center; gap:9px; width:100%;
    min-height:40px; margin:1px 0; padding:8px 10px; border-radius:9px; background:transparent;
    color:#372820; text-align:left; font-size:14px;
}
.language-option small { color:#75635a; font-size:11px; }
.language-option[aria-selected="true"] { background:#fff0e7; color:#953b25; font-weight:700; }
.language-option[aria-selected="true"]::after { content:"✓"; color:#a03d23; }
.language-option:hover,.language-option:focus-visible { background:#f8eee9; outline:2px solid #d89277; outline-offset:-2px; }
@media (prefers-reduced-motion:no-preference) {
    .language-options:not([hidden]) { animation:lang-menu-in .18s ease-out both; }
    @keyframes lang-menu-in { from { opacity:0; translate:0 -5px; } to { opacity:1; translate:0 0; } }
}

.settings-card { padding:12px 15px 0; margin-bottom:12px; border:1px solid #eee3de; border-radius:18px; background:#fff; }
#shop-view .settings-card h2 { margin:3px 0 8px; font-size:15px; color:#8e3b26; }
.settings-row { min-height:52px; display:grid; grid-template-columns:1fr auto 8px; gap:10px; align-items:center; color:#392a25; padding:9px 2px; }
.settings-row + .settings-row { border-top:1px solid #f0e8e4; }
.settings-row::after { content:""; width:5px; height:5px; border:solid #a68c81; border-width:1px 1px 0 0; transform:rotate(45deg); }
.settings-status { color:#80685d; overflow-wrap:anywhere; }
.settings-row:hover,.settings-row:focus-visible { background:#fff4ed; }
.status-approved { color:#1f8a4c !important; }
.status-rejected { color:#c62828 !important; }
.status-pending { color:#b36b00 !important; }
#shop-view .member-record .status-approved,
#shop-view .member-record strong.status-approved { color:#1f8a4c; }
#shop-view .member-record .status-rejected,
#shop-view .member-record strong.status-rejected { color:#c62828; }
#shop-view .identity-panel .identity-file-hint { margin:0 0 10px; color:#80685d; font-size:13px; }
#shop-view .identity-form input[type="file"] { padding:8px 0; }
.settings-logout { width:100%; min-height:44px; border:1px solid #f0d8cb; border-radius:999px; background:#fff0e7; color:#9c3724; }
.settings-feedback:empty { display:none; }
#shop-view .settings-feedback { padding:0; color:#a33625; }
.payment-password-dialog .topup-confirmation-body { display:grid; gap:12px; }
.payment-password-dialog .member-editor-field { margin:0; }
.payment-password-dialog .shop-link {
  display:block; margin:0; padding:10px 12px; text-align:center;
  color:#8a3e2b !important; background:#fff0e6; border-radius:10px;
}
.payment-password-dialog .shop-link:hover,
.payment-password-dialog .shop-link:focus-visible,
.payment-password-dialog .shop-link:active {
  color:#8a3e2b !important;
}

/* Fixed floating header (match design: white pill over banner, no full-bleed white slab). */
.top_box1 {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    width: min(640px, 100%);
    max-width: 640px;
    transform: translateX(-50%);
    z-index: 9999;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 0;
    box-sizing: border-box;
    pointer-events: none;
}
.top_box1 .pagetop1 {
    pointer-events: auto;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 7px 8px;
    color: #333;
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px #2a14121f;
}
.top_box1 .top-leading {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 4px;
}
.top_box1 .top_logo {
    position: static;
    max-height: none;
    width: 36px;
    height: 36px;
}
.top_box1 .top_logo a { display: grid; }
.top_box1 .top_logo img {
    display: block;
    width: 36px;
    height: 36px;
    max-height: none;
    border-radius: 10px;
    object-fit: cover;
}
.top_box1 .sear {
    position: relative;
    margin: 0 !important;
    min-width: 0;
}
.top_box1 .sear_input_box { min-width: 0; }
.top_box1 .sear_input {
    float: none;
    width: 100%;
    height: 34px;
    line-height: 34px;
    padding: 0 12px 0 36px;
    border: 0;
    border-radius: 999px;
    background: #f1f1f1;
    color: #666;
    font-size: 14px;
    box-sizing: border-box;
}
.top_box1 .sear_tj {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    line-height: 22px;
}
.top_box1 .sear_tj input {
    width: 22px;
    height: 22px;
    margin: 0;
    background-size: 16px auto;
    background-position: center;
}
.top_box1 .cd {
    position: static;
    top: auto;
    right: auto;
    display: grid;
}
.top_box1 .pagetop1 .shop-back {
    position: static;
    top: auto;
    left: auto;
}
.top_box1 .pagetop1 .shop-back a {
    width: 32px;
    height: 36px;
}
.top_box1 .clear { display: none; }
.shop-home-content {
    margin: 0 0 calc(80px + env(safe-area-inset-bottom, 0px));
}
.shop-home-content .shop-carousel {
    width: 100%;
    max-width: none;
    margin: 0 0 10px;
    border-radius: 0;
}
.content:not(.shop-home-content) {
    margin-top: calc(64px + env(safe-area-inset-top, 0px));
}
.member-login-top.top_box1 {
    padding-top: env(safe-area-inset-top, 0px);
}
.member-login-top .pagetop1 {
    min-height: 46px;
    border-radius: 0;
    box-shadow: none;
}
.pagetop1 .cd { top: auto; right: auto; }
.quick-trigger {
    width: 36px; height: 36px; display:grid; place-items:center; cursor:pointer;
    background:#fff6f0; color:#9e402b; border:1px solid #f0e0d6; border-radius:10px;
}
.quick-trigger span { width:17px; height:2px; border-radius:999px; background:currentColor; box-shadow:0 -5px currentColor,0 5px currentColor; }
.quick-trigger[aria-expanded="true"] { background:#ffe9dc; color:#9d3522; }
.pagetop1 .quick-nav {
    position:absolute; inset:calc(100% + 5px) 7px auto auto; z-index:1000;
    display:block; box-sizing:border-box; width:min(190px,calc(100vw - 20px)); height:auto;
    padding:7px; border:1px solid #f0dfd5; border-radius:17px;
    background:#fffdfb; box-shadow:0 13px 32px #3a211e26;
}
.pagetop1 .quick-nav[hidden] { display:none; }
.quick-nav ul { display:grid; grid-template-columns:1fr; gap:3px; }
.quick-nav li { width:auto; height:auto; margin:0; padding:0; float:none; }
.quick-nav li a { min-height:44px; display:grid; grid-template-columns:22px 1fr; align-items:center; gap:11px; padding:0 11px; border-radius:10px; text-align:left; }
.pagetop1 .quick-nav li a span { color:#543b32; white-space:nowrap; font-size:14px; }
.quick-nav li a:hover,.quick-nav li a:focus-visible,.quick-nav li a[aria-current="page"] { background:#fff0e7; }
.pagetop1 .quick-nav li a[aria-current="page"] span { color:#a33924; font-weight:700; }
.quick-nav li i.top_tb1,.quick-nav li i.top_tb2,.quick-nav li i.top_tb3,.quick-nav li i.top_tb4 { width:22px; height:22px; background:#a44b35; mask:var(--quick-icon) center/contain no-repeat; }
.quick-nav .top_tb1 { --quick-icon:url(/template/mobile_index/images/foot_i1.png); }
.quick-nav .top_tb2 { --quick-icon:url(/template/mobile_index/images/foot_i2.png); }
.quick-nav .top_tb3 { --quick-icon:url(/template/mobile_index/images/foot_i5.png); }
.quick-nav li i.top_tb4 { mask:none; position:relative; background:none; color:#a44b35; }
.quick-nav .top_tb4::before,.quick-nav .top_tb4::after { content:""; position:absolute; left:50%; transform:translateX(-50%); border:1.5px solid currentColor; }
.quick-nav .top_tb4::before { width:7px; height:7px; top:1px; border-radius:50%; }
.quick-nav .top_tb4::after { width:16px; height:8px; top:12px; border-radius:7px 7px 3px 3px; }
@media (prefers-reduced-motion:no-preference) {
    .quick-nav:not([hidden]) { animation:quick-open .2s ease-out both; transform-origin:top right; }
    @keyframes quick-open { from { opacity:0; transform:translateY(-5px) scale(.98); } to { opacity:1; transform:none; } }
}

.bank-region { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.bank-region .shop-link { margin:0; color:#9d3d28; background:#fff1e8; }
.bank-record { margin-bottom:12px; padding:16px; border-radius:18px; color:#522a20; border:1px solid #f2ddcf; background:linear-gradient(125deg,#ffe6d3,#fff8f1); }
.bank-record header { display:flex; align-items:center; gap:9px; }
#shop-view .bank-record header h2 { margin:0; }
#shop-view .bank-card-number { font:600 20px/1.4 system-ui; letter-spacing:.09em; }
.bank-record .shop-action { margin:0; padding:8px 12px; color:#8e3e2a; background:#fffaf5; }
.bank-add { display:grid; min-height:46px; place-items:center; border-radius:999px; color:white; background:#b44326; font-weight:700; }
.bank-add:hover,.bank-add:focus-visible { color:white; background:#9b3620; }
#shop-view .bank-hint { color:#71574f; text-align:center; line-height:1.55; }

.bank-match:empty { display:none; }
#shop-view .bank-match { color:#337654; font-size:13px; }
.bank-record {
    --bank-deep:#203146; --bank-light:#45627a;
    position:relative; isolation:isolate; display:grid; gap:10px; overflow:hidden;
    padding:17px; min-height:172px; border:1px solid #fff4; color:#fff;
    background:radial-gradient(ellipse at 95% 0,#ffffff42,transparent 56%),linear-gradient(130deg,var(--bank-deep),var(--bank-light));
    box-shadow:0 8px 18px #2434481c;
}
.bank-record::after { content:""; position:absolute; z-index:-1; width:72%; aspect-ratio:1; right:-19%; bottom:-96%; border:1px solid #fff4; border-radius:50%; box-shadow:0 0 0 12px #fff1,0 0 0 26px #fff1; }
.bank-record[data-issuer="ccb"] { --bank-deep:#073967; --bank-light:#146fa7; }
.bank-record[data-issuer="icbc"], .bank-record[data-issuer="boc"], .bank-record[data-issuer="cmb"] { --bank-deep:#801b2e; --bank-light:#b6404b; }
.bank-record[data-issuer="abc"], .bank-record[data-issuer="psbc"] { --bank-deep:#075141; --bank-light:#288979; }
.bank-record[data-issuer="bocom"] { --bank-deep:#183578; --bank-light:#4a6bab; }
.bank-chip {
    display:block; width:38px; height:29px; border-radius:7px; border:1px solid #fce9a688;
    background:linear-gradient(90deg,transparent 24%,#88642c8c 25% 28%,transparent 29% 70%,#88642c8c 71% 74%,transparent 75%),
        linear-gradient(0deg,transparent 32%,#88642c8c 33% 37%,transparent 38% 64%,#88642c8c 65% 69%,transparent 70%),
        linear-gradient(145deg,#fdf0bc,#c39b55 60%,#f1d793);
}
#shop-view .bank-card-number { padding:0; color:#fff; font:600 clamp(14px,4.4vw,21px)/1.4 system-ui; letter-spacing:.09em; white-space:pre-wrap; }
.bank-record .shop-action { justify-self:end; color:#fff; background:#0004; }

.bank-length-hint:empty { display:none; }
#shop-view .bank-length-hint { padding:6px 10px; border-radius:8px; color:#a23526; background:#fff0ea; font-size:13px; line-height:1.45; }
.member-editor-field input[aria-invalid="true"] { border-color:#d88975; }

.member-editor-field select { width:100%; min-height:42px; padding:9px; border:1px solid #ead9d0; background:#fff9f5; border-radius:10px; color:#392923; font:inherit; }

.group-deal-image { display:block; width:72px; height:72px; object-fit:cover; border-radius:12px; margin-bottom:8px; }

.profile-level { display:inline-block; padding:1px 8px; border-radius:999px; background:#fff2ab; color:#824322; font-size:12px; }
.profile-level:hover,.profile-level:focus-visible { background:#fff7ce; color:#723618; }

.wallet-hero { display:grid; gap:10px; margin:0 0 10px; padding:22px 18px; border-radius:20px; color:#fff; background:linear-gradient(125deg,#ac3f28,#ca6333); }
.wallet-hero-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
#shop-view .wallet-hero h2 { margin:0; font-size:18px; }
#shop-view .wallet-hero p { padding:0; }
.wallet-hero > strong { font-size:28px; letter-spacing:.02em; }
.asset-shield {
  display:inline-flex; align-items:center; gap:7px; flex:none;
  padding:5px 9px 5px 7px; border-radius:999px;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,236,200,.45);
  color:#fff7e8; box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.asset-shield-icon { flex:none; color:#ffe09a; }
.asset-shield-copy { display:grid; line-height:1.15; }
.asset-shield-copy strong { font-size:11px; font-weight:700; letter-spacing:.04em; }
.asset-shield-copy em {
  font-style:normal; font-size:12px; font-weight:800; letter-spacing:.08em; color:#ffe7b0;
}
#shop-view .cashier-method .cashier-balance-low { color:#b42318; }

.product-broadcast {
  display:flex; align-items:center; gap:8px; margin:0 0 10px; padding:8px 10px;
  border-radius:12px; background:linear-gradient(100deg,#fff7ef,#ffe8d8);
  border:1px solid #f0d3c0; color:#7a3b28; overflow:hidden;
}
.product-broadcast-track { min-width:0; flex:1; overflow:hidden; }
#shop-view .product-broadcast-track p {
  margin:0; padding:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-size:13px; line-height:1.35; color:#6d3a2b;
  animation:product-broadcast-in .35s ease;
}
@keyframes product-broadcast-in {
  from { opacity:.35; transform:translateY(4px); }
  to { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
  #shop-view .product-broadcast-track p { animation:none; }
}
.wallet-shortcuts { display:flex; gap:6px; flex-wrap:wrap; margin:8px 0 12px; }
.wallet-shortcuts .shop-link,.wallet-shortcuts .shop-action { margin:0; color:#8a3e2b; background:#fff0e6; }
.wallet-shortcuts [aria-pressed="true"] { background:#a23c24; color:#fff; }
.wallet-history .member-card:last-child { margin-bottom:0; }
