/* 产品分类页样式 */

/* Shop页顶部深色背景 - 突破容器限制实现全宽 */
.bj-shop-hero-bg{
    background:#141F30;
    height:500px;
    width:100vw;
    margin-left:calc(-50vw + 50%);
    position:relative;
    left:0;
    display:flex;
    align-items:flex-end;
}

.bj-shop-hero-inner{
    max-width:1440px;
    width:100%;
    margin:0 auto;
    padding:0 30px 50px;
    box-sizing:border-box;
}

.bj-shop-hero-title{
    font-size:56px;
    font-weight:300;
    color:#fff;
    margin:0 0 16px;
    line-height:1.2;
}

.bj-shop-hero-desc{
    font-size:18px;
    color:rgba(255,255,255,0.7);
    margin:0;
    max-width:600px;
    line-height:1.6;
}

@media (max-width:768px){
    .bj-shop-hero-bg{
        height:400px;
    }
    .bj-shop-hero-title{
        font-size:36px;
    }
    .bj-shop-hero-desc{
        font-size:16px;
    }
}

/* 确保shop页面和搜索页面容器是垂直布局 */
.ast-woo-shop-archive .site-content .ast-container,
.search .site-content .ast-container{
    display:flex;
    flex-direction:column;
}

.bj-product-archive{padding:40px 0;background:#fff;margin:0;width:100%;overflow:visible}
.bj-product-archive .container{max-width:1440px;width:100%;margin:0 auto;box-sizing:border-box;overflow:visible}

/* 限定 Astra 容器为 1440px，左右 30px 仅作用于产品归档页和搜索页 */
.ast-woo-shop-archive .site-content > .ast-container,
.search .site-content > .ast-container{max-width:1440px !important;padding-left:30px;padding-right:30px;box-sizing:border-box}
.ast-woo-shop-archive .ast-container,
.search .ast-container{max-width:1440px !important}

/* 顶部横幅（分类名称/描述/分类图）- 全宽背景 + 内部1440px内容 */
.bj-archive-hero{background:#EBF0F5;padding:48px 0;width:100%;margin-bottom:28px}
.bj-archive-hero .hero-inner{max-width:1440px;margin:0 auto;padding:0 30px;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;box-sizing:border-box}
.bj-archive-hero .hero-title{margin:0 0 14px;font-size:45px;line-height:1.2;color:#0a2540;font-weight:300}
.bj-archive-hero .hero-desc{color:#374151;font-size:15px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bj-archive-hero .hero-desc.expanded{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
.bj-archive-hero .hero-desc-toggle{display:none;margin-top:8px;color:#0055B8;cursor:pointer;font-weight:700;font-size:14px;text-transform:uppercase}
.bj-archive-hero .hero-desc-toggle.visible{display:inline-block}
.bj-archive-hero .hero-desc-toggle:hover{color:#003879}
.bj-archive-hero .hero-right img{max-width:100%;height:auto;display:block}

/* 顶部横幅按钮 */
.hero-actions{margin-top:20px;display:flex;gap:14px;flex-wrap:wrap}

/* Hero按钮基础样式 */
.btn-hero-primary,
.btn-hero-outline{
    display:inline-flex;
    align-items:center;
    position:relative;
    z-index:2;
    overflow:hidden;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    text-transform:uppercase;
    line-height:16px;
    padding:9px 16px;
    padding-right:13px;
    transition:0.2s;
}

/* Arrow icon container */
.btn-hero-primary span,
.btn-hero-outline span{
    width:24px;
    height:24px;
    margin-right:12px;
    position:relative;
    overflow:hidden;
    flex-shrink:0;
}

/* 第一个按钮 - 蓝色背景 */
.btn-hero-primary{
    background:#0055B8;
    border:1px solid #0055B8;
    color:#fff;
}

.btn-hero-primary span:before,
.btn-hero-primary span:after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-white.svg') no-repeat center center;
    background-size:contain;
    transition:0.2s;
}

.btn-hero-primary span:before{
    transform:translate(0, 0);
}

.btn-hero-primary span:after{
    transform:translate(-100%, 100%);
}

.btn-hero-primary:hover{
    background:#003879;
    border-color:#003879;
    color:#fff;
}

.btn-hero-primary:hover span:before{
    transform:translate(100%, -100%);
}

.btn-hero-primary:hover span:after{
    transform:translate(0, 0);
}

/* 第二个按钮 - 透明背景边框 */
.btn-hero-outline{
    background:transparent;
    border:1px solid rgba(137, 138, 141, 0.5);
    color:#0055B8;
}

.btn-hero-outline span:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-blue.svg') no-repeat center center;
    background-size:contain;
    transform:translate(0, 0);
    transition:0.2s;
}

.btn-hero-outline span:after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-white.svg') no-repeat center center;
    background-size:contain;
    transform:translate(-100%, 100%);
    transition:0.2s;
}

.btn-hero-outline:hover{
    background:#003879;
    border-color:#003879;
    color:#fff;
}

.btn-hero-outline:hover span:before{
    transform:translate(100%, -100%);
}

.btn-hero-outline:hover span:after{
    transform:translate(0, 0);
}

/* Filter by type - 分类标签 */
.bj-category-filter{margin-bottom:32px}
.filter-title{font-size:16px;font-weight:600;color:#0a2540;margin-bottom:16px;text-transform:uppercase;letter-spacing:.05em}
.category-tags{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.cat-tag{display:inline-block;padding:8px 20px;border:1px solid rgba(137, 138, 141, 0.5);background:#fff;color:#0055B8;text-decoration:none;font-size:14px;transition:all .2s;border-radius:4px}
.cat-tag:hover{border-color:#003879;color:#003879}
.cat-tag.active{background:#0055B8;color:#fff;border-color:#0055B8}
.clear-filters{color:#0055B8;font-size:14px;text-decoration:none;display:inline-block}
.clear-filters:hover{text-decoration:underline;color:#003879}

/* 布局 */
.bj-product-layout{display:grid;grid-template-columns:280px 1fr;gap:40px;overflow:visible}

/* 左侧筛选器 */
.bj-product-sidebar{position:sticky;top:20px;height:fit-content}
/* 桌面端隐藏FILTERS按钮 */
.filters-toggle{display:none}
.filters-content{display:block}
.filter-group{border-bottom:1px solid #e5e7eb;padding:16px 0}
.filter-group:first-child{padding-top:0}
.filter-group-title{font-size:14px;font-weight:600;color:#0a2540;margin:0 0 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;text-transform:uppercase;letter-spacing:.03em}
.toggle-icon{display:inline-flex;width:16px;height:16px;color:#6b7280;transition:transform .2s}
.toggle-icon svg{width:100%;height:100%;display:block}
.filter-group.collapsed .toggle-icon{transform:rotate(-90deg)}
.filter-group.collapsed .filter-options{display:none}
.filter-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 12px}
.filter-option{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#374151}
.filter-option input[type="checkbox"]{width:16px;height:16px;cursor:pointer;accent-color:#2563eb}
.filter-option:hover{color:#2563eb}

/* 产品表格 */
.bj-product-table{background:#fff;border-radius:8px;overflow:hidden}
.table-header{display:grid;grid-template-columns:100px 1fr 120px 150px 140px;gap:16px;padding:16px 20px;background:#f9fafb;border-bottom:2px solid #e5e7eb;font-size:13px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}
.table-header .sort-btn{background:none;border:0;color:#6b7280;cursor:pointer;margin-left:4px;font-size:14px;padding:0}
.table-header .sort-btn:hover{color:#2563eb}
.table-body{display:flex;flex-direction:column}
.product-row{display:grid;grid-template-columns:100px 1fr 120px 150px 140px;gap:16px;padding:20px;border-bottom:1px solid #e5e7eb;align-items:center;transition:background .2s}
.product-row:nth-child(odd){background:#f1f1f1}
.product-row:nth-child(even){background:#f8f8f8}
.product-row:hover{background:#0055B8 !important}
.product-row:hover *{color:#fff !important}
.product-row:last-child{border-bottom:0}

/* 列样式 */
.col-image img{width:80px;height:80px;object-fit:contain;background:#f9fafb;padding:8px;border-radius:4px}
.col-model .product-category{font-size:12px;color:#6b7280;margin-bottom:4px}
.col-model .product-title{font-size:15px;font-weight:600;color:#0a2540}
.col-power,.col-voltage{font-size:14px;color:#374151;font-weight:500}
.learn-more-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:#2563eb;color:#fff;text-decoration:none;border-radius:4px;font-size:14px;font-weight:500;transition:all .2s}
.learn-more-btn:hover{background:#1e40af;transform:translateX(2px)}
.learn-more-btn svg{width:14px;height:14px}

/* 响应式 */
@media (max-width:1024px){
    .bj-product-layout{grid-template-columns:1fr;gap:24px}
    .bj-product-sidebar{position:static;border:1px solid #e5e7eb;padding:20px;border-radius:8px}
    .table-header,.product-row{grid-template-columns:80px 1fr 100px 120px 120px;gap:12px;padding:16px}
    
    /* 平板端筛选器保持桌面端样式 */
    .filters-toggle{display:none}
    .filters-content{display:block}
}

/* 骨架屏加载动画 */
.skeleton-loading{pointer-events:none}
.skeleton-item{opacity:1;animation:skeletonFade .3s ease-in}
.skeleton-box{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px}
.skeleton-image{width:100px;height:100px;border-radius:8px}
.skeleton-text{height:16px;border-radius:4px}
.skeleton-button{width:120px;height:38px;border-radius:4px}

@keyframes shimmer{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

@keyframes skeletonFade{
  from{opacity:0}
  to{opacity:1}
}

/* 无产品提示 */
.no-products{text-align:center;padding:60px 20px;color:#6b7280;font-size:16px}

@media (max-width:768px){
    /* Hero横幅 - 图片在上，文案在下 */
    .bj-archive-hero .hero-inner{
        grid-template-columns:1fr !important;
        gap:24px !important;
    }
    .bj-archive-hero .hero-right{
        order:-1 !important;
    }
    .bj-archive-hero .hero-left{
        order:1;
    }
    .bj-archive-hero .hero-title{
        font-size:32px !important;
        text-align:center;
    }
    .bj-archive-hero .hero-desc{
        text-align:center;
    }
    .bj-archive-hero .hero-desc-toggle{
        text-align:center;
        display:block;
    }
    .bj-archive-hero .hero-actions{
        justify-content:center;
    }
    
    /* 左侧筛选器改为下拉样式 */
    .bj-product-sidebar{
        position:static !important;
        border:none !important;
        padding:0 !important;
        margin-bottom:20px;
    }
    
    /* FILTERS 按钮样式 */
    .filters-toggle{
        display:flex !important;
        justify-content:space-between;
        align-items:center;
        width:100%;
        padding:16px 20px;
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:6px;
        font-size:14px;
        font-weight:600;
        color:#0a2540;
        text-transform:uppercase;
        letter-spacing:0.05em;
        cursor:pointer;
        margin-bottom:0;
        transition:all 0.3s;
    }
    
    .filters-toggle:active{
        background:#f9fafb;
    }
    
    .filters-toggle-icon{
        width:20px;
        height:20px;
        transition:transform 0.3s;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    
    .filters-toggle-icon svg{
        width:100%;
        height:100%;
        stroke:currentColor;
        stroke-width:2;
        fill:none;
    }
    
    .bj-product-sidebar.collapsed .filters-toggle-icon{
        transform:rotate(-90deg);
    }
    
    .filters-content{
        display:block !important;
        background:#fff;
        border:1px solid #e5e7eb;
        border-top:none;
        border-radius:0 0 6px 6px;
        padding:16px;
        max-height:500px;
        overflow-y:auto;
    }
    
    .bj-product-sidebar.collapsed .filters-content{
        display:none !important;
    }
    
    .bj-product-sidebar.collapsed .filters-toggle{
        border-radius:6px;
    }
    
    .bj-product-sidebar:not(.collapsed) .filters-toggle{
        border-radius:6px 6px 0 0;
    }
    
    /* 产品列表 - 保持表格样式，缩小尺寸，强制一排显示 */
    .bj-archive-products .inline-products-header{
        display:grid !important;
        font-size:10px !important;
        padding:8px 10px !important;
        gap:6px !important;
        grid-template-columns:80px 1fr 45px 60px 50px !important;
    }
    
    .bj-archive-products .ip-item > a{
        display:grid !important;
        grid-template-columns:80px 1fr 45px 60px 50px !important;
        gap:6px !important;
        padding:10px !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        align-items:center !important;
    }
    
    .bj-archive-products .ip-item-image{
        padding:4px !important;
        background:transparent !important;
        width:auto !important;
        flex:0 0 auto !important;
        order:0 !important;
        margin-bottom:0 !important;
    }
    
    .bj-archive-products .ip-item-image img{
        max-width:70px !important;
        width:70px !important;
        height:70px !important;
        object-fit:contain;
    }
    
    .bj-archive-products .ip-item-title{
        font-size:10px !important;
        line-height:1.3;
        flex:0 0 auto !important;
        order:0 !important;
        margin-bottom:0 !important;
        text-align:left !important;
    }
    
    .bj-archive-products .ip-item-title span{
        font-size:8px !important;
        margin-bottom:3px !important;
        display:block !important;
    }
    
    .bj-archive-products .ip-item-detail{
        font-size:10px !important;
        text-align:center;
        flex:0 0 auto !important;
        order:0 !important;
        margin-bottom:0 !important;
        margin-right:0 !important;
        display:block !important;
    }
    
    .bj-archive-products .ip-item-button{
        flex:0 0 auto !important;
        order:0 !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        margin:0 !important;
    }
    
    .bj-archive-products .btn-trans-blue-arrow{
        padding:4px 6px !important;
        font-size:10px !important;
        min-width:auto;
        border-width:1px;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
    }
    
    .bj-archive-products .btn-trans-blue-arrow span{
        display:none !important;
    }
    
    .bj-archive-products .btn-trans-blue-arrow::after{
        content:'→' !important;
        margin:0 !important;
        font-size:14px !important;
        display:inline-block !important;
    }
    
    /* 骨架屏手机端调整 */
    .bj-archive-products .skeleton-image{
        width:70px !important;
        height:70px !important;
        margin:0 !important;
    }
    
    .bj-archive-products .skeleton-text{
        height:10px !important;
    }
    
    .bj-archive-products .skeleton-button{
        width:50px !important;
        height:24px !important;
    }
}

/* 精选产品轮播 */
.bj-featured-carousel{
    margin:80px 0 60px;
    padding:0;
    overflow:visible !important;
    position:relative;
    z-index:1;
}

.carousel-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:40px;
}

.carousel-kicker{
    font-size:12px;
    letter-spacing:0.12em;
    color:#6b7280;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:12px;
}

.carousel-title{
    font-size:48px;
    line-height:1.15;
    color:#0a2540;
    margin:0;
    font-weight:300;
}

.carousel-nav{
    display:flex;
    gap:12px;
}

.carousel-prev,
.carousel-next{
    width:48px;
    height:48px;
    background:none;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all 0.3s;
    color:#374151;
    padding:0;
}

.carousel-prev:hover,
.carousel-next:hover{
    color:#2563eb;
}

.carousel-prev:disabled,
.carousel-next:disabled{
    opacity:0.3;
    cursor:not-allowed;
    color:#9ca3af;
}

.carousel-prev:disabled:hover,
.carousel-next:disabled:hover{
    color:#9ca3af;
}

.carousel-container{
    position:relative;
    overflow:visible !important;
}

.carousel-wrapper{
    position:relative;
    width:100%;
    overflow:hidden !important;
    clip-path:inset(0 -200px 0 0);
}

.carousel-track{
    display:flex;
    gap:24px;
    transition:transform 0.5s ease-in-out;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    will-change:transform;
}

.carousel-item{
    flex:0 0 calc(25% - 18px);
    min-width:0;
}

.carousel-card{
    display:block;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 1px 3px rgba(0,0,0,0.1);
    text-decoration:none;
    height:100%;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
}

.carousel-card-image{
    width:100%;
    aspect-ratio:1;
    background:#f9fafb;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.carousel-card-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.carousel-card-content{
    padding:20px;
    position:relative;
}

.carousel-card-title{
    font-size:16px;
    font-weight:600;
    color:#0a2540;
    margin:0 0 16px;
    line-height:1.4;
}

.carousel-card-footer{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding-right:60px;
}

.carousel-card-model{
    font-size:14px;
    color:#6b7280;
    margin:0;
    flex:1;
}

/* 按钮绝对定位在卡片右下角 */
.carousel-card-content .btn-icon-only {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.carousel-progress{
    margin-top:32px;
    height:4px;
    background:#e5e7eb;
    border-radius:2px;
    overflow:hidden;
}

.carousel-progress-bar{
    height:100%;
    background:#2563eb;
    border-radius:2px;
    transition:width 0.5s ease-in-out;
    width:25%;
}

/* 响应式 */
@media (max-width:1200px){
    .carousel-container{
        padding-right:80px;
    }
    .carousel-item{
        flex:0 0 calc(33.333% - 16px);
    }
}

@media (max-width:768px){
    .carousel-header{
        flex-direction:column;
        gap:20px;
        margin-bottom:24px;
    }
    
    .carousel-title{
        font-size:32px;
    }
    
    .carousel-nav{
        align-self:flex-end;
    }
    
    .carousel-container{
        padding-right:60px;
    }
    
    .carousel-track{
        gap:16px;
    }
    
    .carousel-item{
        flex:0 0 calc(50% - 8px);
    }
    
    .carousel-card-content{
        padding:16px;
    }
    
    .carousel-card-title{
        font-size:14px;
        margin-bottom:12px;
    }
    
    .carousel-card-footer{
        padding-right:52px;
    }
    
    .carousel-card-model{
        font-size:12px;
    }
    
    .btn-icon-only {
        width: 40px;
        height: 40px;
    }
    
    .btn-icon-only span {
        width: 20px;
        height: 20px;
    }
    
    .carousel-card-content .btn-icon-only {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width:480px){
    .carousel-container{
        padding-right:40px;
    }
    .carousel-item{
        flex:0 0 100%;
    }
}

/* 新按钮样式 - 参考 button-demo.html */
.btn-trans-white-arrow {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(137, 138, 141, 0.5);
    position: relative;
    z-index: 2;
    overflow: hidden;
    text-decoration: none;
    color: #0055B8;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 16px;
    padding: 9px 16px;
    padding-right: 13px;
    transition: 0.2s;
}

/* Arrow icon container (左侧) */
.btn-trans-white-arrow span {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* 蓝色箭头 (默认状态) */
.btn-trans-white-arrow span:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-blue.svg') no-repeat center center;
    background-size: contain;
    transform: translate(0, 0);
    transition: 0.2s;
}

/* 白色箭头 (hover状态) */
.btn-trans-white-arrow span:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-white.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-100%, 100%);
    transition: 0.2s;
}

/* Background overlay */
.btn-trans-white-arrow:after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background: #003879;
    transform: translateY(100%);
    z-index: -1;
    transition: 0.2s;
}

/* Hover effects */
.ip-item:hover .btn-trans-white-arrow:after,
.btn-trans-white-arrow:hover:after {
    transform: translateY(0);
}

.ip-item:hover .btn-trans-white-arrow,
.btn-trans-white-arrow:hover {
    color: #ffffff !important;
    border-color: #003879 !important;
    background: rgba(0, 0, 0, 0.2);
}

/* Arrow animation on hover */
.ip-item:hover .btn-trans-white-arrow span:before,
.btn-trans-white-arrow:hover span:before {
    transform: translate(100%, -100%);
}

.ip-item:hover .btn-trans-white-arrow span:after,
.btn-trans-white-arrow:hover span:after {
    transform: translate(0, 0);
}

/* Icon-only button (仅图标按钮) - 用于轮播卡片 */
.btn-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    overflow: hidden;
    text-decoration: none;
    width: 48px;
    height: 48px;
    transition: 0.2s;
    flex-shrink: 0;
}

/* Icon container for icon-only button */
.btn-icon-only span {
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* 黑色箭头 (默认状态) */
.btn-icon-only span:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-black.svg') no-repeat center center;
    background-size: contain;
    transform: translate(0, 0);
    transition: 0.2s;
}

/* 白色箭头 (hover状态) */
.btn-icon-only span:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-white.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-100%, 100%);
    transition: 0.2s;
}

/* Background overlay */
.btn-icon-only:after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(100%);
    z-index: -1;
    transition: 0.2s;
}

/* Hover effects */
.carousel-card:hover .btn-icon-only:after {
    transform: translateY(0);
}

.carousel-card:hover .btn-icon-only span:before {
    transform: translate(100%, -100%);
}

.carousel-card:hover .btn-icon-only span:after {
    transform: translate(0, 0);
}

/* 加载更多按钮 */
.bj-load-more-wrap{
    margin:40px 0;
    text-align:center;
}

.btn-load-more{
    display:inline-flex;
    align-items:center;
    position:relative;
    z-index:2;
    overflow:hidden;
    background:#0055B8;
    border:1px solid #0055B8;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    text-transform:uppercase;
    line-height:16px;
    padding:12px 24px;
    cursor:pointer;
    transition:all 0.2s;
    min-width:180px;
    justify-content:center;
}

.btn-load-more:hover{
    background:#003879;
    border-color:#003879;
}

.btn-load-more:disabled{
    opacity:0.6;
    cursor:not-allowed;
}

.btn-load-more span:first-child{
    width:24px;
    height:24px;
    margin-right:12px;
    position:relative;
    overflow:hidden;
    flex-shrink:0;
}

.btn-load-more span:first-child:before,
.btn-load-more span:first-child:after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url('/wp-content/themes/astra-child/html/static/image/arrow-up-right-white.svg') no-repeat center center;
    background-size:contain;
    transition:0.2s;
}

.btn-load-more span:first-child:before{
    transform:translate(0, 0);
}

.btn-load-more span:first-child:after{
    transform:translate(-100%, 100%);
}

.btn-load-more:hover span:first-child:before{
    transform:translate(100%, -100%);
}

.btn-load-more:hover span:first-child:after{
    transform:translate(0, 0);
}

.btn-load-more .btn-loading{
    font-size:14px;
}

@media (max-width:768px){
    .bj-load-more-wrap{
        margin:24px 0;
    }
    
    .btn-load-more{
        font-size:12px;
        padding:10px 20px;
        min-width:160px;
    }
}

