.product-center-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-center-header {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 40px;
}

.product-center-header .page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    letter-spacing: 1px;
}

.product-center-header .page-description {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.product-center-content {
    padding: 20px 0 60px;
}

.product-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.filter-left {
    display: flex;
    align-items: center;
}

.products-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.filter-right {
    display: flex;
    align-items: center;
}

.product-categories-filter select {
    padding: 10px 40px 10px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 15px center;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.product-categories-filter select:hover {
    border-color: #667eea;
}

.product-grid {
    display: grid;
    gap: 30px;
}

.product-grid.columns-1 {
    grid-template-columns: 1fr;
}

.product-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.product-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.product-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

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

.product-link {
    text-decoration: none;
    display: block;
}

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .image-placeholder .dashicons {
    font-size: 60px;
    color: #c0c4cc;
}

.product-card .product-badge {
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 12px;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 2;
}

.product-badge.featured {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #667eea;
}

.product-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-button {
    display: block;
    text-align: center;
    padding: 14px 25px;
    margin: 0 25px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.no-products {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.no-products .dashicons {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-products h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.no-products p {
    color: #888;
    margin: 0 0 25px;
}

.no-products .button {
    padding: 14px 30px;
    font-size: 15px;
}

@media (max-width: 1200px) {
    .product-grid.columns-4,
    .product-grid.columns-5,
    .product-grid.columns-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid.columns-2,
    .product-grid.columns-3,
    .product-grid.columns-4,
    .product-grid.columns-5,
    .product-grid.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-center-header {
        padding: 40px 0 30px;
    }

    .product-center-header .page-title {
        font-size: 28px;
    }

    .product-grid.columns-1,
    .product-grid.columns-2,
    .product-grid.columns-3,
    .product-grid.columns-4,
    .product-grid.columns-5,
    .product-grid.columns-6 {
        grid-template-columns: 1fr;
    }

    .product-filter-bar {
        flex-direction: column;
        gap: 15px;
    }

    .product-categories-filter select {
        width: 100%;
        min-width: auto;
    }
}
