:root {
    --ink: #111111;
    --text: #2E2A27;
    --muted: #7A746D;
    --paper: #FFFDF8;
    --linen: #F7F2EA;
    --sand: #D8C3A5;
    --caramel: #B47A4A;
    --wine: #7A1F2B;
    --olive: #6E7448;
    --border: rgba(17, 17, 17, .12);
    --shadow: 0 10px 28px rgba(17, 17, 17, .07);
    --shadow-hover: 0 18px 42px rgba(17, 17, 17, .12);
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "Microsoft YaHei", serif;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea { outline-color: var(--caramel); }
.hidden { display: none !important; }
.q-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 253, 248, .96);
    backdrop-filter: blur(14px);
}
.top-strip {
    background: var(--ink);
    color: rgba(255, 253, 248, .82);
    font-size: 13px;
}
.top-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.top-strip-right { display: inline-flex; gap: 18px; white-space: nowrap; }
.top-strip-contact { color: #fff; }
.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}
.brand img { height: 46px; max-width: 160px; object-fit: contain; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-right: auto;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}
.main-nav a { position: relative; transition: color .2s ease; }
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: var(--caramel);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.main-nav a:hover { color: var(--caramel); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-consult {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}
.nav-consult:hover { background: var(--caramel); border-color: var(--caramel); color: #fff; }
.icon-link, .mobile-menu {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.icon-link:hover, .mobile-menu:hover { border-color: var(--caramel); color: var(--caramel); }
.header-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mobile-menu { display: none; font-size: 20px; }

.hero { position: relative; overflow: hidden; background: var(--linen); }
.hero-slides { position: relative; height: 620px; overflow: hidden; }
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,17,17,.72), rgba(17,17,17,.38) 48%, rgba(17,17,17,.08));
}
.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 760px;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
}
.hero-label, .section-kicker, .service-kicker, .footer-kicker {
    color: var(--caramel);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}
.hero-copy strong {
    margin-top: 16px;
    color: #fff;
    font-size: 56px;
    line-height: 1.15;
    font-weight: 700;
}
.hero-copy > span:not(.hero-label):not(.hero-actions) {
    max-width: 660px;
    margin-top: 18px;
    color: rgba(255,255,255,.86);
    font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-metrics {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: translateX(-50%);
    background: rgba(255,253,248,.95);
    box-shadow: var(--shadow);
}
.hero-metrics span {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-right: 1px solid var(--border);
    color: var(--muted);
}
.hero-metrics span:last-child { border-right: 0; }
.hero-metrics strong { color: var(--ink); font-size: 22px; }
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(17,17,17,.24);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-arrow:hover { background: var(--caramel); }
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 96px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,.54);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.hero-dot.is-active { width: 28px; background: #fff; }

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid transparent;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--caramel); border-color: var(--caramel); color: #fff; }
.btn-dark { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-dark:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline { border-color: var(--border); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--caramel); color: var(--caramel); }
.btn-glass { border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.12); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-danger { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-small { min-height: 34px; padding: 0 14px; font-size: 13px; }

.section { padding: 86px 0; }
.section-alt { background: var(--linen); }
.section-title-block { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.section-title-block p, .section-head p { margin: 10px 0 0; color: var(--muted); }
.home-title, .section-head h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
}
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}
.view-more { color: var(--ink); font-weight: 700; white-space: nowrap; }
.view-more:hover { color: var(--caramel); }

.style-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.style-scene {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.style-scene:hover { transform: translateY(-2px); border-color: rgba(180,122,74,.45); box-shadow: var(--shadow-hover); }
.style-scene span { color: var(--caramel); font-weight: 700; }
.style-scene strong { color: var(--ink); font-size: 24px; line-height: 1.25; }
.style-scene em { color: var(--muted); font-style: normal; }

.search-band { padding: 38px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.search-box { display: flex; max-width: 820px; align-items: stretch; }
.search-label {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    background: var(--linen);
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}
.search-box input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-left: 0;
    border-right: 0;
    background: #fff;
}
.search-box button { min-width: 116px; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.service-card, .panel, .profile-card, .profile-panel, .checkout-card, .checkout-summary, .shop-cart-panel, .address-card, .order-card {
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.service-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    color: inherit;
    transition: transform .24s ease, box-shadow .24s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.service-cover { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--linen); }
.service-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-cover img { transform: scale(1.045); }
.service-cover-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 4px 10px;
    background: rgba(255,253,248,.92);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}
.service-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.service-title {
    display: -webkit-box;
    min-height: 48px;
    margin-top: 8px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
}
.service-body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 10px 0 16px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.service-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; color: var(--muted); }
.price, .shop-search-price { color: var(--wine); font-size: 22px; line-height: 1; font-weight: 800; }
.service-hot { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 13px; }

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.lookbook-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    background: #fff;
}
.lookbook-cover { aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen); }
.lookbook-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lookbook-card:hover img { transform: scale(1.045); }
.lookbook-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 2px; }
.lookbook-body small { color: var(--caramel); font-weight: 700; }
.lookbook-body strong { color: var(--ink); font-size: 18px; line-height: 1.45; }
.lookbook-body em { color: var(--muted); font-style: normal; }

