/* MAIN CONTENT */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 7vw;
}

.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-description {
    font-size: 16px;
    color: var(--muted);
}

/* CATEGORY TABS */
.category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-card-header {
    background: transparent;
    padding: 0;
    text-align: center;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
    transition: opacity 0.3s;
}

.product-card-header img:hover {
    opacity: 1;
}

.product-card-header img[src=""],
.product-card-header img:not([src]) {
    display: none;
}

.product-popular {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card-body {
    padding: 24px;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-description {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.product-price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.product-price-old {
    font-size: 16px;
    color: var(--muted);
    text-decoration: line-through;
}

.product-buy-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-buy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}