/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

/* "Есть в наличии на: ..." can list several warehouse names — let it wrap instead of overflowing the card (catalog list/grid cards) */
.js-replace-status {
	white-space: normal !important;
	word-break: break-word;
}

/* Compact warehouse codes remain visibly interactive and expose full stock details. */
.ndp-stock-stores {
	display: inline-flex;
	position: relative;
	gap: 3px;
	align-items: center;
	flex-wrap: wrap;
}

.ndp-stock-store-link {
	position: relative;
	color: #129f20 !important;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ndp-stock-store-link:hover,
.ndp-stock-store-link:focus-visible {
	color: var(--theme-base-color, #dfb443) !important;
	text-decoration-style: solid;
}

.ndp-stock-store-link::after {
	display: none;
	position: absolute;
	z-index: 80;
	left: 50%;
	bottom: calc(100% + 8px);
	min-width: max-content;
	padding: 7px 10px;
	border-radius: 6px;
	background: #252525;
	box-shadow: 0 7px 20px rgba(0, 0, 0, .18);
	color: #fff;
	content: attr(data-stock-tooltip);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	transform: translateX(-50%);
	white-space: nowrap;
}

.ndp-stock-store-link:hover::after,
.ndp-stock-store-link:focus-visible::after {
	display: block;
}

/* Manufacturer marks are intentionally removed sitewide; textual brand links remain. */
.ndp-brand-badge,
.brand-detail-info,
.brand-list-inner__image-wrapper,
.partner-detail__image-wrapper {
	display: none !important;
}

/* New site logo prepared from the supplied Corel/EPS artwork. */
.logo img[src*="norma-diesel-logo"] {
	width: 170px;
	height: auto;
	max-height: 60px;
	object-fit: contain;
}

/* "Склады" product tab — warehouse stock cards, stretch full tab width */
.ndp-stores-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}
.ndp-stores-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid #eee;
	border-radius: 12px;
	flex-wrap: wrap;
	width: 100%;
}
.ndp-stores-list__title {
	font-size: 16px;
	font-weight: 600;
	color: #222;
}
.ndp-stores-list__address {
	font-size: 13px;
	color: #999;
	margin-top: 2px;
}
.ndp-stores-list__phone {
	display: inline-block;
	font-size: 13px;
	color: #222;
	margin-top: 4px;
}
.ndp-stores-list__status {
	white-space: nowrap;
}
@media (max-width: 600px) {
	.ndp-stores-list__item {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Sitewide catalog sidebar */
.ndp-catalog-sidebar {
	position: relative;
	width: 100%;
	z-index: 20;
}

.ndp-catalog-card {
	position: relative;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 216px);
	background: #fff;
	border: 1px solid #e9e5db;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(34, 34, 34, 0.08);
}

.ndp-catalog-card__head {
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	min-height: 58px;
	margin: 0;
	padding: 0 17px;
	border: 0;
	border-radius: 13px 13px 0 0;
	background: var(--theme-base-color, #dfb443);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.035em;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ndp-catalog-card__head:hover,
.ndp-catalog-card__head:focus-visible {
	background: hsl(var(--theme-base-color-hue), var(--theme-base-color-saturation), calc(var(--theme-base-color-lightness) + var(--theme-lightness-hover-diff)));
}

.ndp-catalog-card__burger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.ndp-catalog-card__burger svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.ndp-catalog-card__title {
	flex: 1 1 auto;
}

.ndp-catalog-card__chevron,
.ndp-catalog-arrow {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ndp-catalog-card__chevron {
	width: 12px;
	height: 8px;
	transition: transform 0.2s ease;
}

.ndp-catalog-card.is-collapsed .ndp-catalog-card__chevron {
	transform: rotate(180deg);
}

.ndp-catalog-card.is-collapsed .ndp-catalog-card__head {
	border-radius: 13px;
}

.ndp-catalog-card.is-collapsed .ndp-catalog-list-wrap,
.ndp-catalog-card.is-collapsed .ndp-catalog-card__footer {
	display: none;
}

.ndp-catalog-list-wrap {
	min-height: 0;
	flex: 1 1 auto;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: #d7c59e transparent;
	scrollbar-width: thin;
}

.ndp-catalog-list-wrap::-webkit-scrollbar {
	width: 7px;
}

.ndp-catalog-list-wrap::-webkit-scrollbar-thumb {
	border-radius: 7px;
	background: #d7c59e;
}

.ndp-catalog-list,
.ndp-catalog-submenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ndp-catalog-list {
	border-top: 1px solid #eee9df;
}

.ndp-catalog-item {
	position: static;
	margin: 0;
}

/* The theme adds decorative dashes to content lists; they are not menu separators. */
.ndp-catalog-list > .ndp-catalog-item::before,
.ndp-catalog-submenu li::before {
	display: none !important;
	content: none !important;
}

.ndp-catalog-item + .ndp-catalog-item {
	border-top: 1px solid #f0eee9;
}

.ndp-catalog-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 62px;
	padding: 8px 16px;
	color: #424242;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.18s ease, background-color 0.18s ease;
}

.ndp-catalog-link:hover,
.ndp-catalog-link:focus-visible,
.ndp-catalog-item.is-active > .ndp-catalog-link {
	background: #fff8e9;
	color: #222;
	text-decoration: none;
}

.ndp-catalog-item.is-active > .ndp-catalog-link {
	font-weight: 700;
}

.ndp-catalog-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border: 1px solid #e5c365;
	border-radius: 9px;
	background: #fffaf0;
	color: #222;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.ndp-catalog-icon svg {
	width: 24px;
	height: 24px;
}

.ndp-catalog-link:hover .ndp-catalog-icon,
.ndp-catalog-link:focus-visible .ndp-catalog-icon,
.ndp-catalog-item.is-active > .ndp-catalog-link .ndp-catalog-icon {
	background: #fff;
}

.ndp-catalog-name {
	min-width: 0;
	flex: 1 1 auto;
}

.ndp-catalog-arrow {
	width: 8px;
	height: 12px;
	flex: 0 0 8px;
	color: #ab8640;
}

.ndp-catalog-card__footer {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 44px;
	padding: 0 17px;
	border-top: 1px solid #eee9df;
	border-radius: 0 0 13px 13px;
	background: #fffdf8;
	font-size: 12px;
}

.ndp-catalog-card.has-more-below .ndp-catalog-card__footer::before {
	position: absolute;
	right: 7px;
	bottom: 100%;
	left: 0;
	height: 20px;
	background: linear-gradient(transparent, #fff);
	content: '';
	pointer-events: none;
}

.ndp-catalog-card__scroll-hint {
	visibility: hidden;
	color: #85817a;
}

.ndp-catalog-card.has-more-below .ndp-catalog-card__scroll-hint {
	visibility: visible;
}

.ndp-catalog-card__all {
	margin-left: auto;
	color: #755514;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.ndp-catalog-card__all:hover,
.ndp-catalog-card__all:focus-visible {
	color: #222;
	text-decoration: underline;
}

.ndp-catalog-submenu {
	display: block;
	position: fixed;
	top: var(--ndp-flyout-top, 252px);
	left: var(--ndp-flyout-left, 320px);
	width: 300px;
	max-height: min(560px, var(--ndp-flyout-height, calc(100vh - 140px)));
	overflow-y: auto;
	padding: 18px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(34, 34, 34, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.28s;
	z-index: 30;
}

.ndp-catalog-item:hover > .ndp-catalog-submenu,
.ndp-catalog-item:focus-within > .ndp-catalog-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	transition-delay: 0s;
}

.ndp-catalog-submenu::before {
	position: absolute;
	top: 0;
	right: 100%;
	width: 2px;
	height: 100%;
	content: '';
}

.ndp-catalog-submenu__title {
	display: block;
	margin: -2px 0 10px;
	padding: 0 4px 13px;
	border-bottom: 1px solid #e8e8e8;
	color: #222;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.ndp-catalog-submenu li + li {
	border-top: 1px solid #f0f0f0;
}

.ndp-catalog-submenu li a {
	display: block;
	padding: 10px 4px;
	color: #555;
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
}

.ndp-catalog-submenu li a:hover,
.ndp-catalog-submenu li a:focus-visible,
.ndp-catalog-submenu li.is-active a {
	color: #222;
	font-weight: 600;
}

@media (min-width: 992px) {
	.container .left_block {
		--width: 320px;
		--padding: 28px;
	}

	.container .right_block.narrow_Y {
		width: calc(100% - 320px);
	}

	.ndp-catalog-card {
		position: sticky;
		top: 24px;
	}

	.ndp-index-layout {
		margin-top: 24px;
	}
}

@media (min-width: 1600px) {
	.container .left_block {
		--width: 360px;
		--padding: 32px;
	}

	.container .right_block.narrow_Y {
		width: calc(100% - 360px);
	}
}

@media (max-width: 991px) {
	.ndp-catalog-sidebar {
		display: none !important;
	}
}

/* On a product without characteristics/options, do not reserve an empty middle column. */
.catalog-detail__main-part--left[hidden] {
	display: none !important;
}

/* With no auxiliary detail column, keep purchase cards compact and give the space to the gallery. */
@media (min-width: 1200px) {
	.catalog-detail__top-info--wide-gallery {
		gap: 32px;
	}

	.catalog-detail__top-info--wide-gallery .detail-gallery-big {
		width: calc(100% - 428px);
		max-width: none;
		margin: 0;
		flex: 1 1 auto;
	}

	.catalog-detail__top-info--wide-gallery .catalog-detail__main {
		width: 396px;
		flex: 0 0 396px;
	}
}

.ndp-cabinet-menu {
	margin-top: 24px;
}

.catalog-detail__back-link {
	margin: 0 0 24px;
}

/* Keep the baked-in homepage banner composition visible in the narrower desktop column. */
@media (min-width: 992px) {
	.ndp-index-layout .BIG_BANNER_INDEX .banners-big__depend-height {
		height: auto;
		aspect-ratio: 1350 / 460;
	}

	.ndp-index-layout .BIG_BANNER_INDEX .main-slider__item {
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		background-color: #fafafa;
	}
}

/* Product-card image navigation uses compact round indicators. */
.section-gallery-nav__item {
	width: 7px;
	height: 7px;
	margin: 0 3px;
	border-radius: 50%;
	background: #c7c7c7;
}

.section-gallery-nav__item.active {
	background: var(--theme-base-color, #dfb443);
}

/* Compact header city selector: the available cities mirror the configured stores. */
.ndp-header-city__dropdown {
	min-width: 270px;
}

.ndp-header-city__list {
	overflow: hidden;
	padding: 0 !important;
}

.ndp-header-city__hint {
	padding: 15px 17px;
	border-bottom: 1px solid #e8e8e8;
	background: #fffaf0;
	color: #555;
	font-size: 12px;
	line-height: 1.45;
}

.ndp-header-city__row {
	margin: 0 !important;
	padding: 0 !important;
}

.ndp-header-city__row + .ndp-header-city__row {
	border-top: 1px solid #e8e8e8;
}

.ndp-header-city__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 14px 17px;
	border: 0;
	background: #fff;
	color: #555;
	font: inherit;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: color 0.18s ease, background-color 0.18s ease;
}

.ndp-header-city__item:hover,
.ndp-header-city__item:focus-visible {
	background: #fafafa;
	color: #222;
}

.ndp-header-city__item.current {
	background: #fffaf0;
	color: #222;
	font-weight: 600;
}

.ndp-header-city__item i {
	width: 8px;
	height: 8px;
	margin-left: 20px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: var(--theme-base-color, #dfb443);
	opacity: 0;
}

.ndp-header-city__item.current i {
	opacity: 1;
}

.ndp-header-city__manual {
	padding: 15px 17px 17px;
	border-top: 1px solid #e8e8e8;
	background: #fff;
}

.ndp-header-city__manual label {
	display: block;
	margin-bottom: 8px;
	color: #222;
	font-size: 13px;
	font-weight: 600;
}

.ndp-header-city__manual-row {
	display: flex;
	gap: 7px;
}

.ndp-header-city__manual-row input {
	min-width: 0;
	height: 38px;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	flex: 1;
	font: inherit;
}

.ndp-header-city__manual-row .btn {
	padding-right: 12px;
	padding-left: 12px;
}

.ndp-header-city__manual-error {
	margin-top: 6px;
	color: #e33;
	font-size: 12px;
}

.ndp-header-city {
	position: relative;
}

.ndp-city-confirm {
	position: absolute;
	top: calc(100% + 15px);
	left: -18px;
	width: 320px;
	padding: 20px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(34, 34, 34, 0.16);
	color: #555;
	z-index: 1002;
}

.ndp-city-confirm::before {
	position: absolute;
	top: -7px;
	left: 34px;
	width: 12px;
	height: 12px;
	border-top: 1px solid #e8e8e8;
	border-left: 1px solid #e8e8e8;
	background: #fff;
	content: '';
	transform: rotate(45deg);
}

.ndp-city-confirm__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #999;
	font-size: 24px;
	line-height: 30px;
	cursor: pointer;
}

.ndp-city-confirm__close:hover,
.ndp-city-confirm__close:focus-visible {
	color: #222;
}

.ndp-city-confirm__caption {
	margin-bottom: 3px;
	color: #999;
	font-size: 13px;
}

.ndp-city-confirm__title {
	padding-right: 26px;
	color: #222;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.ndp-city-confirm__text {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
}

.ndp-city-confirm__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 16px;
}

.ndp-city-confirm__actions .btn,
.ndp-city-confirm > .btn {
	white-space: nowrap;
}

.ndp-city-confirm > .btn {
	width: 100%;
	margin-top: 16px;
}

@media (max-width: 767px) {
	.ndp-city-confirm {
		position: fixed;
		top: 72px;
		left: 16px;
		width: calc(100vw - 32px);
	}

	.ndp-city-confirm::before {
		display: none;
	}
}

/* Fixed callback entry point available on every page. */
.ndp-help-widget {
	position: fixed;
	z-index: 990;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	opacity: .75;
	transition: opacity .18s ease;
}

.ndp-help-widget[hidden] {
	display: none !important;
}

.ndp-help-widget:hover,
.ndp-help-widget:focus-within {
	opacity: 1;
}

.ndp-help-widget__close {
	position: absolute;
	top: -16px;
	left: -16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #e3d7ba;
	border-radius: 50%;
	background: #fff;
	color: #8b681b;
	box-shadow: 0 3px 12px rgba(40, 32, 14, .12);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.ndp-help-widget__close:focus-visible {
	outline: 2px solid #8b681b;
	outline-offset: 3px;
}

.ndp-help-tab {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 9px;
	padding: 13px 14px;
	border: 0;
	border-radius: 10px 0 0 10px;
	background: var(--theme-base-color, #dfb443);
	box-shadow: 0 8px 24px rgba(40, 32, 14, .2);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	writing-mode: horizontal-tb;
	cursor: pointer;
	transition: background-color .18s ease, padding .18s ease;
}

.ndp-help-tab__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	writing-mode: horizontal-tb;
}

.ndp-help-tab__text {
	display: block;
	max-width: 68px;
	text-align: left;
	white-space: normal;
	writing-mode: horizontal-tb;
}

.ndp-help-tab:hover,
.ndp-help-tab:focus-visible {
	padding-left: 18px;
	background: #c99b2d;
	color: #fff;
}

@media (max-width: 600px) {
	.ndp-help-widget {
		top: auto;
		right: 12px;
		bottom: 76px;
		transform: none;
	}

	.ndp-help-tab {
		flex-direction: row;
		gap: 8px;
		padding: 12px 16px;
		border-radius: 24px;
		font-size: 13px;
		writing-mode: horizontal-tb;
	}

	.ndp-help-tab__icon {
		width: 20px;
		height: 20px;
		font-size: 13px;
	}

	.ndp-help-tab__text {
		writing-mode: horizontal-tb;
	}
}

/* Homepage advantages: light product-banner cards. */
.drag-block.MIDDLE_ADV .banners-img-with-text-list__item {
	background: #fdf3e8;
}

.drag-block.MIDDLE_ADV .banners-img-with-text-list__item::before {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(253, 243, 232, 0) 48%, rgba(253, 243, 232, 0.9) 70%, #fdf3e8 79%);
	content: '';
	pointer-events: none;
}

.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-image {
	background-color: #fdf3e8;
	background-position: center top;
	background-size: 100% auto;
}

.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-text--absolute {
	z-index: 2;
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 18px 22px 24px;
	text-align: center;
}

.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-text-scrollbar-wrapper {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	padding: 0 !important;
}

.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-text-scrollbar-wrapper::-webkit-scrollbar {
	display: none;
}

.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-text--absolute.dark-block-after::after {
	display: none;
}

.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-title,
.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-title a {
	color: #242424 !important;
	font-size: 28px !important;
	font-weight: 700;
	line-height: 1.12;
	text-shadow: none;
}

@media (max-width: 767px) {
	.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-text--absolute {
		padding: 18px 18px 20px;
	}

	.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-title,
	.drag-block.MIDDLE_ADV .banners-img-with-text-list__item-title a {
		font-size: 22px !important;
	}
}

/* Homepage services: three cards per row on desktop. */
@media (min-width: 1200px) {
	.drag-block.SERVICES .services-list .grid-list {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/* Comparison is not used in the store header or mobile menu. */
[data-ajax-load-block="HEADER_TOGGLE_COMPARE"],
[data-ajax-load-block="HEADER_FIXED_TOGGLE_COMPARE"],
[data-ajax-load-block="MOBILE_MENU_TOGGLE_COMPARE"] {
	display: none !important;
}

/* Load the compact company image immediately instead of waiting for lazyload. */
.drag-block.COMPANY_TEXT .company-item__picture[data-bg="/upload/iblock/f22/bppql2hpio6xrcob860gy6758w5crg14.jpg"] {
	background-image: url('/upload/iblock/f22/bppql2hpio6xrcob860gy6758w5crg14.jpg') !important;
}

.company-page__content {
	max-width: 1120px;
}

.company-page__content p {
	margin-bottom: 22px;
	font-size: 18px;
	line-height: 1.65;
}

.company-page__team-image {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 30px;
	border-radius: var(--theme-outer-border-radius, 8px);
}

/* Checkout uses the whole page content area; the catalog sidebar is not relevant here. */
body.ndp-checkout-page .container .left_block {
	display: none !important;
}

body.ndp-checkout-page .container .right_block.narrow_Y {
	width: 100%;
}

.ndp-order-basket {
	width: 100%;
	margin-bottom: 24px;
}

.ndp-order-basket .basket-items-list {
	padding-inline: 0;
}

.ndp-order-basket .basket-items-list-table td:first-of-type {
	padding-left: 20px;
}

.ndp-order-basket .basket-items-list-table td:last-of-type {
	padding-right: 20px;
}

.ndp-order-basket .basket-items-list-item-wrapper > td {
	padding-top: 14px;
	padding-bottom: 14px;
}

.ndp-order-basket .basket-item-info-name,
.ndp-order-basket .basket-item-info-name-link {
	font-size: 16px;
	line-height: 1.35;
}

.ndp-order-basket .basket-items-list-item-wrapper .basket-items-list-item-amount-outer {
	width: 120px;
}

.ndp-order-basket .basket-items-list-item-wrapper td.basket-items-list-item-price {
	width: 190px;
	padding-left: 16px;
}

.ndp-order-basket .basket-items-list-wrapper-compact .basket-item-block-image {
	min-width: 44px;
	max-width: 44px;
}

.ndp-order-basket .basket-item-property,
.ndp-order-basket .basket-item-property-custom {
	font-size: 12px;
	line-height: 1.35;
}

.ndp-order-basket .basket-item-price-current-value {
	white-space: nowrap;
}

.ndp-order-basket .ndp-basket-stock-label {
	color: #24a329 !important;
	font-weight: 500;
}

.ndp-order-basket .ndp-basket-stock-limit {
	margin-top: 6px;
	color: #d92c2c;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
}

@media (max-width: 991px) {
	.ndp-order-basket {
		width: 100%;
		margin-bottom: 16px;
	}
}
/* Price request: use the desktop width to avoid an unnecessary inner scrollbar. */
@media (min-width: 768px) {
  body .price_request_frame.jqmWindow {
    width: min(760px, calc(100vw - 48px));
    max-width: min(760px, calc(100vw - 48px));
  }

  body .price_request_frame .form.popup {
    padding-right: 32px;
    padding-left: 32px;
  }

  body .price_request_frame .form.popup:not(.success) .form-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  body .price_request_frame .form.popup:not(.success) .form-body > .row {
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
  }

  body .price_request_frame .form.popup:not(.success) .form-body > .row > [class*="col-"] {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  body .price_request_frame .form.popup:not(.success) .form-body > .row[data-sid="PRODUCT_NAME"],
  body .price_request_frame .form.popup:not(.success) .form-body > .row[data-sid="COMMENT"],
  body .price_request_frame .form.popup:not(.success) .form-body > .licence_block {
    grid-column: 1 / -1;
  }

  body .price_request_frame .form-group {
    margin-bottom: 18px;
  }

  body .price_request_frame textarea.form-control {
    min-height: 104px;
    height: 104px;
  }
}

body .price_request_frame.ndp-wholesale-request .form.popup:not(.success) .form-body > .row[data-sid="PRODUCT_NAME"] {
  display: none;
}

body .price_request_frame .form.popup.success .form-body,
body .price_request_frame .form.popup.success .form-inner,
body .price_request_frame .form.popup.success .form-send {
  width: 100%;
}

/* Brand marks support the product card without competing with its title and CTA. */
.ndp-brand-badge {
  flex: 0 0 80px;
  width: 80px;
  min-width: 80px;
  height: 30px;
  margin: 0;
  align-self: center;
}

.ndp-brand-badge > a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.ndp-brand-badge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 80px;
  max-height: 30px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .ndp-brand-badge {
    flex-basis: 68px;
    width: 68px;
    min-width: 68px;
    height: 26px;
  }

  .ndp-brand-badge img {
    max-width: 68px;
    max-height: 26px;
  }
}

/* Keep the invoice action opposite the payment details on the order success page. */
.sale_order_full_table.ndp-invoice-payment {
  display: table !important;
  width: 100% !important;
  max-width: 780px;
  table-layout: fixed;
  box-sizing: border-box;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.sale_order_full_table.ndp-invoice-payment > tbody {
  display: table-row-group !important;
}

.sale_order_full_table.ndp-invoice-payment > tbody > tr {
  display: table-row !important;
}

.sale_order_full_table.ndp-invoice-payment .ps_logo,
.sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__title,
.sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__action {
  display: table-cell !important;
  vertical-align: middle;
}

.sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__title {
  padding: 0 0 26px !important;
  font-size: 18px;
  line-height: 20px;
  color: var(--white_text_black);
  text-align: left;
}

.sale_order_full_table.ndp-invoice-payment .ps_logo {
  width: auto;
  padding: 0 24px 0 0 !important;
}

.sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__action {
  width: 240px;
  padding: 0 !important;
  text-align: right;
}

.sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__button {
  display: inline-flex;
  width: auto !important;
  min-width: 205px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .sale_order_full_table.ndp-invoice-payment,
  .sale_order_full_table.ndp-invoice-payment > tbody,
  .sale_order_full_table.ndp-invoice-payment > tbody > tr,
  .sale_order_full_table.ndp-invoice-payment .ps_logo,
  .sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__title,
  .sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__action {
    display: block !important;
    width: 100%;
  }

  .sale_order_full_table.ndp-invoice-payment .ps_logo {
    padding: 0 0 24px !important;
  }

  .sale_order_full_table.ndp-invoice-payment .ndp-invoice-payment__action {
    text-align: left;
  }
}

/* Payment and delivery information pages. */
.ndp-help-page {
  --ndp-help-gold: #e0b33f;
  --ndp-help-ink: #242424;
  --ndp-help-muted: #666;
  --ndp-help-soft: #f7f7f5;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 24px;
}

.ndp-help-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 16px;
  background: #f2f3f3;
}

.ndp-help-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.08) 68%);
  pointer-events: none;
}

.ndp-help-hero img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.ndp-help-hero__content {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(24px, 5vw, 64px);
  width: min(46%, 520px);
  transform: translateY(-50%);
}

.ndp-help-hero__eyebrow,
.ndp-help-kicker {
  display: block;
  margin-bottom: 10px;
  color: #b8870c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ndp-help-hero__content h2 {
  margin: 0 0 16px;
  color: var(--ndp-help-ink);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}

.ndp-help-hero__content p {
  max-width: 470px;
  margin: 0;
  color: #525252;
  font-size: 17px;
  line-height: 1.55;
}

.ndp-help-section__heading {
  margin-bottom: 24px;
}

.ndp-help-section__heading h2,
.ndp-help-contact h2 {
  margin: 0;
  color: var(--ndp-help-ink);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.2;
}

.ndp-help-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ndp-help-step,
.ndp-help-option {
  position: relative;
  padding: 28px;
  border-radius: 14px;
  background: var(--ndp-help-soft);
}

.ndp-help-step > span,
.ndp-help-option__label {
  display: inline-flex;
  min-width: 42px;
  height: 28px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #fff4d8;
  color: #a47600;
  font-size: 13px;
  font-weight: 700;
}

.ndp-help-step h3,
.ndp-help-option h3,
.ndp-help-note h3 {
  margin: 0 0 10px;
  color: var(--ndp-help-ink);
  font-size: 20px;
  line-height: 1.3;
}

.ndp-help-step p,
.ndp-help-option p,
.ndp-help-note p {
  margin: 0;
  color: var(--ndp-help-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ndp-help-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ndp-help-option {
  padding: 32px;
}

.ndp-help-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.ndp-help-cities span {
  padding: 7px 11px;
  border-radius: 20px;
  background: #fff;
  color: #555;
  font-size: 13px;
}

.ndp-help-link {
  color: #ae7d06;
  font-weight: 600;
}

.ndp-help-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ndp-help-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  color: var(--ndp-help-muted);
  line-height: 1.45;
}

.ndp-help-list li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ndp-help-gold);
}

.ndp-help-note {
  display: flex;
  gap: 18px;
  padding: 24px 28px;
  align-items: flex-start;
  border-radius: 14px;
  background: #fff8e8;
}

.ndp-help-note__icon {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ndp-help-gold);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.ndp-help-contact {
  display: flex;
  gap: 28px;
  padding: 32px;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: #252525;
}

.ndp-help-contact h2 {
  color: #fff;
}

.ndp-help-contact__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.ndp-help-contact__links a {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.ndp-help-contact__links a:hover {
  color: var(--ndp-help-gold);
}

.ndp-help-contact__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ndp-help-contact__button.btn {
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid var(--ndp-help-gold);
  border-radius: 8px;
  color: #211d14;
  background: var(--ndp-help-gold);
  box-shadow: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  white-space: normal;
}

.ndp-help-contact__button.btn:hover,
.ndp-help-contact__button.btn:focus {
  border-color: #edc765;
  color: #211d14;
  background: #edc765;
}

@media (max-width: 900px) {
  .ndp-help-page { gap: 36px; }
  .ndp-help-hero,
  .ndp-help-hero img { height: 330px; min-height: 330px; }
  .ndp-help-hero__content { width: 58%; }
  .ndp-help-options { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ndp-help-page { gap: 28px; }
  .ndp-help-hero,
  .ndp-help-hero img { height: 390px; min-height: 390px; }
  .ndp-help-hero img { object-position: 68% center; }
  .ndp-help-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 56%, rgba(255,255,255,.12) 100%); }
  .ndp-help-hero__content { top: 34px; right: 24px; left: 24px; width: auto; transform: none; }
  .ndp-help-hero__content h2 { font-size: 30px; }
  .ndp-help-hero__content p { font-size: 15px; }
  .ndp-help-steps { grid-template-columns: 1fr; }
  .ndp-help-step,
  .ndp-help-option { padding: 24px; }
  .ndp-help-note { padding: 22px; }
  .ndp-help-contact { align-items: flex-start; flex-direction: column; padding: 26px; }
  .ndp-help-contact__links { align-items: flex-start; }
}
/* The personal account keeps its own navigation and does not need the catalog sidebar. */
.container.cabinte-page .left_block {
	display: none !important;
}

.container.cabinte-page .right_block.narrow_Y {
	width: 100%;
}

/* Footer development credit */
#footer .footer__developer { margin-left: auto; text-align: right; }
#footer .ndp-footer-credit { white-space: nowrap; }
#footer .ndp-footer-credit a { color: var(--theme-base-color, #d8af4b); font-weight: 700; text-decoration: none; }
#footer .ndp-footer-credit a:hover, #footer .ndp-footer-credit a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) {
    #footer .footer__bottom-part-inner { padding-bottom: 96px; }
    #footer .footer__developer { margin-left: 16px; text-align: left; }
    #footer .ndp-footer-credit { white-space: normal; }
}
/* Per-warehouse balances and city stock warnings. */
.ndp-stock-summary {
	padding: 14px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: transparent;
}
.ndp-stock-summary__title { margin-bottom: 8px; font-weight: 700; color: #222; }
.ndp-stock-summary__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 8px;
}
.ndp-stock-summary__store {
	padding: 0;
	border: 0;
	background: none;
	color: #555;
	font: inherit;
	text-align: left;
	cursor: pointer;
	text-decoration: underline dotted;
	text-underline-offset: 3px;
}
.ndp-stock-summary__store.is-available { color: #129f20 !important; font-weight: 400; }
.ndp-stock-summary__store.is-empty { color: #767676 !important; font-weight: 400; }
.ndp-stock-summary__store.is-current { font-weight: 700; }
.ndp-stock-summary__store:hover span { color: inherit; }
.ndp-stock-modal { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 20px; }
.ndp-stock-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .48); }
.ndp-stock-modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 28px; border-radius: 12px; background: #fff; box-shadow: 0 20px 55px rgba(0, 0, 0, .22); }
.ndp-stock-modal__dialog h2 { margin: 0 40px 20px 0; font-size: 24px; }
.ndp-stock-modal__close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; background: transparent; color: #777; font-size: 30px; line-height: 30px; cursor: pointer; }
.ndp-stock-modal__product, .ndp-stock-warning__product { margin-bottom: 14px; font-weight: 700; color: #222; }
.ndp-stock-modal__row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 12px 0; border-top: 1px solid #eee; }
.ndp-stock-modal__row small { display: block; margin-top: 3px; color: #888; }
.ndp-stock-modal__row .ndp-stock-modal__amount { white-space: nowrap; }
.ndp-stock-modal__row.is-available { color: #129f20; }
.ndp-stock-modal__row.is-empty { color: #767676; }
.ndp-stock-modal__row.is-current { font-weight: 700; }
.ndp-stock-modal__row.is-current small { font-weight: 400; }
.ndp-stock-modal__row .is-available { color: #16a229; }
.ndp-stock-modal__row .is-empty { color: #767676; }
.ndp-stock-modal__error { color: #d52b2b; }
.ndp-stock-modal--warning .ndp-stock-modal__content { line-height: 1.55; }
.ndp-stock-modal--warning hr { margin: 18px 0; border: 0; border-top: 1px solid #eee; }
.ndp-stock-modal-open { overflow: hidden; }
.ndp-checkout-stock { display: block; margin-top: 10px; line-height: 1.45; }
.ndp-checkout-stock strong { display: block; }
.ndp-checkout-stock__local { color: #169b2c; }
.ndp-checkout-stock__remote { color: #8b5e3c; font-weight: 700; }
.ndp-checkout-stock-details { display: inline-block; margin-top: 9px; padding: 0; border: 0; background: transparent; color: #333; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ndp-checkout-stock-details:hover { color: var(--theme-base-color, #d8af4b); }
.ndp-checkout-stock-details--quantity { margin-top: 0; color: inherit; font-weight: inherit; }
.ndp-checkout-stock-details--quantity:hover { color: inherit; }
.ndp-stock-modal__group + .ndp-stock-modal__group { margin-top: 24px; }
.ndp-stock-modal__group h3 { margin: 0 0 8px; font-size: 17px; }
.ndp-stock-modal__basket-row { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid #eee; }
.ndp-stock-modal__basket-row span { min-width: 0; }
.ndp-stock-modal__basket-row b { flex: 0 0 auto; white-space: nowrap; }
.ndp-stock-modal__basket-row .is-available { color: #169b2c; }
.ndp-stock-modal__basket-row .is-empty { color: #8b5e3c; }
.ndp-basket-city-stock { display: block; margin-top: 4px; line-height: 1.4; }
.ndp-basket-city-stock__line { display: block; font-weight: 600; }
.ndp-basket-city-stock__line--local { color: #169b2c; }
.ndp-basket-city-stock__line--remote { color: #8b5e3c; }
.ndp-basket-city-stock__line .ndp-basket-city-stock__quantity { color: inherit !important; font-weight: inherit; }
.ndp-basket-city-stock__line .ndp-basket-city-stock__quantity:hover { color: inherit !important; }
@media (max-width: 600px) {
	.ndp-stock-modal { padding: 10px; }
	.ndp-stock-modal__dialog { padding: 22px 18px; }
	.ndp-stock-modal__dialog h2 { font-size: 21px; }
}

/* Leave room for the Bitrix24 consultant and its pulse animation. */
body .scroll-to-top {
	bottom: 150px !important;
	right: 61px !important;
}
