/* Product Promotion */
.product-promotion {
  border: 2px solid #e5097f;
  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: 4px;
  -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 .promotion-image {
  float: left;
  margin-right: 10px;
  text-align: center;  
}
.product-promotion .promotion-name {
  font-size: 18px;
  font-family: 'LatoBold';
  color: #e5097f;
  line-height: 24px;
}
.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;
  position: relative;
}
.product-promotion .timer-title {
  font-size: 18px;
  font-family: 'LatoBold';
  line-height: 24px;
  color: #1A1A1A;
  padding-bottom: 10px;
}
.product-promotion  #counter {
  width: 280px;
  height: 48px;
  margin: 0 auto;
  overflow: hidden;
}
.product-promotion .promotion-details {
  margin-top: 20px;
}
.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;
}
.product-promotion .one_gift {
  height: 46px;
  width: 100%;
  cursor: pointer;
  color: #00a0e3;
  font-size: 16px;
  line-height: 20px;
}

/* 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 .details-title > .details-text {
  color: red;
  font-size: 12px;
  border-bottom: 1px dashed;
}
.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;
  gap: 20px;
  border-bottom: 1px solid #dee2e6;
}

.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-family: 'LatoSemibold';
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

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

.promotion-product {
  display: flex;
  flex-direction: column;
  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: 14px;
  color: #007bff;
  text-decoration: none;
}

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

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

.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;
  gap: 10px;
}
.promotion-gift {
  flex: 47%;
  background-color: #FAFAFA;
  padding: 14px;
  border-radius: 4px;
}
.promotion-gift label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.promotion-gift .gift-image {
  align-self: center;
  margin: 10px 0;
}
.promotion-gift.active {
  border: 1px solid #00A0E3;
}
.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: 6px;
  right:  6px;
  bottom: 6px;
  left: 6px;
  margin: 0;
  max-width: 50%;
  max-height: 50%;
}

.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;
}
.gifts-images {
  min-width: 120px;
}
.gifts-images .gift-image:nth-child(odd) {
  float: left;
}
.gifts-images .gift-image:nth-child(even) {
  float: right;
}
.timeTo {
  font-weight: normal !important;
}
.timeTo figure {
  margin-right: 5px !important;
  margin-left: 5px !important;
}
.timeTo figure:first-child {
  margin-left:0 !important;
}
.timeTo.timeTo-white div {
  background: #FAFAFA !important;
}
.timeTo div.first {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.timeTo div:not(.first) {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.timeTo figcaption {
  color: #AAAAAA !important;
}
.modal {
  padding: 30px !important;
}
.modal-title {
  font-family: 'LatoBold';
  font-size: 30px;
  line-height: 40px;
  color: #1A1A1A;
}
.modal-header {
  padding: 0 50px 30px;
}
.product-promotion.one .promotion-gifts {
  width: 150px;
  margin: 0 auto;
}
.one_gift {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: center;
  color: #1A1A1A;
  border-radius: 4px;
  background-color: #fafafa;
  border: 1px solid #fafafa;
  text-align: center;
  -webkit-transition: ease-out 0.3s;
  transition: ease-out 0.3s;
  padding: 14px 10px;
  height: 98px;
  font-size: 16px;
  line-height: 20px;
  margin-top: 0;
}
.one_gift:hover, .one_gift:active {
  color: initial;
  background-color: #e9e9e9;
}
.one_gift img {
  margin: 0;
  fill: none;
}
@media (max-width: 1720px) {
  .product-promotion .one_gift {
    padding: 13px 14px;
    font-size: 16px;
    line-height: 20px;
  }
  .one_gift {
    padding: 12px 10px;
    height: 82px;
    font-size: 12px;
    line-height: 16px;
  }
}
@media (max-width: 768px) {
  .promotion-product {
    width: 100%;
  }
  .promotion-sticker.product {
    max-height: 120px;
    max-width: 120px;
  }
  .modal {
    padding: 20px !important;
  }
  .modal-title {
    font-size: 20px;
    line-height: 24px;
  }
  .modal-body {
    padding: 0;
    margin-top: 15px;
  }
  .promotion-wrapper {
    padding: 0;
    gap: 14px;
  }
  .gifts-images {
    min-width: 80px;
  }
  .gifts-images img {
    width: 60px;
  }
  .popup-description {
    font-size: 12px;
    line-height: 18px;
    color: #1A1A1A;
  }
  .products-wrapper {
    overflow-y: scroll;
    padding: 0;
    max-height: 500px;
  }
  .product-promotion.one {
    width: 280px;
  }
  .card__bonus svg, .one_gift svg {
    margin-right: 0;
  }
}
@media (min-width: 1200px) {
  .product-promotion.one {
    width: 280px;
  }
}
