

/* Start:/local/templates/main/components/bitrix/catalog/main/style.css?177934852214681*/
.grid {}

.grid .bx_content_section { margin-bottom: 15px; }

.grid .bx_sidebar { margin-bottom: 15px; }

/* grid2x1 */
.grid2x1 {}

.grid2x1 .bx_content_section {
	float: left;
	width: 66%;
	margin-bottom: 15px;
}

.grid2x1 .bx_sidebar {
	float: right;
	width: 33%;
	margin-bottom: 15px;
	padding-left: 5%;
	box-sizing: border-box;
}

@media (max-width: 960px) {
	.grid2x1 .bx_sidebar { padding-left: 4%; }
}

@media (max-width: 640px) {
	.grid2x1 .bx_content_section,
	.grid2x1 .bx_sidebar {
		width: 100%;
		float: none;
	}

	.grid2x1 .bx_sidebar { padding-left: 3%; }
}

@media (max-width: 479px) {
	.grid2x1 .bx_sidebar { padding-left: 1%; }
}

.catalog-block-header {
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	margin: 5px 0;
	padding: 5px 0;
	border-bottom: 2px solid #d9dee6;
	border-bottom-color: var(--primary);
	color: #000;
}

/* Каталог: сетка .catalog-page в общих стилях шаблона; без Bootstrap */

.catalog-page__main {
	min-width: 0;
}

/* Страница поиска */
.catalog-search-empty {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.45;
	color: #535353;
}

/* Каталог: на мобильных меню свёрнуто по умолчанию (раскрытие — по клику) */
@media screen and (max-width: 779px) {
	.catalog-sidebar .js-accordion-item__content {
		max-height: 0;
	}
}

/* Колонка сайдбара (класс .catalog-sidebar — у карточки с меню внутри main_catalog_nav) */
.catalog-page__sidebar {
	min-width: 0;
}

.catalog-sidebar--hide-mobile {
	display: none;
}

@media (min-width: 1024px) {
	.catalog-sidebar--hide-mobile {
		display: block;
	}
}

.catalog-filter {
	margin-top: 12px;
}

.smart-filter--daflor .smart-filter__fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.smart-filter--daflor.smart-filter-horizontal .smart-filter__fields {
	flex-direction: row;
	flex-wrap: wrap;
}

.smart-filter--daflor .smart-filter__field--half {
	flex: 1 1 220px;
	min-width: 180px;
}

.smart-filter--daflor .smart-filter__range {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: center;
}

.smart-filter--daflor .smart-filter__group {
	min-width: 0;
}

.smart-filter--daflor .smart-filter__check {
	margin: 6px 0;
}

.smart-filter--daflor .input,
.smart-filter--daflor input.min-price,
.smart-filter--daflor input.max-price {
	width: 100%;
	box-sizing: border-box;
}

.catalog-pagination-all {
	text-align: center;
	margin-top: 10px;
}

.catalog-pagination__item.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.catalog-gifts,
.catalog-bigdata {
	margin-bottom: 24px;
}

.catalog-sidebar-include {
	margin-top: 16px;
}

.catalog-sidebar-prelinks {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.catalog-sidebar-prelinks .text-link.is-active {
	font-weight: 600;
}

/* Умный фильтр (daflor) — в стиле сайта */
.smart-filter.smart-filter--daflor {
	font-family: var(--font-family, "Involve", sans-serif);
	color: #2c2438;
	margin-bottom: 0;
}

.smart-filter.smart-filter--daflor .smart-filter-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(123, 88, 145, 0.22);
	font-size: 16px;
	font-weight: 600;
	color: #2c2438;
	letter-spacing: 0.01em;
}

.smart-filter.smart-filter--daflor .smart-filter-section {
	padding-bottom: 4px;
}

.smart-filter.smart-filter--daflor .smart-filter__field {
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px dashed rgba(123, 88, 145, 0.2);
}

.smart-filter.smart-filter--daflor .smart-filter__field:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.smart-filter.smart-filter--daflor .smart-filter-parameters-box-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
	padding: 4px 0 10px;
	margin: 0;
	box-sizing: border-box;
	cursor: pointer;
}

.smart-filter.smart-filter--daflor .smart-filter-parameters-box-title-text {
	font-size: 14px;
	font-weight: 600;
	color: #7b5891;
	transition: color 0.2s ease;
}

