/*
	DRW product calculators
*/

.drw-product-calculator-section {
	color: var(--drw-color-text, #fff);
	font-family: var(--drw-font-main, Arial, sans-serif);
	margin-top: 72px;
	margin-bottom: 84px;
}

.drw-product-calculator {
	display: grid;
	grid-template-columns: minmax(0, 511px) 464px;
	gap: 35px;
	width: calc(100% - (var(--drw-container-padding, 24px) * 2));
	max-width: 1060px;
	margin: 0 auto;
	padding: 16px 15px 15px 35px;
	border-radius: var(--drw-radius-large, 15px);
	background: #232424;
}

.drw-product-calculator--empty {
	display: block;
	padding: 32px;
}

.drw-product-calculator__form-column {
	padding: 16px 0 15px;
}

.drw-product-calculator__summary {
	overflow: hidden;
	align-self: stretch;
	border-radius: 8px;
	background: #3a3b3b;
}

.drw-product-calculator__title {
	margin: 0 0 31px;
	color: #fff;
	font-size: 34px;
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: 0;
}

.drw-product-calculator__form {
	display: grid;
	gap: 0;
}

.drw-product-calculator__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 15px;
}

.drw-product-calculator__options-grid {
	margin-top: 16px;
}

.drw-product-calculator__field {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.drw-product-calculator__field span {
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
}

.drw-product-calculator__field input,
.drw-product-calculator__field select {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid transparent;
	border-radius: 7px;
	background-color: #3d3e3e;
	color: #fff;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	line-height: 48px;
	outline: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.drw-product-calculator .drw-product-calculator__form .drw-product-calculator__field > input:not([type="file"]) {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: #3d3e3e;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	line-height: 48px;
	outline: none;
	box-shadow: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.drw-product-calculator__field input[type="number"] {
	appearance: textfield;
}

.drw-product-calculator__field input[type="number"]::-webkit-inner-spin-button,
.drw-product-calculator__field input[type="number"]::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.drw-product-calculator__field input::placeholder,
.drw-product-calculator .drw-product-calculator__form .drw-product-calculator__field > input:not([type="file"])::placeholder {
	color: #fff;
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	opacity: 1;
}

.drw-product-calculator__field select {
	appearance: none;
}

.drw-product-calculator__native-select {
	position: absolute;
	width: 1px !important;
	height: 1px !important;
	opacity: 0;
	pointer-events: none;
}

.drw-product-calculator__custom-select {
	position: relative;
	z-index: 3;
}

.drw-product-calculator__custom-select.is-open {
	z-index: 20;
}

.drw-product-calculator__custom-select-trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 43px 0 15px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: #3d3e3e;
	color: #fff;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	line-height: 1;
	text-align: left;
	cursor: pointer;
	outline: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.drw-product-calculator__custom-select-trigger::after {
	position: absolute;
	top: 50%;
	right: 15px;
	width: 14px;
	height: 14px;
	background: currentColor;
	content: "";
	-webkit-mask: url("../images/chev-down.svg") center / contain no-repeat;
	mask: url("../images/chev-down.svg") center / contain no-repeat;
	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.drw-product-calculator__custom-select.is-open .drw-product-calculator__custom-select-trigger::after {
	transform: translateY(-50%) rotate(180deg);
}

.drw-product-calculator__custom-select-trigger span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.drw-product-calculator__custom-select-trigger:hover,
.drw-product-calculator__custom-select-trigger:focus-visible,
.drw-product-calculator__custom-select.is-open .drw-product-calculator__custom-select-trigger {
	background: #444545;
	border-color: var(--drw-color-accent, #F76506);
}

.drw-product-calculator__custom-select-list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	display: grid;
	max-height: 240px;
	overflow-y: auto;
	padding: 6px;
	border-radius: 7px;
	background: #303131;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.drw-product-calculator__custom-select.is-open .drw-product-calculator__custom-select-list {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.drw-product-calculator__custom-select-option {
	width: 100%;
	min-height: 40px;
	padding: 2px 10px 0;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.drw-product-calculator__custom-select-option:hover,
.drw-product-calculator__custom-select-option:focus-visible,
.drw-product-calculator__custom-select-option.is-selected {
	background: var(--drw-color-accent, #F76506);
	color: #fff;
}

.drw-product-calculator__field input:focus,
.drw-product-calculator__field select:focus {
	background-color: #444545;
	border-color: var(--drw-color-accent, #F76506);
}

.drw-product-calculator .drw-product-calculator__form .drw-product-calculator__field > input:not([type="file"]):focus {
	background: #444545;
	color: #fff;
	border-color: var(--drw-color-accent, #F76506);
}

.drw-product-calculator__field small,
.drw-product-calculator__consent-error,
.drw-product-calculator__attachment small[data-error-for] {
	display: block;
	max-height: 0;
	overflow: hidden;
	color: #ff9a70;
	font-size: 12px;
	line-height: 1.3;
	opacity: 0;
	transform: translateY(-4px);
	transition: max-height 0.22s ease, opacity 0.18s ease, transform 0.18s ease;
}

.drw-product-calculator__field small.is-visible,
.drw-product-calculator__consent-error.is-visible,
.drw-product-calculator__attachment small[data-error-for].is-visible {
	max-height: 48px;
	opacity: 1;
	transform: translateY(0);
}

.drw-product-calculator__field.has-error input,
.drw-product-calculator__field.has-error select,
.drw-product-calculator__field.has-error .drw-product-calculator__custom-select-trigger {
	border-color: #ff9a70;
}

.drw-product-calculator__attachment {
	display: grid;
	gap: 8px;
	margin-top: 16px;
	color: #fff;
	cursor: pointer;
}

.drw-product-calculator__attachment > span {
	font-size: 13px;
	line-height: 1.2;
}

.drw-product-calculator__attachment input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.drw-product-calculator__attachment strong {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 48px;
	padding: 0 15px;
	border-radius: 7px;
	background: #3d3e3e;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease;
}

.drw-product-calculator__attachment strong img {
	display: block;
	flex: 0 0 auto;
	width: auto;
	height: 18px;
	filter: none;
	transition: filter 0.2s ease;
}

.drw-product-calculator__attachment:hover strong,
.drw-product-calculator__attachment:focus-within strong {
	background: var(--drw-color-accent, #F76506);
	color: #fff;
}

.drw-product-calculator__attachment:hover strong img,
.drw-product-calculator__attachment:focus-within strong img {
	filter: brightness(0) invert(1);
}

.drw-product-calculator__attachment small:first-of-type {
	display: block;
	color: rgba(255, 255, 255, 0.68);
	font-style: italic;
}

.drw-product-calculator__separator {
	height: 1px;
	margin: 17px 0 20px;
	border-top: 1px dashed rgba(255, 255, 255, 0.26);
}

.drw-product-calculator__consent {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 12px;
	align-items: start;
	margin-top: 19px;
}

.drw-product-calculator__consent input {
	width: 24px;
	height: 24px;
	margin: 0;
	border-radius: 4px;
	accent-color: var(--drw-color-accent, #F76506);
}

.drw-product-calculator__consent span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.28;
	margin-top: 4px;
}

.drw-product-calculator__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	margin-top: 18px;
	padding: 2px 18px 0;
	border: 0;
	border-radius: 6px;
	background: var(--drw-color-accent, #F76506);
	color: #fff;
	cursor: pointer;
	font-family: var(--drw-font-cta, 'Zalando Sans Expanded', Arial, sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.drw-product-calculator__submit svg {
	display: block;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	fill: currentColor;
	color: currentColor;
	transform: translateY(-2px);
	transition: color 0.2s ease, fill 0.2s ease, transform 0.2s ease;
}

.drw-product-calculator__submit:hover,
.drw-product-calculator__submit:focus-visible {
	background: #fff;
	color: #141412;
	transform: translateY(-2px);
}

.drw-product-calculator__form.is-loading .drw-product-calculator__submit {
	pointer-events: none;
	opacity: 0.58;
}

.drw-product-calculator__message {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.45;
}

.drw-product-calculator__message.is-error {
	color: #ff9a70;
}

.drw-product-calculator__message.is-success {
	color: #91f0b5;
}

.drw-product-calculator__spec {
	padding: 30px 20px;
}

.drw-product-calculator__spec h3 {
	margin: 0 0 25px 10px;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.drw-product-calculator__spec ul {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.drw-product-calculator__spec li {
	display: grid;
	grid-template-columns: 155px 1fr;
	gap: 30px;
	padding: 14px 0 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.drw-product-calculator__spec li:first-child {
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.drw-product-calculator__spec span,
.drw-product-calculator__spec strong {
	color: #fff;
	font-size: 14px;
	line-height: 1.1;
	font-family: var(--drw-font-cta);
}

.drw-product-calculator__spec span {
	font-weight: 300;
}

.drw-product-calculator__spec strong {
	font-weight: 500;
}

.drw-product-calculator__disclaimer {
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 12px;
	font-style: italic;
	line-height: 1.35;
}

.drw-product-calculator__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 1080px) {
	.drw-product-calculator {
		grid-template-columns: 1fr;
		max-width: 620px;
		padding: 24px;
	}

	.drw-product-calculator__form-column {
		padding: 0;
	}

	.drw-product-calculator__summary {
		align-self: auto;
	}

	.drw-product-calculator__spec {
		padding: 32px 20px 22px;
	}
}

@media (max-width: 620px) {
	.drw-product-calculator-section {
		margin-top: 48px;
		margin-bottom: 58px;
	}

	.drw-product-calculator {
		width: calc(100% - 32px);
		padding: 20px;
	}

	.drw-product-calculator__title {
		font-size: 31px;
	}

	.drw-product-calculator__grid,
	.drw-product-calculator__spec li {
		grid-template-columns: 1fr;
	}

	.drw-product-calculator__spec li {
		gap: 6px;
	}

	.drw-product-calculator__submit {
		font-size: 14px;
	}
}
