/* Product Card Component */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 4px 16px 0px rgba(149, 155, 189, 0.15);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0px 8px 24px 0px rgba(149, 155, 189, 0.25);
    transform: translateY(-2px);
}

.product-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.product-card__link::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* Featured image */
.product-card__image {
    overflow: hidden;
}

.product-card__thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 24px 12px;
    flex: 1;
}

.product-card__title {
    font-family: 'Glober', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #133156;
    margin: 0;
    padding-bottom: 0;
    line-height: 1.3;
}

.product-card__tagline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #005A8B;
    margin: 0;
    padding-bottom: 0;
    line-height: 1.4;
}

.product-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

.product-card__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px 20px;
}

.product-card__actions .secondary-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    color: #005A8B;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.product-card:hover .product-card__actions .secondary-button {
    color: #133156;
}

.product-card__actions .secondary-button::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../../../assets/shared/icons/arrow-narrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-card__actions .secondary-button::after {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .product-card__thumbnail {
        height: 160px;
    }

    .product-card__body {
        padding: 16px 16px 8px;
    }

    .product-card__title {
        font-size: 18px;
    }

    .product-card__actions {
        padding: 8px 16px 16px;
    }
}
