﻿/* Cherry Recommendations */

h3 span.cherry {
    color: #B2303B;	
}

.CherryRecommendations {
    text-align: center;
    font-size: 0.9em;
    color: #444;
    padding: 12px 0 5px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    row-gap: 25px;
}

/* Product item */
.CherryRecommendations .PG_Item_R {
    width: auto;
    height: auto;
    min-height: 0;
    float: none;
    box-sizing: border-box;
    padding: 5px 3px 3px;
    line-height: 1.2em;
}

/* Hide the old clear div - CSS Grid does not need it */
.CherryRecommendations .clear {
    display: none;
}

/* Product image */
.CherryRecommendations .PG_Image_Wrapper {
	position: relative;
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
    display: table;
}

.CherryRecommendations .CherryPointsBadge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 5px 9px;
    background-color: #B2303B;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.2em;
    border-radius: 3px;
}

.CherryRecommendations .PG_Image_Wrapper_Inner {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.CherryRecommendations .PG_Image {
    display: inline-block;
    max-height: 150px;
    max-width: 212px;
}

/* Product title */
.CherryRecommendations a.PG_Title {
    width: 95%;
    height: 50px;
    color: #444;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.3em;
    display: block;
}

.CherryRecommendations a.PG_Title:hover {
    text-decoration: underline;
}

/* Brand and size */
.CherryRecommendations .PG_BrandSize {
    display: block;
    font-size: 1.2em;
    height: 28px;
}

/* Attributes */
.CherryRecommendations .PG_Attributes {
    text-align: center;
    height: 28px;
}

/* Price area */
.CherryRecommendations .PG_Price_Wrapper {
    position: relative;
    height: 80px;
}

.CherryRecommendations .PG_Promotions {
    position: absolute;
    left: 25px;
    top: 3px;
}

.CherryRecommendations .PG_Price {
    height: 45px;
    line-height: 1.3em;
    font-size: 1.4em;
}

.CherryRecommendations .PG_Price span {
    font-size: 1.1em;
    font-weight: 700;
}

.CherryRecommendations span.PG_singleprice {
    padding-top: 7px;
    display: inline-block;
}

.CherryRecommendations span.PG_strikethrough {
    text-decoration: none;
    background-image: linear-gradient(
        transparent 10px,
        #999 10px,
        #999 12px,
        transparent 12px
    );
}

/* Packdown / weight dropdown */
.CherryRecommendations .PG_PackdownPrice {
    width: 180px;
    height: 32px;
    font-weight: 700;
    font-size: 1.2em;
    color: #555;
    margin-bottom: 13px;
}

/* Quantity */
.CherryRecommendations .PG_Quantity {
    margin: 0 auto;
}

.CherryRecommendations .PG_Quantity_Box {
    text-align: center;
    font-weight: 700;
    font-size: 1.2em;
    color: #555;
}

/* Basket/status messages */
.CherryRecommendations .PG_InBasket {
    margin: 4px 0 8px;
    font-size: 1.2em;
    color: #e16000;
    font-weight: 700;
    display: block;
}

/* More link */
.CherryRecommendations .right {
    grid-column: 1 / -1;
}


/* --------------------------------
   Mobile
   -------------------------------- */

@media only screen and (max-width: 800px) {

    .CherryRecommendations {
        grid-template-columns: 1fr;
		row-gap: 30px;
    }

    .CherryRecommendations .PG_Item_R {
        width: auto;
        height: auto;
        min-height: 0;
        float: none;
        padding: 5px 2% 3px 0;
    }

    .CherryRecommendations .PG_Image {
        max-height: 140px;
        max-width: 170px;
    }

    .CherryRecommendations a.PG_Title {
        width: 90%;
        height: 80px;
    }

    .CherryRecommendations .PG_BrandSize {
        font-size: 1.1em;
        height: 40px;
    }

    .CherryRecommendations .PG_Price_Wrapper {
        height: 100px;
    }

    .CherryRecommendations .PG_Price {
        height: 60px;
    }

    .CherryRecommendations .PG_PackdownPrice {
        width: 100%;
        margin: 10px 0 20px;
    }

    .CherryRecommendations .PG_InBasket {
        font-size: 1em;
    }
}