:root {
    --ink: #17202a;
    --muted: #657282;
    --line: #e7ebef;
    --brand: #155eef;
    --brand-dark: #0f4ed8;
    --accent: #ff8a1f;
    --surface: #ffffff;
    --soft: #f4f8fd;
}

/* Mall home storefront */
.mall-home-page .site-nav {
    display: none;
}

.mall-home-page main {
    padding-top: 0 !important;
}

.mall-home-page main > .container {
    max-width: 1320px;
}

.mall-home {
    display: grid;
    gap: 16px;
    margin-top: 0;
    padding-top: 8px;
}

.mall-home-top {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 76px;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, #176fe6 0%, #2984ff 55%, #65b8ff 100%);
    box-shadow: 0 18px 34px rgba(21, 94, 239, .18);
    color: #fff;
}

.mall-home-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.mall-home-brand:hover {
    color: #fff;
    text-decoration: none;
}

.brand-shield {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .26);
    font-size: 15px;
    font-weight: 900;
}

.mall-home-brand strong {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.mall-home-search {
    width: min(540px, 100%);
    justify-self: center;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 46px;
    align-items: center;
    min-height: 44px;
    overflow: hidden;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(7, 39, 102, .20);
}

.mall-home-search span {
    position: relative;
    width: 42px;
    height: 42px;
}

.mall-home-search span::before,
.mall-home-search button::before {
    content: "";
    position: absolute;
    border: 2px solid #7f94b2;
    border-radius: 50%;
}

.mall-home-search span::before {
    left: 13px;
    top: 13px;
    width: 12px;
    height: 12px;
}

.mall-home-search span::after,
.mall-home-search button::after {
    content: "";
    position: absolute;
    background: #7f94b2;
    transform: rotate(45deg);
    transform-origin: left center;
}

.mall-home-search span::after {
    left: 24px;
    top: 24px;
    width: 7px;
    height: 2px;
}

.mall-home-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: #1f2937;
    font-size: 14px;
    padding: 0 4px;
}

.mall-home-search button {
    position: relative;
    width: 46px;
    height: 44px;
    border: 0;
    background: transparent;
}

.mall-home-search button::before {
    left: 15px;
    top: 13px;
    width: 14px;
    height: 14px;
}

.mall-home-search button::after {
    left: 27px;
    top: 27px;
    width: 8px;
    height: 2px;
}

.mall-home-actions {
    display: flex;
    gap: 10px;
    justify-self: end;
}

.mall-home-actions a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    text-decoration: none;
}

.mall-home-actions a:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .22);
}

.mall-icon {
    position: relative;
    display: inline-block;
}

.cart-icon {
    width: 16px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 2px 2px 4px 4px;
    transform: translateY(2px);
}

.cart-icon::before {
    content: "";
    position: absolute;
    left: -3px;
    top: -6px;
    width: 6px;
    height: 6px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: skewX(-18deg);
}

.cart-icon::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -5px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 9px 0 0 currentColor;
}

.user-icon {
    width: 18px;
    height: 18px;
}

.user-icon::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.user-icon::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 0;
    width: 14px;
    height: 8px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
}

.mall-home-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 44px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #dfe8f5;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    overflow-x: auto;
    white-space: nowrap;
}

.mall-home-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #2c3440;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.mall-home-nav button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2c3440;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.mall-home-nav a:hover {
    color: var(--brand);
    text-decoration: none;
}

.mall-home-nav button:hover,
.mall-home-nav button:focus-visible {
    color: var(--brand);
    outline: 0;
}

.mall-home-main {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.mall-home-sidebar {
    position: sticky;
    top: 16px;
}

.mall-home-sidebar {
    background: #fff;
    border: 1px solid #dfe8f5;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
}

.mall-home-sidebar a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    color: #344054;
    font-size: 13px;
    text-decoration: none;
}

.mall-home-sidebar a:hover {
    background: #f3f8ff;
    color: var(--brand);
    text-decoration: none;
}

.mall-home-sidebar .sidebar-title {
    gap: 8px;
    padding: 10px 14px 12px;
    border-bottom: 1px solid #edf2f7;
    color: var(--brand);
    font-size: 14px;
    font-weight: 900;
}

.mall-home-sidebar .sidebar-title span {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, #155eef, #65b8ff);
}

.mall-home-stage {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.mall-home-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: center;
    min-height: 220px;
    padding: 26px 28px;
    background: linear-gradient(135deg, #246fe9 0%, #2e8cff 54%, #66baff 100%);
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 18px 34px rgba(21, 94, 239, .16);
}

.mall-home-banner span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.mall-home-banner h1 {
    margin: 12px 0 10px;
    color: #fff;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.05;
}

.mall-home-banner p {
    max-width: 420px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .94);
    font-size: 15px;
    line-height: 1.8;
}

.mall-home-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 38px;
    padding: 0 16px;
    background: #fff;
    border-radius: 10px;
    color: var(--brand);
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(7, 39, 102, .20);
}

.mall-home-banner a:hover {
    text-decoration: none;
}

.banner-goods {
    position: relative;
    min-height: 170px;
}

.goods-box,
.goods-gift {
    position: absolute;
    bottom: 12px;
    border-radius: 14px;
    box-shadow: 0 18px 32px rgba(17, 36, 78, .18);
}

.goods-box {
    width: 92px;
    height: 126px;
    background: linear-gradient(180deg, #fff 0%, #e9f2ff 100%);
}

.goods-box::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 10px;
    background: linear-gradient(180deg, #b9d6ff 0%, #7fb0ff 100%);
}

.goods-box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 18px;
    width: 12px;
    height: 72px;
    background: rgba(255, 255, 255, .88);
    border-radius: 999px;
    transform: translateX(-50%);
}

.goods-box.tall {
    right: 118px;
    height: 146px;
}

.goods-box.small {
    right: 194px;
    width: 54px;
    height: 84px;
    bottom: 50px;
}

.goods-gift {
    right: 24px;
    width: 122px;
    height: 122px;
    background: linear-gradient(180deg, #fff 0%, #eaf3ff 100%);
}

.goods-gift::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #4e94ff 0%, #2478f2 100%);
}

.goods-gift::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 12px;
    background:
        linear-gradient(90deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%),
        linear-gradient(180deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%);
}

.mall-home-tabs {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #dfe8f5;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    overflow-x: auto;
    white-space: nowrap;
}

.mall-home-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #344054;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.mall-home-tabs a:hover {
    color: var(--brand);
    text-decoration: none;
}

.mall-home-products {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.mall-mini-product {
    background: #fff;
    border: 1px solid #e2ebf7;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .05);
}

.mini-thumb {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #eef4fb;
    border-radius: 8px;
    color: #8793a3;
    text-decoration: none;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-thumb span {
    font-size: 12px;
    font-weight: 800;
}

.mini-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 40px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    margin: 8px 0 6px;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mini-title:hover {
    color: var(--brand);
    text-decoration: none;
}

.mini-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mini-price strong {
    color: var(--brand);
    font-size: 14px;
    font-weight: 900;
}

.mini-price span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #edf5ff;
    color: #5aa9ff;
    font-size: 12px;
    font-weight: 800;
}

.mall-home-section {
    margin-top: 18px;
}

@media (max-width: 992px) {
    .mall-home-top {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .mall-home-search {
        width: 100%;
        justify-self: stretch;
    }

    .mall-home-actions {
        justify-self: start;
    }

    .mall-home-main {
        grid-template-columns: 1fr;
    }

    .mall-home-sidebar {
        position: static;
    }

    .mall-home-banner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .banner-goods {
        min-height: 140px;
    }

    .mall-home-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .mall-home {
        margin-top: 0;
    }

    .mall-home-top {
        padding: 14px;
    }

    .mall-home-brand strong {
        font-size: 21px;
    }

    .mall-home-banner {
        padding: 22px;
    }

    .mall-home-banner h1 {
        font-size: 30px;
    }

    .mall-home-products {
        grid-template-columns: 1fr;
    }

    .banner-goods {
        display: none;
    }
}

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

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(36, 111, 255, .08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f4f8fd 360px, #f5f7fb 100%);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: #155eef;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main {
    min-height: calc(100vh - 240px);
}

.site-nav {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(226, 232, 240, .86);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
    backdrop-filter: blur(12px);
}

.brand-mark {
    color: #152033;
    font-size: 22px;
    font-weight: 800;
}

.brand-mark:hover {
    color: var(--brand);
    text-decoration: none;
}

.nav-main {
    gap: 8px;
}

.nav-main .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 650;
    padding: 10px 15px;
    position: relative;
    border-radius: 10px;
    transition: color .2s ease, background-color .2s ease;
}

.nav-main .nav-link:hover {
    color: var(--brand);
    background: #f1f6ff;
    text-decoration: none;
}

.nav-main .nav-link i {
    color: #8090a5;
    font-size: 15px;
    transition: color .2s ease;
}

.nav-main .nav-link:hover i,
.nav-main .nav-link.active,
.nav-main .nav-link.active i {
    color: var(--brand);
}

.nav-main .nav-link.active {
    background: #edf4ff;
}

.nav-main .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--brand);
    transform: translateX(-50%);
    transition: width .2s ease;
}

.nav-main .nav-link:hover::after {
    width: 22px;
}

.nav-main .nav-link.active::after {
    width: 22px;
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.nav-login-link,
.nav-account-link,
.nav-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: #526174;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.nav-login-link i,
.nav-account-link i {
    color: #7c8da4;
    font-size: 17px;
}

.nav-login-link:hover,
.nav-account-link:hover,
.nav-logout-link:hover {
    color: var(--brand);
    text-decoration: none;
}

.nav-register-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(21, 94, 239, .16);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.nav-register-link:hover {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.avatar-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f0ff, #fff3de);
    border: 1px solid #dbe7fb;
    color: #1d4ed8;
    font-weight: 800;
}

.avatar-link:hover {
    text-decoration: none;
}

.task-hero {
    min-height: 320px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    gap: 34px;
    padding: 38px 4px 28px;
}

.hero-copy {
    padding: 24px 0;
}

.hero-kicker {
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-copy h1 {
    color: #101828;
    font-size: 42px;
    font-weight: 850;
    line-height: 1.16;
    margin: 0 0 12px;
}

.hero-copy p {
    color: #415062;
    font-size: 17px;
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 14px 28px rgba(21, 94, 239, .22);
}

.hero-task-card {
    position: relative;
    min-height: 248px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fbff 0%, #e8f2ff 100%);
    border: 1px solid #dce9fb;
    box-shadow: 0 22px 45px rgba(27, 72, 138, .12);
    padding: 28px;
}

.hero-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-card-head strong {
    font-size: 20px;
    font-weight: 800;
}

.hero-card-head span {
    color: var(--brand);
    background: #fff;
    border: 1px solid #d8e6ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
}

.hero-search {
    width: min(310px, 100%);
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e4ebf5;
    border-radius: 999px;
    padding: 0 8px 0 16px;
    box-shadow: 0 12px 24px rgba(45, 84, 132, .08);
}

.hero-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #1f2937;
    font-size: 13px;
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 14px;
}

.search-icon {
    color: #91a4bd;
    font-weight: 800;
}

.hero-illustration {
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 210px;
    height: 160px;
}

.scooter .base {
    position: absolute;
    right: 10px;
    bottom: 38px;
    width: 138px;
    height: 34px;
    border-radius: 24px 34px 18px 18px;
    background: #2f73ff;
}

.scooter .box {
    position: absolute;
    right: 18px;
    bottom: 82px;
    width: 62px;
    height: 54px;
    border-radius: 10px;
    background: #1b5dcb;
    box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .08);
}

.scooter .seat {
    position: absolute;
    right: 92px;
    bottom: 76px;
    width: 64px;
    height: 18px;
    border-radius: 18px;
    background: #25334f;
}

.scooter .wheel {
    position: absolute;
    bottom: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #17223b;
    border: 8px solid #dbeafe;
}

.scooter .wheel.left {
    right: 102px;
}

.scooter .wheel.right {
    right: 10px;
}

.delivery-person .head {
    position: absolute;
    right: 124px;
    bottom: 122px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffd2a1;
}

.delivery-person .body {
    position: absolute;
    right: 113px;
    bottom: 78px;
    width: 42px;
    height: 54px;
    border-radius: 18px 18px 10px 10px;
    background: var(--accent);
    transform: rotate(-8deg);
}

.delivery-person .arm {
    position: absolute;
    right: 92px;
    bottom: 88px;
    width: 48px;
    height: 10px;
    border-radius: 999px;
    background: #ffd2a1;
    transform: rotate(20deg);
}

.delivery-person .leg {
    position: absolute;
    right: 94px;
    bottom: 58px;
    width: 54px;
    height: 12px;
    border-radius: 999px;
    background: #1f3a6d;
    transform: rotate(28deg);
}

.chat-bubble {
    position: absolute;
    right: 108px;
    top: 4px;
    width: 56px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d5e4fb;
    box-shadow: 0 12px 20px rgba(32, 78, 135, .08);
}

.chat-bubble::before,
.chat-bubble::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    height: 3px;
    border-radius: 999px;
    background: #b9cef1;
}

.chat-bubble::before {
    top: 11px;
}

.chat-bubble::after {
    top: 20px;
}

.hero-progress {
    position: absolute;
    left: 28px;
    bottom: 28px;
    width: 86px;
    height: 6px;
    border-radius: 999px;
    background: #d5e6ff;
}

.hero-progress span {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: #7fb0ff;
}

.home-category-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0 28px;
}

.home-category {
    min-height: 92px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}

.home-category:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(21, 94, 239, .12);
}

.home-category strong {
    color: #1f2937;
    font-size: 16px;
    font-weight: 800;
}

.home-category em {
    grid-column: 2;
    color: #a2aebb;
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
}

.cat-icon {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    position: relative;
    background: #e8f1ff;
}

.cat-icon::before,
.cat-icon::after {
    content: "";
    position: absolute;
    border-radius: 4px;
    background: currentColor;
}

.cat-icon::before {
    left: 11px;
    top: 11px;
    width: 20px;
    height: 20px;
}

.cat-icon::after {
    left: 15px;
    top: 7px;
    width: 12px;
    height: 6px;
}

.cat-1,
.cat-6 {
    color: #2563eb;
    background: #e8f1ff;
}

.cat-2 {
    color: #fb923c;
    background: #fff3df;
}

.cat-3 {
    color: #16a34a;
    background: #e8faef;
}

.cat-4 {
    color: #7c3aed;
    background: #f1eaff;
}

.cat-5 {
    color: #f59e0b;
    background: #fff7dc;
}

.task-section {
    margin-top: 8px;
}

.notice-ticker {
    height: 54px;
    display: grid;
    grid-template-columns: 40px auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #dfe9f6;
    border-radius: 14px;
    padding: 0 16px;
    margin: 0 0 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .05);
}

.notice-icon {
    width: 34px;
    height: 34px;
    overflow: hidden;
    color: transparent;
    border-radius: 10px;
    background: #fff4e4;
    position: relative;
}

.notice-icon::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 12px;
    width: 13px;
    height: 10px;
    background: #ff8a1f;
    clip-path: polygon(0 25%, 52% 25%, 100% 0, 100% 100%, 52% 75%, 0 75%);
}

.notice-icon::after {
    content: "";
    position: absolute;
    right: 7px;
    top: 10px;
    width: 8px;
    height: 14px;
    border: 2px solid #ff8a1f;
    border-left: 0;
    border-radius: 0 999px 999px 0;
}

.notice-ticker strong {
    color: #1f2937;
    font-size: 15px;
    font-weight: 850;
    white-space: nowrap;
}

.notice-window {
    height: 24px;
    overflow: hidden;
}

.notice-window ul {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: noticeScroll 14s linear infinite;
}

.notice-window:hover ul {
    animation-play-state: paused;
}

.notice-window li {
    height: 24px;
    display: flex;
    align-items: center;
}

.notice-window a,
.notice-window span {
    max-width: 100%;
    overflow: hidden;
    color: #475467;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-window a:hover {
    color: var(--brand);
    text-decoration: none;
}

.notice-more {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.notice-more:hover {
    text-decoration: none;
}

@keyframes noticeScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.task-section-title {
    align-items: end;
}

.task-section-title p {
    color: var(--muted);
    margin: 6px 0 0;
    font-size: 14px;
}

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

.task-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}

.task-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.task-type {
    color: #c25100;
    background: #fff2df;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px;
}

.task-auth {
    color: #0f7a35;
    background: #e7f7ed;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px;
}

.task-card h3 {
    min-height: 46px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 8px;
}

.task-card h3 a {
    color: #111827;
    word-break: break-word;
}

.task-card p {
    min-height: 44px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.task-thumb {
    height: 112px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #eef5ff, #fff7e7);
}

.task-thumb span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78px;
    height: 54px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dce8f8;
    transform: translate(-50%, -50%);
    box-shadow: 0 12px 22px rgba(31, 79, 145, .12);
}

.task-thumb span::before,
.task-thumb span::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    height: 5px;
    border-radius: 999px;
    background: #b9cef1;
}

.task-thumb span::before {
    top: 17px;
}

.task-thumb span::after {
    top: 30px;
    right: 28px;
}

.thumb-2,
.thumb-6 {
    background: linear-gradient(135deg, #fff7e7, #ffe7bf);
}

.thumb-3,
.thumb-7 {
    background: linear-gradient(135deg, #ecfdf3, #d7f7e3);
}

.thumb-4,
.thumb-8 {
    background: linear-gradient(135deg, #f1eaff, #e2d7ff);
}

.task-thumb-img {
    width: 100%;
    height: 112px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eef2f7;
    margin-bottom: 12px;
    background: #eef4fb;
}

.task-card:hover .task-thumb-img {
    filter: saturate(1.05) contrast(1.02);
}

.task-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #8793a3;
    font-size: 12px;
    margin-top: auto;
}

.task-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #eef2f7;
    padding-top: 12px;
    margin-top: 12px;
}

.task-card-bottom strong {
    color: #f97316;
    font-size: 14px;
}

.task-card-bottom a {
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 13px;
}

.task-card-bottom a:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

.recommend-pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.recommend-pagination:empty {
    display: none;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.pagination li {
    list-style: none;
}

.pagination a,
.pagination span {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 13px;
    font-weight: 800;
    padding: 0 11px;
}

.pagination a:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    text-decoration: none;
}

.pagination .active span {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.pagination .disabled span {
    color: #b2bdcb;
    background: #f4f7fb;
}

.recommend-empty {
    grid-column: 1 / -1;
}

.cms-section {
    margin-top: 34px;
}

.cms-section-title {
    align-items: end;
}

.cms-section-title p {
    color: var(--muted);
    margin: 6px 0 0;
    font-size: 14px;
}

.cms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cms-module {
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}

.cms-module-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    padding: 0 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff9ef 100%);
    border-bottom: 1px solid #eef2f7;
}

.cms-module-head h3 {
    color: #111827;
    font-size: 18px;
    font-weight: 850;
    margin: 0;
}

.cms-module-head a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cms-module-head a:hover,
.cms-item h4 a:hover,
.cms-item-foot a:hover {
    text-decoration: none;
}

.cms-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.cms-item {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
    border-right: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.cms-item:nth-child(2n) {
    border-right: 0;
}

.cms-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.cms-item-label {
    margin-bottom: 8px;
}

.cms-item-label span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #0f7a35;
    background: #e7f7ed;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
}

.cms-item h4 {
    min-height: 42px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 8px;
}

.cms-item h4 a {
    color: #111827;
    word-break: break-word;
}

.cms-item p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.cms-item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #8793a3;
    font-size: 12px;
    margin-top: auto;
}

.cms-item-foot a {
    color: var(--brand);
    font-weight: 800;
    white-space: nowrap;
}

.cms-empty,
.cms-empty-all {
    padding: 28px;
    color: var(--muted);
    text-align: center;
}

.cms-empty {
    grid-column: 1 / -1;
}

.cms-empty-all {
    grid-column: 1 / -1;
}


.home-hero {
    background: linear-gradient(135deg, #113a70, #17745f);
    color: white;
    border-radius: 8px;
    padding: 46px;
}

.home-hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.home-hero p {
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    max-width: 720px;
}

.hero-panel {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    padding: 24px;
}

.hero-panel strong,
.stat-grid strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.hero-panel span,
.stat-grid span {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.section-title,
.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title h2,
.page-head h1,
.panel h1,
.detail-box h1,
.auth-box h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.page-head.compact {
    margin-bottom: 12px;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-item,
.side-box,
.detail-box,
.panel,
.auth-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.info-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.info-list.compact .info-item {
    grid-template-columns: 1fr;
}

.info-item h3 {
    font-size: 19px;
    margin: 0 0 8px;
    font-weight: 650;
}

.info-item p {
    color: var(--muted);
    margin: 0 0 8px;
}

.meta {
    color: var(--muted);
    font-size: 13px;
}

.info-actions {
    min-width: 118px;
    display: grid;
    gap: 8px;
    justify-items: stretch;
}

.hall-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 20px;
    margin-bottom: 18px;
    padding: 30px;
    border: 1px solid #dfe9f6;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(232, 241, 255, .95) 0%, rgba(255, 248, 235, .9) 100%),
        #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
}

.hall-head span {
    color: var(--brand);
    font-size: 14px;
    font-weight: 850;
}

.hall-head h1 {
    color: #101828;
    font-size: 34px;
    font-weight: 850;
    line-height: 1.2;
    margin: 8px 0 10px;
}

.hall-head p {
    max-width: 720px;
    color: #4b5b6d;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.hall-filter {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .05);
}

.hall-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
}

.hall-search input {
    min-width: 0;
    height: 46px;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    color: #1f2937;
    outline: 0;
    padding: 0 14px;
}

.hall-search input:focus {
    border-color: #91b7ff;
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .10);
}

.hall-search button,
.hall-search a {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 850;
    padding: 0 20px;
    white-space: nowrap;
}

.hall-search button {
    color: #fff;
    background: var(--brand);
}

.hall-search a {
    color: #667085;
    background: #f3f6fa;
}

.hall-search a:hover,
.hall-chip:hover,
.hall-results-head a:hover,
.hall-card h3 a:hover,
.hall-card-actions a:hover {
    text-decoration: none;
}

.hall-filter-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.hall-filter-label {
    color: #667085;
    font-size: 13px;
    font-weight: 850;
    line-height: 34px;
}

.hall-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hall-chip {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dce7f5;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 13px;
    font-weight: 750;
    padding: 6px 13px;
}

.hall-chip:hover {
    color: var(--brand);
    border-color: #bcd3ff;
    background: #f7fbff;
}

.hall-chip.active {
    color: #fff;
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 10px 20px rgba(21, 94, 239, .18);
}

.hall-results {
    margin-top: 8px;
}

.hall-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.hall-results-head h2 {
    color: #101828;
    font-size: 24px;
    font-weight: 850;
    margin: 0 0 6px;
}

.hall-results-head p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.hall-results-head a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.hall-list {
    display: grid;
    gap: 14px;
}

.hall-card {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr) 126px;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, .96);
    border-radius: 12px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .045);
}

.hall-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eef2f7;
    background: #eef4fb;
}

.hall-card-main {
    min-width: 0;
}

.hall-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.hall-card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    border-radius: 999px;
    background: #fff2df;
    color: #c25100;
    font-size: 12px;
    font-weight: 850;
    padding: 4px 9px;
}

.hall-card-tags .green {
    color: #0f7a35;
    background: #e7f7ed;
}

.hall-card-tags .blue {
    color: #155eef;
    background: #e8f1ff;
}

.hall-card h3 {
    font-size: 19px;
    font-weight: 850;
    line-height: 1.45;
    margin: 0 0 8px;
}

.hall-card h3 a {
    color: #101828;
    word-break: break-word;
}

.hall-card p {
    color: #5f6f82;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 10px;
}

.hall-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #8793a3;
    font-size: 12px;
}

.hall-card-actions {
    display: grid;
    gap: 8px;
}

.hall-card-actions a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    color: #475467;
    background: #fff;
    font-size: 13px;
    font-weight: 850;
    padding: 8px 12px;
    white-space: nowrap;
}

.hall-card-actions .primary {
    color: #fff;
    border-color: var(--brand);
    background: var(--brand);
}

