.amz-product {
    display: flex;
    flex-direction:column;
    padding: 5px;
    border-radius:2px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
    position:relative;
    transition: 0.2s transform;
    font-family: 'Montserrat','Roboto',"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #48486c;
}

.amz-product:hover {
    transform: scale(1.007);
}

#product-results div[class^="col-"] {
    padding:7px;
}

.inner-text-padding {
    padding:0 6px;
}

.amz-product a {
    color: #48486c;
}

.amz-product a:hover {
    text-decoration:none;
}

/* Image */

.amz-product .amz-product-image {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.amz-product .amz-product-image-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.amz-product .recent-orders-summary {
    font-size: 1em;
    top: 0;
    position: absolute;
    right: 0;
    z-index: 1;
    padding: 3px 7px;
    border-bottom-left-radius: 4px;
    color: white;
    background-color: #5b72b5;
}

.amz-product .recent-orders-summary i {
    margin-left: 4px;
    font-size: 0.9em;
}

.amz-product a.sell-with-topdser {
    background-color: #6320df;
    color: white;
    font-weight: bold;
    border: solid transparent;
    cursor: pointer;
    position: absolute;
    bottom: 4px;
    right: 4px;
    z-index: 1;
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 0.7em;
    opacity: 0;
    transition: opacity 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}

.amz-product a.sell-with-topdser:hover {
    background-color: #4c19ab;
}

/* Title */

.amz-product-title {
    font-weight:bold;
    text-overflow: ellipsis; 
    overflow: hidden; 
    display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
    height: 40px;
    /* white-space: nowrap; */
    margin: 5px 0 5px;
    text-align:left;
}

/* Category */

.amz-product-category {
    opacity: 0.9;
    font-size: 13px;
    text-align: left;
    margin-bottom: 8px;
    margin-top: 3px;
}

.amz-product-category span {
    border: 1px solid #48486c4f;
    padding: 2px 7px;
    border-radius: 4px;
}

/* Details */

.amz-product-details {
    opacity: 0.9;
    display:flex;
    justify-content:space-between;
    flex-direction: column-reverse;
    margin-bottom:5px;
    font-size: 13px;
    text-align: left;
}

.amz-product-details .glyphicon {
    margin-right: 5px;
    opacity: 0.7
}

.amz-product-details .amz-product-rating .glyphicon {
    color: #e7ae03;
}

/* Chart */

.amz-product-right-column {
    display:flex;
    flex-direction:column;
}

.amz-product-chart {
    width:100%;
    max-height:175px;
    overflow:hidden;
}

/* Analysis */

.amz-product-analysis {
    display:flex;
    justify-content: space-evenly;
    white-space: nowrap;
    padding: 10px 5px 0px 5px;
    margin-bottom:5px;
    border-top: 1px solid #48486c21;
    padding-top: 10px;
}

.amz-product-analysis .analysis-item {
    padding: 5px 2px 0px;
}

.amz-product-analysis .analysis-score {
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 3px;
    padding: 0px 6px;
}

.amz-product-analysis-sub {
    font-size: 12px;
    color: #48486cba;
}

.amz-product-analysis .analysis-score.great {
    border: 1px solid #85ad85;
    color: #216d21;
}

.amz-product-analysis .analysis-score.good {
    border: 1px solid orange;
    color: #bf851b;
}

.amz-product-analysis .analysis-score.poor {
    border: 1px solid #ab7171;
    color: #9c3131;
}