/* Product page navigation, recommendations and reviews. */
#catalog #tabs {
  min-width: 0;
}

#catalog .prod-nav-tabs-box {
  box-sizing: border-box;
  height: 92px;
  margin: 0 0 18px;
}

#catalog #prod-nav-tabs {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #dfe2e4;
  border-radius: 16px 16px 0 0;
  background: #f8f9f8;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#catalog #prod-nav-tabs::-webkit-scrollbar {
  display: none;
}

#catalog #prod-nav-tabs .nav-tabs {
  display: flex !important;
  box-sizing: border-box;
  width: max-content;
  min-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#catalog #prod-nav-tabs .nav-tabs:before,
#catalog #prod-nav-tabs .nav-tabs:after {
  display: none !important;
  content: none !important;
}

#catalog #prod-nav-tabs .nav-tabs > li {
  float: none;
  flex: 1 0 120px;
  width: auto !important;
  min-width: 0;
  margin: 0;
}

#catalog #prod-nav-tabs .nav-tabs > li + li {
  border-left: 1px solid #e4e6e7;
}

#catalog #prod-nav-tabs .nav-tabs > li > a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  min-height: 90px;
  margin: 0;
  padding: 10px 8px 11px !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: #858b8e !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.15 !important;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

#catalog #prod-nav-tabs .nav-tabs > li > a:focus {
  outline: 0 !important;
}

#catalog #prod-nav-tabs .product-tab-icon {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #8c9295;
}

#catalog #prod-nav-tabs .nav-tabs > li.active > a,
#catalog #prod-nav-tabs .nav-tabs > li > a:hover,
#catalog #prod-nav-tabs .nav-tabs > li > a:focus {
  background: #fff;
  color: #303437 !important;
}

#catalog #prod-nav-tabs .nav-tabs > li.active > a {
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #d8dcde;
}

#catalog #prod-nav-tabs .nav-tabs > li.active > a:after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: 0;
  left: 24%;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: #a7794c;
}

#catalog #prod-nav-tabs .nav-tabs > li.active .product-tab-icon {
  color: #6e735f;
}

#catalog #prod-nav-tabs .nav-tabs.scroll {
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(31, 38, 34, .09);
  isolation: isolate;
}

#catalog #prod-nav-tabs .nav-tabs.scroll > li,
#catalog #prod-nav-tabs .nav-tabs.scroll > li > a,
#catalog #prod-nav-tabs .nav-tabs.scroll > li > a:hover,
#catalog #prod-nav-tabs .nav-tabs.scroll > li > a:focus {
  background: #fff !important;
}

#catalog #prod-nav-tabs .nav-tabs.scroll > li.active > a {
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: inset 0 -4px 0 #a7794c !important;
  outline: 0 !important;
}

#catalog #prod-nav-tabs .nav-tabs.scroll > li.active > a:after {
  display: none;
}

#catalog .tab-content > [id^="tab-"] {
  scroll-margin-top: 105px;
}

#catalog #tab-related,
#catalog #tab-similar-products {
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 22px;
}

#catalog #tab-related .owl-stage,
#catalog #tab-similar-products .owl-stage {
  display: flex;
}

#catalog #tab-related .owl-item,
#catalog #tab-similar-products .owl-item {
  display: flex;
  min-width: 0;
}

#catalog #tab-related .product-layout,
#catalog #tab-similar-products .product-layout,
#catalog #tab-related .owl-item .product-layout,
#catalog #tab-similar-products .owl-item .product-layout {
  float: none;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none;
  margin: 0;
  padding: 0;
}

#catalog #tab-related .product-thumb,
#catalog #tab-similar-products .product-thumb {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100% !important;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e5e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

#catalog #tab-related .product-thumb:hover,
#catalog #tab-similar-products .product-thumb:hover {
  border-color: #d5d9db;
  box-shadow: 0 5px 14px rgba(45, 54, 49, .08);
}

#catalog #tab-related .product-thumb .image,
#catalog #tab-similar-products .product-thumb .image,
#catalog #tab-related .product-thumb .image a,
#catalog #tab-similar-products .product-thumb .image a,
#catalog #tab-related .product-thumb .image picture,
#catalog #tab-similar-products .product-thumb .image picture {
  display: block;
  box-sizing: border-box;
  width: 100%;
}

#catalog #tab-related .product-thumb .image,
#catalog #tab-similar-products .product-thumb .image {
  height: auto !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
}

#catalog #tab-related .product-thumb .image img,
#catalog #tab-similar-products .product-thumb .image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  object-fit: contain;
}

#catalog #tab-related .product-thumb > div:not(.image),
#catalog #tab-similar-products .product-thumb > a {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  color: #303437;
  text-decoration: none;
}

#catalog #tab-related .product-thumb .caption,
#catalog #tab-similar-products .product-thumb .caption {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: 94px;
  padding: 10px 10px 8px;
  text-align: center;
}