.hall-card-actions a:hover {
    color: #fff;
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.hall-pagination {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.hall-pagination:empty {
    display: none;
}

.side-box h2,
.panel h2,
.detail-box h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

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

.category-grid a {
    background: #f1f5f9;
    border-radius: 6px;
    color: var(--ink);
    padding: 10px 12px;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.clean-list li:last-child {
    border-bottom: 0;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 220px 160px auto;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-box,
.panel,
.auth-box,
.side-box {
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.content-body {
    min-width: 0;
    max-width: 100%;
    line-height: 1.85;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.product-service-notice,
.shop-service-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #e5edf5;
    border-radius: 8px;
    background: #f8fbff;
    color: #667085;
    font-size: 13px;
}

.product-facts {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 14px;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.product-facts > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
}

.product-facts dt {
    color: #98a2b3;
    font-weight: 500;
}

.product-facts dd {
    min-width: 0;
    margin: 0;
    color: #344054;
}

.product-facts a {
    color: var(--brand);
    font-weight: 700;
}

.product-service-notice span,
.shop-service-notice span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-service-notice i {
    color: var(--brand);
}

.product-service-notice a,
.shop-service-notice a {
    color: var(--brand);
    font-weight: 700;
}

.content-body img,
.content-body iframe,
.content-body video,
.detail-content img {
    display: block;
    box-sizing: border-box;
    width: auto;
    max-width: 100% !important;
    height: auto !important;
}

.content-body img,
.detail-content img {
    display: block;
}

.content-body iframe,
.content-body video {
    width: 100%;
}

.content-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.content-body pre,
.content-body code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.product-description-panel {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.product-description-panel .content-body {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.image-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.publisher-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-list {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 8px 12px;
    margin: 0;
}

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

.contact-list dd {
    margin: 0;
}

.detail-page {
    padding-top: 4px;
}

.detail-page :target {
    scroll-margin-top: 96px;
}

.detail-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.detail-layout > * {
    min-width: 0;
}

.detail-summary {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 28px;
}

.detail-summary-main:first-child {
    grid-column: 1 / -1;
}

.detail-summary-main {
    max-width: 100%;
    min-width: 0;
}

.detail-heading-area {
    display: grid;
    gap: 0;
    max-width: 100%;
    min-width: 0;
}

.detail-article {
    padding: 28px;
}

.detail-title-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 14px;
    align-items: start;
}

.detail-summary-main h1 {
    min-width: 0;
    color: #101828;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.32;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.favorite-inline {
    margin: 2px 0 0;
}

.icon-action {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5f2;
    border-radius: 50%;
    color: #667085;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.icon-action:hover,
.icon-action:focus-visible {
    border-color: #bdd3ff;
    color: var(--brand);
    background: #f8fbff;
    outline: 0;
}

.favorite-icon.is-active,
.favorite-icon:hover,
.favorite-icon:focus-visible {
    border-color: #fecdd3;
    color: #e11d48;
    background: #fff1f2;
}

.detail-summary-text {
    color: #475467;
    font-size: 15px;
    line-height: 1.8;
    margin: -8px 0 0;
    overflow-wrap: anywhere;
}

.detail-summary-gallery {
    min-width: 0;
}

.detail-summary-gallery .detail-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.detail-summary-gallery .detail-image-grid img:first-child {
    grid-column: 1 / -1;
}

.detail-summary-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    border-top: 1px solid #eef2f7;
    margin-top: 24px;
    padding-top: 22px;
}

.detail-summary-block {
    min-width: 0;
}

.detail-summary-block + .detail-summary-block {
    border-left: 1px solid #eef2f7;
    padding-left: 24px;
}

.detail-section-head {
    border-bottom: 1px solid #edf1f6;
    margin-bottom: 20px;
    padding-bottom: 14px;
}

.detail-section-head h2 {
    color: #101828;
    font-size: 20px;
    font-weight: 850;
    margin: 0;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    background: #fff2df;
    color: #c25100;
    font-size: 12px;
    font-weight: 850;
    padding: 4px 10px;
}

.detail-tags .green {
    color: #0f7a35;
    background: #e7f7ed;
}

.detail-tags .blue {
    color: #155eef;
    background: #e8f1ff;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #8793a3;
    font-size: 13px;
    margin: 14px 0 24px;
}

.detail-image-grid {
    margin-bottom: 24px;
}

.detail-content {
    color: #263241;
    font-size: 15px;
}

.detail-content p:last-child {
    margin-bottom: 0;
}

.detail-attachments {
    border-top: 1px solid #edf1f6;
    margin-top: 24px;
    padding-top: 20px;
}

.detail-attachments h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
}

.attachment-list {
    display: grid;
    gap: 8px;
}

.attachment-list a {
    display: flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    color: #475467;
    background: #f8fbff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
}

.attachment-list a:hover {
    color: var(--brand);
    border-color: #bdd3ff;
    text-decoration: none;
}

.detail-side-card {
    padding: 18px;
}

.side-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.side-card-head h2 {
    margin: 0;
}

.side-card-head a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.company-home-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.side-card-head a:hover,
.hot-info-item:hover {
    text-decoration: none;
}

.publisher-profile {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.publisher-profile > div {
    min-width: 0;
}

.publisher-avatar {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #155eef, #16a34a);
    font-size: 18px;
    font-weight: 850;
}

.publisher-profile .publisher-name {
    overflow: hidden;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.publisher-sub {
    color: #8793a3;
    font-size: 13px;
}

.detail-contact-list {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 10px 16px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fbfdff;
    font-size: 14px;
    padding: 14px;
}

.detail-contact-list dt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-weight: 800;
    white-space: nowrap;
}

.detail-contact-list dt i {
    color: #98a2b3;
    font-size: 15px;
}

.detail-contact-list dd,
.detail-contact-list dd a {
    min-width: 0;
    color: #111827;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.detail-contact-list dd a:hover {
    color: var(--brand);
    text-decoration: none;
}

.masked-phone {
    color: #344054;
    font-weight: 850;
}

.contact-locked {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    margin-top: 14px;
    padding: 14px;
}

.lock-icon,
.quote-note-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--brand);
    background: #e8f1ff;
    font-size: 18px;
}

.lock-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-locked strong,
.quote-action-note strong {
    color: #1f2937;
    font-size: 15px;
    font-weight: 850;
}

.contact-locked span,
.quote-action-note span {
    color: #667085;
    font-size: 14px;
}

.unlock-price {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
    background: #fff5f5;
    padding: 8px 12px;
    margin: 2px 0 4px;
}

.unlock-price span {
    color: #b91c1c;
    font-size: 14px;
    font-weight: 850;
}

.unlock-price b {
    color: #dc2626;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.contact-unlock-form {
    margin: 6px 0 0;
}

.quote-action-card {
    display: grid;
    align-content: start;
}

.quote-action-note {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: #667085;
    background: #f8fbff;
    border: 1px solid #e4ecf7;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.65;
    padding: 14px;
    margin-bottom: 14px;
}

.quote-action-note > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.side-actions .contact-unlock-form {
    display: block;
    margin: 0;
}

.side-actions {
    display: grid;
    gap: 10px;
}

.action-btn,
.side-actions .btn {
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

.payment-qr {
    width: 220px;
    height: 220px;
    max-width: 100%;
    border: 1px solid #dfe8f5;
    border-radius: 8px;
    background: #fff;
}

.action-btn i {
    flex: 0 0 auto;
    font-size: 16px;
}

.quote-action-tips {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.quote-action-tips span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 13px;
}

.quote-action-tips i {
    color: #16a34a;
}

.detail-recommend .hot-info-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hot-info-list {
    display: grid;
    gap: 10px;
}

.hot-info-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    transition: border-color .2s ease, background .2s ease;
}

.hot-info-item:hover {
    border-color: #bdd3ff;
    background: #f8fbff;
}

.hot-info-item img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    background: #eef4fb;
}

.hot-info-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: #111827;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hot-info-item span {
    display: block;
    overflow: hidden;
    color: #8793a3;
    font-size: 12px;
    margin-top: 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-modal {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.detail-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid #edf1f6;
    padding: 20px 22px;
}

.detail-modal .modal-title {
    color: #101828;
    font-size: 22px;
    font-weight: 850;
    line-height: 1.3;
    margin: 0;
}

.detail-modal .modal-header p {
    color: #667085;
    font-size: 13px;
    margin: 5px 0 0;
}

.detail-modal .modal-body {
    padding: 22px;
}

.detail-modal-form .form-label {
    color: #475467;
    font-size: 13px;
    font-weight: 800;
}

.modal-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-form-actions .btn {
    min-width: 112px;
    font-weight: 800;
}

.modal-login-state {
    border: 1px solid #e4ecf7;
    border-radius: 8px;
    background: #f8fbff;
    padding: 22px;
}

.modal-login-state h3 {
    color: #101828;
    font-size: 18px;
    font-weight: 850;
    margin: 0 0 8px;
}

.modal-login-state p {
    color: #667085;
    margin: 0 0 16px;
}

.auth-box {
    max-width: 480px;
    margin: 0 auto;
}

.auth-login-body {
    min-height: 100vh;
    background: #f5f1ed;
}

.auth-login-body .site-nav,
.auth-login-body .site-footer {
    display: none;
}

.auth-register-body {
    min-height: 100vh;
    background: #f5f1ed;
}

.auth-register-body .site-nav,
.auth-register-body .site-footer {
    display: none;
}

.auth-register-body > main {
    min-height: 0;
    padding: 18px 24px 0 !important;
}

.auth-register-body > main .container {
    max-width: 1180px;
}

.auth-login-body > main {
    min-height: 0;
    padding: 18px 24px 0 !important;
}

.auth-login-body > main .container {
    max-width: 1180px;
}

.auth-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
    width: min(1180px, calc(100% - 48px));
    min-height: 650px;
    margin: 10px auto 38px;
    overflow: hidden;
    border: 1px solid #e7ded6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(72, 52, 39, .13);
}

.auth-login-showcase {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #d9cec4;
}

.auth-login-showcase-head {
    position: absolute;
    top: 28px;
    right: 34px;
    left: 34px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 12px rgba(42, 28, 20, .2);
}

.auth-login-brand:hover {
    color: #fff;
    text-decoration: none;
}

.auth-login-brand > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 8px;
    background: rgba(48, 35, 27, .35);
    font-size: 17px;
    font-weight: 900;
}

.auth-login-brand strong {
    font-size: 19px;
    font-weight: 900;
}

.auth-login-brand-caption {
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 750;
}

.auth-login-slides {
    position: absolute;
    inset: 0;
}

.auth-login-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 54px 92px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.035);
    transition: opacity .5s ease, transform .7s ease;
}

.auth-login-slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 24, 20, .08) 20%, rgba(32, 24, 20, .7) 100%);
    content: "";
}

.auth-login-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.auth-login-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-login-slide-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
    color: #fff;
}

.auth-login-slide-copy > span {
    color: #f0c49b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
}

.auth-login-slide-copy h1 {
    margin: 12px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.15;
}

.auth-login-slide-copy p {
    max-width: 460px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.8;
}

.auth-login-carousel-footer {
    position: absolute;
    right: 34px;
    bottom: 30px;
    left: 34px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-login-carousel-dots,
.auth-login-carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-login-carousel-dots button {
    width: 24px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .52);
}

.auth-login-carousel-dots button.is-active {
    width: 42px;
    background: #f0c49b;
}

.auth-login-carousel-controls button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(31, 24, 20, .2);
    color: #fff;
}

.auth-login-carousel-controls button:hover,
.auth-login-carousel-controls button:focus-visible {
    border-color: #fff;
    background: rgba(31, 24, 20, .48);
    outline: 0;
}

.auth-login-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 42px 56px 36px;
    background: #fff;
}

.auth-login-panel-top {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9b6a59;
    font-size: 13px;
    font-weight: 850;
}

.auth-login-back {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #e9e0d9;
    border-radius: 50%;
    color: #6f625a;
    text-decoration: none;
}

.auth-login-back:hover {
    border-color: #b6634f;
    color: #a64b32;
    text-decoration: none;
}

.auth-login-heading {
    margin-top: auto;
    margin-bottom: 30px;
}

.auth-login-heading > span {
    color: #b16a55;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.auth-login-heading h2 {
    margin: 12px 0 8px;
    color: #302925;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
}

.auth-login-heading p {
    margin: 0;
    color: #9a8c83;
    font-size: 14px;
}

.auth-login-form {
    display: grid;
    gap: 18px;
}

.auth-login-field {
    display: grid;
    gap: 8px;
}

.auth-login-field > span {
    color: #665a52;
    font-size: 13px;
    font-weight: 850;
}

.auth-login-input-wrap {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 34px;
    align-items: center;
    min-height: 52px;
    padding: 0 12px;
    border: 1px solid #e6ded7;
    border-radius: 8px;
    background: #fcfaf8;
    color: #a28d82;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.auth-login-input-wrap:focus-within {
    border-color: #bb715b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(187, 113, 91, .11);
}

.auth-login-input-wrap input {
    width: 100%;
    min-width: 0;
    padding: 0 9px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #302925;
    font-size: 14px;
}

.auth-login-input-wrap input::placeholder {
    color: #b7aaa1;
}

.auth-login-password-toggle {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a28d82;
    font-size: 16px;
}

.auth-login-password-toggle:hover {
    color: #a64b32;
}

.auth-login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-top: 8px;
    padding: 0 18px 0 22px;
    border: 0;
    border-radius: 8px;
    background: #a64b32;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(166, 75, 50, .2);
    transition: background-color .18s ease, transform .18s ease;
}

.auth-login-submit:hover {
    background: #883b29;
    transform: translateY(-1px);
}

.auth-login-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 750;
}

.auth-login-links a {
    color: #9a6a59;
    text-decoration: none;
}

.auth-login-links a:hover {
    color: #7f3d36;
    text-decoration: underline;
}

.auth-login-panel-foot {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 42px;
    color: #aaa099;
    font-size: 11px;
    line-height: 1.6;
}

.auth-login-panel-foot i {
    color: #a65b47;
    font-size: 14px;
}

.auth-register-shell {
    min-height: 730px;
}

.auth-register-shell .auth-login-showcase {
    min-height: 730px;
}

.auth-register-panel {
    padding-top: 34px;
    padding-bottom: 30px;
}

.auth-register-panel .auth-login-heading {
    margin-top: 34px;
    margin-bottom: 22px;
}

.auth-register-form {
    gap: 14px;
}

.auth-register-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.auth-login-field > span em {
    color: #b0a49c;
    font-size: 11px;
    font-style: normal;
    font-weight: 650;
}

.auth-register-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #94877f;
    font-size: 11px;
    line-height: 1.6;
}

.auth-register-agreement input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: #a64b32;
}

.auth-register-agreement a {
    color: #9a5d4c;
    text-decoration: none;
}

.auth-register-agreement a:hover {
    color: #7f3d36;
    text-decoration: underline;
}

.auth-register-panel .auth-login-panel-foot {
    padding-top: 24px;
}

@media (max-width: 900px) {
    .auth-login-shell {
        grid-template-columns: 1fr;
        width: min(620px, calc(100% - 32px));
    }

    .auth-login-showcase {
        min-height: 340px;
    }

    .auth-login-panel {
        min-height: 500px;
        padding: 34px 42px;
    }

    .auth-register-shell,
    .auth-register-shell .auth-login-showcase {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .auth-login-shell {
        width: calc(100% - 24px);
        margin-top: 0;
    }

    .auth-login-showcase-head {
        right: 22px;
        left: 22px;
    }

    .auth-login-brand-caption {
        display: none;
    }

    .auth-login-slide {
        padding: 0 26px 68px;
    }

    .auth-login-carousel-footer {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .auth-login-panel {
        padding: 28px 24px 30px;
    }

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

    .auth-register-panel .auth-login-heading {
        margin-top: 28px;
    }
}

.user-layout,
.admin-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
}

.user-menu,
.admin-menu {
    background: #132238;
    border-radius: 8px;
    padding: 14px;
    align-self: start;
}

.user-menu a,
.admin-menu a {
    display: block;
    color: rgba(255, 255, 255, .86);
    border-radius: 6px;
    padding: 10px 12px;
}

.user-menu a:hover,
.admin-menu a:hover {
    background: rgba(255, 255, 255, .10);
    color: #fff;
    text-decoration: none;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.admin-main .stat-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.stat-grid div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

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

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.settings-page .page-head {
    align-items: flex-start;
    gap: 16px;
}

.settings-tabs {
    margin-top: 14px;
}

.settings-tabs .nav-link {
    color: #475467;
    font-weight: 600;
}

.settings-tabs .nav-link.active {
    color: #0f172a;
}

.settings-tab-content {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    padding: 18px;
}

.setting-item {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.setting-item .form-label {
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state,
.empty-inline {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.company-head {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
}

.shop-storefront {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.shop-info-column {
    min-width: 0;
}

.shop-profile-card {
    position: sticky;
    top: 88px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
}

.shop-profile-heading {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 22px 20px;
    background: linear-gradient(135deg, #eef6ff 0%, #ffffff 72%);
    border-bottom: 1px solid #edf2f7;
}

.shop-profile-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #d9e7f5;
    border-radius: 16px;
    background: #1677ff;
    color: #fff;
    font-size: 26px;
    font-weight: 850;
}

.shop-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-profile-logo > i {
    color: rgba(255, 255, 255, .92);
    font-size: 29px;
}

.shop-profile-title {
    min-width: 0;
}

.shop-profile-title h1 {
    overflow: hidden;
    margin: 0 0 7px;
    color: #10233f;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-profile-title span {
    color: #16a05d;
    font-size: 12px;
    font-weight: 700;
}

.shop-profile-category,
.shop-contact-card,
.shop-qualification {
    margin: 0 20px;
    border-bottom: 1px solid #edf2f7;
}

.shop-profile-category {
    display: grid;
    grid-template-columns: 20px auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 16px 0;
    color: #8492a6;
    font-size: 13px;
}

.shop-profile-category i {
    color: #1677ff;
    font-size: 16px;
}

.shop-profile-category strong {
    overflow: hidden;
    color: #263b58;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-profile-intro {
    min-height: 72px;
    margin: 0 20px;
    padding: 16px 0;
    border-bottom: 1px solid #edf2f7;
    color: #667085;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.shop-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 20px;
    padding: 18px 0;
    border-bottom: 1px solid #edf2f7;
}

.shop-stat-grid div {
    display: grid;
    gap: 5px;
    text-align: center;
}

.shop-stat-grid div + div {
    border-left: 1px solid #edf2f7;
}

.shop-stat-grid strong {
    color: #162d4d;
    font-size: 18px;
    font-weight: 850;
}

.shop-stat-grid span {
    color: #98a2b3;
    font-size: 12px;
}

.shop-contact-card,
.shop-qualification {
    padding: 18px 0;
}

.shop-contact-label,
.shop-section-label {
    margin-bottom: 10px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

.shop-contact-label i,
.shop-section-label i {
    margin-right: 5px;
    color: #1677ff;
}

.shop-contact-phone {
    display: block;
    margin-bottom: 12px;
    color: #162d4d;
    font-size: 17px;
    font-weight: 800;
}

.shop-contact-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1677ff;
    font-size: 13px;
    font-weight: 750;
}

.shop-qualification-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    color: #98a2b3;
    font-size: 13px;
}

.shop-qualification-row strong {
    color: #475467;
    font-weight: 650;
    text-align: right;
}

.shop-qualification-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid #dce9f7;
    border-radius: 8px;
    background: #f8fbff;
    color: #1677ff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.shop-qualification-link span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.shop-qualification-link > i {
    color: #8aa9ca;
    font-size: 12px;
}

.shop-qualification-link:hover {
    border-color: #b8d5f5;
    background: #f1f7ff;
    color: #0958d9;
    text-decoration: none;
}

.qualification-modal-open {
    overflow: hidden;
}

.shop-qualification-modal {
    position: fixed;
    z-index: 1080;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, .56);
}

.shop-qualification-modal[hidden] {
    display: none;
}

.shop-qualification-dialog {
    position: relative;
    width: min(100%, 480px);
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    padding: 28px;
    border: 1px solid #e0e8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

.shop-qualification-dialog-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 42px;
    margin-bottom: 22px;
}

.shop-qualification-dialog-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #1677ff;
    font-size: 21px;
}

.shop-qualification-dialog h2 {
    margin: 5px 0 0;
    color: #142947;
    font-size: 24px;
    font-weight: 850;
}

.shop-qualification-tip {
    display: flex;
    align-items: start;
    gap: 8px;
    margin-bottom: 18px;
    padding: 11px 12px;
    border: 1px solid #d9eaff;
    border-radius: 8px;
    background: #f5f9ff;
    color: #59708b;
    font-size: 12px;
    line-height: 1.6;
}

.shop-qualification-tip i {
    margin-top: 2px;
    color: #1677ff;
}

.shop-captcha-label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.shop-dialog-footnote,
.shop-license-footnote {
    margin: 12px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.7;
}

.shop-qualification-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f4f7fb;
    color: #667085;
}

.shop-qualification-close:hover {
    background: #eaf3ff;
    color: #1677ff;
}

.shop-captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
    margin-bottom: 10px;
}

.shop-captcha-image {
    width: 132px;
    height: 44px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9e2ec;
    border-radius: 6px;
    background: #f7faff;
}

.shop-captcha-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.shop-qualification-error {
    min-height: 22px;
    padding-top: 6px;
    color: #d92d20;
    font-size: 12px;
}

.shop-qualification-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: #1677ff;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(22, 119, 255, .2);
}

.shop-qualification-submit:hover {
    background: #0958d9;
}

.shop-qualification-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.shop-license-preview-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

.shop-license-document {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-license-document-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff5e6;
    color: #d97706;
    font-size: 21px;
}

.shop-license-preview-head h2 {
    margin: 4px 0 0;
    font-size: 21px;
}

.shop-license-document p {
    margin: 3px 0 0;
    color: #98a2b3;
    font-size: 12px;
}

.shop-license-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #039855;
    font-size: 12px;
    font-weight: 800;
}

.shop-license-image-wrap {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #f8fafc;
}

.shop-license-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 58vh;
    object-fit: contain;
}

.shop-license-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.shop-license-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1677ff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.shop-license-download:hover {
    color: #0958d9;
}

.shop-license-close {
    min-width: 72px;
    padding: 8px 14px;
    border: 1px solid #dce3eb;
    border-radius: 7px;
    background: #fff;
    color: #475467;
    font-size: 13px;
}

.shop-license-close:hover {
    border-color: #b8c8d9;
    background: #f8fafc;
}

.shop-license-footnote {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    color: #98a2b3;
    font-size: 11px;
}

@media (max-width: 520px) {
    .shop-qualification-modal {
        align-items: end;
        padding: 0;
    }

    .shop-qualification-dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
        border-radius: 16px 16px 0 0;
    }

    .shop-qualification-dialog h2 {
        font-size: 21px;
    }

    .shop-captcha-row {
        grid-template-columns: minmax(0, 1fr) 118px;
    }

    .shop-captcha-image {
        width: 118px;
    }

    .shop-license-preview-head {
        align-items: center;
    }

    .shop-license-badge {
        padding: 5px 7px;
        font-size: 11px;
    }

    .shop-license-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-license-download,
    .shop-license-close {
        justify-content: center;
        width: 100%;
        min-height: 42px;
    }
}

.shop-profile-card .shop-service-notice {
    display: grid;
    gap: 7px;
    margin: 18px 20px;
    padding: 12px;
    font-size: 12px;
}

.shop-profile-card .shop-service-notice strong {
    color: #344054;
}

.shop-profile-card .shop-service-notice i {
    color: #1677ff;
}

.shop-back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 20px 20px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.shop-back-link:hover {
    color: #1677ff;
}

.shop-products-column {
    min-width: 0;
}

.shop-products-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 16px;
    padding: 4px 2px 16px;
    border-bottom: 1px solid #e5ebf2;
}

.shop-products-eyebrow {
    color: #1677ff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.2px;
}

.shop-products-header h2,
.shop-all-products-head h2 {
    margin: 5px 0 4px;
    color: #142947;
    font-size: 25px;
    font-weight: 850;
}

.shop-products-header p {
    margin: 0;
    color: #98a2b3;
    font-size: 13px;
}

.shop-products-header > a {
    flex: 0 0 auto;
    color: #1677ff;
    font-size: 13px;
    font-weight: 750;
}

