/* ------------------------------------------------------------------
   Sidebar product widget (UserControl/SpecialOffer.ascx): "Popular
   Products" / "Special Offers" / "New Products".  Design C "polished
   stack": white card, original heading, centred images,
   dividers between products.  CSS only - markup and code-behind untouched.
   Scoped to the control's server div (id ends with _ucSpecialOffer) so the
   category-tree block that shares the .specialofferarea class is not hit.
   ------------------------------------------------------------------ */
.specialofferarea[id$="_ucSpecialOffer"] {
    background: #fff;
    border: 1px solid #d9dee4;
    border-radius: 8px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 0 0 2px;
    overflow: hidden;
}

/* heading: untouched - keeps the original icon-above, centred style */

/* one product */
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li {
    width: auto;
    margin: 0 10px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #eef1f4;
    text-align: center;
}
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li:last-child {
    border-bottom: 0;
}

/* image centred in a fixed-height box so odd image sizes all line up */
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li > a:first-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 112px;
    margin: 0 0 8px;
    overflow: hidden;
}
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li > a:first-child img {
    display: block;
    max-width: 88%;
    max-height: 98px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0 !important;
}

/* name */
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li h2 {
    background: none;
    margin: 0 0 2px;
    padding: 0;
}
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li h2 a {
    display: block;
    color: #277487;
    font-size: 12.5px;
    line-height: 1.35;
    text-decoration: none;
}
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li h2 a:hover {
    color: #f78d1e;
}

/* SKU line */
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li p {
    font-size: 11px;
    color: #8a949c;
    line-height: 1.3;
    margin: 0;
}
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li p span {
    color: #8a949c;
    font-weight: normal;
}

/* price: currency icon + value, centred, no floats */
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li .prodOrgPriceUserControl,
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li .prodSplPrice {
    float: none;
    width: 100%;
    min-height: 0;
    padding: 3px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    line-height: 18px;
    color: #292929;
}
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li .prodOrgPriceUserControl img,
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li .prodSplPrice img {
    width: auto !important;
    height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
    border: 0 !important;
}
.specialofferarea[id$="_ucSpecialOffer"] .specialproduct ul li div div.prodCartArea {
    float: none;
    width: auto;
    min-height: 0;
    line-height: 0;
}
