.c-product-card {
    background-color: #fff;
    border: var(--border-width-thin) solid var(--color-border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.c-product-card:hover {
    box-shadow: var(--shadow-medium);
}

.c-product-card__image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transition: transform 0.4s ease-in-out;
}

.c-product-card.is-publication .c-product-card__image {
    aspect-ratio: 3 / 4;
}

.c-product-card:hover .c-product-card__image {
    transform: scale(1.1);
}

.c-product-card__info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--color-primary) 0%, transparent 100%);
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.c-product-card__manufacturer {
    font-size: 0.875rem;
    opacity: 0.9;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.c-product-card__name {
    margin: 0.5rem 0;
    font-size: 1.125rem;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.c-product-card__price-box {
    margin-top: auto;
}

.c-product-card__price {
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.c-product-card__price.is-on-sale {
    text-decoration: line-through;
    font-size: 0.875rem;
    opacity: 0.8;
}

.c-product-card__price.is-sale {
    color: var(--color-error);
    text-shadow: -1px -1px 0 #aaa,
    1px -1px 0 #aaa,
    -1px 1px 0 #aaa,
    1px 1px 0 #aaa;
    margin-left: 0.5rem;
}

.c-product-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