.shop-products-total {
    flex: 0 0 auto;
    align-self: center;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.shop-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.shop-products-grid .retail-product-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4e8ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-products-grid .retail-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .09);
}

.shop-products-grid .retail-product-card .product-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 0;
    background: #f5f7fa;
}

.shop-products-grid .retail-product-card .product-thumb img {
    object-fit: contain;
    padding: 12px;
    transition: transform .18s ease;
}

.shop-products-grid .retail-product-card:hover .product-thumb img {
    transform: scale(1.035);
}

.shop-products-grid .retail-product-card .product-body {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    background: #fff;
}

.shop-products-grid .retail-product-title {
    min-height: 44px;
    color: #182230;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.48;
}

.shop-products-grid .retail-product-price-row {
    min-height: 24px;
    padding-top: 2px;
}

.shop-products-grid .retail-product-shop {
    margin-top: 2px;
    padding-top: 10px;
}

.shop-products-grid .retail-buy-btn {
    min-height: 30px;
}

@media (max-width: 760px) {
    .shop-products-total {
        align-self: start;
    }
}

.mall-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 34px;
    margin-bottom: 24px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.mall-hero span {
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
}

.mall-hero h1 {
    max-width: 720px;
    font-size: 34px;
    font-weight: 850;
    line-height: 1.25;
    margin: 10px 0;
}

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

.mall-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mall-hero-stats div {
    background: #f8fbff;
    border: 1px solid #e2ebf7;
    border-radius: 8px;
    padding: 18px;
}

.mall-hero-stats strong {
    display: block;
    color: #111827;
    font-size: 28px;
    font-weight: 850;
}

.mall-hero-stats span {
    color: var(--muted);
    font-size: 13px;
}

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

.mall-category-grid a {
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 4px;
    background: #f8fbff;
    border: 1px solid #e2ebf7;
    border-radius: 8px;
    padding: 14px;
}

.mall-category-grid a:hover,
.product-card a:hover {
    text-decoration: none;
}

.mall-category-grid strong {
    color: #111827;
    font-size: 15px;
}

.mall-category-grid span {
    color: var(--muted);
    font-size: 12px;
}

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

.product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.product-thumb {
    height: 180px;
    display: grid;
    place-items: center;
    background: #eef4fb;
    color: #8793a3;
}

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

.product-grid.mall-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 12px;
}

.mall-products-grid .product-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 124px;
}

.mall-products-grid .product-thumb {
    width: 112px;
    height: 124px;
    border-right: 1px solid #eef2f7;
}

.mall-products-grid .product-thumb img {
    object-fit: contain;
}

.mall-products-grid .product-body {
    display: grid;
    align-content: stretch;
    gap: 6px;
    min-width: 0;
    padding: 10px 12px;
}

.mall-products-grid .product-tags {
    flex-wrap: nowrap;
    overflow: hidden;
}

.mall-products-grid .product-tags span {
    flex: 0 1 auto;
    overflow: hidden;
    max-width: 48%;
    min-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mall-products-grid .product-card h3,
.mall-products-grid .product-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
}

.mall-products-grid .product-card h3 {
    min-height: 0;
    font-size: 15px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}

.mall-products-grid .product-card p {
    min-height: 0;
    font-size: 13px;
    line-height: 1.5;
    -webkit-line-clamp: 1;
}

.mall-products-grid .product-bottom {
    align-self: end;
    padding-top: 8px;
}

.mall-products-grid .product-bottom strong {
    font-size: 17px;
}

.mall-products-grid .empty-state {
    grid-column: 1 / -1;
}

.product-body {
    padding: 14px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    background: #eef6ff;
    border-radius: 999px;
    color: #155eef;
    font-size: 12px;
    font-weight: 750;
    padding: 3px 8px;
}

.product-card h3 {
    min-height: 44px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    margin: 10px 0 6px;
}

.product-card h3 a {
    color: #111827;
}

.product-card p {
    min-height: 42px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #eef2f7;
    padding-top: 12px;
}

.product-bottom strong,
.product-price {
    color: #e85d04;
    font-weight: 850;
}

.product-bottom strong {
    font-size: 18px;
}

.product-bottom a {
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 12px;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.product-gallery {
    min-width: 0;
}

.product-gallery-stage {
    position: relative;
}

.product-main-image,
.product-main-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #eef4fb;
}

.product-main-image {
    object-fit: cover;
    display: block;
}

.product-main-placeholder {
    display: grid;
    place-items: center;
    color: #8793a3;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, .45);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.gallery-arrow:hover {
    background: rgba(17, 24, 39, .62);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 12px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 78px;
    height: 78px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    scroll-snap-align: start;
}

.gallery-thumb.active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(21, 94, 239, .12);
}

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

.product-service-badges {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
    padding: 20px 18px;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    background: #fafafa;
}

.product-service-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9e9e9;
}

.product-service-head strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #333;
    font-size: 14px;
    font-weight: 800;
}

.product-service-head strong i {
    color: #a65a4e;
    font-size: 16px;
}

.product-service-head span {
    color: #999;
    font-size: 12px;
    font-weight: 600;
}

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

.product-service-items span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 5px;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.product-service-items i {
    flex: 0 0 auto;
    color: #a65a4e;
    font-size: 14px;
}

.product-buy-box h1 {
    font-size: 30px;
    font-weight: 850;
    line-height: 1.35;
}

.product-price {
    font-size: 34px;
    margin: 18px 0 6px;
}

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

.product-purchase-box {
    display: grid;
    gap: 16px;
    margin-top: 20px !important;
    padding: 18px;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #fbfdff;
}

.purchase-row {
    display: grid;
    grid-template-columns: 48px minmax(150px, 190px) auto;
    gap: 12px;
    align-items: center;
}

.purchase-label,
.purchase-unit {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 40px minmax(64px, 1fr) 40px;
    overflow: hidden;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    background: #fff;
}

.quantity-stepper button,
.quantity-stepper input {
    min-height: 42px;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.quantity-stepper button {
    color: #263241;
    font-size: 18px;
    font-weight: 900;
}

.quantity-stepper button:hover {
    background: #f3f6fb;
}

.quantity-stepper input {
    border-left: 1px solid #d8e0eb;
    border-right: 1px solid #d8e0eb;
    text-align: center;
    box-shadow: none;
}

.purchase-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.purchase-actions .btn {
    min-height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 900;
    border: 0;
}

.purchase-buy-now {
    color: #fff;
    background: linear-gradient(135deg, #ff7a1a, #e85d04);
    box-shadow: 0 10px 20px rgba(232, 93, 4, .18);
}

.purchase-buy-now:hover {
    color: #fff;
    background: linear-gradient(135deg, #f06d10, #d94f02);
}

.purchase-add-cart {
    color: #fff;
    background: linear-gradient(135deg, #2d8cff, var(--brand));
    box-shadow: 0 10px 20px rgba(21, 94, 239, .16);
}

.purchase-add-cart:hover {
    color: #fff;
    background: linear-gradient(135deg, #217df0, var(--brand-dark));
}

.purchase-actions .btn:disabled {
    color: #fff;
    background: #aab6c6;
    box-shadow: none;
    cursor: not-allowed;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #c9d8f7;
    border-radius: 8px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.cart-link:hover {
    color: var(--brand-dark);
    text-decoration: none;
    background: #f5f8ff;
}

.mall-service-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px !important;
}

.mall-service-links .btn {
    min-height: 38px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.sku-selector {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.sku-spec-title {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.sku-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sku-option {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    min-height: 36px;
    padding: 7px 12px;
}

.sku-option.active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(45, 110, 255, .12);
    color: var(--brand);
}

.sku-thumb {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.collect-preview-head {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.collect-preview-head img {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.collect-preview-head h2 {
    font-size: 22px;
    font-weight: 850;
    line-height: 1.35;
}

.collect-spec-list {
    display: grid;
    gap: 12px;
}

.collect-spec-item {
    display: grid;
    gap: 8px;
}

.seller-workbench {
    align-items: start;
}

.seller-product-page,
.seller-collect-page {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
}

.seller-product-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid #dce8f7;
    border-radius: 8px;
    background: linear-gradient(135deg, #f6fbff 0%, #fff 64%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
    min-width: 0;
    overflow: hidden;
}

.seller-page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e8f2ff;
    color: #155eef;
    font-size: 12px;
    font-weight: 950;
}

.seller-product-head h1 {
    margin: 8px 0 6px;
    color: #111827;
    font-size: 30px;
    font-weight: 950;
}

.seller-product-head p {
    margin: 0;
    color: #657282;
    font-size: 14px;
    font-weight: 700;
}

.seller-head-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.seller-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: start;
}

.seller-product-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.seller-form-card,
.seller-side-card,
.seller-submit-card,
.collect-work-card {
    border: 1px solid #e2eaf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}

.seller-form-card {
    padding: 20px;
}

.seller-card-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.seller-card-title > i {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 8px;
    background: #155eef;
    color: #fff;
    font-size: 18px;
}

.seller-card-title h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 950;
}

.seller-card-title p {
    margin: 3px 0 0;
    color: #7b8794;
    font-size: 13px;
    font-weight: 700;
}

.seller-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.seller-field.span-2 {
    grid-column: 1 / -1;
}

.seller-field .form-label,
.seller-metric span {
    color: #334155;
    font-size: 14px;
    font-weight: 850;
}

.seller-product-page .form-control,
.seller-product-page .form-select,
.seller-collect-page .form-control {
    border-color: #dce5f0;
    border-radius: 8px;
}

.seller-product-page .form-control:focus,
.seller-product-page .form-select:focus,
.seller-collect-page .form-control:focus {
    border-color: #8bb8ff;
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .12);
}

.seller-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.seller-metric {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #f8fbff;
}

.seller-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.seller-upload-box {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 128px;
    padding: 18px;
    border: 1px dashed #b8c8dd;
    border-radius: 8px;
    background: #f8fbff;
    text-align: center;
    cursor: pointer;
}

.seller-upload-box:hover {
    border-color: #155eef;
    background: #f2f7ff;
}

.seller-upload-box input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.seller-upload-box span {
    color: #155eef;
    font-size: 16px;
    font-weight: 950;
}

.seller-upload-box em {
    margin-top: 4px;
    color: #7b8794;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.seller-preview-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.seller-preview-row:empty {
    display: none;
}

.seller-preview-row img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border: 1px solid #e2eaf5;
    border-radius: 8px;
    background: #f8fbff;
}

.rich-source.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.rich-editor {
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 8px;
    background: #fff;
}

.rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    border-bottom: 1px solid #e8eef6;
    background: #f8fbff;
}

.rich-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #dce5f0;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
}

.rich-toolbar button:hover {
    border-color: #155eef;
    color: #155eef;
}

.rich-canvas {
    min-height: 260px;
    padding: 16px;
    outline: none;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.8;
}

.rich-canvas:empty::before {
    color: #98a2b3;
    content: attr(data-placeholder);
}

.rich-canvas h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 950;
}

.rich-canvas p {
    margin: 0 0 10px;
}

.seller-product-aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
}

.seller-side-card,
.seller-submit-card {
    padding: 16px;
}

.seller-side-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 18px;
    font-weight: 950;
}

.seller-side-card p {
    color: #657282;
    font-size: 13px;
    line-height: 1.7;
}

.seller-check-list {
    display: grid;
    gap: 10px;
}

.seller-check-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475467;
    font-size: 13px;
    font-weight: 800;
}

.seller-check-list i {
    color: #12b76a;
}

.seller-submit-card {
    display: grid;
    gap: 10px;
}

.collect-hero {
    background: linear-gradient(135deg, #edf6ff 0%, #fff 58%, #fff7f7 100%);
}

.collect-work-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    padding: 22px;
    min-width: 0;
    overflow: hidden;
}

.collect-work-main h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 22px;
    font-weight: 950;
}

.collect-work-main {
    min-width: 0;
}

.collect-url-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-width: 0;
}

.collect-url-input {
    position: relative;
    min-width: 0;
}

.collect-url-input i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #155eef;
    transform: translateY(-50%);
}

.collect-url-input .form-control {
    min-height: 48px;
    padding-left: 42px;
    min-width: 0;
}

.collect-flow {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.collect-flow span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: #475467;
    font-size: 13px;
    font-weight: 850;
}

.collect-flow b {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #155eef;
    color: #fff;
    font-size: 12px;
}

.collect-record-table .cart-product img {
    border-radius: 8px;
}

.collect-record-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.collect-record-table .table {
    margin-bottom: 0;
    table-layout: fixed;
}

.collect-record-list th:nth-child(1),
.collect-record-list td:nth-child(1) {
    width: 88px;
}

.collect-record-list th:nth-child(3),
.collect-record-list td:nth-child(3) {
    width: 92px;
}

.collect-record-list th:nth-child(4),
.collect-record-list td:nth-child(4) {
    width: 160px;
}

.collect-record-list th:nth-child(5),
.collect-record-list td:nth-child(5) {
    width: 112px;
}

.collect-record-table .cart-product {
    min-width: 0;
    align-items: flex-start;
}

.collect-record-title,
.collect-record-table .form-text {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}

.collect-source-badge,
.collect-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.collect-source-badge {
    background: #eef6ff;
    color: #155eef;
}

.collect-status.imported {
    background: #ecfdf3;
    color: #067647;
}

.collect-status.ready {
    background: #eef6ff;
    color: #155eef;
}

.collect-status.failed {
    background: #fff1f0;
    color: #c92828;
}

.collect-status.pending {
    background: #f2f4f7;
    color: #667085;
}

@media (max-width: 640px) {
    .collect-preview-head {
        grid-template-columns: 1fr;
    }

    .collect-preview-head img {
        width: 100%;
        max-width: 220px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .seller-product-head,
    .seller-product-layout,
    .seller-field-grid,
    .seller-metric-grid,
    .seller-upload-grid,
    .collect-work-card,
    .collect-url-form {
        grid-template-columns: 1fr;
    }

    .seller-product-head {
        display: grid;
    }

    .seller-product-aside {
        position: static;
    }
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-product img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.cart-qty-form {
    display: flex;
    gap: 6px;
    max-width: 160px;
}

.address-options {
    display: grid;
    gap: 10px;
}

.address-option {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 2px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

.address-option input {
    grid-row: span 2;
    margin-top: 4px;
}

.address-option span {
    color: var(--muted);
}

.checkout-shop {
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}

.checkout-shop h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
}

.checkout-total {
    text-align: right;
    color: #e85d04;
    font-size: 22px;
    font-weight: 850;
}

.site-footer {
    margin-top: 46px;
    color: #667085;
    background:
        radial-gradient(circle at 12% 20%, rgba(21, 94, 239, .08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-top: 1px solid #e5edf7;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(140px, .7fr) minmax(140px, .7fr) minmax(280px, 1.15fr);
    gap: 34px;
    padding: 38px 0 28px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    color: #152033;
    font-size: 22px;
    font-weight: 850;
    margin-bottom: 12px;
}

.footer-logo::before {
    content: "";
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1f6bff, #74a7ff);
    box-shadow: 0 12px 22px rgba(31, 107, 255, .24);
    margin-right: 10px;
}

.footer-logo:hover,
.footer-col a:hover,
.license-tags a:hover {
    text-decoration: none;
}

.footer-brand p {
    max-width: 380px;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badges span,
.license-tags span,
.license-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dce7f5;
    color: #2563eb;
    font-size: 12px;
    font-weight: 750;
    padding: 5px 10px;
}

.footer-col h3,
.footer-license h3 {
    color: #1f2937;
    font-size: 15px;
    font-weight: 850;
    margin: 2px 0 14px;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-col a {
    color: #667085;
    font-size: 14px;
}

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

.footer-license {
    background: rgba(255, 255, 255, .72);
    border: 1px solid #e1eaf6;
    border-radius: 14px;
    padding: 18px;
}

.license-line {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px dashed #d8e3f2;
    padding: 8px 0;
}

.license-line span {
    color: #98a2b3;
    font-size: 12px;
}

.license-line strong {
    color: #475467;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.license-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.footer-bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #e3ebf5;
    color: #98a2b3;
    font-size: 13px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

/* About and mall introduction pages */
.about-page,
.mall-introduction-page {
    display: grid;
    gap: 22px;
}

.about-hero,
.mall-introduction-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 220px;
    padding: 38px 42px;
    background: #fff;
}

.mall-introduction-hero {
    display: block;
}

.about-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: #8b6252;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
}

.about-hero h1,
.mall-introduction-hero h1 {
    margin: 0 0 12px;
    color: #1f2328;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
}

.about-hero p,
.mall-introduction-hero p {
    max-width: 680px;
    margin: 0;
    color: #69717c;
    font-size: 16px;
    line-height: 1.8;
}

.about-hero-mark {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 8px;
    background: #1f2328;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.about-content {
    display: grid;
    gap: 16px;
}

.about-section,
.about-aside,
.mall-introduction-content {
    background: #fff;
    padding: 28px 30px;
}

.about-section + .about-section {
    border-top: 1px solid #eef0f2;
}

.about-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.about-section-title span {
    color: #a46b57;
    font-size: 12px;
    font-weight: 900;
}

.about-section-title h2 {
    margin: 0;
    color: #22262b;
    font-size: 22px;
    font-weight: 900;
}

.about-section h3 {
    margin: 0 0 14px;
    color: #1f2328;
    font-size: 24px;
    font-weight: 900;
}

.about-section .content-body,
.mall-introduction-content .content-body {
    color: #525a64;
    font-size: 15px;
    line-height: 1.9;
}

.about-highlight {
    margin-top: 18px;
    padding: 18px 20px;
    background: #f8f9fb;
}

.about-highlight strong {
    display: block;
    margin-bottom: 8px;
    color: #252a30;
    font-size: 14px;
}

.about-highlight p,
.about-muted {
    margin: 0;
    color: #69717c;
    line-height: 1.8;
}

.about-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #1f2328;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.about-more-link:hover {
    color: #000;
    text-decoration: none;
}

.about-aside {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 0;
}

.about-info-block {
    display: grid;
    gap: 6px;
    padding: 14px 0;
}

.about-info-block + .about-info-block {
    border-top: 1px solid #eef0f2;
}

.about-info-block span {
    color: #969da6;
    font-size: 12px;
}

.about-info-block strong,
.about-info-block a {
    color: #343a42;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.mall-introduction-content {
    max-width: 920px;
}

.mall-introduction-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mall-introduction-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 16px;
    background: #1f2328;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.mall-introduction-links a + a {
    background: #f0f2f4;
    color: #30353b;
}

.agreement-page {
    display: grid;
    gap: 22px;
}

.agreement-hero {
    padding: 38px 42px;
    background: #fff;
}

.agreement-hero h1 {
    margin: 0 0 10px;
    color: #1f2328;
    font-size: 34px;
    font-weight: 900;
}

.agreement-hero p {
    margin: 0;
    color: #69717c;
    font-size: 15px;
}

.agreement-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.agreement-content,
.agreement-aside {
    background: #fff;
}

.agreement-content {
    padding: 28px 32px 36px;
}

.agreement-notice {
    margin-bottom: 24px;
    padding: 15px 17px;
    border-left: 3px solid #9e6958;
    background: #faf7f5;
}

.agreement-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #49332c;
    font-size: 13px;
}

.agreement-notice p {
    margin: 0;
    color: #766b66;
    font-size: 12px;
    line-height: 1.7;
}

.agreement-content .content-body {
    color: #4f565e;
    font-size: 14px;
    line-height: 1.9;
}

.agreement-content .content-body h1 {
    display: none;
}

.agreement-content .content-body h2 {
    margin: 25px 0 10px;
    color: #272c31;
    font-size: 18px;
    font-weight: 850;
}

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

.agreement-content .content-body p {
    margin: 0 0 12px;
}

.agreement-content .content-body ul {
    margin: 0 0 15px;
    padding-left: 22px;
}

.agreement-content .content-body li {
    margin-bottom: 6px;
}

.agreement-aside {
    position: sticky;
    top: 88px;
    padding: 22px;
}

.agreement-aside h2 {
    margin: 0 0 16px;
    color: #292e34;
    font-size: 17px;
    font-weight: 850;
}

.agreement-aside dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.agreement-aside dt {
    margin-top: 12px;
    color: #969da5;
    font-size: 11px;
}

.agreement-aside dd {
    margin: 4px 0 0;
    color: #464d55;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.agreement-aside dd a {
    color: #464d55;
    text-decoration: none;
}

.agreement-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    color: #252a30;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 992px) {
    .agreement-layout {
        grid-template-columns: 1fr;
    }

    .agreement-aside {
        position: static;
    }
}

@media (max-width: 576px) {
    .agreement-hero,
    .agreement-content,
    .agreement-aside {
        padding: 22px 18px;
    }

    .agreement-hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-aside {
        position: static;
    }
}