.smart-filter.smart-filter--daflor .bx-active .smart-filter-parameters-box-title-text {
	color: #5a4270;
}

.smart-filter.smart-filter--daflor .smart-filter-angle .smart-filter-angles:before,
.smart-filter.smart-filter--daflor .smart-filter-angle .smart-filter-angles:after {
	background-color: #7b5891;
}

.smart-filter.smart-filter--daflor .smart-filter-block {
	padding-top: 4px;
}

.smart-filter.smart-filter--daflor .smart-filter-parameters-box-container {
	padding-left: 2px;
}

.smart-filter.smart-filter--daflor .smart-filter-input-group-checkbox-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.smart-filter.smart-filter--daflor .smart-filter__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 6px 8px;
	margin-left: -8px;
	margin-right: -8px;
	border-radius: 8px;
	transition: background 0.2s ease;
}

.smart-filter.smart-filter--daflor .smart-filter__check:hover {
	background: rgba(123, 88, 145, 0.06);
}

.smart-filter.smart-filter--daflor .smart-filter__check .form-check-input {
	appearance: none;
	-webkit-appearance: none;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	border: 2px solid #d0cbd8;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.smart-filter.smart-filter--daflor .smart-filter__check .form-check-input:hover:not(:disabled) {
	border-color: rgba(123, 88, 145, 0.55);
}

.smart-filter.smart-filter--daflor .smart-filter__check .form-check-input:focus:not(:disabled) {
	outline: none;
	box-shadow: 0 0 0 3px rgba(123, 88, 145, 0.2);
}

.smart-filter.smart-filter--daflor .smart-filter__check .form-check-input:checked {
	border-color: #7b5891;
	background-color: #7b5891;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 9px;
}

/* Выбрано в URL/на результате фильтра: disabled + checked — браузер тусклит чекбокс; оставляем галочку видимой */
.smart-filter.smart-filter--daflor .smart-filter__check .form-check-input:checked:disabled {
	opacity: 1 !important;
	border-color: #7b5891 !important;
	background-color: #7b5891 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3 3 7-7'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 11px 9px !important;
	cursor: default;
}

/* Недоступный и не выбранный — бледный чекбокс */
.smart-filter.smart-filter--daflor .smart-filter__check .form-check-input:disabled:not(:checked) {
	opacity: 0.42;
	border-color: #e4e1ea;
	background-color: #f3f1f6;
	background-image: none;
	cursor: not-allowed;
}

.smart-filter.smart-filter--daflor .smart-filter-checkbox-text.form-check-label {
	flex: 1;
	min-width: 0;
	padding-top: 1px;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 400;
	color: #2c2438;
	cursor: pointer;
}

.smart-filter.smart-filter--daflor .smart-filter-checkbox-text.form-check-label.disabled,
.smart-filter.smart-filter--daflor .smart-filter__check.disabled .smart-filter-checkbox-text.form-check-label {
	color: #a8a3b0 !important;
	opacity: 0.88;
	cursor: not-allowed;
}

.smart-filter.smart-filter--daflor .smart-filter__check:has(.form-check-input:disabled):hover,
.smart-filter.smart-filter--daflor .smart-filter__check.disabled:hover {
	background: transparent;
}

.smart-filter.smart-filter--daflor .smart-filter-button-box {
	margin-top: 8px;
	padding-top: 4px;
	border-top: none;
}

.smart-filter.smart-filter--daflor .smart-filter-button-box .smart-filter-parameters-box-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
}

.smart-filter.smart-filter--daflor #set_filter.button.is-primary {
	min-height: 44px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	width: 100%;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.smart-filter.smart-filter--daflor #del_filter.button.is-ghost {
	min-height: 42px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	width: 100%;
	border: 1px solid rgba(123, 88, 145, 0.45);
	color: #7b5891;
	background: #fff;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.smart-filter.smart-filter--daflor #del_filter.button.is-ghost:hover {
	background: rgba(123, 88, 145, 0.08);
	border-color: rgba(123, 88, 145, 0.65);
}

/*
 * Плашка «Выбрано: N» (#modef): в потоке ломала заголовки секций и кнопки.
 * Возвращаем поведение как в типовом шаблоне — absolute у якоря / над кнопками.
 */
.smart-filter.smart-filter--daflor .smart-filter-container-modef {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	overflow: visible;
	width: 0;
	height: 0;
	line-height: 0;
}

