:root {
	--orange: #FF7D00;
	--horange: #ff8f24;
	--grey: #F6F6F6;
	--lorange: #FFE4C9;
	--dgrey: #E3E4E6;
	--black: #363636;
	--white: #ffffff;
	--bajic: #90f531;
	--corner: 0.3em;
	--t: 0.2s;
	--long: 1s;
	--pad: 2em;
	--min: 0.9em;
	--big: 1.2em;
	--scale: scale(1.05);
}

.ast-container {
	max-width: 100%;
}

.calc__include-desc p {
	color: black !important;
}

.calc {
	font-family: sans-serif;
	padding: 5vh 0;
	margin: 0 auto;
}

.calc h2 {
	margin-bottom: 0.5em;
	text-align: center;
}

.calc__profile {
	width: 100%;
	margin: 1em 0;
	border-bottom: 1px solid var(--dgrey);
	padding-bottom: 1em;
}

.calc__inner {
	display: flex;
	flex-direction: row-reverse;
	background: var(--grey);
	padding: var(--pad);
	width: 90%;
	max-width: 1500px;
	margin: 0 auto;
	color: black;
}

.calc__size {
	width: 50%;
}

.calc__size-area {
	width: 100%;
	height: 100%;
	position: relative;
	border-radius: var(--corner);
}

.calc__size__view {
	width: 100%;
	height: calc(100% - 150px);
	position: relative;
}

.calc__size__ui {
	display: flex;
	width: 100%;
	align-items: center;
	flex-direction: column;
}

.calc__switcher {
	display: flex;
	margin: 1em;
	border-radius: 10em;
	z-index: 1;
	border: 2px solid var(--dgrey);
	box-sizing: border-box;
}

.calc__switcher__choose {
	padding: 1em 1em;
	border: 2px solid transparent;
	border-radius: 10em;
	margin: -1px;
	cursor: pointer;
	display: flex;
	align-items: center;
	line-height: 1;
}

.calc__switcher__choose.active {
	border-color: var(--bajic);
}

#slider-height {
	height: 50%;
}

#slider-height-mirror {
	height: 50%;
}

.calc__chars {
	width: 100%;
}

.calc__radio {
	cursor: pointer;
	width: 25%;
}

.calc__layout {
	border-bottom: 1px solid var(--dgrey);
	padding-bottom: 1em;
}

.calc__layout__radio {
	display: flex;
	border-radius: var(--corner);
	width: 33.3%;
}

.calc__layout__inner {
	display: flex;
	box-shadow: 0 5px 15px #00000021;
	border-radius: var(--corner);
}

.calc__profile__inner {
	display: flex;
	margin-top: 0.5em;
	box-shadow: 0 5px 15px #00000021;
	border-radius: var(--corner);
}

.calc__profile__radio {
	width: 25%;
	padding: 0;
}

.calc__result {
	height: 4em;
	display: flex;
	flex-direction: column;
	width: 20%;
	padding: 1em;
}

.calc__profile__radio img {
	width: 70%;
}

.cw {
	display: none;
	align-items: center;
	position: relative;
	width: 100%;
	height: 100%;
}

.cw.active {
	display: flex;
}

.cw__hinges {
	height: 80%;
	width: 3px;
	display: flex;
	flex-direction: column;
	margin-left: -2px;
	justify-content: space-between;
	position: absolute;
	right: -1px;
}

.cw__hinges div {
	width: 100%;
	height: 3em;
	border: 2px solid var(--black);
}

.cw__base {
	height: 100%;
	background: var(--grey);
	border-radius: 0.5em;
	border: 2px solid var(--black);
	display: flex;
	box-sizing: border-box;
	width: 100%;
	background-size: 40%;
}

.cw__base.chockbrown {
	background-image: url('../img/calc/charcoal-brown.jpg');
}

.cw__glass {
	width: 100%;
	margin: 1em;
	box-sizing: border-box;
	position: relative;
	background: white;
	border-radius: var(--corner);
	display: flex;
	border: 2px solid var(--dgrey);
}

#slider-width {
	width: 50%;
	margin-right: 20%;
}

