.name_calc {
	width: 178px;
	min-width: 178px;
	text-align: center;
}

.name_order {
	width: 135px;
	min-width: 135px;
	text-align: center;
}

div[data-entity="container-1"] .catalog-section-title .name_order,
div[data-entity="container-1"] .product-item .category-order {
	display: none !important;
}

.mc-calc-cell {
	width: 178px;
	min-width: 178px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 6px 0;
	box-sizing: border-box;
}

.mc-calc-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 34px;
	padding: 8px 14px;
	border: 1px solid #d5dce4;
	border-radius: 4px;
	background: #fff;
	color: #26323d;
	font-family: "SF Pro Display", Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.mc-calc-toggle:hover,
.mc-calc-toggle:focus {
	background: #f3f8fd;
	border-color: #0061b2;
	color: #0061b2;
	outline: none;
}

.mc-calc-toggle__icon {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cline x1='8' x2='16' y1='6' y2='6'/%3E%3Cline x1='16' x2='16' y1='14' y2='18'/%3E%3Cpath d='M8 10h.01'/%3E%3Cpath d='M12 10h.01'/%3E%3Cpath d='M16 10h.01'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='20' x='4' y='2' rx='2'/%3E%3Cline x1='8' x2='16' y1='6' y2='6'/%3E%3Cline x1='16' x2='16' y1='14' y2='18'/%3E%3Cpath d='M8 10h.01'/%3E%3Cpath d='M12 10h.01'/%3E%3Cpath d='M16 10h.01'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (min-width: 769px) {
	div[data-entity="container-1"] .catalog-section-title,
	div[data-entity="container-1"] .product-item {
		display: grid !important;
		grid-template-columns: 64px minmax(230px, 1fr) 150px 126px 190px !important;
		column-gap: 14px !important;
		align-items: center !important;
	}

	div[data-entity="container-1"] .catalog-section-title {
		padding: 0 22px 10px !important;
		margin-bottom: 0 !important;
		box-sizing: border-box !important;
	}

	div[data-entity="container-1"] .product-item {
		justify-content: initial !important;
		padding: 14px 22px !important;
		box-sizing: border-box !important;
	}

	div[data-entity="container-1"] .product-item > a {
		grid-column: 1 !important;
		width: 48px !important;
		justify-self: start !important;
	}

	div[data-entity="container-1"] .product-item h2.product-item-title,
	div[data-entity="container-1"] .product-item h3.product-item-title {
		grid-column: 2 !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0;
		white-space: normal !important;
		text-overflow: initial !important;
	}

	div[data-entity="container-1"].marka_field .catalog-section-title .name,
	div[data-entity="container-1"] .catalog-section-title .name {
		grid-column: 2 !important;
		width: auto !important;
		padding-left: 0 !important;
		box-sizing: border-box !important;
		text-align: left !important;
	}

	div[data-entity="container-1"] .catalog-section-title .name_m,
	div[data-entity="container-1"] .product-item .mtwo_text {
		grid-column: 3 !important;
		width: auto !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		text-align: center !important;
	}

	div[data-entity="container-1"] .product-item .mtwo_text {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
	}

	div[data-entity="container-1"] .catalog-section-title .name_marka,
	div[data-entity="container-1"].marka_field .product-item .marka,
	div[data-entity="container-1"] .product-item .marka {
		grid-column: 4 !important;
		width: auto !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		text-align: center !important;
	}

	div[data-entity="container-1"].marka_field .product-item .marka,
	div[data-entity="container-1"] .product-item .marka {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	div[data-entity="container-1"] .catalog-section-title .name_order,
	div[data-entity="container-1"] .product-item .category-order {
		display: none !important;
	}

	div[data-entity="container-1"] .product-item .category-order {
		flex: 0 0 0;
		width: 0;
		min-width: 0;
		padding: 0;
		margin: 0;
	}

	.name_calc,
	.mc-calc-cell {
		grid-column: 5 !important;
		justify-self: end !important;
		width: 178px !important;
		min-width: 178px !important;
		box-sizing: border-box !important;
	}

	.mc-calc-toggle {
		width: 156px;
		min-height: 42px;
		height: 42px;
		padding: 0 12px;
		border-radius: 5px;
		font-size: 14px;
	}
}

@media (min-width: 1200px) and (max-width: 1500px) {
	div[data-entity="container-1"] .catalog-section-title,
	div[data-entity="container-1"] .product-item {
		grid-template-columns: 56px minmax(245px, 1fr) 145px 120px 180px !important;
		column-gap: 12px !important;
	}

	div[data-entity="container-1"] .catalog-section-title,
	div[data-entity="container-1"] .product-item {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}
}

@media (max-width: 768px) {
	div[data-entity="container-1"] .table_wrap,
	div[data-entity="container-1"] .product-item-list-col-4,
	div[data-entity="container-1"] .product-item-small-card {
		width: 100% !important;
		max-width: 100% !important;
		overflow: visible !important;
		box-sizing: border-box !important;
	}

	div[data-entity="container-1"] .catalog-section-title {
		display: grid !important;
		grid-template-columns: 58px minmax(0, 1fr) !important;
		grid-template-areas:
			". name"
			". price"
			". marka" !important;
		row-gap: 6px !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 14px 10px !important;
		box-sizing: border-box !important;
	}

	div[data-entity="container-1"] .product-item {
		display: grid !important;
		grid-template-columns: 58px minmax(0, 1fr) !important;
		grid-template-areas:
			"image title"
			"image price"
			"image marka" !important;
		column-gap: 12px !important;
		row-gap: 6px !important;
		align-items: start !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 12px 14px !important;
		box-sizing: border-box !important;
		overflow: visible !important;
	}

	div[data-entity="container-1"] .product-item > a {
		grid-area: image !important;
		width: 48px !important;
		max-width: 48px !important;
		margin: 0 !important;
	}

	div[data-entity="container-1"] .product-item h2.product-item-title,
	div[data-entity="container-1"] .product-item h3.product-item-title {
		grid-area: title !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		white-space: normal !important;
		text-overflow: initial !important;
		box-sizing: border-box !important;
	}

	div[data-entity="container-1"] .product-item-title a {
		display: inline !important;
		word-break: normal !important;
		overflow-wrap: anywhere !important;
		white-space: normal !important;
	}

	div[data-entity="container-1"].marka_field .catalog-section-title .name,
	div[data-entity="container-1"] .catalog-section-title .name {
		grid-area: name !important;
		width: 100% !important;
		padding-left: 0 !important;
		text-align: left !important;
	}

	div[data-entity="container-1"] .catalog-section-title .name_m,
	div[data-entity="container-1"] .product-item .mtwo_text,
	div[data-entity="container-1"] .product-item .category-price {
		grid-area: price !important;
		width: 100% !important;
		min-width: 0 !important;
		padding: 0 !important;
		text-align: left !important;
		justify-content: flex-start !important;
		white-space: normal !important;
		box-sizing: border-box !important;
	}

	div[data-entity="container-1"] .catalog-section-title .name_marka,
	div[data-entity="container-1"].marka_field .product-item .marka,
	div[data-entity="container-1"] .product-item .marka {
		grid-area: marka !important;
		width: 100% !important;
		min-width: 0 !important;
		padding: 0 !important;
		text-align: left !important;
		justify-content: flex-start !important;
		box-sizing: border-box !important;
	}

	div[data-entity="container-1"] .catalog-section-title .name_order,
	div[data-entity="container-1"] .product-item .category-order,
	.name_calc,
	.mc-calc-cell {
		display: none !important;
	}
}

.mc-calc-mini {
	min-height: 14px;
	color: #7c8a96;
	font-size: 12px;
	line-height: 1.2;
}

.mc-calc-mini:empty {
	display: none;
}

.mc-calc-panel {
	width: 100%;
	margin: 8px 0 12px;
	padding: 14px;
	border: 1px solid #d7e6f2;
	border-left: 4px solid #0061b2;
	border-radius: 6px;
	background: #f7fbff;
	box-shadow: 0 8px 20px rgba(0, 70, 130, .08);
	box-sizing: border-box;
	color: #1b1f24;
}

.mc-calc-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.mc-calc-panel-head strong {
	display: block;
	margin-right: 28px;
	color: #1b1f24;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
}

.mc-calc-panel-head span,
.mc-calc-meta {
	display: block;
	margin-top: 4px;
	color: #6f7c87;
	font-size: 13px;
	line-height: 1.35;
}

.mc-calc-close,
.mc-order-close,
.mc-order-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-family: Arial, sans-serif;
	line-height: 1;
}

.mc-calc-close {
	width: 28px;
	height: 28px;
	color: #63717e;
	font-size: 28px;
}

.mc-calc-fields {
	display: grid;
	grid-template-columns: repeat(4, minmax(130px, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.mc-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: #4d5c68;
	font-size: 13px;
	line-height: 1.25;
}

.mc-field-title {
	color: #4d5c68;
	font-size: 13px;
	line-height: 1.25;
}

.mc-calc-fields input,
.mc-order-dialog input,
.mc-order-dialog textarea {
	width: 100%;
	min-height: 38px;
	border: 1px solid #cfd9e2;
	border-radius: 4px;
	background: #fff;
	color: #1b1f24;
	font-family: "SF Pro Display", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.35;
	box-sizing: border-box;
}

.mc-calc-fields input {
	padding: 7px 9px;
}

.mc-stepper {
	display: grid;
	grid-template-columns: 38px 1fr 38px;
	border: 1px solid #cfd9e2;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.mc-stepper input {
	min-height: 38px;
	border: 0;
	border-right: 1px solid #e0e7ee;
	border-left: 1px solid #e0e7ee;
	border-radius: 0;
	text-align: center;
}

.mc-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	border: 0;
	background: #f5f9fc;
	color: #0061b2;
	font-family: "SF Pro Display", Arial, sans-serif;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.mc-step:hover,
.mc-step:focus {
	background: #e7f2fb;
	outline: none;
}

.mc-presets {
	display: flex;
	gap: 6px;
	margin-top: 4px;
}

.mc-preset {
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid #cfd9e2;
	border-radius: 4px;
	background: #fff;
	color: #0061b2;
	font-family: "SF Pro Display", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}

.mc-preset:hover,
.mc-preset:focus,
.mc-preset.is-active {
	border-color: #0061b2;
	background: #0061b2;
	color: #fff;
	outline: none;
}

.mc-calc-fields input:focus,
.mc-order-dialog input:focus,
.mc-order-dialog textarea:focus {
	border-color: #0061b2;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 97, 178, .12);
}

.mc-calc-result {
	display: grid;
	grid-template-columns: repeat(2, minmax(180px, 1fr));
	gap: 10px;
	margin-top: 14px;
	padding: 0;
	background: transparent;
	color: #3a4650;
	font-size: 14px;
}

.mc-calc-result > div {
	padding: 10px 12px;
	border: 1px solid #dce8f1;
	border-radius: 4px;
	background: #fff;
}

.mc-calc-result span,
.mc-calc-result strong {
	display: block;
}

.mc-calc-result span {
	margin-bottom: 3px;
	color: #6f7c87;
	font-size: 12px;
	line-height: 1.25;
}

.mc-calc-result strong {
	color: #0061b2;
	font-size: 16px;
	font-weight: 600;
}

.mc-calc-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.mc-calc-add,
.mc-request-open,
.mc-order-dialog button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 18px;
	border: 1px solid #0061b2;
	border-radius: 4px;
	background: #0061b2;
	color: #fff;
	font-family: "SF Pro Display", Arial, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease;
}

.mc-calc-add:hover,
.mc-request-open:hover,
.mc-order-dialog button[type="submit"]:hover {
	background: #004f94;
	border-color: #004f94;
}

.mc-calc-add {
	background: #159447;
	border-color: #159447;
	box-shadow: 0 6px 14px rgba(21, 148, 71, .18);
}

.mc-calc-add:hover,
.mc-calc-add:focus {
	background: #0f7d3a;
	border-color: #0f7d3a;
}

.mc-calc-add.is-added {
	background: #128b47;
	border-color: #128b47;
}

.mc-calc-actions small {
	color: #6f7c87;
	font-size: 12px;
	line-height: 1.35;
}

.mc-request-bar {
	position: fixed;
	left: 24px;
	right: 170px;
	bottom: 18px;
	z-index: 2100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px 12px 18px;
	border: 1px solid rgba(0, 97, 178, .22);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 50, 95, .2);
	color: #1b1f24;
	box-sizing: border-box;
}

.mc-request-bar__summary {
	color: #3a4650;
	font-size: 16px;
	line-height: 1.35;
}

.mc-request-bar__summary strong {
	color: #0061b2;
	font-weight: 600;
}

.mc-request-bar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mc-request-clear {
	min-height: 40px;
	padding: 10px 12px;
	border: 1px solid #cfd9e2;
	border-radius: 4px;
	background: #fff;
	color: #63717e;
	font-family: "SF Pro Display", Arial, sans-serif;
	font-size: 14px;
	cursor: pointer;
}

.mc-order-modal {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(19, 29, 38, .56);
	box-sizing: border-box;
}

.mc-order-opened {
	overflow: hidden;
}

.mc-order-dialog {
	position: relative;
	width: min(720px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 24px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
	box-sizing: border-box;
}

.mc-order-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	color: #63717e;
	font-size: 30px;
}

.mc-order-dialog h3 {
	margin: 0 42px 16px 0;
	color: #1b1f24;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
}

.mc-order-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 210px;
	margin: 0 0 18px;
	padding: 0;
	overflow: auto;
	list-style: none;
}

