/* ==========================================================================
   投脑商城 · 全站样式
   ========================================================================== */

:root {
    --paper: #f6f1e7;
    --paper-2: #efe7d8;
    --paper-3: #e6dbc7;
    --cream: #fffdf8;
    --ink: #1f2a30;
    --ink-2: #3d4a51;
    --muted: #6f7a7e;
    --line: #ddd2c0;
    --line-strong: #c9bca6;
    --accent: #c4513a;
    --accent-dark: #a63d29;
    --sage: #6f7f6c;
    --gold: #b08a4a;
    --shadow: 0 24px 60px rgba(31, 42, 48, .08);
    --shadow-sm: 0 10px 30px rgba(31, 42, 48, .06);
    --font-display: "Noto Serif SC", "Songti SC", "Source Han Serif SC", SimSun, serif;
    --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
}

p, dl, dd, dt, ul, ol, figure {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

input,
textarea,
select {
    outline: none;
}

::selection {
    background: rgba(196, 81, 58, .22);
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
    vertical-align: middle;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 880px;
}

.site-main {
    min-height: 50vh;
}

/* ==========================================================================
   基础组件
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.btn .icon {
    width: 18px;
    height: 18px;
}

.btn--primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.btn--primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn--outline {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

.btn--outline:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn--ghost {
    border-color: var(--line);
    color: var(--ink-2);
    background: transparent;
}

.btn--ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.btn--light {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--ink);
}

.btn--light:hover {
    background: var(--paper-2);
    border-color: var(--paper-2);
}

.btn--outline-light {
    border-color: rgba(255, 253, 248, .38);
    color: var(--cream);
    background: transparent;
}

.btn--outline-light:hover {
    border-color: var(--cream);
    background: rgba(255, 253, 248, .08);
}

.btn--lg {
    height: 52px;
    padding: 0 28px;
    font-size: 15px;
}

.btn--sm {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.btn--block {
    width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: .45;
    pointer-events: none;
}

.btn.is-loading {
    pointer-events: none;
    opacity: .7;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}

.text-link .icon {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.text-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.text-link:hover .icon {
    transform: translateX(3px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow__line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

.eyebrow--light {
    color: rgba(255, 253, 248, .62);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb em {
    color: var(--ink);
    font-style: normal;
}

.breadcrumb--light {
    color: rgba(255, 253, 248, .56);
}

.breadcrumb--light em {
    color: rgba(255, 253, 248, .85);
}

.section {
    padding: 88px 0;
}

.section--tint {
    background: var(--paper-2);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.section-head__title {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.section-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border: 1px solid var(--line-strong);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .08em;
    line-height: 1;
}

.section-kicker {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
}

.section-head h2 {
    font-size: 34px;
}

.section-note {
    max-width: 320px;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.price {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.price small {
    margin-right: 2px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
}

.price--large {
    font-size: 38px;
}

.price--large small {
    font-size: 18px;
}

.price-old {
    color: #9b9488;
    font-size: 12px;
    text-decoration: line-through;
}

.tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(196, 81, 58, .3);
    border-radius: 2px;
    color: var(--accent);
    font-size: 11px;
    line-height: 1;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 11px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}

.status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.status--unpaid {
    background: rgba(196, 81, 58, .1);
    color: var(--accent);
}

.status--paid {
    background: rgba(176, 138, 74, .12);
    color: #8c6a2f;
}

.status--shipped {
    background: rgba(111, 127, 108, .12);
    color: var(--sage);
}

.status--done {
    background: rgba(31, 42, 48, .08);
    color: var(--ink);
}

.status--cancelled {
    background: rgba(111, 122, 126, .1);
    color: var(--muted);
}

/* 表单 */

.form-field {
    display: block;
    margin-bottom: 20px;
}

.form-field > span:first-child {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea,
.textarea {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--cream);
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea,
.textarea {
    height: auto;
    min-height: 110px;
    padding: 12px 14px;
    line-height: 1.7;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.textarea:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(31, 42, 48, .07);
}

.form-field input::placeholder,
.form-field textarea::placeholder,
.textarea::placeholder {
    color: #a8a196;
}

.form-field small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row--region {
    grid-template-columns: repeat(3, 1fr);
}

.form-hint {
    color: var(--muted);
    font-size: 12px;
}

.form-hint strong {
    color: var(--accent);
    letter-spacing: .08em;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-2);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.checkbox input {
    position: relative;
    width: 17px;
    height: 17px;
    margin: 0;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    background: var(--cream);
    appearance: none;
    cursor: pointer;
    flex: none;
}

.checkbox input:checked {
    background: var(--ink);
    border-color: var(--ink);
}

.checkbox input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid var(--cream);
    border-width: 0 1.6px 1.6px 0;
    transform: rotate(42deg);
}

.checkbox a {
    color: var(--accent);
    border-bottom: 1px solid rgba(196, 81, 58, .35);
}

.switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 24px;
    cursor: pointer;
}

.switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch__track {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: var(--line-strong);
    transition: background .2s ease;
}

.switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cream);
    transition: transform .2s ease;
}

.switch input:checked + .switch__track {
    background: var(--ink);
}

.switch input:checked + .switch__track::after {
    transform: translateX(18px);
}

.switch__text {
    color: var(--ink-2);
    font-size: 13px;
}

/* 空状态 */

.empty-state {
    padding: 72px 24px;
    text-align: center;
}

.empty-state--large {
    padding: 110px 24px;
}

.empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
    color: var(--muted);
}

.empty-state__icon .icon {
    width: 28px;
    height: 28px;
}

.empty-state h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.empty-state p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

/* 分页 */

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 52px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
}

.pagination li > a,
.pagination li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--ink-2);
    font-size: 13px;
    transition: all .2s ease;
}

.pagination li > a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.pagination li.active > span {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.pagination li.disabled > span {
    opacity: .38;
}

/* Toast 与弹窗 */

.toast {
    position: fixed;
    top: 92px;
    left: 50%;
    z-index: 300;
    max-width: min(90vw, 480px);
    padding: 12px 22px;
    border-radius: 2px;
    background: rgba(31, 42, 48, .94);
    color: var(--cream);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 42, 48, .55);
    backdrop-filter: blur(3px);
}

.modal__panel {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 36px 34px 30px;
    border-radius: 4px;
    background: var(--cream);
    box-shadow: var(--shadow);
    text-align: center;
    transform: translateY(12px) scale(.98);
    transition: transform .24s ease;
}

.modal.is-open .modal__panel {
    transform: translateY(0) scale(1);
}

.modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(196, 81, 58, .1);
    color: var(--accent);
}

.modal__icon .icon {
    width: 26px;
    height: 26px;
}

.modal__panel h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.modal__panel p {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.modal__actions {
    display: flex;
    gap: 10px;
}

.modal__actions .btn {
    flex: 1;
}

/* ==========================================================================
   头部
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(246, 241, 231, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.topbar {
    background: var(--ink);
    color: rgba(255, 253, 248, .72);
    font-size: 11px;
    letter-spacing: .05em;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
}

.topbar__contact a {
    margin-left: 4px;
    color: var(--cream);
    border-bottom: 1px solid rgba(255, 253, 248, .3);
}

.topbar__contact a:hover {
    color: #fff;
    border-bottom-color: var(--cream);
}

.header-main__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.brand__mark {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 3px;
    flex: none;
    object-fit: cover;
}

.brand__mark--small {
    width: 36px;
    height: 36px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__text strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .06em;
}

.brand__text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .24em;
}

.brand--small .brand__text strong {
    font-size: 17px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.main-nav a {
    position: relative;
    padding: 8px 7px;
    color: var(--ink-2);
    font-size: 13px;
    white-space: nowrap;
    transition: color .2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 200px;
    height: 40px;
    padding: 0 8px 0 14px;
    border-radius: 999px;
    background: var(--paper-2);
    flex: none;
}

.header-search .icon {
    width: 17px;
    height: 17px;
    color: var(--muted);
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 12.5px;
}

.header-search button {
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-size: 11px;
    flex: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex: none;
}

.header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 10px;
    color: var(--ink-2);
    font-size: 13px;
    white-space: nowrap;
}

.header-action:hover {
    color: var(--accent);
}

.header-action--user span {
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-action--cart .cart-badge {
    position: absolute;
    top: 1px;
    right: 0;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    line-height: 1;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ink);
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-2);
}

/* 移动菜单 */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    transition: visibility .3s ease;
}

