@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
	--navy: #0e1330;
	--navy-2: #151a3a;
	--burgundy: #3a0f26;
	--wine: #5c1230;
	--red: #c93c4b;
	--red-hover: #d94957;
	--muted: #8892b0;
	--line: #e7e4dd;
	--paper: #f4f1eb;
	--paper-2: #eae6de;
	--ink: #0e1330;
	--ink-2: #3a3f5a;
}

/* =========================================================
   СТРАНИЦА КАЛЬКУЛЯТОРА
   ========================================================= */

body.page-id-42 {
	background: #f6f4ef;
}

body.page-id-42 .site-main,
body.page-id-42 .page-wrap,
body.page-id-42 .page-wrap--light,
body.page-id-42 .entry,
body.page-id-42 .entry__content,
body.page-id-42 .elementor,
body.page-id-42 .elementor-section-wrap {
	background: #f6f4ef;
}

body.page-id-42 .page-wrap {
	padding-top: 28px;
	padding-bottom: 80px;
}

body.page-id-42 .page-wrap > .container {
	width: 100%;
	max-width: 1288px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 24px;
	padding-left: 24px;
}

/*
 * Заголовок уже находится внутри калькулятора.
 * Стандартный заголовок WordPress скрываем.
 */
body.page-id-42 .page-title {
	display: none;
}

body.cssc-wc-modal-open {
	overflow: hidden;
}

/* =========================================================
   ОБЩИЙ КОНТЕЙНЕР
   ========================================================= */

.cssc-weight-calculator {
	display: block;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0;
	color: var(--ink);
	font-family: "Manrope", system-ui, sans-serif;
	line-height: 1.45;
	white-space: normal;
	-webkit-font-smoothing: antialiased;
}

.cssc-weight-calculator,
.cssc-weight-calculator * {
	box-sizing: border-box;
}

.cssc-weight-calculator button,
.cssc-weight-calculator input,
.cssc-weight-calculator select,
.cssc-weight-calculator textarea {
	font-family: inherit;
}

.cssc-wc {
	width: 100%;
	overflow: hidden;
	padding: 48px 48px 44px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 30px 60px -30px rgba(14, 19, 48, 0.12);
}

/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.cssc-wc__header {
	display: flex;
	gap: 24px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 34px;
	padding: 0;
	border: 0;
	background: transparent;
}

.cssc-wc__header-main {
	max-width: 760px;
}

.cssc-wc__eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid #d9d5cc;
	border-radius: 999px;
	background: #ffffff;
	color: var(--ink);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
}

