.product-list {
    margin: 0;
}

.product-card {
    flex: 0 0 auto;
    width: 33.3333333333%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem;

    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;

    font-size: 16px;
    z-index: 1;
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.carousel-item .product-card {
    width: unset;
    max-width: 320px;
    margin: 1rem auto 3rem;
    border: none;
}

.product-card-a {
    width: 100%;
}

.product-card-a:hover {
    color: inherit;
}

.product-card:hover {
    box-shadow: 0 0 10px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.product-card-content {
    padding: 1rem;
    width: 100%;
    overflow: hidden;
}

.product-card-info {
    height: 4rem;
    padding: 1rem 0;

    line-height: 1rem;

    overflow: hidden;
    text-overflow: ellipsis;

    position: relative;
}

.product-card-meta {

}

.product-card-title {
    font-weight: bold;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-title:hover {
    text-decoration: underline;
}

.product-card-author {
    color: var(--text-inactive);
    margin-top: 0.25rem;
    line-height: 1.5rem;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.product-card-price-info {
    display: flex;
    justify-content: center;
    align-items: center;

    bottom: 0;
    position: absolute;
}

.product-card-price {
    padding-right: 0.5rem;
}

.product-card-price.discounted {
    text-decoration: line-through;
}

.product-card-discount {
    background-color: var(--discount-green);
    color: var(--text-light);
    padding: 0.5rem;
    font-weight: bold;
    font-size: 18px;

    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 2.5rem;
}

.product-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 200px;
}

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

.product-card-button {
    margin-top: 1rem;
}

/* Responsiveness */
/* lg screen */
@media only screen and (max-width: 1200px) {

}

/* md screen */
@media only screen and (max-width: 992px) {

}

/* sm screen */
@media only screen and (max-width: 768px) {
    .product-card-content {
        padding: 1rem;
    }
}

/* xs screen */
@media only screen and (max-width: 576px) {
    .product-card {
        width: 50%;
        font-size: 14px;
    }

    .product-card-discount {
        font-size: 16px;
    }

    .product-card-content {
        padding: 0;
    }
}