.mobile-menu.is-open {
    visibility: visible;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 42, 48, .42);
    opacity: 0;
    transition: opacity .3s ease;
}

.mobile-menu.is-open .mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(88vw, 380px);
    padding: 22px 24px 30px;
    background: var(--paper);
    box-shadow: 24px 0 60px rgba(31, 42, 48, .16);
    transform: translateX(-102%);
    transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mobile-search {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    margin-bottom: 26px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--cream);
}

.mobile-search .icon {
    color: var(--muted);
}

.mobile-search input {
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 13px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.mobile-menu__nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 19px;
}

.mobile-menu__nav a span {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 11px;
}

.mobile-menu__nav a:hover {
    color: var(--accent);
}

.mobile-menu__foot {
    margin-top: auto;
    padding-top: 30px;
    color: var(--muted);
    font-size: 12px;
}

.mobile-menu__foot span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: .18em;
}

.mobile-menu__foot a {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 22px;
}

/* ==========================================================================
   首页
   ========================================================================== */

.hero {
    position: relative;
    padding: 66px 0 76px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(201, 188, 166, .45);
    border-radius: 50%;
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 56px;
}

.hero__title {
    margin-bottom: 24px;
    font-size: clamp(48px, 5.4vw, 72px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.hero__title em {
    position: relative;
    color: var(--accent);
    font-style: normal;
    background: linear-gradient(transparent 72%, rgba(196, 81, 58, .16) 72%);
}

.hero__lead {
    max-width: 440px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 42px;
}

.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.hero__stats dt {
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.hero__stats dd {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
}

.hero__visual {
    position: relative;
    padding: 0 18px 0 0;
}

.hero__arch {
    position: relative;
    overflow: hidden;
    border-radius: 190px 190px 4px 4px;
    background: var(--paper-2);
    box-shadow: var(--shadow);
}

.hero__arch img {
    width: 100%;
    aspect-ratio: 4 / 3.15;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .6, .2, 1);
}

.hero__visual:hover .hero__arch img {
    transform: scale(1.025);
}

.hero__note {
    position: absolute;
    left: -28px;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    min-width: 190px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, .96);
    box-shadow: var(--shadow-sm);
}

.hero__note span {
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .2em;
}

.hero__note strong {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
}

.hero__note small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.hero__seal {
    position: absolute;
    top: 16px;
    right: -6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: rgba(246, 241, 231, .92);
    color: var(--accent);
    transform: rotate(8deg);
    box-shadow: 0 10px 30px rgba(196, 81, 58, .12);
}

.hero__seal span {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.2;
}

.hero__seal small {
    margin-top: 2px;
    font-size: 7px;
    letter-spacing: .16em;
}

.service-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
}

.service-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 26px;
    border-right: 1px solid rgba(201, 188, 166, .6);
}

.service-item:first-child {
    border-left: 1px solid rgba(201, 188, 166, .6);
}

.service-item .icon {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.service-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.service-item span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

/* 品类 */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 26px 24px 24px;
    background: var(--cream);
    transition: background .28s ease, color .28s ease, transform .28s ease;
}

.category-card:hover {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-3px);
}

.category-card__index {
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: .12em;
}

.category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 26px 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--accent);
    transition: border-color .28s ease, color .28s ease;
}

.category-card__icon .icon {
    width: 25px;
    height: 25px;
}

.category-card:hover .category-card__icon {
    border-color: rgba(255, 253, 248, .28);
    color: var(--cream);
}

.category-card h3 {
    margin-top: 24px;
    font-size: 22px;
}

.category-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    transition: color .28s ease;
}

.category-card:hover p {
    color: rgba(255, 253, 248, .6);
}

.category-card__en {
    margin-top: 14px;
    color: var(--line-strong);
    font-size: 9px;
    letter-spacing: .22em;
    transition: color .28s ease;
}

.category-card:hover .category-card__en {
    color: rgba(255, 253, 248, .32);
}

.category-card__arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: all .28s ease;
}

.category-card__arrow .icon {
    width: 16px;
    height: 16px;
}

.category-card:hover .category-card__arrow {
    border-color: var(--cream);
    background: var(--cream);
    color: var(--ink);
}

/* 商品卡片 */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px 24px;
}

.product-card {
    position: relative;
    min-width: 0;
}

.product-card__media {
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
    aspect-ratio: 1 / 1;
}

.product-card__link {
    display: block;
    height: 100%;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .6, .2, 1);
}

.product-card:hover .product-card__media img {
    transform: scale(1.045);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    height: 24px;
    padding: 0 8px;
    background: var(--ink);
    color: var(--cream);
    font-size: 10px;
    line-height: 24px;
    letter-spacing: .06em;
}

.product-card__quick {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 253, 248, .95);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
    box-shadow: 0 6px 20px rgba(31, 42, 48, .12);
}

.product-card__quick .icon {
    width: 15px;
    height: 15px;
}

.product-card:hover .product-card__quick {
    opacity: 1;
    transform: translateY(0);
}

.product-card__quick:hover {
    background: var(--ink);
    color: var(--cream);
}

.product-card__body {
    padding: 15px 2px 0;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em;
}

.product-card__name {
    margin-bottom: 3px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.product-card__name a:hover {
    color: var(--accent);
}

.product-card__subtitle {
    overflow: hidden;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card__foot {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

/* 场景 */

.section--scenes {
    background: var(--paper);
}

.scene-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    height: 560px;
}

.scene-card {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    background: var(--ink);
    color: var(--cream);
}

.scene-card--wide {
    grid-row: span 2;
}

.scene-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
    transition: transform .9s cubic-bezier(.2, .6, .2, 1), opacity .4s ease;
}

.scene-card:hover img {
    transform: scale(1.04);
    opacity: 1;
}

.scene-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 28, 33, .02) 35%, rgba(20, 28, 33, .78) 100%);
}

.scene-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 28px;
}

.scene-card__body span {
    color: rgba(255, 253, 248, .55);
    font-size: 10px;
    letter-spacing: .16em;
}

.scene-card__body h3 {
    margin: 6px 0 8px;
    font-size: 28px;
    color: var(--cream);
}

.scene-card__body p {
    max-width: 380px;
    color: rgba(255, 253, 248, .68);
    font-size: 12px;
    line-height: 1.8;
}

.scene-card__body em {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--cream);
    border-bottom: 1px solid rgba(255, 253, 248, .4);
}

.scene-card__body em .icon {
    width: 15px;
    height: 15px;
}

/* 企业采购横幅 */

.enterprise-banner {
    padding: 82px 0;
    background: var(--ink);
    color: var(--cream);
}

.enterprise-banner__inner {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 72px;
    align-items: center;
}

.enterprise-banner h2 {
    margin-bottom: 22px;
    font-size: 46px;
    line-height: 1.22;
    color: var(--cream);
}

.enterprise-banner__copy > p:not(.eyebrow) {
    max-width: 470px;
    margin-bottom: 30px;
    color: rgba(255, 253, 248, .62);
    font-size: 14px;
    line-height: 1.9;
}

.enterprise-banner__list {
    border-top: 1px solid rgba(255, 253, 248, .16);
}

.enterprise-banner__list li {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 253, 248, .16);
}

.enterprise-banner__list li > span {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: .1em;
}

.enterprise-banner__list strong {
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
    font-weight: 600;
}

.enterprise-banner__list small {
    color: rgba(255, 253, 248, .5);
    font-size: 11.5px;
}

/* 品牌理念 */

.brand-note {
    border-top: 1px solid var(--line);
}

.brand-note__inner {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 80px;
}

