.z-product-card {
    max-width: 270px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 auto;
}

a.z-product-card {
    cursor: pointer;
    color: black !important;
}

a.z-product-card:hover {
    animation: href-hover 0.3s ease forwards;
}

.z-product-card.pos-left {
    margin: auto auto auto 0;
}

.z-product-card.pos-right {
    margin: auto 0 auto auto;
}

.z-product-card.text-right {
    align-items: flex-end;
}

.z-product-card.text-center {
    align-items: center;
}

.z-product-card .z-product-card-image {
    overflow: hidden;
    background-color: var(--z-body-bg-color1);
    aspect-ratio: 16 / 9;
}

.z-product-card .title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.z-product-card img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.z-product-card .content {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
}

/* 移动端下的适配 */
@media screen and (max-width: 768.5px) {
    .z-product-card {
        max-width: calc(46vw - 16px / 2);
        min-width: calc(46vw - 16px / 2);
    }

    .z-product-card .z-product-card-image {
        width: 100%;
    }

    .z-product-card .title {
        font-size: 18px;
    }

    .z-product-card .content {
        font-weight: 500;
        font-size: 13px;
        line-height: 1.2;
    }
}