.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    /* A kezdőlapon 4 oszlopos rácsot használunk nagy képernyőn */
    .product-grid { grid-template-columns: repeat(4, 1fr); } 
}

.product-card {
    border: 1px solid #3d4d57;
    background-color: #212b32;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    transition: filter 0.2s;
}
.product-card:hover {
    filter: brightness(1.1);
}

.card-dot {
    position: absolute; width: 6px; height: 6px; background-color: #57707d; border-radius: 50%;
}
.c-tl { top: 6px; left: 6px; } .c-tr { top: 6px; right: 6px; }
.c-bl { bottom: 6px; left: 6px; } .c-br { bottom: 6px; right: 6px; }

.product-badges { display: flex; justify-content: space-between; align-items: center; }
.badge-type { background-color: #2d3a42; color: #aab8bf; padding: 2px 8px; font-size: 0.75rem; }
.badge-stock { color: #8f5a3a; font-size: 0.75rem; }

/* Kiemelt szalag (Új elem a kezdőlaphoz) */
.badge-kiemelt {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #023D79;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    transform: translate(1px, -1px);
    z-index: 10;
}

.product-image {
    height: 9rem; /* Picit nagyobbra vettem a képet, mint a katalógusban, mert itt kevesebb a kártya */
    background-color: #161d22;
    border: 1px dashed #3d4d57;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img { max-height: 100%; object-fit: contain; padding: 0.5rem; }

.product-code { font-size: 0.75rem; color: #7c8b93; margin-bottom: 4px; }
.product-name { font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: #dfe4e6; text-decoration: none; }
.product-meta { font-size: 0.75rem; color: #4F8FC4; margin-top: 4px; display: flex; gap: 8px; align-items: center; }

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #2d3a42;
    padding-top: 0.75rem;
    margin-top: auto;
    width: 100%;
}
.product-price { font-size: 1.125rem; font-weight: 600; font-family: 'Oswald', sans-serif; color: #ffffff; }

.details-btn {
    border: 1px solid #4F8FC4;
    color: #4F8FC4;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: 0.2s;
}
.details-btn:hover { background-color: rgba(79,143,196,0.1); }