.brand-note h2 {
    font-size: 38px;
    line-height: 1.45;
}

.brand-note__cols {
    display: grid;
    gap: 24px;
    padding-top: 6px;
}

.brand-note__cols p {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.brand-note__cols strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
}

/* ==========================================================================
   列表页 / 商品页
   ========================================================================== */

.page-hero {
    padding: 46px 0 52px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
}

.page-hero--simple {
    padding: 44px 0 54px;
}

.page-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.page-hero__copy h1,
.page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(40px, 4.6vw, 58px);
    line-height: 1.16;
}

.page-hero__lead,
.page-hero__copy > p:not(.eyebrow) {
    max-width: 640px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.page-hero__stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: none;
    padding-bottom: 8px;
}

.page-hero__stat strong {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 600;
    line-height: 1;
}

.page-hero__stat span {
    color: var(--muted);
    font-size: 12px;
}

.catalog {
    padding: 32px 0 88px;
}

.catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 18px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.catalog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.catalog-chips a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 12.5px;
}

.catalog-chips a:hover {
    border-color: var(--line-strong);
}

.catalog-chips a.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
    color: var(--muted);
    font-size: 12px;
}

.catalog-sort a {
    position: relative;
}

.catalog-sort a:hover,
.catalog-sort a.is-active {
    color: var(--ink);
    font-weight: 600;
}

.catalog-sort a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--accent);
}

.search-note {
    margin: -12px 0 26px;
    color: var(--muted);
    font-size: 12.5px;
}

.search-note strong {
    color: var(--accent);
}

.product-grid--catalog {
    row-gap: 44px;
}

.product-detail {
    padding: 30px 0 90px;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.product-gallery__main {
    overflow: hidden;
    background: var(--paper-2);
    aspect-ratio: 1 / 1;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.product-gallery__thumbs button {
    width: 74px;
    height: 74px;
    overflow: hidden;
    border: 1px solid transparent;
    background: var(--paper-2);
}

.product-gallery__thumbs button.is-active {
    border-color: var(--ink);
}

.product-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px;
}

.product-info__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.product-info__tags span {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 10.5px;
}

.product-info h1 {
    margin-bottom: 8px;
    font-size: 36px;
    line-height: 1.35;
}

.product-info__subtitle {
    color: var(--muted);
    font-size: 14px;
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin: 26px 0;
    padding: 20px 22px;
    background: var(--paper-2);
}

.product-price__sales {
    margin-left: auto;
    color: var(--muted);
    font-size: 11px;
}

.product-meta {
    border-top: 1px solid var(--line);
}

.product-meta > div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
}

.product-meta dt {
    color: var(--muted);
}

.product-buy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    height: 52px;
    border: 1px solid var(--line-strong);
    background: var(--cream);
}

.qty-stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 100%;
    color: var(--ink-2);
}

.qty-stepper button:hover {
    color: var(--accent);
}

.qty-stepper button .icon {
    width: 16px;
    height: 16px;
}

.qty-stepper input {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    font-size: 14px;
    text-align: center;
    appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.qty-stepper--small {
    height: 38px;
}

.qty-stepper--small button {
    width: 32px;
}

.qty-stepper--small input {
    width: 36px;
    font-size: 12.5px;
}

.product-buy .btn--lg {
    padding: 0 22px;
}

.product-promise {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.product-promise li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.product-promise .icon {
    width: 15px;
    height: 15px;
    color: var(--sage);
}

.product-tabs {
    margin-top: 76px;
    border-top: 1px solid var(--line);
}

.product-tabs__nav {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--line);
}

.product-tabs__nav button {
    position: relative;
    padding: 18px 22px;
    color: var(--muted);
    font-size: 14px;
}

.product-tabs__nav button::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: -1px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .22s ease;
}

.product-tabs__nav button:hover,
.product-tabs__nav button.is-active {
    color: var(--ink);
    font-weight: 600;
}

.product-tabs__nav button.is-active::after {
    transform: scaleX(1);
}

.product-tabs__panel {
    display: none;
    padding: 38px 0 10px;
}

.product-tabs__panel.is-active {
    display: block;
    animation: fadeUp .35s ease both;
}

.rich-text {
    max-width: 880px;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.95;
}

.rich-text h3 {
    margin: 28px 0 10px;
    font-size: 22px;
}

.rich-text h3:first-child {
    margin-top: 0;
}

.rich-text p {
    margin-bottom: 14px;
}

.rich-text ul {
    margin: 12px 0 20px;
    padding-left: 4px;
}

.rich-text li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 18px;
}

.rich-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .8em;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

.spec-table {
    max-width: 760px;
    border-top: 1px solid var(--line);
}

.spec-table > div {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid var(--line);
}

.spec-table dt,
.spec-table dd {
    padding: 13px 16px;
    font-size: 13px;
}

.spec-table dt {
    background: var(--paper-2);
    color: var(--muted);
}

.related {
    margin-top: 88px;
}

.product-buybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 253, 248, .97);
    backdrop-filter: blur(10px);
}

.product-buybar__price {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.product-buybar__price small {
    color: var(--muted);
    font-size: 10px;
}

.product-buybar__actions {
    display: flex;
    gap: 8px;
    flex: none;
}

.product-buybar__actions .btn {
    height: 42px;
    padding: 0 16px;
    font-size: 13px;
}

/* ==========================================================================
   购物车
   ========================================================================== */

.page-section {
    padding: 44px 0 90px;
}

.page-section--checkout {
    padding-top: 34px;
}

.page-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.page-title-row h1 {
    font-size: clamp(34px, 3.8vw, 48px);
}

.page-title-row__meta {
    color: var(--muted);
    font-size: 13px;
}

.page-title-row__meta strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 20px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.cart-list__head,
.cart-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 92px 128px 92px 36px;
    align-items: center;
    gap: 14px;
}

.cart-list__head {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
}

.cart-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item__product {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.cart-item__image {
    display: block;
    width: 92px;
    height: 92px;
    overflow: hidden;
    background: var(--paper-2);
    flex: none;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__info {
    min-width: 0;
}

.cart-item__info h3 {
    margin-bottom: 4px;
    font-size: 17px;
    line-height: 1.45;
}

.cart-item__info h3 a:hover {
    color: var(--accent);
}

.cart-item__info p {
    overflow: hidden;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cart-item__info span {
    color: var(--muted);
    font-size: 10.5px;
}

.cart-item__price {
    color: var(--ink-2);
    font-size: 13px;
}

.cart-item__subtotal {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
}

.cart-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--muted);
    border-radius: 50%;
    transition: all .2s ease;
}

.cart-item__remove:hover {
    background: rgba(196, 81, 58, .08);
    color: var(--accent);
}

.cart-item__remove .icon {
    width: 16px;
    height: 16px;
}

.cart-summary,
.checkout-summary {
    position: sticky;
    top: 132px;
    padding: 28px 26px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.cart-summary h2,
.checkout-summary h2 {
    margin-bottom: 20px;
    font-size: 21px;
}

.summary-list {
    border-top: 1px solid var(--line);
}

.summary-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
}

.summary-list dt {
    color: var(--muted);
}

.summary-list dd {
    color: var(--ink-2);
}

.summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 0 6px;
}

.summary-total > span {
    font-size: 13px;
    font-weight: 600;
}