#catalog #tab-related .product-thumb .caption h3,
#catalog #tab-similar-products .product-thumb .caption h3 {
  display: -webkit-box;
  width: 100%;
  min-height: 40px;
  max-height: 40px !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #303437;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#catalog #tab-related .product-thumb .price,
#catalog #tab-similar-products .product-thumb .price {
  margin: auto 0 0;
  padding: 8px 0 0;
  color: #202426;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  white-space: normal;
}

#catalog #tab-related .product-thumb .price-old,
#catalog #tab-similar-products .product-thumb .price-old {
  display: block;
  margin: 0 0 1px;
  color: #8a8f92;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

#catalog #tab-related .product-thumb .price-new,
#catalog #tab-similar-products .product-thumb .price-new {
  color: #202426;
}

#catalog #tab-related .product-thumb .button-group,
#catalog #tab-similar-products .product-thumb .button-group {
  display: block !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding: 0 10px 10px;
  overflow: visible;
  border: 0;
}

#catalog #tab-related .product-thumb .button-group button:not(.add-to-cart),
#catalog #tab-similar-products .product-thumb .button-group button:not(.add-to-cart) {
  display: none !important;
}

#catalog #tab-related .product-thumb .button-group .add-to-cart,
#catalog #tab-similar-products .product-thumb .button-group .add-to-cart {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  width: 100% !important;
  height: 44px;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: #59ad2f !important;
  color: #fff !important;
  font-size: 16px;
  line-height: 1;
}

#catalog #tab-related .product-thumb .button-group .add-to-cart:hover,
#catalog #tab-similar-products .product-thumb .button-group .add-to-cart:hover {
  background: #4c9828 !important;
}

#catalog #tab-related .product-thumb .button-group .add-to-cart:disabled,
#catalog #tab-similar-products .product-thumb .button-group .add-to-cart:disabled {
  background: #bfc3c0 !important;
  color: #fff !important;
}

#catalog #tab-related .product-thumb .button-group .add-to-cart svg,
#catalog #tab-similar-products .product-thumb .button-group .add-to-cart svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}

#catalog #tab-related .owl-nav button.owl-prev,
#catalog #tab-related .owl-nav button.owl-next,
#catalog #tab-similar-products .owl-nav button.owl-prev,
#catalog #tab-similar-products .owl-nav button.owl-next {
  top: 38%;
  width: 46px;
  height: 58px;
  margin-top: -29px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .82) !important;
  color: #7d8386;
}

#catalog #tab-related .owl-nav button.owl-prev,
#catalog #tab-similar-products .owl-nav button.owl-prev {
  left: 2px;
}

#catalog #tab-related .owl-nav button.owl-next,
#catalog #tab-similar-products .owl-nav button.owl-next {
  right: 2px;
}

#catalog #tab-related .owl-nav svg,
#catalog #tab-similar-products .owl-nav svg {
  width: 28px;
  height: 42px;
}

#catalog #tab-review {
  box-sizing: border-box;
  width: 100%;
  padding: 22px 0 24px;
}

#catalog .product-reviews-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 17px;
}

#catalog .product-reviews-heading__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: #ffbf18;
}

#catalog .product-reviews-heading__copy {
  min-width: 0;
}

#catalog .product-reviews-heading h3 {
  margin: 0 !important;
  color: #202426;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

#catalog .product-reviews-heading p {
  margin: 4px 0 0;
  color: #3e4346;
  font-size: 16px;
  line-height: 1.3;
}

#catalog .product-review-list {
  display: grid;
  gap: 14px;
}

#catalog .product-review-card {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  border: 1px solid #d8c59c;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(174, 133, 45, .13);
}

#catalog .product-review-card__header {
  padding: 14px 18px 12px;
  border-bottom: 1px solid #dfe2e4;
  background: #f6f6f5;
}

#catalog .product-review-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 34px;
  min-width: 0;
  color: #25292b;
  font-size: 18px;
  line-height: 1.25;
}

#catalog .product-review-card__meta strong {
  font-size: 19px;
  font-weight: 700;
}

#catalog .product-review-card__meta time {
  white-space: nowrap;
}

#catalog .product-review-card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 9px;
  color: #ffbf18;
}

#catalog .product-review-star {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

#catalog .product-review-star--empty {
  fill: transparent;
  stroke: #ffbf18;
  stroke-width: 1.4;
}

#catalog .product-review-card__body {
  padding: 14px 18px 16px;
  color: #303437;
  font-size: 17px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

#catalog .product-review-card__body p {
  margin: 0;
}

#catalog .product-review-pagination {
  margin-top: 14px;
}

#catalog .product-reviews-empty {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #dfe2e4;
  border-radius: 14px;
  background: #fff;
  color: #555b5f;
}

