﻿.product-card-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.product-card-global-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px;
}

/* Unified product card structure */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1 1 calc(33.33% - 24px);
    min-width: 320px;
    max-width: 360px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.product-card:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.product-card-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #222;
}

/* Body = image + info side by side */
.product-card-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Image styles */
.product-card-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-top: 4px;
}

.product-card-image img {
    width: 100%;
    height: auto;
    display: block;
	border: none;
}

/* Info block */
.product-card-details {
    flex: 1;
}

.product-card-version,
.product-card-vendor {
    font-size: 0.85em;
    color: #666;
    margin: 2px 0;
}

.product-card-description {
    font-size: 0.82em;
    color: #555;
    margin-top: 8px;
}

/* Uniform sizing on wrap */
@media (max-width: 1000px) {
    .product-card-link {
        flex: 1 1 calc(50% - 24px);
    }
}
@media (max-width: 600px) {
    .product-card-link {
        flex: 1 1 100%;
    }
}


/* Hide Flare's side nav if injected */
.sidenav-wrapper {
    display: none;
}