@media (max-width: 576px) {
    .about-hero,
    .mall-introduction-hero,
    .about-section,
    .about-aside,
    .mall-introduction-content {
        padding: 22px 18px;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-mark {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .about-hero h1,
    .mall-introduction-hero h1 {
        font-size: 28px;
    }
}

/* Desktop storefront footer */
.site-footer {
    margin-top: 56px;
    border-top: 1px solid #e8eaed;
    background: #fff;
    color: #777d85;
}

.footer-service-band {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(190px, 1fr));
    align-items: center;
    gap: 24px;
    min-height: 104px;
    border-bottom: 1px solid #eceef0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    color: #1c2025;
    font-size: 22px;
    font-weight: 900;
}

.footer-logo::before {
    width: 30px;
    height: 30px;
    margin-right: 9px;
    border-radius: 5px;
    background: #1c2025;
    box-shadow: none;
}

.footer-brand p {
    max-width: 360px;
    margin: 0;
    color: #8b9198;
    font-size: 13px;
    line-height: 1.6;
}

.footer-service-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.footer-service-item > i {
    color: #737a82;
    font-size: 25px;
}

.footer-service-item div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.footer-service-item strong {
    color: #353a40;
    font-size: 13px;
    font-weight: 800;
}

.footer-service-item span {
    overflow: hidden;
    color: #999fa6;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    padding: 32px 0 28px;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-col h3,
.footer-license h3 {
    margin: 0 0 4px;
    color: #30353b;
    font-size: 14px;
    font-weight: 850;
}

.footer-col a,
.footer-col button {
    color: #7d838b;
    font-size: 13px;
    text-decoration: none;
}

.footer-col a:hover,
.footer-col button:hover,
.footer-col button:focus-visible {
    color: #20252a;
    outline: 0;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.footer-contact-link i {
    color: #898f96;
}

.site-service-contact-trigger {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.footer-operation-col p {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    color: #8e949b;
    font-size: 12px;
    line-height: 1.5;
}

.footer-operation-col p span {
    color: #a1a6ac;
}

.footer-operation-col p strong {
    color: #5e646b;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.footer-legal {
    padding: 18px 0 22px;
    border-top: 1px solid #eceef0;
}

.footer-legal-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: #80868e;
    font-size: 12px;
    line-height: 1.8;
}

.footer-legal-line a {
    color: #70777f;
    text-decoration: none;
}

.footer-license-link {
    font-weight: 600;
}

.footer-legal-line a:hover {
    color: #1c2025;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 42px;
    margin-top: 10px;
    padding-top: 13px;
    border-top: 1px solid #f0f1f2;
    color: #a0a5ab;
    font-size: 11px;
}

@media (max-width: 992px) {
    .footer-service-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 22px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-main {
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .nav-main {
        gap: 0;
    }

    .nav-main .nav-link {
        padding: 10px 12px;
    }

    .task-hero {
        grid-template-columns: 1fr;
        padding-top: 16px;
    }

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

    .hero-task-card {
        min-height: 230px;
    }

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

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

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

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

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

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand,
    .footer-license {
        grid-column: 1 / -1;
    }

    .home-hero {
        padding: 28px;
    }

    .home-hero h1 {
        font-size: 30px;
    }

    .filter-bar,
    .user-layout,
    .admin-layout {
        grid-template-columns: 1fr;
    }

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

    .detail-summary {
        grid-template-columns: 1fr;
    }

    .detail-summary-main:first-child {
        grid-column: auto;
    }

    .detail-summary-panels {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-summary-block + .detail-summary-block {
        border-top: 1px solid #eef2f7;
        border-left: 0;
        padding-top: 16px;
        padding-left: 0;
    }

    .hall-head {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 24px;
    }

    .hall-card {
        grid-template-columns: 1fr;
    }

    .hall-card-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .stat-grid,
    .admin-main .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-grid,
    .image-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        grid-template-columns: 1fr;
    }

    .info-actions {
        min-width: 0;
        justify-items: start;
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    main {
        padding-top: 16px !important;
    }

    main > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        overflow: hidden;
    }

    .task-hero {
        gap: 16px;
        max-width: 100%;
        min-width: 0;
    }

    .hero-copy {
        max-width: 100%;
        min-width: 0;
        padding: 4px 0;
    }

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

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

    .hero-actions .btn {
        width: 100%;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-task-card {
        max-width: 100%;
        min-width: 0;
        padding: 20px;
    }

    .hero-illustration {
        opacity: .58;
        right: -8px;
        bottom: 16px;
        transform: scale(.82);
        transform-origin: right bottom;
    }

    .hero-search {
        position: relative;
        z-index: 1;
    }

    .home-category-strip,
    .task-grid,
    .mall-category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-grid.mall-products-grid {
        grid-template-columns: 1fr;
    }

    .mall-products-grid .product-card {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 108px;
    }

    .mall-products-grid .product-thumb {
        width: 92px;
        height: 108px;
    }

    .mall-products-grid .product-body {
        padding: 9px 10px;
    }

    .mall-hero {
        padding: 20px;
    }

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

    .mall-product-page .product-buy-box h1 {
        font-size: 19px;
    }

    .purchase-row {
        grid-template-columns: 44px minmax(0, 1fr) auto;
    }

    .purchase-actions,
    .mall-service-links {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-title > a {
        align-self: flex-start;
    }

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

    .cms-section-title {
        align-items: start;
    }

    .cms-item,
    .cms-item:nth-child(2n),
    .cms-item:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #eef2f7;
    }

    .cms-item:last-child {
        border-bottom: 0;
    }

    .task-section-title {
        align-items: start;
    }

    .task-card {
        max-width: 100%;
        min-width: 0;
        min-height: 0;
    }

    .task-card-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .task-card-bottom a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .task-meta {
        flex-wrap: wrap;
    }

    .notice-ticker {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 0 12px;
    }

    .notice-ticker strong {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 0 22px;
    }

    .footer-license,
    .footer-brand {
        grid-column: auto;
    }

    .license-line {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .footer-contact {
        justify-content: flex-start;
    }

    .hall-head {
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        padding: 20px;
    }

    .hall-head h1 {
        font-size: 28px;
    }

    .hall-head p {
        overflow-wrap: anywhere;
    }

    .hall-head .btn {
        width: 100%;
    }

    .hall-filter,
    .hall-results,
    .hall-list,
    .hall-card,
    .hall-card-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hall-filter {
        overflow: hidden;
        padding: 14px;
    }

    .hall-search {
        grid-template-columns: 1fr;
    }

    .hall-search button,
    .hall-search a {
        width: 100%;
    }

    .hall-filter-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hall-filter-label {
        line-height: 1.4;
    }

    .hall-filter-chips {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hall-chip {
        justify-content: center;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hall-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hall-card {
        padding: 16px;
    }

    .hall-card-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .detail-summary,
    .detail-article,
    .detail-side-card {
        padding: 16px;
    }

    .detail-summary-main h1 {
        font-size: 24px;
    }

    .detail-title-row {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 10px;
    }

    .icon-action {
        width: 40px;
        height: 40px;
    }

    .detail-meta {
        flex-direction: column;
        gap: 6px;
    }

    .detail-summary-gallery .detail-image-grid {
        grid-template-columns: 1fr;
    }

    .publisher-profile {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .publisher-avatar {
        width: 42px;
        height: 42px;
    }

    .detail-contact-list {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 9px 10px;
        padding: 12px;
    }

    .contact-locked,
    .quote-action-note {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .lock-icon,
    .quote-note-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .modal-form-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .modal-form-actions .btn {
        width: 100%;
    }
}

/* Mall dashboard storefront refresh */
.mall-home-page {
    background: linear-gradient(180deg, #dff4ff 0%, #f7fcff 46%, #f6f8fb 100%);
}

.mall-home-page #think_page_trace,
.mall-home-page #think_page_trace_open {
    display: none !important;
}

.mall-home-page main > .container {
    width: 100%;
    max-width: 1366px;
    padding-right: 0;
    padding-left: 0;
}

.mall-home-dashboard {
    gap: 0;
    min-height: 100vh;
    padding-top: 0;
    background: linear-gradient(180deg, rgba(213, 242, 255, .78) 0%, rgba(248, 253, 255, .96) 56%, #f6f8fb 100%);
}

.mall-home-dashboard .mall-home-top {
    grid-template-columns: minmax(220px, 320px) minmax(280px, 1fr) 128px;
    min-height: 102px;
    padding: 18px 34px 16px;
    border-radius: 0;
    background: linear-gradient(100deg, #0f6fff 0%, #2489ff 54%, #65c2ff 100%);
    box-shadow: none;
}

.mall-home-dashboard .mall-home-brand {
    min-width: 0;
    gap: 12px;
}

.mall-home-dashboard .brand-shield {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    border-color: rgba(255, 255, 255, .72);
    color: #116dff;
    box-shadow: 0 12px 28px rgba(0, 79, 184, .22);
}

.mall-home-dashboard .mall-home-brand strong {
    overflow: hidden;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0, 74, 174, .18);
    white-space: nowrap;
}

.mall-home-dashboard .mall-home-brand strong::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
}

.mall-home-dashboard .mall-home-search {
    width: min(474px, 100%);
    min-height: 48px;
    grid-template-columns: 50px minmax(0, 1fr) 50px;
    box-shadow: 0 16px 32px rgba(4, 63, 134, .20);
}

.mall-home-dashboard .mall-home-search span {
    width: 50px;
    height: 48px;
}

.mall-home-dashboard .mall-home-search button {
    width: 50px;
    height: 48px;
}

.mall-home-dashboard .mall-home-search span::before {
    left: 18px;
    top: 15px;
}

.mall-home-dashboard .mall-home-search span::after {
    left: 29px;
    top: 27px;
}

.mall-home-dashboard .mall-home-search button::before {
    left: 17px;
    top: 14px;
}

.mall-home-dashboard .mall-home-search button::after {
    left: 30px;
    top: 28px;
}

.mall-home-dashboard .mall-home-actions {
    gap: 16px;
}

.mall-home-dashboard .mall-home-actions a {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 30px;
    box-shadow: none;
}

.mall-home-dashboard .mall-home-actions a:hover {
    background: rgba(255, 255, 255, .16);
}

.mall-home-dashboard .mall-home-nav {
    justify-content: center;
    gap: clamp(22px, 7vw, 96px);
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 18px rgba(29, 84, 134, .12);
}

.mall-home-dashboard .mall-home-nav a,
.mall-home-dashboard .mall-home-nav button {
    gap: 8px;
    min-height: 44px;
    color: #232c37;
    font-size: 16px;
    font-weight: 850;
}

.mall-home-dashboard .mall-home-nav a span,
.mall-service-strip a span {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border: 2px solid #d6eefc;
    border-radius: 50%;
    background: #bde2fb;
    box-shadow: inset 0 0 0 2px #eef9ff;
}

.mall-home-dashboard .mall-home-main {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 20px 16px 0;
    min-width: 0;
}

.mall-home-dashboard .mall-user-sidebar {
    top: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 570px;
    padding: 10px 0 16px;
    border: 1px solid #dff0fb;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(39, 112, 171, .12);
}

.mall-home-dashboard .mall-user-sidebar a {
    min-width: 0;
    justify-content: center;
    min-height: 50px;
    padding: 0 12px;
    overflow: hidden;
    color: #3d4652;
    font-size: 16px;
    font-weight: 650;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mall-home-dashboard .mall-user-sidebar .sidebar-title {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 0;
    color: #172033;
    font-weight: 900;
}

.mall-home-dashboard .mall-user-sidebar .sidebar-title i {
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    place-items: center;
    border-radius: 6px;
    background: #1f7cff;
    color: #fff;
    font-size: 13px;
}

.mall-dashboard-grid {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(360px, .83fr) minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
}

.mall-dashboard-left,
.mall-dashboard-right {
    display: grid;
    align-content: start;
    gap: 16px;
    min-width: 0;
}

.mall-member-panel {
    min-height: 150px;
    padding: 26px 34px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(110deg, #096bff 0%, #1c82ff 50%, #56bbff 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(18, 104, 223, .20);
}

.member-profile {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 24px;
}

.member-avatar {
    width: 94px;
    height: 94px;
    flex: 0 0 auto;
    display: grid;
    overflow: hidden;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    background: #f2f7ff;
    box-shadow: 0 14px 26px rgba(3, 63, 143, .18);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-avatar span {
    color: #1974ef;
    font-size: 36px;
    font-weight: 900;
}

.member-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
}

.member-title em {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ffe08a;
    color: #9f6a00;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    font-weight: 800;
}

.member-meta strong {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.mall-benefit-panel {
    position: relative;
    min-height: 200px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    overflow: hidden;
    padding: 48px 20px 24px;
    border: 1px solid #dbeefa;
    border-radius: 8px;
    background: linear-gradient(110deg, rgba(232, 249, 255, .86) 0%, #fff 72%);
    box-shadow: 0 18px 34px rgba(39, 112, 171, .12);
}

.benefit-ribbon {
    position: absolute;
    top: 20px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 16px;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #0f73ff, #258bff);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.benefit-item {
    display: grid;
    grid-template-columns: 58px minmax(0, auto);
    justify-content: center;
    align-items: center;
    min-height: 104px;
    gap: 18px;
    color: #0d63d6;
    text-decoration: none;
}

.benefit-item + .benefit-item {
    border-left: 1px solid #d9ecfb;
}

.benefit-item:hover {
    color: #084fba;
    text-decoration: none;
}

.benefit-item span,
.data-overview > span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 8px;
    background: #e8f4ff;
    color: #1574ef;
    font-size: 30px;
}

.benefit-item strong {
    color: #0c5fcf;
    font-size: 26px;
    font-weight: 900;
}

.mall-data-panel {
    display: grid;
    align-content: start;
    gap: 16px;
}

.data-overview {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) repeat(2, minmax(80px, auto));
    align-items: center;
    min-height: 104px;
    gap: 18px;
    padding: 20px 24px;
    border: 1px solid #e0eff9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(38, 111, 170, .10);
}

.data-overview strong {
    color: #1d314f;
    font-size: 21px;
    font-weight: 900;
}

.data-overview div {
    min-width: 0;
}

.data-overview em {
    display: block;
    color: #96a3b2;
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
}

.data-overview b {
    color: #1e73e8;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.order-state-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.order-state-grid a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 76px;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid #e2eff9;
    border-radius: 8px;
    background: #fff;
    color: #263241;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(38, 111, 170, .10);
}

.order-state-grid a:hover {
    color: #116dff;
    text-decoration: none;
}

.order-state-grid i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 2px solid #2579e7;
    border-radius: 50%;
    color: #2579e7;
    font-size: 15px;
}

.order-state-grid span {
    overflow: hidden;
    font-size: 16px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-state-grid b {
    justify-self: end;
    color: #9aa6b6;
    font-size: 14px;
    font-weight: 850;
}

.mall-product-panel {
    display: grid;
    align-content: start;
    gap: 8px;
}

.mall-service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 40px;
    overflow: hidden;
    border: 1px solid #e0eff9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(38, 111, 170, .09);
}

.mall-service-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 8px;
    padding: 0 8px;
    color: #3d4652;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.mall-service-strip a:hover {
    color: #116dff;
    text-decoration: none;
}

.mall-home-dashboard .mall-home-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.mall-home-dashboard .mall-mini-product {
    position: relative;
    min-height: 152px;
    padding: 14px 10px 10px;
    border: 1px solid #ddecf8;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(38, 111, 170, .10);
}

.mall-home-dashboard .mall-mini-product::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 12px;
    width: 18px;
    height: 18px;
    border: 2px solid #7e8895;
    border-radius: 50%;
    background: #fff;
}

.mall-home-dashboard .mini-thumb {
    width: 100%;
    height: 88px;
    aspect-ratio: auto;
    background: #fff;
}

.mall-home-dashboard .mini-thumb img {
    object-fit: contain;
}

.mall-home-dashboard .mini-title {
    min-height: 18px;
    margin: 5px 0 6px;
    color: #334155;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    -webkit-line-clamp: 1;
}

.mall-home-dashboard .mini-price {
    justify-content: center;
    gap: 6px;
}

.mall-home-dashboard .mini-price strong {
    color: #0c5fcf;
    font-size: 16px;
}

.mall-home-dashboard .mini-price span {
    min-height: 20px;
    padding: 0 7px;
    background: linear-gradient(135deg, #1b7dff, #49a9ff);
    color: #fff;
    font-size: 11px;
}

.mall-home-dashboard .mall-product-placeholder {
    border-style: dashed;
    background: rgba(255, 255, 255, .62);
}

.mall-home-dashboard .mall-product-placeholder::after {
    display: none;
}

.mall-home-dashboard .mall-product-placeholder .mini-thumb {
    background: linear-gradient(180deg, #f4faff 0%, #eef6fd 100%);
    color: #8da2b7;
}

.mall-home-dashboard .mall-product-placeholder .mini-price strong {
    color: #8da2b7;
    font-size: 13px;
}

.mall-home-dashboard .mall-product-placeholder .mini-price span {
    background: #e8f1fb;
    color: #7f96ad;
}

.mall-home-dashboard .mall-home-section {
    padding: 18px 16px 0;
}

@media (max-width: 1180px) {
    .mall-home-dashboard .mall-home-top {
        grid-template-columns: minmax(180px, 260px) minmax(260px, 1fr) 112px;
    }

    .mall-home-dashboard .mall-home-brand strong {
        font-size: 28px;
    }

    .mall-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .mall-home-dashboard .mall-home-top {
        grid-template-columns: 1fr;
        justify-items: stretch;
        min-height: 0;
        gap: 14px;
    }

    .mall-home-dashboard .mall-home-search {
        justify-self: stretch;
    }

    .mall-home-dashboard .mall-home-actions {
        justify-self: start;
    }

    .mall-home-dashboard .mall-home-main {
        grid-template-columns: 1fr;
    }

    .mall-home-dashboard .mall-user-sidebar {
        position: static;
        min-height: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .mall-home-dashboard .mall-user-sidebar .sidebar-title {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .mall-home-dashboard .mall-home-nav {
        justify-content: flex-start;
        gap: 26px;
    }

    .mall-home-dashboard .mall-user-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .data-overview {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .data-overview div {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mall-benefit-panel,
    .order-state-grid,
    .mall-service-strip,
    .mall-home-dashboard .mall-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-item + .benefit-item {
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .mall-home-page main > .container {
        overflow: hidden;
    }

    .mall-home-dashboard {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .mall-home-dashboard .mall-home-top,
    .mall-home-dashboard .mall-home-main,
    .mall-home-dashboard .mall-home-section {
        padding-right: 12px;
        padding-left: 12px;
    }

    .mall-home-dashboard .mall-user-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mall-home-dashboard .mall-home-brand strong {
        font-size: 24px;
    }

    .mall-home-dashboard .mall-home-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        min-height: 0;
        padding: 6px 0;
        overflow: visible;
        white-space: normal;
    }

    .mall-home-dashboard .mall-home-nav a {
        justify-content: center;
        min-width: 0;
        min-height: 32px;
        gap: 4px;
        font-size: 13px;
    }

    .mall-member-panel {
        padding: 20px;
    }

    .member-profile {
        align-items: flex-start;
        gap: 16px;
    }

    .member-avatar {
        width: 68px;
        height: 68px;
    }

    .member-title {
        font-size: 22px;
    }

    .member-meta {
        gap: 12px;
        margin-top: 12px;
        font-size: 13px;
    }

    .benefit-item {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
        text-align: center;
    }

    .benefit-item strong {
        font-size: 18px;
    }

    .order-state-grid a {
        grid-template-columns: 32px minmax(0, 1fr);
        padding: 0 12px;
    }

    .order-state-grid b {
        grid-column: 2;
        justify-self: start;
    }

    .mall-service-strip a {
        font-size: 13px;
    }
}

/* Mall real storefront layout */
.mall-home-storefront .mall-home-nav {
    justify-content: center;
    gap: clamp(18px, 3vw, 44px);
    padding: 0 26px;
}

.mall-home-storefront .mall-home-main {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

.mall-home-storefront .mall-category-sidebar {
    top: 14px;
    align-self: stretch;
    min-height: 0;
    padding: 10px 0 14px;
    border: 1px solid #dff0fb;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(39, 112, 171, .12);
}

.mall-home-storefront .mall-category-sidebar .sidebar-title {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 18px;
    border-bottom: 1px solid #edf6fc;
    color: #172033;
    font-size: 18px;
    font-weight: 900;
}

.mall-home-storefront .mall-category-sidebar .sidebar-title i {
    display: inline-grid;
    width: 22px;
    height: 22px;
    margin-right: 9px;
    place-items: center;
    border-radius: 6px;
    background: #1f7cff;
    color: #fff;
    font-size: 13px;
}

.mall-home-storefront .mall-category-sidebar a {
    min-height: 42px;
    padding: 0 18px;
    overflow: hidden;
    color: #303b49;
    font-size: 15px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mall-home-storefront .mall-category-sidebar a.is-child {
    padding-left: 34px;
    color: #657282;
    font-size: 14px;
    font-weight: 750;
}

.mall-home-storefront .mall-category-sidebar a.is-child::before {
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    background: #e53935;
    content: "";
}

.mall-storefront-board {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .52fr);
    align-items: stretch;
    gap: 16px;
    min-width: 0;
}

.mall-storefront-primary,
.mall-storefront-side {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.mall-storefront-primary {
    grid-template-rows: 1fr;
}

.mall-storefront-side {
    grid-template-rows: minmax(132px, .95fr) minmax(0, 1.05fr);
}

.mall-storefront-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 18px;
    height: 100%;
    min-height: 330px;
    overflow: hidden;
    padding: 28px 34px;
    border-radius: 8px;
    background: linear-gradient(110deg, #0d6dff 0%, #2388ff 54%, #58bdff 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(18, 104, 223, .20);
}

.mall-storefront-hero span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.mall-storefront-hero h1 {
    margin: 14px 0 10px;
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
}

.mall-storefront-hero p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 16px;
    line-height: 1.8;
}

.storefront-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.storefront-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    background: #fff;
    color: #126de9;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(7, 39, 102, .20);
}

.storefront-actions a + a {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .36);
    color: #fff;
}

.storefront-actions a:hover {
    text-decoration: none;
}

.mall-home-storefront .banner-goods {
    min-height: 180px;
}

.mall-business-panel,
.mall-info-panel {
    overflow: hidden;
    border: 1px solid #dbeefa;
    border-radius: 8px;
    background: linear-gradient(110deg, rgba(232, 249, 255, .88) 0%, #fff 78%);
    box-shadow: 0 18px 34px rgba(39, 112, 171, .12);
}

.mall-business-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    min-height: 0;
    padding: 42px 16px 16px;
}

.storefront-ribbon {
    position: absolute;
    top: 16px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 16px;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #0f73ff, #258bff);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.business-link {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    color: #0c5fcf;
    text-align: center;
    text-decoration: none;
}

.business-link + .business-link {
    border-left: 1px solid #d9ecfb;
}

.business-link:hover {
    color: #084fba;
    text-decoration: none;
}

.business-link span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: #e8f4ff;
    color: #1574ef;
    font-size: 22px;
}

.business-link strong {
    color: #0c5fcf;
    font-size: 20px;
    font-weight: 900;
}

.business-link em {
    color: #7e8da0;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.mall-info-panel {
    padding: 14px;
}

.info-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.info-panel-head h2 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 900;
}

.info-panel-head a {
    color: #126de9;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.info-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.info-category-list a {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid #e4f0fa;
    border-radius: 8px;
    background: #fff;
    color: #303b49;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(38, 111, 170, .07);
}

.info-category-list a:hover {
    color: #126de9;
    text-decoration: none;
}

.mall-home-storefront .mall-home-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mall-home-storefront .mall-service-strip {
    margin-bottom: 8px;
}

.mall-home-storefront .mall-mini-product {
    min-height: 170px;
}

.category-product-list {
    display: grid;
    gap: 18px;
}

.category-product-module {
    padding: 18px;
    border: 1px solid #dbeefa;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 28px rgba(38, 111, 170, .08);
}

.category-product-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.category-product-head h3 {
    margin: 0;
    color: #172033;
    font-size: 20px;
    font-weight: 900;
}

.category-product-head a {
    color: #126de9;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.category-product-head a:hover {
    text-decoration: none;
}

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

.home-latest-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-product-card {
    overflow: hidden;
    min-width: 0;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-product-card:hover {
    border-color: rgba(229, 57, 53, .34);
    box-shadow: 0 18px 34px rgba(15, 23, 42, .11);
    transform: translateY(-3px);
}

.home-product-card a {
    text-decoration: none;
}

.home-product-thumb {
    position: relative;
    display: grid;
    place-items: center;
    height: 188px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    color: #9aa7b8;
    font-size: 13px;
    font-weight: 800;
}

.home-product-thumb img {
    width: auto;
    height: auto;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    object-fit: contain;
    transition: transform .18s ease;
}

.home-product-card:hover .home-product-thumb img {
    transform: scale(1.035);
}

.home-product-body {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.home-product-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    color: #151b26;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-title:hover,
.home-shop-name:hover {
    color: #e53935;
}

.home-product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.home-product-price-row strong {
    overflow: hidden;
    color: #e53935;
    font-size: 20px;
    font-weight: 950;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-product-price-row span {
    flex: 0 0 auto;
    color: #8b95a5;
    font-size: 12px;
    font-weight: 750;
}

.home-product-shop {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}

.home-shop-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b57 0%, #d92727 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 14px rgba(229, 57, 53, .22);
}

.home-shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-shop-name {
    overflow: hidden;
    color: #5f6b7a;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 14px rgba(229, 57, 53, .22);
}

.home-buy-btn:hover {
    background: #c92828;
    color: #fff;
}

.category-product-grid .product-card,
.home-latest-product-grid .product-card {
    min-width: 0;
}

.category-product-grid .product-thumb,
.home-latest-product-grid .product-thumb {
    height: 170px;
    overflow: hidden;
}

.category-product-grid .product-thumb img,
.home-latest-product-grid .product-thumb img {
    object-fit: contain;
}

.category-product-grid .product-body,
.home-latest-product-grid .product-body {
    padding: 12px;
}

.category-product-grid .product-tags,
.category-product-grid .product-card p,
.home-latest-product-grid .product-tags,
.home-latest-product-grid .product-card p {
    display: none;
}

.category-product-grid .product-card h3,
.home-latest-product-grid .product-card h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-product-grid .product-bottom,
.home-latest-product-grid .product-bottom {
    padding-top: 10px;
}

.home-latest-product-grid .empty-state {
    grid-column: 1 / -1;
}

.style-zone {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 16px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #dcecf8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .07);
}

.style-zone-banner {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 286px;
    overflow: hidden;
    padding: 30px;
    color: #0f172a;
}

.style-zone-banner::after {
    position: absolute;
    right: -34px;
    bottom: -26px;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    content: "";
}

.style-zone-banner span {
    width: max-content;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #0b4db5;
    font-size: 12px;
    font-weight: 950;
    line-height: 26px;
}

.style-zone-banner h2 {
    position: relative;
    z-index: 1;
    margin: 12px 0 8px;
    color: #0f172a;
    font-size: 32px;
    font-weight: 950;
    line-height: 1.12;
}

.style-zone-banner p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #334155;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.6;
}

.style-zone-banner a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 38px;
    margin-top: 22px;
    padding: 0 18px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 12px 22px rgba(229, 57, 53, .25);
}

.style-zone-banner a:hover {
    background: #c92828;
    color: #fff;
    text-decoration: none;
}

.style-zone-men .style-zone-banner {
    background: linear-gradient(135deg, #d9ecff 0%, #f7fbff 62%, #ffffff 100%);
}

.style-zone-women .style-zone-banner {
    background: linear-gradient(135deg, #ffe4ee 0%, #fff7fb 62%, #ffffff 100%);
}

.style-zone-shoes .style-zone-banner {
    background: linear-gradient(135deg, #dff7ff 0%, #f6fdff 60%, #ffffff 100%);
}

.style-zone-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
    padding: 16px;
}

.style-product-card {
    display: grid;
    align-content: start;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8eef6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.style-product-card:hover {
    border-color: rgba(229, 57, 53, .28);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .10);
    transform: translateY(-2px);
}

.style-product-card a {
    text-decoration: none;
}

.style-product-thumb {
    display: grid;
    place-items: center;
    height: 150px;
    overflow: hidden;
    background: #f6f9fd;
    color: #9aa7b8;
    font-size: 13px;
    font-weight: 850;
}

.style-product-thumb img {
    width: auto;
    height: auto;
    max-width: calc(100% - 18px);
    max-height: calc(100% - 18px);
    object-fit: contain;
}

.style-product-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 40px;
    margin: 10px 12px 8px;
    color: #172033;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.style-product-title:hover {
    color: #e53935;
}

.style-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 12px 12px;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}

.style-product-bottom strong {
    overflow: hidden;
    color: #e53935;
    font-size: 18px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.style-product-bottom a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff1f0;
    color: #e53935;
    font-size: 13px;
    font-weight: 900;
}

.style-product-bottom a:hover {
    background: #e53935;
    color: #fff;
}

.style-zone-products .empty-state {
    grid-column: 1 / -1;
}

@media (max-width: 1180px) {
    .mall-storefront-board {
        grid-template-columns: 1fr;
    }

    .mall-storefront-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }
}

@media (max-width: 992px) {
    .mall-home-storefront .mall-home-main {
        grid-template-columns: 1fr;
    }

    .mall-storefront-hero {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .mall-home-storefront .mall-category-sidebar {
        position: static;
        align-self: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .mall-home-storefront .mall-category-sidebar .sidebar-title {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .mall-storefront-side {
        grid-template-columns: 1fr;
    }

    .mall-home-storefront .mall-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-product-grid,
    .home-latest-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .style-zone {
        grid-template-columns: 1fr;
    }

    .style-zone-banner {
        min-height: 180px;
    }

    .style-zone-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-thumb {
        height: 168px;
    }
}

@media (max-width: 520px) {
    .mall-home-storefront .mall-home-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mall-home-storefront .mall-category-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mall-storefront-hero {
        min-height: 0;
        padding: 22px;
    }

    .mall-storefront-hero h1 {
        font-size: 30px;
    }

    .mall-home-storefront .banner-goods {
        display: none;
    }

    .mall-business-panel,
    .info-category-list,
    .mall-home-storefront .mall-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .business-link strong {
        font-size: 18px;
    }

    .category-product-module {
        padding: 14px;
    }

    .category-product-grid,
    .home-latest-product-grid {
        gap: 12px;
    }

    .style-zone-banner {
        padding: 22px;
    }

    .style-zone-products {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .home-product-body {
        padding: 10px;
    }

    .home-product-shop {
        grid-template-columns: 26px minmax(0, 1fr);
    }

    .home-buy-btn {
        grid-column: 1 / -1;
    }
}

/* Mobile mall home */
.mall-mobile-home-page {
    background: #eef8ff;
}

.mall-mobile-home-page main > .container {
    max-width: 100%;
    padding: 0;
}

.mall-mobile-home-page .site-footer {
    display: none;
}

.mobile-mall-home {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 10px calc(78px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #d9f3ff 0%, #f7fbff 48%, #f5f7fb 100%);
}

.mobile-home-head {
    display: grid;
    gap: 14px;
    margin: 0 -10px;
    padding: 20px 14px 18px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(135deg, #1271ff 0%, #238bff 58%, #63c3ff 100%);
    color: #fff;
}

.mobile-home-brand {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.mobile-home-brand:hover {
    color: #fff;
    text-decoration: none;
}

.mobile-home-brand span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    color: #126fff;
    font-size: 20px;
    font-weight: 950;
}

.mobile-home-brand strong {
    overflow: hidden;
    font-size: 28px;
    font-weight: 950;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-home-search {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    min-height: 56px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(5, 69, 148, .18);
}

.mobile-home-search i {
    display: grid;
    place-items: center;
    color: #7b8ca6;
    font-size: 22px;
}

.mobile-home-search input {
    min-width: 0;
    height: 56px;
    border: 0;
    outline: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
}

.mobile-home-search input::placeholder {
    color: #7a8798;
}

.mobile-home-search button {
    width: 38px;
    height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    align-items: center;
    gap: 12px;
    min-height: 162px;
    overflow: hidden;
    padding: 20px 18px;
    border-radius: 8px;
    background: linear-gradient(130deg, #106dff 0%, #2c91ff 58%, #66c8ff 100%);
    color: #fff;
    box-shadow: 0 16px 28px rgba(16, 109, 255, .20);
}

.mobile-hero-card span {
    display: inline-flex;
    width: max-content;
    min-height: 24px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: 12px;
    font-weight: 900;
}

.mobile-hero-card h1 {
    margin: 10px 0 6px;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    line-height: 1.16;
}

.mobile-hero-card p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 750;
}

.mobile-hero-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #126fff;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
}

.mobile-hero-art {
    position: relative;
    height: 116px;
}

.mobile-hero-art i,
.mobile-hero-art b,
.mobile-hero-art em {
    position: absolute;
    display: block;
    border-radius: 16px;
    background: rgba(255, 255, 255, .22);
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .18);
}

.mobile-hero-art i {
    right: 34px;
    top: 18px;
    width: 54px;
    height: 82px;
}

.mobile-hero-art b {
    right: 0;
    top: 30px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
}

.mobile-hero-art em {
    right: 58px;
    top: 44px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.mobile-home-section,
.mobile-style-zone {
    display: grid;
    gap: 10px;
    padding: 14px 0 0;
}

.mobile-section-head,
.mobile-zone-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.mobile-section-head h2,
.mobile-zone-head h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.2;
}

.mobile-section-head a,
.mobile-zone-head a {
    flex: 0 0 auto;
    color: #126fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

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

.mobile-product-card,
.mobile-zone-product {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4edf7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .06);
}

.mobile-product-card a,
.mobile-zone-product a {
    text-decoration: none;
}

.mobile-product-thumb,
.mobile-zone-thumb {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f8fc;
    color: #96a3b4;
    font-size: 12px;
    font-weight: 800;
}

.mobile-product-thumb img,
.mobile-zone-thumb img {
    width: auto;
    height: auto;
    max-width: calc(100% - 14px);
    max-height: calc(100% - 14px);
    object-fit: contain;
}

.mobile-product-info {
    display: grid;
    gap: 7px;
    padding: 9px;
}

.mobile-product-title,
.mobile-zone-title {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mobile-product-info strong,
.mobile-zone-product strong {
    overflow: hidden;
    color: #e53935;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-shop-line {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #657282;
}

.mobile-shop-line img,
.mobile-shop-line span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b57 0%, #d92727 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.mobile-shop-line img {
    object-fit: cover;
}

.mobile-shop-line em {
    overflow: hidden;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-pagination {
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.mobile-zone-head {
    align-items: center;
    padding: 13px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .05);
}

.mobile-zone-head span {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #126fff;
    font-size: 11px;
    font-weight: 950;
}

.mobile-zone-head p {
    margin: 4px 0 0;
    color: #657282;
    font-size: 12px;
    font-weight: 750;
}

.mobile-style-men .mobile-zone-head {
    background: linear-gradient(135deg, #eef7ff 0%, #fff 100%);
}

.mobile-style-women .mobile-zone-head {
    background: linear-gradient(135deg, #fff1f6 0%, #fff 100%);
}

.mobile-style-shoes .mobile-zone-head {
    background: linear-gradient(135deg, #effcff 0%, #fff 100%);
}

.mobile-zone-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mobile-zone-product {
    display: grid;
    gap: 7px;
    padding-bottom: 10px;
}

.mobile-zone-title,
.mobile-zone-product strong {
    margin-right: 9px;
    margin-left: 9px;
}

.mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #e3edf8;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, .10);
}

.mobile-bottom-nav a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    color: #64748b;
    text-decoration: none;
}

.mobile-bottom-nav a i {
    font-size: 21px;
    line-height: 1;
}

.mobile-bottom-nav a span {
    overflow: hidden;
    max-width: 100%;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-bottom-nav a.active {
    color: #126fff;
}

.mobile-bottom-nav a.active i {
    transform: translateY(-1px);
}

@media (min-width: 521px) {
    .mall-mobile-home-page .mobile-mall-home {
        border-right: 1px solid #dcecf8;
        border-left: 1px solid #dcecf8;
    }
}

@media (max-width: 360px) {
    .mobile-hero-card {
        grid-template-columns: 1fr;
    }

    .mobile-hero-art {
        display: none;
    }
}

/* Mobile category channel */
.mall-mobile-category-page main > .container {
    max-width: 100%;
    padding: 0;
}

.mobile-category-page {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 10px calc(78px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #f7fbf1 0%, #ffffff 36%, #f6f8fb 100%);
}

.mobile-category-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    margin: 0 -10px;
    padding: 8px 12px;
    border-bottom: 1px solid #edf2f7;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
}

.mobile-category-topbar > a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #111827;
    font-size: 22px;
    text-decoration: none;
}

.mobile-category-topbar form {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    min-height: 38px;
    overflow: hidden;
    border: 1px solid #dfe8f2;
    border-radius: 999px;
    background: #fff;
}

.mobile-category-topbar form i {
    display: grid;
    place-items: center;
    color: #64748b;
    font-size: 16px;
}

.mobile-category-topbar input {
    min-width: 0;
    height: 38px;
    border: 0;
    outline: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 700;
}

.mobile-category-hero {
    min-height: 128px;
    margin: 0 -10px;
    padding: 34px 14px 20px;
    background:
        radial-gradient(circle at 72% 30%, rgba(161, 215, 121, .32), transparent 36%),
        linear-gradient(135deg, #fffdf4 0%, #eff8dc 100%);
}

.mobile-category-hero-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #111827;
    text-decoration: none;
}

.mobile-category-hero-link h1 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 29px;
    font-weight: 950;
    line-height: 1.12;
}

.mobile-category-hero-link p {
    margin: 0;
    color: #334155;
    font-size: 15px;
    font-weight: 750;
}

.mobile-category-hero-link > i {
    color: #7f946a;
    font-size: 22px;
}

.mobile-category-icons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: -24px;
    padding: 12px 8px;
    border: 1px solid #edf1e8;
    border-radius: 8px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 24px rgba(83, 105, 58, .10);
}

.mobile-category-icons.secondary {
    margin-top: 0;
    box-shadow: 0 10px 20px rgba(83, 105, 58, .07);
}

.mobile-category-icons a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 54px;
    color: #1f2937;
    text-decoration: none;
}

.mobile-category-icons a i {
    color: #151515;
    font-size: 24px;
    line-height: 1;
}

.mobile-category-icons a span {
    overflow: hidden;
    max-width: 100%;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-category-icons a.active span {
    color: #6f963d;
}

.mobile-category-tags {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 4px;
    scrollbar-width: none;
}

.mobile-category-tags::-webkit-scrollbar {
    display: none;
}

.mobile-category-tags a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(83, 105, 58, .06);
}

.mobile-category-tags a.active {
    color: #6f963d;
}

.mobile-category-featured,
.mobile-category-goods {
    display: grid;
    gap: 10px;
}

.mobile-category-title {
    display: flex;
    justify-content: center;
}

.mobile-category-title h2 {
    margin: 10px 0 0;
    color: #111827;
    font-size: 20px;
    font-weight: 950;
}

.mobile-editor-picks {
    display: grid;
    grid-template-columns: 76px repeat(3, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
    min-height: 118px;
}

.editor-label,
.mobile-editor-picks a {
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fcf2 0%, #eef8dd 100%);
}

.editor-label {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    color: #111827;
}

.editor-label span {
    font-size: 17px;
    font-weight: 950;
    line-height: 1.2;
}

.editor-label i {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #7ca846;
}

.mobile-editor-picks a {
    display: grid;
    place-items: center;
    color: #96a3b4;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-editor-picks img {
    width: auto;
    height: auto;
    max-width: calc(100% - 6px);
    max-height: calc(100% - 6px);
    object-fit: contain;
}

.mobile-category-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.mobile-category-price del {
    overflow: hidden;
    color: #9098a4;
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 360px) {
    .mobile-category-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mobile-editor-picks {
        grid-template-columns: 72px repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .shop-storefront {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 16px;
    }

    .shop-profile-heading {
        padding: 18px 16px;
    }

    .shop-profile-logo {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 14px;
        font-size: 22px;
    }

    .shop-profile-title h1 {
        font-size: 17px;
    }

    .shop-profile-category,
    .shop-contact-card,
    .shop-qualification,
    .shop-profile-intro,
    .shop-stat-grid {
        margin-left: 16px;
        margin-right: 16px;
    }

    .shop-profile-card .shop-service-notice {
        margin-left: 16px;
        margin-right: 16px;
    }

    .shop-back-link {
        margin-left: 16px;
        margin-right: 16px;
    }

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

/* Commerce member center */
.member-center-page {
    background: #fbf8f5;
    padding: 36px 0 64px;
}

.member-center-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.member-center-heading,
.member-section-heading,
.member-order-row,
.member-service-list a {
    display: flex;
    align-items: center;
}

.member-center-heading,
.member-section-heading {
    justify-content: space-between;
    gap: 20px;
}

.member-center-heading {
    margin-bottom: 22px;
}

.member-eyebrow {
    display: block;
    color: #b27762;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.member-center-heading h1,
.member-section-heading h2,
.member-welcome h2 {
    margin: 5px 0 0;
    color: #3d2c27;
    font-weight: 800;
}

.member-center-heading h1 {
    font-size: 30px;
}

.member-center-heading p,
.member-welcome p {
    margin: 6px 0 0;
    color: #927d75;
    font-size: 13px;
}

.member-heading-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.member-text-action,
.member-profile-link,
.member-section-heading a {
    color: #a15f4b;
    text-decoration: none;
}

.member-text-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

.member-profile-link {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #eadbd4;
    border-radius: 50%;
    background: #fff;
    font-size: 16px;
}

.member-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 154px;
    margin-bottom: 18px;
    padding: 28px 34px;
    border-radius: 10px;
    background: #ead6c9;
    color: #4a3028;
}

.member-welcome h2 {
    font-size: 27px;
}

.member-welcome .member-eyebrow {
    color: #9b624f;
}

.member-welcome-avatar {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border: 5px solid rgba(255, 255, 255, .68);
    border-radius: 50%;
    background: #fffaf7;
    color: #a15f4b;
    font-size: 27px;
    font-weight: 800;
}

.member-asset-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.member-asset-card,
.member-order-overview,
.member-panel {
    border: 1px solid #ecdfd8;
    border-radius: 8px;
    background: #fff;
}

.member-asset-card {
    display: block;
    min-height: 124px;
    padding: 20px;
    color: #4c3933;
    text-decoration: none;
}

.member-asset-card:hover,
.member-order-status-grid a:hover,
.member-service-list a:hover {
    background: #fffaf7;
    color: #8d4f3e;
    text-decoration: none;
}

.member-asset-card span,
.member-asset-card small {
    display: block;
    color: #927d75;
    font-size: 12px;
}

.member-asset-card strong {
    display: block;
    margin: 12px 0 6px;
    color: #4c3028;
    font-size: 25px;
    line-height: 1;
}

.member-asset-card-main {
    background: #fff1e9;
}

.member-asset-card-main strong {
    color: #b45e43;
    font-size: 28px;
}

.member-order-overview,
.member-panel {
    padding: 24px;
}

.member-section-heading {
    margin-bottom: 18px;
}

.member-section-heading h2 {
    font-size: 19px;
}

.member-section-heading > a {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
}

.member-order-status-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid #f0e7e2;
}

.member-order-status-grid a {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-height: 106px;
    padding: 19px 10px 12px;
    color: #65514a;
    text-decoration: none;
}

.member-order-status-grid a + a {
    border-left: 1px solid #f0e7e2;
}

.member-order-status-grid i {
    color: #b8755d;
    font-size: 20px;
}

.member-order-status-grid strong {
    color: #4a332d;
    font-size: 20px;
}

.member-order-status-grid span {
    color: #9a8881;
    font-size: 12px;
}

.member-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.member-order-list,
.member-service-list {
    border-top: 1px solid #f0e7e2;
}

.member-order-row {
    gap: 12px;
    min-width: 0;
    padding: 15px 2px;
    border-bottom: 1px solid #f0e7e2;
    color: #4c3933;
    text-decoration: none;
}

.member-order-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 7px;
    background: #fff1e9;
    color: #b8755d;
}

.member-order-info,
.member-order-amount {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.member-order-info {
    flex: 1 1 auto;
}

.member-order-info strong,
.member-order-amount strong {
    overflow: hidden;
    color: #4b3934;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-order-info small,
.member-order-amount small {
    color: #a19089;
    font-size: 11px;
}

.member-order-amount {
    justify-items: end;
}

.member-order-amount strong {
    color: #b45e43;
}

.member-row-chevron {
    color: #c2aaa0;
}

.member-empty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 26px 2px 8px;
    color: #9a8881;
    font-size: 13px;
}

.member-empty-row i {
    color: #c9947e;
    font-size: 20px;
}

.member-empty-row a {
    margin-left: auto;
    color: #a15f4b;
    font-weight: 700;
    text-decoration: none;
}

.member-service-list a {
    gap: 12px;
    min-height: 54px;
    border-bottom: 1px solid #f0e7e2;
    color: #5e4a43;
    text-decoration: none;
}

.member-service-list a > i:first-child {
    width: 20px;
    color: #b8755d;
    text-align: center;
}

.member-service-list a > i:last-child {
    margin-left: auto;
    color: #c2aaa0;
}

.member-service-list span {
    display: grid;
    gap: 3px;
}

.member-service-list strong {
    font-size: 13px;
}

.member-service-list small {
    color: #a19089;
    font-size: 11px;
}

/* Mobile commerce account surfaces */
.mall-mobile-page {
    --mobile-bg: #f6f7f9;
    --mobile-ink: #17191d;
    --mobile-muted: #7d8490;
    --mobile-line: #eceef1;
    background: var(--mobile-bg);
}

.mall-mobile-page main {
    min-height: 0;
    padding: 0 !important;
}

.mall-mobile-page main > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.mall-mobile-page .site-nav,
.mall-mobile-page .site-footer {
    display: none;
}

.mobile-account-page {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 12px calc(82px + env(safe-area-inset-bottom));
    color: var(--mobile-ink);
}

.mobile-account-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    min-height: 56px;
    margin: 0 -12px 12px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--mobile-line);
    background: rgba(246, 247, 249, .96);
    backdrop-filter: blur(12px);
}

.mobile-account-topbar a,
.mobile-account-topbar > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--mobile-ink);
    font-size: 20px;
    text-decoration: none;
}

.mobile-account-topbar h1 {
    margin: 0;
    overflow: hidden;
    color: var(--mobile-ink);
    font-size: 18px;
    font-weight: 850;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-cart-list,
.mobile-order-list,
.mobile-address-list {
    display: grid;
    gap: 10px;
}

.mobile-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 92px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid var(--mobile-line);
    border-radius: 8px;
    background: #fff;
}

.mobile-cart-check {
    width: 18px;
    height: 18px;
    margin-top: 38px;
    accent-color: #111;
}

.mobile-cart-thumb,
.mobile-detail-thumb {
    display: grid;
    min-width: 0;
    aspect-ratio: 1 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f4f6;
    color: #a4aab3;
    font-size: 12px;
    text-decoration: none;
}

.mobile-cart-thumb img,
.mobile-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-cart-info {
    min-width: 0;
    padding-right: 24px;
}

.mobile-cart-title,
.mobile-cart-shop,
.mobile-cart-sku {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-cart-title {
    color: var(--mobile-ink);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.mobile-cart-shop,
.mobile-cart-sku {
    margin-top: 4px;
    color: var(--mobile-muted);
    font-size: 12px;
}

.mobile-cart-sku {
    color: #a0a5ad;
}

.mobile-cart-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
}

.mobile-cart-bottom strong,
.mobile-cart-subtotal,
.mobile-detail-total strong {
    color: #d94b27;
    font-weight: 850;
}

.mobile-cart-bottom strong {
    font-size: 16px;
}

.mobile-cart-subtotal {
    margin-top: 5px;
    color: #9b6a5d;
    font-size: 12px;
    text-align: right;
}

.mobile-qty-form {
    display: grid;
    grid-template-columns: 26px 34px 26px;
    height: 28px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
}

.mobile-qty-form button,
.mobile-qty-form input {
    width: 100%;
    min-width: 0;
    height: 26px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #363a40;
    font-size: 15px;
    text-align: center;
}

.mobile-qty-form input {
    border-right: 1px solid #e1e4e8;
    border-left: 1px solid #e1e4e8;
    font-size: 12px;
    outline: 0;
}

.mobile-cart-delete {
    position: absolute;
    top: 10px;
    right: 9px;
    margin: 0;
}

.mobile-cart-delete button {
    padding: 4px;
    border: 0;
    background: transparent;
    color: #a7adb5;
    font-size: 15px;
}

.mobile-cart-submitbar {
    position: fixed;
    right: 0;
    bottom: calc(58px + env(safe-area-inset-bottom));
    left: 0;
    z-index: 1029;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 9px max(12px, calc((100vw - 520px) / 2 + 12px));
    border-top: 1px solid var(--mobile-line);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 20px rgba(20, 25, 32, .08);
}

.mobile-cart-submitbar label,
.mobile-check-label {
    color: #656c75;
    font-size: 13px;
}

.mobile-cart-submitbar input,
.mobile-check-label input {
    accent-color: #111;
}

.mobile-primary-action,
.mobile-outline-action,
.mobile-outline-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #17191d;
    border-radius: 4px;
    background: #17191d;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-primary-action:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.mobile-outline-action,
.mobile-outline-danger {
    border-color: #dfe2e5;
    background: #fff;
    color: #3c424a;
}

.mobile-outline-danger {
    border-color: #f0cfc8;
    color: #bf4b35;
}

.mobile-empty-state {
    display: grid;
    justify-items: center;
    padding: 92px 20px 60px;
    color: var(--mobile-muted);
    text-align: center;
}

.mobile-empty-state.compact {
    padding: 72px 20px 40px;
}

.mobile-empty-state > i {
    color: #c7cbd1;
    font-size: 48px;
}

.mobile-empty-state h2 {
    margin: 18px 0 6px;
    color: #363a40;
    font-size: 18px;
    font-weight: 800;
}

.mobile-empty-state p {
    margin: 0 0 20px;
    font-size: 13px;
}

.mobile-order-tabs {
    display: flex;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--mobile-line);
}

.mobile-order-tabs a {
    position: relative;
    padding: 8px 4px 12px;
    color: #777e88;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-order-tabs a.active {
    color: #17191d;
}

.mobile-order-tabs a.active::after {
    position: absolute;
    right: 4px;
    bottom: -1px;
    left: 4px;
    height: 2px;
    background: #17191d;
    content: "";
}

.mobile-order-card,
.mobile-detail-section,
.mobile-form-section {
    border: 1px solid var(--mobile-line);
    border-radius: 8px;
    background: #fff;
}

.mobile-order-card {
    padding: 14px;
}

.mobile-order-head,
.mobile-order-meta,
.mobile-order-total,
.mobile-detail-total,
.mobile-address-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mobile-order-head {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--mobile-line);
    font-size: 13px;
}

.mobile-order-head i {
    color: #898f97;
}

.mobile-order-head strong {
    color: #bd542f;
    font-size: 13px;
}

.mobile-order-meta {
    margin-top: 12px;
    color: #9298a0;
    font-size: 11px;
}

.mobile-order-total {
    margin-top: 17px;
    color: #737a83;
    font-size: 12px;
}

.mobile-order-total strong {
    color: #d94b27;
    font-size: 18px;
}

.mobile-order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.mobile-order-actions .mobile-primary-action,
.mobile-order-actions .mobile-outline-action {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
}

.mobile-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.mobile-section-heading h2 {
    margin: 0;
    color: #282c31;
    font-size: 16px;
    font-weight: 850;
}

.mobile-section-heading span {
    color: #9ba1a9;
    font-size: 11px;
}

.mobile-form-section,
.mobile-address-list,
.mobile-member-section {
    margin-bottom: 12px;
}

.mobile-form-section,
.mobile-member-section {
    padding: 16px 14px;
}

.mobile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
}

.mobile-form-grid label {
    display: grid;
    gap: 6px;
    color: #727983;
    font-size: 12px;
    font-weight: 700;
}

.mobile-form-grid label.full {
    grid-column: 1 / -1;
}

.mobile-form-grid input {
    width: 100%;
    min-height: 40px;
    padding: 0 11px;
    border: 1px solid #e2e5e8;
    border-radius: 4px;
    outline: 0;
    color: #24282d;
    font-size: 13px;
}

.mobile-form-grid input:focus {
    border-color: #969da5;
}

.mobile-address-list {
    display: grid;
    gap: 10px;
}

.mobile-address-card {
    position: relative;
    padding: 14px;
    border: 1px solid var(--mobile-line);
    border-radius: 8px;
    background: #fff;
}

.mobile-address-head strong {
    color: #24282d;
    font-size: 15px;
}

.mobile-address-head span {
    margin-right: auto;
    color: #737a82;
    font-size: 12px;
}

.mobile-address-head em {
    padding: 2px 7px;
    border-radius: 3px;
    background: #f8e8e3;
    color: #b6533a;
    font-size: 11px;
    font-style: normal;
}

.mobile-address-card p {
    margin: 10px 0 10px;
    padding-right: 40px;
    color: #5f6670;
    font-size: 13px;
    line-height: 1.6;
}

.mobile-text-action {
    padding: 0;
    border: 0;
    background: transparent;
    color: #a46d62;
    font-size: 12px;
}

.mobile-member-head {
    margin: 0 -12px 12px;
    padding: 12px 18px 24px;
    background: #1b1d20;
    color: #fff;
}

.mobile-member-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
}

.mobile-member-topline a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.mobile-member-topline strong {
    font-size: 16px;
}

.mobile-member-profile {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
}

.mobile-member-avatar {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: #1b1d20;
    font-size: 22px;
    font-weight: 900;
}

.mobile-member-profile h1 {
    margin: 0 0 5px;
    font-size: 21px;
    font-weight: 850;
}

.mobile-member-profile p {
    margin: 0;
    color: #b8bdc4;
    font-size: 12px;
}

.mobile-member-assets {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    margin-bottom: 12px;
    border: 1px solid #eaded8;
    border-radius: 8px;
    background: #fff1e9;
}

.mobile-member-assets > div,
.mobile-member-assets > a {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 15px 12px;
    color: #6d5045;
    text-decoration: none;
}

.mobile-member-assets > a + a {
    border-left: 1px solid #eadbd4;
}

.mobile-member-assets span {
    overflow: hidden;
    color: #9b7d72;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-member-assets strong {
    overflow: hidden;
    color: #a9573d;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-member-orders {
    background: #fff;
}

.mobile-section-heading a {
    color: #a15f4b;
    font-size: 11px;
    text-decoration: none;
}

.mobile-member-order-status {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--mobile-line);
}

.mobile-member-order-status a {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 13px 3px 4px;
    color: #5e4a43;
    text-decoration: none;
}

.mobile-member-order-status a + a {
    border-left: 1px solid var(--mobile-line);
}

.mobile-member-order-status i {
    color: #b8755d;
    font-size: 18px;
}

.mobile-member-order-status strong {
    color: #4b3731;
    font-size: 17px;
}

.mobile-member-order-status span {
    color: #9a8881;
    font-size: 10px;
}

.mobile-member-recent-orders {
    border-top: 1px solid var(--mobile-line);
}

.mobile-member-recent-orders > a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--mobile-line);
    color: var(--mobile-ink);
    text-decoration: none;
}

.mobile-recent-order-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 6px;
    background: #fff1e9;
    color: #b8755d;
}

.mobile-member-recent-orders > a > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.mobile-member-recent-orders strong,
.mobile-member-recent-orders small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-member-recent-orders strong {
    color: #4b3934;
    font-size: 12px;
}

.mobile-member-recent-orders small {
    color: #a19089;
    font-size: 10px;
}

.mobile-member-recent-orders b {
    display: grid;
    justify-items: end;
    gap: 3px;
    color: #b45e43;
    font-size: 12px;
    font-weight: 800;
}

.mobile-member-recent-orders em {
    color: #9a8881;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
}

.mobile-member-empty {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 24px 0 10px;
    color: #9a8881;
    font-size: 12px;
}

.mobile-member-empty i {
    color: #c9947e;
    font-size: 20px;
}

.mobile-member-empty a {
    margin-left: auto;
    color: #a15f4b;
    font-weight: 700;
    text-decoration: none;
}

.mobile-member-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
    border: 1px solid var(--mobile-line);
    border-radius: 8px;
    background: #fff;
}

.mobile-member-quick a {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 16px 5px;
    color: #272b30;
    text-decoration: none;
}

.mobile-member-quick a + a {
    border-left: 1px solid var(--mobile-line);
}

.mobile-member-quick i {
    color: #6c727a;
    font-size: 21px;
}

.mobile-member-quick strong {
    font-size: 12px;
}

.mobile-member-quick span {
    color: #9a9fa6;
    font-size: 10px;
}

.mobile-member-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--mobile-line);
    border-radius: 6px;
}

.mobile-member-menu a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 52px;
    padding: 0 10px;
    background: #fff;
    color: #343940;
    text-decoration: none;
}

.mobile-member-menu a:nth-child(odd) {
    border-right: 1px solid var(--mobile-line);
}

.mobile-member-menu a:nth-child(n + 3) {
    border-top: 1px solid var(--mobile-line);
}

.mobile-member-menu i {
    color: #7c838b;
    font-size: 17px;
}

.mobile-member-menu span {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-member-menu b {
    color: #b2b6bd;
    font-size: 19px;
    font-weight: 400;
}

.mobile-member-menu em {
    min-width: 17px;
    padding: 2px 5px;
    border-radius: 9px;
    background: #d94b27;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    text-align: center;
}

@media (max-width: 900px) and (min-width: 681px) {
    .member-asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-asset-card-main {
        grid-column: 1 / -1;
    }

    .member-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .member-center-page {
        padding: 20px 0 34px;
    }

    .member-center-shell {
        width: min(100% - 24px, 520px);
    }

    .member-center-heading {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .member-center-heading h1 {
        font-size: 24px;
    }

    .member-center-heading p {
        font-size: 12px;
    }

    .member-text-action {
        font-size: 0;
    }

    .member-text-action i {
        font-size: 18px;
    }

    .member-welcome {
        min-height: 126px;
        padding: 22px 20px;
    }

    .member-welcome h2 {
        font-size: 21px;
    }

    .member-welcome p {
        max-width: 210px;
        line-height: 1.55;
    }

    .member-welcome-avatar {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .member-asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-asset-card {
        min-height: 106px;
        padding: 15px;
    }

    .member-asset-card-main {
        grid-column: 1 / -1;
    }

    .member-asset-card strong,
    .member-asset-card-main strong {
        font-size: 22px;
    }

    .member-order-overview,
    .member-panel {
        padding: 17px 14px;
    }

    .member-section-heading {
        margin-bottom: 13px;
    }

    .member-section-heading h2 {
        font-size: 17px;
    }

    .member-order-status-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .member-order-status-grid a {
        min-height: 88px;
        padding: 13px 2px 8px;
    }

    .member-order-status-grid i {
        font-size: 17px;
    }

    .member-order-status-grid strong {
        font-size: 17px;
    }

    .member-order-status-grid span {
        font-size: 10px;
    }

    .member-content-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .member-order-row {
        gap: 8px;
    }

    .member-order-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}

.mobile-logout-form {
    margin-top: 14px;
}

.mobile-logout-form button {
    width: 100%;
    min-height: 44px;
    border: 1px solid #e2e4e7;
    border-radius: 5px;
    background: #fff;
    color: #8d6260;
    font-size: 13px;
}

.mobile-order-status {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 -12px 12px;
    padding: 24px 22px;
    background: #1b1d20;
    color: #fff;
}

.mobile-order-status > i {
    font-size: 30px;
}

.mobile-order-status div {
    display: grid;
    gap: 4px;
}

.mobile-order-status strong {
    font-size: 18px;
}

.mobile-order-status span {
    color: #b8bdc4;
    font-size: 12px;
}

.mobile-detail-section {
    margin-bottom: 12px;
    padding: 16px 14px;
}

.mobile-address-summary {
    display: flex;
    gap: 12px;
}

.mobile-address-summary > i {
    color: #9a6255;
    font-size: 19px;
}

.mobile-address-summary strong {
    font-size: 13px;
}

.mobile-address-summary p {
    margin: 6px 0 0;
    color: #747b83;
    font-size: 12px;
    line-height: 1.55;
}

.mobile-detail-product {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-top: 1px solid var(--mobile-line);
}

.mobile-detail-product > div:nth-child(2) {
    min-width: 0;
}

.mobile-detail-product strong,
.mobile-detail-product span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-detail-product strong {
    font-size: 13px;
}

.mobile-detail-product span {
    margin-top: 4px;
    color: #9da2a9;
    font-size: 11px;
}

.mobile-detail-product p {
    margin: 6px 0 0;
    color: #7b8188;
    font-size: 11px;
}

.mobile-detail-product > b {
    color: #3b4046;
    font-size: 12px;
    font-weight: 750;
}

.mobile-detail-total {
    margin-top: 8px;
    padding-top: 13px;
    border-top: 1px solid var(--mobile-line);
    color: #727982;
    font-size: 12px;
}

.mobile-pay-actions,
.mobile-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-order-info {
    color: #8b9199;
    font-size: 11px;
    line-height: 1.8;
}

.mobile-order-info p {
    margin: 0;
}

.mobile-detail-actions {
    justify-content: flex-end;
    margin-bottom: 12px;
}

.mobile-login-page {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 24px 40px;
    background: #fff;
}

.mobile-login-back {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #202327;
    font-size: 21px;
    text-decoration: none;
}

.mobile-login-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
}

.mobile-login-brand span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 7px;
    background: #1b1d20;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.mobile-login-brand strong {
    color: #1b1d20;
    font-size: 18px;
    font-weight: 900;
}

.mobile-login-copy {
    margin-top: 42px;
}

.mobile-login-copy span {
    color: #9b6255;
    font-size: 13px;
    font-weight: 800;
}

.mobile-login-copy h1 {
    margin: 10px 0 8px;
    color: #1b1d20;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.25;
}

.mobile-login-copy p,
.mobile-login-note {
    color: #8b9199;
    font-size: 12px;
    line-height: 1.6;
}

.mobile-login-form {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.mobile-login-form label {
    display: grid;
    gap: 8px;
    color: #535960;
    font-size: 12px;
    font-weight: 800;
}

.mobile-login-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 0;
    border-bottom: 1px solid #dfe2e5;
    outline: 0;
    color: #22262b;
    font-size: 15px;
}

.mobile-login-form input:focus {
    border-bottom-color: #1b1d20;
}

.mobile-password-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    border-bottom: 1px solid #dfe2e5;
}

.mobile-password-input input {
    border: 0;
}

.mobile-password-input button {
    border: 0;
    background: transparent;
    color: #9ca2a9;
    font-size: 18px;
}

.mobile-login-form > .mobile-primary-action {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
}

.mobile-login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 12px;
}

.mobile-login-links a {
    color: #787f87;
    text-decoration: none;
}

.mobile-login-note {
    margin-top: 56px;
    text-align: center;
}

.mobile-register-form {
    gap: 15px;
    margin-top: 30px;
}

.mobile-register-agreement {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 8px !important;
    color: #8b9199 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.6;
}

.mobile-register-agreement input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: #1b1d20;
}

.mobile-register-agreement a {
    color: #9b6255;
}

@media (min-width: 521px) {
    .mobile-account-page,
    .mobile-login-page {
        border-right: 1px solid #e5e7ea;
        border-left: 1px solid #e5e7ea;
    }
}

@media (max-width: 680px) {
    .shop-storefront {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .shop-profile-card {
        position: static;
    }

    .shop-profile-heading {
        padding: 20px;
    }

    .shop-profile-logo {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        border-radius: 16px;
        font-size: 25px;
    }

    .shop-profile-title h1 {
        font-size: 20px;
    }

    .shop-profile-category,
    .shop-contact-card,
    .shop-qualification,
    .shop-profile-intro,
    .shop-stat-grid {
        margin-left: 20px;
        margin-right: 20px;
    }

    .shop-profile-card .shop-service-notice {
        margin-left: 20px;
        margin-right: 20px;
    }

    .shop-back-link {
        margin-left: 20px;
        margin-right: 20px;
    }

    .shop-products-header {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .shop-products-header h2 {
        font-size: 22px;
    }

    .shop-products-header > a {
        align-self: end;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shop-products-grid .product-thumb {
        height: 150px;
    }
}

/* Fashion storefront home */
.mall-home-storefront .mall-home-top {
    grid-template-columns: minmax(230px, 300px) minmax(320px, 1fr) 112px;
    min-height: 88px;
    padding: 16px 30px;
    background: #fff;
    border-bottom: 1px solid #eee7e1;
    box-shadow: 0 8px 24px rgba(78, 57, 43, .06);
}

.mall-home-storefront .mall-home-brand {
    color: #222;
}

.mall-home-storefront .mall-home-brand:hover {
    color: #222;
}

.mall-home-storefront .brand-shield {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #f05b4f;
    color: #fff;
    font-size: 17px;
}

.mall-home-storefront .mall-home-brand strong {
    color: #25211e;
    font-size: 30px;
    letter-spacing: 0;
    text-shadow: none;
}

.mall-home-storefront .mall-home-brand strong::after {
    background: #f05b4f;
}

.mall-home-storefront .mall-home-search {
    min-height: 46px;
    border: 1px solid #e7ded6;
    background: #fffdfa;
    box-shadow: none;
}

.mall-home-storefront .mall-home-search input {
    color: #3b3530;
}

.mall-home-storefront .mall-home-search span::before,
.mall-home-storefront .mall-home-search button::before {
    border-color: #9d9188;
}

.mall-home-storefront .mall-home-search span::after,
.mall-home-storefront .mall-home-search button::after {
    background: #9d9188;
}

.mall-home-storefront .mall-home-actions {
    gap: 8px;
}

.mall-home-storefront .mall-home-actions a {
    color: #4d4640;
    background: #fff;
    border: 1px solid #eee5de;
}

.mall-home-storefront .mall-home-actions a:hover {
    color: #e65045;
    background: #fff6f3;
}

.mall-home-storefront .mall-home-nav {
    min-height: 52px;
    gap: clamp(18px, 3vw, 46px);
    border: 0;
    border-bottom: 1px solid #eee7e1;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 18px rgba(78, 57, 43, .06);
}

.mall-home-storefront .mall-home-nav a,
.mall-home-storefront .mall-home-nav button {
    position: relative;
    gap: 7px;
    min-height: 52px;
    color: #514941;
    font-size: 15px;
    font-weight: 800;
}

.mall-home-storefront .mall-home-nav a i,
.mall-home-storefront .mall-home-nav button i {
    color: #aa9b90;
    font-size: 15px;
}

.mall-home-storefront .mall-home-nav a:hover,
.mall-home-storefront .mall-home-nav a:hover i,
.mall-home-storefront .mall-home-nav button:hover,
.mall-home-storefront .mall-home-nav button:hover i,
.mall-home-storefront .mall-home-nav button:focus-visible,
.mall-home-storefront .mall-home-nav button:focus-visible i,
.mall-home-storefront .mall-home-nav a.is-active,
.mall-home-storefront .mall-home-nav a.is-active i {
    color: #e65045;
}

.mall-home-storefront .mall-home-nav a.is-active::after {
    position: absolute;
    right: 14px;
    bottom: 7px;
    left: 14px;
    height: 3px;
    border-radius: 999px;
    background: #e65045;
    content: "";
}

.mall-home-storefront .mall-home-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 22px 0;
}

.mall-home-storefront .mall-category-sidebar {
    background: #fff;
    border-color: #eee5de;
    box-shadow: 0 12px 28px rgba(78, 57, 43, .08);
}

.mall-home-storefront .mall-category-sidebar .sidebar-title {
    color: #28231f;
    border-color: #f1eae5;
}

.mall-home-storefront .mall-category-sidebar .sidebar-title i {
    background: #f05b4f;
}

.mall-home-storefront .mall-category-sidebar a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #504740;
}

.mall-home-storefront .mall-category-sidebar a:hover {
    background: #fff6f3;
    color: #e65045;
}

.mall-home-storefront .mall-category-sidebar a.is-child {
    padding-left: 18px;
    color: #504740;
    font-size: 15px;
}

.mall-home-storefront .mall-category-sidebar a.is-child::before {
    display: none;
}

.sidebar-category-icon {
    display: inline-grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border-radius: 8px;
    background: #fff1ed;
    color: #e65045;
}

.sidebar-arrow {
    margin-left: auto;
    color: #c2b4aa;
    font-size: 12px;
}

.mall-storefront-board {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 18px;
}

.mall-storefront-primary,
.mall-storefront-side {
    gap: 18px;
}

.mall-clothing-carousel {
    position: relative;
    min-width: 0;
    min-height: 382px;
    overflow: hidden;
    border: 1px solid #eee3da;
    border-radius: 10px;
    background: #f3eee9;
    box-shadow: 0 16px 30px rgba(78, 57, 43, .10);
}

.clothing-carousel-track {
    position: relative;
    min-height: 382px;
}

.clothing-carousel-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(280px, 1.14fr);
    align-items: center;
    gap: 10px;
    padding: 34px 42px 42px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    transition: opacity .35s ease, transform .35s ease;
}

.clothing-carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.clothing-carousel-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.clothing-carousel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff;
    color: #e65045;
    font-size: 13px;
    font-weight: 900;
}

