﻿.swiper-container {
  width: 100%;
  height: max-content;
  max-height: 400px;
  padding-left: 2em;
  padding-right: 2em;
}

.app-content-row {
  padding-bottom: 20em !important;
}



.swiper-container .card__product {
  height: max-content;
}
.vue-defined-products-holder {
  padding: 10px 10px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  margin-bottom: 10px;
}

.vue-defined-products-holder .display-name {
  text-align: center;
  line-height: 2em;
  
  margin-bottom: 0;
}


.content__product-info {
  padding: 0 14px 0 14px;
}

.content__product-info .name {
  width: 100%;
  text-align: left;
  font-size: 18px;
  color: #333;
  line-height: 1.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.content__product-info .price::before {
  content: attr(data-currency);
}

.content__product-info .name {
  line-height: 1.2em;
  height: 2.4em;
}

.top__product-image {
  height: 175px;
  padding: 10px;
}
.top__product-image .image {
  max-width: 100%;
  width: auto;
  height: 100%;
  display: block;
  margin: 0 auto;
}
.top__product-icon--favourite {
  position: absolute;
  width: 24px;
  height: 24px;

  top: 1rem;
  left: 1rem;
}

.top__product-icon--favourite .fa {
  font-size: 24px !important;
}

.top__product-icon--favourite .action__add-to-favourite {
  color: #ccc !important;
  cursor: pointer;
}

.top__product-icon--favourite .action__add-to-favourite.added {
  color: #febe10 !important;
  cursor: pointer;
}

.bottom__product-actions {
  padding: 10px 10px;
  text-align: center;
}

.bottom__product-actions .price {
  line-height: 1.5;
  height: 40px;
}

.bottom__product-actions .button__add-to-cart {
  background-color: var(--brand-c);
  border-color: var(--brand-c);
}

.bottom__product-actions .button__add-to-cart:hover {
  background-color: var(--brand-c);
  border-color: var(--brand-c);
  color:#fff;

}


.bottom__product-actions .button__add-to-cart .plus_cart {
  position: relative;
  top: -5px;
  display: inline;
}

.top__product-flags {
  position: absolute;
  top: 0;
  right: -14px;
  width: 150px;
  text-align: center;

  --flag-season-ending: #f6921e;
  --flag-pre-order: #3fa9f5;
  --flag-just-arrived: #6db344;
  --flag-on-special: #ff3030;
  --flag-not-for-sale: #808080;
}

.top__product-flags .flag-holder {
  margin-top: 15px;
}

.top__product-flags .flag {
  width: 100%;
  height: 27px;
  padding: 2px 0;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  font-size: 11px;
}

.top__product-flags .flag::after {
  /* content: " "; */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0px 12px 12px 12px;
  border-color: transparent transparent #bada55 transparent;
  display: inline-block;
  position: absolute;
  right: 1px;
  top: 37px;
  transform: rotate(-45deg);
  z-index: -1;
}

.flag.flag--season-ending {
  background: var(--flag-season-ending);
}
.flag.flag--season-ending ~ .ribbon-effect {
  border-top-color: var(--flag-season-ending);
}
.flag.flag--pre-order {
  background: var(--flag-pre-order);
  border-color: var(--flag-pre-order);
}

.flag.flag--pre-order ~ .ribbon-effect {
  border-top-color: var(--flag-pre-order);
}

.flag.flag--just-arrived {
  background: var(--flag-just-arrived);
}

.flag.flag--just-arrived ~ .ribbon-effect {
  border-top-color: var(--flag-just-arrived);
}

.flag.flag--on-special {
  background: var(--flag-on-special);
}
.flag.flag--on-special ~ .ribbon-effect {
  border-top-color: var(--flag-on-special);
}

.flag.flag--not-for-sale {
  background: var(--flag-not-for-sale);
}

.flag.flag--not-for-sale ~ .ribbon-effect {
  border-top-color: var(--flag-not-for-sale);
}

.ribbon-effect {
  width: 0;
  height: 0;
  border-top: 8px solid;
  border-right: 14px solid transparent;
  margin-top: 10px;
  margin-left: 15px;
  position: relative;
  top: -10px;
  float: right;
  border-top: 8px solid #ce711d;
}

.vue-defined-products-holder #swiper-button-next {
  right: 20px;
  transform: rotate(225deg);
}