.summary-total strong {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.summary-tip {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.cart-summary__continue {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cart-summary__continue:hover {
    color: var(--ink);
}

/* ==========================================================================
   结算
   ========================================================================== */

.steps {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 11.5px;
    list-style: none;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: 10px;
}

.steps li.is-done {
    color: var(--sage);
}

.steps li.is-done span {
    border-color: var(--sage);
    background: var(--sage);
    color: var(--cream);
}

.steps li.is-active {
    color: var(--ink);
    font-weight: 600;
}

.steps li.is-active span {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--cream);
}

.steps--center {
    justify-content: center;
    margin-bottom: 28px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.checkout-card {
    margin-bottom: 22px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.checkout-card:last-child {
    margin-bottom: 0;
}

.checkout-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.checkout-card__head h2 {
    font-size: 21px;
}

.checkout-card__head > span,
.checkout-card__head .text-link {
    color: var(--muted);
    font-size: 12px;
}

.address-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.address-card {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 17px 16px 26px;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.address-card:hover {
    border-color: var(--line-strong);
}

.address-card.is-selected {
    border-color: var(--accent);
    background: rgba(196, 81, 58, .035);
}

.address-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.address-card__body {
    min-width: 0;
}

.address-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 5px;
}

.address-card__head strong {
    font-size: 14px;
    font-weight: 600;
}

.address-card__head em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.address-card__text {
    display: block;
    padding-right: 42px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.7;
}

.address-card__edit {
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: var(--muted);
    font-size: 10.5px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.address-card__edit:hover {
    color: var(--accent);
}

.address-add-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 78px;
    border: 1px dashed var(--line-strong);
    color: var(--muted);
    font-size: 12px;
    transition: all .2s ease;
}

.address-add-card:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: var(--paper);
}

.address-add-card .icon {
    width: 16px;
    height: 16px;
}

.checkout-empty-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: var(--paper);
}

.checkout-empty-address p {
    color: var(--muted);
    font-size: 13px;
}

.checkout-items {
    border-top: 1px solid var(--line);
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-item__image {
    width: 72px;
    height: 72px;
    overflow: hidden;
    background: var(--paper-2);
    flex: none;
}

.checkout-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item__info {
    flex: 1;
    min-width: 0;
}

.checkout-item__info h3 {
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 1.5;
}

.checkout-item__info p {
    color: var(--muted);
    font-size: 11px;
}

.checkout-item__price {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.checkout-item__subtotal {
    min-width: 72px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}

.checkout-summary {
    top: 132px;
}

/* ==========================================================================
   收银台
   ========================================================================== */

.cashier {
    padding: 44px 0 90px;
}

.cashier-card {
    overflow: hidden;
    padding: 40px 44px 34px;
    border: 1px solid var(--line);
    background: var(--cream);
    box-shadow: var(--shadow-sm);
}

.cashier-head {
    margin-bottom: 26px;
    text-align: center;
}

.cashier-head .eyebrow {
    justify-content: center;
}

.cashier-head h1 {
    margin-bottom: 8px;
    font-size: 38px;
}

.cashier-head p {
    color: var(--muted);
    font-size: 12.5px;
}

.cashier-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 0 32px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.cashier-amount > span {
    color: var(--muted);
    font-size: 12px;
}

.cashier-amount strong {
    margin: 4px 0 6px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 58px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.cashier-amount strong small {
    font-size: 24px;
}

.cashier-amount em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    letter-spacing: .04em;
}

.cashier-section {
    padding: 26px 0 4px;
}

.cashier-section h2 {
    margin-bottom: 16px;
    font-size: 20px;
}

.pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pay-method {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.pay-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pay-method.is-active {
    border-color: var(--accent);
    background: rgba(196, 81, 58, .035);
}

.pay-method__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    flex: none;
}

.pay-method__icon .icon {
    width: 26px;
    height: 26px;
}

.pay-method__icon--alipay {
    color: #1677ff;
}

.pay-method__icon--wechat {
    color: #07c160;
}

.pay-method__text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.pay-method__text strong {
    font-size: 14px;
    font-weight: 600;
}

.pay-method__text small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10.5px;
}

.pay-method__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: transparent;
    flex: none;
}

.pay-method__check .icon {
    width: 12px;
    height: 12px;
}

.pay-method.is-active .pay-method__check {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--cream);
}

.cashier-items {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 6px 16px;
}

.cashier-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.cashier-item img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    background: var(--paper-2);
}

.cashier-item > div {
    flex: 1;
    min-width: 0;
}

.cashier-item h3 {
    margin-bottom: 2px;
    font-size: 13.5px;
    line-height: 1.5;
}

.cashier-item p {
    color: var(--muted);
    font-size: 11px;
}

.cashier-item > strong {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
}

.summary-list--compact {
    margin-top: 6px;
    border-top: 0;
}

.summary-list--compact > div:last-child {
    border-bottom: 0;
}

.cashier-pay {
    height: 56px;
    margin-top: 26px;
    font-size: 16px;
    letter-spacing: .04em;
}

.cashier-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.7;
    text-align: center;
}

.cashier-note a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cashier-back {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================================================
   订单
   ========================================================================== */

.order-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.order-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px 20px;
    color: var(--muted);
    font-size: 13px;
}

.order-tabs a em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
}

.order-tabs a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -1px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .22s ease;
}

.order-tabs a:hover,
.order-tabs a.is-active {
    color: var(--ink);
    font-weight: 600;
}

.order-tabs a.is-active::after {
    transform: scaleX(1);
}

.order-tabs a.is-active em {
    background: var(--ink);
    color: var(--cream);
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-card {
    border: 1px solid var(--line);
    background: var(--cream);
}

.order-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.order-card__head > div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--muted);
    font-size: 11.5px;
}

.order-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 22px;
}

.order-card__items {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.order-card__thumb {
    width: 68px;
    height: 68px;
    overflow: hidden;
    background: var(--paper-2);
    flex: none;
}

.order-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-card__names {
    min-width: 0;
}

.order-card__names p {
    overflow: hidden;
    max-width: 330px;
    margin-bottom: 3px;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.order-card__names span {
    color: var(--muted);
    font-size: 10.5px;
}

.order-card__total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: none;
    line-height: 1.4;
}

.order-card__total > span {
    color: var(--muted);
    font-size: 10px;
}

.order-card__total strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

.order-card__total small {
    color: var(--muted);
    font-size: 10px;
}

.order-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 22px;
    border-top: 1px solid var(--line);
}

.order-card__tip {
    color: var(--muted);
    font-size: 11.5px;
}

.order-card__actions {
    display: flex;
    gap: 8px;
    flex: none;
}

.order-status-banner {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding: 26px 30px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.order-status-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--paper-2);
}

.order-status-banner__icon .icon {
    width: 26px;
    height: 26px;
}

.order-status-banner--unpaid .order-status-banner__icon {
    background: rgba(196, 81, 58, .1);
    color: var(--accent);
}

.order-status-banner--done .order-status-banner__icon,
.order-status-banner--paid .order-status-banner__icon,
.order-status-banner--shipped .order-status-banner__icon {
    background: rgba(111, 127, 108, .12);
    color: var(--sage);
}

.order-status-banner--cancelled .order-status-banner__icon {
    background: rgba(111, 122, 126, .1);
    color: var(--muted);
}

.order-status-banner__copy h1 {
    margin-bottom: 4px;
    font-size: 30px;
}

.order-status-banner__copy p {
    color: var(--muted);
    font-size: 12.5px;
}

.order-status-banner__actions {
    display: flex;
    gap: 8px;
    flex: none;
}

.order-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.order-detail-aside {
    position: sticky;
    top: 132px;
}

.order-address p {
    margin-bottom: 6px;
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.8;
}

.order-address p:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.order-address strong {
    font-size: 16px;
}

.order-address span {
    color: var(--muted);
    font-size: 12.5px;
}

.info-list > div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.7;
}

.info-list dt {
    color: var(--muted);
}

.info-list dd {
    color: var(--ink-2);
    word-break: break-all;
}

.summary-list__total {
    padding-top: 16px !important;
    border-bottom: 0 !important;
}

.summary-list__total dt {
    color: var(--ink) !important;
    font-weight: 600;
}

.summary-list__total dd {
    color: var(--accent) !important;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
}

.help-text {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
}

.help-text a {
    color: var(--ink);
    border-bottom: 1px solid var(--line-strong);
}

/* ==========================================================================
   个人中心 / 地址
   ========================================================================== */

.user-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.user-profile {
    position: sticky;
    top: 132px;
    padding: 34px 26px 26px;
    background: var(--ink);
    color: var(--cream);
    text-align: center;
}

