@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.cart {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #1f4127;
	max-width: 800px;
}
.cart-header {
	background: #1f4127;
	/* border-bottom: 1px solid #1f4127; */
	/* background-color: #e2e5d8; */
	color: #e2e5d8;

	font-size: 1.2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	width: 100%;
	height: 8vh;
}
.cart-header div {
	margin: 2rem;
}
.cart-items {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 1200px;
	background-color: #fafcf3;
}
.cart-item {
	display: flex;
	justify-content: space-between;
	align-items: start;
	margin: 1rem;
	border-bottom: 1px solid #1f4127;
	padding-bottom: 1rem;
}
.cart-item .item-info {
	display: flex;
	flex-direction: row;
	gap: 10px;
}
.cart-item .item-image {
	height: 8rem;
	width: 5rem;
	justify-content: center;
	display: flex;
	overflow: hidden;
}
.cart-item img {
	width: auto;
	height: 100%;
}
.cart-item .item-details {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;
	gap: 5px;
}
.cart-item a {
	text-decoration: none;
}
.cart-item h4 {
	color: #1f4127;
	font-weight: 300;
	font-size: 1.5rem;
}
.cart-item .item-type {
	font-size: 0.8rem;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: start;
}

.cart-item .item-type span:first-of-type {
	color: #6ea820;
	font-weight: 300;
	font-size: 0.6rem;
}
.unit-price {
	text-align: end;
	font-size: 1.2rem;
	margin: 0 0 1rem 0;
}
.units {
	display: flex;
}
.units div {
	margin: 1rem;
	font-size: 1.2rem;
}
.cart-footer {
	display: flex;
	flex-direction: column;
	/* background-color: #1f4127; */
	max-width: 1200px;
	width: 100%;
	height: auto;
	align-items: flex-end;
	justify-content: center;
	/* background-color: #fafcf3; */
	font-size: 1.2rem;
	padding: 1rem;
}
.subtotal {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 1rem;
	color: #1f4127;
}

.checkout-wrapper {
	display: flex;
	overflow: hidden;
}
.checkout-wrapper section {
	width: 100vw;
	min-width: 100vw;
	transition: margin-left 0.3s ease-in-out, height 0s ease-in-out 0.3s;
}
/* STEP-0 */
.checkout-wrapper.step-0 section:nth-child(1) {
	margin-left: 0;
}
.checkout-wrapper.step-0 section:not(:nth-child(1)) {
	height: 0;
}
/* STEP-1 */
.checkout-wrapper.step-1 section:nth-child(1) {
	margin-left: -100vw;
}
.checkout-wrapper.step-1 section:not(:nth-child(2)) {
	height: 0;
}
/* STEP-2 */
.checkout-wrapper.step-2 section:nth-child(1) {
	margin-left: -200vw;
}
.checkout-wrapper.step-2 section:not(:nth-child(3)) {
	height: 0;
}
/* STEP-3 */
.checkout-wrapper.step-3 section:nth-child(1) {
	margin-left: -300vw;
}
.checkout-wrapper.step-3 section:not(:nth-child(4)) {
	height: 0;
}

.korpa,
.informacije,
.potvrda {
	max-width: 1200px;
	margin: 0 auto;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	color: #1f4127;
	margin-bottom: 2rem;
}
.informacije-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	gap: 5%;
	margin-top: 5rem;
}

.actions {
	margin: 20px;
	display: flex;
	justify-content: end;
}

.btn.icon-btn {
	margin: 10px 0;
}
.cart {
	margin: 5rem auto 2rem auto;
}

.potvrda-container {
	margin-top: 5rem;
	padding: 0 1rem;
}
.checkout-proizvodi {
	list-style: none;
	margin-bottom: 10px;
}
.potvrda-container p {
	text-align: center;
	font-size: 1.2rem;
	color: #1f4127;
}
.potvrda-container p {
	font-weight: 300;
}

.potvrda-container .uslovi {
	text-align: start;
	font-weight: 300;
}
.potvrda-container h3 {
	font-size: 1.6rem;
	margin: 2rem 0;
	color: #1f4127;
	font-weight: 400;
}

.cena-wrapper {
	font-size: 1.2rem;
	letter-spacing: 0.5px;
	font-weight: 400;
}
.podatak {
	font-size: 1.2rem;
	display: flex;
	flex-direction: row;
}
.podatak label {
	width: 200px;
	min-width: 200px;
	color: #1f4127b6;
	font-weight: 300;
}

.city-wrapper, .street-wrapper {
	display: flex; 
	width: 47.5%;
}
.city-wrapper .input-container {
	width: 50%;
}

.street-wrapper .input-container {
	width: 30%;
}

.street-wrapper .input-container.street {
	width: 70%;
}

.input-container {
	width: 47.5%;
}

.input-container.textarea {
	width: 100%;
}
.input-container.textarea textarea{
	height: 80px;
}

.confirmation a {
	color: rgb(206, 156, 58);
}
.confirmation a:hover {
	color: rgb(47, 99, 60);
}
.cart-no-items {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

@media screen and (min-width: 769px) {
	.checkout-wrapper {
		min-height: calc(75vh - 270px);
	}
}
@media screen and (max-width: 991px) {
	.input-container {
		width: 100%;
	}
	.city-wrapper, .street-wrapper {
		width: 100%;
	}
}
@media screen and (max-width: 768px) {
	.cart-footer,
	.actions {
		align-items: center;
		justify-content: center;
	}
	.podatak {
		justify-content: space-between;
	}

	.cart-item h4 {
		font-size: 1.1rem;
	}
	.cart-item .item-image {
		min-width: 5rem;
	}
}
/* PAGE TITLE */
.page-title-container {
	display: flex;
	width: 100vw;
	overflow: hidden;
	margin: 0;
}
.page-title-container .page-t {
	min-width: 100vw;
	margin-top: 3rem;
	transition: margin-left 0.3s linear, padding 0.3s linear;
}

.page-title-container.step-0 .page-t:nth-child(1) {
	margin-left: 0;
}
.page-title-container.step-1 .page-t:nth-child(1) {
	margin-left: -100vw;
}
.page-title-container.step-2 .page-t:nth-child(1) {
	margin-left: -200vw;
}
.page-title-container.step-3 .page-t:nth-child(1) {
	margin-left: -300vw;
}
@media screen and (max-width: 768px) {
	.page-title-container {
		padding-top: 0;
	}
	.page-title-container .page-t {
		padding-top: 2.6rem;
		margin-bottom: 1rem;
	}
	.page-title-container.step-2 .page-t:nth-child(3),
	.page-title-container.step-3 .page-t:nth-child(4) {
		padding-left: 3rem;
    padding-right: 3rem;
		margin-bottom: 3rem;
	}
}
@media screen and (min-width: 767px) {
	.page-title-container .page-t {
		margin-bottom: 3rem;
	}
}

.terms-and-conditions a, .terms-and-conditions a:visited, .terms-and-conditions a:hover {
	color: #6ea820;
	text-decoration: none;
}
/* END PAGE TITLE */
