        .woocommerce-js div.product span.onsale {
            min-height: auto !important;
            min-width: auto !important;
            line-height: normal !important;
        }
        /* General Variables & Reset */
        .vertu-catalog-wrapper {
            --main-black: #222;
            --main-white: #fff;
            --main-gray: #f5f5f5;
            --main-light-gray: #fafbfc;
            --main-border: #e5e5e5;
            --main-red: #d7263d;
            --main-text: #222;
            --main-muted: #888;
        }

        /* Banner & Header */
        .vertu-catalog-wrapper .banner {
            padding: 32px 80px 12px 80px;
            border-bottom: 1px solid var(--main-border);
        }

        .vertu-catalog-wrapper .banner-title {
            font-size: 1.4em;
            font-weight: 400;
            margin-bottom: 8px;
            letter-spacing: 0.01em;
            color: #222;
        }

        .vertu-catalog-wrapper .banner-desc {
            color: #222;
            font-size: 14px;
            margin-bottom: 24px;
            line-height: 1.2;
            width: 50%;
            font-weight: 400;
            word-break: break-word;
        }

        .vertu-catalog-wrapper .banner-desc strong {
            font-weight: 700;
            color: #111;
        }

        .vertu-catalog-wrapper .discover-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .ast-container{
             max-width: 100% !important;
                 padding-left: 10px !important;
                padding-right: 10px !important;
            }
            .woocommerce-js div.product .out-of-stock {
                color: red;
                background: #22222200;
                border: 1px solid #22222200 !important;
                box-shadow: unset;
                    cursor: auto;
                        padding: 8px 0px !important;
            }
            .woocommerce-js div.product .out-of-stock:hover {
                background: #ffffff00 !important;
                color: red !important;
            }
            .c-banner{
                display: none;
            }
            @media (min-width: 1024px) and (max-width: 1500px) {
                .vertu-catalog-wrapper .button, .vertu-catalog-wrapper .learn-more {
                padding: 2px 10px !important;
                font-size: 12px !important;
            }
                
            }

        .vertu-catalog-wrapper .discover-title {
            font-size: 1.08em;
            font-weight: 500;
            letter-spacing: 0.01em;
                color: #222;
        }
        .vertu-catalog-wrapper .hidden { 
            display: none !important; 
            height: 0 !important;
            overflow: hidden !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        .vertu-catalog-wrapper .card-labels {
            display: flex;
            gap: 8px;
            position: absolute;
            left: 22px;
            top: 22px;
            z-index: 2;
            flex-wrap: wrap;
        }

        .vertu-catalog-wrapper .product-tag {
            background: #E1E1E1;
            color: #222;
            font-size: 0.95em;
            font-weight: 400;
            padding: 0px 12px;
            border-radius: 2px;
        }

        .vertu-catalog-wrapper .price del {
            color: #999999;
            font-weight: 400;
            font-size: 0.9em;
            text-decoration: line-through;
        }

        /* Categories Carousel */
        .vertu-catalog-wrapper .banner-categories {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 20px 0;
            margin: 0;
            position: relative;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .vertu-catalog-wrapper .banner-categories::-webkit-scrollbar {
            display: none;
        }

        .vertu-catalog-wrapper .banner-category-card {
            min-width: 300px;
            max-width: 332px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            cursor: pointer;
            transition: transform 0.18s;
            border: none;
        }

        .vertu-catalog-wrapper .banner-category-card img {
            width: 300px;
            height: 300px;
            object-fit: cover;
            margin-bottom: 10px;
            background: #f7f7f7;
        }

        .vertu-catalog-wrapper .banner-category-card .cat-name {
            font-size: 14px;
            font-weight: 400;
            text-align: left;
            color: #222;
            margin-top: 6px;
        }

        .vertu-catalog-wrapper .banner-category-card.active,
        .vertu-catalog-wrapper .banner-category-card:hover {
            transform: scale(1.045);
            z-index: 1;
        }

        .vertu-catalog-wrapper .discover-nav-arrows {
            display: flex;
            gap: 4px;
        }

        .vertu-catalog-wrapper .discover-nav-arrow {
            width: 32px;
            height: 32px;
            border: none;
            background: transparent;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: unset !important;
        }

        /* Filter Bar & Dropdowns */
        .vertu-catalog-wrapper .filter-bar {
            position: sticky;
            top: 80px;
            z-index: 20;
            background: #fff;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            /*padding: 10px 0;*/
            margin: 0 auto;
            border-bottom: 1px solid #e5e5e5;
        }

        .vertu-catalog-wrapper .sort-dropdown-container-1 {
            margin-left: 80px;
            position: relative;
        }

        .vertu-catalog-wrapper .sort-dropdown-container {
            position: relative;
            display: inline-block;
            margin-right: 80px;
        }

        .vertu-catalog-wrapper .dropdown,
        .vertu-catalog-wrapper .sort-dropdown-btn {
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: 500;
            /*gap: 8px;*/
            background: none;
            border: none;
            transition: all 0.2s;
            cursor: pointer;
            box-shadow: unset !important;
            color: #000000 !important;
            padding: 20px 0px;
        }
        #sort-dropdown-btn{
             gap: 8px;
        }
        .vertu-catalog-wrapper .dropdown-all {
            font-weight: 500;
            margin-right: 6px;
            letter-spacing: 0.02em;
        }

        .vertu-catalog-wrapper .dropdown-maincat {
            font-weight: 400;
            margin-right: 10px;
            letter-spacing: 0.01em;
        }

        .vertu-catalog-wrapper .dropdown-arrow svg,
        .vertu-catalog-wrapper .sort-arrow svg {
            transition: transform 0.3s ease;
        }

        .vertu-catalog-wrapper .dropdown.active .dropdown-arrow svg,
        .vertu-catalog-wrapper .sort-dropdown-btn.active .sort-arrow svg {
            transform: rotate(180deg);
        }

        .vertu-catalog-wrapper .dropdown-menu,
        .vertu-catalog-wrapper .sort-dropdown-menu {
            position: absolute;
            background: #fff;
            border: 1px solid #e5e5e5;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            min-width: 300px;
            display: none;
            max-height: 320px;
            overflow-y: auto;
            scrollbar-width: thin;
        }

        .vertu-catalog-wrapper .dropdown-menu {
            left: 0;
            top: 100%;
        }

        .vertu-catalog-wrapper .sort-dropdown-menu {
            right: 0;
            top: 101%;
        }

        .vertu-catalog-wrapper .dropdown-item,
        .vertu-catalog-wrapper .sort-dropdown-item {
            padding: 12px 16px;
            cursor: pointer;
            transition: background 0.2s;
            font-size: 14px;
            color: #222;
        }

        .vertu-catalog-wrapper .dropdown-item:hover,
        .vertu-catalog-wrapper .sort-dropdown-item:hover {
            background: #f8f9fa;
        }

        .vertu-catalog-wrapper .sort-dropdown-item.selected {
            background: #f5f5f5;
            font-weight: bold;
        }

        svg:not(:root) {
            overflow: visible !important;
        }

        /* Product Grid & Cards */
        .vertu-catalog-wrapper .product-section {
            padding: 50px 80px;
            background: #F2F2F2;
        }

        .vertu-catalog-wrapper .product-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 0 auto;
            margin-top: 40px;
        }

        .vertu-catalog-wrapper .product-card {
            display: flex;
            flex-direction: column;
            position: relative;
            padding: 32px 18px;
            transition: box-shadow 0.2s, transform 0.2s;
            min-height: 480px;
        }

        .vertu-catalog-wrapper .product-card:hover {
            transform: translateY(-4px);
            /*border: 1.5px solid #e3e3e3;*/
            background: #EBEBEB;
        }

        .vertu-catalog-wrapper .product-card-img-wrap {
            position: relative;
            width: 100%;
            min-height: 210px;
            margin-bottom: 18px;
        }

        .vertu-catalog-wrapper .product-card img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }

        .vertu-catalog-wrapper .card-labels {
            display: flex;
            gap: 8px;
            position: absolute;
            left: 22px;
            top: 22px;
            z-index: 2;
        }

        .vertu-catalog-wrapper .card-labels {
            position: absolute;
            top: 1em;
            left: 1em;
            z-index: 9;
        }

        .vertu-catalog-wrapper .product-card span.onsale {
            all: unset;
            display: flex;
            background: #E1E1E1;
            color: #E22424;
            font-size: 0.95em;
            font-weight: 400;
            padding: 2px 5px;
            border-radius: 2px;
            align-items: center;
        }
        .onsale{
            display: none !important;
            }
        .vertu-catalog-wrapper .product-image-link {
            display: block;
            text-decoration: none;
            color: inherit;
            transition: opacity 0.2s;
        }

        .vertu-catalog-wrapper .product-image-link:hover {
            opacity: 0.8;
        }

        .vertu-catalog-wrapper .product-title-link {
            color: #222;
            text-decoration: none;
            transition: color 0.2s;
        }

        .vertu-catalog-wrapper .product-title-link:hover {
            color: #666;
        }

        .wcpbc-price {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 5px;
            align-items: flex-end;
        }

        .vertu-catalog-wrapper .onsale {
            background: #E1E1E1;
            color: #E22424;
            font-size: 0.95em;
            font-weight: 400;
            padding: 0px 12px;
            border-radius: 8px;
        }

        .vertu-catalog-wrapper .woocommerce-loop-product__title {
            font-size: 14px;
            font-weight: 400;
            margin: 12px 0 6px 0;
            text-align: left;
            width: 100%;
            line-height: 25px;
            min-height: 50px;
        }

        .vertu-catalog-wrapper .price {
            color: #222 !important;
            font-size: 14px !important;
            font-weight: 500 !important;
            margin-bottom: 18px !important;
            text-align: left;
            width: 100%;
            min-height: 28px;
        }

        .vertu-catalog-wrapper .price-old {
            color: #888;
            text-decoration: line-through;
            margin-left: 8px;
        }

        .vertu-catalog-wrapper .btn-group {
            display: flex;
            gap: 12px;
            width: 100%;
            margin-top: auto;
        }

        .vertu-catalog-wrapper .button,
        .vertu-catalog-wrapper .learn-more {
            border-radius: 24px;
            padding: 8px 30px !important;
            font-size: 1em !important;
            font-weight: 400 !important;
            cursor: pointer;
            text-decoration: none;
            text-align: center;
            transition: all 0.2s;
            line-height: normal !important;
        }

        .vertu-catalog-wrapper .button {
            background: #222;
            color: #fff;
            border: 1px solid #222 !important;
        }

        .vertu-catalog-wrapper .button:hover {
            background: #fff !important;
            color: #222 !important;
        }

        .vertu-catalog-wrapper .learn-more {
            background: #ffffff00;
            color: #222;
            border: 1.5px solid #222;
        }

        .vertu-catalog-wrapper .learn-more:hover {
            background: #222;
            color: #fff;
        }

        /* States: Loading, Error, Skeleton */
        .vertu-catalog-wrapper .initial-loading, .vertu-catalog-wrapper .error-state { 
            position: absolute; 
            top: 0; 
            left: 0; 
            right: 0; 
            bottom: 0; 
            background: rgba(255, 255, 255); /* 半透明背景 */
            backdrop-filter: blur(5px); /* 背景模糊效果 */
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: center; 
            z-index: 30; 
            text-align: center; 
             width: 100%;
            height: 100%;
             min-height: 700px;
        }
        /* 确保.vertu-catalog-wrapper有相对定位，作为加载动画的定位参考 */
            .vertu-catalog-wrapper {
                position: relative;
                opacity: 1;
                visibility: visible;
                transition: opacity 0.3s ease;
                /* 确保有足够的最小高度来容纳加载动画 */
                min-height: 600px;
            }
            
            /* 加载动画文本样式优化 */
            .vertu-catalog-wrapper .initial-loading-text {
                font-size: 16px;
                font-weight: 500;
                color: #333;
                margin-top: 20px;
                letter-spacing: 0.5px;
                animation: fadeInUp 0.6s ease-out;
            }
            
            /* 加载动画淡入效果 */
            @keyframes fadeInUp {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            
            /* 错误状态样式优化 */
            .vertu-catalog-wrapper .error-state {
                background: rgba(255, 255, 255);
                border: 1px solid #ffebee;
            }
        
        /* VERTU Logo Loader */
        .vertu-catalog-wrapper .vertu-loader {
            /*margin-bottom: 20px;*/
            display: flex;
            align-items: center;
            justify-content: center;
             background: rgba(255, 255, 255);
               animation: pulse 1.5s ease-in-out infinite;
               transform: scale(1.2);
        }
        
        .vertu-catalog-wrapper .vertu-loader .main-v {
            width: 120px;
            height: 60px;
            max-width: 100%;
        }
        
        .vertu-catalog-wrapper .vertu-loader .v-path {
            fill: none;
            stroke: #000000;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            animation: drawPath 2s ease-in-out infinite;
            stroke-dasharray: 0 3000;
            stroke-dashoffset: 0;
            filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.1));
        }
        
   
        
        @keyframes pulse {
            0%, 100% { 
                transform: scale(1); 
                opacity: 1; 
            }
            50% { 
              transform: scale(1.03); 
        opacity: 0.9; 
            }
        }
        
        /* Dark mode support */
        @media (prefers-color-scheme: dark) {
            .vertu-catalog-wrapper .vertu-loader .v-path {
                stroke: #fff;
            }
        }
        
        /* Path drawing animation */
        @keyframes drawPath {
            0% { 
                stroke-dasharray: 0 3000;
                stroke-dashoffset: 0;
                opacity: 0.4;
            }
            30% { 
                stroke-dasharray: 1500 1500;
                stroke-dashoffset: 0;
                opacity: 0.8;
            }
            60% { 
                stroke-dasharray: 3000 0;
                stroke-dashoffset: 0;
                opacity: 1;
            }
            70% { 
                stroke-dasharray: 3000 0;
                stroke-dashoffset: 0;
                opacity: 1;
            }
            100% { 
                stroke-dasharray: 0 3000;
                stroke-dashoffset: -3000;
                opacity: 0.4;
            }
        }
        
        .vertu-catalog-wrapper .error-state-button { 
            padding: 12px 24px; 
            background: #222; 
            color: #fff; 
            border: none; 
            border-radius: 4px; 
            font-size: 14px; 
            cursor: pointer; 
        }
        /* 加载进度条样式 */
        .vertu-catalog-wrapper .loading-progress-container {
            width: 200px;
            height: 4px;
            background: #f0f0f0;
            border-radius: 2px;
            margin-top: 20px;
            overflow: hidden;
        }
        
        .vertu-catalog-wrapper .loading-progress {
            height: 100%;
            background: linear-gradient(90deg, #222, #666);
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
        }
        .vertu-catalog-wrapper .skeleton-card {
            background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: vertu-shimmer 1.5s infinite;
            min-height: 480px;
            padding: 32px 18px;
            border: 1.5px solid #eee;
        }

        .vertu-catalog-wrapper .skeleton-img,
        .vertu-catalog-wrapper .skeleton-title,
        .vertu-catalog-wrapper .skeleton-price,
        .vertu-catalog-wrapper .skeleton-btn {
            background: #e0e0e0;
            border-radius: 4px;
        }

        .vertu-catalog-wrapper .skeleton-img {
            width: 100%;
            height: 210px;
            margin-bottom: 18px;
        }

        .vertu-catalog-wrapper .skeleton-title {
            width: 80%;
            height: 40px;
            margin-bottom: 12px;
        }

        .vertu-catalog-wrapper .skeleton-price {
            width: 40%;
            height: 20px;
            margin-bottom: 18px;
        }

        .vertu-catalog-wrapper .skeleton-btn {
            width: 60%;
            height: 32px;
            margin-top: auto;
        }

        .vertu-catalog-wrapper .load-more-btn {
            display: block;
            margin: 20px auto 0;
            padding: 8px 20px;
            background: #22222200;
            color: #000000;
            border: none;
            border-radius: 5px;
            font-size: 1.08em;
            font-weight: 400;
            cursor: pointer;
            box-shadow: unset;
            border: 1px solid var(--color--, #222);
            transition: all 0.2s; position: relative;
        }

        .vertu-catalog-wrapper .lazy-img {
            opacity: 0;
            transition: opacity 0.5s;
        }

        .vertu-catalog-wrapper .lazy-img.loaded {
            opacity: 1;
        }

        /*@keyframes vertu-spin {*/
        /*    0% {*/
        /*        transform: rotate(0deg);*/
        /*    }*/

        /*    100% {*/
        /*        transform: rotate(360deg);*/
        /*    }*/
        /*}*/
        
/* 🔧 新增：加载状态样式 */
.vertu-catalog-wrapper .load-more-btn.loading { background: #f5f5f5; color: #666; border-color: #ccc; cursor: wait; pointer-events: none; }
.vertu-catalog-wrapper .load-more-btn.loading::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid #ccc; border-top-color: #666; border-radius: 50%; animation: vertu-spin 0.8s linear infinite; vertical-align: middle; }

/* 🔧 新增：错误状态样式 */
.vertu-catalog-wrapper .load-more-btn.error-state { background: #fff5f5; color: #d7263d; border-color: #d7263d; animation: vertu-shake 0.3s ease-in-out; }
.vertu-catalog-wrapper .load-more-btn.error-state:hover { background: #ffebeb; }

/* 🔧 新增：加载按钮动画 */
@keyframes vertu-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes vertu-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

        @keyframes vertu-shimmer {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        /* 加载动画样式 */
        .vertu-catalog-wrapper {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease;
        }
        
        .banner-categories,
        .product-list,
        #discover-categories-block,
        .dropdown {
            opacity: 1;
            transform: none;
            transition: opacity 0.3s ease;
        }
        
        /* 加载动画隐藏后的平滑过渡 */
        .initial-loading {
            transition: opacity 0.3s ease;
}

        /* 暗色模式支持 */
        @media (prefers-color-scheme: dark) {
            .progressive-loading-indicator {
                background: rgba(30, 30, 30, 0.95);
                color: #fff;
            }
            
            .progressive-loading-text {
                color: #fff;
            }
            
            .progressive-loading-progress {
                background: #444;
            }
        }

        /* Responsive Media Queries */
        @media (max-width: 900px) {
            .vertu-catalog-wrapper .product-list {
                grid-template-columns: repeat(2, 1fr);
                margin-top: 32px;
            }

            .vertu-catalog-wrapper .banner {
                padding: 32px 20px 12px;
            }
                /* 调整加载动画大小 */
            .vertu-catalog-wrapper .vertu-loader .main-v {
                width: 100px;
                height: 50px;
            }
        }

        @media (max-width: 760px) {

            .vertu-catalog-wrapper .banner,
            .vertu-catalog-wrapper .product-section {
                padding: 15px 10px 12px;
            }
                
            /* 移动端加载动画调整 */
            .vertu-catalog-wrapper .vertu-loader .main-v {
                width: 80px;
                height: 40px;
            }
            
            .vertu-catalog-wrapper .initial-loading-text {
                font-size: 14px;
            }
            .vertu-catalog-wrapper .banner .banner-desc {
                width: 100%;
                font-size: 13px;
            }

            .vertu-catalog-wrapper .banner-category-card {
                min-width: 150px;
            }

            .vertu-catalog-wrapper .banner-category-card img {
                width: 150px;
                height: 150px;
            }

            .vertu-catalog-wrapper .sort-dropdown-container {
                margin-right: 10px;
            }

            .vertu-catalog-wrapper .sort-dropdown-container-1 {
                margin-left: 10px;
            }

            .vertu-catalog-wrapper .product-card {
                padding: 16px 12px;
                min-height: auto;
            }

            .vertu-catalog-wrapper .product-card .woocommerce-loop-product__title {
                font-size: 13px;
                line-height: 1.4;
                min-height: 40px;
            }

            .vertu-catalog-wrapper .price {
                font-size: 13px;
            }

            .vertu-catalog-wrapper .filter-bar {
                top: 60px;
            }

            .product-card .btn-group {
                flex-direction: column;
            }

            .wcpbc-price {
                flex-direction: column-reverse
            }
             .load-more-container { text-align: center; margin: 40px auto 0; }

            .vertu-catalog-wrapper .card-labels {
                flex-direction: row;
                font-size: 12px;
                flex-wrap: nowrap;
                top: 16em;
            }
            vertu-catalog-wrapper .product-card-img-wrap {
            min-height: 160px;
        }
        
        }
        .load-more-container { text-align: center; margin: 80px auto 0; }
        .product-count-info { color: #000;
            font-size: 14px; }
        .load-more-btn { 
            background: #fff; 
            color: #222; 
            border: 1px solid #222; 
            border-radius: 24px; 
        }
        
        @media (max-width: 768px) {
            .vertu-catalog-wrapper .banner-categories{
                    gap: 10px;
            }
            .vertu-catalog-wrapper .initial-loading, 
            .vertu-catalog-wrapper .error-state {
                padding: 20px;
                border-radius: 4px;
                /* 移动端适当减少最小高度 */
                min-height: 500px;
            }
            
            .vertu-catalog-wrapper {
                min-height: 500px;
            }
            
            .vertu-catalog-wrapper .initial-loading-text {
                font-size: 14px;
                margin-top: 16px;
            }
            
            .vertu-catalog-wrapper .vertu-loader {
                transform: scale(1.0); /* 移动端保持原始大小 */
            }
        }
        
        @media (max-width: 480px) {
            .vertu-catalog-wrapper .initial-loading, 
            .vertu-catalog-wrapper .error-state {
                min-height: 400px;
            }
            
            .vertu-catalog-wrapper {
                min-height: 400px;
            }
        }
        @keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}
