 html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
        font-family: "Microsoft YaHei",微软雅黑,sans-serif;
    }

    body {
        background: linear-gradient(180deg, #5A9BD5 0%, #A7DDE8 48%, #FFFFFF 100%);
        min-height: 100dvh;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 0.8rem 0 1.2rem 0;
    }

    :root {
        --main-blue: #1276CC;
        --light-cyan: #19C2D2;
        --blue-light: #F0F7FF;
        --blue-text: #1276CC;
        --blue-soft: #E4F3FF;
    }

    .app-container {
        width: 100%;
        max-width: 42rem;
        height: 100dvh;
        background: transparent;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
        padding: 0 0.8rem 0.8rem 0.8rem;
    }

    .top-header {
        background: #ffffff;
        border: 1px solid rgba(18, 118, 204, 0.12);
        border-radius: 2.4rem;
        padding: 1.2rem 1.4rem 1rem;
        margin-bottom: 0.8rem;
        flex-shrink: 0;
        box-shadow: 0 0.8rem 3.2rem rgba(18, 118, 204, 0.08);
    }

    .brand-block {
        margin-bottom: 1rem;
    }

    .brand-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
    }

    .brand-name {
        font-size: 2.6rem;
        font-weight: 700;
        color: #1276CC;
        letter-spacing: 0rem;
        line-height: 1.1;
    }

    .brand-name span {
        font-weight: 400;
        color: #19C2D2;
    }

    .slogan-tags {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .slogan-tag {
        background: #FFFFFF;
        padding: 0.4rem 1.2rem;
        border-radius: 3rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: #1276CC;
        border: 1px solid rgba(18, 118, 204, 0.12);
        display: flex;
        align-items: center;
        gap: 0.3rem;
        transition: transform 0.2s ease;
        white-space: nowrap;
    }

    .slogan-tag i {
        font-size: 1rem;
        opacity: 0.8;
    }

    .slogan-tag:active {
        transform: scale(0.94);
    }

    .banner-wrapper {
        position: relative;
        border-radius: 1.8rem;
        overflow: hidden;
        box-shadow: 0 0.6rem 2rem rgba(18, 118, 204, 0.10);
        aspect-ratio: 16 / 7;
        min-height: 8rem;
    }

    .banner-slider {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: transform;
        height: 100%;
    }

    .banner-slide {
        flex: 0 0 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: block;
    }

    .banner-dots {
        position: absolute;
        bottom: 0.6rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 0.5rem;
        z-index: 5;
    }

    .banner-dots .dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.7);
        border: none;
        padding: 0;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .banner-dots .dot.active {
        background: #1276CC;
        width: 1.6rem;
        border-radius: 0.3rem;
    }

    .search-section {
        padding: 0 0 0.8rem 0;
        flex-shrink: 0;
    }

    .search-box {
        display: flex;
        align-items: center;
        background: #FFFFFF;
        border-radius: 1.8rem;
        padding: 0 1.4rem;
        height: 4.4rem;
        box-shadow: 0 0.4rem 1.6rem rgba(18, 118, 204, 0.07);
        border: 1px solid rgba(18, 118, 204, 0.12);
        transition: box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .search-box:focus-within {
        box-shadow: 0 0.6rem 2.4rem rgba(18, 118, 204, 0.12);
        border-color: #1276CC;
    }

    .search-box .search-icon {
        color: #1276CC;
        font-size: 1.3rem;
        margin-right: 0.8rem;
    }

    .search-box input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 1.3rem;
        color: #1A365D;
        background: transparent;
        height: 100%;
    }

    .search-box input::placeholder {
        color: #7890A3;
        font-weight: 400;
        font-size: 1.2rem;
    }

    .search-box .search-btn {
        background: linear-gradient(135deg, #1276CC, #19C2D2);
        border: none;
        color: #fff;
        padding: 0.6rem 1.6rem;
        border-radius: 1.4rem;
        font-size: 1.2rem;
        font-weight: 500;
        cursor: pointer;
        transition: transform 0.15s ease, box-shadow 0.2s ease;
        flex-shrink: 0;
        box-shadow: 0 0.4rem 1.2rem rgba(18, 118, 204, 0.25);
    }

    .search-box .search-btn:active {
        transform: scale(0.94);
        box-shadow: 0 0.2rem 0.8rem rgba(18, 118, 204, 0.18);
    }

    .main-content {
        display: flex;
        padding: 0;
        gap: 0.8rem;
        flex: 1;
        min-height: 0;
        position: relative;
    }

    .category-list {
        width: 7.6rem;
        flex-shrink: 0;
        background: #FFFFFF;
        border-radius: 2.2rem;
        padding: 0.8rem 0.4rem;
        box-shadow: 0 0.4rem 1.6rem rgba(18, 118, 204, 0.05);
        border: 1px solid rgba(18, 118, 204, 0.12);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .category-list::-webkit-scrollbar {
        width: 0.2rem;
    }

    .category-list::-webkit-scrollbar-thumb {
        background: rgba(18, 118, 204, 0.25);
        border-radius: 0.4rem;
    }

    .category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem 0.2rem;
        border-radius: 1.6rem;
        cursor: pointer;
        transition: all 0.25s ease;
        font-size: 1rem;
        color: #2c4a6a;
        font-weight: 400;
        gap: 0.3rem;
        min-height: 5.4rem;
        border: none;
        background: transparent;
        width: 100%;
        position: relative;
    }
    .cat-icon {
        width: 2rem;
        height: 2rem;
        object-fit: contain;
        display: block;
    }

    .category-item .cat-label {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0.02rem;
    }

    .category-item:active {
        transform: scale(0.94);
    }

    .category-item.active {
        background: #1276CC;
        color: #ffffff;
        box-shadow: 0 0.4rem 1.6rem rgba(18, 118, 204, 0.22);
    }

    .category-item.active .cat-icon {
        transform: scale(1.05);
    }

    .product-list {
        flex: 1;
        background: #FFFFFF;
        border-radius: 2.2rem;
        padding: 0.8rem 0.6rem;
        box-shadow: 0 0.4rem 1.6rem rgba(18, 118, 204, 0.05);
        border: 1px solid rgba(18, 118, 204, 0.12);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .product-list::-webkit-scrollbar {
        width: 0.2rem;
    }

    .product-list::-webkit-scrollbar-thumb {
        background: rgba(18, 118, 204, 0.25);
        border-radius: 0.4rem;
    }

    .product-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: #F8FBFF;
        padding: 1rem 1.2rem;
        border-radius: 1.6rem;
        box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(18, 118, 204, 0.08);
        transition: all 0.2s ease;
        cursor: pointer;
        text-decoration: none;
        color: #1A365D;
        flex-shrink: 0;
        animation: fadeSlideUp 0.4s ease both;
    }

    .product-item:active {
        transform: scale(0.96);
        background: #FFFFFF;
        border-color: #1276CC;
        box-shadow: 0 0.4rem 1.2rem rgba(18, 118, 204, 0.1);
    }
    .prod-icon {
        width: 3.8rem;
        height: 3.8rem;
        border-radius: 1.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: #E4F3FF;
    }
    .prod-icon img {
        width: 60%;
        height: 60%;
        object-fit: contain;
    }

    .product-item .prod-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        min-width: 0;
    }

    .product-item .prod-name {
        font-size: 1.4rem;
        font-weight: 600;
        color: #1A365D;
    }

    .product-item .prod-desc {
        font-size: 1.1rem;
        color: #5a7e9a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-item .prod-arrow {
        color: #1276CC;
        font-size: 1.2rem;
        flex-shrink: 0;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .product-item:active .prod-arrow {
        transform: translateX(0.4rem);
        color: #1276CC;
    }

    .empty-products {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: #5a7e9a;
        font-size: 1.2rem;
        gap: 0.6rem;
    }

    .empty-products .empty-icon {
        font-size: 3rem;
        opacity: 0.3;
        color: #1276CC;
    }
    .loading-tip{
        text-align:center;
        padding:2rem 0;
        font-size:1.2rem;
        color:#888;
    }

    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(0.8rem);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .product-item:nth-child(1) { animation-delay: 0.02s; }
    .product-item:nth-child(2) { animation-delay: 0.05s; }
    .product-item:nth-child(3) { animation-delay: 0.08s; }
    .product-item:nth-child(4) { animation-delay: 0.11s; }
    .product-item:nth-child(5) { animation-delay: 0.14s; }

    @media (max-width: 380px) {
        .top-header { padding: 1rem 1.2rem 0.8rem; }
        .brand-name { font-size: 2.4rem; }
        .slogan-tag { font-size: 1rem; padding: 0.3rem 1rem; }
        .banner-wrapper { min-height: 7rem; }
        .category-list { width: 7rem; }
        .category-item { min-height: 5rem; padding: 0.8rem 0.2rem; }
        .cat-icon { width: 1.8rem;height:1.8rem; }
        .product-item { padding: 0.8rem 1rem; }
        .prod-icon { width: 3.4rem;height:3.4rem; }
    }

    @media (min-height: 800px) {
        .banner-wrapper { min-height: 10rem; }
    }