: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 a:hover {
    color: var(--brand);
    text-decoration: none;
}

.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: 18px;
}

.nav-main .nav-link {
    color: #1f2937;
    font-size: 14px;
    font-weight: 650;
    padding: 18px 4px;
    position: relative;
}

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

.nav-main .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 9px;
    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;
}

.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 {
    line-height: 1.85;
    word-break: break-word;
}

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

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

.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;
}

.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;
}

.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-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;
}

@media (max-width: 992px) {
    .nav-main {
        gap: 0;
    }

    .nav-main .nav-link {
        padding: 10px 4px;
    }

    .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,
    .product-buy-box h1 {
        font-size: 24px;
    }

    .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 {
    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: 190px 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(4, 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-home-shortcuts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-home-shortcuts a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 8px;
    color: #fff;
    font-size: 25px;
    text-decoration: none;
}

.mobile-quick-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid #dbeefa;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 24px rgba(42, 111, 166, .09);
}

.mobile-quick-nav a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 58px;
    color: #182233;
    text-decoration: none;
}

.mobile-quick-nav a i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #1878ff;
    font-size: 19px;
}

.mobile-quick-nav a span {
    overflow: hidden;
    max-width: 100%;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.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-quick-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .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));
    }
}
