:root {
--icon-calendar: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 3.48047V4.98547H1V3.48047C1 2.65549 1.67499 1.98047 2.5 1.98047H4.25V3.46048C4.25 3.73547 4.47501 3.96048 4.75 3.96048C5.02499 3.96048 5.25 3.73547 5.25 3.46048V1.98047H10.75V3.46048C10.75 3.73547 10.975 3.96048 11.25 3.96048C11.525 3.96048 11.75 3.73547 11.75 3.46048V1.98047H13.5C14.325 1.98047 15 2.65549 15 3.48047Z' fill='currentColor'%3E%3C/path%3E%3Cpath d='M11 10.9902H14.695L10.5 14.7302V11.4902C10.5 11.2152 10.725 10.9902 11 10.9902Z' fill='currentColor'%3E%3C/path%3E%3Cpath d='M15 5.98535V9.99036H11C10.175 9.99036 9.5 10.6653 9.5 11.4904V15.0004H2.5C1.67499 15.0004 1 14.3253 1 13.5004V5.98535H15Z' fill='currentColor'%3E%3C/path%3E%3Cpath d='M5.25 1.5V1.97998H4.25V1.5C4.25 1.22501 4.47501 1 4.75 1C5.02499 1 5.25 1.22501 5.25 1.5Z' fill='currentColor'%3E%3C/path%3E%3Cpath d='M11.75 1.5V1.97998H10.75V1.5C10.75 1.22501 10.975 1 11.25 1C11.525 1 11.75 1.22501 11.75 1.5Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");
}
.catalog-table {
  position: relative;
}
.catalog-table--hidden {
  overflow: hidden;
}
.catalog-table .catalog-table__wrapper.grid-list-border-outer {
  margin: 0 0 -1px 0;
}
.catalog-table__item {
  padding: 24px 0px 24px;
  height: 100%;
}
#table-scroller-wrapper__header {
  width: 100%;
}

.catalog-table__info-tech {
  margin-top: 8px;
}

/*button*/
.catalog-table__info-bottom {
  flex: 1;
  justify-content: space-between;
  /* align-items: center; */
}
.catalog-table__info-bottom .side-icons__item.side-icons__item--fast-view {
  display: none;
}

/*optovaya pokupka*/
.opt-buy {
  padding: 8px 0px 16px;
}
.opt-buy__item-text {
  display: inline-block;
  padding: 0 1px;
  margin-right: -3px;
}

.opt_action.no-action,
.side-icons.static .opt_action.no-action {
  opacity: 0.5;
  cursor: not-allowed;
}
.no-opt-action .form-checkbox__box {
  cursor: auto;
}
.opt-buy .form-checkbox__label {
  margin: 0px;
}
.opt_action.item-action__inner:not(.no-action) {
  --item-action-width: auto;
}
.opt_action.item-action__inner .svg {
  top: 0px;
  left: 0px;
  transform: translate(0, 0);
}
.opt_action.item-action__inner .opt-buy__item-text {
  margin-left: 23px;
  margin-bottom: 1px;

  font-size: calc(1rem - 2px);
}

.catalog-table__inner .form-checkbox {
  margin-top: 13px;
}

