/* 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: 1.7em;
  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 */
/*
.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;
}
*/
.promotion-wrapper {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
}

.popup-image img {
  margin-right: 10px;
}

.popup-description {
  flex-grow: 1;
  font-size: 16px;
  color: #555;
}

.promotion-link a {
  font-size: 16px;
  /*color: #007bff;*/
  text-decoration: none;
}

.products-wrapper {
  clear: both;
  width: 100%;
  padding: 10px;
}

.products-title {
  font-size: 14px;
  margin-bottom: 10px;
}

.promotion-products {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promotion-product {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 48%;
  padding: 10px;
  border: 0px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-image img {
  margin-right: 10px;
}

.product-description {
  display: flex;
  flex-direction: column;
}

.product-name a {
  font-size: 16px;
  /*color: #007bff;*/
  text-decoration: none;
}

.promotion-product-price {
  margin-top: 5px;
}

.promotion-product-price .product-price {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000;
  border: 0;
  height: auto;
}

.product-price-old {
  text-decoration: line-through;
  color: red;
  margin-right: 5px;
}

.product-price-new {
  color: #000;
}

.promotion-see-all {
  font-size: 14px;  
}

/* gifts */
.gifts-wrapper {
  clear: both;
  width: 100%;
}
.gifts-title {
  font-weight: bold;
  padding: 5px 0;
  font-size: 1.1em;
}

.promotion-gifts {
  clear: both;
  display: flex;
  flex-flow: row wrap;
}
.promotion-gift {
  flex: 50%;
}
.promotion-gift label {
  display: flex;
}
.gifts-order-total {
  margin-bottom: 10px;
}

/* Promotion page */
.promotion-page .promotion-image {
  max-width: 100%;
}
.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-name {
  text-align: center;
}
.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;
}

/* Stickers */
.thumbnails li,
.image {
  position: relative;
}

.promotion-sticker {
  position: absolute;
  z-index: 1;
}
.promotion-sticker img {
  border: 0 !important;
}

.promotion-sticker.product {
  top: 18px;
  right:  18px;
  bottom: 18px;
  left: 18px;
}
.promotion-sticker.category {
  top: 9px;
  right:  9px;
  bottom: 9px;
  left: 9px;
}

.promotion-sticker.left-top {
  right: unset;
  bottom: unset;
}
.promotion-sticker.left-bottom {
  top: unset;
  right: unset;
}
.promotion-sticker.right-top {
  bottom: unset;
  left: unset;
}
.promotion-sticker.right-bottom {
  top: unset;
  left: unset;
}

