.product-showcase .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: #fff; /* Or your desired card background */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* To contain image/video */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-media {
    width: 100%;
    aspect-ratio: 10 / 10; /* Or 1/1 for square, adjust as needed */
    overflow: hidden;
    position: relative; /* For play button positioning */
}

.product-media img,
.product-media video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the media covers the area, might crop */
}

.product-media .media-placeholder { /* For textual placeholder */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f0f0f0; /* Placeholder background */
    color: #777;
    text-align: center;
    padding: 1rem;
}
.product-media .media-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}


.video-thumbnail-container .play-video-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-thumbnail-container .play-video-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.video-thumbnail-container video:not([poster]) + .play-video-button {
    /* Hide button if video is already playing or no poster */
}
.video-thumbnail-container.video-playing .play-video-button {
    display: none; /* Hide play button when video is playing */
}


.product-info {
    padding: 1rem 1.5rem;
    flex-grow: 1; /* Allows info to take remaining space if cards have different content heights */
}

.product-info h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem; /* Adjust as needed */
}

.product-info p {
    font-size: 0.9rem; /* Adjust as needed */
    color: #555;
    margin-bottom: 1rem; /* Add space before optional button */
}

.product-info .btn-secondary { /* Example for a details button */
    font-size: 0.85rem;
    padding: 0.5em 1em;
}