.brand-story-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 56px;
    align-items: center;
}
.brand-story h2 { margin: 10px 0 16px; color: var(--ink); font-size: 38px; line-height: 1.28; }
.brand-story p { margin: 0; color: var(--muted); font-size: 17px; }
.brand-story-points { display: grid; gap: 14px; }
.brand-story-points span { padding: 18px; border: 1px solid var(--border); background: #fff; }
.brand-story-points strong { display: block; color: var(--ink); }

.shop-list-page, .shop-detail-page, .shop-cart-page, .checkout-page, .shop-search-page, .site-search-page, .help-page, .profile-page, .auth-shell, .address-page, .orders-page, .order-detail-page, .payment-page, .settings-page {
    min-height: 60vh;
    padding: 32px 0 80px;
    background: var(--linen);
}
.shop-breadcrumb, .help-breadcrumb, .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}
.shop-breadcrumb a, .help-breadcrumb a { display: inline-flex; align-items: center; gap: 4px; }
.shop-breadcrumb a:hover, .help-breadcrumb a:hover { color: var(--caramel); }
.shop-breadcrumb strong, .help-breadcrumb strong { color: var(--ink); }
.shop-list-head, .shop-search-head, .site-search-head, .shop-cart-head, .order-list-head {
    margin-bottom: 28px;
    padding: 34px;
    border: 1px solid var(--border);
    background: #fff;
}
.shop-list-head h1, .shop-search-head h1, .site-search-head h1, .shop-cart-head h1, .checkout-title, .order-list-head h1 {
    margin: 6px 0 10px;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.25;
}
.shop-list-head p, .shop-search-head p, .site-search-head p, .shop-cart-head p, .order-list-head p { margin: 0 0 16px; color: var(--muted); }
.shop-category-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-category-tabs a, .order-status-tabs a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-weight: 700;
}
.shop-category-tabs a:hover, .shop-category-tabs a.active, .order-status-tabs a:hover, .order-status-tabs a.active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}
.shop-list-count, .shop-search-summary { margin-bottom: 16px; color: var(--muted); }

.shop-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 36px;
    padding: 28px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.shop-detail-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen); }
.shop-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.shop-detail-info h1 { margin: 10px 0 14px; color: var(--ink); font-size: 36px; line-height: 1.25; }
.shop-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }
.shop-detail-info p { color: var(--muted); }
.shop-price-row { margin: 22px 0; padding: 18px; background: var(--linen); }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }
.form-row label { color: var(--ink); font-weight: 700; }
.form-row input, .form-row textarea, .form-row select, .auth-card input, .settings-form input, .settings-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border);
    background: #fff;
}
textarea, .form-row textarea { min-height: 110px; padding-top: 10px; resize: vertical; }
.sku-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sku-item {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
}
.sku-item.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.sku-item.disabled { opacity: .45; cursor: not-allowed; }
.qty-stepper { display: inline-flex; height: 40px; border: 1px solid var(--border); background: #fff; }
.qty-stepper button { width: 40px; border: 0; background: transparent; cursor: pointer; }
.qty-stepper input { width: 64px; min-height: 0; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.shop-detail-tabs { margin-top: 28px; border: 1px solid var(--border); background: #fff; }
.shop-detail-tab-head { display: flex; border-bottom: 1px solid var(--border); }
.shop-detail-tab-head span { padding: 16px 24px; font-weight: 700; }
.shop-detail-tab-head .active { background: var(--ink); color: #fff; }
.shop-detail-content { padding: 30px; }
.content-body { color: var(--text); line-height: 1.9; }
.content-body img { height: auto; margin: 18px 0; }

.shop-search-form { margin: 18px 0 0; }
.shop-search-results { display: grid; gap: 16px; }
.shop-search-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.shop-search-cover { aspect-ratio: 3 / 4; overflow: hidden; background: var(--linen); }
.shop-search-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-search-body { display: flex; min-width: 0; flex-direction: column; gap: 10px; }
.shop-search-body strong { color: var(--ink); font-size: 22px; }
.shop-search-desc { color: var(--muted); }
.shop-search-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; }
.shop-search-empty, .checkout-empty {
    padding: 34px;
    border: 1px dashed var(--border);
    background: #fff;
    text-align: center;
}

.site-search-form { margin-top: 18px; }
.site-search-summary { margin-bottom: 16px; color: var(--muted); }
.site-search-results { display: grid; gap: 16px; }
.site-search-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-search-card:hover {
    transform: translateY(-2px);
    border-color: rgba(180,122,74,.42);
    box-shadow: var(--shadow-hover);
}
.site-search-mark {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    background: var(--linen);
    color: var(--caramel);
    font-size: 24px;
}
.site-search-body { display: grid; gap: 8px; min-width: 0; }
.site-search-body strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.4;
}
.site-search-body em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--muted);
    font-style: normal;
}
.site-search-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; }
.site-search-empty {
    padding: 42px 24px;
    border: 1px dashed var(--border);
    background: #fff;
    text-align: center;
}
.site-search-empty p { margin: 12px 0 6px; color: var(--ink); font-size: 20px; font-weight: 700; }
.site-search-empty span { display: block; margin-bottom: 18px; color: var(--muted); }

