.door-configurator-new {
	clear: both;
	margin: 28px 0;
	color: #424242;
	font-family: inherit;
	margin-right: 30px !important;
}

.door-configurator-new *,
.door-configurator-new *:before,
.door-configurator-new *:after {
	box-sizing: border-box;
}

.dc-shell {
	border: 1px solid #e5e2d8;
	background: #fff;
}

.dc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	background: #eff0ef;
	border-bottom: 3px solid #cab271;
}

.dc-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 600;
	color: #424242;
}

.dc-subtitle {
	margin-top: 6px;
	font-size: 13px;
	color: #777;
}

.dc-reset {
	border: 1px solid #cab271;
	background: #cab271;
	color: #fff;
	min-height: 36px;
	padding: 7px 14px;
	font-size: 13px;
	line-height: 20px;
	transition: background .2s ease, color .2s ease;
}

.dc-reset:hover,
.dc-reset:focus {
	background: #424242;
	border-color: #424242;
	color: #fff;
}

.dc-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 22px;
	padding: 22px;
}

.dc-progress {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
	gap: 6px;
	margin-bottom: 18px;
}

.dc-progress-item {
	height: 4px;
	background: #e5e5e5;
}

.dc-progress-item.is-active,
.dc-progress-item.is-done {
	background: #cab271;
}

.dc-step-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.dc-step-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 600;
	color: #424242;
}

.dc-step-tools {
	display: flex;
	gap: 8px;
}

.dc-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: 36px;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #424242;
	font-size: 14px;
	transition: border-color .2s ease, color .2s ease;
}

.dc-icon-button .fa.fa-angle-left {
	position: relative;
	margin-right: 6px;
	bottom: 1px;
}

.dc-icon-button:hover,
.dc-icon-button:focus {
	border-color: #cab271;
	color: #cab271;
}

.dc-choices {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 12px;
}

.dc-choice {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 168px;
	border: 1px solid #dedede;
	background: #fff;
	text-align: left;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dc-choice:hover,
.dc-choice:focus {
	border-color: #cab271;
	box-shadow: 0 8px 22px rgba(66, 66, 66, .12);
	transform: translateY(-1px);
}

.dc-choice.is-selected {
	border-color: #cab271;
	box-shadow: 0 0 0 2px rgba(202, 178, 113, .25);
}

.dc-choice-media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 112px;
	/*background: #eff0ef;*/
	border-bottom: 1px solid #ececec;
	background: #fff;
	padding: 8px;
	filter: contrast(0.9);
}

.dc-choice-media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

button[data-choice-id^="pallete-"] img {
    width: 100%;
    height: 19px;
    object-fit: cover;
    transform: scale(5);
    overflow: hidden;
}

@media (min-width:768px) {
	button[data-choice-id^="pallete-"] img {
		height: 23px;
	}	
}


.dc-choice-noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border: 2px solid #cab271;
	color: #cab271;
	font-size: 26px;
	line-height: 1;
}

.dc-choice-name {
	flex: 1;
	padding: 10px 12px 4px;
	font-size: 13px;
	line-height: 1.3;
	color: #424242;
	word-break: break-word;
}

.dc-choice-price {
	padding: 0 12px 11px;
	font-size: 12px;
	line-height: 1.25;
	color: #777;
}

.dc-choice-price.has-price {
	color: #cab271;
	font-weight: 600;
}

.dc-empty {
	padding: 20px;
	border: 1px dashed #d5d5d5;
	background: #fafafa;
	color: #777;
}

.dc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
}

.dc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	border: 1px solid #cab271;
	background: #cab271;
	color: #fff;
	padding: 9px 16px;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.dc-button:hover,
.dc-button:focus {
	background: #424242;
	border-color: #424242;
	color: #fff;
	text-decoration: none;
}

.dc-button-secondary {
	background: #fff;
	color: #424242;
	border-color: #d8d8d8;
}

.dc-button-secondary:hover,
.dc-button-secondary:focus {
	border-color: #cab271;
	background: #fff;
	color: #cab271;
}

.dc-side {
	border-left: 1px solid #ececec;
	padding-left: 22px;
}

.dc-summary-title {
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 600;
	color: #424242;
}

.dc-summary-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.dc-summary-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	font-size: 13px;
	line-height: 1.3;
	color: #666;
}