#slider-width-mirror {
	width: 50%;
	margin-right: -1px;
}

#handle-height {
	margin-left: -2.5em;
	margin-bottom: -2em;
}

.cw__glass svg {
	width: 100%;
	stroke-width: 0.2px;
	stroke: #000;
	fill: none;
}

#handle-width:hover,
#handle-height:hover {
	background: var(--lorange);
	transform: scale(1.1);
}

.cw__handle {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
}

.cw_handle_base {
	width: 9px;
	height: 20px;
	border: 2px solid var(--black);
	border-radius: 20px;
	background: white;
}

.cw_handle_est {
	width: 3px;
	height: 32px;
	border: 2px solid var(--black);
	background: var(--grey);
	position: absolute;
	top: 8px;
	border-radius: 10px;
	left: 3px;
}

.ui-checkboxradio-icon {
	display: none !important;
}

.ui-state-active {
	background: white;
	border: 1px solid var(--lorange);
	color: var(--black);
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	border: 1px solid transparent;
	background: var(--lorange);
	color: var(--black);
}

.ui-visual-focus {
	box-shadow: none;
}

.ui-checkboxradio-label {
	border: 0;
	padding: 1em;
	line-height: 1.2em;
	border: 1px solid var(--grey);
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0;
}

.calc__layout__radio.active {
	background: var(--lorange);
	color: var(--black);
}

.ui-checkboxradio-label p {
	line-height: 1.2em;
	margin-top: 0.5em;
	margin-bottom: 0;
}

.cw__handles {
	width: 100%;
	position: absolute;
	display: flex;
	justify-content: flex-start;
	margin-left: 3px;
}

.cw.two .cw__handles {
	justify-content: center;
	margin-left: 0;
}

.cw.two .cw__handle:nth-child(1) {
	left: -1em;
}

.cw.two .cw__handle:nth-child(2) {
	right: -1em;
}

.cw.two .cw__glass:nth-child(1):after,
.cw.three .cw__glass:nth-child(1):after {
	content: '';
	height: calc(100% + 2em);
	width: 2px;
	background: var(--dgrey);
	position: relative;
	right: -17px;
	top: -1em;
}

.cw.three .cw__glass:nth-child(3):before {
	content: '';
	height: calc(100% + 2em);
	width: 2px;
	background: var(--dgrey);
	position: relative;
	right: 17px;
	top: -1em;
}

.cw.three .cw__handles {
	justify-content: center;
	margin-left: 0;
}

.cw__handle {
	top: calc(-1em + 50%);
}

.cw.three .cw__handle:nth-child(1) {
	left: -1em;
}

.cw.three .cw__handle:nth-child(2) {
	right: -1em;
}

.calc__color__inner {
	display: flex;
	width: 100%;
	box-shadow: 0 5px 15px #00000021;
	border-radius: var(--corner);
}

.calc__color__radio label {
	height: 4em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ui-checkboxradio-label {
	padding: 1em 0;
}

.calc__right {
	width: calc(50% - 2em);
	margin-left: 2em;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.calc__result h4,
.calc__discont h4 {
	margin-bottom: -0.4em;
	margin-right: 0.5em;
}

.calc__filter {
	border-radius: 10em;
	z-index: 1;
	border: 2px solid var(--dgrey);
	box-sizing: border-box;
	cursor: pointer;
	padding: 1em;
	display: none;
	text-align: center;
}

.calc__menu {
	display: flex;
	align-items: center;
}

.customize-support .calc__chars {
	top: 32px;
}

.customize-support .calc__chars .close {
	top: 1.5em;
}

.calc__chars .close {
	display: none;
}

.cw img {
	width: 100%;
	box-sizing: border-box;
	padding: 0 3em;
}

#slider-height__wrapper {
	display: flex;
	justify-content: space-between;
	height: 100%;
	align-items: center;
	box-sizing: border-box;
	position: absolute;
	z-index: 1;
}

#slider-width__wrapper {
	display: flex;
	justify-content: center;
	position: relative;
	width: 100%;
}

