main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2d3e50;
    margin-bottom: 8px;
}

.page-header h1 span {
    font-weight: 600;
    color: #00bcd4;
}

.page-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    background: #f5f7fa;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    color: #4a4a4a;
}

.filter-btn:hover {
    background: #e9ecef;
}

.filter-btn.active {
    background: #00bcd4;
    color: white;
}

.sort select {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #4a4a4a;
    outline: none;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f7;
    transition: 0.2s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #00bcd4;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4d4d;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-img {
    height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: #2d3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-cat {
    color: #8f9bb3;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00bcd4;
}

.old {
    font-size: 0.9rem;
    color: #8f9bb3;
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart {
    flex: 1;
    padding: 10px;
    background: #00bcd4;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover {
    background: #0097a7;
}

.wishlist {
    width: 40px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    color: #4a4a4a;
    cursor: pointer;
    transition: 0.2s;
}

.wishlist:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: white;
    border: 1px solid #edf2f7;
    color: #4a4a4a;
    font-weight: 500;
    transition: 0.2s;
}

.pagination a:hover {
    border-color: #00bcd4;
    color: #00bcd4;
}

.pagination a.active {
    background: #00bcd4;
    color: white;
    border-color: #00bcd4;
}