.auth-shell { display: grid; place-items: center; }
.auth-card {
    width: min(460px, calc(100% - 32px));
    padding: 34px;
}
.auth-card h1 { margin: 0 0 8px; color: var(--ink); font-size: 30px; }
.cart-sub { margin: 0; color: var(--muted); font-size: 14px; }
.check-row { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 14px; }

.profile-layout, .checkout-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.profile-card, .profile-panel, .checkout-card, .checkout-summary { padding: 24px; }
.profile-avatar {
    display: inline-flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--linen);
    color: var(--caramel);
    font-size: 32px;
    overflow: hidden;
}
.profile-card { text-align: center; }
.profile-card h1, .profile-panel-head h2, .checkout-card-head h2, .checkout-summary h2 { margin: 0; color: var(--ink); }
.profile-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.profile-quick-card {
    display: grid;
    min-height: 126px;
    place-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    background: #fff;
    text-align: center;
}
.profile-quick-icon { color: var(--caramel); font-size: 24px; }
.profile-main { display: grid; gap: 24px; }
.profile-panel-head, .checkout-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.profile-empty-orders { padding: 24px; border: 1px dashed var(--border); text-align: center; }

.shop-cart-panel { overflow-x: auto; }
.cart-table-head, .cart-row {
    display: grid;
    grid-template-columns: 80px minmax(260px, 1fr) 110px 150px 120px 90px;
    gap: 12px;
    align-items: center;
    min-width: 820px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}
.cart-table-head { background: var(--ink); color: #fff; font-weight: 700; }
.cart-product { display: flex; align-items: center; gap: 12px; }
.cart-product img { width: 72px; height: 96px; object-fit: cover; background: var(--linen); }
.cart-title { color: var(--ink); font-weight: 700; }
.summary-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--border);
    background: #fff;
}
.summary-bar strong { color: var(--wine); font-size: 24px; }

.checkout-layout { grid-template-columns: minmax(0, 1fr) 330px; }
.checkout-main { display: grid; gap: 20px; }
.checkout-address-list { display: grid; gap: 12px; }
.checkout-address-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    cursor: pointer;
}
.checkout-address-card.active { border-color: var(--ink); background: var(--linen); }
.checkout-address-person { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.checkout-address-person strong { color: var(--ink); }
.checkout-address-person em { padding: 2px 8px; background: var(--caramel); color: #fff; font-style: normal; font-size: 12px; }
.checkout-product-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 110px 110px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.checkout-product-row img { width: 76px; height: 100px; object-fit: cover; background: var(--linen); }
.checkout-product-info h3 { margin: 0; color: var(--ink); font-size: 16px; }
.checkout-product-info p { margin: 4px 0 0; color: var(--muted); }
.checkout-product-price { display: grid; gap: 4px; color: var(--muted); }
.checkout-summary { position: sticky; top: 124px; }
.checkout-summary-lines { display: grid; gap: 12px; margin: 18px 0; }
.checkout-summary-line { display: flex; justify-content: space-between; color: var(--muted); }
.checkout-summary-line.total { padding-top: 14px; border-top: 1px solid var(--border); color: var(--ink); }
.checkout-summary-line.total strong { color: var(--wine); font-size: 22px; }
.checkout-selected-address { padding: 12px; margin-bottom: 16px; background: var(--linen); }
.checkout-agreement { color: var(--muted); font-size: 13px; }

.address-layout, .orders-layout, .help-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.address-form, .help-nav-panel { padding: 22px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.address-list, .order-list, .help-article-list { display: grid; gap: 16px; }
.address-card, .order-card, .help-content { padding: 22px; }
.address-person, .order-head, .order-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.tag {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}
.tag-primary { border-color: var(--caramel); color: var(--caramel); }
.tag-warning { border-color: var(--wine); color: var(--wine); }
.tag-success { border-color: var(--olive); color: var(--olive); }
.order-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.order-item img { width: 64px; height: 84px; object-fit: cover; background: var(--linen); }
.order-total strong { color: var(--wine); }

.address-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.address-page-head h1 { margin: 0; color: var(--ink); font-size: 32px; }
.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.address-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.address-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
}
.address-modal-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.48); }
.address-modal-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 28px;
    background: #fff;
    box-shadow: var(--shadow-hover);
}
.address-modal-dialog h2 { margin: 0 0 18px; color: var(--ink); }
.address-region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.address-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.form-required { color: var(--wine); }

