/* Кликабельные плюсики в шапке */
.fh-shop2-plus-spacer {
  /* Заполнитель для выравнивания текста по центру */
  box-sizing: border-box;
  visibility: hidden;
  display: block;
  width: 55px;
}
@media (max-width: 567px) {
  .fh-shop2-plus-spacer {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fh-shop2-plus-spacer {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fh-shop2-plus-spacer {
    width: calc(100vw / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fh-shop2-plus-spacer {
    width: calc(100vw / 16.0);
  }
}
.fh-shop2-plus {
  cursor: pointer;
  display: block;
  box-sizing: border-box;
  border-left: 1px solid rgba(179, 179, 179, 0.25);
  height: inherit;
  line-height: inherit;
  width: 55px;
}
@media (max-width: 567px) {
  .fh-shop2-plus {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .fh-shop2-plus {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fh-shop2-plus {
    width: calc(100vw / 12.0);
    border-left: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .fh-shop2-plus {
    width: calc(100vw / 16.0);
    border-left: 0;
  }
}
/* Списки содержимого категорий под плюсиками */
.shop2-header-items-wrap1 {
  background-color: #b3b3b3;
  padding: 16px 200px;
  font-size: 16px;
  box-sizing: border-box;
  max-height: calc(100vh - 97px - 50px);
  overflow-y: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  will-change: -webkit-transform, transform;
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  transition-property: -webkit-transform, transform;
  transition-timing-function: ease;
  transition-duration: 250ms;
}
.shop2-header-items-wrap1.hidden {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
.shop2-header-items-wrap2 {
  overflow: hidden;
  height: auto;
  transition-property: height;
  transition-timing-function: ease;
  transition-duration: 250ms;
}
.shop2-header-items-wrap2.collapsed {
  max-height: 96px;
}
.shop2-header-items {
  /* reset <ul> style */
  margin: 0;
  padding: 0;
  list-style: none;
}
.shop2-header-items > li {
  float: left;
}
.shop2-header-item-link {
  display: block;
  background-color: white;
  /* reset <a> style */
  text-decoration: none;
  color: black;
  cursor: pointer;
  box-sizing: content-box;
  height: 18px;
  line-height: 18px;
  padding: 3px 10px;
  margin: 4px;
}
.shop2-header-item-link:hover {
  text-decoration: underline;
}
.shop2-header-items-foldbtn {
  overflow: hidden;
  background-color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100px;
  width: 80px;
}
.shop2-header-items-foldbtn > .pm-icon {
  margin-top: 58px;
}
/* Контейнер под страницу категории */
.shop2-category {
  position: relative;
  margin: 0 auto;
  min-height: 705px;
}
@media (max-width: 567px) {
  .shop2-category {
    min-height: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category {
    min-height: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category {
    min-height: calc(100vw / 768.0 * 924.0 / 16.0 * 8);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category {
    min-height: calc(100vw / 1024.0 * 668.0 / 12.0 * 10);
  }
}
/* Сетка с содержимым категории */
.shop2-category-items {
  overflow: hidden;
  margin-right: 300px;
}
@media (max-width: 567px) {
  .shop2-category-items {
    margin-right: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-items {
    margin-right: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-items {
    margin-right: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-items {
    margin-right: calc(100vw / 16.0 * 5);
  }
}
.shop2-category-item {
  display: block;
  float: left;
  background-color: #eee;
  position: relative;
  overflow: hidden;
  /* reset <a> style */
  color: inherit;
  text-decoration: none;
  width: 300px;
  height: 235px;
}
@media (max-width: 567px) {
  .shop2-category-item {
    width: calc(100vw * 6.0 / 6.0);
    height: calc(100vw / 320.0 * 460.0 * 3.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-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) {
  .shop2-category-item {
    width: calc(100vw * 6.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-item {
    width: calc(100vw * 1.0 / 16.0 * 5.5);
    height: calc(100vw / 1024.0 * 668.0 * 5.0 / 12.0);
  }
}
/* Белая граница между элементами в списке */
.shop2-category-item::before,
.shop2-category-item::after {
  content: '';
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: white;
  z-index: 1;
}
.shop2-category-item::before {
  left: 0;
}
.shop2-category-item::after {
  right: 0;
}
@media (min-width: 1200px) {
  .shop2-category-item:nth-child(3n + 1)::before {
    content: none;
  }
  .shop2-category-item:nth-child(3n)::after {
    content: none;
  }
}
@media (max-width: 567px) {
  .shop2-category-item::before,
  .shop2-category-item::after {
    content: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-item:nth-child(2n + 1)::before {
    content: none;
  }
  .shop2-category-item:nth-child(2n)::after {
    content: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-item:nth-child(2n + 1)::before {
    content: none;
  }
  .shop2-category-item:nth-child(2n)::after {
    content: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-item:nth-child(2n + 1)::before {
    content: none;
  }
  .shop2-category-item:nth-child(2n)::after {
    content: none;
  }
}
.shop2-category-item-image {
  display: block;
  vertical-align: top;
  border: 0;
  width: 100%;
}
.shop2-category-item-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  text-align: center;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: 'PT Sans', Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: white;
  /* text valign */
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  min-height: 59px;
}
@media (max-width: 567px) {
  .shop2-category-item-name {
    min-height: calc(100vw / 320.0 * 460.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-item-name {
    min-height: calc(100vw / 568.0 * 320.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-item-name {
    min-height: calc(100vw / 768.0 * 924.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-item-name {
    min-height: calc(100vw / 1024.0 * 668.0 / 12.0);
  }
}
.shop2-category-item:focus .shop2-category-item-name,
.shop2-category-item:hover .shop2-category-item-name {
  background-color: rgba(0, 0, 0, 0.65);
}
@supports (object-fit: cover) {
  .shop2-category-item-image {
    height: 100%;
    object-fit: cover;
  }
}
/* Сайдбар */
.shop2-category-sidebar-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 300px;
}
@media (max-width: 567px) {
  .shop2-category-sidebar-wrap {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-sidebar-wrap {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-sidebar-wrap {
    /* relative нужен для позиционирования shop2-category-sidebar-text-full */
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: auto;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-sidebar-wrap {
    width: calc(100vw / 16.0 * 5);
  }
}
.shop2-category-sidebar {
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  background-color: #f2eee9;
  top: 97px;
  height: calc(100vh - 97px);
  max-height: 100%;
}
@media (max-width: 567px) {
  .shop2-category-sidebar {
    position: static;
    height: auto;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-sidebar {
    position: static;
    height: auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-sidebar {
    /* Для позиционирования sidebar-text */
    overflow: hidden;
    position: static;
    height: calc(100vw / 768.0 * 924.0 / 16.0 * 5);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-sidebar {
    top: calc(100vw / 1024.0 * 668.0 / 12.0 * 2);
    height: calc(100vh - 100vw / 1024.0 * 668.0 / 12.0 * 2);
  }
}
.shop2-category-sidebar-text {
  box-sizing: border-box;
  overflow: hidden;
  white-space: pre-wrap;
  opacity: 1;
  transition-property: opacity;
  transition-duration: 250ms;
  position: absolute;
  left: 42px;
  right: 42px;
  /* Отступ от micro-quickform */
  top: 277px;
  bottom: 59px;
  /* Для случая когда разворачивают окошко с полным текстом */
}
@media (max-width: 567px) {
  .shop2-category-sidebar-text {
    position: static;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-sidebar-text {
    position: static;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-sidebar-text {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    float: left;
    width: calc(100vw / 12.0 * 4);
    height: calc(100vw / 768.0 * 924.0 / 16.0 * 3);
    margin: calc(100vw / 768.0 * 924.0 / 16.0) calc(100vw / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-sidebar-text {
    top: calc(100vw / 1024.0 * 668.0 / 12.0 * 6);
    bottom: calc(100vw / 1024.0 * 668.0 / 12.0);
    left: calc(100vw / 16.0);
    right: calc(100vw / 16.0);
  }
}
.shop2-category-sidebar-text.text-hidden {
  opacity: 0;
}
.shop2-category-sidebar-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0), #f2eee9 100%);
  /* rgba instead of "transparent" for safari */
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #f2eee9 100%);
  background: -o-linear-gradient(top, rgba(255, 255, 255, 0), #f2eee9 100%);
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 0), #f2eee9 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f2eee9 100%);
  pointer-events: none;
}
/* Кнопка-плюсик, разворачивающая не влезший текст */
.shop2-category-sidebar-morebtn {
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: pointer;
  text-align: center;
  width: 59px;
  height: 59px;
  line-height: 59px;
}
@media (max-width: 567px) {
  .shop2-category-sidebar-morebtn {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-sidebar-morebtn {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-sidebar-morebtn {
    width: calc(100vw / 12.0);
    height: calc(100vw / 768.0 * 924.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-sidebar-morebtn {
    width: calc(100vw / 16.0);
    height: calc(100vw / 1024.0 * 668.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 / 12.0);
  }
}
.shop2-category-sidebar-text-full {
  position: absolute;
  bottom: 0;
  right: 0;
  top: 235px;
  left: -300px;
  background-color: #f2eee9;
  background-color: rgba(239, 234, 228, 0.8);
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  -webkit-transform: translateX(10%);
  transform: translateX(10%);
  pointer-events: none;
  transition-property: opacity, transform, -webkit-transform;
  transition-duration: 250ms;
  display: none;
}
@media (min-width: 1px) {
  .shop2-category-sidebar-text-full {
    /* detect opacity and transform support */
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-sidebar-text-full {
    top: 0;
    left: calc(100vw * 2.0 / 12.0);
  }
}
.shop2-category-sidebar-text-full.text-shown {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.shop2-category-sidebar-text-full-content {
  padding: 42px;
  white-space: pre-wrap;
}
.shop2-category-actions {
  font-family: 'PT Sans', Roboto, Arial, Helvetica, sans-serif;
  text-align: center;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
@media (max-width: 567px) {
  .shop2-category-actions {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-category-actions {
    display: none;
  }
}
.shop2-category-action {
  display: inline-block;
  /* fallback */
  /* Для выравнивания текста по центру */
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  /*
  -webkit-flex-grow: 1;
  flex-grow: 1;
  -webkit-flex-basis: 0;
  flex-basis: 0;
  */
  padding: 0 8px;
  box-sizing: border-box;
  height: 55px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-category-action {
    height: calc(100vw / 768.0 * 924.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-category-action {
    height: calc(100vw / 1024.0 * 668.0 / 12.0);
  }
}
.shop2-category-article-link {
  background-color: #b1b1b1;
  color: black;
  text-decoration: none;
  width: 50%;
}
/* СТРАНИЦА ТОВАРА/СТАТЬИ */
.shop2-item {
  position: relative;
  overflow: hidden;
}
/* Краткое описание, только на десктопе */
.shop2-item-shortdesc {
  position: absolute;
  right: 50px;
  top: 130px;
  bottom: 0;
  /* height is set in shop-product-gallery */
  width: 200px;
}
@media (max-width: 567px) {
  .shop2-item-shortdesc {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-shortdesc {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-shortdesc {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-shortdesc {
    display: none;
  }
}
.shop2-item-shortdesc:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -2px;
  right: -2px;
  height: 148px;
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0), white 60%, white 100%);
  /* rgba instead of "transparent" for safari */
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), white 60%, white 100%);
  background: -o-linear-gradient(top, rgba(255, 255, 255, 0), white 60%, white 100%);
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 0), white 60%, white 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 60%, white 100%);
  pointer-events: none;
}
.shop2-item-shortdesc-title {
  font-size: 22px;
  font-weight: inherit;
}
.shop2-item-shortdesc-text {
  margin-top: 22px;
  white-space: pre-wrap;
  hyphens: auto;
}
/* ГАЛЕРЕЯ */
/* Внешний слой, двигается влево-вправо на десктопе */
.shop2-item-gallery-wrap {
  overflow: hidden;
  min-height: 480px;
  height: 500px;
  height: calc(100vh - 97px - 55px);
  /* 97px is height of fixed-header */
  /* 55px is temporary feedback bar */
  max-height: 1200px;
  position: relative;
  left: -300px;
}
@media (min-width: 1200px) {
  .shop2-item-gallery-wrap {
    /* поддержка @media браузерами почти совпадает с поддержкой transform; */
    /* оборачивая CSS в @media, мы типа определяем, умеет ли браузер в transform */
    transition-property: transform, -webkit-transform;
    transition-duration: 250ms;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@media (max-width: 567px) {
  .shop2-item-gallery-wrap {
    min-height: 0;
    position: relative;
    left: 0;
    height: calc(100vw / 320.0 * 460.0 / 8.0 * 4);
    margin-bottom: calc(100vw / 320.0 * 460.0 / 8.0 * 2);
    /* Отступ под форму с действиями для товара/статьи */
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-gallery-wrap {
    min-height: 0;
    position: relative;
    left: 0;
    height: calc(100vw / 568.0 * 320.0 / 8.0 * 6);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-gallery-wrap {
    min-height: 0;
    position: relative;
    left: 0;
    height: calc(100vw / 768.0 * 924.0 / 16.0 * 10);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-gallery-wrap {
    min-height: 0;
    position: relative;
    left: 0;
    height: calc(100vw / 1024.0 * 668.0 / 12.0 * 10);
  }
}
.shop2-item.mode-gallery .shop2-item-gallery-wrap {
  left: 0;
  /* для браузеров, не умеющих в transform */
}
@media (min-width: 1200px) {
  .shop2-item.mode-gallery .shop2-item-gallery-wrap {
    left: -300px;
    -webkit-transform: translateX(300px);
    transform: translateX(300px);
  }
}
/* Внутренний слой, выравнивает содержимое по центру видимой части верхнего слоя */
.shop2-item-gallery {
  position: absolute;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* reset <ul> style */
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1200px) {
  .shop2-item-gallery {
    transition-property: transform, -webkit-transform;
    transition-duration: 250ms;
    -webkit-transform: translateX(150px);
    transform: translateX(150px);
  }
}
@media (min-width: 1200px) {
  .shop2-item.mode-gallery .shop2-item-gallery {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
/* Слайды галереи */
.shop2-item-gallery > li {
  margin: 0;
  padding: 0;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  transition-property: transform, -webkit-transform;
  /* transition-duration is set by js */
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  /* gallery-bg-custom is inline css */
}
.shop2-item-gallery > li.gallery-bg-black {
  background-color: black;
}
.shop2-item-gallery > li.gallery-bg-white {
  background-color: white;
}
.shop2-item-gallery > li.current {
  display: block;
}
.shop2-item-gallery > li.prev {
  display: block;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
.shop2-item-gallery > li.next {
  display: block;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}
.shop2-item-gallery-image,
.shop2-item-gallery-video {
  border: 0;
  display: inline-block;
  vertical-align: top;
  height: 100%;
}
@supports (object-fit: contain) {
  .shop2-item-gallery-image {
    /* not video! */
    width: 100%;
    /* may be overridden by django-admin */
    object-fit: contain;
    object-position: center center;
  }
}
/* Верхние кнопки управления страницей */
.shop2-item-top-control {
  position: absolute;
  top: 0;
  right: 252px;
  transition-property: transform, -webkit-transform;
  transition-duration: 250ms;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  overflow: hidden;
  height: 48px;
  line-height: 48px;
}
@media (max-width: 567px) {
  .shop2-item-top-control {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-top-control {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-top-control {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-top-control {
    display: none;
  }
}
.shop2-item.mode-gallery .shop2-item-top-control {
  right: 0;
}
@media (min-width: 1200px) {
  .shop2-item.mode-gallery .shop2-item-top-control {
    right: 252px;
    -webkit-transform: translateX(252px);
    transform: translateX(252px);
  }
}
.shop2-item-gallery-togglebtn,
.shop2-item-top-like {
  background-color: #f2eee9;
  background-color: rgba(197, 176, 151, 0.21);
  width: 48px;
  height: inherit;
  line-height: inherit;
  display: block;
  float: left;
  cursor: pointer;
  text-align: center;
}
.shop2-item-top-like.liked {
  background-color: #d88628;
}
/* Различные кнопки управления (преимущественно галереей) */
.shop2-item-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
@media (max-width: 567px) {
  .shop2-item-controls {
    bottom: auto;
    top: calc(100vw / 320.0 * 460.0 / 8.0 * 3);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-controls {
    bottom: auto;
    top: calc(100vw / 568.0 * 320.0 / 8.0 * 4);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-controls {
    bottom: auto;
    top: calc(100vw / 768.0 * 924.0 / 16.0 * 9);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-controls {
    bottom: auto;
    top: calc(100vw / 1024.0 * 668.0 / 12.0 * 9);
  }
}
.shop2-item-controls > li {
  margin: 0;
  padding: 0;
  float: left;
  cursor: pointer;
  font-size: 20px;
  background-color: #999;
  background-color: rgba(160, 160, 160, 0.45);
  font-weight: 400;
  width: 48px;
  height: 48px;
  line-height: 48px;
}
@media (max-width: 567px) {
  .shop2-item-controls > li {
    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) {
  .shop2-item-controls > li {
    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) {
  .shop2-item-controls > li {
    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) {
  .shop2-item-controls > li {
    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);
  }
}
.shop2-item-controls > li:hover {
  background-color: #888;
  background-color: rgba(160, 160, 160, 0.65);
}
@media (max-width: 567px) {
  .shop2-item-controls-infotogglebtn {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-controls-infotogglebtn {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-controls-infotogglebtn {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-controls-infotogglebtn {
    display: none;
  }
}
/* Плавающая кнопка добавления товара/статьи в избранное */
.shop2-item-floating-like {
  background-color: #e1e1e1;
  position: absolute;
  display: none;
  text-align: center;
  font-size: 0;
  /* for fav-like-icon vertical-align */
}
@media (max-width: 567px) {
  .shop2-item-floating-like {
    display: block;
    right: 0;
    top: 0;
    width: calc(100vw / 6.0);
    height: calc(100vw / 320.0 * 460.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-floating-like {
    display: block;
    right: 0;
    top: 0;
    width: calc(100vw / 12.0);
    height: calc(100vw / 568.0 * 320.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-floating-like {
    display: block;
    left: calc(100vw * 2.0 / 12.0);
    top: calc(100vw / 768.0 * 924.0 * 9.0 / 16.0);
    width: calc(100vw / 12.0);
    height: calc(100vw / 768.0 * 924.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-floating-like {
    display: block;
    left: calc(100vw * 2.0 / 16.0);
    top: calc(100vw / 1024.0 * 668.0 * 9.0 / 12.0);
    width: calc(100vw / 16.0);
    height: calc(100vw / 1024.0 * 668.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 / 12.0);
  }
}
/* Кнопка-плюсик разворачивания полной инфы */
.shop2-item-info-togglebtn {
  position: absolute;
  right: 0;
  bottom: 155px;
  cursor: pointer;
}
@media (max-width: 567px) {
  .shop2-item-info-togglebtn {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-info-togglebtn {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-info-togglebtn {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-info-togglebtn {
    display: none;
  }
}
.shop2-item-info-togglebtn.z-index-kostyl {
  z-index: 1;
}
/* Подробная информация, на десктопе раскрывается плюсиком */
.shop2-item-info {
  overflow: hidden;
  background-color: white;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  left: calc(100% + 167px);
  right: -100%;
}
@media (min-width: 1200px) {
  .shop2-item-info {
    transition-property: transform, -webkit-transform;
    transition-duration: 250ms;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@media (max-width: 567px) {
  .shop2-item-info {
    position: static;
    left: 0;
    right: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-info {
    position: static;
    left: 0;
    right: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-info {
    position: static;
    left: 0;
    right: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-info {
    position: static;
    left: 0;
    right: 0;
  }
}
.shop2-item.mode-info .shop2-item-info {
  left: 0;
  /* для браузеров, не умеющих в transform, а также мобильная версия */
  right: 0;
}
@media (min-width: 1200px) {
  .shop2-item.mode-info .shop2-item-info {
    left: 100%;
    left: calc(100% + 167px);
    right: -100%;
    -webkit-transform: translateX(calc(-100% - 167px));
    transform: translateX(calc(-100% - 167px));
  }
}
.shop2-item-desc {
  float: left;
  margin-left: 50px;
  width: 300px;
  height: 100%;
}
@media (max-width: 567px) {
  .shop2-item-desc {
    float: none;
    width: auto;
    margin: 0;
    padding: calc(100vw / 320.0 * 460.0 / 8.0) calc(100vw / 6.0);
    background-color: #f2f2f2;
    min-height: calc(100vw / 320.0 * 460.0 / 8.0 * 2);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-desc {
    float: none;
    width: auto;
    margin: 0;
    padding: calc(100vw / 568.0 * 320.0 / 8.0) calc(100vw / 12.0);
    background-color: #f2f2f2;
    min-height: calc(100vw / 568.0 * 320.0 / 8.0 * 2);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-desc {
    margin: calc(100vw / 768.0 * 924.0 / 16.0) calc(100vw / 12.0);
    width: calc(100vw / 12.0 * 4);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-desc {
    margin: calc(100vw / 1024.0 * 668.0 / 12.0) calc(100vw / 16.0);
    width: calc(100vw / 16.0 * 7);
  }
}
.shop2-item-desc.full-width {
  float: none;
  width: auto;
  margin-right: 50px;
}
@media (max-width: 567px) {
  .shop2-item-desc.full-width {
    margin: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-desc.full-width {
    margin: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-desc.full-width {
    margin: calc(100vw / 768.0 * 924.0 / 16.0) calc(100vw / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-desc.full-width {
    margin: calc(100vw / 1024.0 * 668.0 / 12.0) calc(100vw / 16.0);
  }
}
.shop2-item-title-wrap {
  /* Для хитрого позиционирования многострочного заголовка */
  height: 100px;
  line-height: 100px;
}
@media (max-width: 567px) {
  .shop2-item-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
.shop2-item-title {
  font-size: 22px;
  font-weight: inherit;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  /* Хитрое выравнивание многострочного заголовка */
  display: inline-block;
  vertical-align: bottom;
}
.shop2-item-desc-text {
  margin-top: 15px;
  white-space: pre-wrap;
  hyphens: auto;
  height: 65%;
  height: calc(100% - 100px - 55px - 15px);
}
@media (max-width: 567px) {
  .shop2-item-desc-text {
    height: auto;
    font-size: 14px;
    line-height: 24px;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-desc-text {
    height: auto;
    font-size: 14px;
    line-height: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-desc-text {
    height: auto;
    font-size: 14px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-desc-text {
    height: auto;
    font-size: 14px;
  }
}
.shop2-item-desc.full-width .shop2-item-desc-text {
  column-count: 3;
  column-fill: auto;
  overflow: hidden;
  /* На случай невлезания четвёртой колонки */
}
@media (max-width: 567px) {
  .shop2-item-desc.full-width .shop2-item-desc-text {
    column-count: 1;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-desc.full-width .shop2-item-desc-text {
    column-count: 1;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-desc.full-width .shop2-item-desc-text {
    column-count: 2;
    column-fill: balance;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-desc.full-width .shop2-item-desc-text {
    column-count: 2;
    column-fill: balance;
  }
}
/* Блок с продукцией под нанесение, справа от описания товара */
.shop2-item-goods {
  float: left;
  margin-left: 100px;
  width: 400px;
}
@media (max-width: 567px) {
  .shop2-item-goods {
    float: none;
    margin-left: 0;
    width: auto;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-goods {
    float: none;
    width: auto;
    margin-left: calc(100vw / 12.0);
    margin-right: calc(100vw / 12.0);
    margin-top: 0;
    margin-bottom: calc(100vw / 568.0 * 320.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-goods {
    margin-left: 0;
    margin-top: calc(100vw / 768.0 * 924.0 / 16.0);
    margin-bottom: calc(100vw / 768.0 * 924.0 / 16.0);
    width: calc(100vw / 12.0 * 5);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-goods {
    margin-left: 0;
    margin-top: calc(100vw / 1024.0 * 668.0 / 12.0);
    margin-bottom: calc(100vw / 1024.0 * 668.0 / 12.0);
    width: calc(100vw / 16.0 * 6);
  }
}
.shop2-item-goods-title-wrap {
  /* Для хитрого позиционирования многострочного заголовка */
  height: 100px;
  line-height: 100px;
}
@media (max-width: 567px) {
  .shop2-item-goods-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-goods-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-goods-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-goods-title-wrap {
    height: auto;
    line-height: inherit;
  }
}
.shop2-item-goods-title {
  font-size: 22px;
  font-weight: inherit;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  /* Хитрое выравнивание многострочного заголовка */
  display: inline-block;
  vertical-align: bottom;
}
.shop2-item-goods-list {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.shop2-item-goods-item {
  display: inline-block;
  /* fallback */
  overflow: hidden;
  position: relative;
  /* Для позиционирования плюсика */
  /* reset <a> style */
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: 200px;
  height: 245px;
}
@media (max-width: 567px) {
  .shop2-item-goods-item {
    width: calc(100vw / 6.0 * 3);
    height: calc(100vw / 320.0 * 460.0 / 8.0 * 4);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-goods-item {
    width: calc(100vw / 12.0 * 4);
    height: calc(100vw / 568.0 * 320.0 / 8.0 * 5);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-goods-item {
    width: calc(100vw / 12.0 * 2.5);
    height: calc(100vw / 768.0 * 924.0 / 16.0 * 4);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-goods-item {
    width: calc(100vw / 16.0 * 3);
    height: calc(100vw / 1024.0 * 668.0 / 12.0 * 4);
  }
}
.shop2-item-goods-image {
  border: 0;
  width: 100%;
}
@supports (object-fit: contain) {
  .shop2-item-goods-image {
    height: 100%;
    object-fit: contain;
  }
}
/* Декоративная кнопка-плюсик на продукции */
.shop2-item-goods-pm {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  display: none;
}
@media (max-width: 567px) {
  .shop2-item-goods-pm {
    display: block;
    width: calc(100vw / 6.0);
    height: calc(100vw / 320.0 * 460.0 / 8.0);
    line-height: calc(100vw / 320.0 * 460.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-goods-pm {
    display: block;
    width: calc(100vw / 12.0);
    height: calc(100vw / 568.0 * 320.0 / 8.0);
    line-height: calc(100vw / 568.0 * 320.0 / 8.0);
  }
}
/* ФОРМА ОФОРМЛЕНИЯ ЗАКАЗА ИЛИ ЧТЕНИЯ СТАТЬИ */
.shop2-item-product-actions,
.shop2-item-article-actions {
  font-family: 'PT Sans', Roboto, Arial, Helvetica, sans-serif;
  text-align: center;
  position: absolute;
  right: 0;
  bottom: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 300px;
}
@media (max-width: 567px) {
  .shop2-item-product-actions,
  .shop2-item-article-actions {
    top: calc(100vw / 320.0 * 460.0 / 8.0 * 4);
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-product-actions,
  .shop2-item-article-actions {
    top: calc(100vw / 568.0 * 320.0 / 8.0 * 5);
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-product-actions,
  .shop2-item-article-actions {
    top: calc(100vw / 768.0 * 924.0 / 16.0 * 9);
    right: 0;
    width: calc(100vw / 12.0 * 6);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-product-actions,
  .shop2-item-article-actions {
    top: calc(100vw / 1024.0 * 668.0 / 12.0 * 9);
    right: 0;
    width: calc(100vw / 16.0 * 6);
  }
}
.shop2-item-action {
  display: inline-block;
  /* fallback */
  /* Для выравнивания текста по центру */
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  -webkit-flex-basis: 0;
  flex-basis: 0;
  padding: 0 8px;
  box-sizing: border-box;
  height: 55px;
}
@media (max-width: 567px) {
  .shop2-item-action {
    height: calc(100vw / 320.0 * 460.0 / 8.0);
    -webkit-flex-grow: 0;
    flex-grow: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-action {
    height: calc(100vw / 568.0 * 320.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .shop2-item-action {
    height: calc(100vw / 768.0 * 924.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .shop2-item-action {
    height: calc(100vw / 1024.0 * 668.0 / 12.0);
  }
}
.shop2-item-product-size-selector {
  background-color: #b1b1b1;
  text-align: center;
  text-align-last: center;
  /* chrome */
  /* reset <select> style */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  /* Необходимо для нормального расчёта ширины flexbox */
  /* без этого select схавает всю ширину на себя */
  overflow: hidden;
  order: 1;
}
@media (max-width: 567px) {
  .shop2-item-product-size-selector {
    background-color: rgba(225, 225, 225, 0.81);
    order: 2;
    -webkit-flex-basis: calc(100vw / 6.0 * 3);
    flex-basis: calc(100vw / 6.0 * 3);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-product-size-selector {
    background-color: rgba(225, 225, 225, 0.81);
    order: 2;
  }
}
.shop2-item-product-size-selector::-ms-expand {
  display: none;
}
.shop2-item-product-price {
  background-color: #1a1a1a;
  color: white;
  order: 2;
}
@media (max-width: 567px) {
  .shop2-item-product-price {
    order: 3;
    -webkit-flex-basis: calc(100vw / 6.0 * 4);
    flex-basis: calc(100vw / 6.0 * 4);
    background-color: rgba(80, 80, 80, 0.81);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-product-price {
    order: 3;
    background-color: rgba(80, 80, 80, 0.81);
  }
}
@media (max-width: 567px) {
  .shop2-item-product-actions.no-sizes .shop2-item-product-price {
    -webkit-flex-basis: calc(100vw / 6.0 * 6);
    flex-basis: calc(100vw / 6.0 * 6);
  }
}
.shop2-item-product-orderbtn {
  /* reset <button> style */
  margin: 0;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  cursor: pointer;
  background-color: #1a1a1a;
  color: white;
  order: 3;
}
@media (max-width: 567px) {
  .shop2-item-product-orderbtn {
    order: 1;
    -webkit-flex-basis: calc(100vw / 6.0 * 3);
    flex-basis: calc(100vw / 6.0 * 3);
    background-color: #f4b542;
    color: black;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .shop2-item-product-orderbtn {
    order: 1;
    background-color: #f4b542;
    color: black;
  }
}
@media (max-width: 567px) {
  .shop2-item-product-actions.no-sizes .shop2-item-product-orderbtn {
    -webkit-flex-basis: calc(100vw / 6.0 * 6);
    flex-basis: calc(100vw / 6.0 * 6);
  }
}
.shop2-item-article-link {
  background-color: #b1b1b1;
  color: black;
  text-decoration: none;
}
@media (max-width: 567px) {
  .shop2-item-article-link {
    flex-basis: calc(100vw / 6.0 * 3);
  }
}
.shop2-item-quickform-link {
  background-color: #1a1a1a;
  color: white;
  text-decoration: none;
}
@media (max-width: 567px) {
  .shop2-item-quickform-link {
    flex-basis: calc(100vw / 6.0 * 3);
  }
}