.dc-summary-item strong {
	display: block;
	color: #424242;
	font-weight: 600;
}

.dc-summary-price {
	color: #424242;
	white-space: nowrap;
}

.dc-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 0;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 14px;
}

.dc-total-label {
	font-size: 14px;
	color: #777;
}

.dc-total-value {
	font-size: 22px;
	line-height: 1.1;
	font-weight: 700;
	color: #424242;
	white-space: nowrap;
}

.dc-qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.dc-qty label {
	margin: 0;
	font-size: 13px;
	color: #777;
}

.dc-qty-control {
	display: inline-grid;
	grid-template-columns: 34px 46px 34px;
	height: 34px;
	border: 1px solid #d8d8d8;
}

.dc-qty-control button {
	border: 0;
	background: #eff0ef;
	color: #424242;
	font-size: 12px;
}

.dc-qty-control input {
	width: 46px;
	border: 0;
	border-left: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
	text-align: center;
	color: #424242;
}

.dc-side-actions {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.dc-message {
	margin-top: 12px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.35;
	border: 1px solid #d8d8d8;
	background: #eff0ef;
	color: #424242;
}

.dc-message.is-error {
	border-color: #d9534f;
	background: #fff4f4;
	color: #b23b37;
}

.dc-print {
	display: none;
}

@media print {
	body * {
		visibility: hidden;
	}

	.door-configurator-new,
	.door-configurator-new * {
		visibility: visible;
	}

	.door-configurator-new {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
	}

	.dc-step,
	.dc-actions,
	.dc-reset,
	.dc-side-actions {
		display: none !important;
	}

	.dc-body {
		display: block;
	}

	.dc-side {
		border-left: 0;
		padding-left: 0;
	}
}

@media (max-width: 991px) {
	.dc-body {
		grid-template-columns: 1fr;
	}

	.dc-side {
		border-left: 0;
		border-top: 1px solid #ececec;
		padding-left: 0;
		padding-top: 18px;
	}
}

@media (max-width: 600px) {
	.door-configurator-new {
		margin: 20px 0;
	}

	.dc-header,
	.dc-body {
		padding: 16px;
	}

	.dc-header,
	.dc-step-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.dc-title {
		font-size: 20px;
	}

	.dc-step-title {
		font-size: 18px;
	}

	.dc-choices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dc-choice {
		min-height: 150px;
	}

	.dc-choice-media {
		height: 92px;
	}

	.dc-side-actions .dc-button,
	.dc-actions .dc-button {
		width: 100%;
	}
}

/* PREMIUM ADDITIONS V2 */
.dc-step {
	animation: dcFadeIn 0.25s ease-out;
}

@keyframes dcFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.dc-choices.dc-multi-choices .dc-choice.is-selected .dc-choice-noimage i:before {
	content: "\f14a"; /* fa-check-square-o */
}

.dc-confirm-multi {
	background-color: #5cb85c !important;
	border-color: #4cae4c !important;
}

.dc-confirm-multi:hover, 
.dc-confirm-multi:focus {
	background-color: #449d44 !important;
	border-color: #398439 !important;
}

.dc-step-hint-image {
	margin-bottom: 15px;
}

.dc-step-hint-image img {
	max-width: fit-content;
/*	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	border: 1px solid #e5e2d8;
*/
}

/* Checkbox overlay styling for multi-select choice cards */
.dc-choice-checkbox {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 10;
	background: #fff;
	border-radius: 4px;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #cab271;
	color: #cab271;
	font-size: 16px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Style for Save (Зберегти) button in multi-select */
.dc-actions .conf-option-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 1px solid #cab271;
	background-color: #cab271;
	color: #fff;
	padding: 9px 16px;
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
	border-radius: 0px;
	font-weight: bold;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.dc-actions .conf-option-button:hover {
	background-color: #424242;
	border-color: #424242;
	color: #fff;
}

/* Style for Individual (індивідуально) button */
.dc-actions .individually {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 1px solid #d8d8d8;
	background-color: #fff;
	color: #424242;
	padding: 9px 16px;
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
	border-radius: 0px;
	font-weight: bold;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.dc-actions .individually:hover {
	border-color: #cab271;
	color: #cab271;
}