/* ==== Force 31:22 image ratio for product cards ==== */
        .ratio-31-22 {
            aspect-ratio: 31 / 22;
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }

        .ratio-50-21 {
            aspect-ratio: 50 / 21;
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }

        /* ===== 页面布局骨架（按设计图） ===== */
        .hero-aside {
            background: #0a0f1c;
        }

        .k-badge {
            position: relative;
        }

        .k-badge::before {
            content: "K";
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 90px;
            letter-spacing: .04em;
            color: #fff;
            opacity: .9;
        }

        .skew-panel {
            background: linear-gradient(135deg, #0d1117 0 45%, #0d1117 45%, transparent 45%),
                linear-gradient(225deg, #0d1117 0 45%, #0d1117 45%, transparent 45%),
                radial-gradient(1200px 480px at 110% 20%, #0b1f2e 0, #0b1f2e 35%, #0a0f1c 80%);
            background-color: #0a0f1c;
        }

        .skew-accent {
            background: linear-gradient(140deg, #24a0d8, #0c86b6 48%, #067aa6 49%, #045f82 100%);
            clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
            opacity: .9;
        }

        .dot {
            width: 26px;
            height: 4px;
            border-radius: 8px;
            background: #d9d9d9;
        }

        .dot.active {
            background: #f19a00;
        }

        .card-tab {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: .6rem .9rem;
            background: rgba(255, 255, 255, .08);
            border-top: 3px solid #17b0c9;
            color: #fff;
        }

        .brandBar {
            background: #fff;
            cursor: pointer;
        }

        .brandBar:hover {
            background: #f26522;
        }

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

        @media (min-width:768px) {
            .grid-3 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 20px;
            }
        }

        @media (min-width:1024px) {
            .grid-3 {
                gap: 24px;
            }
        }

        .webshow {
            display: block;
        }

        .webhidden {
            display: none;
        }

        @media (max-width:767.98px) {
            .webshow {
                display: none;
            }

            .webhidden {
                display: block;
            }
        }

        .card-tab {
            border: 1px solid #fff;
            border-top: 0;

        }

        .card-tab:hover {
            background: #2BB3DE;
        }

        /* ===== 明星产品：轮播与粉色长条分页器 ===== */
        .hero-swiper {
            width: 100%;
            height: auto;
        }

        .hero-pagination {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 14px;
            display: flex;
            gap: 14px;
            z-index: 10;
            pointer-events: auto;
        }

        .hero-pagination .swiper-pagination-bullet {
            width: 66px;
            height: 6px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .35);
            /* 粉色长条（未激活） */
            opacity: 1;
            margin: 0 !important;
            transition: all .25s ease;
        }

        .hero-pagination .swiper-pagination-bullet-active {
            width: 92px;
            height: 6px;
            border-radius: 999px;
            background: #f26522;
            /* 粉色长条（激活） */
        }

        @media (max-width:767.98px) {
            .hero-pagination {
                bottom: 10px;
                gap: 10px;
            }

            .hero-pagination .swiper-pagination-bullet {
                width: 42px;
                height: 5px;
            }

            .hero-pagination .swiper-pagination-bullet-active {
                width: 64px;
                height: 5px;
            }
        }

        /* === Numeric pager (unified, with ellipsis, themed) === */
        :root {
            --brand: #f26522;
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 6px;
            padding: 22px 0 6px;
            flex-wrap: wrap;
            margin-bottom: clamp(20px, 5vh, 48px)
        }

        .pagination li {
            list-style: none
        }

        .pagination li a,
        .pagination li span {
            display: inline-block;
            min-width: 34px;
            height: 32px;
            line-height: 30px;
            background: #fff;
            color: #333;
            border-radius: 4px;
            text-decoration: none;
            font-size: 14px;
            text-align: center;
            user-select: none;
            transition: color .2s ease, background-color .2s ease, border-color .2s ease
        }

        .pagination li a:hover {
            background: #fff;
            border-color: var(--brand, #f26522);
            color: var(--brand, #f26522)
        }

        .pagination li.active a {
            background: var(--brand, #f26522);
            color: #fff;
            border-color: var(--brand, #f26522)
        }

        .pagination li.disabled a {
            opacity: .45;
            cursor: not-allowed;
            background: #f7f7f7;
            color: #999
        }

        .pagination li.page-dots span {
            background: #f7f7f7;
            color: #888;
            cursor: default
        }

        .pagination li a.prev,
        .pagination li a.next {
            color: var(--brand, #f26522)
        }

        .pagination li a.prev:hover,
        .pagination li a.next:hover {
            border-color: var(--brand, #f26522);
            background: #fff;
            color: var(--brand, #f26522)
        }

        @media (max-width:480px) {
            .pagination {
                gap: 4px;
                padding: 16px 0 4px;
                margin-bottom: clamp(16px, 6vh, 36px)
            }

            .pagination li a,
            .pagination li span {
                min-width: 30px;
                height: 30px;
                line-height: 28px;
                font-size: 13px
            }
        }