.vue-defined-products-holder #swiper-button-prev {
  left: 20px;
  transform: rotate(45deg);
}
.vue-defined-products-holder #swiper-button-next,
.vue-defined-products-holder #swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;

  border-bottom: 2px solid #ccc;
  border-left: 2px solid #ccc;
  background: none;
}

.vue-defined-products-holder #swiper-button-next:focus,
.vue-defined-products-holder #swiper-button-prev:focus {
  outline: none;
}

.el-select .el-input {
  width: 70px;
}

.bottom__product-actions .el-input-group {
  width: 70%;
}

.input-with-select .el-input-group__append {
  width: 60px;
  padding: 0px;
}
.input-with-select .el-input__suffix {
  right: -5px;
}
.input-with-select > .el-input__inner {
  width: 100%;
  padding: 0 5px;
  text-align: center;
}

.input-with-select .el-input--suffix .el-input__inner {
  width: 50px;
  padding: 0 5px;
}

.el-input__suffix .el-input__inner {
  /* padding: 0 0; */
  text-align: center;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.custom-dropdown select {
  font-size: inherit;
  background: none;
  outline: none;
  padding: 0.5em;
  border: 0;
  margin: 0;
  border-radius: 3px;
  text-indent: 0.01px;
  text-overflow: "";
  -webkit-appearance: button; /* hide default arrow in chrome OSX */
}

.custom-dropdown::before,
.custom-dropdown::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.custom-dropdown::after {
  /*  Custom dropdown arrow */
  /* content: "\25BC"; */
  height: 1em;
  font-size: 0.625em;
  line-height: 1;
  right: 1.2em;
  top: 50%;
  margin-top: -0.5em;
}

.custom-dropdown::before {
  /*  Custom dropdown arrow cover */
  width: 2em;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0 3px 3px 0;
}

.custom-dropdown select[disabled] {
  color: rgba(0, 0, 0, 0.3);
}

.custom-dropdown select[disabled]::after {
  color: rgba(0, 0, 0, 0.1);
}

.custom-dropdown::before {
  background-color: none;
}

.custom-dropdown::after {
  color: rgba(0, 0, 0, 0.4);
}

.alert-message,.details {
  height: 1em;
  display: block;
}

.content__product-info .description {
  line-height: 1.2em;
  height: 2.4em;
  display: -webkit-box;
}


@media only screen and (max-width: 640px) {
  .vue-defined-products-holder {
    box-shadow: none;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 124px;
  }
  .swiper-container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .vue-defined-products-holder #swiper-button-next,
  .vue-defined-products-holder #swiper-button-prev {
    top: 300px;
    margin-top: 0px;
  }
  .vue-defined-products-holder #swiper-button-next {
    right: 10px;
	display: none;
  }
  .vue-defined-products-holder #swiper-button-prev {
    left: 10px;
	display: none;
  }

  .top__product-icon--favourite {
    top: 5px;
    left: 20px;
  }

  .top__product-flags,
  .top__product-icon--favourite {
    display: none;
  }
  .top__product-image .image {
    max-width: 100%;
    max-height: 150px;
  }

  .top__product-image {
    text-align: center;
  }

  .content__product-info .name {
    line-height: 1.2em;
    height: auto;
    display: block;
    text-align: center;
  }

  .vue-defined-products-holder .el-card {
    border: none;
  }

  .hidden-sm-and-down {
    display: none !important;
  }

  .top__product-image {
    height: 150px;
  }
  .top__product-image .image {
    max-width: 280px;
    height: auto;
    width: auto;
  }

  .card__product {
    width: 100%;
  }
  .input-with-select {
    max-width: 150px;
  }
}

[v-cloak] { display:none; }


@media only screen and (min-width: 1025px) and (max-width: 1440px) {
  .bottom__product-actions .el-input-group {
    margin-bottom: 10px;
  }

  .bottom__product-actions .el-input-group {
    width: 50%;
  }

  .input-with-select .el-input-group__append,
  .input-with-select > .el-input__inner {
    width: 50px;
  }
}