.clothing-carousel-copy h1 {
    max-width: 440px;
    margin: 17px 0 10px;
    overflow: hidden;
    color: #2d2723;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.18;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.clothing-carousel-copy p {
    margin: 0 0 18px;
    color: #806f63;
    font-size: 14px;
    font-weight: 700;
}

.clothing-carousel-copy strong {
    display: block;
    margin-bottom: 20px;
    color: #df4039;
    font-size: 28px;
    font-weight: 900;
}

.clothing-carousel-copy > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 17px;
    border-radius: 8px;
    background: #e65045;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(230, 80, 69, .20);
}

.clothing-carousel-copy > a:hover {
    background: #cc4037;
    color: #fff;
    text-decoration: none;
}

.clothing-carousel-image {
    display: grid;
    width: 100%;
    height: 310px;
    place-items: center;
    overflow: hidden;
}

.clothing-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 20px rgba(67, 47, 31, .16));
}

.clothing-carousel-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .84);
    color: #6d5d53;
    box-shadow: 0 8px 16px rgba(78, 57, 43, .12);
    transform: translateY(-50%);
}

.clothing-carousel-control:hover {
    background: #fff;
    color: #e65045;
}

.clothing-carousel-control.prev {
    left: 14px;
}

.clothing-carousel-control.next {
    right: 14px;
}