.mc-order-list li {
	position: relative;
	padding: 10px 38px 10px 12px;
	border: 1px solid #e2e9ef;
	border-radius: 4px;
	background: #f8fbfd;
}

.mc-order-list strong,
.mc-order-list span {
	display: block;
}

.mc-order-list strong {
	color: #1b1f24;
	font-size: 14px;
	line-height: 1.3;
}

.mc-order-list span {
	margin-top: 4px;
	color: #6f7c87;
	font-size: 13px;
	line-height: 1.3;
}

.mc-order-remove {
	position: absolute;
	top: 9px;
	right: 8px;
	width: 26px;
	height: 26px;
	color: #8a97a2;
	font-size: 23px;
}

.mc-order-dialog form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.mc-order-dialog textarea,
.mc-order-dialog .mc-honeypot,
.mc-order-status,
.mc-order-dialog button[type="submit"] {
	grid-column: 1 / -1;
}

.mc-order-dialog input,
.mc-order-dialog textarea {
	padding: 9px 11px;
}

.mc-order-dialog textarea {
	min-height: 96px;
	resize: vertical;
}

.mc-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.mc-order-status .success,
.mc-order-status .fail {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.35;
}

.mc-order-status .success {
	color: #128b47;
}

.mc-order-status .fail {
	color: #b3261e;
}