.user-profile__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 253, 248, .28);
    border-radius: 50%;
    background: rgba(255, 253, 248, .08);
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 30px;
}

.user-profile__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile h1 {
    margin-bottom: 4px;
    font-size: 23px;
    color: var(--cream);
}

.user-profile__phone {
    margin-bottom: 4px;
    color: rgba(255, 253, 248, .58);
    font-size: 12.5px;
    letter-spacing: .06em;
}

.user-profile__since {
    color: rgba(255, 253, 248, .38);
    font-size: 10.5px;
}

.user-profile__links {
    margin-top: 26px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 253, 248, .15);
    text-align: left;
}

.user-profile__links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    color: rgba(255, 253, 248, .72);
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255, 253, 248, .08);
}

.user-profile__links a:hover {
    color: var(--cream);
}

.user-profile__links .icon {
    width: 17px;
    height: 17px;
    color: rgba(255, 253, 248, .5);
}

.user-profile__links em {
    margin-left: auto;
    color: rgba(255, 253, 248, .4);
    font-size: 11px;
    font-style: normal;
}

.user-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 40px;
    margin-top: 20px;
    border: 1px solid rgba(255, 253, 248, .2);
    color: rgba(255, 253, 248, .66);
    font-size: 12px;
    transition: all .2s ease;
}

.user-logout:hover {
    border-color: rgba(255, 253, 248, .5);
    color: var(--cream);
}

.user-logout .icon {
    width: 15px;
    height: 15px;
}

.user-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.user-panel {
    padding: 26px 28px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.user-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.user-panel__head h2 {
    font-size: 21px;
}

.order-shortcuts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--line);
}

.order-shortcuts a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 18px 8px;
    border-right: 1px solid var(--line);
    transition: background .2s ease;
}

.order-shortcuts a:last-child {
    border-right: 0;
}

.order-shortcuts a:hover {
    background: var(--paper);
}

.order-shortcuts__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 5px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--ink-2);
}

.order-shortcuts__icon .icon {
    width: 18px;
    height: 18px;
}

.order-shortcuts strong {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
}

.order-shortcuts small {
    color: var(--muted);
    font-size: 10.5px;
}

.recent-orders {
    display: flex;
    flex-direction: column;
}

.recent-order {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.recent-order:last-child {
    padding-bottom: 0;
}

.recent-order__images {
    display: flex;
    flex: none;
}

.recent-order__images img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid var(--cream);
    background: var(--paper-2);
}

.recent-order__images img + img {
    margin-left: -10px;
}

.recent-order__info {
    flex: 1;
    min-width: 0;
}

.recent-order__info strong {
    display: block;
    overflow: hidden;
    margin-bottom: 3px;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.recent-order__info span {
    color: var(--muted);
    font-size: 10.5px;
}

.recent-order__total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: none;
}

.recent-order__total > strong {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
}

.recent-order:hover .recent-order__info strong {
    color: var(--accent);
}

.user-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
}

.user-empty p {
    color: var(--muted);
    font-size: 12.5px;
}

.user-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.user-service-grid a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    border: 1px solid var(--line);
    transition: all .2s ease;
}

.user-service-grid a:hover {
    border-color: var(--ink);
    background: var(--paper);
}

.user-service-grid .icon {
    width: 22px;
    height: 22px;
    margin-bottom: 8px;
    color: var(--accent);
}

.user-service-grid strong {
    font-size: 13px;
    font-weight: 600;
}

.user-service-grid span {
    color: var(--muted);
    font-size: 10.5px;
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.address-item {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.address-item.is-default {
    border-color: rgba(196, 81, 58, .45);
}

.address-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.address-item__head strong {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
}

.address-item__head span {
    color: var(--muted);
    font-size: 12.5px;
}

.address-item__head .tag {
    margin-left: auto;
}

.address-item__text {
    flex: 1;
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.85;
}

.address-item__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
}

.address-item__actions button,
.address-item__actions a {
    color: var(--muted);
}

.address-item__actions button:hover,
.address-item__actions a:hover {
    color: var(--accent);
}

.address-item__default {
    color: var(--accent);
}

.address-item--add {
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-style: dashed;
    color: var(--muted);
    font-size: 13px;
    transition: all .2s ease;
}

.address-item--add:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: var(--paper-2);
}

.address-item--add .icon {
    width: 20px;
    height: 20px;
}

.address-form-card {
    padding: 36px 40px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
}

.form-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
}

/* ==========================================================================
   登录 / 注册
   ========================================================================== */

.auth-page .site-header,
.auth-page .site-footer,
.auth-page .mobile-tabbar,
.cashier-page .mobile-tabbar,
.product-page .mobile-tabbar {
    display: none;
}

.auth-page {
    background: var(--cream);
}

.auth-page .site-main {
    min-height: 100vh;
}

.auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth__visual {
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.auth__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
}

.auth__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 28, 33, .06) 30%, rgba(20, 28, 33, .82) 100%);
}

.auth__visual-copy {
    position: absolute;
    left: 56px;
    right: 56px;
    bottom: 56px;
    z-index: 1;
    color: var(--cream);
}

.auth__visual-copy > span {
    display: block;
    margin-bottom: 14px;
    color: rgba(255, 253, 248, .55);
    font-size: 10px;
    letter-spacing: .24em;
}

.auth__visual-copy h2 {
    margin-bottom: 14px;
    font-size: 46px;
    line-height: 1.3;
    color: var(--cream);
}

.auth__visual-copy p {
    max-width: 400px;
    color: rgba(255, 253, 248, .6);
    font-size: 13px;
    line-height: 1.9;
}

.auth__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: var(--cream);
}

.auth__box {
    width: 100%;
    max-width: 410px;
}

.brand--auth {
    margin-bottom: 40px;
}

.auth__box .eyebrow {
    margin-bottom: 12px;
}

.auth__box h1 {
    margin-bottom: 8px;
    font-size: 36px;
}

.auth__lead {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

.auth-form .form-field {
    margin-bottom: 18px;
}

.auth-form .btn--block {
    margin-top: 6px;
}

.code-field {
    display: flex;
    gap: 8px;
}

.code-field input {
    flex: 1;
    min-width: 0;
}

.code-field__button {
    width: 118px;
    height: 48px;
    border: 1px solid var(--line-strong);
    color: var(--ink-2);
    font-size: 12px;
    flex: none;
    transition: all .2s ease;
}

.code-field__button:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.code-field__button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.auth__switch {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12.5px;
    text-align: center;
}

.auth__switch a {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid rgba(196, 81, 58, .35);
}

.auth__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10.5px;
}

.auth__points li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth__points .icon {
    width: 14px;
    height: 14px;
    color: var(--sage);
}

.checkbox--agreement {
    align-items: flex-start;
    margin: 4px 0 16px;
    line-height: 1.6;
}

.checkbox--agreement input {
    margin-top: 2px;
}

/* ==========================================================================
   内容页
   ========================================================================== */

.content-card {
    padding: 44px 48px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.content-card--spaced {
    margin-top: 22px;
}

.content-card--legal p {
    margin-bottom: 14px;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.95;
}

.content-card h2 {
    margin: 34px 0 12px;
    font-size: 25px;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card > p {
    margin-bottom: 14px;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.95;
}

.content-card ul {
    margin-bottom: 18px;
}

.content-card ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 18px;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.9;
}

.content-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .85em;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

.content-meta {
    margin-bottom: 22px !important;
    color: var(--muted) !important;
    font-size: 11.5px !important;
    letter-spacing: .04em;
}

.content-note {
    margin-top: 26px;
    padding: 12px 16px;
    border-left: 2px solid var(--accent);
    background: var(--paper);
    color: var(--muted) !important;
    font-size: 11.5px !important;
}

.info-table {
    border-top: 1px solid var(--line);
}

.info-table > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid var(--line);
}

.info-table dt,
.info-table dd {
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.7;
}

.info-table dt {
    background: var(--paper);
    color: var(--muted);
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 16px 0 24px;
    background: var(--line);
    border: 1px solid var(--line);
}

