/* 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 */
.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 {
	margin-top: 20px;
	position:relative;
}
.promotion-description.short {
	height: 150px;
	overflow: hidden;
}
.promotion-description.short:after {
	content: '';
	display: block;
	background: linear-gradient(to top, rgb(255, 255, 255, 1), rgb(255, 255, 255, 0));
	width: 100%;
	height: 75px;
	position: absolute;
	bottom: 0;
	left: 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;
}
.flex-row .promotion-grid {
	width: calc(50% - 15px);
	padding: 15px;
	margin-bottom: 30px;
	border: 1px solid rgba(57, 81, 93, 0.14);
    border-radius: 10px;
}
.promotion-grid .name {
	margin: 15px 0 10px;
	font-size: 18px;
	line-height: 20px;
	font-weight: 700;
}
.action-date {
	display: flex;
	align-items: center;
	font-size: 15px;
}
.action-date:before {
	content: '\f073';
	font-family: fontawesome;
	margin-right: 8px;
    font-size: 20px;
	color: #853a76;
}
.promotion-grid > .promotion-thumb .image {
	overflow: hidden;
}
.promotion-grid > .promotion-thumb .image img {
	transition: .3s;
}
.promotion-grid:hover > .promotion-thumb .image img {
	transform: scale(1.1);
}
#product > .promotion-thumb {
	float: left;
    margin: 0 20px 20px 0;
	max-width: 50%;
}
#product > .promotion-thumb img {
	max-width: 100%;
}
#button-less {
	display: none;
}
.buttons-descr {
    text-align: center;
}
.page-product h1.promotion-name {
    margin-bottom: 10px;
}
.promotion-page .promotion-timer {
    margin: 15px 0 20px;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #853a76;
    background: rgb(133, 58, 118, 0.3);
}
.promotion-page .promotion-timer .timer-title {
	margin-right: 15%;
	font-size: 16px;
}
.promotion-timer .timer-counter {
	padding-bottom: 7px;
}
.promotion-timer .timer-counter > .timeTo {
	font-family: Montserrat !important;
}
.promotion-timer .timeTo div.first, .promotion-timer .timeTo.timeTo-white div {
    border: none;
    background: none;
    box-shadow: none;
	margin-left: 1px;
}
.promotion-timer .timeTo figcaption {
    font-size: 12px !important;
    color: #000;
	position: relative;
    top: -3px;
}
.module-promotion-promotion .category-page-pagination {
    margin-bottom: 60px;
}
@media screen and (max-width: 900px) {
	#product > .promotion-thumb {
		float: none;
		max-width: 100%;
		margin: 0 0 15px;
	}
	.promotion-page .promotion-timer .timer-title {
		margin-right: 50px;
	}
}
@media screen and (max-width: 768px) {
	.flex-row .promotion-grid {
		width: 100%;
	}
}
@media screen and (max-width: 460px) {
	.flex-row .promotion-grid {
		padding: 10px;
		margin-bottom: 15px;
	}
	.promotion-grid .name {
		font-size: 16px;
		line-height: 18px;
	}
	.action-date {
		font-size: 13px;
	}
	.action-date:before {
		font-size: 16px;
	}
	.module-promotion-promotion .category-item {
		width: 100%;
	}
	.promotion-page .promotion-timer {
		display: block;
	}
	.promotion-page .promotion-timer .timer-title {
		margin-right: 0;
		margin-bottom: 5px;
	}
}