.ms-product-card {
    background-color: var(--ms-surface);
    border-radius: var(--ms-radius-md);
    overflow: hidden;
    transition: var(--ms-transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ms-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--ms-surface-2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ms-product-card__image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--ms-bg);
}

.ms-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ms-transition);
}

.ms-product-card:hover .ms-product-card__image {
    transform: scale(1.05);
}

.ms-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--ms-radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.ms-badge--sale {
    background-color: var(--ms-accent);
    color: var(--ms-text);
}

.ms-product-card__actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    display: flex;
    gap: var(--ms-gap-v) var(--ms-gap-h);
    justify-content: flex-end;
    opacity: 0;
    transition: var(--ms-transition);
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.ms-product-card:hover .ms-product-card__actions {
    opacity: 1;
}

.ms-product-card__action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--ms-surface);
    color: var(--ms-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ms-transition);
}

.ms-product-card__action-btn:hover {
    background-color: var(--ms-accent);
}

.ms-product-card__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ms-product-card__brand {
    font-size: 12px;
    color: var(--ms-text-muted);
    text-transform: uppercase;
    margin-bottom: var(--ms-gap-v);
}

.ms-product-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--ms-gap-v);
    line-height: 1.4;
}

.ms-product-card__title a {
    color: var(--ms-text);
}

.ms-product-card__title a:hover {
    color: var(--ms-accent);
}

.ms-product-card__rating {
    display: flex;
    align-items: center;
    gap: var(--ms-gap-v) var(--ms-gap-h);
    margin-bottom: var(--ms-gap-v);
    font-size: 12px;
}

.ms-product-card__rating .fa-star {
    font-size: 10px;
}

.ms-product-card__rating .fa-star.active {
    color: var(--ms-warning);
}

.ms-product-card__rating .fa-star.inactive {
    color: var(--ms-surface-2);
}

.ms-product-card__reviews {
    color: var(--ms-text-muted);
    margin-left: 6px;
}

.ms-product-card__price-wrapper {
    margin-bottom: var(--ms-gap-v);
    display: flex;
    align-items: baseline;
    gap: var(--ms-gap-v) var(--ms-gap-h);
}

.ms-product-card__price-main,
.ms-product-card__price-special {
    font-size: 20px;
    font-weight: 700;
    color: var(--ms-text);
}

.ms-product-card__price-old {
    font-size: 14px;
    color: var(--ms-text-muted);
    text-decoration: line-through;
}

.ms-product-card__add-to-cart {
    margin-top: auto;
    width: 100%;
}

.ms-product-card__tax {
    font-size: 12px;
    color: var(--ms-text-muted);
    margin-top: 4px;
}