@media (max-width: 1050px) {
	.name_calc,
	.mc-calc-cell {
		width: 152px;
		min-width: 152px;
	}

	.mc-calc-fields {
		grid-template-columns: repeat(2, minmax(130px, 1fr));
	}
}

@media (max-width: 768px) {
	body {
		padding-bottom: 90px;
	}

	.name_calc,
	.mc-calc-cell {
		width: 120px;
		min-width: 120px;
	}

	.mc-calc-toggle {
		padding-right: 10px;
		padding-left: 10px;
		font-size: 13px;
	}

	.mc-calc-panel {
		width: calc(100vw - 24px);
		min-width: 0;
		max-width: calc(100vw - 24px);
		padding: 12px;
	}

	.mc-calc-fields,
	.mc-calc-result,
	.mc-order-dialog form {
		grid-template-columns: 1fr;
	}

	.mc-calc-actions,
	.mc-request-bar,
	.mc-request-bar__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.mc-request-bar {
		left: 0;
		right: 0;
		bottom: 0;
		gap: 10px;
		border-radius: 0;
		padding: 12px;
	}

	.mc-request-bar__summary {
		font-size: 14px;
	}

	body.mc-calc-expanded .fixed_tg,
	body.mc-calc-expanded .fixed_telegram,
	body.mc-calc-expanded .telegram_fixed {
		display: none !important;
	}

	.mc-order-modal {
		padding: 10px;
	}

	.mc-order-dialog {
		max-height: calc(100vh - 20px);
		padding: 18px;
	}
}