.calc__dops {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.calc__discont {
	display: flex;
	flex-direction: column;
	width: 20%;
	padding: 1em;
}

.slider-width__handles {
	width: 100%;
	align-items: center;
	box-sizing: border-box;
	border: 0;
	background: #9e4c11;
	display: flex;
	justify-content: center;
}

.slider-height__handles {
	height: 80%;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 0;
	background: #9e4c11;
	display: flex;
	flex-direction: column;
}

.slider-width__line {
	position: absolute;
	width: 100%;
	bottom: -4em;
	z-index: 0;
	height: 1em;
	background: var(--bajic);
}

.slider-text {
	display: none;
}

.ui-widget-content {
	background: var(--bajic);
	border: 0 !important;
}

.ui-widget-header {
	border-radius: 0;
}

.calc__final {
	display: flex;
	align-items: baseline;
	font-size: 1.1em;
	width: 50%;
	padding: 0.5em 1em;
	box-sizing: border-box;
	border-radius: var(--corner);
}

.calc__price {
	display: flex;
	border: 2px solid var(--lorange);
	width: 100%;
	box-sizing: border-box;
	align-items: center;
	justify-content: space-between;
	border-radius: var(--corner);
	margin-bottom: 20px;
}

.ui-slider .ui-slider-handle {
	width: 2.2em;
	height: 2.2em;
	border-radius: 50%;
	margin-top: -0.7em;
	margin-left: -1.4em;
	border: 4px solid var(--bajic);
	box-shadow: 0 5px 10px #61280057;
}

.ui-slider-vertical .ui-slider-handle {
	left: 0.4em;
	margin-bottom: -1.3em;
}

.calc__right__txt {
	margin: 1em 0;
}

.cw-wrapper {
	width: 100%;
	height: 100%;
}

.calc__include {
	width: 80%;
}

.calc__include-desc {
	padding: 1em;
	border: 2px solid var(--bajic);
}

.calc__result__num-final {
	margin-left: 0.2em;
	white-space: nowrap;
}

.calc__profile__radio {
	line-height: 1.2em;
	border: 1px solid var(--grey);
	width: 100%;
	max-width: 175px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding-bottom: 1em;
}

.calc__profile__radio.active {
	background: var(--lorange);
	color: var(--black);
}

.bold {
	font-weight: 700;
}

/* SLIDERS */
.sliders {
	background: #90f531;
}

#slider-width__wrapper .sliders {
	display: flex;
	justify-content: space-between;
	margin-top: 50px;
	width: 100%;
}

.slider-width__element {
	width: 45%;
}

#slider-height__wrapper .sliders {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.slider-height__element {
	height: 45%;
}

.noUi-vertical .noUi-handle:before,
.noUi-vertical .noUi-handle:after,
.noUi-handle:before,
.noUi-handle:after {
	display: none;
}

.noUi-horizontal .noUi-handle,
.noUi-vertical .noUi-handle {
	width: 35px;
	height: 35px;
	border: 4px solid var(--bajic);
	box-shadow: 0 5px 10px #61280057;
}

.noUi-handle {
	border-radius: 50%;
}

.noUi-vertical {
	width: 10px;
	background: #e9e9e9;
	border: 0;
	border-radius: 0;
}

.noUi-vertical .noUi-handle {
	right: -12px;
}

.noUi-horizontal {
	height: 10px;
	background: #e9e9e9;
	border: 0;
	border-radius: 0;
}

.noUi-horizontal .noUi-handle {
	top: -12px;
}

.noUi-connect {
	background: var(--bajic);
}

.button {
	padding: 1em 2em;
	border-radius: var(--corner);
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	box-sizing: border-box;
	font-weight: bold;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	transition: var(--t);
	justify-content: center;
}

.button.fill {
	background: var(--bajic);
	color: white;
}

/* DODATNE OPCIJE */
.calc__dops-item {
	align-items: center;
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin: 0 10px 0 0;
	display: none;
}

.calc__dops-item.active {
	display: flex;
}

.calc__dops-item input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
	position: relative;
	height: 25px;
	width: 25px;
	background-color: #e9e9e9;
	display: block;
}

.calc__dops-item:hover input ~ .checkmark {
	background-color: #ccc;
}