/*rows props*/
.properties-table-item {
  margin-top: 15px;
  max-width: 180px;
}
.properties-table-item .properties__title {
  margin-bottom: 4px;
}
.product-info-head {
  padding: 9px 0px 10px;
  margin: 0px 0px -1px;
  height: auto;
}
#table-scroller-wrapper {
  margin-bottom: 1px;
}
.footer-button .buttons {
  max-width: 100%;
}
@media (max-width: 1200px) and (min-width: 992px) {
  /* .catalog-table__info-bottom .btn .counter {
    width: 100%;
  } */
}
@media (min-width: 992px) {
  .table-props-rows .catalog-table__info-top {
    min-width: 250px;
  }
  .table-props-rows.table-props-cols {
    overflow-x: auto;
    overflow-y: hidden;
    border-top-width: 0px;
  }
  .catalog-table__item-wrapper.props {
    width: 160px;
    text-align: center;
    flex-shrink: 0;
  }
  .table-props-cols.bordered .catalog-table__item,
  .table-props-cols.bordered .product-info-headnote {
    margin-left: -1px;
    border-radius: 0px;
    border-right-width: 0px;
  }
  .table-props-rows .catalog-table__info-bottom {
    flex: 0 0 500px;
    width: 500px;
  }
  .catalog-table__inner .catalog-table__item-wrapper .properties__value {
    text-overflow: ellipsis;
    overflow: hidden;
  }
#XRP1-BUYIT.btn.btn-lg, #table-scroller-wrapper__close {
    display: none !important;
    pointer-events: none !important;
}
}
@media (max-width: 991px) {
  .table-props-rows.table-props-cols {
    border: none;
  }
}
@media (min-width: 601px) {
  .table-props-rows .opt-buy__buttons {
    max-width: 208px;
  }
  .table-props-rows .btn-actions--with-icons {
    max-width: 230px;
  }
  #main .catalog-table__info-bottom.catalog-table__info-bottom--center {
    justify-content: center;
  }
  .bx-touch #main .catalog-table .side-icons-hover .side-icons__item {
    visibility: visible;
    opacity: 0;
  }
  .catalog-table__item.bordered {
    border-left: none;
    border-right: none;

    /* -webkit-clip-path: inset(0px 1px 0px 1px);
    clip-path: inset(0px 1px 0px 1px); */
  }
  .catalog-table__wrapper:last-of-type .catalog-table__item.bordered {
    border-bottom: none;
  }
  .catalog-table__item--hide-top-border.bordered {
    border-top: 0;
  }

  .catalog-table:has(.banners-slider) .catalog-table__wrapper:nth-child(2) .catalog-table__item {
    border-bottom: 0px;
  }
  .banners-slider + .catalog-table__wrapper .catalog-table__item {
    border-top: 0px;
  }

  .catalog-table-scrollable {
    overflow: hidden;
  }
  .catalog-table-scrollable .opt-buy {
    padding: 10px;
  }
  .catalog-table-scrollable .catalog-table__item {
    padding-inline: 10px;
  }
}

/* */
@media (max-width: 600px) {
  .catalog-table__outer-wrapper.bordered {
    border: none;
    border-radius: 0;
  }
  .catalog-table__item .catalog-table__info-bottom.catalog-table__info-bottom--center .js-popup-price {
    text-align: left;
  }
}

