/* СПИСОК СПИСКОВ ИЗБРАННОГО */
.favorites-lists-list {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.fll-item {
  position: relative;
  display: block;
  font-size: 16px;
  text-align: center;
  overflow: hidden;
  float: left;
  width: 300px;
  height: 235px;
  /* override <a> styles */
  color: inherit;
  text-decoration: none;
}
@media (max-width: 567px) {
  .fll-item {
    width: calc(100vw * 3.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item {
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item {
    width: calc(100vw * 3.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item {
    width: calc(100vw * 4.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
/* Кнопка добавления списка, когда списков ещё нет */
.fll-item-create-first {
  /* Хитрое выравнивание текста по вертикали */
  font-size: 0;
  background-color: #f0f0f0;
  line-height: 235px;
}
@media (max-width: 567px) {
  .fll-item-create-first {
    line-height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-create-first {
    line-height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-create-first {
    line-height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-create-first {
    line-height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
.fll-item-create-first-label-wrap {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.15;
}
.fll-item-create-first-label1 {
  font-family: 'BebasNeueBook', Arial, sans-serif;
  text-transform: uppercase;
  color: #5f5b59;
  font-size: 35px;
}
@media (max-width: 567px) {
  .fll-item-create-first-label1 {
    font-size: 20px;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-create-first-label1 {
    font-size: 20px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-create-first-label1 {
    font-size: 20px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-create-first-label1 {
    font-size: 20px;
  }
}
.fll-item-create-first-label2 {
  color: #9f9f9f;
  font-size: 18px;
}
@media (max-width: 567px) {
  .fll-item-create-first-label2 {
    font-size: 12px;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-create-first-label2 {
    font-size: 12px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-create-first-label2 {
    font-size: 12px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-create-first-label2 {
    font-size: 12px;
  }
}
/* Кнопка добавления списка, когда списки уже есть */
.fll-item-create-another {
  /* Хитрое выравнивание текста по вертикали */
  font-size: 0;
  background-color: #f0f0f0;
  line-height: 235px;
}
@media (max-width: 567px) {
  .fll-item-create-another {
    line-height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-create-another {
    line-height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-create-another {
    line-height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-create-another {
    line-height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
.fll-item-create-another-label-wrap {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.5;
}
.fll-item-create-another-label1 {
  color: #9f9f9f;
  font-size: 16px;
}
.fll-item-create-another-label2 .pm-icon:before,
.fll-item-create-another-label2 .pm-icon:after {
  background-color: #9f9f9f;
}
/* Собственно блоки списков */
.fll-item-link {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  /* override <a> styles */
  color: inherit;
  text-decoration: none;
  outline: none;
}
.fll-item-image {
  display: inline-block;
  vertical-align: top;
  border: 0;
  width: 100%;
}
@supports (object-fit: cover) {
  .fll-item-image {
    object-fit: cover;
    height: 100%;
  }
}
.fll-item-name-wrap {
  pointer-events: none;
  text-align: left;
  position: absolute;
  overflow: hidden;
  font-size: 0;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ccc;
  height: 58px;
  line-height: 58px;
  padding-left: 58px;
}
@media (max-width: 567px) {
  .fll-item-name-wrap {
    background-color: rgba(204, 204, 204, 0.61);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    padding-left: calc(100vw * 1.0 / 6.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-name-wrap {
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    padding-left: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-name-wrap {
    background-color: rgba(204, 204, 204, 0.61);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    padding-left: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-name-wrap {
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    padding-left: calc(100vw * 1.0 / 16.0);
  }
}
.fll-item-name {
  /* Хитрое выравнивание текста по вертикали */
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.8;
}
.fll-item-count {
  font-family: 'BebasNeueBook';
  font-size: 34px;
  color: #5f5b59;
  position: absolute;
  right: 0;
  bottom: 0;
  /* Костыль для шрифта BebasNeueBook для выравнивания по вертикали */
  box-sizing: border-box;
  padding-top: 4px;
  background-color: #c5b097;
  width: 100px;
  height: 58px;
  line-height: 58px;
}
@media (max-width: 567px) {
  .fll-item-count {
    background-color: rgba(197, 176, 151, 0.83);
    width: calc(100vw * 1.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-count {
    background-color: rgba(197, 176, 151, 0.83);
    width: calc(100vw * 2.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-count {
    background-color: rgba(197, 176, 151, 0.83);
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-count {
    background-color: rgba(197, 176, 151, 0.83);
    width: calc(100vw * 2.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.fll-item-dropdown-btn {
  position: absolute;
  left: 0;
  top: 0;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  width: 58px;
  height: 58px;
  line-height: 58px;
}
@media (max-width: 567px) {
  .fll-item-dropdown-btn {
    width: calc(100vw * 1.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-dropdown-btn {
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-dropdown-btn {
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-dropdown-btn {
    width: calc(100vw * 1.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.fll-item-dropdown-checkbox {
  display: none;
}
/* Только на некоторых мобильных версиях */
.fll-item-dropdown-btn2 {
  position: absolute;
  left: 0;
  top: 0;
  text-align: center;
  font-size: 28px;
  cursor: pointer;
  width: 58px;
  height: 58px;
  line-height: 58px;
  transition-property: opacity;
  transition-duration: 250ms;
  opacity: 0;
  pointer-events: none;
  display: none;
}
@media (max-width: 567px) {
  .fll-item-dropdown-btn2 {
    display: block;
    width: calc(100vw * 1.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-dropdown-btn2 {
    display: block;
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-dropdown-btn2 {
    display: block;
    width: calc(100vw * 1.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.fll-item-dropdown-checkbox:checked ~ .fll-item-dropdown-btn2 {
  opacity: 1;
  pointer-events: auto;
}
.fll-item-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  transition-property: opacity;
  transition-duration: 250ms;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 58px;
  width: 200px;
  height: auto;
  line-height: 39px;
  text-align: left;
  background-color: rgba(204, 204, 204, 0.67);
}
@media (max-width: 567px) {
  .fll-item-dropdown-menu {
    top: 0;
    width: 100%;
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    text-align: right;
    background-color: #ccc;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-dropdown-menu {
    top: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    width: calc(100vw * 3.0 / 12.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    background-color: rgba(204, 204, 204, 0.81);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-dropdown-menu {
    top: 0;
    width: 100%;
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    text-align: right;
    background-color: #ccc;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-dropdown-menu {
    top: 0;
    width: 100%;
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    text-align: right;
    background-color: #ccc;
  }
}
.fll-item-dropdown-menu > li {
  margin: 0;
  padding: 0;
}
.fll-item-dropdown-menu .fll-item-dropdown-link {
  color: inherit;
  text-decoration: none;
}
.fll-item-dropdown-menu .fll-item-dropdown-link:hover {
  text-decoration: underline;
}
.fll-item-dropdown-checkbox:checked ~ .fll-item-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}
.fll-item-dropdown-link {
  display: block;
  padding: 0 22px;
  white-space: nowrap;
  overflow: hidden;
}
@media (min-width: 568px) and (max-width: 767px) {
  .fll-item-dropdown-link {
    padding: 0 0 0 16px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fll-item-dropdown-link {
    padding: 0 12px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fll-item-dropdown-link {
    padding: 0 16px;
  }
}
/* СПИСОК ИЗБРАННОГО */
/* (Почти то же самое, что и список списков избранного, но с некоторыми изменениями) */
.favlist {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.favlist-item {
  position: relative;
  display: block;
  font-size: 16px;
  text-align: center;
  overflow: hidden;
  float: left;
  /* override <a> styles */
  color: inherit;
  text-decoration: none;
  width: 300px;
  height: 235px;
}
@media (max-width: 567px) {
  .favlist-item {
    width: calc(100vw * 3.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item {
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item {
    width: calc(100vw * 3.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item {
    width: calc(100vw * 4.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
/* Кнопка поиска товаров, когда список ещё пуст */
.favlist-item-shop-first {
  /* Хитрое выравнивание текста по вертикали */
  font-size: 0;
  background-color: #f0f0f0;
  line-height: 235px;
}
@media (max-width: 567px) {
  .favlist-item-shop-first {
    line-height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-shop-first {
    line-height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-shop-first {
    line-height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-shop-first {
    line-height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
.favlist-item-shop-first-label-wrap {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.15;
}
.favlist-item-shop-first-label1 {
  font-family: 'BebasNeueBook', Arial, sans-serif;
  text-transform: uppercase;
  color: #5f5b59;
  font-size: 35px;
}
@media (max-width: 567px) {
  .favlist-item-shop-first-label1 {
    font-size: 20px;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-shop-first-label1 {
    font-size: 20px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-shop-first-label1 {
    font-size: 20px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-shop-first-label1 {
    font-size: 20px;
  }
}
.favlist-item-shop-first-label2 {
  color: #9f9f9f;
  font-size: 18px;
}
@media (max-width: 567px) {
  .favlist-item-shop-first-label2 {
    font-size: 12px;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-shop-first-label2 {
    font-size: 12px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-shop-first-label2 {
    font-size: 12px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-shop-first-label2 {
    font-size: 12px;
  }
}
.favlist-item-shop-another {
  /* Хитрое выравнивание текста по вертикали */
  font-size: 0;
  background-color: #f0f0f0;
  line-height: 235px;
}
@media (max-width: 567px) {
  .favlist-item-shop-another {
    line-height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-shop-another {
    line-height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-shop-another {
    line-height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-shop-another {
    line-height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
.favlist-item-shop-another-label-wrap {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.5;
}
.favlist-item-shop-another-label1 {
  color: #9f9f9f;
  font-size: 16px;
}
.favlist-item-shop-another-label2 .pm-icon:before,
.favlist-item-shop-another-label2 .pm-icon:after {
  background-color: #9f9f9f;
}
/* Собственно сами товары */
.favlist-item-link {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  /* override <a> styles */
  color: inherit;
  text-decoration: none;
  outline: none;
}
.favlist-item-image {
  display: inline-block;
  vertical-align: top;
  border: 0;
  width: 100%;
}
@supports (object-fit: cover) {
  .favlist-item-image {
    object-fit: cover;
    height: 100%;
  }
}
.favlist-item-name-wrap {
  pointer-events: none;
  text-align: left;
  position: absolute;
  overflow: hidden;
  text-align: center;
  font-size: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  line-height: 58px;
  background-color: #ccc;
}
@media (max-width: 567px) {
  .favlist-item-name-wrap {
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    background-color: rgba(204, 204, 204, 0.61);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-name-wrap {
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    background-color: rgba(204, 204, 204, 0.61);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-name-wrap {
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    background-color: rgba(204, 204, 204, 0.61);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-name-wrap {
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    background-color: rgba(204, 204, 204, 0.61);
  }
}
.favlist-item-name {
  /* Хитрое выравнивание текста по вертикали */
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.8;
}
.favlist-item-cart {
  position: absolute;
  bottom: 0;
  /* override <a> styles */
  color: inherit;
  text-decoration: none;
  outline: none;
  left: 0;
  background-color: #c5b097;
  width: 100px;
  height: 58px;
  line-height: 58px;
}
@media (max-width: 567px) {
  .favlist-item-cart {
    width: calc(100vw * 1.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-cart {
    width: calc(100vw * 2.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-cart {
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-cart {
    background-color: rgba(197, 176, 151, 0.51);
    width: calc(100vw * 2.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.favlist-item-cart-icon:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 32px;
  height: 26px;
  background-image: url('../i/cart-icon-white-fav.png');
  background-size: 32px 26px;
}
.favlist-item-plus {
  position: absolute;
  bottom: 0;
  /* override <a> styles */
  color: inherit;
  text-decoration: none;
  outline: none;
  left: 100px;
  background-color: rgba(93, 93, 93, 0.83);
  width: 100px;
  height: 58px;
  line-height: 58px;
}
@media (max-width: 567px) {
  .favlist-item-plus {
    left: calc(100vw * 1.0 / 6.0);
    width: calc(100vw * 1.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-plus {
    left: calc(100vw * 2.0 / 12.0);
    width: calc(100vw * 2.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-plus {
    left: calc(100vw * 1.0 / 12.0);
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-plus {
    left: calc(100vw * 2.0 / 16.0);
    width: calc(100vw * 1.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.favlist-item-plus > .pm-icon:before,
.favlist-item-plus > .pm-icon:after {
  background-color: white;
}
.favlist-item-delete {
  position: absolute;
  bottom: 0;
  color: white;
  font-size: 24px;
  /* override <a> styles */
  text-decoration: none;
  outline: none;
  right: 0;
  background-color: rgba(197, 176, 151, 0.51);
  width: 100px;
  height: 58px;
  line-height: 58px;
}
@media (max-width: 567px) {
  .favlist-item-delete {
    width: calc(100vw * 1.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favlist-item-delete {
    width: calc(100vw * 2.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favlist-item-delete {
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favlist-item-delete {
    width: calc(100vw * 1.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.favlist-item-delete > .pm-icon:before,
.favlist-item-delete > .pm-icon:after {
  background-color: white;
}
/* Окна создания и переименования списка */
.modal.modal-fav1 {
  /* position: absolute выставляется в классе modal (см. base.less) */
  font-size: 16px;
  text-align: center;
  background-color: #f3eee9;
  top: 181px;
  left: 25%;
  left: calc(50% - 290px);
  width: 580px;
  height: 280px;
  box-sizing: border-box;
  padding: 0 0 0 1px;
}
@media (max-width: 567px) {
  .modal.modal-fav1 {
    top: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
    left: 0;
    width: calc(100vw * 6.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 4.0 / 8.0);
    padding: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal.modal-fav1 {
    top: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
    left: calc(100vw * 2.0 / 12.0);
    width: calc(100vw * 8.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
    padding: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal.modal-fav1 {
    top: calc(100vw / 768.0 * 924.0 * 5.0 / 16.0);
    left: calc(100vw * 3.0 / 12.0);
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
    padding: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal.modal-fav1 {
    top: calc(100vw / 1024.0 * 668.0 * 4.0 / 12.0);
    left: calc(100vw * 5.0 / 16.0);
    width: calc(100vw * 6.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 4.0 / 12.0);
    padding: 0;
  }
}
.modal-fav1-title {
  margin-top: 22px;
  height: 50px;
  line-height: 50px;
  background-color: transparent;
}
@media (max-width: 567px) {
  .modal-fav1-title {
    margin-top: 0;
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    background-color: #f3c94a;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-fav1-title {
    margin-top: 0;
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    background-color: #f3c94a;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-fav1-title {
    margin-top: 0;
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    background-color: #f3c94a;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-fav1-title {
    margin-top: 0;
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    background-color: #f3c94a;
  }
}
.modal-fav1-longtext-wrap {
  margin: 38px auto 0;
  min-height: 92px;
  background-color: transparent;
  width: 360px;
}
@media (max-width: 567px) {
  .modal-fav1-longtext-wrap {
    width: 100%;
    margin: 0;
    /* vertical align */
    min-height: 0;
    font-size: 0;
    height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-fav1-longtext-wrap {
    width: 100%;
    margin: 0;
    /* vertical align */
    min-height: 0;
    font-size: 0;
    height: calc(100vw / 568.0 * 320.0 * 3.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 3.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-fav1-longtext-wrap {
    width: 100%;
    margin: 0;
    /* vertical align */
    min-height: 0;
    font-size: 0;
    height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-fav1-longtext-wrap {
    width: 100%;
    margin: 0;
    /* vertical align */
    min-height: 0;
    font-size: 0;
    height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 3.0 / 12.0);
  }
}
.modal-fav1-longtext {
  font-size: 16px;
  line-height: 18px;
  display: inline-block;
  vertical-align: middle;
}
.modal-fav1-content-wrap,
.modal-fav1-input {
  box-sizing: border-box;
  text-align: center;
  margin: 4px auto 18px;
  width: 360px;
  height: 36px;
  line-height: 36px;
}
@media (max-width: 567px) {
  .modal-fav1-content-wrap,
  .modal-fav1-input {
    margin: 0;
    width: 100%;
    height: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-fav1-content-wrap,
  .modal-fav1-input {
    margin: 0;
    width: 100%;
    height: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-fav1-content-wrap,
  .modal-fav1-input {
    margin: 0;
    width: 100%;
    height: calc(100vw / 768.0 * 924.0 * 2.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 2.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-fav1-content-wrap,
  .modal-fav1-input {
    margin: 0;
    width: 100%;
    height: calc(100vw / 1024.0 * 668.0 * 2.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 2.0 / 12.0);
  }
}
.modal-fav1-content-wrap {
  font-size: 0;
  /* Для хитрого выравнивания по вертикали */
}
.modal-fav1-content-wrap .modal-fav1-content {
  /* Хитрое выравнивание по вертикали */
  display: inline-block;
  vertical-align: middle;
  line-height: 1.54;
  font-size: 16px;
}
.modal-fav1-input {
  background-color: white;
  text-align: left;
  /* reset <input> style */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  border: 0;
  /* border: 1px solid #ccc; */
  height: 36px;
  line-height: 36px;
  /* line-height: 34px; */
  padding: 0 4px;
}
@media (max-width: 567px) {
  .modal-fav1-input {
    border: 0;
    height: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-fav1-input {
    border: 0;
    height: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-fav1-input {
    border: 0;
    height: calc(100vw / 768.0 * 924.0 * 2.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 2.0 / 16.0);
    padding: 0 14px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-fav1-input {
    border: 0;
    height: calc(100vw / 1024.0 * 668.0 * 2.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 2.0 / 12.0);
    padding: 0 20px;
  }
}
.modal-fav1-controls {
  overflow: hidden;
}
.modal-fav1-savebtn,
.modal-fav1-cancelbtn {
  box-sizing: border-box;
  display: block;
  /* reset <button> and <a> styles */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #f4b542;
  margin: 0 auto;
  width: 360px;
  height: 36px;
  line-height: 34px;
}
@media (max-width: 567px) {
  .modal-fav1-savebtn,
  .modal-fav1-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-fav1-savebtn,
  .modal-fav1-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-fav1-savebtn,
  .modal-fav1-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-fav1-savebtn,
  .modal-fav1-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.modal-fav1-savebtn {
  background-color: #f4b542;
  margin-bottom: 18px;
}
@media (max-width: 567px) {
  .modal-fav1-savebtn {
    margin-bottom: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-fav1-savebtn {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-fav1-savebtn {
    margin-bottom: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-fav1-savebtn {
    margin-bottom: 0;
  }
}
.modal-fav1-cancelbtn {
  background-color: #f3eee9;
}
@media (max-width: 567px) {
  .modal-fav1-cancelbtn {
    background-color: #d88628;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-fav1-cancelbtn {
    background-color: #d88628;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-fav1-cancelbtn {
    background-color: #d88628;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-fav1-cancelbtn {
    background-color: #d88628;
  }
}
/* Если четыре блока ниже объединить, то почему-то не работает */
.fav-input-error::-webkit-input-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
.fav-input-error::-moz-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
.fav-input-error:-moz-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
.fav-input-error:-ms-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
/* ОКНО ДОБАВЛЕНИЯ ТОВАРА В КОРЗИНУ ИЗ ИЗБРАННОГО */
.modal.modal-favcart {
  /* position: absolute выставляется в классе modal (см. base.less) */
  font-size: 16px;
  text-align: center;
  background-color: #f3eee9;
  top: 181px;
  left: 25%;
  left: calc(50% - 290px);
  width: 580px;
  height: 280px;
  overflow: hidden;
  box-sizing: border-box;
}
@media (max-width: 567px) {
  .modal.modal-favcart {
    top: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
    left: 0;
    width: calc(100vw * 6.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 6.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal.modal-favcart {
    top: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
    left: calc(100vw * 1.0 / 12.0);
    width: calc(100vw * 10.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 6.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal.modal-favcart {
    top: calc(100vw / 768.0 * 924.0 * 3.0 / 16.0);
    left: calc(100vw * 2.0 / 12.0);
    width: calc(100vw * 8.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 5.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal.modal-favcart {
    top: calc(100vw / 1024.0 * 668.0 * 4.0 / 12.0);
    left: calc(100vw * 3.0 / 16.0);
    width: calc(100vw * 10.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 6.0 / 12.0);
  }
}
.modal-favcart-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
@supports (object-fit: cover) {
  .modal-favcart-image {
    object-fit: cover;
    height: 244px;
  }
  @media (max-width: 567px) {
    .modal-favcart-image {
      height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
    }
  }
  @media (min-width: 568px) and (max-width: 767px) {
    .modal-favcart-image {
      height: calc(100vw / 568.0 * 320.0 * 5.0 / 8.0);
    }
  }
  @media (min-width: 768px) and (max-width: 1023px) {
    .modal-favcart-image {
      height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
    }
  }
  @media (min-width: 1024px) and (max-width: 1199px) {
    .modal-favcart-image {
      height: calc(100vw / 1024.0 * 668.0 * 5.0 / 12.0);
    }
  }
}
.modal-favcart-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: rgba(93, 93, 93, 0.77);
  height: 58px;
  line-height: 58px;
}
@media (max-width: 567px) {
  .modal-favcart-title {
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favcart-title {
    background-color: rgba(204, 204, 204, 0.77);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favcart-title {
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favcart-title {
    background-color: rgba(204, 204, 204, 0.77);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.modal-favcart-size-select-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 36px;
  line-height: 36px;
}
@media (max-width: 567px) {
  .modal-favcart-size-select-wrap {
    bottom: auto;
    width: 100%;
    top: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favcart-size-select-wrap {
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favcart-size-select-wrap {
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favcart-size-select-wrap {
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.modal-favcart-size-select-wrap:after {
  width: 36px;
}
@media (max-width: 567px) {
  .modal-favcart-size-select-wrap:after {
    width: calc(100vw * 1.0 / 6.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favcart-size-select-wrap:after {
    width: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favcart-size-select-wrap:after {
    width: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favcart-size-select-wrap:after {
    width: calc(100vw * 1.0 / 16.0);
  }
}
.modal-favcart-size-select-wrap .alm-select {
  margin: 0;
  background-color: white;
  height: inherit;
  line-height: inherit;
  padding-top: 0;
  padding-bottom: 0;
}
.modal-favcart-size-select-wrap .alm-select:hover {
  background-color: white;
}
.modal-favcart-sendbtn {
  background-color: #f4b542;
  position: absolute;
  right: 0;
  width: 50%;
  /* reset <a> and <button> style */
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  bottom: 36px;
  height: 36px;
  line-height: 36px;
}
@media (max-width: 567px) {
  .modal-favcart-sendbtn {
    background-color: #d88628;
    bottom: auto;
    width: 100%;
    top: calc(100vw / 320.0 * 460.0 * 5.0 / 8.0);
    bottom: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favcart-sendbtn {
    bottom: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favcart-sendbtn {
    bottom: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favcart-sendbtn {
    bottom: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.modal-favcart-cancelbtn {
  background-color: #d88628;
  position: absolute;
  right: 0;
  width: 50%;
  /* reset <a> and <button> style */
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  bottom: 0;
  height: 36px;
  line-height: 36px;
}
@media (max-width: 567px) {
  .modal-favcart-cancelbtn {
    background-color: #f4b542;
    bottom: auto;
    width: 100%;
    top: calc(100vw / 320.0 * 460.0 * 4.0 / 8.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favcart-cancelbtn {
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favcart-cancelbtn {
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favcart-cancelbtn {
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
/* ОКНО ДОБАВЛЕНИЯ ТОВАРА В СПИСОК */
.modal.modal-favmanage {
  /* position: absolute выставляется в классе modal (см. base.less) */
  font-size: 16px;
  text-align: center;
  background-color: #f3eee9;
  top: 181px;
  left: 25%;
  left: calc(50% - 290px);
  width: 580px;
  height: 280px;
  box-sizing: border-box;
  padding: 0 0 0 1px;
}
@media (max-width: 567px) {
  .modal.modal-favmanage {
    top: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
    left: 0;
    width: calc(100vw * 6.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 5.0 / 8.0);
    padding: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal.modal-favmanage {
    top: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
    left: calc(100vw * 3.0 / 12.0);
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 6.0 / 8.0);
    padding: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal.modal-favmanage {
    top: calc(100vw / 768.0 * 924.0 * 5.0 / 16.0);
    left: calc(100vw * 2.0 / 12.0);
    width: calc(100vw * 8.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 6.0 / 16.0);
    padding: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal.modal-favmanage {
    top: calc(100vw / 1024.0 * 668.0 * 6.0 / 12.0);
    left: calc(100vw * 3.0 / 16.0);
    width: calc(100vw * 10.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 6.0 / 12.0);
    padding: 0;
  }
}
.modal-favmanage-controls {
  overflow: hidden;
  margin-top: 18px;
}
@media (max-width: 567px) {
  .modal-favmanage-controls {
    margin-top: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favmanage-controls {
    margin-top: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favmanage-controls {
    margin-top: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favmanage-controls {
    margin-top: 0;
  }
}
.modal-favmanage-savebtn,
.modal-favmanage-cancelbtn {
  box-sizing: border-box;
  display: block;
  /* reset <button> and <a> styles */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #f4b542;
  margin: 0 auto;
  width: 360px;
  height: 36px;
  line-height: 34px;
}
@media (max-width: 567px) {
  .modal-favmanage-savebtn,
  .modal-favmanage-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favmanage-savebtn,
  .modal-favmanage-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favmanage-savebtn,
  .modal-favmanage-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favmanage-savebtn,
  .modal-favmanage-cancelbtn {
    border: 0;
    margin: 0;
    float: left;
    width: 50%;
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.modal-favmanage-savebtn {
  background-color: #f4b542;
  margin-bottom: 18px;
}
@media (max-width: 567px) {
  .modal-favmanage-savebtn {
    margin-bottom: 0;
    background-color: #d88628;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favmanage-savebtn {
    margin-bottom: 0;
    background-color: #d88628;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favmanage-savebtn {
    margin-bottom: 0;
    background-color: #d88628;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favmanage-savebtn {
    margin-bottom: 0;
    background-color: #d88628;
  }
}
.modal-favmanage-cancelbtn {
  background-color: #f3eee9;
}
@media (max-width: 567px) {
  .modal-favmanage-cancelbtn {
    background-color: #f4b542;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .modal-favmanage-cancelbtn {
    background-color: #f4b542;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .modal-favmanage-cancelbtn {
    background-color: #f4b542;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .modal-favmanage-cancelbtn {
    background-color: #f4b542;
  }
}
.favmanage-title {
  margin-top: 19px;
  height: 56px;
  line-height: 56px;
  background-color: transparent;
}
@media (max-width: 567px) {
  .favmanage-title {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-title {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-title {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-title {
    display: none;
  }
}
.favmanage {
  margin: 0 auto;
  position: relative;
  width: 360px;
}
@media (max-width: 567px) {
  .favmanage {
    width: 100%;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage {
    width: 100%;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage {
    width: 100%;
  }
}
.favmanage-list-title {
  display: block;
  background-color: white;
  box-sizing: border-box;
  text-align: left;
  padding: 0 5px;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  border: 1px solid #ccc;
  height: 37px;
  line-height: 35px;
}
.favmanage-list-title:after {
  display: block;
  position: absolute;
  right: 0px;
  top: 0px;
  box-sizing: border-box;
  width: 36px;
  height: 35px;
  line-height: 35px;
  background-color: #4d4d4d;
  border: 1px solid #4d4d4d;
  /* Для корректного line-height */
  font-family: FontAwesome;
  content: "\f107";
  /* fa-angle-down */
  text-align: center;
  font-size: 18px;
  color: #ccc;
}
@media (max-width: 567px) {
  .favmanage-list-title {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-list-title {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-list-title {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-list-title {
    display: none;
  }
}
.favmanage.favmanage-list-empty .favmanage-list-title {
  color: #ccc;
}
.favmanage-list-items {
  margin: 0 auto;
  padding: 0;
  background-color: white;
  overflow-x: none;
  overflow-y: auto;
  list-style: none outside none;
  min-height: 25px;
  position: absolute;
  width: calc(100% - 2px);
  left: 1px;
  line-height: 25px;
  max-height: 100px;
}
@media (max-width: 567px) {
  .favmanage-list-items {
    position: static;
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    height: calc(100vw / 320.0 * 460.0 * 4.0 / 8.0);
    max-height: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-list-items {
    position: static;
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    height: calc(100vw / 568.0 * 320.0 * 5.0 / 8.0);
    max-height: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-list-items {
    position: static;
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    height: calc(100vw / 768.0 * 924.0 * 5.0 / 16.0);
    max-height: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-list-items {
    position: static;
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    height: calc(100vw / 1024.0 * 668.0 * 5.0 / 12.0);
    max-height: none;
  }
}
.favmanage-list-items > li {
  margin: 0;
  padding: 0;
  display: block;
}
.favmanage-toggle {
  display: none;
}
.favmanage-toggle ~ .favmanage-list-items {
  display: none;
}
@media (max-width: 567px) {
  .favmanage-toggle ~ .favmanage-list-items {
    display: block;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-toggle ~ .favmanage-list-items {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-toggle ~ .favmanage-list-items {
    display: block;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-toggle ~ .favmanage-list-items {
    display: block;
  }
}
.favmanage-toggle:checked ~ .favmanage-list-items {
  display: block;
}
.favmanage-item-checkbox-hidden {
  display: none;
}
.favmanage-item {
  display: block;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.favmanage-item-checkbox-marker {
  display: inline-block;
  vertical-align: middle;
  bottom: 2px;
  box-sizing: border-box;
  position: relative;
  width: 19px;
  height: 19px;
  margin: 0 4px;
  border: 1px solid #f3c94a;
}
@media (max-width: 567px) {
  .favmanage-item-checkbox-marker {
    width: calc(100vw * 1.0 / 6.0 * 2 / 3);
    height: calc(100vw * 1.0 / 6.0 * 2 / 3);
    /* sic! */
    margin: 0 calc(100vw * 1.0 / 6.0 / 3) 0 calc(100vw * 1.0 / 6.0 / 6 - 1px);
    border: 1px solid #d88628;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-item-checkbox-marker {
    width: calc(100vw * 1.0 / 12.0 * 3 / 5);
    height: calc(100vw * 1.0 / 12.0 * 3 / 5);
    /* sic! */
    margin: 0 calc(100vw * 1.0 / 12.0 * 3 / 5) 0 calc(100vw * 1.0 / 12.0 / 5);
    border: 1px solid #d88628;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-item-checkbox-marker {
    width: calc(100vw * 1.0 / 12.0 * 3 / 5);
    height: calc(100vw * 1.0 / 12.0 * 3 / 5);
    /* sic! */
    margin: 0 calc(100vw * 1.0 / 12.0 * 3 / 5) 0 calc(100vw * 1.0 / 12.0 / 5);
    border: 1px solid #d88628;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-item-checkbox-marker {
    width: calc(100vw * 1.0 / 16.0 * 3 / 5);
    height: calc(100vw * 1.0 / 16.0 * 3 / 5);
    /* sic! */
    margin: 0 calc(100vw * 1.0 / 16.0 * 3 / 5) 0 calc(100vw * 1.0 / 16.0 / 5);
    border: 1px solid #d88628;
  }
}
.favmanage-item-checkbox-marker:before {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  top: 2px;
  bottom: 2px;
  background-color: transparent;
}
.favmanage-item-checkbox-hidden:checked ~ .favmanage-item-checkbox-marker:before {
  background-color: #f4b542;
}
/* Формочка добавления нового списка в список списков (делается джаваскритом) */
.favmanage-item-addform-wrap {
  position: relative;
  text-align: left;
}
.favmanage-item-addform-label {
  display: block;
  color: #ccc;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.favmanage-item-addform-label-icon1 {
  display: inline-block;
  text-align: center;
  float: left;
  width: 19px;
  margin: 0 4px;
}
@media (max-width: 567px) {
  .favmanage-item-addform-label-icon1 {
    width: calc(100vw * 1.0 / 6.0);
    margin: 0 calc(100vw * 1.0 / 6.0 / 6 - 1px) 0 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-item-addform-label-icon1 {
    width: calc(100vw * 1.0 / 12.0);
    margin: 0 calc(100vw * 1.0 / 12.0 * 2 / 5 - 1px) 0 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-item-addform-label-icon1 {
    width: calc(100vw * 1.0 / 12.0);
    margin: 0 calc(100vw * 1.0 / 12.0 * 2 / 5 - 1px) 0 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-item-addform-label-icon1 {
    width: calc(100vw * 1.0 / 16.0);
    margin: 0 calc(100vw * 1.0 / 16.0 * 2 / 5 - 1px) 0 0;
  }
}
.favmanage-item-addform-toggle {
  display: none;
}
.favmanage-item-addform {
  color: #ccc;
  position: absolute;
  left: 0;
  top: -1px;
  right: 0;
  bottom: 0;
  background-color: white;
  border-top: 1px solid #ccc;
  white-space: nowrap;
  display: none;
}
.favmanage-item-addform-toggle:checked ~ .favmanage-item-addform {
  display: block;
}
.favmanage-item-addform-close-label {
  display: inline-block;
  text-align: center;
  float: left;
  margin: 0;
  cursor: pointer;
  width: 27px;
}
@media (max-width: 567px) {
  .favmanage-item-addform-close-label {
    font-size: 24px;
    position: relative;
    bottom: 2px;
    width: calc(100vw * 1.0 / 6.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-item-addform-close-label {
    width: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-item-addform-close-label {
    font-size: 24px;
    position: relative;
    bottom: 2px;
    width: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-item-addform-close-label {
    font-size: 24px;
    position: relative;
    bottom: 2px;
    width: calc(100vw * 1.0 / 16.0);
  }
}
.favmanage-item-addform-submitbtn {
  display: block;
  float: right;
  text-align: center;
  cursor: pointer;
  /* reset <button> style */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: white;
  width: 32px;
  height: 25px;
  line-height: 25px;
  font-size: 0;
  /* correct vertical-align */
}
.favmanage-item-addform-submitbtn:before {
  content: '';
  background-image: url('../i/favmanage-arrow.png');
  background-size: 16px 16px;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 567px) {
  .favmanage-item-addform-submitbtn {
    width: calc(100vw * 1.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-item-addform-submitbtn {
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-item-addform-submitbtn {
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-item-addform-submitbtn {
    width: calc(100vw * 1.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.favmanage-item-addform-input {
  /* reset <input> style */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  color: black;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  outline: none;
  /* Chrome focus */
  width: 80%;
  width: calc(100% - 27px - 32px);
  height: 25px;
  line-height: 25px;
  padding: 0 4px 0 0;
}
@media (max-width: 567px) {
  .favmanage-item-addform-input {
    width: calc(100vw * 4.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
    padding: 0 calc(100vw * 1.0 / 6.0 / 6);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .favmanage-item-addform-input {
    width: calc(100vw * 4.0 / 12.0);
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
    padding: 0 calc(100vw * 1.0 / 12.0 * 2 / 5);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .favmanage-item-addform-input {
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    padding: 0 calc(100vw * 1.0 / 12.0 * 2 / 5);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .favmanage-item-addform-input {
    width: calc(100vw * 8.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    padding: 0 calc(100vw * 1.0 / 16.0 * 2 / 5);
  }
}