.smart-filter.smart-filter--daflor .smart-filter-container-modef .smart-filter-popup-result {
	line-height: 1.45;
}

.smart-filter.smart-filter--daflor .smart-filter-popup-result {
	position: absolute !important;
	z-index: 920;
	padding: 12px 14px;
	margin: 0 !important;
	min-height: auto;
	min-width: 160px;
	max-width: min(280px, calc(100vw - 24px));
	width: max-content;
	box-sizing: border-box;
	border: 1px solid rgba(123, 88, 145, 0.28);
	border-radius: 10px;
	border-image: none !important;
	background: rgba(123, 88, 145, 0.07);
	box-shadow: 0 8px 24px rgba(40, 30, 50, 0.1);
	color: #2c2438;
	font-size: 13px;
	line-height: 1.45;
	white-space: normal;
}

.smart-filter.smart-filter--daflor .smart-filter-popup-result.left {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	right: calc(100% + 10px);
	left: auto !important;
}

.smart-filter.smart-filter--daflor .smart-filter-popup-result.right {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	left: calc(100% + 10px);
	right: auto !important;
}

.smart-filter.smart-filter--daflor .smart-filter-button-box .smart-filter-parameters-box-container {
	position: relative;
}

/* Пока #modef стоит в блоке кнопок (до переноса JS) — не раздвигаем колонку */
.smart-filter.smart-filter--daflor .smart-filter-button-box .smart-filter-popup-result,
.smart-filter.smart-filter--daflor .smart-filter-button-box #modef.smart-filter-popup-result {
	top: auto !important;
	bottom: calc(100% + 10px);
	left: 0 !important;
	right: 0 !important;
	transform: none !important;
	width: auto !important;
	max-width: none !important;
	margin-bottom: 0 !important;
}

.smart-filter.smart-filter--daflor .smart-filter-popup-result a {
	display: inline;
	color: #7b5891;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
	white-space: normal;
}

.smart-filter.smart-filter--daflor .smart-filter-popup-result a:hover {
	border-bottom-color: rgba(123, 88, 145, 0.45);
}

.smart-filter.smart-filter--daflor .smart-filter-popup-result .arrow {
	display: none;
}

/* Сайдбар: не обрезать плашку; может выходить вправо, в область списка товаров */
.catalog-page__sidebar,
.catalog-sidebar .main-catalog-nav-item__content.is-active,
.catalog-sidebar .main-catalog-nav-item__content-inner,
.catalog-sidebar .catalog-filter,
.catalog-sidebar .catalog-filter .smart-filter,
.catalog-sidebar .catalog-filter .smart-filter-section,
.catalog-sidebar .catalog-filter .smart-filter-parameters-box,
.catalog-sidebar .catalog-filter .smart-filter-parameters-box-title {
	overflow: visible;
}

/* В сайдбаре — плашка справа от заголовка группы (на одной линии) */
.catalog-sidebar .smart-filter.smart-filter--daflor .smart-filter-parameters-box-title {
	position: relative;
}

.catalog-sidebar .smart-filter.smart-filter--daflor .smart-filter-container-modef {
	position: static;
	display: block;
	width: 0;
	height: 0;
	flex: none;
}

.catalog-sidebar .smart-filter.smart-filter--daflor .smart-filter-container-modef .smart-filter-popup-result,
.catalog-sidebar .smart-filter.smart-filter--daflor .smart-filter-popup-result.left,
.catalog-sidebar .smart-filter.smart-filter--daflor .smart-filter-popup-result.right {
	position: absolute !important;
	top: 50% !important;
	bottom: auto !important;
	left: calc(100% + 12px) !important;
	right: auto !important;
	transform: translateY(-50%) !important;
	width: max-content !important;
	min-width: 168px;
	max-width: min(260px, calc(100vw - 48px));
	margin: 0 !important;
	white-space: normal;
}

/* Диапазоны и слайдер */
.smart-filter.smart-filter--daflor .smart-filter-slider-track {
	height: 6px;
	border-radius: 3px;
	background: #e8e6ec;
}

.smart-filter.smart-filter--daflor .smart-filter-slider-price-bar-v,
.smart-filter.smart-filter--daflor .smart-filter-slider-price-bar-vn {
	background-color: rgba(123, 88, 145, 0.35);
}

.smart-filter.smart-filter--daflor .smart-filter-slider-price-bar-v {
	background-color: #7b5891;
}