@media (max-width: 1300px) and (min-width: 992px) {
  .catalog-table__item .catalog-table__info-bottom {
    flex-direction: column;
    align-items: flex-start;
    display: block;
    max-width: 250px;
    padding-left: 10px;
  }
  .catalog-table__item .js-popup-price{
    padding: 0px 0px 10px;
  }
}
@media (max-width: 768px) {
  .catalog-table__item .catalog-table__info-bottom {
    flex-direction: column;
    align-items: normal;
    display: block;
    padding-left: 10px;
  }
  .catalog-table__item .js-popup-price {
    padding: 0px 0px 10px 0px;
  }
  .catalog-table__item .btn-actions {
    padding-top: 8px;
    max-width: none;
  }

  .catalog-table__info-bottom.catalog-table__info-bottom--center .js-popup-price {
    text-align: center;
  }
}
@media (min-width: 601px) {
  .catalog-table .grid-list--no-gap .catalog-table__wrapper {
    margin-right: 0px;
  }

  .catalog-table__item .image-list {
    width: 56px;
    flex-basis: 56px;
    flex-shrink: 0;
  }
  .catalog-table__item .image-list .sticker {
    display: none;
  }

  .catalog-table__info-top {
    flex: 1;
  }
}
@media (max-width: 600px) {
  .catalog-table__outer-wrapper.bordered {
    box-shadow: none;
  }
  .grid-list.grid-list--compact.list {
    gap: var(--theme-items-gap);
  }
  .grid-list.grid-list--compact .catalog-table__item {
    padding: 16px 16px 12px;
    border: 1px solid var(--stroke_black);
    border-radius: var(--theme-outer-border-radius);
  }
  .catalog-table__item .catalog-table__info {
    padding: 0px;
  }
  .catalog-table__item .catalog-table__inner {
    flex-direction: column;
  }
  .catalog-table__item .block-with-icon,
  .catalog-table__item .info-buttons {
    display: none;
  }
  .catalog-table__item .catalog-table__info-bottom > div {
    padding: 5px 0px 0px;
  }
  .catalog-table__info-bottom .btn {
    font-size: 0.8667em;
    line-height: calc(1em + 3px);
    padding: 9px 15px 11px;
  }
  .catalog-table__info-bottom .btn .counter {
    height: 36px;
  }
  .catalog-table__item .catalog-table__info-text {
    font-size: 0.8em;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    display: -moz-box;
    -moz-box-orient: vertical;
    -moz-line-clamp: 4;
    overflow: hidden;
  }
  .grid-list:not(.grid-list--compact) .catalog-table__info-text {
    display: none;
  }

  .catalog-table__item .catalog-table__info .catalog-table__info-bottom {
    display: flex;
    padding: 0px;
  }

  .catalog-table__item .js-btn-state-wrapper {
    flex: 1;
  }
  .catalog-table__item .btn-actions {
    padding: 0px;
  }
  .btn-actions__inner .side-icons {
    display: none;
  }
  .catalog-table__item .btn-actions--with-icons {
    flex-basis: auto;
  }
}
#xtbl-name {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    background: rgba(0,0,0,0.08);
    padding: 5px;
    border-radius: 5px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    font-weight: 600;
}
#xtbl-name > * {
    flex: 1 !important;
    text-align: left;
    padding: 0 2px;
    word-break: break-word;
}
#table-scroller-wrapper .xdata2 {
    font-size: 0.8em;
    align-items: center;
    line-height: 1.1;
    display: flex;
}
#table-scroller-wrapper .xdata2 > * {
    flex: 1 !important;
}
#table-scroller-wrapper .xdata2 > *.flx2 {
    text-align: center;
    justify-content: center;
}
#table-scroller-wrapper .xdata3 {
    display: contents;
}
#table-scroller-wrapper .xdata3 > * {
    flex: 1 !important;
	padding: 0;
}
#table-scroller-wrapper .xprice {
    align-items: flex-end;
}
#table-scroller-wrapper .catalog-table__wrapper {
    padding: 5px;
    margin: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid #f2f2f2;
}

body, .layout__right-column {
    overflow: visible !important;
}
#xoffers {
    transition: opacity 300ms;
	opacity: 0;
}
#xoffers.xsort-ready {
    opacity: 1;
}
#xoffers .xd-vp {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
    align-items: center;
    justify-content: center;
}
#xoffers .xd-vp .xdp-t {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #777;
}
#xoffers .xd-vp .xdp-t::before {
    content: '';
    min-width: 16px;
    max-width: 16px;
    aspect-ratio: 1;
    background-color: #c2c1c1;
    -webkit-mask-image: var(--icon-calendar);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}