.order-detail-shell { display: grid; gap: 22px; }
.order-detail-loading, .order-empty {
    padding: 34px;
    border: 1px dashed var(--border);
    background: #fff;
    text-align: center;
}
.order-detail-hero {
    padding: 28px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.order-detail-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-detail-title h1 { margin: 0; color: var(--ink); font-size: 34px; }
.order-detail-no { margin-top: 8px; color: var(--muted); }
.order-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}
.order-detail-main, .order-detail-side { display: grid; gap: 18px; }
.order-detail-card {
    padding: 24px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.order-detail-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 20px;
}
.order-detail-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: var(--caramel);
}
.order-detail-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.order-timeline { display: grid; gap: 16px; }
.order-timeline-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; color: var(--muted); }
.order-timeline-marker span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 6px auto 0;
    border: 2px solid var(--border);
    background: #fff;
}
.order-timeline-item.is-done .order-timeline-marker span { border-color: var(--caramel); background: var(--caramel); }
.order-timeline-copy strong { color: var(--ink); }
.order-timeline-copy p { margin: 3px 0 0; }
.order-detail-product {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 110px 110px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.order-detail-product:last-child { border-bottom: 0; }
.order-detail-product img { width: 78px; height: 104px; object-fit: cover; background: var(--linen); }
.order-detail-product-info h3 { margin: 0; color: var(--ink); font-size: 16px; }
.order-detail-product-info p { margin: 4px 0 0; color: var(--muted); }
.order-detail-product-price { display: grid; color: var(--muted); }
.order-address p, .order-delivery-box p { margin: 6px 0 0; color: var(--muted); }
.order-info-list, .order-cost-list { display: grid; gap: 12px; }
.order-info-row, .order-cost-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-info-row { justify-content: flex-start; }
.order-info-row span, .order-cost-list span { color: var(--muted); }
.order-info-row strong, .order-cost-list strong { color: var(--ink); }
.order-cost-total { padding-top: 12px; border-top: 1px solid var(--border); }
.order-cost-total strong { color: var(--wine); font-size: 22px; }
.order-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.payment-method-list { display: grid; gap: 12px; }
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    cursor: pointer;
}
.payment-method-card.active { border-color: var(--ink); background: var(--linen); }
.payment-method-card input { display: none; }
.payment-method-icon { color: var(--caramel); font-size: 24px; }
.payment-method-copy { display: grid; }
.payment-method-copy small { color: var(--muted); }
.payment-method-check { margin-left: auto; color: var(--olive); }
.payment-info-list { display: grid; gap: 12px; }
.payment-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
}
.payment-info-row span { color: var(--muted); }
.payment-info-row strong { display: block; color: var(--ink); }
.payment-agreement { margin-top: 14px; color: var(--muted); font-size: 13px; }
.payment-agreement p { margin: 0; }