.clothing-carousel-dots {
    position: absolute;
    bottom: 17px;
    left: 42px;
    z-index: 2;
    display: flex;
    gap: 6px;
}

.clothing-carousel-dots button {
    width: 18px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d8c9be;
}

.clothing-carousel-dots button.is-active {
    width: 30px;
    background: #e65045;
}

.clothing-carousel-empty {
    display: grid;
    min-height: 382px;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: #8d7b6e;
}

.clothing-carousel-empty i {
    font-size: 34px;
}

.clothing-carousel-empty strong {
    color: #4a4039;
}

.clothing-carousel-empty a {
    color: #e65045;
    font-weight: 800;
}

.mall-home-hot-panel,
.mall-home-service-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee3da;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(78, 57, 43, .08);
}

.mall-home-hot-panel {
    min-height: 214px;
    padding: 17px 16px 12px;
}

.mall-home-service-panel {
    min-height: 150px;
    padding: 17px 16px;
}

.mall-home-side-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mall-home-side-heading span {
    display: block;
    margin-bottom: 4px;
    color: #d4a59d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.mall-home-side-heading h2 {
    margin: 0;
    color: #2e2824;
    font-size: 20px;
    font-weight: 900;
}

.mall-home-side-heading > a {
    color: #e65045;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mall-home-side-heading > i {
    color: #e65045;
    font-size: 22px;
}

.mall-home-hot-list {
    display: grid;
    gap: 7px;
}

.mall-home-hot-item {
    display: grid;
    grid-template-columns: 20px 48px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 5px 0;
    color: #3e3732;
    text-decoration: none;
}

.mall-home-hot-item:hover {
    color: #e65045;
    text-decoration: none;
}

.hot-rank {
    color: #d0c0b5;
    font-size: 13px;
    font-weight: 900;
}

.mall-home-hot-item:first-child .hot-rank {
    color: #e65045;
}

.hot-thumb {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #f7f3ef;
}

.hot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hot-info {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.hot-info strong {
    overflow: hidden;
    color: #403832;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-info em {
    color: #df4039;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.mall-home-hot-empty {
    padding: 20px 0;
    color: #9e9086;
    font-size: 13px;
}

.mall-home-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mall-home-service-list a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 8px 7px;
    border-radius: 7px;
    background: #fff8f5;
    color: #65564d;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mall-home-service-list a:hover {
    color: #e65045;
    background: #fff0ec;
    text-decoration: none;
}

.mall-home-service-list i {
    color: #e65045;
    font-size: 15px;
}

@media (max-width: 1180px) {
    .mall-home-storefront .mall-home-top {
        grid-template-columns: minmax(200px, 270px) minmax(280px, 1fr) 100px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .mall-home-storefront .mall-home-brand strong {
        font-size: 25px;
    }

    .mall-storefront-board {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    .clothing-carousel-slide {
        padding-right: 28px;
        padding-left: 34px;
    }
}

@media (max-width: 900px) {
    .mall-home-storefront .mall-home-top {
        grid-template-columns: 1fr minmax(220px, 1.2fr) auto;
    }

    .mall-home-storefront .mall-home-brand strong {
        font-size: 22px;
    }

    .mall-home-storefront .mall-home-nav {
        gap: 18px;
        justify-content: flex-start;
    }

    .mall-home-storefront .mall-home-main {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 14px;
        padding-left: 14px;
    }

    .mall-storefront-board {
        grid-template-columns: 1fr;
    }

    .mall-storefront-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }
}

@media (max-width: 680px) {
    .mall-home-storefront .mall-home-top {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 14px;
    }

    .mall-home-storefront .mall-home-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .mall-home-storefront .mall-home-brand strong {
        font-size: 21px;
    }

    .mall-home-storefront .mall-home-main {
        grid-template-columns: 1fr;
        padding-top: 12px;
    }

    .mall-home-storefront .mall-category-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px 0;
    }

    .mall-home-storefront .mall-category-sidebar .sidebar-title {
        grid-column: 1 / -1;
    }

    .mall-storefront-side {
        grid-template-columns: 1fr;
    }

    .clothing-carousel-slide {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 24px 28px 44px;
    }

    .clothing-carousel-copy h1 {
        margin-top: 12px;
        font-size: 28px;
    }

    .clothing-carousel-image {
        position: absolute;
        right: 12px;
        bottom: 30px;
        width: 43%;
        height: 170px;
        opacity: .86;
    }

    .clothing-carousel-copy {
        max-width: 62%;
    }
}

/* Refined fashion palette */
.mall-home-page {
    --brand: #9d5147;
    --brand-dark: #7f3d36;
    background: #f6f2ee;
}

