.aftertaste-related-products-list {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 10px 0px 2px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #eee;
    width: 100%;
    height: 100%;
}

.aftertaste-related-products-title {
    font-size: 16px;
    padding-left: 4px;
    margin-bottom: 10px;
}

.aftertaste-related-product {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.aftertaste-related-product .product-details {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 15px;
}

.product-image {
    flex: 0 0 50px;
    margin-right: 10px;
}

.product-image img {
    width: 50px;
    height: 50px;
    min-width: 50px;
}

.product-details h2 {
    font-size: 14px;
    margin: 0;
    min-width: 0;
}

.product-details h2 a {
    color: inherit;
    text-decoration: none;
    font-weight: normal;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aftertaste-related-products-list .aftertaste-related-product .product-details .price {
    font-size: 15px !important;
    margin: 0;
    white-space: nowrap;
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    align-items: center;
    line-height: normal !important;
}

.aftertaste-related-products-list .aftertaste-related-product .product-details .price * {
    font-size: 15px !important;
    line-height: normal !important;
}

.aftertaste-related-products-list .aftertaste-related-product .product-details .price del {
    color: #999;
    text-decoration: line-through;
    opacity: 1;
}

.aftertaste-related-products-list .aftertaste-related-product .product-details .price ins {
    text-decoration: none;
    font-weight: normal !important;
    background: none;
}

.product-details a.button.add_to_cart_button {
    font-size: 14px;
    padding: 3px 12px;
    background-color: #fa7b4c;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.product-details a.button.add_to_cart_button:hover {
    background-color: #d86a41;
}