.help-sidebar { position: sticky; top: 124px; }
.help-nav { display: grid; gap: 8px; }
.help-nav a { padding: 10px 12px; border: 1px solid var(--border); background: #fff; }
.help-nav a.active, .help-nav a:hover { background: var(--ink); color: #fff; }
.help-article {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.help-article h3, .help-detail-head h1 { margin: 0; color: var(--ink); }
.help-article p, .help-meta { color: var(--muted); }
.help-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }

.payment-layout, .payment-result-card, .settings-layout { max-width: 900px; margin: 0 auto; }
.payment-card, .payment-result-card, .settings-panel {
    padding: 28px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.pagination { margin-top: 30px; text-align: center; }
.layui-laypage a, .layui-laypage span { border-color: var(--border) !important; }
.layui-laypage .layui-laypage-curr .layui-laypage-em { background-color: var(--ink) !important; }

.site-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    background: var(--ink);
    color: rgba(255,253,248,.78);
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(160px, 1fr));
    gap: 38px;
    padding: 58px 0;
}
.site-footer h3, .site-footer h4 { margin: 0 0 14px; color: #fff; }
.site-footer p { margin: 0 0 8px; }
.footer-grid > div > a { display: block; margin: 8px 0; color: rgba(255,253,248,.78); }
.site-footer p a, .footer-bottom a { display: inline; margin: 0; color: rgba(255,253,248,.78); }
.site-footer a:hover { color: var(--sand); }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-trust span { padding: 4px 10px; border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 13px; }
.footer-bottom {
    padding: 18px 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    color: rgba(255,253,248,.62);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .q-container { width: min(100% - 36px, 960px); }
    .main-nav { gap: 20px; }
    .service-grid, .lookbook-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-detail-card, .brand-story-inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav-wrap { min-height: 64px; }
    .main-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        background: #fff;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px; }
    .main-nav a::after { display: none; }
    .mobile-menu { display: inline-flex; }
    .nav-consult { display: none; }
    .hero-slides { height: 560px; }
    .hero-copy strong { font-size: 42px; }
    .hero-metrics { grid-template-columns: 1fr; width: calc(100% - 36px); }
    .hero-metrics span { min-height: 56px; border-right: 0; border-bottom: 1px solid var(--border); }
    .hero-dots { bottom: 184px; }
    .style-scene-grid, .service-grid, .lookbook-grid, .profile-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-layout, .checkout-layout, .address-layout, .orders-layout, .help-layout { grid-template-columns: 1fr; }
    .checkout-summary, .help-sidebar { position: static; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .q-container { width: calc(100% - 28px); }
    .top-strip-inner { align-items: flex-start; flex-direction: column; padding: 8px 0; }
    .brand span { max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .brand img { height: 38px; max-width: 120px; }
    .icon-link { width: 36px; height: 36px; }
    .hero-slides { height: 540px; }
    .hero-copy strong { font-size: 32px; }
    .hero-copy > span:not(.hero-label):not(.hero-actions) { font-size: 15px; }
    .hero-arrow { display: none; }
    .section { padding: 52px 0; }
    .home-title, .section-head h2, .brand-story h2, .shop-list-head h1, .shop-search-head h1, .site-search-head h1, .shop-cart-head h1, .checkout-title { font-size: 26px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .style-scene-grid, .service-grid, .lookbook-grid, .profile-quick-grid { grid-template-columns: 1fr; }
    .search-box { display: grid; }
    .search-label { min-height: 42px; justify-content: center; }
    .search-box input { border: 1px solid var(--border); border-top: 0; }
    .shop-detail-card { padding: 16px; }
    .shop-detail-info h1 { font-size: 28px; }
    .shop-detail-tab-head span { flex: 1; padding: 12px; text-align: center; }
    .shop-detail-content { padding: 18px; }
    .shop-search-card { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px; }
    .shop-search-body strong { font-size: 17px; }
    .site-search-card { grid-template-columns: 1fr; padding: 18px; }
    .site-search-mark { width: 46px; height: 46px; }
    .site-search-body strong { font-size: 18px; }
    .checkout-product-row { grid-template-columns: 70px minmax(0, 1fr); }
    .checkout-product-price, .checkout-product-row > strong { grid-column: 2; }
    .summary-bar { align-items: stretch; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; padding: 42px 0; }
}

/* taichengnew mall theme overrides */
:root {
    --ink: #151515;
    --text: #30343B;
    --muted: #737985;
    --paper: #F6F7F9;
    --linen: #ECEFF3;
    --sand: #D7E2FF;
    --caramel: #2457FF;
    --wine: #FF4D2D;
    --olive: #0F9F6E;
    --border: rgba(21, 21, 21, .1);
    --shadow: 0 12px 34px rgba(20, 30, 50, .08);
    --shadow-hover: 0 20px 48px rgba(20, 30, 50, .14);
}

body {
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.site-header {
    border-bottom: 1px solid rgba(21, 21, 21, .08);
    background: rgba(255, 255, 255, .96);
}

.top-strip { background: #151515; }
.top-strip-inner { min-height: 38px; }
.top-strip-right { color: rgba(255,255,255,.72); }

.nav-wrap {
    min-height: 76px;
    gap: 18px;
}

.brand {
    flex: 0 0 auto;
    font-family: inherit;
    font-weight: 900;
}

.brand img {
    height: 42px;
    max-width: 150px;
}

.header-search {
    flex: 1 1 360px;
    max-width: 520px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.header-search i { color: var(--muted); }
.header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
}

.header-search button {
    align-self: stretch;
    min-width: 82px;
    border: 0;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.main-nav {
    gap: 22px;
    margin-right: 0;
    font-family: inherit;
}

.main-nav a::after { background: var(--wine); }
.main-nav a:hover { color: var(--wine); }

.icon-link,
.mobile-menu {
    border-radius: 50%;
    background: #F3F5F8;
}

.icon-link:hover,
.mobile-menu:hover {
    border-color: var(--wine);
    color: var(--wine);
}

.btn {
    border-radius: 999px;
    font-family: inherit;
}

.btn-primary {
    border-color: var(--wine);
    background: var(--wine);
    color: #fff;
}

.btn-primary:hover {
    border-color: #E63E20;
    background: #E63E20;
}

.btn-dark {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.mall-home {
    background:
        linear-gradient(180deg, #FFFFFF 0, #F6F7F9 360px),
        var(--paper);
}

.mall-hero {
    padding: 42px 0 34px;
}

.mall-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .58fr);
    gap: 22px;
    align-items: stretch;
}

.mall-hero-copy,
.mall-hero-panel,
.mall-category-card,
.mall-service-grid article,
.mall-filter-bar,
.mall-list-hero,
.mall-list-toolbar {
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}

.mall-hero-copy {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 16%, rgba(36, 87, 255, .18), transparent 28%),
        linear-gradient(135deg, #FFFFFF, #F2F5FF 58%, #EAF8F3);
}

.mall-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--caramel);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mall-kicker::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--wine);
}

.mall-hero-copy h1 {
    max-width: 820px;
    margin: 16px 0 16px;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 950;
}

.mall-hero-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.mall-hero-search {
    display: flex;
    max-width: 680px;
    margin-top: 30px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(20, 30, 50, .08);
}

.mall-hero-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border: 0;
    background: transparent;
}

.mall-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mall-hero-tags a,
.shop-category-tabs a {
    border-radius: 999px;
}

.mall-hero-tags a {
    padding: 8px 13px;
    background: rgba(255,255,255,.72);
    color: var(--text);
    font-weight: 800;
}

.mall-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    padding: 30px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(21,21,21,.12), rgba(21,21,21,.86)),
        url("https://picsum.photos/seed/mall-product-shelf/900/1100") center/cover;
    color: #fff;
}

.mall-hero-panel span {
    color: rgba(255,255,255,.76);
    font-weight: 900;
}

.mall-hero-panel strong {
    margin: 12px 0;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 950;
}

.mall-hero-panel em {
    margin-bottom: 24px;
    color: rgba(255,255,255,.78);
    font-style: normal;
    line-height: 1.7;
}

.mall-category-section,
.mall-product-section,
.mall-service-section {
    padding: 46px 0;
}

.mall-product-section-alt {
    background: #fff;
}

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

.mall-section-head.compact {
    align-items: center;
}

.mall-section-head h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 950;
}

.mall-section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.view-more {
    color: var(--ink);
    font-weight: 900;
}

.view-more:hover { color: var(--wine); }

.mall-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mall-category-card {
    min-height: 136px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mall-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,77,45,.34);
    box-shadow: var(--shadow-hover);
}