.calc__dops-item input:checked ~ .checkmark {
	background-color: var(--bajic);
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.calc__dops-item input:checked ~ .checkmark:after {
	display: block;
}

.calc__dops-item .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.checkName {
	margin-left: 5px;
}

/* INPUTI ZA DIMENZIJE */
.input-group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.input-group-height {
	margin: 10px 0 0 0;
	align-self: center;
}

.input-group-width {
	margin: 14px 0 10px 0;
	justify-content: center;
}

.input-label {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	min-width: 58px;
}

.input-box {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.calc-input-inline {
	width: 126px;
	height: 42px;
	padding: 0 38px 0 12px;
	border: 1px solid #d8d8d8;
	border-radius: 10px;
	background: #fff;
	color: #222;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.calc-input-inline:focus {
	outline: none;
	border-color: #c62828;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.calc-input-inline::-webkit-outer-spin-button,
.calc-input-inline::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.calc-input-inline[type="number"] {
	-moz-appearance: textfield;
}

.input-unit {
	position: absolute;
	right: 12px;
	font-size: 13px;
	color: #777;
	pointer-events: none;
}

.height-control-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	height: 100%;
}

.cw-wrapper.big-images {
	max-width: 100%;
}

/* DUGME */
.callbackbtn {
	display: inline-block;
	background: linear-gradient(135deg, #c62828, #e53935);
	color: #fff;
	padding: 14px 22px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	user-select: none;
}

.callbackbtn:hover {
	background: linear-gradient(135deg, #b71c1c, #d32f2f);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.callbackbtn:active {
	transform: translateY(0);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.calc__right .callbackbtn {
	width: 100%;
	margin-top: 15px;
}

@media (max-width: 1100px) {
	.calc__switcher__choose {
		padding: 1em 1em;
	}
}

@media (max-width: 860px) {
	.calc__menu,
	.calc__inner {
		display: block;
	}

	.calc__inner {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 15px 15px;
	}

	.calc__right,
	.calc__size,
	.calc__size-area {
		width: 100%;
	}

	.calc__menu h4 {
		display: none;
	}

	.calc__switcher {
		margin: 1em 0;
	}

	.mobile__image-ranges {
		width: 100%;
		margin-bottom: 35px;
	}

	.cw img {
		padding-top: 0;
	}

	.calc__price {
		display: block;
	}

	.calc__final,
	.calc__include {
		width: 100%;
	}

	.calc__result__num-final {
		margin: 0 0 0 0.2em;
	}

	.calc__final h4 {
		margin: 0;
	}

	.calc__dops {
		justify-content: center;
	}

	.input-group-width,
	.input-group-height {
		justify-content: center;
	}

	.calc-input-inline {
		width: 112px;
		height: 40px;
		font-size: 14px;
	}

	.input-label {
		min-width: auto;
	}
}

.calc__profile__picture {
	width: calc(100% - 175px);
}

.calc__profile__picture img {
	display: block;
	line-height: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* ===== DESKTOP FIX ZA ISPADANJE RADIO DUGMADI ===== */
@media (min-width: 861px) {
	.calc__inner {
		display: flex;
		align-items: flex-start;
		gap: 24px;
	}

	.calc__right,
	.calc__size {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	.calc__right {
		margin-left: 0;
	}

	.calc__chars,
	.calc__layout,
	.calc__profile,
	.calc__layout__inner,
	.calc__profile__inner {
		width: 100%;
		box-sizing: border-box;
		min-width: 0;
	}

	.calc__layout__inner,
	.calc__profile__inner {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.calc__layout__radio {
		width: 50%;
		box-sizing: border-box;
	}

	.calc__profile__radio {
		width: 50%;
		max-width: none;
		box-sizing: border-box;
	}

	.calc__profile__picture {
		width: 100%;
		margin-top: 12px;
	}

	.ui-checkboxradio-label {
		height: 100%;
	}

	.calc__size-area,
	.calc__size__ui,
	.calc__price,
	.calc__include,
	.calc__final {
		box-sizing: border-box;
		min-width: 0;
	}
}