/* 爱卡云 - 商品列表页专门美化 */

/* 商品Banner */
.server-banner {
    background: linear-gradient(135deg, #002ab1 0%, #0052d9 50%, #1466ed 100%) !important;
    min-height: 280px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.server-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: gradientMove 15s ease infinite;
    background-size: 400% 400%;
}

.banner-cloud {
    background: linear-gradient(135deg, #002ab1 0%, #0052d9 50%, #1466ed 100%) !important;
}

/* 商品分类标签 */
.jr-tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 32px !important;
    flex-wrap: wrap !important;
}

.jr-tabs .title {
    padding: 10px 24px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #4e5969 !important;
    background: white !important;
    border: 1px solid #e5e6eb !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.jr-tabs .title:hover {
    color: #0052d9 !important;
    border-color: #0052d9 !important;
}

.jr-tabs .title.active {
    background: linear-gradient(135deg, #002ab1 0%, #0052d9 100%) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(0,82,217,0.3) !important;
}

/* 地区选择 */
.product-country {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}

.country-item {
    padding: 8px 16px !important;
    font-size: 14px !important;
    color: #4e5969 !important;
    background: #f5f7fa !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.country-item:hover {
    background: rgba(0,82,217,0.08) !important;
    color: #0052d9 !important;
}

.country-item.active {
    background: rgba(0,82,217,0.1) !important;
    color: #0052d9 !important;
    font-weight: 600 !important;
}

/* 商品描述 */
.product-des {
    font-size: 14px !important;
    color: #86909c !important;
    margin-bottom: 24px !important;
}

.product-des .link-rule {
    color: #0052d9 !important;
    margin-left: 8px !important;
}

/* 商品卡片 */
.hot-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.product-item {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    border: 1px solid #f2f3f5 !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.product-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
    border-color: rgba(0,82,217,0.2) !important;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #002ab1, #0052d9, #1466ed, #51d4ff);
    background-size: 300% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.product-item:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s linear infinite;
}

/* 商品活动标签 */
.product-active-text {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: linear-gradient(135deg, #ff4d4f, #ff7875) !important;
    color: white !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    z-index: 3 !important;
    box-shadow: 0 2px 8px rgba(255,77,79,0.3) !important;
}

/* 商品顶部 */
.product-item-top {
    padding: 24px 24px 16px !important;
    border-bottom: 1px solid #f5f7fa !important;
}

.product-item-top h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1d2129 !important;
    margin-bottom: 8px !important;
}

.title-desc {
    font-size: 13px !important;
    color: #86909c !important;
    line-height: 1.6 !important;
}

/* 商品配置 */
.product-item-bottom {
    padding: 20px 24px 24px !important;
}

.product-config {
    margin-bottom: 16px !important;
}

.product-config p {
    display: flex !important;
    justify-content: space-between !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
    border-bottom: 1px dashed #f2f3f5 !important;
}

.product-config p:last-child {
    border-bottom: none !important;
}

.config-lable {
    color: #86909c !important;
}

.config-value {
    color: #1d2129 !important;
    font-weight: 500 !important;
}

.config-time {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.config-time span {
    padding: 2px 8px !important;
    background: #f5f7fa !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    color: #4e5969 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.config-time span:hover {
    background: rgba(0,82,217,0.08) !important;
    color: #0052d9 !important;
}

.config-time span.active {
    background: #0052d9 !important;
    color: white !important;
}

/* 商品标签 */
.product-text {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-bottom: 16px !important;
}

.product-text-item {
    padding: 3px 8px !important;
    background: rgba(0,82,217,0.08) !important;
    color: #0052d9 !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* 价格区域 */
.product-price-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
}

.price-left .price {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0052d9 !important;
    margin-bottom: 4px !important;
}

.price-left .price .font24 {
    font-size: 28px !important;
}

.origin-price {
    font-size: 12px !important;
    color: #c9cdd4 !important;
    text-decoration: line-through !important;
}

.product-btn {
    padding: 10px 24px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #002ab1 0%, #0052d9 50%, #1466ed 100%) !important;
    color: white !important;
    border: none !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(0,82,217,0.25) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.product-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,82,217,0.35) !important;
}

/* 商品列表页响应式 */
@media (max-width: 992px) {
    .hot-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hot-list {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .product-item-top {
        padding: 20px 20px 12px !important;
    }
    
    .product-item-bottom {
        padding: 16px 20px 20px !important;
    }
    
    .server-banner {
        min-height: 200px !important;
    }
    
    .jr-tabs .title {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}
