/* Shared Product Card Styles (aligned with site primary palette) */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(3, 19, 71, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    border-color: var(--color-2, #076bd2);
    box-shadow: 0 10px 24px rgba(3, 19, 71, 0.1);
}

.product-card .product-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #eceff4;
}

.product-card .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.07);
}

.product-card .product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    box-shadow: 0 3px 8px rgba(3, 19, 71, 0.16);
}

.product-card .badge-hot {
    background: linear-gradient(90deg, #ff7a18 0%, #ef4444 100%);
}

.product-card .badge-new {
    background: linear-gradient(90deg, #22b8f0 0%, var(--color-2, #076bd2) 100%);
}

.product-card .badge-sale {
    background: linear-gradient(90deg, #f43f5e 0%, #dc2626 100%);
}

.product-card .product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-card .product-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: var(--color-3, #031347);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-name {
    color: var(--color-1, #003d9c);
}

.product-card .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.product-card .product-prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.product-card .price-current {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    line-height: 22px;
    color: var(--color-1, #003d9c);
}

.product-card .price-old {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-card .btn-wishlist,
.product-card .btn-card-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    color: #475569;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-card .btn-wishlist:hover {
    background-color: #fff1f2;
    color: #ef4444;
    transform: scale(1.1);
}

.product-card .btn-card-cart:hover {
    background-color: #eff6ff;
    color: var(--color-2, #076bd2);
    transform: scale(1.1);
}

.product-card .btn-wishlist.is-liked {
    color: #ef4444;
}

.product-card .btn-wishlist.is-liked svg {
    fill: currentColor;
}