.smart-filter.smart-filter--daflor .smart-filter-slider-handle {
	border-color: #7b5891;
}

.smart-filter.smart-filter--daflor .smart-filter-input-group-dropdown {
	border-radius: 8px;
	border-color: #dcd7e3;
	transition: border-color 0.2s ease;
}

.smart-filter.smart-filter--daflor .smart-filter-input-group-dropdown:hover,
.smart-filter.smart-filter--daflor .smart-filter-input-group-dropdown.bx-active {
	border-color: rgba(123, 88, 145, 0.45);
}

.smart-filter.smart-filter--daflor .input,
.smart-filter.smart-filter--daflor input.min-price,
.smart-filter.smart-filter--daflor input.max-price {
	border-radius: 8px;
	border: 1px solid #dcd7e3;
	min-height: 40px;
	padding: 8px 12px;
	font-family: inherit;
	font-size: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.smart-filter.smart-filter--daflor .input:focus,
.smart-filter.smart-filter--daflor input.min-price:focus,
.smart-filter.smart-filter--daflor input.max-price:focus {
	outline: none;
	border-color: #7b5891;
	box-shadow: 0 0 0 3px rgba(123, 88, 145, 0.15);
}

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.element/catalog_element/style.css?17788424754002*/
/*
 * Карточка товара (.product-page__top — CSS grid): первая колонка со Swiper при
 * min-width: auto у grid-элемента может выходить за свою ячейку и перекрывать
 * вторую колонку (инфо, ТП, кнопки). Визуально всё ок, но hit-test попадает в слайдер.
 */
.product-page__top {
  min-width: 0;
}

.product-page__top > .product-page__top-sliders {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.product-page__top > .product-page__top-info {
  position: relative;
  z-index: 2;
}

.product-page__top-sliders .swiper {
  max-width: 100%;
}

.product-offers {
  margin: 0 0 16px;
}

.product-offers__title {
  font-weight: 600;
  margin: 0 0 10px;
}

.product-offers__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-offers__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(68, 68, 75, 0.2);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  line-height: 1.2;
}

/*
 * JCCatalogElement обрабатывает клик только если event.target — элемент с data-treevalue (у нас это li).
 * Иначе при клике по названию/цене target становится span и ТП не переключаются.
 */
.product-offers__item .product-offers__item-name,
.product-offers__item .product-offers__item-price {
  pointer-events: none;
}

.product-offers__item.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.product-offers__item.selected,
.product-offers__item.selected:hover,
.product-offers__item.selected:focus {
  border-color: #7B5891;
  box-shadow: 0 0 0 2px rgba(123, 88, 145, 0.15);
}

.product-offers__item-name {
  font-weight: 600;
}

.product-offers__item-price {
  opacity: 0.8;
  white-space: nowrap;
}

/* Цена/шт: не даём BX.FixFontSize сжимать шрифт при каждой смене ТП */
.product-spec-table__row-value > span[id$="_price"] {
  font-size: inherit !important;
  line-height: inherit;
}

.card-counter-bitrix {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.card-counter-bitrix .card-counter__button {
  cursor: pointer;
}

.card-counter-bitrix .card-counter__input input {
  width: 64px;
}

/* Блок подарков sale.products.gift: пустое состояние (нет правил магазина / позиций) */
.additional-products .additional-products__empty {
  padding: 12px 0 4px;
}

.additional-products .additional-products__empty-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #6b6570;
}

.additional-products__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.additional-products__item--gift {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: calc(50% - 6px);
  max-width: 200px;
  padding: 12px;
  border: 1px solid rgba(123, 88, 145, 0.2);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.additional-products__item--gift .additional-products__item-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.additional-products__item--gift .additional-products__item-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #2c2438;
}

.additional-products__item--gift .additional-products__item-price {
  font-size: 14px;
  color: #7b5891;
}

.additional-products__item-actions {
  width: 100%;
}

.additional-products__item-actions .button {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (max-width: 576px) {
  .additional-products__item--gift {
    width: 100%;
    max-width: none;
  }
}


/* End */


/* Start:/local/templates/main/components/bitrix/catalog.item/additional_gift/style.css?17788430075217*/
/* «Товар добавлен в корзину» — Bitrix Popup cat_item_added_* */
.popup-window.popup-window-fixed-width[id^="cat_item_added_"] {
	max-width: calc(100vw - 16px) !important;
	box-sizing: border-box !important;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(123, 88, 145, 0.18);
	box-shadow: 0 12px 40px rgba(40, 30, 50, 0.12);
	font-family: var(--font-family, "Involve", sans-serif);
	background: #fff;
}

@media (max-width: 480px) {
	.popup-window.popup-window-fixed-width[id^="cat_item_added_"] {
		width: calc(100vw - 16px) !important;
	}
}

.popup-window.popup-window-fixed-width[id^="cat_item_added_"] .popup-window-content {
	box-sizing: border-box;
	max-width: 100%;
	overflow-x: hidden;
	background: #fff;
	border-radius: 12px;
}

.popup-window.popup-window-fixed-width[id^="cat_item_added_"] .popup-window-close-icon {
	opacity: 1;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(123, 88, 145, 0.08);
}

.popup-window.popup-window-fixed-width[id^="cat_item_added_"] .popup-window-close-icon:hover {
	background: rgba(123, 88, 145, 0.18);
}

.catalog-item-added-popup {
	box-sizing: border-box;
	padding: 42px 22px 22px;
	min-width: 0;
	text-align: center;
}

.catalog-item-added-popup--error {
	padding-top: 48px;
}

.catalog-item-added-popup__media-block {
	margin-bottom: 4px;
}

.catalog-item-added-popup__picture {
	display: block;
	margin: 0 auto 12px;
	max-width: 100%;
}

.catalog-item-added-popup__img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 180px;
	margin: 0 auto;
	object-fit: contain;
	border-radius: 10px;
	border: 1px solid #e8e6ec;
}

.catalog-item-added-popup__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: #2c2438;
	margin: 0;
	padding: 0 4px;
}