.value-grid > div {
    padding: 22px 20px;
    background: var(--cream);
}

.value-grid span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .1em;
}

.value-grid strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.value-grid p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.value-grid--four {
    grid-template-columns: repeat(4, 1fr);
}

.policy-block {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.policy-block:first-child {
    padding-top: 0;
}

.policy-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.policy-block__num {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .1em;
}

.policy-block h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.policy-block p {
    margin-bottom: 8px;
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.9;
}

.policy-block a {
    color: var(--accent);
    border-bottom: 1px solid rgba(196, 81, 58, .3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-card {
    padding: 32px 28px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--accent);
}

.contact-card h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.contact-card a {
    display: inline-block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 18px;
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-card p {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.8;
}

.page-hero--enterprise {
    position: relative;
    padding: 48px 0 70px;
    border-bottom: 0;
    background: var(--ink);
    color: var(--cream);
    overflow: hidden;
}

.page-hero--enterprise::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255, 253, 248, .12);
    border-radius: 50%;
}

.page-hero--enterprise h1,
.page-hero--enterprise .page-hero__copy h1 {
    color: var(--cream);
}

.page-hero--enterprise .page-hero__copy > p:not(.eyebrow) {
    color: rgba(255, 253, 248, .62);
}

.page-hero__stat--light {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: none;
    padding: 28px 30px;
    border: 1px solid rgba(255, 253, 248, .16);
}

.page-hero__stat--light strong {
    margin-top: 12px;
    color: var(--cream);
    font-size: 34px;
}

.page-hero__stat--light strong:first-child {
    margin-top: 0;
}

.page-hero__stat--light span {
    color: rgba(255, 253, 248, .48);
    font-size: 11px;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
}

.process-list li {
    padding: 24px 20px;
    border-right: 1px solid var(--line);
}

.process-list li:last-child {
    border-right: 0;
}

.process-list span {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .1em;
}

.process-list strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.process-list p {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.8;
}

.enterprise-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 48px;
    background: var(--ink);
    color: var(--cream);
}

.enterprise-contact h2 {
    margin-bottom: 14px;
    font-size: 38px;
    line-height: 1.3;
    color: var(--cream);
}

.enterprise-contact > div > p:not(.eyebrow) {
    max-width: 440px;
    color: rgba(255, 253, 248, .58);
    font-size: 13px;
    line-height: 1.9;
}

.enterprise-contact__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.enterprise-contact__info p {
    display: grid;
    grid-template-columns: 24px 90px 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 253, 248, .14);
    font-size: 12px;
}

.enterprise-contact__info .icon {
    width: 17px;
    height: 17px;
    color: rgba(255, 253, 248, .45);
}

.enterprise-contact__info span {
    color: rgba(255, 253, 248, .42);
    font-size: 10.5px;
}

.enterprise-contact__info a,
.enterprise-contact__info em {
    color: var(--cream);
    font-style: normal;
}

.enterprise-contact__info a:hover {
    color: var(--gold);
}

.error-page {
    display: flex;
    align-items: center;
    min-height: 62vh;
    padding: 80px 0;
}

.error-page__inner {
    max-width: 620px;
}

.error-page__code {
    margin-bottom: 8px;
    color: var(--line-strong);
    font-family: var(--font-display);
    font-size: clamp(96px, 16vw, 160px);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.04em;
}

.error-page h1 {
    margin-bottom: 12px;
    font-size: 36px;
}

.error-page__inner > p:not(.error-page__code):not(.eyebrow) {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
}

/* ==========================================================================
   页脚 / 移动底栏
   ========================================================================== */

.site-footer {
    background: var(--ink);
    color: rgba(255, 253, 248, .66);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.45fr .8fr .8fr 1.15fr;
    gap: 56px;
    padding: 64px 24px 52px;
}

.brand--footer {
    margin-bottom: 18px;
}

.brand--footer .brand__text strong {
    color: var(--cream);
}

.brand--footer .brand__text small {
    color: rgba(255, 253, 248, .4);
}

.footer-slogan {
    margin-bottom: 6px;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 20px;
}

.footer-desc {
    max-width: 320px;
    color: rgba(255, 253, 248, .45);
    font-size: 11.5px;
    line-height: 1.9;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--cream);
}

.footer-phone .icon {
    width: 17px;
    height: 17px;
    color: var(--gold);
}

.footer-phone span {
    font-family: var(--font-display);
    font-size: 21px;
    letter-spacing: .02em;
}

.footer-hours {
    display: block;
    margin-top: 5px;
    color: rgba(255, 253, 248, .35);
    font-size: 10.5px;
}

.footer-col h4 {
    margin-bottom: 18px;
    color: rgba(255, 253, 248, .88);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 253, 248, .48);
    font-size: 12px;
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-col--contact p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 12px;
    color: rgba(255, 253, 248, .46);
    font-size: 11.5px;
    line-height: 1.8;
}

.footer-col--contact .icon {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    color: rgba(255, 253, 248, .28);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 253, 248, .12);
}

.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding: 20px 24px;
    color: rgba(255, 253, 248, .35);
    font-size: 10.5px;
}

.footer-record {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.footer-record a:hover {
    color: var(--cream);
}

.footer-disclaimer {
    color: rgba(255, 253, 248, .25);
}

.mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: none;
    align-items: flex-end;
    justify-content: space-around;
    height: calc(60px + env(safe-area-inset-bottom));
    padding: 7px 8px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255, 253, 248, .97);
    backdrop-filter: blur(12px);
}

.mobile-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 56px;
    color: var(--muted);
    font-size: 9.5px;
}

.mobile-tabbar a.is-active {
    color: var(--ink);
    font-weight: 600;
}

.mobile-tabbar .icon {
    width: 21px;
    height: 21px;
}

.tabbar__cart {
    position: relative;
    display: inline-flex;
}

.tabbar__cart .cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
}

/* 动效 */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__copy > * {
    animation: fadeUp .7s ease both;
}

.hero__copy > *:nth-child(2) {
    animation-delay: .06s;
}

.hero__copy > *:nth-child(3) {
    animation-delay: .12s;
}

.hero__copy > *:nth-child(4) {
    animation-delay: .18s;
}