.mall-category-card span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F0F3FF;
    color: var(--caramel);
    font-weight: 950;
}

.mall-category-card strong {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.2;
}

.mall-category-card em {
    color: var(--muted);
    font-style: normal;
}

.service-grid.shop-waterfall-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.service-card.shop-product-card {
    overflow: hidden;
    border: 1px solid rgba(21,21,21,.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 30, 50, .07);
}

.service-card.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.shop-product-card .service-cover {
    aspect-ratio: 1 / 1.12;
    background: #EEF1F5;
}

.shop-product-card .service-cover img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.shop-product-card .service-cover-badge {
    left: 10px;
    top: 10px;
    bottom: auto;
    border-radius: 999px;
    background: var(--wine);
    color: #fff;
    font-size: 12px;
}

.shop-product-card .service-body {
    padding: 14px;
}

.shop-product-card .service-title {
    min-height: 44px;
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.38;
    font-weight: 900;
}

.shop-product-card .service-desc {
    display: -webkit-box;
    min-height: 40px;
    margin-top: 8px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.shop-product-card .service-meta {
    margin-top: 12px;
}

.shop-product-card .price {
    color: var(--wine);
    font-size: 22px;
    font-weight: 950;
}

.service-buy {
    display: flex;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 999px;
    background: #F3F5F8;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.shop-product-card:hover .service-buy {
    background: var(--ink);
    color: #fff;
}

.mall-inline-search,
.mall-list-search {
    display: flex;
    gap: 8px;
}

.mall-inline-search input,
.mall-list-search input {
    min-height: 44px;
    min-width: 220px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
}

.mall-inline-search button {
    min-width: 70px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.mall-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mall-service-grid article {
    min-height: 150px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 22px;
    border-radius: 22px;
}

.mall-service-grid i {
    color: var(--wine);
    font-size: 30px;
}

.mall-service-grid strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 950;
}

.mall-service-grid span {
    color: var(--muted);
}

.mall-list-page {
    background: var(--paper);
}

.mall-list-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    margin-bottom: 18px;
    padding: 34px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 20%, rgba(255,77,45,.14), transparent 28%),
        #fff;
}

