/* Tailiver Products Plugin Styles */

.tailiver-products-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    padding: 40px 0;
}

.tailiver-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tailiver-page-title {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #222;
}

/* 产品网格 */
.tailiver-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.tailiver-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    border: 1px solid #f0f0f0;
}

.tailiver-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.tailiver-product-image-wrapper {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.tailiver-product-image-wrapper::before {
    content: 'AI:ART';
    position: absolute;
    font-size: 120px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    letter-spacing: 10px;
}

.tailiver-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}

.tailiver-product-card:hover .tailiver-product-image {
    transform: scale(1.05);
}

.tailiver-product-info {
    padding: 25px;
    text-align: center;
}

.tailiver-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.3s;
}

.tailiver-product-name:hover {
    color: #4facfe;
}

.tailiver-product-price {
    font-size: 14px;
    color: #666;
}

.tailiver-product-price .tailiver-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 8px;
}

.tailiver-product-price .tailiver-amount {
    font-weight: 600;
    color: #333;
}

/* 有折扣时，价格保持正常颜色 */
.tailiver-product-price .tailiver-original-price ~ .tailiver-amount {
    color: #333;
}

/* 分页 */
.tailiver-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.tailiver-pagination-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.tailiver-pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.tailiver-pagination-btn:disabled {
    background: #e0e0e0;
    cursor: not-allowed;
    box-shadow: none;
}

.tailiver-page-info {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .tailiver-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .tailiver-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tailiver-page-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