.mall-home-dashboard,
.mall-home-storefront {
    background: linear-gradient(180deg, #f6f2ee 0%, #fbfaf8 55%, #f3efeb 100%);
}

.mall-home-storefront .mall-home-top {
    box-shadow: 0 8px 24px rgba(78, 57, 43, .06);
}

.mall-home-storefront .brand-shield {
    background: #9d5147;
}

.mall-home-storefront .mall-home-nav a.is-active::after,
.mall-home-storefront .mall-home-nav a:hover,
.mall-home-storefront .mall-home-nav a:hover i,
.mall-home-storefront .mall-home-nav button:hover,
.mall-home-storefront .mall-home-nav button:hover i,
.mall-home-storefront .mall-home-nav button:focus-visible,
.mall-home-storefront .mall-home-nav button:focus-visible i,
.mall-home-storefront .mall-home-nav a.is-active,
.mall-home-storefront .mall-home-nav a.is-active i {
    color: #9d5147;
}

.mall-home-storefront .mall-home-nav a.is-active::after {
    background: #9d5147;
}

.mall-home-storefront .sidebar-category-icon {
    background: #f8e9e5;
    color: #9d5147;
}

.mall-home-storefront .mall-category-sidebar a:hover {
    background: #fbf0ed;
    color: #9d5147;
}

.mall-home-storefront .clothing-carousel-eyebrow {
    color: #9d5147;
}

.mall-home-storefront .clothing-carousel-copy > a,
.mall-home-storefront .clothing-carousel-copy > a:hover {
    background: #9d5147;
}

.mall-home-storefront .clothing-carousel-copy > a:hover {
    background: #7f3d36;
}

.mall-home-storefront .clothing-carousel-dots button.is-active,
.mall-home-storefront .mall-home-side-heading > a,
.mall-home-storefront .mall-home-side-heading > i,
.mall-home-storefront .mall-home-hot-item:hover,
.mall-home-storefront .hot-rank,
.mall-home-storefront .hot-info em,
.mall-home-storefront .mall-home-service-list a:hover,
.mall-home-storefront .mall-home-service-list i {
    color: #9d5147;
}

.mall-home-storefront .clothing-carousel-dots button.is-active {
    background: #9d5147;
}

.mall-home-storefront .mall-home-service-list a:hover {
    background: #fbf0ed;
}

.mall-product-page {
    --brand: #9d5147;
    --brand-dark: #7f3d36;
    background: #f6f2ee;
}

.mall-product-page .product-tags span {
    background: #f8e9e5;
    color: #9d5147;
}

.mall-product-page .product-bottom strong,
.mall-product-page .product-price {
    color: #9d5147;
}

.mall-product-page .product-bottom a,
.mall-product-page .purchase-buy-now {
    background: #9d5147;
    box-shadow: 0 10px 20px rgba(157, 81, 71, .16);
}

.mall-product-page .product-bottom a:hover,
.mall-product-page .purchase-buy-now:hover {
    background: #7f3d36;
}

.mall-product-page .purchase-add-cart {
    background: #3f4748;
    box-shadow: 0 10px 20px rgba(63, 71, 72, .14);
}

.mall-product-page .purchase-add-cart:hover {
    background: #2f3536;
}

.mall-product-page .product-bottom a,
.mall-product-page .purchase-buy-now,
.mall-product-page .purchase-add-cart {
    color: #fff;
}

.mall-product-page .product-detail .purchase-actions a {
    color: #fff;
}

.mall-product-page .sku-option.active {
    border-color: #9d5147;
    background: #fbf0ed;
    color: #9d5147;
}

.mall-product-page .cart-link {
    color: #9d5147;
}

.mall-product-page .cart-link:hover {
    color: #7f3d36;
}

.mall-product-page .gallery-thumb.active {
    border-color: #9d5147;
    box-shadow: 0 0 0 2px rgba(157, 81, 71, .13);
}

.mall-product-page .product-buy-box a,
.mall-product-page .product-detail a {
    color: #9d5147;
}

.mall-product-page .product-buy-box a:hover,
.mall-product-page .product-detail a:hover {
    color: #7f3d36;
}

.mall-product-page .product-purchase-box {
    border-color: #eee4dd;
    background: #fcfaf8;
}

.mall-product-page .quantity-stepper {
    border-color: #ded2ca;
}

.mall-product-page .quantity-stepper input {
    border-color: #ded2ca;
}

.product-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 22px;
    align-items: start;
}

.product-shop-sidebar {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 88px;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.product-shop-card,
.product-shop-products {
    overflow: hidden;
    border: 1px solid #eee3da;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(78, 57, 43, .07);
}

.product-shop-card {
    padding: 18px;
}

.product-shop-heading {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.product-shop-avatar {
    display: block;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #eee3da;
    background: #f8f4f0;
}

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

.product-shop-name {
    display: block;
    overflow: hidden;
    color: #2f2925;
    font-size: 17px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-shop-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
    color: #9d5147;
    font-size: 12px;
    font-weight: 800;
}

.product-shop-category {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px solid #f1e8e2;
    border-bottom: 1px solid #f1e8e2;
    color: #8d7d72;
    font-size: 13px;
}

.product-shop-category strong {
    color: #473e38;
    font-weight: 850;
    text-align: right;
}

.product-shop-qualification {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1e8e2;
    color: #8d7d72;
    font-size: 13px;
}

.product-shop-qualification strong {
    color: #9d5147;
    font-weight: 850;
    text-align: right;
}

.product-shop-qualification a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9d5147;
    font-weight: 850;
    text-align: right;
    text-decoration: none;
}

.product-shop-qualification a:hover {
    color: #7f3f37;
}

.product-shop-qualification strong i {
    margin-right: 4px;
}

.product-shop-intro {
    margin: 14px 0 0;
    color: #776961;
    font-size: 13px;
    line-height: 1.7;
}

.product-shop-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.product-shop-stats div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    border-radius: 8px;
    background: #fbf7f4;
}

.product-shop-stats strong {
    color: #2f2925;
    font-size: 16px;
    font-weight: 900;
}

.product-shop-stats span {
    color: #8d7d72;
    font-size: 12px;
    font-weight: 750;
}

.mall-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 18px;
    color: #d8cec5;
    font-size: 14px;
    line-height: 1;
    text-shadow: 0 0 0 #a99b92, 0 0 1px #a99b92;
}

.mall-rating-stars .is-filled {
    color: #e7a33d;
    text-shadow: none;
}

.shop-stat-grid .mall-rating-stars,
.product-shop-stats .mall-rating-stars {
    color: #d8cec5;
    text-shadow: none;
}

.shop-stat-grid .mall-rating-stars .is-filled,
.product-shop-stats .mall-rating-stars .is-filled {
    color: #e7a33d;
    text-shadow: none;
}

.shop-stat-grid .mall-rating-stars {
    min-height: 27px;
    font-size: 18px;
}

.shop-stat-grid .mall-rating-stars + span {
    display: block;
    margin-top: 5px;
}

.mall-rating-label {
    white-space: nowrap;
}

.product-shop-phone,
.product-shop-enter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    margin-top: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.product-shop-phone {
    border: 1px solid #eadbd4;
    color: #675850;
    background: #fff;
}

.product-shop-enter {
    color: #fff;
    background: #9d5147;
}

.product-shop-phone:hover,
.product-shop-enter:hover {
    text-decoration: none;
}

.product-shop-phone:hover {
    color: #9d5147;
    background: #fbf0ed;
}

.product-shop-enter:hover {
    color: #fff;
    background: #7f3d36;
}

.product-shop-products {
    padding: 14px;
}

.product-shop-products-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.product-shop-products-head h2 {
    margin: 0;
    color: #2f2925;
    font-size: 16px;
    font-weight: 900;
}

.product-shop-products-head a {
    color: #9d5147;
    font-size: 12px;
    font-weight: 850;
}

.product-shop-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-shop-mini {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #342d28;
    text-decoration: none;
}

.product-shop-mini:hover {
    color: #9d5147;
    text-decoration: none;
}

.product-shop-mini-image {
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f4f0;
    color: #b6a69b;
}

.product-shop-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-shop-mini strong {
    overflow: hidden;
    min-height: 34px;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-shop-mini em {
    color: #9d5147;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.product-page-main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.product-page-main .product-detail {
    grid-template-columns: minmax(320px, 510px) minmax(0, 1fr);
    padding: 18px;
    border: 1px solid #eee3da;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(78, 57, 43, .07);
}

.product-page-main .product-buy-box {
    border: 0;
    box-shadow: none;
    padding: 0;
}

.mall-product-page .product-main-image,
.mall-product-page .product-main-placeholder {
    background: #f8f4f0;
    border-color: #eee3da;
}

.mall-product-page .product-main-image {
    object-fit: contain;
}

.product-gallery-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(47, 41, 37, .74);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.mall-product-page .product-description-panel {
    border-color: #eee3da;
    box-shadow: 0 14px 28px rgba(78, 57, 43, .07);
}

.mall-product-page .detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mall-product-page .detail-section-head h2 {
    margin: 0;
    color: #2f2925;
    font-size: 20px;
    font-weight: 900;
}

.mall-product-page .detail-section-head span {
    color: #9a8b80;
    font-size: 13px;
    font-weight: 750;
}

.mall-product-page .product-description-panel .content-body {
    overflow: hidden;
}

.mall-product-page .product-description-panel .content-body img,
.mall-product-page .product-description-panel .content-body video {
    max-width: 100%;
    height: auto;
}

.mall-product-page .product-detail-images {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    min-width: 0;
}

.mall-product-page .product-detail-images img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.mall-product-page .product-buy-box h1 {
    font-size: 19px;
}

@media (min-width: 1121px) {
    .product-page-main .product-detail {
        align-items: stretch;
    }

    .product-page-main .product-gallery {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }
}

@media (max-width: 1120px) {
    .product-page-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .product-page-main .product-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .product-service-badges {
        gap: 12px;
        padding: 16px 12px;
    }

    .product-service-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .product-service-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .product-service-items span {
        font-size: 11px;
    }
}

.shop-qualification-page {
    min-height: calc(100vh - 148px);
    padding: 42px 20px 70px;
    background: #f7f8fa;
}

.shop-qualification-shell {
    width: min(680px, 100%);
    margin: 0 auto;
}

.shop-qualification-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: #666;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.shop-qualification-back:hover {
    color: #9d5147;
}

.shop-qualification-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    border: 1px solid #e9e9e9;
    border-radius: 8px 8px 0 0;
    background: #fff;
}

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

.shop-qualification-shop img {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border: 1px solid #eee;
    border-radius: 50%;
    object-fit: cover;
}

.shop-qualification-shop span {
    display: block;
    margin-bottom: 5px;
    color: #999;
    font-size: 12px;
}

.shop-qualification-shop h1 {
    margin: 0;
    color: #292929;
    font-size: 22px;
    font-weight: 850;
}

.shop-qualification-hero-icon {
    color: #a65a4e;
    font-size: 34px;
}

.shop-qualification-card {
    padding: 30px 28px 26px;
    border: 1px solid #e9e9e9;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(38, 38, 38, .05);
}

.shop-qualification-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
}

.shop-qualification-card-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    background: #f6eeeb;
    color: #a65a4e;
    font-size: 18px;
}

.shop-qualification-card-head h2 {
    margin: 0 0 5px;
    color: #333;
    font-size: 18px;
    font-weight: 850;
}

.shop-qualification-card-head p {
    margin: 0;
    color: #888;
    font-size: 13px;
    line-height: 1.7;
}

.shop-qualification-page-label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-size: 13px;
    font-weight: 800;
}

.shop-qualification-page-captcha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
}

.shop-qualification-page-captcha input {
    min-height: 44px;
}

.shop-qualification-page-captcha button {
    display: block;
    height: 44px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f7f8fa;
    cursor: pointer;
}

.shop-qualification-page-captcha img {
    display: block;
    width: 100%;
    height: 100%;
}

.shop-qualification-page-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    margin-top: 18px;
    border: 0;
    border-radius: 6px;
    background: #a65a4e;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.shop-qualification-page-submit:hover {
    background: #8f493f;
}

.shop-qualification-page-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.shop-qualification-page-note {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 14px 0 0;
    color: #999;
    font-size: 12px;
}

.shop-qualification-page-preview {
    padding-top: 2px;
}

.shop-qualification-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.shop-qualification-preview-head span {
    color: #999;
    font-size: 12px;
}

.shop-qualification-preview-head h2 {
    margin: 4px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 850;
}

.shop-qualification-preview-head > i {
    color: #a65a4e;
    font-size: 24px;
}

.shop-qualification-document {
    overflow: hidden;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #fafafa;
}

.shop-qualification-document img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.shop-qualification-page-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: #a65a4e;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.shop-qualification-page-download:hover {
    color: #8f493f;
}

@media (max-width: 520px) {
    .shop-qualification-page {
        min-height: calc(100vh - 108px);
        padding: 24px 14px 42px;
    }

    .shop-qualification-hero {
        padding: 18px 16px;
    }

    .shop-qualification-shop img {
        width: 48px;
        height: 48px;
    }

    .shop-qualification-shop h1 {
        font-size: 18px;
    }

    .shop-qualification-hero-icon {
        font-size: 27px;
    }

    .shop-qualification-card {
        padding: 24px 16px 20px;
    }

    .shop-qualification-page-captcha {
        grid-template-columns: minmax(0, 1fr) 112px;
    }

    .shop-qualification-page-note {
        align-items: flex-start;
        line-height: 1.6;
    }
}

@media (max-width: 820px) {
    .product-page-layout {
        grid-template-columns: 1fr;
    }

    .product-page-main {
        grid-column: 1;
        grid-row: 1;
    }

    .product-shop-sidebar {
        grid-column: 1;
        grid-row: 2;
        position: static;
    }

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

@media (max-width: 560px) {
    .product-page-main .product-detail {
        padding: 12px;
    }

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

    .product-shop-card,
    .product-shop-products {
        padding: 14px;
    }
}

/* Desktop-only site shortcuts shared by the public storefront pages. */
.desktop-floating-nav {
    position: fixed;
    z-index: 1040;
    top: 50%;
    right: 18px;
    display: flex;
    flex-direction: column;
    width: 58px;
    overflow: hidden;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .98);
    border: 1px solid #e8e0d9;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(47, 41, 37, .13);
}

.desktop-floating-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 58px;
    min-height: 58px;
    padding: 8px 4px;
    border: 0;
    border-bottom: 1px solid #eee8e3;
    background: transparent;
    color: #655b54;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.desktop-floating-action:last-child {
    border-bottom: 0;
}

.desktop-floating-action i {
    font-size: 18px;
    line-height: 1;
}

.desktop-floating-action:hover,
.desktop-floating-action:focus-visible {
    background: #f8f3ee;
    color: #a64b32;
    text-decoration: none;
    outline: 0;
}

.desktop-floating-top {
    cursor: pointer;
}

.service-contact-modal[hidden] {
    display: none;
}

.service-contact-open {
    overflow: hidden;
}

.service-contact-modal {
    position: fixed;
    z-index: 1080;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
}

.service-contact-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 18, 16, .42);
}

.service-contact-panel {
    position: relative;
    z-index: 1;
    width: min(440px, calc(100vw - 32px));
    padding: 24px;
    background: #fff;
    border: 1px solid #eee2d8;
    border-radius: 8px;
    box-shadow: 0 22px 64px rgba(35, 27, 22, .22);
}

.service-contact-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #eee2d8;
    border-radius: 8px;
    background: #fff;
    color: #6d625a;
    cursor: pointer;
}

.service-contact-head {
    display: flex;
    gap: 14px;
    padding-right: 34px;
}

.service-contact-head > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 8px;
    background: #fff4ef;
    color: #d6533f;
    font-size: 22px;
}

.service-contact-head h2 {
    margin: 0 0 6px;
    color: #241f1b;
    font-size: 20px;
    font-weight: 900;
}

.service-contact-head p {
    margin: 0;
    color: #766b63;
    font-size: 14px;
    line-height: 1.7;
}

.service-contact-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 16px;
}

.service-contact-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fbf8f5;
    border: 1px solid #f0e5dc;
    border-radius: 8px;
}

.service-contact-row span {
    color: #8b8078;
    font-size: 13px;
    font-weight: 700;
}

.service-contact-row strong {
    color: #2c2520;
    font-size: 15px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.service-contact-row button,
.service-contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e7d8cd;
    border-radius: 8px;
    background: #fff;
    color: #a64b32;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.service-contact-steps {
    margin: 0;
    padding-left: 20px;
    color: #665c55;
    font-size: 14px;
    line-height: 1.8;
}

.service-contact-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.service-contact-actions a:first-child {
    background: #d6533f;
    border-color: #d6533f;
    color: #fff;
}

