.catalog-items-view {
  overflow: hidden;
}

.back-to-section {
  text-decoration: underline;
  color: #c33;
}

.back-to-section:hover {
  color: #c33;
}

.not-avaliable {
  color: #ff0000;
  font-weight: bold;
  font-style: italic;
}

.action-mob {
  display: none !important;
}

.item-description {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .action-mob {
    display: block !important;
  }
  .action-pc {
    display: none !important;
  }
}

.item-box {
  display: flex;
  gap: 40px;
}

@media (max-width: 767px) {
  .item-box {
    display: block;
  }
}

.item-box_shown {
  display: block;
}

.item-box--left {
  min-width: 50%;
  max-width: 50%;
}

@media (max-width: 767px) {
  .item-box--left {
    max-width: 100%;
    margin-right: 0;
  }
}

.item-box_shown .item-box--left {
  max-width: 100%;
  margin-right: 0px;
}

.item-box--right {
  width: 100%;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: content-box;
}

.item-box_shown .item-box--right {
  display: block;
}

@media (max-width: 767px) {
  .item-box--right {
    max-height: fit-content !important;
  }
}

@media (max-width: 767px) {
  .item-description {
    margin-top: 40px;
  }
}

.images-container {
  max-width: 100%;
  float: left;
}

.item-box_shown .images-container {
  max-width: 50%;
  margin-right: 40px;
}

@media (max-width: 767px) {
  .images-container,
  .item-box_shown .images-container {
    max-width: 100%;
    margin-right: 0;
    float: none;
  }
}

.images-swiper {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  min-height: 0;
  min-width: 0;
  position: relative;
}

.images-swiper:not(.swiper-initialized) {
  max-height: 110px;
  overflow: hidden;
}

.images-swiper__wrapper {
  margin: 0;
  padding: 0;
}

.images-swiper__slide > img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.images-swiper:not(.swiper-initialized) .images-swiper__slide > img {
  max-width: 110px;
}

.images-swiper__button {
  padding: 0;
  height: 100%;
  padding: 0;
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  border: none;
  background-color: transparent;
}

.images-swiper__button-prev {
  left: 0px;
}

.images-swiper__button-next {
  right: 0;
}

.images-swiper__button img {
  padding: 13px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 16px;
}

.images-swiper__play {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  color: white;
  font-size: 25px;
  background: #bea99f;
  padding: 6px 8px 6px 11px;
  border-radius: 50%;
}

.item-price {
  margin: 20px 0;
  font-family: "Anglecia Pro", serif;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.item-btn-container {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .item-btn-container {
    padding-right: 0;
  }
}

.item-order {
  display: flex;
  justify-content: center;
}

.btn.item-button-order,
.btn.item-button-add-cart {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn.item-button-add-cart_hover_disabled:hover {
  background-color: #fff;
}

.btn.item-button-order {
  width: 220px;
  max-width: 500px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn.item-button-add-cart {
  width: 50px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
}

.item-button-add-cart > img {
  width: 32px;
  height: 32px;
}

.item-button-add-cart #add-order {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  overflow-x: auto;
  box-sizing: content-box;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.1s, opacity 0.1s linear;
}

#add-order.show {
  opacity: 1;
  visibility: visible;
  padding: 1rem !important;
}

@media (max-width: 576px) {
  #add-order.show {
    display: block !important;
    opacity: 1;
  }
}

#add-cart > .modal-dialog,
#add-order > .modal-dialog {
  min-width: 630px;
  margin: 0 auto;
}

#add-order > .modal-dialog > .modal-content {
  position: relative;
}

#add-order > .modal-dialog > .modal-content > .modal-header,
#add-cart > .modal-dialog > .modal-content > .modal-header {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  z-index: 1;
}

#add-order > .modal-dialog > .modal-content > .modal-body,
#add-cart > .modal-dialog > .modal-content > .modal-body {
  padding: 30px;
}

@media (max-width: 767px) {
  #add-order > .modal-dialog,
  #add-cart > .modal-dialog {
    min-width: 100%;
    padding: 24px;
  }

  #add-order > .modal-dialog > .modal-content > .modal-body,
  #add-cart > .modal-dialog > .modal-content > .modal-body {
    padding: 24px;
  }
}

@media (max-width: 576px) {
  #add-order > .modal-dialog,
  #add-cart > .modal-dialog {
    padding: 12px;
  }

  #add-order > .modal-dialog > .modal-content > .modal-body,
  #add-cart > .modal-dialog > .modal-content > .modal-body {
    padding: 20px;
  }
}

.add-order-form > h4 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.add-order-form > h5 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.add-order-form > p {
  margin: 0;
  margin-top: 16px;
}

.add-order-form > .order-form .form-group {
  margin: 0;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.add-order-form > .order-form .form-group > .control-label {
  margin-bottom: 16px;
  color: #212529;
  font-weight: 400;
  text-align: start;
}

.add-order-form > .order-form .form-group > .help-block {
  text-align: left;
}

.add-order-form__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-order-form__tel > #phone {
  color: #212529;
}

.add-order-form__link {
  color: inherit;
  text-decoration: underline;
}

.add-order-form__btn-copy {
  padding: 3px;
  border-radius: 6px;
  border: 1px solid #cecece;
}

#order-contact_type,
#cart-contact_type {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