.mall-list-hero h1 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: 42px;
    line-height: 1.12;
    font-weight: 950;
}

.mall-list-hero p {
    max-width: 740px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.mall-filter-bar {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 20px;
}

.mall-filter-bar > span {
    padding-top: 8px;
    color: var(--ink);
    font-weight: 950;
}

.shop-category-tabs a {
    min-height: 38px;
    background: #F3F5F8;
}

.shop-category-tabs a:hover,
.shop-category-tabs a.active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.mall-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 18px;
}

.mall-list-toolbar span {
    color: var(--ink);
    font-weight: 950;
}

.mall-list-toolbar em {
    color: var(--muted);
    font-style: normal;
}

.footer-service-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 34px 0 0;
}

.footer-service-row span {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
}

.footer-service-row strong {
    color: #fff;
    font-size: 17px;
}

.shop-footer .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, .6fr) minmax(260px, .9fr);
}

.footer-card {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
}

.style-home {
    background: #F6F7F9;
}

.style-banner-hero {
    padding: 42px 0 34px;
    background:
        radial-gradient(circle at 12% 0, rgba(36,87,255,.12), transparent 28%),
        linear-gradient(180deg, #fff 0, #F6F7F9 100%);
}

.style-banner-head {
    max-width: 1040px;
    margin-bottom: 24px;
}

.style-banner-head h1 {
    margin: 12px 0 12px;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 950;
}

.style-banner-head p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.style-banner-slider {
    position: relative;
    padding-bottom: 42px;
    border-radius: 28px;
}

.style-banner-slider .swiper-slide {
    height: auto;
}

.style-banner {
    position: relative;
    min-height: 430px;
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    padding: 42px;
    border: 1px solid rgba(21,21,21,.1);
    border-radius: 28px;
    background: #151515;
    color: #fff;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.style-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.06) contrast(1.08);
    transition: transform .45s ease;
}

.style-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 78% 20%, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(90deg, rgba(12,12,12,.86), rgba(12,12,12,.46) 48%, rgba(12,12,12,.12)),
        linear-gradient(180deg, rgba(21,21,21,.04), rgba(21,21,21,.68));
}

.style-banner:hover::before {
    transform: scale(1.045);
}

.style-banner > span,
.style-banner > strong,
.style-banner > em {
    position: relative;
    z-index: 2;
}

.style-banner span {
    color: rgba(255,255,255,.86);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
}

.style-banner strong {
    max-width: 560px;
    margin-top: 10px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 950;
}

.style-banner em {
    max-width: 560px;
    margin-top: 10px;
    color: rgba(255,255,255,.88);
    font-style: normal;
    line-height: 1.7;
}

.style-banner-product {
    position: absolute;
    right: 34px;
    bottom: 34px;
    display: inline-grid;
    gap: 4px;
    min-width: 190px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
}

.style-banner-product b {
    color: var(--wine);
    font-size: 24px;
    line-height: 1;
}

.style-banner-women::before {
    background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1800&q=85");
    background-position: center 38%;
}

.style-banner-men::before {
    background-image: url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1800&q=85");
    background-position: center 38%;
}

.style-banner-daily::before {
    background-image: url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1800&q=85");
    background-position: center 34%;
}

.style-banner-nav {
    position: absolute;
    top: calc(50% - 21px);
    z-index: 5;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 50%;
    background: rgba(21,21,21,.48);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s ease, transform .2s ease;
}

.style-banner-prev { left: 18px; }
.style-banner-next { right: 18px; }
.style-banner-nav:hover {
    background: var(--wine);
    transform: translateY(-1px);
}

.style-banner-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.style-banner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(21,21,21,.22);
    opacity: 1;
    transition: width .2s ease, background .2s ease;
}