#xvid .main[role="main"] > .container > .row > .maxwidth-theme {
    padding: 0 20px;
    max-width: 100%;
}
#xvid .gallery-wrapper__aspect-ratio-container {
    gap: 20px;
}
#xvid .catalog-detail__top-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
#xvid .catalog-detail__top-info > .catalog-detail__main {
    display: contents;
}
#xvid .detail-gallery-big.image-list__link {
    position: relative;
    width: 40%;
}
#xvid:has(#big-photo-0:only-child) #big-photo-0 a {
    position: relative;
}
#xvid:has(#big-photo-0:only-child) #big-photo-0 img {
    width: 60%;
    aspect-ratio: .7488;
    object-fit: contain;
    position: sticky;
    top: 86px;
    margin-bottom: auto;
}
#xvid:has(#big-photo-0:only-child) .detail-gallery-big.image-list__link *:not(a):not(img), #xvid .kategory-labels .label:not([class="label"]) {
    display: contents;
}
#xvid .kategory-labels {
    display: flex !important;
    position: absolute;
    left: 105px;
    flex-direction: column;
    gap: 10px;
}
#xvid:has(#big-photo-0:only-child) .kategory-labels {
    left: 0;
}
#xvid .kategory-labels .label[class="label"] {
    font-size: 11px;
    font-weight: normal;
    line-height: 14px;
    height: 22px;
    padding: 0.4em 0.6em;
    vertical-align: top;
    background-color: #ef7e2e;
    color: white;
    border-radius: 5px;
    width: fit-content;
    display: flex !important;
    align-items: center;
}
#xvid .kategory-labels .label:not([class="label"]) img {
    max-width: 120px;
    max-height: 180px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 auto;
    object-position: center;
}
#xvid #XPR0 {
    display: flex;
    width: calc(60% - 20px);
    flex-direction: column;
    gap: 20px;
}
#xvid #XPR1 {
    max-width: 100%;
	top: 0;
    position: static;
}
#xvid .catalog-detail__top-info .catalog-detail__forms {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
#xvid .catalog-detail__top-info .catalog-detail__price, #xvid .catalog-detail__top-info .properties-wrapper, 
#xvid .catalog-detail__top-info .catalog-detail__previewtext, #xvid[data-offers="yes"] #XPR1 .buttons .line-block__item.btn-actions__primary-button, #table-scroller-wrapper__header:empty, 
#xvid:has(.ro) #xtbl-name .r1, #xvid:has(.ra) #xtbl-name .r2 {
    display: none;
}
#table-scroller-wrapper :is(.xd-vp, .xd-dop), #xtbl-name :is(.flx2, .flx2c, .flx3, .flx2d), .xdata3 .js-popup-price {
    text-align: center;
    line-height: 1;
}
#xtbl-name .b0 {
    display: flex;
    flex-wrap: wrap;
}
#xtbl-name .b0-1 {
    width: 100%;
    text-align: center;
}
#xtbl-name .b0-2 {
    width: 50%;
	text-align: center;
}
#xvid .xd-s .xd-i {
    width: 50%;
	text-align: center;
	flex: 1;
}
#xvid .xd-s {
    display: flex;
}
#xtbl-wrap .xdata3 .buttons .btn.btn-wide {
    width: 100%;
    min-width: 103px;
    font-size: 0.8rem;
    min-height: 36px;
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 5px;
}
#XRP1-PRICE {
    font-size: 28px;
    font-weight: bold;
    color: black;
}
#XRP1-INFO {
    max-width: 300px;
}
#XRP1-INFO .xpr {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
#XRP1-INFO .xpr-t2 {
    margin-left: auto;
}
#XRP1-BUYIT.btn.btn-lg {
    border-color: #e90000;
    color: #fff;
    background-color: #e90000;
    margin-bottom: -10px;
}
#XRP1-BUYIT.btn.btn-lg:is(:hover, :focus, :active) {
    color: #e90000;
    background-color: transparent;
}

