/* Универсальный блок для списка товаров из каталога (ST340) */ @import '../src/tilda-catalog/card-image-gallery/styles.css'; /* Fluid containers and columns */ @media screen and (min-width: 981px) { .t-container_fluid { max-width: 100%; } .t-container_fluid .t-col_1 { max-width: calc(1 / 12 * 100% - 40px); } .t-container_fluid .t-col_2 { max-width: calc(2 / 12 * 100% - 40px); } .t-container_fluid .t-col_3 { max-width: calc(3 / 12 * 100% - 40px); } .t-container_fluid .t-col_4 { max-width: calc(4 / 12 * 100% - 40px); } .t-container_fluid .t-col_5 { max-width: calc(5 / 12 * 100% - 40px); } .t-container_fluid .t-col_6 { max-width: calc(6 / 12 * 100% - 40px); } .t-container_fluid .t-col_7 { max-width: calc(7 / 12 * 100% - 40px); } .t-container_fluid .t-col_8 { max-width: calc(8 / 12 * 100% - 40px); } .t-container_fluid .t-col_9 { max-width: calc(9 / 12 * 100% - 40px); } .t-container_fluid .t-col_10 { max-width: calc(10 / 12 * 100% - 40px); } .t-container_fluid .t-col_11 { max-width: calc(11 / 12 * 100% - 40px); } .t-container_fluid .t-col_12 { max-width: calc(100% - 40px); } } /* end of Fluid containers and columns */ .t-catalog__empty-part-msg-cont, .t-catalog__error-msg-cont { width: 100%; } .t-catalog__empty-part-msg-wrapper, .t-catalog__error-msg-wrapper { width: 100%; padding: 40px 40px 50px; box-sizing: border-box; min-height: 40vh; border: 1px solid rgba(130, 130, 130, 0.5); text-align: center; color: rgba(130, 130, 130, 0.7); display: table; } .t-catalog__empty-part-msg, .t-catalog__error-msg { display: table-cell; vertical-align: middle; } /* ----- grid styles start ----- */ /* .t-catalog__grid-cont_col-width_stretch — in this container columns do not follow standart Tilda Grid, they stretch to full possible width there are three types of container position: 1) .t-catalog__grid-cont_col-width_stretch — 1200px width 2) .t-catalog__grid-cont_col-width_stretch.t-container_100 — 100% width 2) .t-catalog__grid-cont_col-width_stretch.t-catalog__grid-cont_indent — 100% width with 40px indents on both sides */ .t-catalog__grid-cont { padding: 0 20px; } @media screen and (max-width: 960px) { .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog__grid-cont, .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog__grid-cont_indent { padding: 0; } .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog__filter-wrapper, .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog-parts-above__container { box-sizing: border-box; } .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog__filter-wrapper, .t-catalog-parts-above__container:not( :has(.t-catalog__parts-above-single, .t-catalog__parts-above-single--mobile) ) { padding: 0 20px; } .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog-parts-above__container:has(.t-catalog__parts-above-single, .t-catalog__parts-above-single--mobile) .t-catalog__parts-above-scroll-arrow--right { margin-right: 20px; } .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog-parts-above__container:has(.t-catalog__parts-above-single, .t-catalog__parts-above-single--mobile) .t-catalog__parts-above-scroll-arrow--left { margin-left: 20px; } .t-catalog__grid-cont_mobile-one-row .t-catalog__stretch-col:first-child, .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-catalog__parts-above-single .t-catalog__parts-above-item:first-child { margin-left: 20px; } .t-catalog:has(:where(.js-catalog-grid-cont).t-catalog__grid-cont_mobile-one-row) .t-container { max-width: unset; } } .t-catalog__grid-cont_mobile-grid { flex: 1; width: 100%; } .t-catalog__grid-cont_col-width_stretch { box-sizing: border-box; } .t-catalog__grid-cont_indent { padding: 0px 40px; } .t-catalog__stretch-col { display: flex; vertical-align: top; box-sizing: border-box; } .t-catalog__stretch-col_25 { width: calc(25% - var(--t-catalog-col-gap, 0px) * 3 / 4); } .t-catalog__stretch-col_33 { width: calc(33.333% - var(--t-catalog-col-gap, 0px) * 2 / 3); } .t-catalog__stretch-col_50 { width: calc(50% - var(--t-catalog-col-gap, 0px) / 2); } .t-catalog__stretch-col_100 { width: 100%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper { position: relative; width: 100%; padding-bottom: 110%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_16-9 { padding-bottom: 56%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_4-3 { padding-bottom: 75%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_3-2 { padding-bottom: 66%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_1-1 { padding-bottom: 100%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_original-ratio.t-catalog__card__imgwrapper_1-1 { padding-bottom: 100%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_2-3 { padding-bottom: 150%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_3-4 { padding-bottom: 133%; } .t-catalog__grid-cont_col-width_stretch .t-catalog__card__imgwrapper_9-16 { padding-bottom: 177%; } .t-catalog__grid-separator { height: 1px; width: 100%; background-color: var(--t-catalog-separator-color); } .t-catalog__load-more-btn { margin-top: 50px; } .t-catalog__grid-cont_mobile-one-row { width: 100%; } @media screen and (max-width: 980px) { .t-catalog__load-more-btn { margin-top: 40px; } } @media screen and (max-width: 640px) { .t-catalog__load-more-btn { margin-top: 30px; } } @media screen and (max-width: 480px) { .t-catalog__load-more-btn { margin-top: 20px; } .t-catalog__card__btns-wrapper--quantity .t-catalog__prod__quantity_xs { height: 40px; } .t-catalog__card__btns-wrapper--quantity .t-catalog__prod__quantity_sm { height: 50px; } } .t-catalog__scroll-icon-wrapper { display: none; } .t-catalog__grid-cont-preloader_hidden { opacity: 0; } /* ----- grid styles end ----- */ /* ----- product card styles start ----- */ .t-catalog__grid-cont_mobile-grid.t-catalog__grid-cont:has(.t-catalog__card-preloader), .t-catalog__grid-cont_mobile-one-row.t-catalog__grid-cont:has(.t-catalog__card-preloader) { display: flex; flex-direction: row; flex-wrap: wrap; column-gap: var(--t-catalog-col-gap, 20px); row-gap: 20px; } .t-catalog__cont-wrapper_sticky-sidebar .t-catalog__grid-cont_mobile-grid.ST-2007_dev_access:has(.t-catalog__card-preloader), .t-catalog__cont-wrapper_sticky-sidebar .t-catalog__grid-cont_mobile-one-row.ST-2007_dev_access:has(.t-catalog__card-preloader) { align-items: flex-start; height: fit-content; } .t-catalog__grid-cont .t-catalog__card-preloader { display: block; } /* Размер одного прелоадера при n товарах в ряду 1. Вычитаем от максимального размера общий размер отступов (gap, умноженный на кол-во отступов) 2. Делим на количество товаров в ряду */ /* Размер прелоадера при 3 товарах в ряду */ .t-catalog__grid-cont .t-catalog__card-preloader.t-catalog__stretch-col_33 { flex: 0 0 calc((100% - var(--t-catalog-col-gap, 20px) * 2) / 3); } /* Размер прелоадера при 4 товарах в ряду */ .t-catalog__grid-cont .t-catalog__card-preloader.t-catalog__stretch-col_25 { flex: 0 0 calc((100% - var(--t-catalog-col-gap, 20px) * 3) / 4); } /* Размер прелоадера при 2 товарах в ряду */ .t-catalog__grid-cont .t-catalog__card-preloader.t-catalog__stretch-col_50 { flex: 0 0 calc((100% - var(--t-catalog-col-gap, 20px) * 1) / 2); } @media screen and (max-width: 960px) { .t-catalog__grid-cont_mobile-grid.t-catalog__grid-cont:has(.t-catalog__card-preloader), .t-catalog__grid-cont_mobile-one-row.t-catalog__grid-cont:has(.t-catalog__card-preloader) { column-gap: max(var(--t-catalog-col-gap, 20px) / 2, 10px); } /* Мобильный отступ: половина стандартного отступа, минимум 10px */ .t-catalog__grid-cont_mobile-grid.t-catalog__grid-cont .t-catalog__card-preloader, .t-catalog__grid-cont_mobile-one-row.t-catalog__grid-cont .t-catalog__card-preloader { flex: 0 0 calc((50% - max(var(--t-catalog-col-gap, 20px) / 2, 10px)) / 2); } .t-catalog__grid-cont .t-catalog__card-preloader.t-catalog__stretch-col_100 { flex: 0 0 100%; } .t-catalog__grid-cont_mobile-one-row.t-catalog__grid-cont:has(.t-catalog__card-preloader) { flex-wrap: nowrap; overflow-x: hidden; scrollbar-width: none; } } @media screen and (max-width: 480px) { .t-catalog__grid-cont_mobile-grid.t-catalog__grid-cont .t-catalog__card-preloader, .t-catalog__grid-cont_mobile-one-row.t-catalog__grid-cont .t-catalog__card-preloader { flex: 0 0 100%; } } .t-catalog__grid-cont .t-catalog__card-preloader + .t-catalog__grid-separator { display: none; } /* Размер прелоадера для списка товаров в виде списка */ .t-catalog__cont-wrapper:has(.t-catalog__card-list_style_list) .t-catalog__grid-cont .t-catalog__card__img-preloader { padding-bottom: 25%; } .t-catalog__card-preloader .t-catalog__card__img-preloader { background-color: rgba(123, 123, 123, 0.2); -webkit-animation: tStorePreloaderFlickerAnimation 1.5s infinite; animation: tStorePreloaderFlickerAnimation 1.5s infinite; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; -webkit-animation-delay: 1.5s; animation-delay: 1.5s; } .t-catalog__card-preloader:nth-child(2) .t-catalog__card__img-preloader { -webkit-animation-delay: 1.6s; animation-delay: 1.6s; } .t-catalog__card-preloader:nth-child(3) .t-catalog__card__img-preloader { -webkit-animation-delay: 1.7s; animation-delay: 1.7s; } .t-catalog__card-preloader:nth-child(4) .t-catalog__card__img-preloader { -webkit-animation-delay: 1.8s; animation-delay: 1.8s; } .t-catalog__card-preloader:nth-child(5) .t-catalog__card__img-preloader { -webkit-animation-delay: 1.9s; animation-delay: 1.9s; } .t-catalog__card-preloader:nth-child(6) .t-catalog__card__img-preloader { -webkit-animation-delay: 2s; animation-delay: 2s; } .t-catalog__card-preloader:nth-child(7) .t-catalog__card__img-preloader { -webkit-animation-delay: 2.1s; animation-delay: 2.1s; } .t-catalog__card-preloader:nth-child(8) .t-catalog__card__img-preloader { -webkit-animation-delay: 2.2s; animation-delay: 2.2s; } .t-catalog__card-preloader:nth-child(9) .t-catalog__card__img-preloader { -webkit-animation-delay: 2.3s; animation-delay: 2.3s; } @-webkit-keyframes tStorePreloaderFlickerAnimation { 0% { opacity: 1; } 40% { opacity: 0.3; } 80% { opacity: 1; } 100% { opacity: 1; } } @keyframes tStorePreloaderFlickerAnimation { 0% { opacity: 1; } 40% { opacity: 0.3; } 80% { opacity: 1; } 100% { opacity: 1; } } .t-catalog__card-list { --t-catalog-row-gap: 90px; --t-catalog-col-gap: 20px; --t-catalog-mobile-col-gap: max(var(--t-catalog-col-gap) / 2, 10px); --t-catalog-separator-color: rgba(0, 0, 0, 0.1); display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; row-gap: var(--t-catalog-row-gap); column-gap: var(--t-catalog-col-gap); min-width: 0; } .t-catalog__card-list_style_list { --t-catalog-row-gap: 30px; } /* Для стиля списком, если есть разделительная линия, делим отступы пополам, чтобы линия была по центру */ .t-catalog__card-list_style_list.t-catalog__card-list_has-separator { row-gap: calc(var(--t-catalog-row-gap) / 2); } .t-catalog__card-list_style_list { --t-catalog-row-gap: 30px; } /* Для стиля списком, если есть разделительная линия, делим отступы пополам, чтобы линия была по центру */ .t-catalog__card-list_style_list.t-catalog__card-list_has-separator { row-gap: calc(var(--t-catalog-row-gap) / 2); } .t-catalog__relevants-grid-cont .t-catalog__card-list_style_list .t-catalog__card:first-child { padding-top: unset; } .t-catalog__relevants__container .t-catalog__card-list { width: 100%; } .t-catalog__relevants__container .t-catalog__card-list .t-catalog__card { margin: 0; } .t-catalog__relevants__container .t-catalog__card__textwrapper { padding-top: 20px; } .t-catalog__relevants__container .t-slds .t-catalog__card-list { column-gap: unset; } .t-catalog__card-list__vertical-align-buttons { align-items: stretch; } .t-catalog__card-list .t-catalog__card__wrap_txt-and-btns { flex: initial; } .t-catalog__card-list__vertical-align-buttons .t-catalog__card__wrap_txt-and-btns { flex: 1; } .t-catalog__card { display: flex !important; flex-direction: column; flex-wrap: nowrap; -webkit-transition: opacity 0.2s ease-out; transition: opacity 0.2s ease-out, box-shadow 0.3s ease-in-out; box-sizing: border-box; } .t-catalog__card_hidden { opacity: 0; } #allrecords .t-catalog__card a, #allrecords .t-catalog__card a:focus-visible { outline: none; } .t-catalog__card__imgwrapper { position: relative; width: 100%; padding-bottom: 110%; } .t706__body_cartwinshowed .t-catalog__card__imgwrapper { z-index: 0; } .t-catalog__card__wrap_txt-and-opts.t-catalog__card__has-btns { margin-bottom: 20px; } .t778 .t-catalog__card__wrap_txt-and-opts.t-catalog__card__has-btns { margin-bottom: 0; } .t-catalog__card__bgimg, .t-catalog__card__bgimg_second { background-position: center; background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; -webkit-transition: opacity 0.1s linear; transition: opacity 0.1s linear; } .t-catalog__card__bgimg.t-catalog__card__bgimg_placeholder { background-color: #e5e5e5; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22230%22%20height%3D%22254%22%20viewBox%3D%220%200%20230%20254%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M226%2068.3043L115.897%204.24202C115.343%203.91939%20114.657%203.91939%20114.103%204.24202L59.5%2036.0122L59.4889%2036.0186L4%2068.3043V192.178C4%20192.849%204.37684%20193.464%204.97515%20193.768L115%20249.72L225.003%20193.781C225.601%20193.476%20225.978%20192.862%20225.978%20192.191L226%2068.3043ZM115%20249.72L115%20130.523M115%20130.523L4%2068.3043M115%20130.523L170.489%20100.603L226%2068.3043%22%20stroke-width%3D%228%22%20stroke-linejoin%3D%22round%22%20stroke%3D%22%23D6D6D6%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: center; background-size: 64px auto; } .t-catalog__card__img { max-width: 100%; max-height: 100%; object-fit: contain; position: absolute; margin: auto; top: 0; bottom: 0; right: 0; left: 0; z-index: 2; -webkit-transition: opacity 0.1s linear; transition: opacity 0.1s linear; } .t-catalog__card__bgimg_second, .t-catalog__card__img_second { z-index: 1; opacity: 0; } .t-catalog__card__mark-wrapper { position: absolute; right: 10px; top: 10px; z-index: 5; display: table; } .t-catalog__card__mark { font-weight: 400; font-size: 12px; font-family: 'Roboto', Arial, sans-serif; display: table-cell; width: 50px; height: 50px; text-align: center; vertical-align: middle; border-radius: 50px; background-color: #111; color: #fff; box-sizing: border-box; padding: 0 10px; } .t-catalog__card__textwrapper { margin-bottom: auto; } .t-catalog__card__prod-controls-wrapper:has(*) { padding-top: 20px; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__prod-controls-wrapper { padding: 0; } .t-catalog__card__text_align_center { margin-left: auto; margin-right: auto; text-align: center; } .t-catalog__card__descr { margin-top: 8px; word-break: break-word; } .t-catalog__card__sku { margin-top: 4px; color: #777; } .t-catalog__card__price-wrapper, .t-catalog__prod-popup__price-wrapper { margin-top: 12px; display: inline-flex; align-items: baseline; column-gap: 6px; flex-wrap: wrap; } .t-catalog__card_list .t-catalog__card-old-price_under .t-catalog__card__price-wrapper { flex-direction: column; } .t-catalog__card_list .t-catalog__card-old-price_above .t-catalog__card__price-wrapper { flex-direction: column-reverse; } .t-catalog__card_list .t-catalog__card-old-price_right .t-catalog__card__price-wrapper { flex-direction: row; flex-wrap: nowrap; } /* Сдвиг вправо только у колонки справа. В тексте («над заголовком» и остальные слоты) обёртка на всю ширину строки, и flex-end уносит цену в конец. */ @media screen and (min-width: 961px) { .t-catalog__card_list .t-catalog__card__price-buttons_right-top.t-catalog__card-old-price_right .t-catalog__card__price-wrapper, .t-catalog__card_list .t-catalog__card__price-buttons_right-bottom.t-catalog__card-old-price_right .t-catalog__card__price-wrapper { justify-content: flex-end; } } .t-catalog__card__price-wrapper_above-title { margin-top: 0; margin-bottom: 12px; } .t-catalog__card__price-item, .t-catalog__prod-popup__price-item { display: flex; align-items: baseline; max-width: 100%; width: fit-content; } /* whitespace: nowrap must be in place for a price with spaces at least */ .t-catalog__prod__price-portion, .t-catalog__card__price-value, .t-catalog__card__price-currency, .t-catalog__prod-popup__price-value, .t-catalog__prod-popup__price-currency { display: inline-block; vertical-align: middle; white-space: nowrap; } .t-catalog__prod__price-portion { opacity: 0.5; /* Применяем градиент */ background-color: currentColor; background-image: inherit; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; /* Если градиент не задан на родителе, то используется текущий цвет */ color: inherit; font-size: 0.8em; } .t-catalog__prod__price-portion-slash { padding-left: 3px; padding-right: 3px; } .t-catalog__card__price-value { max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .t-catalog__card__price-from:after, .t-catalog__card__price-value + .t-catalog__card__price-currency:before, .t-catalog__prod-popup__price-value + .t-catalog__prod-popup__price-currency:before { content: '\a0'; font-family: Arial, Helvetica, sans-serif; } .t-catalog__card__price-from + .t-catalog__card__price-currency:before { content: ''; } .t-catalog__card__price_old, .t-catalog__prod-popup__price_old { position: relative; /* Применяем градиент родителя */ background-color: currentColor; background-image: inherit; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; /* Если градиент не задан на родителе, то используется цвет */ color: #bdbdbd; } .t-catalog__card__price_old:after, .t-catalog__prod-popup__price_old:after { content: ''; position: absolute; top: 50%; right: -1px; left: -1px; height: 1px; /* Применяем градиент родителя */ background-color: currentColor; background-image: inherit; background-repeat: no-repeat; background-size: 100% 100%; width: 100%; } .t-catalog__card__btns-wrapper { display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; align-items: center; margin-top: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__text_align_center .t-catalog__card__btns-wrapper { align-items: center; } @media screen and (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons.t-catalog__card__price-buttons-bottom_left.t-catalog__card__text_align_center { align-items: center; align-self: center; } } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__text_align_center .t-catalog__card__price-wrapper { margin-left: auto; margin-right: auto; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper .t-catalog__card__price-buttons, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__prod-controls-wrapper { margin-top: 15px; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper .t-catalog__card__price-buttons.t-catalog__card__price-buttons_in-row { margin-top: 25px; } .t-catalog__card__prod-controls-wrapper { /* всегда выравнивать по левому краю доп опции, тк. если они центрованы выглядит коряво */ text-align: left; } /* Styles from ST310 */ .t-catalog .t-catalog__card__wrap_all { -webkit-transition: all 0.2s linear; transition: all 0.2s linear; display: flex; flex-direction: column; } .t-catalog__card-list__vertical-align-buttons .t-catalog__card__wrap_all { height: 100%; } /* default card paddings */ .t-catalog .t-catalog__card__wrap_all .t-catalog__card__textwrapper { padding: 0; } .t-catalog .t-catalog__card__wrap_all .t-catalog__card__wrap_txt-and-opts { padding-top: 27px; padding-bottom: 27px; } .t-catalog .t-catalog__card__wrap_all .t-catalog__card__textwrapper, .t-catalog .t-catalog__card__wrap_all .t-catalog__card__prod-controls-wrapper { padding-left: 30px; padding-right: 30px; } .t-catalog .t-catalog__card__wrap_all .t-catalog__card__btns-wrapper { padding-left: 30px; padding-right: 30px; padding-bottom: 21px; } /* small card paddings */ .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-sm .t-catalog__card__wrap_txt-and-opts { padding-top: 18px; padding-bottom: 18px; flex: 1; } .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-sm .t-catalog__card__textwrapper, .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-sm .t-catalog__card__prod-controls-wrapper { padding-left: 20px; padding-right: 20px; } .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-sm .t-catalog__card__btns-wrapper { padding-left: 20px; padding-right: 20px; padding-bottom: 14px; } /* large card paddings */ .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-lg .t-catalog__card__wrap_txt-and-opts { padding-top: 36px; padding-bottom: 36px; } .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-lg .t-catalog__card__textwrapper, .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-lg .t-catalog__card__prod-controls-wrapper { padding-left: 40px; padding-right: 40px; } .t-catalog .t-catalog__card__wrap_txt-and-btns.t-catalog__card__wrap_pad-lg .t-catalog__card__btns-wrapper { padding-left: 40px; padding-right: 40px; padding-bottom: 28px; } /* /Styles from ST310 */ .t-catalog .t-catalog__card.t-align_center .t-catalog__card__btns-wrapper { justify-content: center; } .t-catalog__card_from-template.t-align_center .t-catalog__card__btns-wrapper, .t-catalog__card_from-template.t-align_center .t-catalog__card__price-wrapper, .t-catalog__card_from-template.t-align_center .t-catalog__card__price-buttons_in-row, .t-catalog__card-list_style_tile .t-align_center .t-catalog__card__price-buttons { align-items: center; align-self: center; } .t-catalog__card-list_style_list .t-catalog__card__price-buttons-bottom_left .t-catalog__card__btns-wrapper { align-items: flex-start; align-self: flex-start; } @media screen and (max-width: 960px) { .t-catalog__card_from-template.t-align_center .t-catalog__card__wrap_price-and-btns { justify-content: center; align-items: center; align-self: center; } } .t-catalog__card__btn:not(.t-btnflex, .t-btntext) { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; max-width: 100%; } .t-catalog__card__btn:not(.t-btnflex, .t-btntext) .t-catalog__card__btn-text { white-space: nowrap; overflow: hidden; max-width: 100%; } .t-align_center .t-catalog__card__btn { margin: 0; margin-bottom: 8px; } .t-align_left .t-catalog__card__btn { margin: 0px 8px 8px 0; } .t-align_left .t-catalog__card__btn:only-child { margin-right: 0; } /* ST-2522: переносим отступы в tpl (кроме рекомендуемых товаров) */ .t-catalog_card-template .t-catalog__grid-cont:not(.t-catalog__relevants-grid-cont) .t-align_center .t-catalog__card__btn, .t-catalog_card-template .t-catalog__grid-cont:not(.t-catalog__relevants-grid-cont) .t-align_left .t-catalog__card__btn { margin: 0; } .t-catalog__card__sold-out-msg { margin-top: 3px; color: #f95d51; font-size: 14px; font-weight: 400; } .t-catalog__load-more-btn-wrap { padding: 0 20px; } .t-catalog__load-more-btn { position: relative; } .t-catalog__load-more-btn-wrap .t-btn.t-btn_sending::before { top: 50%; } .t-catalog__load-more-btn-wrap_hidden { display: none; } /* ----- product card styles end ----- */ /* ----- product popup styles start ----- */ .t-catalog .t-popup { padding: 0; -webkit-overflow-scrolling: touch; } .t-catalog__popup-container_8-cols .t-catalog__prod-popup__slider:not(.t-col) { max-width: 100%; width: 100%; } .t-catalog .t-popup__container { max-width: 1240px; right: 0; left: 0; } .t-popup__container.t-catalog__popup-container_8-cols { max-width: 760px; } .t-catalog__popup-container_8-cols .t-catalog__prod-popup__container { padding: 40px !important; } .t-catalog__popup-container_8-cols .t-catalog__prod-popup__info, .t-container_8 .t-catalog__prod-popup__info { padding-top: 40px; } .t-catalog__prod-popup__container { padding: 40px 20px; } .t-catalog__prod-popup__container:after, .t-catalog__prod-popup__container > div:after, .t-catalog__product-popup > div:after, .t-catalog__relevants-grid-cont:after { content: ''; display: block; height: 0; clear: both; } .t-catalog .t-popup__close { z-index: 999; } .t-catalog__prod-popup__close-txt-wr { z-index: 999; position: fixed; left: 20px; top: 20px; } .t-catalog__prod-popup__close-txt { margin-bottom: 20px; cursor: pointer; display: flex; align-items: center; opacity: 0.8; font-weight: 400; } .t-catalog__prod-popup__close-txt div[data-customstyle='yes'] { line-height: 1 !important; } .t-catalog__prod-popup__close-txt:before { content: '←\a0'; font-family: Arial, Helvetica, sans-serif; } @media screen and (max-width: 1240px) { .t-catalog .t-popup__container { max-width: 1200px; } .t-catalog__prod-popup__container { padding: 30px 10px; } .t-catalog__prod-popup__col-left { margin-right: 10px; max-width: 440px; } .t-catalog__prod-popup__col-right { margin-left: 10px; max-width: 440px; } } @media screen and (max-width: 1200px) { .t-catalog .t-popup__container { max-width: 1000px; } .t-catalog__prod-popup__container { padding: 30px 20px; } .t-popup__container.t-catalog__popup-container_8-cols { max-width: 620px; } } @media screen and (max-width: 1000px) { .t-catalog .t-popup__container { max-width: 980px; } .t-catalog__prod-popup__container { padding: 20px 10px; } } @media screen and (max-width: 960px) { .t-catalog__grid-cont_indent { padding: 0px 20px; } .t-catalog__grid-cont_mobile-one-row.t-catalog__mobile-two-columns .t-item { flex: 0 0 48vw; box-sizing: border-box; width: 48vw; max-width: 48vw; min-width: 48vw; padding-left: 20px; padding-right: 20px; overflow: hidden; } .t-catalog__relevants__container .t-catalog__scroll-icon-wrapper { display: block; padding: 0 40px 20px 0; text-align: right; font-size: 0; } .t-catalog .t-popup { padding: 0 20px; } .t-catalog .t-popup__container { max-width: 640px; } .t-catalog__prod-popup__container { padding: 30px; } .t-catalog__prod-popup__col-left, .t-catalog__prod-popup__col-right { /* margin: 0; */ display: block; max-width: 100%; } .t-catalog__prod-popup__col-left { padding: 0; } .t-catalog__prod-popup__col-right { padding: 25px 0 0 0; } } @media screen and (max-width: 480px) { .t-catalog__card__btn { width: 100%; margin-left: 0 !important; margin-right: 0 !important; } .t-catalog__card__btn:not(:first-child) { margin-top: 10px; } /* ST-2522: переносим отступы в tpl (кроме рекомендуемых товаров) */ .t-catalog_card-template .t-catalog__grid-cont:not(.t-catalog__relevants-grid-cont) .t-catalog__card__btn:not(:first-child) { margin-top: 0; } .t-catalog .t-popup__container:not(.t-popup__container-static) { right: 20px; left: 20px; } .t-catalog__prod-popup__col-left, .t-catalog__prod-popup__col-right { margin: 0; } .t-catalog__relevants__container .t-col.t-catalog__relevants__title-wrapper { padding: 0; } .t-catalog__relevants-grid-cont .t-catalog__card__btns-wrapper a:last-child { margin-bottom: 0; } } @media screen and (max-width: 560px) { .t-catalog .t-popup { padding: 0; height: calc(100% + 130px); } .t-catalog .t-popup_show .t-popup__container { max-width: 100%; right: 0; left: 0; top: 50px; bottom: 0; -webkit-transform: translateY(0); transform: translateY(0); } .t-catalog .t-popup_show .t-popup__container.t-popup__container-static { max-width: 100%; min-height: 100vh; top: 0; margin: 50px 0 130px; } .t-catalog .t-popup__close { width: 100%; height: 50px; background: #000; position: fixed; display: table; z-index: 2; left: 0; right: 0; top: 0; } .t-catalog .t-popup__close-wrapper { display: table-cell; vertical-align: middle; text-align: right; width: 100%; padding-right: 20px; font-size: 0; } .t-catalog .t-popup__close-icon { width: 16px; } #allrecords[data-product-page='y'] .t-catalog .t-popup__close-icon g { fill: #fff; } .t-catalog__prod-popup__close-txt-wr { display: none; } .t-catalog__prod-popup__container { padding: 20px; } .t-catalog__prod-popup__col-right { padding-top: 30px; } .t-catalog__popup-container_8-cols .t-catalog__prod-popup__container { padding: 20px !important; } .t-catalog__popup-container_8-cols .t-catalog__prod-popup__info, .t-container_8 .t-catalog__prod-popup__info { padding-top: 30px; } } .t-catalog__prod-popup__title-wrapper { margin-bottom: 18px; } .t-catalog__prod-popup__brand { margin-top: 4px; color: #777; } .t-catalog__prod-popup__sku { margin-top: 4px; color: #777; } .t-catalog__prod-popup__text { margin-top: 20px; } .t-catalog__prod-popup__price-wrapper { margin-top: 0; } .t-catalog__prod-popup__btn-wrapper { margin-top: 20px; margin-bottom: 30px; display: flex; align-items: stretch; } .t-align_center .t-catalog__prod-popup__btn-wrapper { justify-content: center; } /* widthpx в типографике задаёт max-width. Блок с max-width иначе остаётся у левого края колонки. */ .t-catalog__prod-popup__info.t-align_center .t-typography__title, .t-catalog__prod-popup__info.t-align_center .t-typography__descr, .t-catalog__prod-popup__info.t-align_center .t-typography__sku, .t-catalog__prod-popup__info.t-align_center .t-typography__characteristics, .t-catalog__prod-popup__info.t-align_center .t-catalog__prod-popup__price, .t-catalog__prod-popup__info.t-align_center .t-catalog__prod-popup__price_old { margin-left: auto; margin-right: auto; } @media screen and (max-width: 561px) { .t-catalog__product-snippet .t-catalog__prod-popup__btn-wrapper-fixed, .t-popup .t-popup__container .t-catalog__prod-popup__btn-wrapper-fixed { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; padding: 20px; box-sizing: border-box; background: white; margin: 0; border-radius: 5px; box-shadow: 0 -8px 12px 0 rgba(0, 0, 0, 0.07); display: flex; } .t-catalog__product-snippet .t-catalog__prod-popup__btn-wrapper-fixed .t-catalog__prod-popup__btn, .t-popup .t-catalog__prod-popup__btn-wrapper-fixed .t-catalog__prod-popup__btn { flex: 1 1 auto; } } .t-catalog__prod-popup__btn { margin-bottom: 0; } .t-catalog__prod-popup__btn_disabled { opacity: 0.5; pointer-events: none; } .t-catalog__prod-popup__btn_disabled td { opacity: 0.7; } .t-catalog__prod-popup__btn:hover .t-btnflex__icon_has_hover:before { opacity: 0; visibility: hidden; transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1); } .t-catalog__prod-popup__btn:hover .t-btnflex__icon_has_hover::after { opacity: 1; visibility: visible; } .t-catalog .t-product__option { margin-top: 10px; margin-bottom: 10px; position: relative; } /* this style is used, when options are showed inside popup */ .t-catalog .js-catalog-product .t-catalog__prod-popup__info.t-align_center .js-product-controls-wrapper, .t-catalog .js-product.t-align_center .js-product-controls-wrapper { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; } .t-catalog .js-catalog-product .t-catalog__prod-popup__info.t-align_center .js-product-controls-wrapper .t-product__option, .t-catalog .js-product.t-align_center .js-product-controls-wrapper .t-product__option { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: flex-start; align-items: flex-start; } .t-catalog .t-product__option-title { padding-bottom: 3px; width: fit-content; } .t-catalog .t-catalog__card.t-align_center .t-product__option ~ .t-product__option { padding-left: 0px; } .t-catalog .t-align_center .t-product__option-title, .t-catalog .t-catalog__popup-container_8-cols .t-product__option-title { display: table-cell; padding: 0 8px 5px 0; vertical-align: middle; line-height: 1; } .t-catalog .t-product__option-variants { position: relative; display: table; min-width: 150px; } /* New styles for a new contols like option lists and option buttons */ .js-product .t-product__option-variants_list { position: relative; } .js-product .t-align_center .t-product__option-variants, .js-product .t-catalog__popup-container_8-cols .t-product__option-variants { display: table-cell; vertical-align: middle; } .js-product .t-product__option-variants:after { content: ' '; width: 0; height: 0; border-style: solid; border-width: 6px 5px 0 5px; border-color: #000 transparent transparent transparent; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); bottom: 0; pointer-events: none; } .js-product .t-product__option-select { width: 100%; border: 1px #ddd solid; background: #f8f8f8; color: #000; box-sizing: border-box; cursor: pointer; padding: 2px 30px 2px 10px; border-radius: 5px; -webkit-appearance: none; -moz-appearance: none; appearance: none; overflow-x: hidden; } .js-product .t-product__option-select::-ms-expand { width: 0; height: 0; opacity: 0; } /* Styled Options */ .js-product .t-product__option-variants.t-product__option-variants_custom:after { display: none; } .js-product .t-product__option .t-product__option-variants_custom { position: relative; display: flex; flex-wrap: wrap; box-sizing: border-box; min-width: auto; } .js-product .t-product__option .t-product__option-variants_custom.t-product__option-variants_simple { overflow-wrap: anywhere; } .js-product .t-product__option .t-product__option-variants_custom.t-product__option-variants_buttons.t-product__option-variants_image, .js-product .t-product__option .t-product__option-variants_custom.t-product__option-variants_buttons.t-product__option-variants_color, .js-product .t-product__option .t-product__option-variants_custom.t-product__option-variants_radio { margin: 5px 5px 0 5px; } .js-product .t-product__option-variants_custom.t-product__option-variants_radio { flex-direction: column; } .js-product .t-product__option-item { position: relative; cursor: pointer; box-sizing: border-box; display: flex; align-items: center; } .js-product .t-product__option-variants_custom .t-product__option-item.t-product__option-item_disabled { pointer-events: none; opacity: 0.4; } .js-product .t-product__option-input { visibility: hidden; position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; } .js-product .t-product__option-checkmark { position: relative; display: inline-block; box-sizing: border-box; height: 20px; } .js-product .t-product__option-item_buttons .t-product__option-checkmark { height: 0; } .js-product .t-product__option-variants_buttons .t-product__option-item { margin-right: 7px; margin-bottom: 7px; } .js-product .t-product__option-variants_buttons .t-product__option-item_simple { margin-bottom: 7px; padding: 7px; display: flex; align-items: center; justify-content: center; min-width: 30px; min-height: 30px; background-color: #ffffff; border: 1px solid #ddd; } .js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active { border: 1px solid rgba(0, 0, 0, 0.5); } .js-product .t-product__option-variants_custom .t-product__option-title { padding-bottom: 0; line-height: initial; overflow: hidden; text-overflow: ellipsis; } .js-product .t-product__option .t-product__option-variants_hidden, .record .js-product .t-product__option .t-product__option-variants_hidden { display: none; } /* Custom buttons */ .js-product .t-product__option-variants_buttons .t-product__option-item_simple:hover { border: 1px solid rgba(0, 0, 0, 0.5); } .js-product .t-product__option-variants_buttons .t-product__option-checkmark_color { width: 26px; height: 26px; background-color: #ffffff; border: 1px solid #ddd; border-radius: 50%; } .js-product .t-product__option-variants_buttons .t-product__option-input:checked + .t-product__option-checkmark_color:before { position: absolute; content: ''; left: -5px; top: -5px; width: calc(100% + 8px); height: calc(100% + 8px); border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.5); } .js-product .t-product__option-variants_buttons .t-product__option-checkmark_image { width: 50px; height: 50px; background-color: #ffffff; background-size: cover; background-repeat: no-repeat; border: 1px solid #ddd; } .js-product .t-product__option-variants_buttons .t-product__option-input:checked + .t-product__option-checkmark_image:before { position: absolute; content: ''; left: -5px; top: -5px; width: calc(100% + 8px); height: calc(100% + 8px); border: 1px solid rgba(0, 0, 0, 0.5); } .js-product .t-product__option-variants_buttons .t-product__option-title_buttons { padding-right: 0; } /* Custom buttons with tooltops for color and image options */ .js-product .t-product__option-variants_buttons .t-product__option-title_color, .js-product .t-product__option-variants_buttons .t-product__option-title_image { display: none; } .js-product .t-product__option-variants_buttons .t-product__option-item_color:hover .t-product__option-title, .js-product .t-product__option-variants_buttons .t-product__option-item_image:hover .t-product__option-title { padding: 4px 10px; display: block; position: absolute; background-color: black; color: white !important; border-radius: 4px; } .js-product .t-product__option-variants_buttons .t-product__option-item_color:hover .t-product__option-title { bottom: 36px; transform: translateX(calc(-50% + 13px)); } .js-product .t-product__option-variants_buttons .t-product__option-item_image:hover .t-product__option-title { bottom: 60px; transform: translateX(calc(-50% + 25px)); } .js-product .t-product__option-variants_buttons .t-product__option-item_color:hover .t-product__option-title:after, .js-product .t-product__option-variants_buttons .t-product__option-item_image:hover .t-product__option-title:after { position: absolute; content: ''; display: block; bottom: -4px; left: calc(50% - 5px); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid black; } .js-product .t-product__option-variants_buttons .t-product__option-item_image:hover .t-product__option-title { padding: 4px 10px; display: block; position: absolute; background-color: black; color: white; border-radius: 4px; bottom: 60px; transform: translateX(calc(-50% + 25px)); } /* Custom option dropdown */ .js-product .t-product__option-selected_select { padding: 2px 30px 2px 10px; position: relative; display: table; min-width: 150px; min-height: 28px; background: rgb(248, 248, 248); border: 1px solid rgb(221, 221, 221); color: rgb(0, 0, 0); box-sizing: border-box; cursor: pointer; border-radius: 5px; } .js-product .t-product__option { position: relative; } .js-product .t-product__option-selected_select.t-product__option-selected_color, .js-product .t-product__option-selected_select.t-product__option-selected_image { display: flex; align-items: center; width: -moz-fit-content; width: fit-content; max-width: 100%; } .js-product .t-product__option-selected_select:after { content: ' '; width: 0; height: 0; border-style: solid; border-width: 6px 5px 0 5px; border-color: #000 transparent transparent transparent; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); bottom: 0; pointer-events: none; } .js-product .t-product__option .t-product__option-variants_select { padding: 5px 10px; position: absolute; z-index: 10; top: 25px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-wrap: nowrap; flex-wrap: nowrap; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; min-width: 180px; max-width: 250px; max-height: 40vh; overflow-y: auto; background-color: #ffffff; color: rgb(0, 0, 0); border: 1px solid rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 4px 10px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 10px 2px rgba(0, 0, 0, 0.1); border-radius: 5px; } .js-product .t-product__option-item_select { padding: 8px 10px; margin-left: -10px; margin-right: -10px; display: flex; align-items: center; width: calc(100% + 20px); } .js-product .t-product__option-item_select.t-product__option-item_active { background-color: rgba(0, 0, 0, 0.05); } .js-product .t-product__option-item_select:hover { background-color: rgba(0, 0, 0, 0.1); } .js-product .t-product__option-variants_select .t-product__option-checkmark_color, .js-product .t-product__option-selected_color .t-product__option-selected-checkmark { display: block; flex-shrink: 0; margin-right: 5px; width: 16px; height: 16px; background-color: #ffffff; border: 1px solid #ddd; border-radius: 50%; } .js-product .t-product__option-variants_select .t-product__option-checkmark_image, .js-product .t-product__option-selected_image .t-product__option-selected-checkmark { display: block; flex-shrink: 0; margin-right: 5px; width: 32px; height: 32px; background-color: #ffffff; border: 1px solid #ddd; /* border-radius: 50%; */ background-repeat: no-repeat; background-size: cover; } .js-product .t-product__option-title_select, .t-product__option-selected-title { overflow: hidden; display: block; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; } /* Custom radio buttons */ .js-product .t-product__option-variants_radio .t-product__option-item { padding-left: 26px; margin-bottom: 10px; width: 100%; min-height: 14px; } .js-product .t-product__option-variants_radio .t-product__option-item_color, .js-product .t-product__option-variants_radio .t-product__option-item_image { display: flex; align-items: center; width: 100%; } .js-product .t-product__option-variants_radio .t-product__option-checkmark_radio.t-product__option-checkmark_color { margin-right: 5px; flex-shrink: 0; width: 24px; height: 24px; background-color: #ffffff; border: 1px solid #ddd; border-radius: 4px; } .js-product .t-product__option-variants_radio .t-product__option-checkmark_radio.t-product__option-checkmark_image { display: block; flex-shrink: 0; margin-right: 5px; width: 32px; height: 32px; background-color: #ffffff; border: 1px solid #ddd; border-radius: 4px; background-repeat: no-repeat; background-size: cover; } .js-product .t-product__option-variants_radio .t-product__option-input + .t-product__option-checkmark:before, .js-product .t-product__option-variants_radio .t-product__option-input:checked + .t-product__option-checkmark:after { position: absolute; content: ''; border-radius: 50%; } .js-product .t-product__option-item_radio .t-product__option-input + .t-product__option-checkmark:before { left: -26px; width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.2); top: 50%; transform: translateY(-50%); } .js-product .t-product__option-item_radio .t-product__option-input:checked + .t-product__option-checkmark:after { left: -22px; top: 4px; width: 10px; height: 10px; background-color: rgba(0, 0, 0, 0.2); top: 50%; transform: translateY(-50%); } .js-product .t-product__option-item_radio .t-product__option-input + .t-product__option-checkmark.t-product__option-checkmark_image:before { left: -26px; } .js-product .t-product__option-item_radio .t-product__option-input:checked + .t-product__option-checkmark.t-product__option-checkmark_image:after { left: -22px; } .js-product .t-product__option-item_radio.t-product__option-item_active .t-product__option-input + .t-product__option-checkmark:before { border: 1px solid rgba(0, 0, 0, 0.5); } .js-product .t-product__option-item_radio.t-product__option-item_active .t-product__option-input:checked + .t-product__option-checkmark:after { background-color: rgba(0, 0, 0, 0.5); } .js-product .t-product__option-title_radio { overflow: hidden; display: inline-block; max-width: 100%; line-height: 1; white-space: nowrap; text-overflow: ellipsis; } .t-product__checkbox-wrap { margin-left: 5px; margin-top: 5px; } .t-product__checkbox-wrap .t-checkbox__control + .t-checkbox__control { margin-top: 10px; } @media screen and (max-width: 640px) { .t-catalog .t-product__option-select { font-size: 16px; } } @media screen and (max-width: 1240px) { .t-catalog__grid-cont_mobile-one-row.t-catalog__relevants-grid-cont .t-catalog__card { max-width: 225px; } .t-catalog__prod-popup__container .t-catalog__grid-cont_mobile-one-row.t-catalog__relevants-grid-cont .t-catalog__card { max-width: 220px; } .t-catalog__prod-snippet__container .t-catalog__grid-cont_mobile-one-row.t-catalog__relevants-grid-cont .t-catalog__card { max-width: 220px; } } @media screen and (min-width: 1240px) { .t-catalog__grid-cont_mobile-one-row.t-catalog__relevants-grid-cont .t-catalog__card { max-width: 270px; } .t-catalog__prod-popup__container .t-catalog__grid-cont_mobile-one-row.t-catalog__relevants-grid-cont .t-catalog__card { max-width: 260px; } } .t-catalog .t-slds__wrapper { padding: 0 !important; } .t-catalog .t-slds__arrow_wrapper { height: 65% !important; top: 50%; transform: translateY(-50%); } .t-catalog:has(.t-slds__videowrapper .t-slds__frame-wrapper > *) .t-slds__arrow_wrapper { height: 25% !important; } /* ----- product popup styles end ----- */ @media screen and (max-width: 960px) { .t-catalog__grid-cont_mobile-one-row.t-catalog__relevants-grid-cont .t-catalog__card__textwrapper { height: auto !important; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-col { padding: 0; margin-left: 20px; margin-right: 20px; } .t-catalog__relevants__container .js-product-relevant:first-child:not(:only-child) { padding-left: 0; } .t-catalog__relevants__container .js-product-relevant:last-child:not(:only-child) { padding-right: 0; } } @media screen and (min-width: 560px) { /* Popup redesign: Desktop */ .t-catalog .t-popup.t-popup_show { transition: unset; } .t-catalog .t-popup .t-popup__container { opacity: 0; -webkit-transform: translateY(50px); -ms-transform: translateY(50px); transform: translateY(50px); transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1); } .t-catalog .t-popup.t-popup_show .t-popup__container { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); -webkit-transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1); transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1); transition-delay: 0.3s; } } @media screen and (max-width: 560px) { .t-catalog__relevants__container .js-product-relevant:first-child { padding-left: 0; } .t-catalog__relevants__container .js-product-relevant:last-child { padding-right: 0; } .t-catalog__mobile-two-columns .js-product .t-product__option-title_radio { white-space: unset; } /* Popup redesign: mobile */ .t-catalog .t-popup__container { transform: none; transform: translateX(100%) scale(1); } .t-catalog .t-popup_show .t-popup__container { transform: translateY(0); transform: translateX(-100%); } .t-catalog .t-popup__container-animated { transition: transform ease-out 0.3s; } .t-catalog .t-popup_show .t-popup__container-animated { transition: transform ease-in 0.3s; } .t-catalog .t-popup__container.t-popup__container-static { transform: translateY(0); transform: translateX(100%) scale(1); } .t-catalog .t-popup_show .t-popup__container.t-popup__container-static { transform: translateX(0%) scale(1); } .t-catalog .t-popup .t-popup__close { transform: translateX(100%) scale(1); transition: transform ease-out 0.3s; } .t-catalog .t-popup.t-popup_show .t-popup__close { transform: translateX(0%) scale(1); transition: transform ease-in 0.3s; } .t-catalog .t-popup__close:hover, .t-catalog .t-popup .t-popup__close:hover { opacity: 1; } /* .t-catalog .t-popup .t-popup__close.t-popup__close-solid, .t-catalog .t-popup__close.t-popup__close-solid { opacity: 1; } */ .t-catalog .t-popup .t-popup__close.t-popup__close-opacity-scroll, .t-catalog .t-popup__close.t-popup__close-opacity-scroll { background-color: rgba(255, 255, 255, 0); } /* Remove and replace cross icon with arrow icon*/ .t-catalog .t-popup__close-wrapper { position: relative; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .t-catalog .t-popup__close-wrapper .t-popup__close-icon_arrow { width: 26px; position: absolute; left: 12px; top: 12px; } .t-catalog .t-popup__close-wrapper .t-popup__close-icon_cross { display: none; } .t-catalog .t-popup .t-popup__close { position: fixed; } /*Remove image/slider paddings */ .t-catalog .t-catalog__product-snippet .t-catalog__prod-popup__col-left, .t-catalog__product-snippet .t-catalog__prod-popup__col-right { padding-left: 0; padding-right: 0; } .t-catalog .t-catalog__prod-popup__info, .t-catalog .t-slds__thumbsbullet-wrapper { padding-left: 20px; padding-right: 20px; } .t-catalog .t-slds__thumbsbullet-wrapper { width: calc(100% - 40px); } .t-catalog .t-catalog__prod-popup__container .t-catalog__product-popup .t-slds { margin-left: -20px; margin-right: -20px; } .t-catalog .t-catalog__prod-popup__container .t-catalog__prod-popup__info { padding-left: 0; padding-right: 0; } .t-catalog .t-catalog__prod-popup__container { padding-top: 0; padding-bottom: 60px; } /* Margins rework and unify for snippet/popup */ /* .t-catalog .t-popup_show .t-popup__container.t-popup__container-static { margin-top: 0; } */ } @media screen and (min-width: 560px) { .t-catalog .t-popup__close-wrapper .t-popup__close-icon_arrow { display: none; } /* The position below fixes weird overlapping bug in Safari */ .t-catalog .t-popup__close { position: absolute; background-color: transparent !important; } .t-catalog .t-catalog__prod-popup__close-txt-wr { position: absolute; } } @media screen and (min-width: 640px) and (max-width: 960px) { .t-catalog__relevants__container .t-slds__item_active .js-product-relevant { padding-left: 0; padding-right: 10px; } .t-catalog__relevants__container .t-slds__item_active + div .js-product-relevant { padding-right: 0; padding-left: 10px; } } .t-catalog__relevants__title { margin: 70px 0 40px; letter-spacing: inherit; padding-left: 0; } @media screen and (min-width: 960px) { .t-catalog__relevants__container .js-product-relevant:first-child:not(:only-child) { margin-left: 0; } .t-catalog__relevants__container .js-product-relevant:last-child:not(:only-child) { margin-right: 0; } .t-catalog__relevants__container .js-product-relevant + .js-product-relevant + .js-product-relevant + .js-product-relevant { margin-right: 0; } } .t-catalog__relevants-grid-cont .t-catalog__card__wrap_all { display: flex; flex-direction: column; flex: 1; background-color: transparent !important; } @media screen and (min-width: 960px) { .t-catalog__card__imgwrapper:hover .t-catalog__card__bgimg_hover, .t-catalog__card__imgwrapper:hover .t-catalog__card__img_hover { opacity: 0; } .t-catalog__card__imgwrapper:hover .t-catalog__card__bgimg_second, .t-catalog__card__imgwrapper:hover .t-catalog__card__img_second { z-index: 3; opacity: 1; } } .t-catalog__relevants__title-wrapper { margin-left: 20px; margin-right: 20px; } @media screen and (min-width: 1200px) { .t-catalog__prod-popup__container .js-catalog-relevants-grid-cont { margin-left: 20px; margin-right: 20px; } } @media screen and (min-width: 960px) and (max-width: 1200px) { .t-catalog__relevants__title-wrapper { margin-left: 10px; margin-right: 10px; } .t-catalog__prod-popup__container .js-catalog-relevants-grid-cont { margin-left: 10px; margin-right: 10px; } } @media screen and (max-width: 960px) { .t-catalog__grid-cont_mobile-one-row .t-catalog__card-list { flex-wrap: nowrap; min-width: 100%; } .t-catalog__relevants__title { margin: 40px 0 10px; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-grid { font-size: 0; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-grid .t-catalog__stretch-col:not(.t-catalog__stretch-col_100) { width: calc(50% - var(--t-catalog-mobile-col-gap, 0px) / 2); } .t-catalog__relevants-grid-cont.t-catalog__grid-cont .t-catalog__card-list::after { content: ''; display: block; width: 100%; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont .t-col_8 .t-catalog__card__imgwrapper_original-ratio { padding-bottom: 0px !important; font-size: 0; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont .t-col_8 .t-catalog__card__imgwrapper_original-ratio:has(> .t-catalog__card__bgimg_placeholder) { padding-bottom: 100% !important; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont .t-col_8 .t-catalog__card__imgwrapper_original-ratio .t-catalog__card__img { position: initial; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; box-sizing: border-box; padding: 0px !important; scrollbar-width: none; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-col, .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-catalog__stretch-col { min-width: 38%; max-width: 38%; margin-bottom: 0px !important; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-col:first-child { margin-left: 20px; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-col:first-child { margin-left: 0; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-catalog__empty-part-msg-cont, .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-catalog__error-msg-cont { min-width: auto; max-width: 100%; margin-right: 20px; } .t-catalog__relevants__container .t-catalog__scroll-icon-wrapper { display: block; padding: 0 0 20px 0; text-align: right; font-size: 0; } @-webkit-keyframes store-horizontal-scroll-icon { 0% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 0; } 10% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 0; } 20% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 1; } 70% { -webkit-transform: translate3d(0, 0, 0); opacity: 1; } 80% { -webkit-transform: translate3d(0, 0, 0); opacity: 1; } 81% { -webkit-transform: translate3d(0, 0, 0); opacity: 0; } 100% { -webkit-transform: translate3d(0, 0, 0); opacity: 0; } } @keyframes store-horizontal-scroll-icon { 0% { transform: translate3d(-20px, 0, 0); opacity: 0; } 10% { transform: translate3d(-20px, 0, 0); opacity: 0; } 20% { transform: translate3d(-20px, 0, 0); opacity: 1; } 70% { transform: translate3d(0, 0, 0); opacity: 1; } 80% { transform: translate3d(0, 0, 0); opacity: 1; } 81% { transform: translate3d(0, 0, 0); opacity: 0; } 100% { transform: translate3d(0, 0, 0); opacity: 0; } } .t-catalog__scroll-icon { -webkit-animation: store-horizontal-scroll-icon 1.5s infinite; animation: store-horizontal-scroll-icon 1.5s infinite; } .t-catalog__relevants__container .t-catalog__card__img_second { display: none; } .t-catalog__grid-cont_mobile-one-row .t-catalog__card__price-wrapper { margin-bottom: 8px; } .t-catalog__relevants__container.t-catalog__grid-cont_mobile-one-row .t-product__option-variants { min-width: 100px; } .t-catalog__relevants__container { margin-left: 10px; margin-right: 10px; } .t-catalog__relevants__title-wrapper { padding-left: 0; margin: 0; } } @media screen and (max-width: 960px) { .t-catalog__card-list { /* На мобилке отступы в два раза меньше */ column-gap: var(--t-catalog-mobile-col-gap); } .t-catalog__grid-cont_mobile-grid { font-size: 0; } .t-catalog__empty-part-msg { font-size: 14px; } .t-catalog__grid-cont_mobile-grid .t-catalog__stretch-col { width: calc(50% - var(--t-catalog-mobile-col-gap, 0px) / 2); } .t-catalog__grid-cont .t-catalog__card-list::after { content: ''; display: block; width: 100%; } .t-catalog__grid-cont .t-col_8 .t-catalog__card__imgwrapper_original-ratio { padding-bottom: 0px !important; font-size: 0; } .t-catalog__grid-cont .t-col_8 .t-catalog__card__imgwrapper_original-ratio:has(> .t-catalog__card__bgimg_placeholder) { padding-bottom: 100% !important; } .t-catalog__grid-cont .t-col_8 .t-catalog__card__imgwrapper_original-ratio .t-catalog__card__img { position: initial; } .t-catalog__grid-cont_mobile-one-row { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0px !important; } .t-catalog__grid-cont_mobile-one-row .t-col, .t-catalog__grid-cont_mobile-one-row .t-catalog__stretch-col { flex: 0 0 calc(80% - var(--t-catalog-mobile-col-gap, 0px)); box-sizing: border-box; width: calc(80% - var(--t-catalog-mobile-col-gap, 0px)); max-width: calc(80% - var(--t-catalog-mobile-col-gap, 0px)); min-width: calc(80% - var(--t-catalog-mobile-col-gap, 0px)); margin-bottom: 0px !important; } .t-catalog__grid-cont_mobile-one-row .t-col:first-child { margin-left: 20px; } .t-catalog__relevants-grid-cont.t-catalog__grid-cont_mobile-one-row .t-col:first-child { margin-left: 0; } .t-catalog__grid-cont_mobile-one-row .t-catalog__empty-part-msg-cont, .t-catalog__grid-cont_mobile-one-row .t-catalog__error-msg-cont { min-width: auto; max-width: 100%; margin-right: 20px; } .t-catalog__scroll-icon-wrapper { display: block; padding: 0 40px 20px 0; color: #a1a1a1; text-align: right; font-size: 0; mix-blend-mode: multiply; } .t-catalog__relevants__container .t-catalog__scroll-icon-wrapper { padding: 0 0 20px 0; } @-webkit-keyframes store-horizontal-scroll-icon { 0% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 0; } 10% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 0; } 20% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 1; } 70% { -webkit-transform: translate3d(0, 0, 0); opacity: 1; } 80% { -webkit-transform: translate3d(0, 0, 0); opacity: 1; } 81% { -webkit-transform: translate3d(0, 0, 0); opacity: 0; } 100% { -webkit-transform: translate3d(0, 0, 0); opacity: 0; } } @keyframes store-horizontal-scroll-icon { 0% { transform: translate3d(-20px, 0, 0); opacity: 0; } 10% { transform: translate3d(-20px, 0, 0); opacity: 0; } 20% { transform: translate3d(-20px, 0, 0); opacity: 1; } 70% { transform: translate3d(0, 0, 0); opacity: 1; } 80% { transform: translate3d(0, 0, 0); opacity: 1; } 81% { transform: translate3d(0, 0, 0); opacity: 0; } 100% { transform: translate3d(0, 0, 0); opacity: 0; } } .t-catalog__scroll-icon { -webkit-animation: store-horizontal-scroll-icon 1.5s infinite; animation: store-horizontal-scroll-icon 1.5s infinite; } .t-catalog__card__img_second { display: none; } .t-catalog__grid-cont_mobile-one-row .t-product__option-variants { min-width: 100px; } } @media screen and (max-width: 640px) { .t-catalog__relevants__container { margin: 0; } .t-catalog__grid-cont_mobile-grid { box-sizing: border-box; } .t-catalog__grid-cont_mobile-grid .t-col:not(.t-col_8) { padding-left: 10px; padding-right: 10px; } .t-catalog__grid-cont_mobile-one-row .t-col:first-child { margin-left: 0; } .t-catalog__grid-cont_mobile-one-row .t-catalog__empty-part-msg-cont, .t-catalog__grid-cont_mobile-one-row .t-catalog__error-msg-cont { min-width: auto; max-width: 100%; margin-right: 0px; } .t-catalog__grid-cont_col-width_stretch.t-catalog__grid-cont_mobile-one-row .t-catalog__empty-part-msg-cont, .t-catalog__grid-cont_mobile-one-row .t-catalog__error-msg-cont { margin-right: 15px; } .t-catalog__scroll-icon-wrapper { padding: 0 20px 10px 0; } } @media screen and (max-width: 480px) { .t-catalog__grid-cont:not(.t-catalog__mobile-two-columns):not(.t-catalog__cont-w-filter) .t-catalog__card__imgwrapper_original-ratio { padding-bottom: 0px !important; font-size: 0; } .t-catalog__grid-cont:not(.t-catalog__mobile-two-columns):not(.t-catalog__cont-w-filter) .t-catalog__card__imgwrapper_original-ratio:has(> .t-catalog__card__bgimg_placeholder) { padding-bottom: 100% !important; } .t-catalog__grid-cont:not(.t-catalog__mobile-two-columns):not(.t-catalog__cont-w-filter) .t-catalog__card__imgwrapper_original-ratio .t-catalog__card__img { position: initial; } .t-catalog__grid-cont_mobile-grid .t-catalog__stretch-col { width: 100%; } .t-catalog__grid-cont_mobile-grid:not(.t-catalog__mobile-two-columns) .t-catalog__stretch-col:last-child { margin-bottom: 0; } .t-catalog__grid-cont_mobile-one-row .t-catalog__empty-part-msg-cont, .t-catalog__grid-cont_mobile-one-row .t-catalog__error-msg-cont { min-width: auto; max-width: 100%; } .t-catalog__grid-cont_mobile-one-row.t-catalog__mobile-two-columns .t-item { flex: 0 0 calc(50% - var(--t-catalog-mobile-col-gap, 0px) / 2); box-sizing: border-box; width: calc(50% - var(--t-catalog-mobile-col-gap, 0px) / 2); max-width: calc(50% - var(--t-catalog-mobile-col-gap, 0px) / 2); min-width: calc(50% - var(--t-catalog-mobile-col-gap, 0px) / 2); padding-left: 10px; padding-right: 10px; overflow: hidden; } /* two columns in mobile */ .t-catalog__mobile-two-columns.t-catalog__grid-cont_mobile-grid .t-catalog__stretch-col { width: calc(50% - var(--t-catalog-mobile-col-gap, 0px) / 2); display: inline-block; } .t-catalog__mobile-two-columns.t-catalog__grid-cont.t-catalog__valign-buttons .t-catalog__card.t-item { display: inline-flex; } .t-catalog__mobile-two-columns .t-product__option-variants { min-width: initial; } .t-catalog__mobile-two-columns .t-catalog__card__title.t-name { font-size: 14px; } .t-catalog__mobile-two-columns .t-catalog__card__btn.t-btn:not(.t-btnflex, .t-btntext) { font-size: 12px; } .t-catalog__mobile-two-columns .t-catalog__card__btn.t-catalog__card__btn_second.t-btn:not(.t-btnflex, .t-btntext) { font-size: 12px; } .t-catalog__mobile-two-columns .t-catalog__card__btn.t-btn:not(.t-btnflex, .t-btntext) { padding: 0 10px; } .t-catalog__mobile-two-columns .t-catalog__card__btn.t-catalog__card__btn_second.t-btn:not(.t-btnflex, .t-btntext) { padding: 0px 10px; } .t-catalog__imgwrapper_mobile-nopadding { padding-bottom: 0 !important; font-size: 0; } .t-catalog__imgwrapper_mobile-nopadding .t-catalog__img { position: initial; } .t-catalog__col_mobile-grid { width: 100%; display: block; } .t-catalog__container_mobile-flex .t-catalog__col { min-width: 80%; max-width: 80%; } .t-catalog__grid-cont .mobile-two-columns.t-catalog__valign-buttons .t-item { display: flex; } .t-catalog__grid-cont.t-catalog__valign-buttons .t-item { display: flex; flex-direction: column; justify-content: space-between; } .mobile-two-columns .t-catalog__title.t-name { font-size: 14px; word-break: normal; overflow-wrap: anywhere; } .mobile-two-columns .t-catalog__btn.t-btn { font-size: 12px; padding: 0 10px; } .mobile-two-columns .t-catalog__btn.t-catalog__btn_second.t-btn { font-size: 12px; padding: 0 10px; } } /* vertical align buttons */ @media screen and (max-width: 960px) { /* vertical align buttons */ .t-catalog__grid-cont_mobile-one-row.t-catalog__valign-buttons.js-catalog-grid-cont { -ms-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; flex-wrap: nowrap; } } .t-catalog__valign-buttons.js-catalog-grid-cont { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .t-catalog__card__wrap_txt-and-btns { display: flex; flex-direction: column; } .t-catalog__card-list_style_tile.t-catalog__card-list__vertical-align-buttons .t-catalog__card__btns-wrapper, .t-catalog__relevants__container .t-catalog__card-list__vertical-align-buttons .t-catalog__card__btns-wrapper { margin-top: auto !important; } .t-catalog__card__wrap_txt-and-btns__vertical-align { display: flex; flex-direction: column; flex: 1; } .t-catalog__card__title.t-name, .t-catalog__prod-popup__name.t-name { word-break: break-word; } .t-catalog__valign-buttons.js-catalog-grid-cont .t-item, .t-catalog__valign-buttons.js-catalog-grid-cont .t-item .t-catalog__card__wrap_all .t-catalog__card__wrap_txt-and-btns, .t-popup .t-catalog__valign-buttons .t-item { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } .t-catalog__valign-buttons.js-catalog-grid-cont .t-item .t-catalog__card__wrap_all .t-catalog__card__wrap_txt-and-btns { display: flex; flex-direction: column; flex: 1; } .t-catalog__relevants__container .t-catalog__valign-buttons .t-slds .t-item, .t-catalog__relevants__container .t-catalog__valign-buttons .t-slds .t-slds__wrapper { height: 100%; } .t-catalog__valign-buttons.t-container:after, .t-catalog__valign-buttons.t-container:before, .t-catalog__valign-buttons.t-container_100:after, .t-catalog__valign-buttons.t-container_100:before, .t-catalog__valign-buttons.t-container_10:after, .t-catalog__valign-buttons.t-container_10:before, .t-catalog__valign-buttons.t-container_8:after, .t-catalog__valign-buttons.t-container_8:before { width: 0; } /* ----- */ /* single product styles */ .t-catalog__single-prod-preloader__text { background-color: rgba(123, 123, 123, 0.2); border-radius: 3px; height: 24px; margin-top: 15px; -webkit-animation: tFeedPreloaderFlickerAnimation 1.5s infinite; animation: tFeedPreloaderFlickerAnimation 1.5s infinite; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; -webkit-animation-delay: 1.5s; animation-delay: 1.5s; } .t-catalog__single-prod-preloader__text:first-child { max-width: 60%; margin-top: 0px; height: 34px; } .t-catalog__single-prod-preloader__text:last-child { max-width: 80%; } .t-catalog__relevants-grid-cont { position: relative; } @media screen and (min-width: 961px) { .t-catalog__relevants-grid-cont.t-catalog__valign-buttons.t-catalog__grid-cont_mobile-one-row { display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; flex-wrap: wrap; } } @media screen and (max-width: 960px) { .t-catalog__relevants__container .t-slds__arrow-left { left: auto; right: 100%; } .t-catalog__relevants__container .t-slds__arrow-right { right: auto; left: 100%; } } @media screen and (min-width: 1040px) { .t-catalog__relevants__container .t-slds__arrow-left { left: auto; right: 200%; } .t-catalog__relevants__container .t-slds__arrow-right { right: auto; left: 200%; } } .t-catalog__relevants__container .t-slds__arrow_wrapper { display: block !important; opacity: 1 !important; } @media screen and (max-width: 640px) { .t-catalog__relevants__container .t-slds__arrow-left { left: 10px; right: auto; } .t-catalog__relevants__container .t-slds__arrow-right { right: 10px; left: auto; } } /* snippet */ body.t-catalog-product-template-page { min-height: 100vh; display: flex; flex-direction: column; } body.t-catalog-product-template-page #allrecords { flex: 1 0 auto; } .t-catalog__prod-snippet__container { padding-top: 120px; padding-bottom: 120px; } .t-catalog__product-snippet .t-container > div:after { content: ''; display: block; height: 0; clear: both; } @media screen and (max-width: 560px) { .t-catalog__prod-snippet__container { padding-top: 50px; padding-bottom: 60px; } .t-catalog__prod-snippet__container .t-catalog__prod-popup__breadcrumbs { margin-top: 0; } } @media screen and (max-width: 980px) { .t-catalog__product-snippet .t-container { max-width: 640px; } .t-catalog .t-catalog__product-snippet .t-catalog__tabs.t-col[data-st-product-if='tabs'] { padding-left: 20px; padding-right: 20px; } .t-catalog__product-snippet .t-catalog__prod-popup__col-right, .t-catalog__product-snippet .t-catalog__prod-popup__col-left { padding-left: 20px; padding-right: 20px; } } .t-catalog__prod-snippet__container .t-catalog__relevants__container .t-catalog__valign-buttons .t-item { -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; } .t-catalog__prod-snippet__container .t-catalog__relevants__container, .t-catalog__prod-snippet__container .t-catalog__relevants__container .t-catalog__valign-buttons .t-item { display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-direction: column; -webkit-flex-direction: column; flex-direction: column; } .t-catalog__prod-snippet__container .t-catalog__relevants__container .t-item .t-catalog__card__btns-wrapper { margin-top: 20px; } .t706 .t-form__errorbox-middle { margin-top: 15px; } /* end snippet */ /* video in catalog slider */ .t-slds__wrapper { position: relative; } .t-slds__items-wrapper .t-slds__wrapper .t-slds__videowrapper { width: 100%; height: 100%; } .t-slds__play_icon { z-index: 2; cursor: pointer; } .t-slds__thumbsbullet .t-slds__play_icon { opacity: 0.91; width: 30px; height: 30px; } .t-slds__frame-wrapper { width: 100%; height: 100%; top: 0; left: 0; position: absolute; } .t-slds__frame { background-color: #000000; } /* end video in catalog slider */ /* quantity input for store btn */ .t-catalog__card__btns-wrapper--quantity a { margin-left: 0 !important; margin-right: 0 !important; } .t-catalog__card__btns-wrapper--quantity .t-catalog__prod__quantity { margin-left: 0 !important; margin-right: 4px !important; } .t-catalog__prod__quantity + a[href='#order'] { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; width: unset; } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity { display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; vertical-align: top; margin: 0 4px 8px 0; border: 1px solid var(--t-catalog-quantity-border, #777); font-size: 14px; background-color: var(--t-catalog-quantity-bg, #fff); box-sizing: border-box; min-width: 80px; } .t-catalog__prod-popup__btn-wrapper .t-catalog__prod__quantity { margin-bottom: 0; } @media screen and (max-width: 480px) { /* высота как у кнопки на узких экранах */ .t-catalog__prod__quantity { height: 50px; } } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity_xs { font-size: 13px; height: 35px; } .t-catalog__prod__quantity_sm { font-size: 14px; height: 45px; } .t-catalog__prod__quantity_smd { font-size: 15px; height: 50px; } .t-catalog__prod__quantity_md { font-size: 16px; height: 60px; } .t-catalog__prod__quantity_lg { font-size: 22px; height: 60px; } .t-catalog__prod__quantity_xl { font-size: 26px; height: 80px; } .t-catalog__prod__quantity_xxl { font-size: 30px; height: 100px; } .t-catalog__prod__quantity a { display: inline-block; } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity input[type='number']::-webkit-inner-spin-button, .t-catalog__prod__quantity input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .t-catalog__prod__quantity input[type='number'] { -webkit-appearance: textfield; -moz-appearance: textfield; appearance: textfield; } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity-input { text-align: center; width: 30px; height: 30px; min-width: 0; padding: 0; vertical-align: top; border: none; background-color: transparent; color: var(--t-catalog-quantity-color, #000); } .t-catalog__prod__quantity-input:focus { outline: none; } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity__minus-wrapper, .t-catalog__prod__quantity__plus-wrapper { min-width: 15px; width: 25px; height: 25px; margin: 0 5px; cursor: pointer; } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity__minus { /* default style */ background: linear-gradient(var(--t-catalog-quantity-color, #777), var(--t-catalog-quantity-color, #777)), transparent; } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity__plus { /* default style */ background: linear-gradient(var(--t-catalog-quantity-color, #777), var(--t-catalog-quantity-color, #777)), linear-gradient(var(--t-catalog-quantity-color, #777), var(--t-catalog-quantity-color, #777)), transparent; } /* TODO ST-2598: удалить после открытия на всех */ .t-catalog__prod__quantity__minus, .t-catalog__prod__quantity__plus { display: inline-block; width: 100%; height: 100%; background-position: center; background-size: 50% 1px, 1px 50%; background-repeat: no-repeat; border-radius: 50px; } @media screen and (max-width: 320px) { .t-catalog__prod__quantity + a[href='#order'] { margin-left: 0 !important; margin-right: 0 !important; } .t-catalog__prod__quantity { margin-left: 0 !important; margin-right: 4px !important; } .t-catalog__prod__quantity-input { width: 20px; } .t-catalog__prod__quantity__minus-wrapper, .t-catalog__prod__quantity__plus-wrapper { margin: 0; } } @media screen and (max-width: 670px) { .t-catalog__card .t-catalog__prod__quantity { position: relative; margin-right: 4px; } .t-catalog__card .t-catalog__prod__quantity + .t-catalog__card__btn { margin-left: 4px; margin-right: 0; margin-top: 0; } .t-catalog__prod__quantity + .t754__btn, .t-catalog__prod__quantity + .t776__btn, .t-catalog__prod__quantity + .t778__btn, .t-catalog__prod__quantity + .t786__btn { margin-top: 0; } .t-catalog__prod__quantity-input { font-size: 16px; } } @media screen and (min-width: 320px) { .t-catalog__card__btns-wrapper--quantity { display: inline-block; max-width: 100%; } .t-catalog__card__btns-wrapper--quantity a:not([href^='#order']) { display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; } } @media screen and (min-width: 961px) and (max-width: 1200px) { .t-col_3 .t-catalog__prod__quantity, .t-col_3 .t-catalog__prod__quantity + a[href='#order'], .t-col_3 .t-catalog__prod__quantity-input { width: 100%; } .t-col_3 .t-catalog__prod__quantity { margin-right: 0; } .t-col_3 .t-catalog__prod__quantity-input { width: 100%; } } @media screen and (min-width: 481px) and (max-width: 575px) { .t-catalog__grid-cont_mobile-grid .t-col:not(.t-col_8):not(.t-col_12) .t-catalog__prod__quantity, .t-catalog__grid-cont_mobile-grid .t-col:not(.t-col_8):not(.t-col_12) .t-catalog__prod__quantity-input, .t-catalog__grid-cont_mobile-grid .t-col:not(.t-col_8):not(.t-col_12) .t-catalog__prod__quantity + a[href='#order'] { width: 100%; margin-left: 0; margin-right: 0; } } @media screen and (max-width: 481px) { .t-catalog__mobile-two-columns .t-catalog__card .t-catalog__prod__quantity, .t-catalog__mobile-two-columns .t-catalog__card .t-catalog__prod__quantity-input, .t-catalog__mobile-two-columns .t-catalog__card .t-catalog__prod__quantity + a[href='#order'] { width: 100%; margin-left: 0; margin-right: 0; } } .t-catalog__card-list_style_list .t-catalog__card { display: -webkit-flex; display: flex; flex-direction: row; width: 100%; position: relative; } @media screen and (max-width: 480px) { .t-catalog__card-list_style_list .t-catalog__card { -webkit-flex-direction: column; flex-direction: column; } } .t-catalog__card-list_style_list .t-catalog__card:first-child { padding-top: 15px; } .t-catalog__card-list_style_list .t-catalog__card_verticalAlign_middle { -webkit-align-items: center; align-items: center; } .t-catalog__card-list_style_list .t-catalog__card_verticalAlign_bottom { -webkit-align-items: flex-end; align-items: flex-end; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_verticalAlign_middle, .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_verticalAlign_bottom { align-items: stretch; } /* image */ .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_column { -webkit-flex-shrink: 0; flex-shrink: 0; } @media screen and (min-width: 481px) { .t-catalog__card-list_style_list:has(.t-catalog__card__imgwrapper_right) .t-catalog__card.t-catalog__card_from-template { flex-direction: row-reverse; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__imgwrapper_column.t-catalog__card__imgwrapper_left { margin-right: 20px; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__imgwrapper_column.t-catalog__card__imgwrapper_right { margin-left: 20px; } .t-catalog__card-list_style_list.t-catalog__card-list_enlarged-gap .t-catalog__card_from-template .t-catalog__card__imgwrapper_column.t-catalog__card__imgwrapper_left { margin-right: 40px; } .t-catalog__card-list_style_list.t-catalog__card-list_enlarged-gap .t-catalog__card_from-template .t-catalog__card__imgwrapper_column.t-catalog__card__imgwrapper_right { margin-left: 40px; } .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card__imgwrapper_column { margin-right: 20px; } .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)).t-catalog__card-list_enlarged-gap .t-catalog__card__imgwrapper_column { margin-right: 40px; } } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_column { width: 200px; } @media screen and (min-width: 481px) { .t-catalog__card-list_style_list .t-catalog__card_in-row .t-catalog__card__imgwrapper_column { width: 150px; } } @media screen and (min-width: 641px) and (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__imgwrapper_column { width: 250px !important; } } @media screen and (min-width: 481px) and (max-width: 640px) { .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_column { width: 200px !important; } } @media screen and (max-width: 480px) { .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_column { /* TODO (https://yt.tilda.team/issue/ST-2764): добавить установку ширины через CSS-переменную или в tpl, чтобы избавиться от !important здесь и в правилах выше */ width: 100% !important; margin: 0; } } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper { -webkit-flex-grow: 0; flex-grow: 0; -webkit-flex-shrink: 0; flex-shrink: 0; position: relative; height: unset; margin-top: auto; margin-bottom: auto; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_16-9 { padding-bottom: 56%; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_4-3 { padding-bottom: 75%; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_3-2 { padding-bottom: 66%; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_1-1 { padding-bottom: 100%; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_original-ratio.t-catalog__card__imgwrapper_1-1 { padding-bottom: 100%; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_2-3 { padding-bottom: 150%; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_3-4 { padding-bottom: 133%; } .t-catalog__card-list_style_list .t-catalog__card__imgwrapper_9-16 { padding-bottom: 177%; } .t-catalog__card-list_style_list .t-catalog__card__bgimg { background-position: center; background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; transition: opacity 0.1s linear; } .t-catalog__card-list_style_list .t-catalog__card__img { max-width: 100%; max-height: 100%; position: absolute; margin: auto; top: 0; bottom: 0; right: 0; left: 0; z-index: 2; transition: opacity 0.1s linear; } .t-catalog__card-list_style_list .t-catalog__card__bgimg_second, .t-catalog__card-list_style_list .t-catalog__card__img_second { z-index: 1; opacity: 0; } .t-catalog__card-list_style_list .t-catalog__card__mark-wrapper { position: absolute; left: 10px; top: 10px; z-index: 5; display: table; } .t-catalog__card-list_style_list .t-catalog__card__mark { width: unset; height: unset; font-weight: 600; font-size: 11px; display: table-cell; text-align: center; vertical-align: middle; border-radius: 5px; background-color: #111; color: #fff; box-sizing: border-box; padding: 0.5em 1em; } @media screen and (max-width: 480px) { a.t-catalog__prod-popup__btn[href='#order'] { flex-grow: 1; } } /* content */ .t-catalog__card-list_style_list .t-catalog__card__contentwrapper { display: -webkit-flex; display: flex; -webkit-flex-grow: 1; flex-grow: 1; height: 100%; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__contentwrapper { box-sizing: border-box; min-width: 0; } @media screen and (min-width: 481px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper { margin-bottom: 0; } } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_style_bg.t-catalog__card:first-child { padding-top: 0; } .t-catalog__card-list_style_list .t-catalog__card_under-description .t-catalog__card__contentwrapper { -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: flex-start; align-items: flex-start; } .t-catalog__card-list_style_list .t-catalog__card_under-description.t-align_center .t-catalog__card__contentwrapper { -webkit-align-items: center; align-items: center; } .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card_in-row.t-catalog__card_verticalAlign_middle .t-catalog__card__contentwrapper, .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card_in-column.t-catalog__card_verticalAlign_middle .t-catalog__card__contentwrapper { -webkit-align-items: center; align-items: center; } @media screen and (min-width: 481px) { .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_in-row.t-catalog__card_verticalAlign_middle .t-catalog__card__contentwrapper, .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_in-column.t-catalog__card_verticalAlign_middle .t-catalog__card__contentwrapper, .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_in-row.t-catalog__card_verticalAlign_bottom .t-catalog__card__contentwrapper, .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_in-column.t-catalog__card_verticalAlign_bottom .t-catalog__card__contentwrapper { align-items: stretch; } } .t-catalog__card-list_style_list .t-catalog__card_under-description.t-catalog__card_verticalAlign_middle .t-catalog__card__contentwrapper { -webkit-justify-content: center; justify-content: center; } .t-catalog__card-list_style_list .t-catalog__card_in-row.t-catalog__card_verticalAlign_bottom .t-catalog__card__contentwrapper, .t-catalog__card-list_style_list .t-catalog__card_in-column.t-catalog__card_verticalAlign_bottom .t-catalog__card__contentwrapper { -webkit-align-items: flex-end; align-items: flex-end; } .t-catalog__card-list_style_list .t-catalog__card_under-description.t-catalog__card_verticalAlign_bottom .t-catalog__card__contentwrapper { -webkit-justify-content: flex-end; justify-content: flex-end; } @media screen and (max-width: 980px) { .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card__contentwrapper { -webkit-flex-direction: column; flex-direction: column; } } @media screen and (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__contentwrapper { -webkit-flex-direction: column; flex-direction: column; } } /* text */ .t-catalog__card-list_style_list .t-catalog__card__textwrapper { -webkit-flex-grow: 1; flex-grow: 1; margin-right: 20px; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper { display: flex; flex-direction: column; height: 100%; min-width: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__text-stack { display: flex; flex-direction: column; flex: 1 1 auto; justify-content: flex-start; min-width: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_verticalAlign_middle .t-catalog__card__text-stack { justify-content: center; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_verticalAlign_bottom .t-catalog__card__text-stack { justify-content: flex-end; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_valign-bottom-beside .t-catalog__card__textwrapper { flex-direction: row; align-items: flex-end; height: auto; margin-top: auto; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_valign-bottom-beside .t-catalog__card__text-stack { justify-content: flex-start; text-align: center; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_valign-bottom-beside .t-catalog__card__price-buttons.t-catalog__card__price-buttons-bottom_left.t-catalog__card__text_align_center { order: -1; align-self: flex-end; margin-top: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_valign-middle-beside .t-catalog__card__textwrapper { flex-direction: row; align-items: stretch; height: 100%; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_valign-middle-beside .t-catalog__card__text-stack { justify-content: center; text-align: center; } .t-catalog__card-list_style_list .t-catalog__card_from-template.t-catalog__card_valign-middle-beside .t-catalog__card__price-buttons.t-catalog__card__price-buttons-bottom_left.t-catalog__card__text_align_center { order: -1; align-self: flex-end; margin-top: 0; } @media screen and (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__text-stack { flex-grow: 0; } } .t-catalog__card-list_style_list .t-catalog__card_under-description .t-catalog__card__textwrapper { -webkit-flex-grow: 0; flex-grow: 0; margin-right: 0; margin-bottom: 20px; } .t-catalog__card-list_style_list .t-catalog__card .t-catalog__card__descr { margin-top: 8px; opacity: 0.6; } @media screen and (max-width: 980px) { .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card__textwrapper { -webkit-flex-grow: 0; flex-grow: 0; margin-right: 0; margin-bottom: 20px; } } @media screen and (max-width: 480px) { .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card__textwrapper { margin-bottom: 12px; } } @media screen and (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper { -webkit-flex-grow: 0; flex-grow: 0; margin-right: 0; margin-bottom: 20px; } } @media screen and (max-width: 480px) { .t-catalog__card-list_style_list .t-catalog__card__textwrapper { margin-bottom: 20px; } } /* price and button */ .t-catalog__card-list_style_list .t-catalog__card__price-buttons { -webkit-flex-grow: 0; flex-grow: 0; -webkit-flex-shrink: 0; flex-shrink: 0; margin: 0; width: unset; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons { min-width: fit-content; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons { display: flex; flex-direction: column; gap: 15px; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons .t-catalog__card__price-wrapper { margin: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper .t-catalog__card-price-above_title { margin-top: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper .t-catalog__card-price-under_title, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper .t-catalog__card-price-above_title { margin-bottom: 15px; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__wrap_price-and-btns { display: flex; flex-direction: column; height: 100%; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons.t-catalog__card__price-buttons_right-top { margin-bottom: auto; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons.t-catalog__card__price-buttons_right-bottom { margin-top: auto; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons.t-catalog__card__price-buttons-bottom_left { align-self: flex-start; margin-top: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons.t-catalog__card__price-buttons-bottom_left .t-catalog__card__price-wrapper { margin-top: 15px; } @media (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons.t-catalog__card__price-buttons_right-bottom { margin-top: 15px; } } @media (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_under-description .t-catalog__card__price-buttons { margin-top: 0; gap: 0; } } @media (min-width: 641px) { .t-catalog__card-list_style_list .t-catalog__card__price-buttons_in-row, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons_in-row { display: -webkit-flex; display: flex; -webkit-flex-direction: row; flex-direction: row; } } @media (max-width: 640px) { .t-catalog__card-list_style_list .t-catalog__card__price-buttons, .t-catalog__card-list_style_list .t-catalog__card__price-buttons_in-row, .t-catalog__card-list_style_list .t-catalog__card_under-description .t-catalog__card__price-buttons { width: unset !important; } } @media (max-width: 480px) { .t-catalog__card-list_style_list .t-catalog__card__price-buttons { width: unset; -webkit-align-items: flex-start; align-items: flex-start; } } /* price */ .t-catalog__card-list_style_list .t-catalog__card__price-wrapper { margin-top: 0; margin-bottom: 15px; } .t-catalog__card-list_style_list .t-catalog__card_under-description.t-align_center .t-catalog__card__price-wrapper { justify-content: center; } .t-catalog__card-list_style_list .t-catalog__card__price-value, .t-catalog__card__price-currency { display: inline-block; vertical-align: middle; text-align: center; } .t-catalog__card-list_style_list .t-catalog__card__price-value + .t-catalog__card__price-currency:before { content: ' '; white-space: pre; } .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card__price-buttons_in-row .t-catalog__card__price-wrapper { margin-bottom: 0; margin-right: 15px; } @media (max-width: 640px) { .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card__price-buttons_in-row .t-catalog__card__price-wrapper { margin-bottom: 15px; margin-right: 0; } } /* button */ .t-catalog__card-list_style_list .t-catalog__card__btns-wrapper { flex-direction: column; align-items: flex-start; } .t-catalog__card-list_style_list:not(:has(.t-catalog__card_from-template)) .t-catalog__card__btns-wrapper { margin-top: 15px; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons:not(.t-catalog__card__price-buttons_in-row):has(.t-catalog__card__price-wrapper) .t-catalog__card__btns-wrapper, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons-bottom_left .t-catalog__card__btns-wrapper { margin-top: 15px; } @media screen and (max-width: 960px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__btns-wrapper { margin-top: 15px; } } @media screen and (min-width: 641px) { .t-catalog__card-list_style_list .t-catalog__card__price-buttons_in-row .t-catalog__card__btns-wrapper { display: -webkit-flex; display: flex; margin-top: 0; -webkit-align-items: flex-start; align-items: flex-start; -webkit-flex-wrap: nowrap; flex-wrap: nowrap; width: unset; flex-direction: row; } } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__wrap_price-and-btns { min-width: 0; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons { min-width: 0; max-width: 100%; } /* Пока цена и кнопки стоят рядом с текстом, сначала сжимается текст, и только потом цена и кнопки переносятся на новую строку */ .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__textwrapper { -webkit-flex-shrink: 1000; flex-shrink: 1000; min-width: min-content; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons_in-row, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-wrapper, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__btns-wrapper { -webkit-flex-wrap: wrap; flex-wrap: wrap; } /* При расположении справа перенесённые цена и кнопки тоже прижимаются к правому краю */ @media screen and (min-width: 961px) { .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons_right-top.t-catalog__card__price-buttons_in-row, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons_right-bottom.t-catalog__card__price-buttons_in-row, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons_right-top .t-catalog__card__btns-wrapper, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons_right-bottom .t-catalog__card__btns-wrapper { -webkit-justify-content: flex-end; justify-content: flex-end; } } /* break-word рвёт слово где угодно, и min-content текста схлопывается почти до нуля */ .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__title, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__descr { word-break: normal; overflow-wrap: break-word; } .t-catalog__card-list_style_list .t-catalog__card__btn-first_wrapper, .t-catalog__card-list_style_list .t-catalog__card__btn-second_wrapper { display: -webkit-flex; display: flex; } .t-catalog__card-list_style_list .t-catalog__prod__quantity { margin-top: 0; margin-bottom: 0; } .t-catalog__card-list_style_list .t-catalog__card .t-catalog__prod__quantity__minus-wrapper { margin: 0 0 0 5px; } .t-catalog__card-list_style_list .t-catalog__card .t-catalog__prod__quantity-input { width: 20px; } .t-catalog__card-list_style_list .t-catalog__card .t-catalog__prod__quantity__plus-wrapper { margin: 0 5px 0 0; } .t-catalog__card-list_style_list .t-catalog__card__btn:not(.t-btnflex, .t-btntext) { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; -webkit-flex-grow: 1; flex-grow: 1; min-height: 35px; padding: 8px 15px; white-space: nowrap; } .t-catalog__card-list_style_list .t-catalog__card__btn { flex-grow: 1; } .t-catalog__card-list_style_list .t-catalog__card__btn.t-btn_xs:not(.t-btnflex, .t-btntext) { height: unset; } .t-catalog__card-list_style_list .t-catalog__card__btn-row { -webkit-flex-wrap: nowrap; flex-wrap: nowrap; margin-bottom: 5px; } .t-catalog__card-list_style_list .t-catalog__card__btn-row:last-child, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__btn-row { margin-bottom: 0; } @media screen and (min-width: 641px) { .t-catalog__card-list_style_list .t-catalog__card__price-buttons_in-row .t-catalog__card__btn-row { margin-bottom: 0; margin-right: 5px; } } .t-catalog__card-list_style_list .t-catalog__card__price-buttons_in-row .t-catalog__card__btn-row:last-child, .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__price-buttons_in-row .t-catalog__card__btn-row { margin-right: 0; } .t-catalog__card-list_style_list .t-catalog__card__btn { margin: 0; margin-right: 5px; } .t-catalog__card-list_style_list .t-catalog__card__btn:last-child { margin-right: 0; } .t-catalog__card-list_style_list .t-align_center .t-catalog__prod__quantity { margin-left: 0; margin-right: 4px; } @media screen and (max-width: 640px) { .t-catalog__card__btns-wrapper { flex-direction: column; align-items: stretch; } /* Степпер растягивается вместе с кнопкой, содержимое иначе остаётся слева */ .t-catalog__card__btns-wrapper .t-catalog__prod__quantity { justify-content: center; } .t-catalog__card-list_style_list .t-catalog__card__btns-wrapper { align-items: stretch; } .t-catalog__card-list_style_list .t-catalog__card_from-template .t-catalog__card__btns-wrapper { width: 100%; } } /* relevants */ .t-catalog__card-list_style_list .t-catalog__relevants__container .t-catalog__card { display: block; border: none; padding-top: 0; } .t-catalog__card-list_style_list .t-catalog__relevants__container .t-catalog__card__price-wrapper { margin-top: 12px; } .t-catalog__prod-snippet__container .t-catalog__prod-popup__btn { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; position: relative; z-index: 1; overflow: hidden; } .t-catalog__prod-snippet__container .t-catalog__prod-popup__btn table { border-spacing: 0; } .t-catalog__prod-snippet__container .t-catalog__prod-popup__btn::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition-property: opacity; transition-duration: inherit; transition-timing-function: inherit; background-color: var(--button-after-background-color-hover, 'none'); background-image: var(--button-after-background-image-hover, 'none'); } .t-catalog__prod-snippet__container .t-catalog__prod-popup__btn:hover::after { opacity: 1; } /* На мобильных все варианты панели (ST-1610) выглядят как панель слева */ .t-catalog__sidebar_pos_left, .t-catalog__sidebar_pos_right, .t-catalog__sidebar_pos_hidden-left, .t-catalog__sidebar_pos_hidden-right { display: block; } /* Кнопка, затемнение и шапка скрытой панели работают только на десктопе. Строку с кнопкой на мобильных не скрываем: в ней остаются поиск и сортировка, как над товарами у панели слева */ .t-catalog__sidebar-opener, .t-catalog__sidebar-overlay, .t-catalog__sidebar-header { display: none; } @media screen and (min-width: 961px) { .t-catalog__cont-wrapper { display: flex; gap: 20px; } /* Сайдбар справа (ST-1610): модификатор ставит шаблон, чтобы раскладка не зависела от поддержки :has() */ .t-catalog__cont-wrapper_sidebar-right { flex-direction: row-reverse; } /* класс ставит JS сайдбара с привязкой к экрану (ST-2254): от контейнера считаются absolute-состояния */ .t-catalog__cont-wrapper_sticky-sidebar { position: relative; } .t-catalog__sidebar.t-col_3 { box-sizing: border-box; min-width: 260px; } .t-catalog__sidebar:not(.t-col_3) { box-sizing: initial; width: 250px; min-width: 250px; } /* border-box включает padding и border в max-height. max-content сохраняет прежнюю ширину: 250px контента плюс отступы. */ .t-catalog__sidebar.t-catalog__sidebar_sticky:not(.t-col_3) { box-sizing: border-box; width: -webkit-max-content; width: max-content; min-width: -webkit-max-content; min-width: max-content; } .t-catalog__sidebar.t-catalog__sidebar_sticky:not(.t-col_3) > * { box-sizing: border-box; width: 250px; max-width: 250px; } .t-catalog__sidebar-wrapper { position: relative; } .t-catalog__sidebar-wrapper:has(.t-catalog__sidebar_sticky.absolute-bottom), .t-catalog__sidebar-wrapper:has(.t-catalog__sidebar_sticky.absolute-mid) { position: unset; } .t-catalog__sidebar_sticky { position: sticky; position: -webkit-sticky; top: var(--panel-fixed-offset, 50px); display: block; max-height: calc(100vh - var(--panel-fixed-offset, 50px)); overflow-y: auto; } .t-catalog__cont-wrapper_sticky-sidebar .t-catalog__sidebar_sticky { height: fit-content; max-height: none; } .t-catalog__sidebar_sticky.fixed-bottom, .t-catalog__sidebar_sticky.fixed-top { position: fixed; z-index: 10; } .t-catalog__sidebar_sticky.absolute-bottom, .t-catalog__sidebar_sticky.absolute-mid { position: absolute; z-index: 10; } .t-catalog__sidebar_sticky.absolute-bottom { top: auto; bottom: 0 !important; } .t-catalog__sidebar_sticky.absolute-mid { bottom: auto; } .t-catalog__sidebar .t-catalog__filter__options_center { text-align: initial; } .t-catalog__cont-wrapper .t-catalog__sidebar .t-catalog__filter { margin-left: 0; margin-right: 0; } .t-catalog__sidebar_empty { font-size: 12px; color: #000; width: 280px; } .t-catalog__sidebar .t-catalog__filter, .t-catalog__sidebar .t-catalog__filter .t-catalog__filter__controls-wrapper, .t-catalog__sidebar .t-catalog__filter__options { display: flex; flex-direction: column; } .t-catalog__filter .t-catalog__filter__item_storepartuid { display: none; } .t-catalog__filter__btn { display: none; } .t-catalog__sidebar .t-catalog__parts-switch-wrapper { margin-bottom: var(--t-catalog-filter-gap, 30px); display: flex; flex-direction: column; text-align: left; } .t-catalog__sidebar .t-catalog__filter__chosen-val-close { margin-right: 0; height: 8px; width: 8px; padding: 0; } .t-catalog__sidebar .t-catalog__filter__options { order: 2; } .t-catalog__filter__search-and-sort { margin-bottom: 20px; display: flex; justify-content: flex-end; align-items: center; flex-shrink: 0; margin-left: auto; } .t-catalog__filter__search-and-sort .t-catalog__filter { padding-bottom: 0; margin-right: auto; } .t-catalog__filter__controls-wrapper .t-catalog__filter__item { margin-bottom: 0; } .t-catalog__sidebar .t-catalog__search-wrapper { margin-bottom: 10px; } .t-catalog__sidebar .t-catalog__filter__search-and-sort .t-catalog__filter__input, .t-catalog__sidebar .t-catalog__filter__sort .t-catalog__sort-select { width: 100%; } .t-catalog__sidebar .t-catalog__filter__sort { margin-left: initial; } .t-catalog__sidebar .t-catalog__filter__sort { margin-left: initial; } .t-catalog__sidebar .t-catalog__filter__sort .t-catalog__sort-select-wrapper { width: 100%; } .t-catalog__sidebar .t-catalog__filter__item-controls-wrap { margin-top: 0; display: block; position: static; box-shadow: none; background: none; } .t-catalog__filter__item_price .t-catalog__filter__input { flex-grow: 1; } .t-catalog__sidebar .t-catalog__filter__item-controls-wrap.t-catalog__filter__item-price-box.js-catalog-filter-item-controls-wr { display: flex; align-items: center; flex-wrap: wrap; } .t-catalog__sidebar .t-catalog__filter__item-controls-wrap.t-catalog__filter__item-price-slider { position: relative; } .t-catalog__sidebar .t-catalog__filter__item_checkbox .t-catalog__filter__item-controls-container { padding: 0; overflow: initial; height: initial; max-height: initial; } .t-catalog__sidebar .t-catalog__filter__item { margin-right: initial; } .t-catalog__sidebar .t-catalog__filter__item-title { margin-bottom: 10px; padding-right: initial; cursor: initial; font-weight: 500; width: fit-content; } .t-catalog__sidebar .t-catalog__filter__item-title:hover, .t-catalog__sidebar .t-catalog__filter__item.active .t-catalog__filter__item-title { opacity: initial; } .t-catalog__sidebar .t-catalog__filter__item-title::after { display: none; } .t-catalog__sidebar .t-catalog__filter__item_available .t-catalog__filter__item-controls-wrap, .t-catalog__sidebar .t-catalog__filter__item_price .t-catalog__filter__item-controls-wrap { padding: 0; } .t-catalog__sidebar .t-catalog__filter__custom-sel { padding-left: initial; } .t-catalog__parts-legacy .t-catalog__sidebar .t-catalog__parts-switch-btn { font-size: 15px; font-weight: 300; margin-left: 0; margin-right: 0; } .t-catalog__parts-legacy .t-catalog__sidebar .t-catalog__parts-switch-btn:hover { font-weight: 500; } .t-catalog__parts-legacy .t-catalog__sidebar .t-catalog__parts-switch-btn.t-active { font-weight: 600; } .t-catalog__filter__chosen-bar { margin-bottom: 20px; display: flex; gap: 10px; } .t830__allrecords_padd-small .t-catalog__filter__chosen-bar { left: 60px; } .t-catalog .t-catalog__filter__prods-number { padding-top: 2px; order: 1; font-size: 14px; flex-shrink: 0; } .t-catalog__sidebar .t-catalog__filter__item_custom .t-catalog__filter__item-controls-container_buttons.t-catalog__filter__item-controls-container_color, .t-catalog__sidebar .t-catalog__filter__item_custom { padding: 0; } .t-catalog__sidebar .t-catalog__filter__checkbox_buttons.t-catalog__filter__checkbox_color .t-catalog__filter__checkmark_buttons.t-catalog__filter__checkmark_color { margin-right: 0; margin-left: 0; } } /* Скрытая боковая панель (ST-1610): выезжает сбоку по кнопке над товарами, закрывается по крестику и затемнению. Классы *_open ставит src/tilda-catalog/hidden-sidebar */ @media screen and (min-width: 961px) { .t-catalog__sidebar-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-bottom: var(--t-catalog-filter-padding-bottom, 40px); } /* фильтры над товарами и поиск с сортировкой переносит в строку с кнопкой tilda-catalog-filters */ .t-catalog__sidebar-toolbar .t-catalog__filter { flex: 1 1 0; min-width: 0; padding-bottom: 0; } .t-catalog__sidebar-toolbar .t-catalog__filter__search-and-sort { margin-left: auto; } .t-catalog__sidebar-opener { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; background: none; font-size: var(--t-catalog-card-item-font-size, 16px); line-height: 1.55; cursor: pointer; } .t-catalog__sidebar-opener-icon { flex-shrink: 0; } .t-catalog__sidebar.t-catalog__sidebar_pos_hidden-left, .t-catalog__sidebar.t-catalog__sidebar_pos_hidden-right { position: fixed; top: 0; bottom: 0; z-index: 9999; box-sizing: border-box; /* ширина из настройки, но не уже содержимого: элементы фильтров не сжимаются (у выпадающих блоков свои min-width) */ width: var(--t-catalog-sidebar-width, 260px); min-width: -webkit-min-content; min-width: min-content; max-width: 100vw; padding: 20px; overflow-x: hidden; overflow-y: auto; /* место под вертикальную полосу прокрутки входит в ширину панели и не наезжает на содержимое */ scrollbar-gutter: stable; overscroll-behavior: contain; background-color: #fff; visibility: hidden; transition: transform 0.3s ease-out, visibility 0s linear 0.3s; } .t-catalog__sidebar.t-catalog__sidebar_pos_hidden-left { left: 0; transform: translateX(-100%); } .t-catalog__sidebar.t-catalog__sidebar_pos_hidden-right { right: 0; transform: translateX(100%); } .t-catalog__sidebar.t-catalog__sidebar_open { visibility: visible; transform: translateX(0); transition: transform 0.3s ease-out, visibility 0s; } /* шапка панели: текст кнопки слева, крестик справа. По горизонтали шапка выровнена по пунктам панели (отступы панели слева и справа), по вертикали отступы панели к ней не применяются. Шапка закреплена при прокрутке панели, содержимое уходит под нее. */ .t-catalog__sidebar-header { position: -webkit-sticky; position: sticky; top: calc(-1 * var(--t-catalog-sidebar-padding-top, 20px)); z-index: 5; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin: calc(-1 * var(--t-catalog-sidebar-padding-top, 20px)) calc(-1 * var(--t-catalog-sidebar-padding-right, 20px)) 0 calc(-1 * var(--t-catalog-sidebar-padding-left, 20px)); padding: 20px var(--t-catalog-sidebar-padding-right, 20px) 20px var(--t-catalog-sidebar-padding-left, 20px); background: inherit; } .t-catalog__sidebar-title { grid-column: 1; text-align: left; font-size: var(--t-catalog-card-item-font-size, 16px); line-height: 1.55; } /* крестик по стилю — как иконка раскрытия подразделов */ .t-catalog__sidebar-close { grid-column: 2; justify-self: end; display: block; width: 11px; height: 11px; margin: 0; padding: 0; border: 0; background: none; color: #000; cursor: pointer; transition: opacity 0.2s ease-in-out; } .t-catalog__sidebar-close:hover { opacity: 0.7; } .t-catalog__sidebar-close-icon { display: block; } .t-catalog__sidebar-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9998; display: block; background-color: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; cursor: pointer; transition: opacity 0.3s ease-out, visibility 0s linear 0.3s; } .t-catalog__sidebar-overlay.t-catalog__sidebar-overlay_open { opacity: 1; visibility: visible; transition: opacity 0.3s ease-out, visibility 0s; } } @media (prefers-reduced-motion: reduce) { .t-catalog__sidebar.t-catalog__sidebar_pos_hidden-left, .t-catalog__sidebar.t-catalog__sidebar_pos_hidden-right, .t-catalog__sidebar-overlay { transition: none; } } @media screen and (min-width: 961px) { .t-catalog__imgwrapper:hover .t-catalog__bgimg_first_hover, .t-catalog__imgwrapper:hover .t-catalog__img_first_hover { opacity: 0; } .t-catalog__imgwrapper:hover .t-catalog__bgimg_second, .t-catalog__imgwrapper:hover .t-catalog__img_second { z-index: 3; opacity: 1; } } @media screen and (max-width: 960px) { .t-catalog__col_mobile-grid { width: 50%; display: inline-block; vertical-align: top; } .t-catalog__col { margin-bottom: 60px; } .t-col_8 .t-catalog__imgwrapper_mobile-nopadding { padding-bottom: 0 !important; font-size: 0; } .t-col_8 .t-catalog__imgwrapper_mobile-nopadding .t-catalog__img { position: initial; } .t-catalog__img_second { display: none; } .t-catalog__container_mobile-flex { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; overflow-x: scroll; -webkit-overflow-scrolling: touch; max-width: 100%; box-sizing: border-box; padding: 0 !important; } .t-catalog__container_mobile-flex .t-catalog__col { min-width: 38%; max-width: 38%; margin-bottom: 0 !important; } .t-catalog__scroll-icon-wrapper { display: block; padding: 0 40px 20px 0; color: #a1a1a1; text-align: right; font-size: 0; } @-webkit-keyframes t-catalog__icon-anim { 0% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 0; } 10% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 0; } 20% { -webkit-transform: translate3d(-20px, 0, 0); opacity: 1; } 70% { -webkit-transform: translate3d(0, 0, 0); opacity: 1; } 80% { -webkit-transform: translate3d(0, 0, 0); opacity: 1; } 81% { -webkit-transform: translate3d(0, 0, 0); opacity: 0; } 100% { -webkit-transform: translate3d(0, 0, 0); opacity: 0; } } @keyframes t-catalog__icon-anim { 0% { transform: translate3d(-20px, 0, 0); opacity: 0; } 10% { transform: translate3d(-20px, 0, 0); opacity: 0; } 20% { transform: translate3d(-20px, 0, 0); opacity: 1; } 70% { transform: translate3d(0, 0, 0); opacity: 1; } 80% { transform: translate3d(0, 0, 0); opacity: 1; } 81% { transform: translate3d(0, 0, 0); opacity: 0; } 100% { transform: translate3d(0, 0, 0); opacity: 0; } } .t-catalog__scroll-icon { -webkit-animation: t-catalog__icon-anim 1.5s infinite; animation: t-catalog__icon-anim 1.5s infinite; } } @media screen and (max-width: 640px) { .t-catalog__container_mobile-flex .t-catalog__col:first-child { margin-left: 0; } .t-catalog__container_mobile-flex .t-catalog__col { min-width: 70%; max-width: 70%; } .t-catalog__scroll-icon-wrapper { padding: 0 20px 10px 0; } } .t-catalog__breadcrumbs { margin-right: auto; display: flex; align-items: center; min-height: 17px; flex-wrap: nowrap; white-space: nowrap; word-break: normal; position: relative; font-family: var(--t-text-font); text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex-shrink: 1; line-height: normal; } .t-catalog__breadcrumbs_position_above_title { margin-bottom: 15px; } .t-catalog__breadcrumbs_align_center { margin-left: auto; margin-right: auto; justify-content: center; } .t-catalog__breadcrumbs-item { display: flex; gap: 6px; align-items: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; flex-shrink: 0; } .t-catalog__breadcrumbs-item-text { display: block; min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .t-catalog__breadcrumbs-item_colored { opacity: 1; } .t-catalog__breadcrumbs-item_active { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; opacity: 50%; flex-shrink: 1; min-width: 50px; text-align: left; } .t-catalog__breadcrumbs-item_active[data-breadcrumb-role='home'] > svg, .t-catalog__breadcrumbs-item_active[data-breadcrumb-role='catalog'] > svg { opacity: 50%; } .t-catalog__breadcrumbs-item_clickable:hover, .t-catalog__breadcrumbs-item_clickable:focus { color: var(--breadcrumbs-active-color, inherit) !important; opacity: 50%; } .t-catalog__breadcrumbs-item_clickable[data-breadcrumb-role='home']:hover > svg, .t-catalog__breadcrumbs-item_clickable[data-breadcrumb-role='home']:focus > svg, .t-catalog__breadcrumbs-item_clickable[data-breadcrumb-role='catalog']:hover > svg, .t-catalog__breadcrumbs-item_clickable[data-breadcrumb-role='catalog']:focus > svg { opacity: 50%; } .t-catalog__breadcrumbs-divider { opacity: 50%; } .t-catalog__breadcrumbs-divider_colored { opacity: 1; } .t-catalog__breadcrumbs-divider_colored svg { opacity: 1; } .t-catalog__breadcrumbs-divider { display: flex; margin: 0 5px; } .t-catalog__breadcrumbs-overflow { position: relative; display: inline-flex; align-items: center; } .t-catalog__breadcrumbs-overflow-btn { position: relative; user-select: none; padding: 0 2px; } .t-catalog__breadcrumbs-overflow-popup { position: absolute; top: calc(100% + 6px); left: 0; padding: 4px; z-index: 1000; min-width: 148px; max-width: 200px; flex-direction: column; align-items: flex-start; width: max-content; background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 3px; box-shadow: 0px 10px 23px 0px rgba(0, 0, 0, 0.1); white-space: normal; } .t-catalog__breadcrumbs-overflow-popup .t-catalog__breadcrumbs-item-text { text-align: left; } .t-catalog__breadcrumbs-overflow-popup-item { padding: 5px 8px; cursor: pointer; color: #000000; display: block; width: 100%; box-sizing: border-box; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: normal; overflow-wrap: normal; line-height: 1.4; text-align: left; } .t-catalog__breadcrumbs-item_hidden { display: none; } .t-catalog__breadcrumbs-divider_hidden { display: none; } .t-catalog__breadcrumbs_desktop { display: none; align-items: center; } .t-catalog__breadcrumbs_mobile { max-width: 100vw; display: flex; align-items: center; margin-bottom: 20px; } .t-catalog__breadcrumbs_all { display: flex; align-items: center; } .t-catalog__breadcrumbs_padding { margin-bottom: 20px; } .t-catalog__prod-popup__breadcrumbs { margin-top: 25px; margin-bottom: 25px; width: auto; display: block; float: none; } .t-catalog__prod-popup__breadcrumbs:not(.t-catalog__prod-popup__breadcrumbs:has(.t-catalog__breadcrumbs)) { display: none; } .t-catalog__product-snippet .t-catalog__prod-popup__breadcrumbs { margin-top: 0; } @media screen and (min-width: 960px) { .t-catalog__breadcrumbs_mobile:not(.t-catalog__breadcrumbs_all) { display: none; } .t-catalog__breadcrumbs_desktop { display: flex; margin-bottom: 20px; } .t-catalog__filter__search-and-sort .t-catalog__breadcrumbs_desktop { margin-bottom: 0; } .t-catalog__breadcrumbs_without-filters { margin-bottom: 20px; } .t-catalog__prod-popup__breadcrumbs { margin-top: 0; margin-bottom: 30px; } .t-catalog__breadcrumbs_mobile { display: none; } } @media screen and (max-width: 560px) { .t-catalog__prod-popup__breadcrumbs { padding-top: 20px; margin-bottom: 20px; } } @media screen and (max-width: 960px) { .t-catalog__breadcrumbs-item_active { max-width: 180px; } .t-catalog .t-catalog__prod-popup__container .t-catalog__product-popup .t-catalog__prod-popup__breadcrumbs { margin-left: -20px; margin-right: -20px; } } @media screen and (max-width: 480px) { .t-catalog__card-list_style_list:not(:has(.t-catalog__card_style_bg)) .t-catalog__card__textwrapper { padding-top: 20px; } } .t-catalog-parts-above__container { margin-bottom: var(--t-catalog-above-container-margin-bottom, 60px); } @media screen and (max-width: 480px) { .t-catalog-parts-above__container { margin-bottom: 40px; } } .t-catalog-parts-sidebar__container { margin-bottom: 20px; }