#order-contact_type > label,
#cart-contact_type > label {
  margin: 0;
}

#order-contact_type > label > input[type="radio"],
#cart-contact_type > label > input[type="radio"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

#order-contact_type > label > input[type="radio"]:checked,
#cart-contact_type > label > input[type="radio"]:checked {
  accent-color: #3b3127;
  outline-color: #3b3127;
}

.add-order-form > .order-form .form-group > .btn.btn-primary {
  width: 100%;
  height: 50px;
  text-align: center;
  font-size: 16px;
  /* font-weight: 600; */
  /* color: #bea99f; */
  /* background-color: #3b3127; */
  border-radius: 6px;
}

.add-order-form > .order-form form > .form-group > textarea,
.add-order-form > .order-form form > .form-group > input {
  font-size: 17px;
  font-weight: 400;
}

.add-order-form > .order-form form > .form-group > textarea::placeholder,
.add-order-form > .order-form form > .form-group > input::placeholder {
  color: #8a8989;
}

@media (max-width: 767px) {
  .item-order .item-button-order {
    max-width: 100%;
  }
}

.item-button-less,
.item-button-more {
  padding: 0;
  border: 0;
  background-color: transparent;
  font-weight: 600;
  color: #212529;
}

.main-image {
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.additional-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

@media (max-width: 576px) and (min-width: 480px) {
}

.btn-gallery-sort {
  color: #fff;
  border: 1px solid #404040;
}

.btn-gallery-sort:hover {
  color: #fff;
}

.btn-gallery-sort:focus {
  outline: none !important;
}

.gallerySort:hover,
.gallerySort:focus,
.gallerySort:active {
  background-color: #f7a206;
}

.galleryHeader {
  padding-left: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #2a2a2a;
}

.content.galleryOpened {
  overflow: hidden;
  height: 100vh;
}

.gallerySort.disabled {
  opacity: 0.5;
}
.showMoreButton {
  margin-top: 10px;
}
.secondary_gallery_item {
  width: 130px;
  height: 130px;
  overflow: hidden;
}
@media (max-width: 1200px) {
}
@media (max-width: 480px) {
}
@media (max-width: 365px) {
}
.favoriteButton {
  position: fixed;
  right: -65px;
  top: 40vh;
  width: 140px;
  height: 50px;
  cursor: pointer;
  transition: 0.2s all;
  border-right: 0px;
  background-image: url(/img/favorite.png);
}
.favoriteButtonMobile {
  display: none;
}
.catalog-items-view h1[itemprop="name"] {
  text-align: center;
  font-size: 32px;
  font-weight: 400;
}
.catalog-items-view h1[itemprop="name"] > span {
  display: contents;
  white-space: nowrap;
}
.catalog-items-view div[itemprop="description"] {
  padding-right: 40px;
}
@media (max-width: 992px) {
  .favoriteButton {
    display: none;
  }
  .catalog-items-view div[itemprop="description"] {
    padding-right: 0px;
  }
  .favoriteButtonMobile {
    display: block;
  }
}
.favoriteButton i,
.favoriteButtonMobile i {
  font-family: "Font Awesome 6 Free";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-size: 30px;
  line-height: 50px;
  margin-left: 35px;
  color: #5b4a2b;
}
.favoriteButton span {
  font-size: 12px;
  position: absolute;
  line-height: 50px;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 50px;
  margin-left: 2px;
  user-select: none;
  opacity: 0;
  transition: 0.2s all;
}
.favoriteButton:hover span {
  opacity: 1;
}
.favoriteButton i::before,
.favoriteButtonMobile i::before {
  content: "\f005";
}
.favoriteButton.active i,
.favoriteButtonMobile.active i {
  font-weight: 900;
}
.favoriteButton:hover {
  right: 0px;
}
.favoriteButton.active {
}
@media (max-width: 390px) {
  .link-back--view > a {
    letter-spacing: -0.5px;
  }
  .link-back--view ~ .action-mob {
    margin-left: 8px !important;
  }
  .favoriteButtonMobile i {
    margin-left: 8px;
  }
}

.item--tags-container {
  display: flex;
  flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  gap: 1rem;

  position: sticky;
  max-width: 560px;
  margin-top: 20px;
}

.item--tags-container_mob {
  display: none;
}

@media (max-width: 767px) {
  .item--tags-container {
    display: none;
  }

  .item--tags-container_mob {
    display: flex;
  }
}

.item--tag {
  padding: 6px 12px;
  width: fit-content;
  cursor: pointer;
  border-radius: 0.375rem;
  border: var(--bs-border-width) solid #5b4a2b;
  text-wrap: pretty;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item--tag > a {
  font-size: 1rem;
  font-weight: 400;
  color: #5b4a2b;
  overflow: hidden;
  white-space: nowrap;
}

.item--tag > a::before {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 576px) {
  .item--tag {
    width: 100%;
    text-align: center;
  }

  .item--tag > a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0 0.5rem;
    white-space: normal;
  }
}

.has-error .help-block {
  color: red;
  margin-top: 6px;
  font-size: 16px;
}

.catalog-related-section-image {
  width: 220px;
  height: 220px;
  margin: 10px auto;
  display: block;
}

/**
 * Video player
 */
.player-container {
    height: 100%;
}
.player-container .plyr {
    height: 100%;
}
