/* Optional product purchase layout. Enabled only by the new theme checkboxes. */
.product__purchase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.product__content-right .product__purchase-header {
  margin: -20px -20px 0;
  padding: 20px;
}
.product__wrap-1 .product__purchase-header {
  margin-top: -30px;
}
.product__content--info-top .product__content-right {
  background: #fff;
}
.product__purchase-header .product__code-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #888;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;
  cursor: pointer;
}
.product__purchase-header .product__code-copy:hover {
  color: var(--cheme-color);
}
.product__purchase-header .product__code span {
  transform: translateY(1px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}
.product__code-copy svg {
  width: 14px;
  height: 14px;
}
.product__purchase-header .product__code-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid #eee;
  border-radius: 4px;
}
.product__purchase-header .product__code svg {
  flex: none;
  width: 14px;
  height: 14px;
}
.product__availability {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.product__purchase-header .product__availability {
  flex: none;
  max-width: 55%;
  margin-left: auto;
}
.product__availability-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #e4fff1;
  color: #159a40;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.product__availability-state::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.product__availability-state[data-stock-state="preorder"] {
  background: #fff5dd;
  color: #9b710c;
}
.product__availability-state[data-stock-state="out"] {
  background: #f3f4f7;
  color: #888;
}
.product__content--info-top .product__price,
.product__content--info-top .product__pr-price-new,
.product__content--info-top .product__pr-price-new .price {
  font-size: 32px;
}
.product__prices--retail {
  margin-top: 0;
  flex-direction: column;
  align-items: flex-start;
}
.product__prices--retail .product__price,
.product__prices--retail .product__pr-price-new {
  margin: 0;
}
.product__retail-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #f3f4fb;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.product__retail-price .compare-at-price,
.product__retail-price .compare-at-price .price {
  display: inline;
  flex: none;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  text-decoration: none;
}
.product__retail-text {
  min-width: 0;
}
.product__retail-price .ruble {
  min-width: 0;
  letter-spacing: normal;
}
.product__retail-icon {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--cheme-color);
}
.product__content--retail .calc-pr__prices {
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (max-width: 1080px) {
  .product__wrap-1 .product__purchase-header {
    margin-top: 0;
  }
}
@media screen and (max-width: 380px) {
  .product__purchase-header .product__code-copy {
    font-size: 13px;
  }
  .product__purchase-header .product__availability-state {
    padding: 7px 8px;
    font-size: 12px;
  }
}



/* Brand card below product characteristics. */
.product__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  margin-top: 50px;
  padding: 14px 20px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
}
.product__brand-wrap:first-child > .product__brand {
  margin-top: 0;
}
.product__brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.product__brand-name {
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.product__brand-link {
  color: #888;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}
.product__brand-link:hover {
  color: var(--cheme-color);
}
.product__brand-logo-link {
  display: block;
  flex: none;
  line-height: 0;
}
.product__brand-logo {
  display: block;
  flex: none;
  width: auto;
  height: auto;
  max-width: 70px;
  max-height: 32px;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .product__brand {
    margin-top: 25px;
  }
}
/* Align the brand with the purchase and delivery column on desktop. */
@media screen and (min-width: 1081px) {
  .product__content-1,
  .product__content-3 {
    align-self: flex-start;
  }
  .product__content-1 > .product__content-left,
  .product__content-3 > .product__content-left {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }
  .product__content-left > .product__brand-wrap {
    flex: none;
    order: 1;
    margin-top: auto;
    padding-top: 50px;
  }
  .product__wrap-1 .product__content-left > .product__brand-wrap {
    margin-bottom: -20px;
  }
  .product__content-left > .product__brand-wrap:first-child {
    padding-top: 0;
  }
  .product__content-left > .product__brand-wrap > .product__brand {
    margin-top: 0;
  }
  .product__content-left > .s-product-aux:empty {
    display: none;
  }
}
/* Product information tabs: plain labels and an active underline. */
.product__tabs > .tab__names {
  border-bottom: 1px solid #eee;
}
.product__tabs > .tab__names > .h-menu {
  align-items: stretch;
  height: 48px;
  margin: 0 0 -1px;
  border: 0;
  border-radius: 0;
}
.product__tabs > .tab__names .h-menu__item {
  flex: none;
  padding: 0 30px 0 0;
}
.product__tabs > .tab__names .h-menu__yet {
  padding: 0;
}
.product__tabs > .tab__names .h-menu__link {
  align-items: flex-end;
  height: 48px;
  padding: 0 4px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}
.product__tabs > .tab__names .h-menu__yet .h-menu__link {
  align-items: center;
  padding-bottom: 2px;
}
.product__tabs > .tab__names .h-menu__link:hover,
.product__tabs > .tab__names .h-menu__link_active-tab:hover {
  background: transparent;
}
.product__tabs > .tab__names .h-menu__link_active-tab {
  border-bottom-color: var(--cheme-color);
}
.product__tabs > .tab__names .h-menu__name {
  margin-bottom: 0;
}
