.product-miniature .thumbnail-container .product-thumbnail {
    position: relative;
    height: auto;
}
#products .products, .featured-products .products, .product-accessories .products {
    padding-top: 12px;
}

section.featured-products.clearfix {
    width: 100%;
    overflow: hidden;
}

div.products.row {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1em;
}

div.js-product.product {
    margin: 0;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    width: 100%;
    padding: 0;
}

.js-product.product:hover {
    transform: translateY(-5px);
    box-shadow: 4px 8px 12px 0 rgba(22, 22, 26, 0.25);
}

.js-product.product .product-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem;
    overflow: hidden;
}

.js-product.product img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: height 0.3s ease-in-out;
    height: 12em;
}

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

.js-product.product .product-title {
    font-size: .875rem;
    font-weight: 400;
    color: #7A7A7A;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    height: 2.4em;
    min-height: 2.4em;
    max-height: 2.4em;
}

.js-product.product:hover .product-title {
    color: #666666;
}

@media (max-width: 294px) {
    div.products.row {
        grid-template-columns: 1fr;
    }
    .js-product.product img {
        height: 8em;
    }
}

@media (min-width: 295px) and (max-width: 559px) {
    div.products.row {
        grid-template-columns: repeat(2, 1fr);
    }
    .js-product.product img {
        height: 9em;
    }
}

@media (min-width: 560px) and (max-width: 785px) {
    div.products.row {
        grid-template-columns: repeat(3, 1fr);
    }
    .js-product.product img {
        height: 9em;
    }
}

@media (min-width: 786px) and (max-width: 1199px) {
    div.products.row {
        grid-template-columns: repeat(4, 1fr);
    }
    .js-product.product img {
        height: 10em;
    }
}

@media (min-width: 1200px) {
    div.products.row {
        grid-template-columns: repeat(6, 1fr);
    }
    .js-product.product img {
        height: 12em;
    }
}

.product-miniature .thumbnail-container {
    margin-bottom: 0;
    box-shadow: 1px 0 4px 0 rgba(22, 22, 26, 0.1), 0 1px 4px 0 rgba(22, 22, 26, 0.1);
}

.product-miniature .thumbnail-top {
    box-shadow: 1px 0 4px 0 rgba(22, 22, 26, 0.1), 0 1px 4px 0 rgba(22, 22, 26, 0.1);
}

div.products.row {
    padding-bottom: 9;
}