.style-banner-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--wine);
}

.style-category-section {
    padding: 52px 0;
}

.style-category-grid.shop-waterfall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .header-search { max-width: 420px; }
    .service-grid.shop-waterfall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mall-category-grid,
    .mall-service-grid,
    .footer-service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .nav-wrap {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .brand { order: 1; }
    .nav-actions { order: 2; margin-left: auto; }
    .header-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .main-nav {
        left: 18px;
        right: 18px;
        z-index: 80;
        max-height: min(68vh, 520px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-radius: 18px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        flex: 0 0 auto;
        min-height: 44px;
    }

    .mall-hero-grid,
    .mall-list-hero {
        grid-template-columns: 1fr;
    }

    .mall-hero-copy,
    .mall-hero-panel {
        min-height: auto;
    }

    .mall-hero-panel {
        min-height: 320px;
    }

    .service-grid.shop-waterfall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .style-banner {
        min-height: 340px;
    }

    .style-banner-slider {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .top-strip-right {
        display: grid;
        gap: 4px;
        white-space: normal;
    }

    .nav-wrap { gap: 10px; }
    .main-nav {
        max-height: min(62vh, 460px);
    }

    .header-search {
        height: 42px;
        padding-left: 12px;
    }

    .header-search button { min-width: 64px; }

    .mall-hero {
        padding: 22px 0 20px;
    }

    .style-banner-hero {
        padding: 26px 0 18px;
    }

    .style-banner-head h1 {
        font-size: 34px;
    }

    .style-banner-head p {
        font-size: 15px;
    }

    .style-banner {
        min-height: 300px;
        padding: 20px;
        border-radius: 20px;
    }

    .style-banner strong {
        font-size: 26px;
    }

    .style-banner-product {
        right: 16px;
        bottom: 16px;
        min-width: 150px;
        padding: 12px 14px;
        border-radius: 16px;
        font-size: 12px;
    }

    .style-banner-product b {
        font-size: 20px;
    }

    .style-banner-nav {
        display: none;
    }

    .style-banner-slider {
        padding-bottom: 34px;
    }

    .mall-hero-copy {
        padding: 24px;
        border-radius: 22px;
    }

    .mall-hero-copy h1 {
        font-size: 34px;
    }

    .mall-hero-copy p {
        font-size: 15px;
    }

    .mall-hero-search {
        display: grid;
        border-radius: 22px;
    }

    .mall-hero-search input {
        height: 42px;
    }

    .mall-hero-search .btn {
        width: 100%;
    }

    .mall-hero-panel {
        min-height: 260px;
        padding: 22px;
        border-radius: 22px;
    }

    .mall-hero-panel strong {
        font-size: 24px;
    }

    .mall-category-section,
    .mall-product-section,
    .mall-service-section {
        padding: 30px 0;
    }

    .mall-section-head,
    .mall-section-head.compact,
    .mall-list-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .mall-section-head h2,
    .mall-list-hero h1 {
        font-size: 28px;
    }

    .mall-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mall-category-card {
        min-height: 120px;
        padding: 14px;
        border-radius: 16px;
    }

    .mall-category-card strong {
        font-size: 18px;
    }

    .service-grid.shop-waterfall-grid,
    .style-scene-grid,
    .service-grid,
    .lookbook-grid,
    .profile-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .service-card.shop-product-card {
        border-radius: 14px;
    }

    .shop-product-card .service-cover {
        aspect-ratio: 1 / 1.08;
    }

    .shop-product-card .service-body {
        padding: 10px;
    }

    .shop-product-card .service-title {
        min-height: 40px;
        font-size: 14px;
    }

    .shop-product-card .service-desc {
        display: none;
    }

    .shop-product-card .price {
        font-size: 18px;
    }

    .service-hot {
        font-size: 12px;
    }

    .service-buy {
        height: 32px;
        margin-top: 8px;
        font-size: 12px;
    }

    .mall-inline-search,
    .mall-list-search {
        width: 100%;
        display: grid;
    }

    .mall-inline-search input,
    .mall-list-search input {
        width: 100%;
        min-width: 0;
    }

    .mall-list-hero {
        padding: 22px;
        border-radius: 20px;
    }

    .mall-filter-bar {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .mall-filter-bar > span {
        padding-top: 0;
    }

    .shop-category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .shop-category-tabs a {
        flex: 0 0 auto;
    }

    .mall-service-grid,
    .footer-service-row {
        grid-template-columns: 1fr;
    }

    .mall-service-grid article {
        min-height: auto;
    }
}