@media (max-width: 767px) {
  #catalog .prod-nav-tabs-box {
    height: 84px;
    width: calc(100% + 30px);
    margin-right: -15px;
    margin-bottom: 14px;
    margin-left: -15px;
  }

  #catalog #prod-nav-tabs {
    width: 100%;
    margin: 0 !important;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  #catalog #prod-nav-tabs .nav-tabs > li > a {
    gap: 5px;
    min-height: 82px;
    padding: 8px 5px 10px !important;
    font-size: 12px;
    line-height: 14px !important;
  }

  #catalog #prod-nav-tabs .nav-tabs {
    width: 100%;
  }

  #catalog #prod-nav-tabs .nav-tabs > li > a > span {
    display: -webkit-box;
    max-height: 29px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #catalog #prod-nav-tabs .product-tab-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  #catalog #prod-nav-tabs .nav-tabs > li {
    flex-basis: 20%;
  }

  #catalog #prod-nav-tabs .nav-tabs.scroll {
    top: 79px;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    height: 50px;
    min-height: 50px;
  }

  #catalog #prod-nav-tabs .nav-tabs.scroll > li > a {
    gap: 2px;
    height: 50px;
    min-height: 50px;
    padding: 2px 4px 3px !important;
    font-size: 11px;
    line-height: 12px !important;
  }

  #catalog .tab-content > [id^="tab-"] {
    scroll-margin-top: 142px;
  }

  #catalog #prod-nav-tabs .nav-tabs.scroll .product-tab-icon {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  #catalog #prod-nav-tabs .nav-tabs.scroll > li > a > span {
    max-height: 24px;
  }

  #catalog #tab-related,
  #catalog #tab-similar-products {
    padding-bottom: 16px;
  }

  #catalog #tab-related .product-thumb,
  #catalog #tab-similar-products .product-thumb {
    border-radius: 12px;
  }

  #catalog #tab-related .product-thumb .caption,
  #catalog #tab-similar-products .product-thumb .caption {
    min-height: 91px;
    padding: 8px 7px 7px;
  }

  #catalog #tab-related .product-thumb .caption h3,
  #catalog #tab-similar-products .product-thumb .caption h3 {
    min-height: 54px;
    max-height: 54px !important;
    font-size: 14px;
    line-height: 18px;
    -webkit-line-clamp: 3;
  }

  #catalog #tab-related .product-thumb .price,
  #catalog #tab-similar-products .product-thumb .price {
    padding-top: 6px;
    font-size: 16px;
    line-height: 20px;
  }

  #catalog #tab-related .product-thumb .button-group,
  #catalog #tab-similar-products .product-thumb .button-group {
    min-height: 50px;
    padding: 0 7px 7px;
  }

  #catalog #tab-related .product-thumb .button-group .add-to-cart,
  #catalog #tab-similar-products .product-thumb .button-group .add-to-cart {
    height: 43px;
    border-radius: 8px;
    font-size: 15px;
  }

  #catalog #tab-related .owl-nav button.owl-prev,
  #catalog #tab-related .owl-nav button.owl-next,
  #catalog #tab-similar-products .owl-nav button.owl-prev,
  #catalog #tab-similar-products .owl-nav button.owl-next {
    width: 38px;
    height: 52px;
    margin-top: -26px;
    background: rgba(255, 255, 255, .72) !important;
  }

  #catalog #tab-related .owl-nav button.owl-prev,
  #catalog #tab-similar-products .owl-nav button.owl-prev {
    left: -5px;
  }

  #catalog #tab-related .owl-nav button.owl-next,
  #catalog #tab-similar-products .owl-nav button.owl-next {
    right: -5px;
  }

  #catalog #tab-review {
    padding-top: 18px;
  }

  #catalog .product-reviews-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  #catalog .product-reviews-heading__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  #catalog .product-reviews-heading h3 {
    font-size: 19px;
  }

  #catalog .product-reviews-heading p {
    margin-top: 2px;
    font-size: 14px;
  }

  #catalog .product-review-list {
    gap: 12px;
  }

  #catalog .product-review-card {
    border-radius: 14px;
  }

  #catalog .product-review-card__header {
    padding: 12px 13px 10px;
  }

  #catalog .product-review-card__meta {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    font-size: 15px;
    text-align: center;
  }

  #catalog .product-review-card__meta strong {
    font-size: 17px;
  }

  #catalog .product-review-card__rating {
    gap: 3px;
    margin-top: 7px;
  }

  #catalog .product-review-star {
    width: 27px;
    height: 27px;
  }

  #catalog .product-review-card__body {
    padding: 12px 13px 14px;
    font-size: 16px;
    line-height: 1.38;
  }
}

@media (max-width: 374px) {
  #catalog #prod-nav-tabs .nav-tabs > li > a {
    font-size: 11px;
  }

  #catalog .product-reviews-heading h3 {
    font-size: 17px;
  }

  #catalog .product-review-card__meta {
    font-size: 14px;
  }

  #catalog .product-review-card__meta strong {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  #catalog #tab-related .product-thumb .caption,
  #catalog #tab-similar-products .product-thumb .caption {
    min-height: 100px;
  }

  #catalog .product-review-list {
    max-width: 900px;
  }

  #catalog .product-review-card__body {
    min-height: 54px;
  }
}
