.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: linear-gradient(145deg, rgba(15, 35, 48, 0.95), rgba(20, 40, 52, 0.9));
    border: 1px solid rgba(238, 167, 37, 0.25);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-secondary);
    outline: 1px solid var(--accent-secondary);
    outline-offset: -1px;
}

.product-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.product-card__content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-secondary);
}

.product-card__specs {
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-gray);
}

.product-card__specs div {
    padding: 4px 0;
    border-bottom: 1px dashed rgba(238, 167, 37, 0.2);
}

.product-card__price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.product-card__btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(145deg, rgba(229, 115, 39, 0.15), rgba(238, 167, 37, 0.1));
    border: 2px solid var(--accent-secondary);
    border-radius: 50px;
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    margin-top: auto;
}

.product-card__btn:hover {
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
}

/* Карточка "Собери свой ПК" */
.product-card--custom {
    background: linear-gradient(145deg, rgba(229, 115, 39, 0.15), rgba(238, 167, 37, 0.1));
    border: 2px solid var(--accent-secondary);
}

.product-card--custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 167, 37, 0.3);
    background: linear-gradient(145deg, rgba(229, 115, 39, 0.25), rgba(238, 167, 37, 0.15));
}

.product-card__custom-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}

.product-card--custom h3 {
    text-align: center;
    font-size: 1.3rem;
}

.product-card--custom p {
    color: var(--text-gray);
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
}

.product-card__custom-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.product-card__custom-features span {
    font-size: 13px;
    color: var(--text-light);
}

.product-card__btn--custom {
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-light);
    border: none;
}

.product-card__btn--custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 115, 39, 0.4);
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}