.hero__copy > *:nth-child(5) {
    animation-delay: .24s;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
    .main-nav {
        display: none;
    }

    .header-search {
        margin-left: auto;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 22px;
    }

    .hero__grid {
        gap: 36px;
    }

    .hero__title {
        font-size: 56px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        min-height: 240px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .scene-grid {
        height: 500px;
    }

    .enterprise-banner__inner {
        gap: 44px;
    }

    .enterprise-banner h2 {
        font-size: 38px;
    }

    .brand-note__inner {
        gap: 48px;
    }

    .product-detail__grid {
        gap: 40px;
    }

    .cart-layout,
    .checkout-layout,
    .order-detail-layout {
        grid-template-columns: 1fr 310px;
        gap: 28px;
    }

    .user-layout {
        grid-template-columns: 246px 1fr;
        gap: 24px;
    }

    .process-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-list li:nth-child(3) {
        border-right: 0;
    }

    .process-list li:nth-child(4),
    .process-list li:nth-child(5) {
        border-top: 1px solid var(--line);
    }

    .value-grid--four {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        grid-template-columns: 1.35fr .8fr .8fr;
        gap: 36px;
    }

    .footer-col--contact {
        grid-column: span 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 36px;
    }

    .footer-col--contact h4 {
        grid-column: span 2;
    }
}

@media (max-width: 860px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 44px 0 56px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero__copy {
        max-width: 620px;
    }

    .hero__title {
        font-size: clamp(44px, 9vw, 62px);
    }

    .hero__visual {
        padding-right: 0;
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .hero__arch {
        border-radius: 120px 120px 4px 4px;
    }

    .hero__note {
        left: 16px;
        bottom: 18px;
    }

    .hero__seal {
        right: 12px;
    }

    .service-strip__inner {
        grid-template-columns: 1fr 1fr;
    }

    .service-item:nth-child(2) {
        border-right: 1px solid rgba(201, 188, 166, .6);
    }

    .service-item:nth-child(3),
    .service-item:nth-child(4) {
        border-top: 1px solid rgba(201, 188, 166, .6);
    }

    .service-item:nth-child(3) {
        border-left: 1px solid rgba(201, 188, 166, .6);
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 30px;
    }

    .section-note {
        text-align: left;
    }

    .section-head h2 {
        font-size: 29px;
    }

    .scene-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
    }

    .scene-card {
        min-height: 320px;
    }

    .scene-card--wide {
        grid-row: auto;
    }

    .enterprise-banner {
        padding: 60px 0;
    }

    .enterprise-banner__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .enterprise-banner h2 {
        font-size: 36px;
    }

    .brand-note__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-note h2 {
        font-size: 32px;
    }

    .page-hero__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .catalog-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .catalog-sort {
        flex-wrap: wrap;
    }

    .product-detail__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-gallery {
        max-width: 620px;
    }

    .product-tabs {
        margin-top: 52px;
    }

    .cart-layout,
    .checkout-layout,
    .order-detail-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary,
    .checkout-summary,
    .order-detail-aside {
        position: static;
    }

    .cart-list__head {
        display: none;
    }

    .cart-item {
        grid-template-columns: 24px 1fr;
        gap: 10px 12px;
        padding: 20px 0;
    }

    .cart-item__product {
        grid-column: 2;
    }

    .cart-item__price {
        display: none;
    }

    .cart-item__subtotal {
        display: block;
        grid-column: 2;
        color: var(--ink-2);
        font-size: 15px;
    }

    .cart-item__subtotal::before {
        content: "小计 ";
        color: var(--muted);
        font-family: var(--font-body);
        font-size: 10.5px;
        font-weight: 400;
    }

    .cart-item .qty-stepper {
        grid-column: 2;
        justify-self: start;
    }

    .cart-item__remove {
        position: absolute;
        right: 0;
        top: 16px;
        margin-top: 0;
    }

    .cart-item {
        position: relative;
    }

    .cart-item__info h3 {
        padding-right: 26px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .address-select {
        grid-template-columns: 1fr;
    }

    .cashier-card {
        padding: 32px 26px 28px;
    }

    .pay-methods {
        grid-template-columns: 1fr;
    }

    .order-status-banner {
        grid-template-columns: 54px 1fr;
        padding: 22px;
    }

    .order-status-banner__actions {
        grid-column: span 2;
    }

    .order-card__body {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .order-card__total {
        align-items: flex-start;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .order-card__foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .user-layout {
        grid-template-columns: 1fr;
    }

    .user-profile {
        position: static;
        display: grid;
        grid-template-columns: 74px 1fr;
        gap: 0 18px;
        align-items: center;
        padding: 24px;
        text-align: left;
    }

    .user-profile__avatar {
        grid-row: span 3;
        margin-bottom: 0;
    }

    .user-profile h1,
    .user-profile__phone,
    .user-profile__since {
        grid-column: 2;
    }

    .user-profile__links,
    .user-logout {
        grid-column: span 2;
    }

    .user-service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .address-grid {
        grid-template-columns: 1fr;
    }

    .auth {
        grid-template-columns: 1fr;
    }

    .auth__visual {
        display: none;
    }

    .auth__panel {
        min-height: 100vh;
        padding: 40px 24px;
    }

    .auth__box {
        max-width: 440px;
    }

    .content-card {
        padding: 32px 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero__stat--light {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 6px 12px;
        padding: 20px 22px;
    }

    .page-hero__stat--light strong {
        margin-top: 0;
        font-size: 26px;
    }

    .page-hero__stat--light span {
        margin-right: 16px;
    }

    .enterprise-contact {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 34px 30px;
    }

    .enterprise-contact h2 {
        font-size: 32px;
    }

    .process-list {
        grid-template-columns: 1fr 1fr;
    }

    .process-list li:nth-child(2n) {
        border-right: 0;
    }

    .process-list li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .value-grid--four {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 48px 22px 38px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-col--contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .auth-page,
    .product-page,
    .cashier-page {
        padding-bottom: 0;
    }

    .mobile-tabbar {
        display: flex;
    }

    .topbar {
        display: none;
    }

    .header-main__inner {
        height: 64px;
        gap: 12px;
    }

    .brand__mark {
        width: 36px;
        height: 36px;
    }

    .brand__text strong {
        font-size: 18px;
    }

    .brand__text small {
        font-size: 7px;
    }

    .header-search {
        display: none;
    }

    .header-action--user span {
        display: none;
    }

    .header-action {
        padding: 0 8px;
    }

    .header-action--cart span {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-actions {
        gap: 0;
    }

    .hero {
        padding: 34px 0 46px;
    }

    .hero__title {
        margin-bottom: 18px;
    }

    .hero__lead {
        margin-bottom: 26px;
        font-size: 14px;
    }

    .hero__actions {
        gap: 18px;
        margin-bottom: 32px;
    }

    .hero__stats {
        gap: 26px;
        padding-top: 20px;
    }

    .hero__stats dt {
        font-size: 23px;
    }

    .hero__note {
        padding: 14px 16px;
        min-width: 160px;
    }

    .hero__note strong {
        font-size: 16px;
    }

    .hero__seal {
        width: 72px;
        height: 72px;
        top: 10px;
        right: 8px;
    }

    .hero__seal span {
        font-size: 15px;
    }

    .service-item {
        padding: 18px 16px;
        gap: 10px;
    }

    .service-item .icon {
        width: 21px;
        height: 21px;
    }

    .service-item strong {
        font-size: 12px;
    }

    .service-item span {
        font-size: 10px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head__title {
        gap: 12px;
    }

    .section-index {
        min-width: 38px;
        height: 38px;
        font-size: 11px;
    }

    .section-head h2 {
        font-size: 25px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card {
        min-height: 210px;
        padding: 20px 18px;
    }

    .category-card__icon {
        width: 46px;
        height: 46px;
        margin-top: 20px;
    }

    .category-card h3 {
        margin-top: 18px;
        font-size: 18px;
    }

    .category-card p {
        font-size: 11px;
    }

    .category-card__arrow {
        right: 16px;
        bottom: 16px;
        width: 30px;
        height: 30px;
    }

    .product-grid {
        gap: 22px 12px;
    }

    .product-card__quick {
        opacity: 1;
        transform: none;
        width: 32px;
        height: 32px;
        padding: 0;
        justify-content: center;
    }

    .product-card__quick span {
        display: none;
    }

    .product-card__name {
        font-size: 15px;
    }

    .product-card__subtitle {
        font-size: 10.5px;
    }

    .price {
        font-size: 19px;
    }

    .scene-card {
        min-height: 280px;
    }

    .scene-card__body {
        padding: 22px;
    }

    .scene-card__body h3 {
        font-size: 23px;
    }

    .enterprise-banner {
        padding: 50px 0;
    }

    .enterprise-banner h2 {
        font-size: 31px;
    }

    .brand-note h2 {
        font-size: 28px;
    }

    .page-hero {
        padding: 32px 0 38px;
    }

    .page-hero h1,
    .page-hero__copy h1 {
        font-size: 38px;
    }

    .page-hero__stat strong {
        font-size: 34px;
    }

    .catalog {
        padding: 24px 0 64px;
    }

    .catalog-sort {
        gap: 10px;
    }

    .product-detail {
        padding: 22px 0 70px;
    }

    .product-info h1 {
        font-size: 28px;
    }

    .product-price {
        padding: 16px 18px;
    }

    .price--large {
        font-size: 32px;
    }

    .product-buy {
        flex-wrap: wrap;
    }

    .product-buy .qty-stepper {
        width: 100%;
        justify-content: space-between;
    }

    .product-buy .btn {
        flex: 1;
        padding: 0 14px;
    }

    .product-tabs__nav button {
        padding: 14px 12px;
        font-size: 13px;
    }

    .product-tabs__nav button::after {
        left: 12px;
        right: 12px;
    }

    .spec-table > div {
        grid-template-columns: 108px 1fr;
    }

    .product-buybar {
        display: flex;
    }

    .product-page .site-main {
        padding-bottom: 70px;
    }

    .page-section {
        padding: 30px 0 64px;
    }

    .page-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .page-title-row h1 {
        font-size: 34px;
    }

    .cart-item__image {
        width: 78px;
        height: 78px;
    }

    .cart-item__info h3 {
        font-size: 15px;
    }

    .cart-summary,
    .checkout-summary {
        padding: 22px 20px;
    }

    .steps {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .checkout-card {
        padding: 20px 18px;
    }

    .checkout-item {
        gap: 10px;
    }

    .checkout-item__image {
        width: 58px;
        height: 58px;
    }

    .checkout-item__info h3 {
        font-size: 13.5px;
    }

    .checkout-item__price {
        display: none;
    }

    .checkout-item__subtotal {
        min-width: 60px;
        font-size: 14px;
    }

    .cart-summary__continue,
    .cashier-back {
        font-size: 11px;
    }

    .cashier {
        padding: 28px 0 60px;
    }

    .cashier-card {
        padding: 26px 20px 24px;
    }

    .cashier-head h1 {
        font-size: 30px;
    }

    .cashier-amount strong {
        font-size: 46px;
    }

    .cashier-amount strong small {
        font-size: 20px;
    }

    .order-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .order-tabs a {
        flex: none;
        padding: 12px 13px;
        font-size: 12px;
    }

    .order-tabs a::after {
        left: 13px;
        right: 13px;
    }

    .order-card__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }

    .order-card__body {
        padding: 16px;
    }

    .order-card__foot {
        padding: 12px 16px;
    }

    .order-card__names p {
        max-width: 190px;
    }

    .order-card__thumb {
        width: 56px;
        height: 56px;
    }

    .order-status-banner {
        padding: 18px;
        gap: 14px;
    }

    .order-status-banner__icon {
        width: 48px;
        height: 48px;
    }

    .order-status-banner__copy h1 {
        font-size: 24px;
    }

    .order-status-banner__actions {
        flex-wrap: wrap;
    }

    .order-status-banner__actions .btn {
        height: 40px;
        padding: 0 16px;
        font-size: 12.5px;
    }

    .user-panel {
        padding: 20px 18px;
    }

    .user-panel__head h2 {
        font-size: 19px;
    }

    .order-shortcuts {
        grid-template-columns: repeat(5, 1fr);
        overflow-x: auto;
    }

    .order-shortcuts a {
        min-width: 62px;
        padding: 14px 4px;
    }

    .order-shortcuts__icon {
        width: 32px;
        height: 32px;
    }

    .order-shortcuts strong {
        font-size: 18px;
    }

    .user-service-grid {
        gap: 8px;
    }

    .user-service-grid a {
        padding: 14px 12px;
    }

    .recent-order {
        gap: 10px;
    }

    .recent-order__images img {
        width: 40px;
        height: 40px;
    }

    .recent-order__info span {
        font-size: 9.5px;
    }

    .address-item {
        min-height: 150px;
        padding: 18px 20px;
    }

    .address-form-card {
        padding: 24px 20px;
    }

    .form-row,
    .form-row--region {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }

    .auth__panel {
        align-items: flex-start;
        padding: 28px 20px 44px;
    }

    .brand--auth {
        margin-bottom: 28px;
    }

    .auth__box h1 {
        font-size: 30px;
    }

    .auth__points {
        margin-top: 26px;
    }

    .content-card {
        padding: 28px 22px;
    }

    .info-table > div {
        grid-template-columns: 120px 1fr;
    }

    .info-table dt,
    .info-table dd {
        padding: 10px 12px;
        font-size: 12px;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .policy-block {
        grid-template-columns: 34px 1fr;
        gap: 10px;
    }

    .policy-block h2 {
        font-size: 20px;
    }

    .contact-card {
        padding: 24px 20px;
    }

    .page-hero--enterprise {
        padding: 32px 0 48px;
    }

    .enterprise-contact {
        padding: 28px 22px;
    }

    .enterprise-contact h2 {
        font-size: 27px;
    }

    .enterprise-contact__info p {
        grid-template-columns: 22px 78px 1fr;
        gap: 8px;
        font-size: 11px;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .process-list li {
        border-right: 0 !important;
        border-top: 1px solid var(--line);
    }

    .process-list li:first-child {
        border-top: 0;
    }

    .error-page {
        min-height: 54vh;
        padding: 56px 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 40px 24px 32px;
    }

    .footer-col--contact {
        display: flex;
        flex-direction: column;
    }

    .footer-bottom__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }

    .toast {
        top: 76px;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__visual {
        margin: 0;
    }

    .hero__arch {
        border-radius: 90px 90px 4px 4px;
    }

    .hero__stats {
        justify-content: space-between;
        gap: 10px;
    }

    .hero__stats dd {
        font-size: 10px;
    }

    .service-strip__inner {
        grid-template-columns: 1fr;
    }

    .service-item {
        border-left: 1px solid rgba(201, 188, 166, .6) !important;
        border-top: 1px solid rgba(201, 188, 166, .6);
    }

    .service-item:first-child {
        border-top: 0;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 170px;
    }

    .category-card__icon {
        position: absolute;
        top: 20px;
        right: 18px;
        margin: 0;
    }

    .category-card h3 {
        margin-top: auto;
        padding-top: 26px;
    }

    .category-card__en {
        margin-top: 8px;
    }

    .product-grid {
        gap: 20px 10px;
    }

    .product-card__meta {
        font-size: 9px;
    }

    .product-card__name {
        font-size: 14px;
    }

    .product-card__subtitle {
        display: none;
    }

    .product-card__foot {
        flex-wrap: wrap;
        gap: 4px;
    }

    .scene-card {
        min-height: 240px;
    }

    .section-head h2 {
        font-size: 23px;
    }

    .enterprise-banner h2 {
        font-size: 28px;
    }

    .brand-note h2 {
        font-size: 25px;
    }

    .page-hero h1,
    .page-hero__copy h1 {
        font-size: 33px;
    }

    .product-info h1 {
        font-size: 24px;
    }

    .product-buy .btn {
        height: 46px;
        font-size: 13px;
    }

    .product-tabs__nav {
        overflow-x: auto;
    }

    .product-tabs__nav button {
        flex: none;
    }

    .cart-item__product {
        gap: 10px;
    }

    .cart-item__image {
        width: 68px;
        height: 68px;
    }

    .cart-item__info p {
        display: none;
    }

    .checkout-empty-address {
        align-items: flex-start;
        flex-direction: column;
    }

    .address-card {
        padding: 14px 14px 22px;
    }

    .cashier-card {
        padding: 22px 16px;
    }

    .cashier-amount strong {
        font-size: 40px;
    }

    .cashier-section h2 {
        font-size: 18px;
    }

    .order-card__actions {
        flex-wrap: wrap;
    }

    .order-shortcuts a {
        min-width: 56px;
        padding: 12px 3px;
    }

    .order-shortcuts small {
        font-size: 9.5px;
    }

    .user-profile {
        grid-template-columns: 58px 1fr;
    }

    .user-profile__avatar {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .user-profile h1 {
        font-size: 20px;
    }

    .user-service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .auth__box h1 {
        font-size: 27px;
    }

    .code-field__button {
        width: 104px;
        font-size: 11px;
    }

    .content-card {
        padding: 24px 18px;
    }

    .content-card h2 {
        font-size: 22px;
    }

    .info-table > div {
        grid-template-columns: 100px 1fr;
    }

    .enterprise-contact h2 {
        font-size: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 36px 24px 32px;
    }

    .footer-brand,
    .footer-col--contact {
        grid-column: span 1;
    }

    .footer-col {
        padding-top: 8px;
        border-top: 1px solid rgba(255, 253, 248, .12);
    }

    .footer-col--contact {
        display: flex;
    }

    .footer-bottom__inner {
        padding: 16px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