.cssc-wc__title {
	margin: 14px 0 8px;
	color: var(--ink);
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.cssc-wc__title::after {
	color: var(--red);
	content: " — партия кабеля";
}

.cssc-wc__description {
	max-width: 520px;
	margin: 0;
	color: #5a607b;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
}

.cssc-wc__status {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.cssc-wc__status i {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* Поддержка предыдущего варианта разметки */

.cssc-wc__status > span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* =========================================================
   ОСНОВНОЙ БЛОК
   ========================================================= */

.cssc-wc__body {
	padding: 0;
	background: transparent;
}

.cssc-wc__notice {
	margin: 0 0 22px;
	padding: 15px 18px;
	border: 1px solid #f1c9ce;
	border-radius: 12px;
	background: #fff5f6;
	color: #9d2d39;
	font-size: 13px;
	font-weight: 600;
}

.cssc-wc__notice[hidden] {
	display: none !important;
}

/* =========================================================
   ЗАГОЛОВОК ТАБЛИЦЫ
   ========================================================= */

.cssc-wc__table-head {
	display: grid;
	grid-template-columns:
		44px
		1.4fr
		1.1fr
		90px
		1fr
		44px;
	gap: 14px;
	align-items: center;
	margin: 0;
	padding: 0 4px 12px;
	border-bottom: 1px solid var(--line);
	background: transparent;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cssc-wc__table-head > div:nth-child(5) {
	padding-right: 6px;
	text-align: right;
}

/* =========================================================
   СТРОКА ТОВАРА
   ========================================================= */

.cssc-wc__row {
	position: relative;
	display: grid;
	grid-template-columns:
		44px
		1.4fr
		1.1fr
		90px
		1fr
		44px;
	gap: 14px;
	align-items: center;
	margin: 0;
	padding: 14px 4px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
}

.cssc-wc__row:last-child {
	border-bottom: 0;
}

.cssc-wc__number,
.cssc-wc__row-number {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 8px;
	background: var(--paper);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
}

.cssc-wc__field {
	position: relative;
	display: block;
	min-width: 0;
	margin: 0;
}

.cssc-wc__field > span,
.cssc-wc__field > label,
.cssc-wc__value > span,
.cssc-wc__value > label,
.cssc-wc__row-value > label {
	display: none;
}

.cssc-wc__field select,
.cssc-wc__field input {
	display: block;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	outline: none;
	background: #f6f4ef;
	color: var(--ink);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	appearance: none;
	box-shadow: none;
	transition:
		border-color 0.15s ease,
		background-color 0.15s ease;
	-webkit-appearance: none;
}

.cssc-wc__field select {
	padding-right: 38px;
	cursor: pointer;
}

.cssc-wc__field select:focus,
.cssc-wc__field input:focus {
	border-color: var(--red);
	background: #ffffff;
	box-shadow: none;
}

/* Стрелка select */

.cssc-wc__field:has(select)::after {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	content: "";
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
}

/* Поле с единицей измерения */

.cssc-wc__unit-field,
.cssc-wc__input-unit {
	position: relative;
}

.cssc-wc__unit-field input,
.cssc-wc__input-unit input {
	padding-right: 42px;
}

.cssc-wc__unit-field i,
.cssc-wc__input-unit > span {
	position: absolute;
	top: 50%;
	right: 12px;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	pointer-events: none;
	transform: translateY(-50%);
}

/* Удельный вес */

.cssc-wc__value,
.cssc-wc__row-value {
	min-width: 0;
	color: #5a607b;
	font-size: 13.5px;
	font-weight: 600;
}

.cssc-wc__value strong,
.cssc-wc__row-value strong {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	align-items: baseline;
	justify-content: flex-start;
	margin: 0;
	color: #5a607b;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
}

.cssc-wc__value strong b,
.cssc-wc__row-value strong b {
	font: inherit;
}

.cssc-wc__value strong small,
.cssc-wc__row-value strong small {
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
}

/* Вес позиции */

.cssc-wc__value--accent,
.cssc-wc__row-value--result {
	padding-right: 6px;
	text-align: right;
}

.cssc-wc__value--accent strong,
.cssc-wc__row-value--result strong {
	justify-content: flex-end;
	color: var(--ink);
	font-size: 15.5px;
	font-weight: 800;
}

.cssc-wc__remove {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #f6f4ef;
	color: var(--muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition:
		color 0.15s ease,
		background-color 0.15s ease;
}

.cssc-wc__remove:hover {
	border: 0;
	background: #fbe6e8;
	color: var(--red);
}

/* =========================================================
   КНОПКА ДОБАВЛЕНИЯ
   ========================================================= */

.cssc-wc__add {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding: 12px 18px;
	border: 1.5px dashed #d9d5cc;
	border-radius: 12px;
	background: transparent;
	color: var(--ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition:
		color 0.15s ease,
		border-color 0.15s ease;
}

.cssc-wc__add:hover {
	border-color: var(--red);
	background: transparent;
	color: var(--red);
}

.cssc-wc__add i,
.cssc-wc__add > span {
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: #ffffff;
	font-size: 14px;
	font-style: normal;
	line-height: 1;
	transition: background-color 0.15s ease;
}

.cssc-wc__add:hover i,
.cssc-wc__add:hover > span {
	background: var(--red);
	color: #ffffff;
}

.cssc-wc__add:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* =========================================================
   ПЕРЕКЛЮЧАТЕЛЬ БАРАБАНОВ
   ========================================================= */

.cssc-wc__drums {
	margin: 26px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.cssc-wc__drums-heading {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fbfaf7;
}

.cssc-wc__drums-heading > div {
	display: none;
}

.cssc-wc__switch {
	position: relative;
	display: flex;
	width: 100%;
	gap: 14px;
	align-items: center;
	margin: 0;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
}

.cssc-wc__switch::after {
	margin-left: auto;
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
	content: "добавит вес пустых барабанов к итогу";
}

.cssc-wc__switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.cssc-wc__switch-track,
.cssc-wc__switch-control {
	position: relative;
	display: grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	border: 1.5px solid #c9c5bc;
	border-radius: 6px;
	background: #ffffff;
	transition:
		border-color 0.15s ease,
		background-color 0.15s ease;
}

.cssc-wc__switch-track::before,
.cssc-wc__switch-control::before {
	width: 10px;
	height: 6px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	content: "";
	opacity: 0;
	transform: translateY(-1px) rotate(-45deg);
	transition: opacity 0.15s ease;
}

.cssc-wc__switch input:checked + .cssc-wc__switch-track,
.cssc-wc__switch input:checked + .cssc-wc__switch-control {
	border-color: var(--red);
	background: var(--red);
}

.cssc-wc__switch input:checked + .cssc-wc__switch-track::before,
.cssc-wc__switch input:checked + .cssc-wc__switch-control::before {
	opacity: 1;
}

.cssc-wc__switch-track::after,
.cssc-wc__switch-control::after {
	display: none;
}

/* =========================================================
   ПАНЕЛЬ БАРАБАНОВ
   ========================================================= */

.cssc-wc__drums-content {
	display: block;
	margin-top: 10px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fbfaf7;
}

.cssc-wc__drums-content[hidden] {
	display: none !important;
}

.cssc-wc__drum-head {
	display: grid;
	grid-template-columns:
		1.5fr
		100px
		130px
		130px
		44px;
	gap: 14px;
	align-items: center;
	margin: 0 0 10px;
	padding: 0 4px 10px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cssc-wc__drum-row {
	position: relative;
	display: grid;
	grid-template-columns:
		1.5fr
		100px
		130px
		130px
		44px;
	gap: 14px;
	align-items: center;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: transparent;
}

.cssc-wc__drum-row:last-child {
	margin-bottom: 0;
}

.cssc-wc__drums-content > .cssc-wc__add {
	margin-top: 10px;
	padding: 8px 14px;
	font-size: 13px;
}

/* =========================================================
   ИТОГОВЫЙ БЛОК
   ========================================================= */

.cssc-wc__footer {
	margin: 32px 0 0;
	padding: 0;
	background: transparent;
}

.cssc-wc__summary {
	display: flex;
	gap: 44px;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 26px 28px;
	border: 0;
	border-radius: 18px;
	background:
		linear-gradient(
			120deg,
			#0e1330 0%,
			#2a1440 60%,
			#4a0f24 100%
		);
	color: #ffffff;
}

.cssc-wc__summary > div,
.cssc-wc__summary-item {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.cssc-wc__summary > div > span,
.cssc-wc__summary-item > span {
	display: block;
	margin: 0 0 6px;
	color: #c4c0d6;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cssc-wc__summary strong,
.cssc-wc__summary-item strong {
	display: flex;
	gap: 5px;
	align-items: baseline;
	margin: 0;
	color: #ffffff;
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.cssc-wc__summary strong b,
.cssc-wc__summary-item strong b {
	font: inherit;
}

.cssc-wc__summary strong small,
.cssc-wc__summary-item strong small {
	color: #c4c0d6;
	font-size: 14px;
	font-weight: 600;
}

.cssc-wc__summary-total,
.cssc-wc__summary-item--total {
	margin-left: auto !important;
}

.cssc-wc__summary-total::before,
.cssc-wc__summary-item--total::before {
	display: none;
}

.cssc-wc__summary-total strong,
.cssc-wc__summary-item--total strong {
	color: #ffffff;
	font-size: 36px;
}

.cssc-wc__footer-bottom {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 22px;
}

.cssc-wc__products-count {
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
}

/* =========================================================
   КНОПКА ОТПРАВКИ
   ========================================================= */

.cssc-wc__send,
.cssc-wc__button--accent {
	display: inline-flex;
	min-width: 230px;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 16px 22px;
	border: 0;
	border-radius: 12px;
	background: var(--red);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.cssc-wc__send:hover,
.cssc-wc__button--accent:hover {
	background: var(--red-hover);
}

.cssc-wc__send span,
.cssc-wc__button--accent span {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 15px;
}

.cssc-wc__send:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* PDF полностью удалён */

[data-weight-download],
.cssc-wc__button--light,
.cssc-wc-pdf {
	display: none !important;
}

/* =========================================================
   МОДАЛЬНОЕ ОКНО ОТПРАВКИ
   ========================================================= */

.cssc-wc-modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	visibility: hidden;
	opacity: 0;
	transition:
		visibility 0.2s ease,
		opacity 0.2s ease;
}

.cssc-wc-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.cssc-wc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 19, 48, 0.78);
	backdrop-filter: blur(6px);
	cursor: pointer;
}

.cssc-wc-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 550px);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 40px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 35px 90px rgba(14, 19, 48, 0.3);
	transform: translateY(15px);
	transition: transform 0.2s ease;
}

.cssc-wc-modal.is-open .cssc-wc-modal__dialog {
	transform: translateY(0);
}

.cssc-wc-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #f6f4ef;
	color: var(--muted);
	font-size: 23px;
	cursor: pointer;
}

.cssc-wc-modal__close:hover {
	background: #fbe6e8;
	color: var(--red);
}

.cssc-wc-modal__eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 14px;
	padding: 7px 13px;
	border: 1px solid #d9d5cc;
	border-radius: 999px;
	color: var(--ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cssc-wc-modal h2 {
	margin: 0;
	color: var(--ink);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.cssc-wc-modal h2 + p {
	margin: 12px 0 26px;
	color: #5a607b;
	font-size: 14px;
	line-height: 1.55;
}

.cssc-wc-modal form > label {
	display: block;
	margin-top: 15px;
}

.cssc-wc-modal form > label > span {
	display: block;
	margin: 0 0 8px;
	color: var(--ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cssc-wc-modal input,
.cssc-wc-modal textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 13px 15px;
	border: 1px solid transparent;
	border-radius: 10px;
	outline: 0;
	background: #f6f4ef;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	box-shadow: none;
}

.cssc-wc-modal textarea {
	min-height: 110px;
	resize: vertical;
}

.cssc-wc-modal input:focus,
.cssc-wc-modal textarea:focus {
	border-color: var(--red);
	background: #ffffff;
}

.cssc-wc-modal__agreement {
	display: flex !important;
	gap: 10px;
	align-items: flex-start;
	color: #5a607b;
	font-size: 12px;
	cursor: pointer;
}

.cssc-wc-modal__agreement input {
	width: 18px;
	height: 18px;
	min-height: 0;
	flex: 0 0 18px;
	margin-top: 1px;
	padding: 0;
	accent-color: var(--red);
}

.cssc-wc-modal__agreement span {
	margin: 0 !important;
	color: #5a607b !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: 1.4;
	text-transform: none !important;
}

.cssc-wc-modal__submit {
	display: flex;
	width: 100%;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	padding: 16px 22px;
	border: 0;
	border-radius: 12px;
	background: var(--red);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.cssc-wc-modal__submit:hover {
	background: var(--red-hover);
}

.cssc-wc-modal__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.cssc-wc-modal__submit span {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.14);
}

.cssc-wc-modal__message {
	display: none;
	margin-top: 16px;
	padding: 13px 15px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
}

.cssc-wc-modal__message.is-success {
	display: block;
	background: #e9f7f0;
	color: #237b52;
}

.cssc-wc-modal__message.is-error {
	display: block;
	background: #fff0f1;
	color: #ba303b;
}

.cssc-wc-modal__honeypot,
.cssc-wc-modal__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* =========================================================
   ПЛАНШЕТ
   ========================================================= */

@media (max-width: 960px) {
	body.page-id-42 .page-wrap > .container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.cssc-wc {
		padding: 32px 24px;
	}

	.cssc-wc__header {
		align-items: flex-start;
	}

	.cssc-wc__table-head,
	.cssc-wc__row {
		grid-template-columns:
			32px
			minmax(180px, 1fr)
			minmax(125px, 1fr)
			44px;
		gap: 8px;
	}

	.cssc-wc__table-head > div:nth-child(4),
	.cssc-wc__table-head > div:nth-child(5) {
		display: none;
	}

	.cssc-wc__value,
	.cssc-wc__row-value {
		grid-column: 1 / -1;
		padding-left: 40px;
		text-align: left;
	}

	.cssc-wc__value--accent strong,
	.cssc-wc__row-value--result strong {
		justify-content: flex-start;
	}

	.cssc-wc__drum-head,
	.cssc-wc__drum-row {
		grid-template-columns:
			minmax(180px, 1fr)
			100px
			130px
			44px;
	}

	.cssc-wc__drum-head > div:nth-child(4),
	.cssc-wc__drum-row
		> .cssc-wc__value:nth-child(4),
	.cssc-wc__drum-row
		> .cssc-wc__row-value:nth-child(4) {
		display: none;
	}

	.cssc-wc__summary {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px;
	}

	.cssc-wc__summary-total,
	.cssc-wc__summary-item--total {
		margin-left: 0 !important;
	}
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 720px) {
	body.page-id-42 .page-wrap {
		padding-top: 18px;
		padding-bottom: 45px;
	}

	body.page-id-42 .page-wrap > .container {
		padding-right: 12px;
		padding-left: 12px;
	}

	.cssc-wc {
		padding: 27px 18px 24px;
		border-radius: 20px;
	}

	.cssc-wc__header {
		display: block;
		margin-bottom: 28px;
	}

	.cssc-wc__title {
		font-size: 27px;
	}

	.cssc-wc__status {
		margin-top: 18px;
	}

	.cssc-wc__table-head {
		display: none;
	}

	.cssc-wc__row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px 10px;
		margin-bottom: 12px;
		padding: 18px;
		border: 1px solid var(--line);
		border-radius: 14px;
		background: #fbfaf7;
	}

	.cssc-wc__number,
	.cssc-wc__row-number {
		position: absolute;
		top: 9px;
		left: 9px;
	}

	.cssc-wc__field--product {
		grid-column: 1 / -1;
		margin-top: 28px;
	}

	.cssc-wc__field > span,
	.cssc-wc__field > label,
	.cssc-wc__value > span,
	.cssc-wc__value > label,
	.cssc-wc__row-value > label {
		display: block;
		margin-bottom: 6px;
		color: var(--muted);
		font-size: 10px;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.cssc-wc__value,
	.cssc-wc__row-value {
		grid-column: auto;
		padding: 0;
	}

	.cssc-wc__remove {
		position: absolute;
		top: 9px;
		right: 9px;
	}

	.cssc-wc__switch {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.cssc-wc__switch::after {
		width: 100%;
		margin: 2px 0 0 36px;
	}

	.cssc-wc__drums-content {
		padding: 14px;
	}

	.cssc-wc__drum-head {
		display: none;
	}

	.cssc-wc__drum-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px 10px;
		margin-bottom: 12px;
		padding: 16px;
		border: 1px solid var(--line);
		border-radius: 12px;
		background: #ffffff;
	}

	.cssc-wc__drum-row .cssc-wc__field:first-child {
		grid-column: 1 / -1;
	}

	.cssc-wc__summary {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px 18px;
		padding: 23px 20px;
	}

	.cssc-wc__summary strong,
	.cssc-wc__summary-item strong {
		font-size: 23px;
	}

	.cssc-wc__summary-total strong,
	.cssc-wc__summary-item--total strong {
		font-size: 30px;
	}

	.cssc-wc__footer-bottom {
		display: block;
	}

	.cssc-wc__send,
	.cssc-wc__button--accent {
		width: 100%;
		margin-top: 18px;
	}

	.cssc-wc-modal {
		padding: 10px;
	}

	.cssc-wc-modal__dialog {
		max-height: calc(100vh - 20px);
		padding: 34px 20px 24px;
		border-radius: 18px;
	}

	.cssc-wc-modal h2 {
		font-size: 27px;
	}
}

@media (max-width: 480px) {
	.cssc-wc__row,
	.cssc-wc__drum-row {
		grid-template-columns: 1fr;
	}

	.cssc-wc__field--product,
	.cssc-wc__drum-row .cssc-wc__field:first-child {
		grid-column: auto;
	}

	.cssc-wc__value,
	.cssc-wc__row-value {
		grid-column: auto;
	}

	.cssc-wc__summary {
		grid-template-columns: 1fr;
	}

	.cssc-wc__switch::after {
		margin-left: 0;
	}

	.cssc-wc__title {
		font-size: 25px;
	}
}
