/* Product Promotion */
.product-promotion {
  border: 2px solid #fe7b7b;
  display: inline-block;
  margin-bottom: 10px;
  width: 400px;
  max-width: 100%;
  min-width: 280px;
  padding: 15px;  position: relative;
  -moz-border-radius: 0 14px 14px 14px;
  -webkit-border-radius: 0 14px 14px 14px;
  border-radius: 0 14px 14px 14px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -moz-box-shadow: 5px 5px 8px 0 rgba(2,2,3,.2);
  -webkit-box-shadow: 5px 5px 8px 0 rgba(2,2,3,.2);
  box-shadow: 5px 5px 8px 0 rgba(2,2,3,.2);
}
.product-promotion:before, 
.product-promotion:after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
}
.product-promotion:before {
  border-bottom: 16px solid transparent;
  border-right: 16px solid #fe7b7b;
  top: -2px;
  left: -16px;
}
.product-promotion:after {
  border-bottom: 12px solid transparent;
  border-right: 12px solid #fff; 
  top: 0;
  left: -11px;
}
.product-promotion .promotion-image {
  float: left;
  margin-right: 10px;
  text-align: center;  
}
.product-promotion .promotion-name {
  font-size: 2em;
  font-weight: bold;
  color: #eb3f3f;
  line-height: 1.2em;
  margin: 0;
}
.product-promotion .gifts-left {
  font-size: 10px;
  font-family: Arial;
  color: rgb(220,108,107);
  text-transform: uppercase;
  font-weight: bold;
}
.product-promotion .promotion-timer,
.product-promotion .promotion-details {
  clear: both;
  margin: 0 auto;
  position: relative;
  width: 280px;
  text-align: center;
}
.product-promotion .timer-title {
  color: #333;
  font-size: 1.15em;
  font-weight: bold;
  line-height: 1em;
  padding-bottom: 10px;
}
.product-promotion .timer-counter {  
}
.product-promotion  #counter {
  width: 280px;
  height: 48px;
  margin: 0 auto;
  overflow: hidden;
}
.product-promotion .promotion-details {
  padding-right: 1em;
  margin-top: 15px;
  margin-bottom: 15px;
}
.product-promotion .details-title {
    position: relative;
}
.product-promotion .details-title > a {
  color: #006cbf !important;
  font-size: 1.4em !important;
  border-bottom: 1px dashed;
  text-decoration: none !important;
}

/* Category Promotion */
.category-promotion {
  margin: 5px 0;
  min-height: 30px;
}
.category-promotion .promotion-image {
  float: left;
  margin-right: 10px;
  display: inline;
}
.category-promotion .promotion-details {
  width: fit-content;
  margin: 0 auto;
}
.category-promotion .details-title {
  display: inline;
}
.category-promotion .details-title > a {
  color: red;
  font-size: 12px;
  border-bottom: 1px dashed;
  text-decoration: none !important;
}
.category-promotion .promotion-timer {
  clear: both;
  text-align: center;  
}
.product-list .promotion-details {
  text-align: left;
  margin: 0;
}
.product-list .promotion-timer {
  clear: none;
  text-align: left;
  margin: 0;
}
.product-list .category-promotion .promotion-image {
  float: none;
}

/* Promotion Popup */
[id^=promotion-popup] .modal-body,
[id^=promotion-popup] .modal-body p {
  color: black;
}
.popup-image {
  float: left;
  margin-right: 20px;
}
.popup-image img {
}  
.popup-description {  
  margin-bottom: 10px;
}
.popup-image + .popup-description,
.popup-image + .popup-description + .promotion-link {  
  float: left;
  width: 350px;
}
.products-wrapper {
  clear: both;
}
.products-title {
  font-weight: bold;
  padding: 5px 0;
  font-size: 1.1em;
}
.promotion-products {
  max-height: 180px;
  overflow-y: auto;  
}
.promotion-product {
  display: block;
  float: left;
  height: 60px;
  width: 45%;
}  
.promotion-product .product-image {
  float: left;
}
.promotion-product .product-image img {
}
.promotion-product .product-description {
  overflow: hidden;
  margin-left: 45px;
}
.promotion-product .product-name {
  padding-bottom: 5px; 
  height: 23px;
  overflow: hidden;
}
.promotion-product .promotion-product-price {
}
.promotion-product .promotion-product-price .product-price {
  display: block;
  font-weight: bold;
  color: #333333;
  margin-bottom: 4px;
}
.promotion-product .promotion-product-price .product-price-old {
  color: #F00;
  text-decoration: line-through;
}
.promotion-product .promotion-product-price .product-price-new {
  font-weight: bold;
}

/* Promotion page */

.promotion-page .promotion-description {
  clear: both;
  margin-top: 20px;
}
.promotion-page .promotion-timer {
  margin: 35px 0 45px 0;  
}

/* Promotion category page */
.promotion-category h2 {
  margin-bottom: 20px;
}
.promotion-category .product-thumb {
  position: relative;
  background-color: #fff;
  box-shadow: 1px 2px 5px 0 rgba(200,200,200,.5);
  margin-bottom: 30px;
  overflow: hidden;
  border: 0;
  min-height: 400px;
}
.promotion-category .product-thumb .caption {
  min-height: unset;
  padding-bottom: 20px;
}
.promotion-category .promotion-timer {
  text-align: center;
  margin: 15px auto;
}

/* Finished */
.image {
  position: relative;
}
.ribbon-finished {
  position: absolute;
  right: 0px; top: 0px;
  z-index: 1;
  overflow: hidden;
  width: 150px; height: 150px;
  text-align: right;
}
.ribbon-finished span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 150px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#B6BAC9 0%, #808080 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 30px; right: -35px;
}
.ribbon-finished span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #808080;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #808080;
}
.ribbon-finished span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #808080;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #808080;
}