.catalog-item-added-popup__actions {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(123, 88, 145, 0.15);
}

.catalog-item-added-popup__hint {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 500;
	color: #7b5891;
}

.catalog-item-added-popup__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 12px;
}

.catalog-item-added-popup__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.catalog-item-added-popup__btn--primary.button.is-green {
	min-width: 168px;
	border: none;
	color: #fff;
}

.catalog-item-added-popup__btn--secondary {
	min-width: 168px;
	border: 1px solid rgba(123, 88, 145, 0.45);
	background: #fff;
	color: #7b5891;
}

.catalog-item-added-popup__btn--secondary:hover {
	background: rgba(123, 88, 145, 0.08);
	border-color: rgba(123, 88, 145, 0.65);
}

.catalog-item-added-popup__btn:focus-visible {
	outline: 2px solid #7b5891;
	outline-offset: 2px;
}

.catalog-item-added-popup__error {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #b83250;
	text-align: center;
}

@media (max-width: 400px) {
	.catalog-item-added-popup__buttons {
		flex-direction: column;
		width: 100%;
	}

	.catalog-item-added-popup__btn {
		width: 100%;
	}
}

/* Bootstrap fallback: то же окно добавления в корзину */
.catalog-item-added-bs-modal.modal {
	padding-left: max(12px, env(safe-area-inset-left, 0px));
	padding-right: max(12px, env(safe-area-inset-right, 0px));
	box-sizing: border-box;
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__dialog {
	max-width: min(440px, calc(100vw - 24px));
	width: auto;
	margin: 0.75rem auto;
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__content {
	border: 1px solid rgba(123, 88, 145, 0.18);
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(40, 30, 50, 0.12);
	overflow: hidden;
	font-family: var(--font-family, "Involve", sans-serif);
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__body {
	position: relative;
	padding: 0;
	box-sizing: border-box;
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: rgba(123, 88, 145, 0.08);
	opacity: 1;
	font-size: 0;
	line-height: 0;
	transition: background 0.2s ease;
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__close:hover {
	background: rgba(123, 88, 145, 0.18);
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__close::before,
.catalog-item-added-bs-modal .catalog-item-added-bs-modal__close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2px;
	background: #5c5b5b;
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.catalog-item-added-bs-modal .catalog-item-added-bs-modal__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.catalog-item-added-bs-modal .catalog-item-added-popup {
	padding-top: 48px;
}

/* End */
/* /local/templates/main/components/bitrix/catalog/main/style.css?177934852214681 */
/* /local/templates/main/components/bitrix/catalog.element/catalog_element/style.css?17788424754002 */
/* /local/templates/main/components/bitrix/catalog.item/additional_gift/style.css?17788430075217 */