@media (max-width: 1344px) {
.layout__right-column {
    overflow: hidden !important;
}
#xvid .detail-gallery-big.image-list__link {
    width: 100%;
    max-width: 500px;
}
#xvid:has(#big-photo-0:only-child) #big-photo-0 img {
    width: 60%;
    margin-bottom: 0;
    margin-top: auto;
}
#xvid #XPR0 {
    width: 100%;
}
}
@media (max-width: 991px) {
html.offers-now, html.offers-now body {
    overflow: hidden !important;
}
html.offers-now :is(#mobileheader, .bottom-icons-panel, .scroll-to-top, .catalog-viewed), html:not(.offers-now) #table-scroller-wrapper {
    display: none !important;
    pointer-events: none !important;
}
#xvid {
    max-width: 100%;
    overflow: hidden;
}
#table-scroller-wrapper {
    display: flex;
    flex-direction: column;
    position: fixed;
    margin-bottom: 0 !important;
    inset: 0;
    background-color: white;
    z-index: 11;
}
#table-scroller-wrapper .xprice {
    margin-right: 5px;
}
#xvid #XPR1 {
    min-width: 100% !important;
}
#x-close {
    font-size: 40px;
    min-width: 40px;
	max-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    aspect-ratio: 1;
    cursor: pointer;
    margin-left: auto;
}
#xtbl-name {
    margin: 0;
    border-radius: 0;
    min-height: 50px;
}
#table-scroller-wrapper__close {
    border-bottom: 1px solid #c2c1c1;
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
}
#xoffers {
    max-height: 400px;
    overflow-y: auto;
    max-height: calc(100vh - 300px);
}
#xoffers::-webkit-scrollbar-track {
	-webkit-box-shadow: none;
	border-radius: 10px;
	background-color: #fafafa;
}
#xoffers::-webkit-scrollbar {
	width: 6px;
	background-color: #fafafa;
}
#xoffers::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: none;
	background-color: #e90000;
	border: none !important;
}
#XPRICETXT {
    margin-top: auto;
    padding: 10px;
    background-color: #fafafa;
    height: 200px;
}
#x-close__name {
    width: 100%;
    padding: 0 10px;
    align-items: center;
}
#x-close__name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
#xvid:has(.rora) #XRP1-BUYIT-TXT::before, #xvid:has(.rora) #x-close__name::before {
    content: "Выбрать размер/рост";
}
#xvid:has(.ra) #XRP1-BUYIT-TXT::before, #xvid:has(.ra) #x-close__name::before {
    content: "Выбрать размер";
}
#xvid:has(.ro) #XRP1-BUYIT-TXT::before, #xvid:has(.ro) #x-close__name::before {
    content: "Выбрать рост";
}
#XRP1-BUYIT-TXT::before, #x-close__name::before, #xvid[data-name="Услуга"] #XRP1-BUYIT-TXT::before, #xvid[data-name="Услуга"] #x-close__name::before {
    content: "Выбрать вариант";
}
}
@media (max-width: 768px) {
#xtbl-name .b0-2, #xtbl-wrap :is(.xd-cn, .xdp-cn) {
    display: none;
}
#xvid .xd-s {
    flex-direction: column;
    align-items: center;
}
#xvid .xd-s .xd-i {
    width: 100%;
}
#xvid .kategory-labels {
    left: 0;
}
}
@media (max-width: 600px) {
#xtbl-name :is(.flx3, .flx4) {
    display: none;
}
#table-scroller-wrapper .xdata2 {
    flex-wrap: wrap;
}
#table-scroller-wrapper .xdata2 > * {
    padding: 10px 0;
}
#table-scroller-wrapper .xdata3 {
    display: flex;
    min-width: 100vw;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1rem;
    background-color: rgb(235 235 235 / 54%);
    padding: 10px;
    box-sizing: border-box;
    margin-left: -5px;
    margin-bottom: -5px;
}
#table-scroller-wrapper .xdata3 > * {
    flex: none !important;
}
#table-scroller-wrapper .xdata3 .counter.js-ajax {
    background-color: white;
}
#table-scroller-wrapper .catalog-table__wrapper {
    border-bottom-color: #2b3f57;
}
}
@media (max-width: 600px) {
#xoffers {
    scrollbar-width:none;
    -ms-overflow-style:none;
}
#xoffers::-webkit-scrollbar {
	display:none;
}
}
@media (min-width: 769px) {
#xvid .xd-s .xd-n {
    display: none;
}
#xvid #XPR1 {
    min-width: 300px;
}
}
/* Keep row tracks consistent with the columns actually present in the header. */
#table-scroller-wrapper #xtbl-wrap:not(:has(#xtbl-name .flx2c)) .xd-vp.n,
#table-scroller-wrapper #xtbl-wrap:not(:has(#xtbl-name .flx2d)) .xd-dop.n {
    display: none !important;
}
@media (min-width: 992px), (max-width: 600px) {
    /* Desktop and stacked mobile rows have a 5px left inset and no right inset. */
    #table-scroller-wrapper #xtbl-name {
        padding-right: 0;
    }
}

@media (max-width: 991px) {
    /* The full-screen chooser must not sit below a sticky desktop header. */
    html.offers-now .headers-container,
    html.offers-now #headerfixed {
        display: none !important;
    }
}

@media (max-width: 600px) {
    /* Service prices wrap beneath each position, just like ordinary offer prices. */
    #table-scroller-wrapper #xtbl-name[data-typex="Услуга"] .flx2 {
        display: none;
    }
}

/* Make the current product or offer article easy to spot. */
.catalog-detail__main-parts .article .js-replace-article {
    padding: 3px 7px;
    border-radius: 4px;
    background: #edf0f3;
    color: #242b33;
    font-weight: 700;
    overflow-wrap: anywhere;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
