:root {
    --store-primary: #598fff;
    --store-ink: #333;
    --store-muted: #929aa8;
    --store-line: #edf0f5;
    --store-background: #f7f8fa;
}
* {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--store-background);
    color: var(--store-ink);
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
button,
input,
textarea {
    font: inherit;
}
button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}
button,
a {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: default;
    opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #91b0f7;
    outline-offset: 3px;
}
a {
    color: inherit;
    text-decoration: none;
}
.app-container {
    width: min(100%, 500px);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
.sticky-nav {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: min(100%, 500px);
    height: 46px;
    padding: 0 12px;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateX(-50%) translateY(-100%);
    transition:
        transform 0.25s,
        visibility 0.25s;
    pointer-events: none;
}
.sticky-nav.show {
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.sn-left,
.sn-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sn-left {
    flex: 1;
    min-width: 0;
}
.sn-avatar {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid #eee;
    border-radius: 50%;
    object-fit: cover;
}
.sn-title {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sn-right {
    flex: 0 0 auto;
}
.sn-btn-icon,
.sn-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 30px;
    border: 0;
    border-radius: 15px;
    background: #f4f6f9;
    color: #333;
    font-size: 13px;
}
.sn-btn-icon {
    width: 30px;
    padding: 0;
}
.sn-btn-text {
    padding: 0 10px;
}
.sn-btn-icon:active,
.sn-btn-text:active {
    background: #e4e6ea;
}
.store-header {
    padding: 18px 15px 26px;
    background: linear-gradient(180deg, #4480ff 0%, #598fff 100%);
    color: #fff;
}
.store-brand,
.store-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.store-header-main {
    width: 100%;
}
.store-header-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.store-header-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.store-top-actions {
    gap: 6px;
}
.store-brand {
    flex: 1;
    width: 100%;
    min-width: 0;
}
.store-logo {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 22px rgba(32, 70, 160, 0.18);
    object-fit: cover;
}
.store-name-group {
    flex: 1;
    min-width: 0;
}
.store-name-line {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin: 0 0 7px;
}
.store-name-group h1 {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-verified-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 3px;
    padding: 3px 5px;
    border: 1px solid rgba(247, 218, 148, 0.9);
    border-radius: 5px;
    background: linear-gradient(135deg, #fffdf4, #fff5d8);
    color: #b88016;
    box-shadow:
        0 1px 4px rgba(116, 79, 12, 0.12),
        inset 0 1px 0 #fff;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.3;
    white-space: nowrap;
}
.verified-seal {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}
.shop-deposit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    margin-top: 0;
    padding: 3px 7px;
    border: 1px solid rgba(255, 228, 166, 0.25);
    border-radius: 999px;
    background: rgba(255, 248, 224, 0.08);
    color: #fff0c2;
    font-size: 11px;
    line-height: 1.4;
    vertical-align: top;
}
.deposit-icon {
    display: flex;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}
.deposit-icon svg {
    width: 100%;
    height: 100%;
}
.deposit-value {
    min-width: 0;
    margin-left: 2px;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.deposit-unset {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}
.store-catalog-count {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 11px;
}
.store-catalog-count span {
    padding: 2px 7px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}
.store-service,
.store-orders,
.store-search {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.17);
    color: #fff;
    font-size: 12px;
}
.store-service {
    min-height: 26px;
    padding: 3px 10px;
    background: #fff;
    color: #3b6fff;
}
.store-search {
    width: 30px;
    height: 30px;
    padding: 0;
}
.shop-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    line-height: 1.7;
}
.shop-notice i {
    margin-top: 3px;
    color: #fff;
}
.shop-notice span {
    min-width: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.mini-music-player {
    position: fixed;
    top: 146px;
    left: 14px;
    z-index: 99;
    width: 136px;
    height: 42px;
    max-width: calc(100vw - 16px);
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(235, 244, 255, 0.93);
    box-shadow:
        0 8px 22px rgba(26, 64, 160, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #4f7ac2;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.mini-music-player.is-dragging {
    cursor: grabbing;
}
.music-row {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 100%;
}
.music-play-btn {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: #f5f9ff;
    color: #4f8bff;
    box-shadow: 0 4px 10px rgba(44, 99, 190, 0.12);
}
.music-play-btn i {
    font-size: 11px;
}
.music-main {
    flex: 1;
    min-width: 0;
}
.music-progress-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 12px;
}
.music-progress-track {
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: #c8dcf7;
}
.music-progress {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #598fff;
}
.music-seek {
    position: absolute;
    inset: -4px 0;
    width: 100%;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.music-progress-wrap:focus-within {
    outline: 2px solid #91b0f7;
    outline-offset: 2px;
    border-radius: 4px;
}
.music-time {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.mini-music-player.has-error .music-play-btn {
    color: #bc7e36;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.main-content {
    position: relative;
    margin-top: -14px;
    padding: 20px 15px;
    border-radius: 15px 15px 0 0;
    background: #fff;
}
.tab-wrapper {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f2f5;
}
.tab-item {
    position: relative;
    flex: 1;
    padding: 0 0 10px;
    color: var(--store-muted);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.tab-item.active {
    color: var(--store-ink);
}
.tab-item.active::after {
    content: '';
    position: absolute;
    right: 20%;
    bottom: -1px;
    left: 20%;
    height: 3px;
    border-radius: 3px;
    background: var(--store-primary);
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 26px;
}
.cat-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 68px;
    overflow: hidden;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8f9fb;
    cursor: pointer;
}
.cat-item.active {
    background: linear-gradient(135deg, #5c8aff 0%, #406dff 100%);
    color: #fff;
}
.cat-item.active::after {
    content: '';
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.cat-item.active::before {
    content: '✔';
    position: absolute;
    right: 8px;
    bottom: 5px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}
.cat-img {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    object-fit: cover;
}
.cat-text-box {
    flex: 1;
    min-width: 0;
}
.cat-name {
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.cat-desc {
    margin-top: 3px;
    padding-right: 15px;
    color: var(--store-muted);
    font-size: 11px;
}
.cat-item.active .cat-desc {
    color: rgba(255, 255, 255, 0.9);
}
.catalog-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}
#catalogCount {
    color: var(--store-muted);
    font-size: 12px;
}
.goods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.goods-card-img {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--store-line);
    border-radius: 8px;
    background: #fff;
    color: var(--store-ink);
    text-align: left;
    transition:
        border-color 0.18s,
        transform 0.18s;
}
.goods-card-img:hover {
    border-color: #c1d1f2;
    transform: translateY(-2px);
}
.goods-pic-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
}
.goods-new-tag {
    position: absolute;
    top: 12px;
    left: -26px;
    width: 90px;
    padding: 3px 0;
    transform: rotate(-45deg);
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}
.goods-pic {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.goods-pic.is-fallback,
.cat-img.is-fallback {
    object-fit: contain;
}
.goods-pic.is-fallback {
    padding: 14px;
}
.goods-title {
    display: -webkit-box;
    min-height: 52px;
    overflow: hidden;
    padding: 8px 10px 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
}
.goods-bottom {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
    margin-top: auto;
    padding: 0 10px 10px;
}
.goods-price {
    color: #ff5000;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.goods-gift-tag {
    align-self: flex-start;
    max-width: calc(100% - 20px);
    margin: 0 10px 6px;
    padding: 2px 7px;
    border-radius: 5px;
    background: #edf3ff;
    color: #365eb1;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.gift-checkout-line {
    flex: 0 0 auto;
    padding: 7px 16px;
    border-top: 1px solid #e5edfd;
    background: #f2f6ff;
    color: #365a9e;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.goods-status {
    padding: 3px 7px;
    border: 1px solid #cdebd5;
    border-radius: 999px;
    background: #edf8f0;
    color: #2e7d32;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
}
.status-off {
    border-color: #ffd7d7;
    background: #ffeeee;
    color: #ce6666;
}
.status-low {
    border-color: #ffe0c7;
    background: #fff0e6;
    color: #c97935;
}
.status-mid {
    border-color: #ffe9ad;
    background: #fff7df;
    color: #a37a2c;
}
.no-more,
.empty-tip,
.review-empty {
    grid-column: 1 / -1;
    padding: 26px 12px;
    color: #9aa6ba;
    font-size: 12px;
    text-align: center;
}
.overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(22, 32, 52, 0.38);
}
.overlay.show {
    display: flex !important;
}
.center-modal,
.modal-sheet,
.notice-popup {
    display: flex;
    flex-direction: column;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 15px 60px rgba(20, 35, 60, 0.2);
}
.modal-header-row,
.buy-modal-header,
.notice-head {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--store-line);
}
.modal-title-small,
.notice-title {
    font-size: 15px;
    font-weight: 600;
}
.buy-title-wrap {
    min-width: 0;
}
.buy-modal-main-title {
    margin-bottom: 4px;
    color: var(--store-muted);
    font-size: 11px;
}
.buy-product-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.close-circle-btn,
.close-icon,
.notice-close {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #f2f5fa;
    color: #8491a6;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
}
.search-box-wrap {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding: 16px;
}
.search-box-wrap input,
.input-field {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #dfe5ef;
    border-radius: 6px;
    background: #fff;
    color: var(--store-ink);
    font-size: 16px;
}
.search-box-wrap button,
.submit-btn,
.notice-ok-btn {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--store-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.search-res-scroll,
.buy-modal-body,
.notice-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.search-res-scroll {
    padding: 0 16px 16px;
}
.search-res-scroll .goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.buy-modal-body {
    padding: 16px 18px;
}
.desc-title {
    margin-bottom: 7px;
    color: var(--store-muted);
    font-size: 11px;
}
.desc-content {
    max-height: none;
    overflow: visible;
    padding: 12px;
    border-radius: 7px;
    background: #f6f8fc;
    color: #61718b;
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    isolation: isolate;
}
.desc-content img,
.notice-body img {
    max-width: 100%;
    height: auto;
}
.desc-content p {
    margin: 0 0 8px;
}
.desc-content pre {
    white-space: pre-wrap;
}
.desc-content table {
    max-width: 100%;
}
.desc-content .ql-align-center,
.desc-content .text-center {
    text-align: center;
}
.desc-content .ql-align-right,
.desc-content .text-right {
    text-align: right;
}
.desc-content .ql-align-left,
.desc-content .text-left {
    text-align: left;
}
.desc-content .ql-align-justify,
.desc-content .text-justify {
    text-align: justify;
}
.input-group-custom {
    margin-top: 16px;
}
.input-label {
    display: block;
    margin-bottom: 7px;
    color: #61718b;
    font-size: 12px;
    font-weight: 400;
}
.input-label span {
    color: #d96b75;
}
.input-label b {
    font-weight: 400;
}
.stock-line {
    margin-top: 12px;
    color: var(--store-muted);
    font-size: 11px;
}
.pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}
.pay-btn {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--store-line);
    border-radius: 6px;
    color: #718099;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.pay-btn.active {
    border-color: #a8bff1;
    background: #f0f5ff;
    color: var(--store-primary);
}
.pay-btn i {
    margin-right: 4px;
}
.icon-wx {
    color: #279e6e;
}
.icon-zfb {
    color: #3e87dc;
    font-weight: 700;
}
.pay-empty {
    padding-top: 12px;
    color: #b0797c;
    font-size: 12px;
}
.bottom-action-bar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 18px max(13px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--store-line);
}
.price-display {
    min-width: 0;
    color: var(--store-primary);
    font-size: 21px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.price-caption {
    display: block;
    margin-bottom: 2px;
    color: var(--store-muted);
    font-size: 10px;
    font-weight: 400;
}
.price-display small {
    font-size: 13px;
}
.price-display.is-free small {
    display: none;
}
.right-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.qty-pill {
    display: flex;
    height: 32px;
    border: 1px solid var(--store-line);
    border-radius: 5px;
    overflow: hidden;
}
.qty-pill button,
.qty-pill input {
    width: 30px;
    padding: 0;
    border: 0;
    background: #f8faff;
    color: #687c9e;
    font-size: 14px;
    text-align: center;
}
.qty-pill input {
    width: 40px;
    background: #fff;
    appearance: textfield;
    -moz-appearance: textfield;
}
.qty-pill input::-webkit-inner-spin-button {
    appearance: none;
}
.submit-btn {
    min-height: 38px;
}
.notice-body {
    padding: 18px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.notice-body a {
    color: var(--store-primary);
}
.notice-footer {
    padding: 12px 18px 16px;
    border-top: 1px solid var(--store-line);
}
.notice-ok-btn {
    width: 100%;
    min-height: 38px;
}
.overlay.purchase-agreement-overlay {
    z-index: 1100;
    align-items: center;
    padding: 16px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.agreement-popup {
    width: min(100%, 600px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
}
.agreement-head {
    align-items: center;
}
.agreement-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--store-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}
.agreement-title::before {
    width: 3px;
    height: 17px;
    border-radius: 2px;
    background: var(--store-primary);
    content: '';
}
.agreement-title:focus {
    outline: none;
}
.agreement-body {
    color: #515c6e;
    font-size: 14px;
    line-height: 1.9;
}
.agreement-body p {
    margin: 0 0 14px;
}
.agreement-body p:last-child {
    margin-bottom: 0;
}
.agreement-body table {
    max-width: 100%;
}
.agreement-footer {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--store-line);
    background: #fafbfd;
}
.agreement-footer button {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #dfe5ef;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.agreement-decline-btn {
    background: #fff;
    color: #7c8798;
}
.agreement-footer .agreement-accept-btn {
    border-color: var(--store-primary);
    background: var(--store-primary);
    color: #fff;
}
.agreement-declined-popup {
    width: min(100%, 500px);
    padding: 30px 22px;
    overflow-y: auto;
    text-align: center;
}
.agreement-declined-popup h2 {
    flex-shrink: 0;
    margin: 0;
    color: var(--store-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}
.agreement-declined-popup p {
    flex-shrink: 0;
    margin: 22px 0 26px;
    color: #778294;
    font-size: 14px;
    line-height: 1.9;
}
.agreement-declined-popup p a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.agreement-declined-actions {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    gap: 10px;
}
.agreement-declined-actions button,
.agreement-declined-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #dfe5ef;
    border-radius: 5px;
    background: #fff;
    color: var(--store-primary);
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}
.purchase-agreement-overlay button:focus-visible,
.purchase-agreement-overlay a:focus-visible,
.agreement-body:focus-visible {
    outline: 2px solid var(--store-primary);
    outline-offset: 2px;
}
@media (max-width: 600px) {
    .overlay {
        align-items: flex-end;
        padding: 12px;
    }
    .notice-overlay {
        align-items: center;
    }
    .modal-sheet,
    .center-modal {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }
    .bottom-action-bar {
        flex-wrap: wrap;
        padding-right: 14px;
        padding-left: 14px;
    }
    .right-actions {
        gap: 6px;
    }
    .submit-btn {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 12px;
    }
}
@media (max-width: 420px) {
    .mini-music-player {
        top: 142px;
        left: 12px;
        width: 128px;
        height: 40px;
        padding: 6px 7px;
    }
    .music-play-btn {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }
    .music-time {
        font-size: 8.5px;
    }
}
@media (max-width: 360px) {
    .mini-music-player {
        top: 140px;
        width: 118px;
    }
    .store-header {
        padding-right: 12px;
        padding-left: 12px;
    }
    .store-brand {
        gap: 9px;
    }
    .store-name-group h1 {
        font-size: 17px;
    }
    .store-service,
    .store-orders {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 12px;
    }
    .cat-item {
        gap: 7px;
        padding: 10px;
    }
    .cat-img {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }
    .goods-price {
        font-size: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