@media (max-width: 575px) {
    .service-contact-panel {
        padding: 20px;
    }

    .service-contact-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .service-contact-actions {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .desktop-floating-nav {
        display: none;
    }
}

/* Homepage banner images are authored as complete clickable artwork. */
.mall-home-storefront .mall-storefront-board {
    align-items: stretch;
}

.mall-home-storefront .mall-storefront-primary {
    align-self: stretch;
    min-height: 0;
}

.mall-home-storefront .mall-clothing-carousel {
    min-height: 0;
    aspect-ratio: 1200 / 480;
    background: #f3eee9;
}

.mall-home-storefront .clothing-carousel-track {
    min-height: 0;
    height: 100%;
}

.mall-home-storefront .clothing-carousel-slide {
    display: block;
    padding: 0;
}

.mall-home-storefront .clothing-carousel-copy {
    display: none;
}

.mall-home-storefront .clothing-carousel-image {
    display: block;
    width: 100%;
    height: 100%;
}

.mall-home-storefront .clothing-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

.mall-home-storefront .clothing-carousel-control {
    display: none;
}

.mall-home-storefront .clothing-carousel-dots {
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
}

.mall-home-storefront .clothing-carousel-dots span {
    display: block;
    width: 18px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 1px 3px rgba(47, 41, 37, .18);
    cursor: pointer;
}

.mall-home-storefront .clothing-carousel-dots span.is-active {
    width: 30px;
    background: #9d5147;
}

@media (max-width: 680px) {
    .mall-home-storefront .mall-clothing-carousel {
        height: auto;
        aspect-ratio: 1200 / 480;
    }
}

@media (min-width: 1181px) {
    .mall-home-storefront .mall-home-main {
        align-items: stretch;
    }

    .mall-home-storefront .mall-storefront-board {
        height: 520px;
        min-height: 0;
    }

    .mall-home-storefront .mall-category-sidebar,
    .mall-home-storefront .mall-storefront-primary,
    .mall-home-storefront .mall-storefront-side {
        height: 100%;
    }

    .mall-home-storefront .mall-clothing-carousel {
        height: 100%;
        aspect-ratio: auto;
    }

    .mall-home-storefront .mall-storefront-side {
        min-height: 0;
        grid-template-rows: minmax(0, 1fr);
    }

    .mall-home-storefront .mall-home-hot-panel,
    .mall-home-storefront .mall-category-sidebar {
        min-height: 0;
    }

    .mall-home-storefront .mall-home-hot-panel {
        height: 100%;
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .mall-home-storefront .mall-storefront-board {
        height: 460px;
    }

    .mall-home-storefront .mall-clothing-carousel {
        height: 100%;
        aspect-ratio: auto;
    }
}

.home-quality-shops {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid #eee5de;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(78, 57, 43, .06);
}

.home-quality-shops-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-quality-shops-head > div > span,
.mobile-quality-shops .mobile-zone-head > div > span {
    color: #b08a7e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.home-quality-shops-head h2,
.mobile-quality-shops .mobile-zone-head h2 {
    margin: 5px 0 3px;
    color: #2d2723;
    font-size: 24px;
    font-weight: 900;
}

.home-quality-shops-head p,
.mobile-quality-shops .mobile-zone-head p {
    margin: 0;
    color: #998b82;
    font-size: 13px;
}

.home-quality-shops-head > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9d5147;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.home-quality-shops-head > a:hover {
    color: #7f3d36;
}

.home-quality-shops-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-quality-shop-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 16px 14px;
    border: 1px solid #eee7e2;
    border-radius: 8px;
    background: #fcfbfa;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-quality-shop-card:hover {
    border-color: #d9b3aa;
    box-shadow: 0 10px 22px rgba(157, 81, 71, .10);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

.home-quality-shop-avatar {
    display: block;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 1px solid #eadfd9;
    border-radius: 50%;
    background: #f3eee9;
}

.home-quality-shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-quality-shop-info {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.home-quality-shop-info strong {
    overflow: hidden;
    color: #3a302b;
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-quality-shop-info > span {
    overflow: hidden;
    color: #a08f85;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-quality-shop-count {
    display: grid;
    justify-items: end;
    gap: 2px;
    white-space: nowrap;
}

.home-quality-shop-count strong {
    color: #9d5147;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.home-quality-shop-count small {
    color: #a08f85;
    font-size: 11px;
}

.home-quality-shop-arrow {
    color: #c4aaa1;
    font-size: 13px;
}

.mobile-quality-shops {
    margin: 18px 0 0;
    padding: 18px 14px;
    border: 1px solid #eee5de;
    border-radius: 8px;
    background: #fff;
}

.mobile-quality-shops .mobile-zone-head {
    margin-bottom: 14px;
}

.mobile-quality-shops-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mobile-quality-shop-card {
    display: grid;
    justify-items: center;
    min-width: 0;
    gap: 6px;
    padding: 14px 8px 12px;
    border: 1px solid #eee7e2;
    border-radius: 8px;
    background: #fcfbfa;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.mobile-quality-shop-card:hover {
    color: inherit;
    text-decoration: none;
}

.mobile-quality-shop-avatar {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid #eadfd9;
    border-radius: 50%;
    background: #f3eee9;
}

.mobile-quality-shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-quality-shop-card strong,
.mobile-quality-shop-card > span:not(.mobile-quality-shop-avatar) {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-quality-shop-card strong {
    color: #3a302b;
    font-size: 14px;
    font-weight: 900;
}

.mobile-quality-shop-card > span:not(.mobile-quality-shop-avatar) {
    color: #a08f85;
    font-size: 11px;
}

.mobile-quality-shop-card em {
    color: #9d5147;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
}

/* Quality shop cards show the shop identity first, followed by its own best sellers. */
.home-quality-shop-card {
    display: block;
    padding: 16px;
}

.home-quality-shop-head {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.home-quality-shop-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #d8d0cb;
    font-size: 11px;
    white-space: nowrap;
}

.home-quality-shop-rating i.is-filled {
    color: #e2a13b;
}

.home-quality-shop-rating em {
    margin-left: 4px;
    color: #a08f85;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.home-quality-shop-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee7e2;
}

.home-quality-shop-product {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.home-quality-shop-product-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #f4f1ef;
}

.home-quality-shop-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease;
}

.home-quality-shop-card:hover .home-quality-shop-product-image img {
    transform: scale(1.04);
}

.home-quality-shop-product-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 30px;
    color: #665950;
    font-size: 11px;
    line-height: 1.4;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-quality-shop-product > strong {
    overflow: hidden;
    color: #9d5147;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-quality-shop-card {
    display: block;
    padding: 14px 10px 12px;
}

.mobile-quality-shop-rating {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    color: #d8d0cb !important;
    font-size: 10px !important;
}

.mobile-quality-shop-rating i.is-filled {
    color: #e2a13b;
}

.mobile-quality-shop-rating em {
    margin-left: 3px;
    color: #a08f85;
    font-size: 10px;
    font-style: normal;
}

.mobile-quality-shop-products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee7e2;
}

.mobile-quality-shop-product {
    display: grid !important;
    min-width: 0;
    gap: 4px;
}

.mobile-quality-shop-product > span {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 5px;
    background: #f4f1ef;
}

.mobile-quality-shop-product img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-quality-shop-product strong {
    color: #9d5147 !important;
    font-size: 10px !important;
    font-weight: 850;
}

@media (max-width: 900px) {
    .home-quality-shops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home-quality-shops {
        padding: 18px 14px;
    }

    .home-quality-shops-head {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .home-quality-shops-head h2,
    .mobile-quality-shops .mobile-zone-head h2 {
        font-size: 20px;
    }

    .home-quality-shops-grid {
        gap: 10px;
    }

    .home-quality-shop-card {
        padding: 12px 8px;
    }

    .home-quality-shop-avatar {
        width: 40px;
        height: 40px;
    }

    .home-quality-shop-head {
        grid-template-columns: 40px minmax(0, 1fr) 16px;
        gap: 8px;
    }
}

.home-merchant-process {
    display: grid;
    gap: 22px;
    margin-top: 16px;
    padding: 24px;
    border: 1px solid #e5e8ed;
    border-radius: 8px;
    background: #f5f7fa;
}

.home-merchant-process-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.home-merchant-process-head > div:first-child {
    min-width: 0;
}

.home-merchant-process-head > div:first-child > span,
.mobile-merchant-process-head > div > span {
    color: #718096;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.home-merchant-process-head h2,
.mobile-merchant-process-head h2 {
    margin: 5px 0 4px;
    color: #26313d;
    font-size: 23px;
    font-weight: 900;
}

.home-merchant-process-head p,
.mobile-merchant-process-head p {
    margin: 0;
    color: #73808d;
    font-size: 13px;
}

.home-merchant-process-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 14px;
}

.home-merchant-process-link,
.mobile-merchant-process-agreement {
    color: #687684;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.home-merchant-process-link:hover,
.mobile-merchant-process-agreement:hover {
    color: #1f6feb;
}

.home-merchant-process-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 6px;
    background: #1f6feb;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(31, 111, 235, .16);
}

.home-merchant-process-button:hover {
    background: #185abd;
    color: #fff;
    text-decoration: none;
}

.home-merchant-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-merchant-process-step {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 5px 22px 5px 0;
}

.home-merchant-process-step:not(:last-child)::after {
    position: absolute;
    top: 25px;
    right: 12px;
    width: calc(100% - 64px);
    height: 1px;
    background: #d5dce4;
    content: "";
    transform: translateX(50%);
}

.home-merchant-process-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #cfe0f8;
    border-radius: 50%;
    background: #fff;
    color: #1f6feb;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(30, 76, 130, .08);
}

.home-merchant-process-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.home-merchant-process-copy strong {
    overflow: hidden;
    color: #35404b;
    font-size: 14px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-merchant-process-copy > span {
    color: #7a8793;
    font-size: 11px;
    line-height: 1.45;
}

.home-merchant-process-number {
    position: absolute;
    top: -2px;
    right: 19px;
    color: #c5ced8;
    font-size: 10px;
    font-weight: 900;
}

.mobile-merchant-process {
    display: grid;
    gap: 16px;
    margin: 18px 0 0;
    padding: 18px 14px;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    background: #f5f7fa;
}

.mobile-merchant-process-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.mobile-merchant-process-head h2 {
    font-size: 20px;
}

.mobile-merchant-process-head p {
    max-width: 245px;
    font-size: 12px;
    line-height: 1.5;
}

.mobile-merchant-process-head > a {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #1f6feb;
    color: #fff;
    text-decoration: none;
}

.mobile-merchant-process-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-merchant-process-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
}

.mobile-merchant-process-steps li:not(:last-child)::after {
    position: absolute;
    top: 44px;
    left: 16px;
    width: 1px;
    height: 28px;
    background: #d4dce5;
    content: "";
}

.mobile-merchant-process-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #cfe0f8;
    border-radius: 50%;
    background: #fff;
    color: #1f6feb;
    font-size: 15px;
}

.mobile-merchant-process-steps li > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.mobile-merchant-process-steps strong {
    color: #35404b;
    font-size: 13px;
    font-weight: 900;
}

.mobile-merchant-process-steps em {
    overflow: hidden;
    color: #7a8793;
    font-size: 11px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-merchant-process-steps b {
    align-self: start;
    padding-top: 3px;
    color: #c5ced8;
    font-size: 10px;
    font-weight: 900;
}

.mobile-merchant-process-agreement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #e0e6ed;
}

@media (max-width: 900px) {
    .home-merchant-process {
        padding: 20px;
    }

    .home-merchant-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 0;
    }

    .home-merchant-process-step:nth-child(2)::after {
        display: none;
    }

}

@media (max-width: 520px) {
    .home-merchant-process {
        display: none;
    }
}

/* Account workbench refresh */
.user-layout {
    width: min(1180px, calc(100% - 40px));
    margin: 6px auto 34px;
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.user-menu {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 3px;
    padding: 8px;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.user-menu::before {
    padding: 10px 12px 8px;
    color: #98a2b3;
    content: "账户管理";
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 7px;
    color: #526071;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
}

.user-menu a i {
    width: 18px;
    color: #8b96a5;
    font-size: 15px;
    text-align: center;
}

.user-menu a:hover {
    background: #f5f7fa;
    color: #155eef;
    text-decoration: none;
}

.user-menu a:hover i,
.user-menu a.is-active,
.user-menu a.is-active i {
    color: #155eef;
}

.user-menu a.is-active {
    background: #eef4ff;
    font-weight: 750;
}

.user-main {
    min-width: 0;
}

.user-main.panel,
.user-main > .panel {
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}

.user-main.panel {
    padding: 26px 28px;
}

.user-main > .panel {
    padding: 24px 26px;
}

.user-main h1,
.user-main .panel h1 {
    color: #182230;
    font-size: 22px;
    font-weight: 780;
    letter-spacing: 0;
}

.user-main h2,
.user-main .panel h2 {
    color: #253244;
    font-size: 17px;
    font-weight: 750;
}

.user-main .page-head {
    margin-bottom: 22px;
}

.user-main .page-head h1 {
    font-size: 22px;
}

.user-main .meta,
.user-main .form-text {
    color: #7b8797;
}

.user-main .form-label {
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.user-main .form-control,
.user-main .form-select {
    min-height: 42px;
    border-color: #dfe4ea;
    border-radius: 6px;
    color: #253244;
    box-shadow: none;
}

.user-main textarea.form-control {
    min-height: 108px;
}

.user-main .form-control:focus,
.user-main .form-select:focus {
    border-color: #8bb3ff;
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .10);
}

.user-main .btn {
    border-radius: 6px;
    font-weight: 700;
}

.user-main .btn-primary {
    border-color: #155eef;
    background: #155eef;
}

.user-main .btn-primary:hover {
    border-color: #0f4ed8;
    background: #0f4ed8;
}

.user-main .btn-outline-primary {
    color: #155eef;
    border-color: #b8cdfb;
}

.user-main .btn-outline-primary:hover {
    color: #0f4ed8;
    border-color: #8fb1f2;
    background: #f3f7ff;
}

.user-main .table {
    margin-bottom: 0;
    color: #344054;
    font-size: 13px;
    vertical-align: middle;
}

.user-main .table > :not(caption) > * > * {
    padding: 15px 12px;
    border-bottom-color: #edf0f3;
}

.user-main .table thead th {
    border-bottom-color: #dfe4ea;
    color: #7b8797;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.user-main .table tbody tr:last-child td {
    border-bottom: 0;
}

.user-main .table tbody tr:hover {
    background: #fafbfc;
}

.user-main .list-group {
    border-top: 1px solid #edf0f3;
}

.user-main .list-group-item {
    border-color: #edf0f3;
    padding: 17px 2px;
    color: #344054;
}

.user-main .list-group-item:first-child {
    border-top: 0;
}

.user-main .list-group-item strong {
    color: #253244;
}

.user-main .list-group-item p {
    color: #667085;
    line-height: 1.7;
}

.user-main .alert {
    border-radius: 7px;
    border-width: 1px;
    box-shadow: none;
}

.user-main .contact-list {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0;
    margin: 0;
    border-top: 1px solid #edf0f3;
}

.user-main .contact-list dt,
.user-main .contact-list dd {
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f3;
}

.user-main .contact-list dt {
    color: #7b8797;
    font-size: 13px;
    font-weight: 650;
}

.user-main .contact-list dd {
    color: #344054;
    font-size: 13px;
}

/* Keep the dashboard in the same neutral account system. */
.member-center-page {
    background: #f6f8fb;
    padding: 34px 0 62px;
}

.member-center-shell {
    width: min(1180px, calc(100% - 40px));
}

.member-center-heading h1,
.member-section-heading h2,
.member-welcome h2 {
    color: #182230;
}

.member-eyebrow {
    color: #6f7b8c;
}

.member-center-heading p,
.member-welcome p {
    color: #7b8797;
}

.member-text-action,
.member-profile-link,
.member-section-heading a {
    color: #155eef;
}

.member-profile-link {
    border-color: #dfe4ea;
    border-radius: 7px;
}

.member-welcome {
    min-height: 142px;
    border: 1px solid #dce7fb;
    border-radius: 10px;
    background: #edf4ff;
    color: #182230;
}

.member-welcome .member-eyebrow {
    color: #6a7c9b;
}

.member-welcome-avatar {
    border: 4px solid #fff;
    border-radius: 10px;
    background: #fff;
    color: #155eef;
}

.member-asset-card,
.member-order-overview,
.member-panel {
    border-color: #e3e8ef;
    border-radius: 8px;
}

.member-asset-card {
    color: #344054;
}

.member-asset-card:hover,
.member-order-status-grid a:hover,
.member-service-list a:hover {
    background: #f8faff;
    color: #155eef;
}

.member-asset-card span,
.member-asset-card small,
.member-order-status-grid span,
.member-order-info small,
.member-order-amount small,
.member-service-list small {
    color: #7b8797;
}

.member-asset-card strong,
.member-order-status-grid strong,
.member-order-info strong,
.member-service-list strong {
    color: #253244;
}

.member-asset-card-main {
    background: #f1f6ff;
}

.member-asset-card-main strong,
.member-order-amount strong {
    color: #155eef;
}

.member-order-status-grid,
.member-order-list,
.member-service-list {
    border-color: #edf0f3;
}

.member-order-status-grid a,
.member-order-row,
.member-service-list a {
    color: #526071;
}

.member-order-status-grid i,
.member-service-list a > i:first-child {
    color: #155eef;
}

.member-order-icon {
    background: #eef4ff;
    color: #155eef;
}

.member-row-chevron,
.member-service-list a > i:last-child {
    color: #a3adba;
}

.member-empty-row {
    color: #7b8797;
}

.member-empty-row i,
.member-empty-row a {
    color: #155eef;
}

.after-sale-record {
    display: grid;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid #edf0f3;
}

.after-sale-record > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.after-sale-record strong {
    color: #253244;
    font-size: 13px;
}

.after-sale-record span,
.after-sale-record em {
    color: #667085;
    font-size: 12px;
    font-style: normal;
}

.after-sale-record em {
    color: #155eef;
    font-weight: 700;
}

.after-sale-record p,
.after-sale-record small {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 992px) {
    .user-layout {
        width: min(100% - 28px, 760px);
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .user-menu {
        position: static;
        display: flex;
        gap: 2px;
        overflow-x: auto;
        padding: 6px;
        white-space: nowrap;
    }

    .user-menu::before {
        display: none;
    }

    .user-menu a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 11px;
    }

    .user-menu a i {
        width: auto;
    }

    .member-center-shell {
        width: min(100% - 28px, 760px);
    }

    .member-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .user-layout {
        width: calc(100% - 24px);
        margin-top: 0;
    }

    .user-main.panel,
    .user-main > .panel {
        padding: 20px 16px;
    }

    .user-main .page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .user-main .contact-list {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .member-center-page {
        padding-top: 20px;
    }

    .member-center-shell {
        width: calc(100% - 24px);
    }

    .member-center-heading h1 {
        font-size: 25px;
    }

    .member-welcome {
        min-height: 126px;
        padding: 22px 18px;
    }

    .member-welcome h2 {
        font-size: 23px;
    }

    .member-welcome-avatar {
        width: 54px;
        height: 54px;
        font-size: 21px;
    }

    .member-asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-asset-card-main {
        grid-column: 1 / -1;
    }

    .member-order-overview,
    .member-panel {
        padding: 18px 16px;
    }

    .member-order-status-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .member-order-status-grid a + a {
        border-left: 0;
    }

    .member-order-status-grid a:nth-child(n + 4) {
        border-top: 1px solid #edf0f3;
    }

    .member-order-status-grid a:nth-child(4) {
        border-left: 0;
    }
}

/* Product listing cards use the same retail information hierarchy as the storefront. */
.mall-listing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.mall-listing-grid .retail-product-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-color: #e4e8ee;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
    transition: transform .18s ease, box-shadow .18s ease;
}

.mall-listing-grid .retail-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .09);
}

.mall-listing-grid .retail-product-card .product-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 0;
    background: #f5f7fa;
}

.mall-listing-grid .retail-product-card .product-thumb img {
    object-fit: contain;
    padding: 10px;
    transition: transform .18s ease;
}

.mall-listing-grid .retail-product-card:hover .product-thumb img {
    transform: scale(1.035);
}

.mall-listing-grid .retail-product-card .product-body {
    display: grid;
    gap: 10px;
    padding: 13px 14px 14px;
}

.retail-product-title {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    color: #182230;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.retail-product-title:hover,
.retail-shop-name:hover {
    color: #e53935;
    text-decoration: none;
}

.retail-product-price-row {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 7px;
}

.retail-product-price-row strong {
    color: #e53935;
    font-size: 20px;
    font-weight: 950;
    line-height: 1;
}

.retail-product-price-row del {
    overflow: hidden;
    color: #a4acb8;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.retail-product-price-row span {
    overflow: hidden;
    margin-left: auto;
    color: #8b95a5;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.retail-product-shop {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}

.retail-shop-avatar {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #eef4ff;
}

.retail-shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retail-shop-name {
    overflow: hidden;
    color: #5f6b7a;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.retail-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.retail-buy-btn:hover {
    background: #c92828;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .mall-listing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .mall-listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .mall-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mall-listing-grid .retail-product-card .product-body {
        gap: 8px;
        padding: 11px 10px 12px;
    }

    .retail-product-title {
        min-height: 40px;
        font-size: 14px;
    }

    .retail-product-price-row strong {
        font-size: 18px;
    }

    .retail-product-price-row span {
        display: none;
    }

    .retail-product-shop {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .retail-shop-avatar {
        width: 24px;
        height: 24px;
    }

    .retail-buy-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Clean white storefront palette */
.mall-home-page,
.mall-product-page,
.mall-mobile-home-page,
.mall-mobile-category-page {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --accent: #2563eb;
    --surface: #ffffff;
    --soft: #f6f8fb;
    --line: #e5e7eb;
    background: #f6f8fb;
}

.mall-home-dashboard,
.mall-home-storefront,
.mobile-mall-home,
.mobile-category-page {
    background: #f6f8fb;
}

.mall-home-storefront .mall-home-top,
.mall-home-storefront .mall-home-nav,
.mall-home-storefront .mall-home-search,
.mall-clothing-carousel,
.mall-home-hot-panel,
.mall-home-service-panel,
.hall-filter,
.style-zone,
.home-product-card,
.style-product-card,
.home-quality-shops,
.home-quality-shop-card,
.home-merchant-process,
.product-shop-card,
.product-shop-products,
.product-page-main .product-detail,
.mall-product-page .product-description-panel,
.mobile-home-head,
.mobile-hero-card,
.mobile-zone-head,
.mobile-product-card,
.mobile-zone-product,
.mobile-quality-shops,
.mobile-quality-shop-card,
.mobile-merchant-process,
.mobile-category-topbar,
.mobile-category-hero,
.mobile-category-icons,
.mobile-editor-picks a,
.editor-label {
    border-color: #e5e7eb;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.mall-home-storefront .mall-home-top {
    border-bottom-color: #e5e7eb;
}

.mall-home-storefront .brand-shield,
.mobile-home-brand span {
    background: #2563eb;
    color: #fff;
}

.mall-home-storefront .mall-home-brand,
.mall-home-storefront .mall-home-brand:hover,
.mall-home-storefront .mall-home-brand strong,
.mobile-home-brand,
.mobile-home-brand:hover,
.mobile-home-brand strong {
    color: #111827;
}

.mall-home-storefront .mall-home-search {
    border-color: #dbe3ee;
    background: #fff;
}

.mall-home-storefront .mall-home-search input,
.mall-home-storefront .mall-home-nav a,
.mall-home-storefront .mall-home-nav button {
    color: #374151;
}

.mall-home-storefront .mall-home-search span::before,
.mall-home-storefront .mall-home-search button::before {
    border-color: #64748b;
}

.mall-home-storefront .mall-home-search span::after,
.mall-home-storefront .mall-home-search button::after {
    background: #64748b;
}

.mall-home-storefront .mall-home-actions a {
    color: #374151;
    border-color: #e5e7eb;
    background: #fff;
}

.mall-home-storefront .mall-home-actions a:hover,
.mall-home-storefront .mall-home-nav a:hover,
.mall-home-storefront .mall-home-nav a:hover i,
.mall-home-storefront .mall-home-nav button:hover,
.mall-home-storefront .mall-home-nav button:hover i,
.mall-home-storefront .mall-home-nav button:focus-visible,
.mall-home-storefront .mall-home-nav button:focus-visible i,
.mall-home-storefront .mall-home-nav a.is-active,
.mall-home-storefront .mall-home-nav a.is-active i,
.mall-home-storefront .mall-home-side-heading > a,
.mall-home-storefront .mall-home-side-heading > i,
.mall-home-storefront .mall-home-hot-item:hover,
.mall-home-storefront .hot-rank,
.mall-home-storefront .hot-info em,
.mobile-section-head a,
.mobile-zone-head a,
.mobile-bottom-nav a.active,
.mobile-category-icons a.active span,
.mobile-category-tags a.active,
.home-merchant-process-link:hover,
.mobile-merchant-process-agreement:hover {
    color: #2563eb;
}

.mall-home-storefront .mall-home-nav a.is-active::after,
.mall-home-storefront .clothing-carousel-dots button.is-active,
.style-zone-banner a,
.style-zone-banner a:hover,
.home-merchant-process-button,
.retail-buy-btn,
.purchase-buy-now,
.mall-product-page .purchase-buy-now,
.product-shop-enter {
    background: #2563eb;
}

.mall-home-storefront .mall-home-nav a.is-active::after {
    background: #2563eb;
}

.mall-clothing-carousel,
.hot-thumb,
.product-thumb,
.home-product-thumb,
.style-product-thumb,
.product-shop-mini-image,
.mall-product-page .product-main-image,
.mall-product-page .product-main-placeholder,
.mobile-product-thumb,
.mobile-zone-thumb,
.mobile-quality-shop-product > span,
.home-quality-shop-product-image {
    background: #f6f8fb;
}

.clothing-carousel-dots span,
.clothing-carousel-dots button {
    background: #cbd5e1;
}

.mall-home-side-heading span,
.hot-rank,
.mall-home-hot-empty,
.home-quality-shop-info > span,
.home-quality-shop-product-title,
.mobile-quality-shop-card > span:not(.mobile-quality-shop-avatar),
.mobile-category-price del {
    color: #64748b;
}

.style-zone-men .style-zone-banner,
.style-zone-women .style-zone-banner,
.style-zone-shoes .style-zone-banner,
.mobile-style-men .mobile-zone-head,
.mobile-style-women .mobile-zone-head,
.mobile-style-shoes .mobile-zone-head,
.mobile-category-hero {
    background: #ffffff;
}

.style-zone-banner::after,
.mobile-hero-art {
    display: none;
}

.style-zone-banner span,
.mobile-zone-head span,
.mobile-hero-card span,
.hall-chip.active,
.product-tags span,
.mall-product-page .product-tags span,
.sku-option.active,
.mobile-category-tags a.active {
    border-color: #dbeafe;
    background: #eff6ff;
    color: #2563eb;
}

.style-zone-banner a:hover,
.home-merchant-process-button:hover,
.retail-buy-btn:hover,
.purchase-buy-now:hover,
.mall-product-page .purchase-buy-now:hover,
.product-shop-enter:hover {
    background: #1d4ed8;
}

.style-product-card:hover,
.home-product-card:hover,
.home-quality-shop-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .10);
}

.home-product-price-row strong,
.style-product-bottom strong,
.retail-product-price-row strong,
.mobile-product-info strong,
.mobile-zone-product strong,
.mobile-quality-shop-product strong,
.home-quality-shop-product > strong,
.product-bottom strong,
.product-price,
.mall-product-page .product-price,
.product-shop-mini em {
    color: #2563eb;
}

.home-buy-btn,
.retail-buy-btn,
.style-product-bottom a,
.purchase-buy-now,
.purchase-add-cart,
.mall-product-page .purchase-buy-now,
.mall-product-page .purchase-add-cart {
    color: #fff;
    background: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .14);
}

.home-buy-btn:hover,
.retail-buy-btn:hover,
.style-product-bottom a:hover,
.purchase-buy-now:hover,
.purchase-add-cart:hover,
.mall-product-page .purchase-buy-now:hover,
.mall-product-page .purchase-add-cart:hover {
    color: #fff;
    background: #1d4ed8;
}

.hall-search button,
.hall-chip.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.hall-chip:hover,
.retail-product-title:hover,
.retail-shop-name:hover,
.style-product-title:hover,
.mall-product-page .product-buy-box a,
.mall-product-page .product-detail a,
.product-shop-verified,
.product-shop-qualification a,
.product-shop-phone:hover,
.product-shop-products-head a,
.product-shop-mini:hover {
    color: #2563eb;
}

.mall-product-page .product-purchase-box,
.product-service-badges,
.product-shop-stats div,
.mobile-category-tags a {
    border-color: #e5e7eb;
    background: #f8fafc;
}

.gallery-thumb.active,
.mall-product-page .gallery-thumb.active,
.mall-product-page .sku-option.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}

.mobile-home-head,
.mobile-hero-card {
    color: #111827;
}

.mobile-home-search {
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.mobile-hero-card {
    grid-template-columns: 1fr;
}

.mobile-hero-card h1 {
    color: #111827;
}

.mobile-hero-card p,
.mobile-zone-head p,
.mobile-category-hero-link p {
    color: #64748b;
}

.mobile-hero-card a {
    background: #2563eb;
    color: #fff;
}

.mobile-category-icons,
.mobile-category-icons.secondary {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.mobile-category-hero-link > i,
.editor-label i,
.product-service-head strong i,
.product-service-items i,
.mobile-merchant-process-icon {
    color: #2563eb;
}

.editor-label,
.mobile-editor-picks a {
    background: #f8fafc;
}

/* Keep homepage product images aligned with their thumbnail frame. */
.home-product-thumb {
    height: auto;
    aspect-ratio: 4 / 3;
    background: #f6f8fb;
}

.home-product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 0;
    object-fit: cover;
}

/* Fill category section product thumbnails consistently on desktop and mobile. */
.style-product-thumb,
.mobile-zone-thumb {
    aspect-ratio: 4 / 3;
    height: auto;
    background: #f6f8fb;
}

.style-product-thumb img,
.mobile-zone-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 0;
    object-fit: cover;
}

/* Product listing uses a stable five-column retail grid on desktop. */
.mall-category-page .mall-products-grid.mall-listing-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.mall-category-page .mall-products-grid.mall-listing-grid .retail-product-card {
    min-width: 0;
    width: 100%;
}

.mall-category-page .mall-products-grid.mall-listing-grid .product-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.mall-category-page .mall-products-grid.mall-listing-grid .product-thumb img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .mall-category-page .mall-products-grid.mall-listing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .mall-category-page .mall-products-grid.mall-listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mall-category-page .mall-products-grid.mall-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Shared storefront header actions. */
.mall-home-storefront .mall-home-top {
    grid-template-columns: minmax(230px, 300px) minmax(280px, 1fr) auto;
}

.mall-home-storefront .mall-home-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mall-home-storefront .mall-home-actions a {
    display: inline-flex;
    width: auto;
    min-width: 0;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.mall-home-storefront .mall-home-actions a i {
    color: #2563eb;
    font-size: 15px;
}

.mall-home-storefront .mall-home-actions a:hover {
    border-color: #fecaca;
    background: #fff5f5;
    color: #e53935;
    text-decoration: none;
}

.mall-home-storefront .mall-home-actions a:hover i {
    color: #e53935;
}

@media (max-width: 680px) {
    .mall-home-storefront .mall-home-actions {
        gap: 5px;
    }

    .mall-home-storefront .mall-home-actions a {
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }
}

/* Red purchase actions and prices */
.home-buy-btn,
.retail-buy-btn,
.style-zone-banner a,
.style-product-bottom a,
.purchase-buy-now,
.purchase-add-cart,
.mall-product-page .purchase-buy-now,
.mall-product-page .purchase-add-cart,
.product-shop-enter {
    background: #e53935;
    color: #fff;
}

.home-buy-btn:hover,
.retail-buy-btn:hover,
.style-zone-banner a:hover,
.style-product-bottom a:hover,
.purchase-buy-now:hover,
.purchase-add-cart:hover,
.mall-product-page .purchase-buy-now:hover,
.mall-product-page .purchase-add-cart:hover,
.product-shop-enter:hover {
    background: #c62828;
    color: #fff;
}

.home-product-price-row strong,
.style-product-bottom strong,
.retail-product-price-row strong,
.mobile-product-info strong,
.mobile-zone-product strong,
.mobile-quality-shop-product strong,
.home-quality-shop-product > strong,
.product-bottom strong,
.product-price,
.mall-product-page .product-price,
.product-shop-mini em,
.hot-info em {
    color: #e53935;
}
