.checkout {
	display: grid;
    grid-template-columns: 1fr 1fr;
	gap: 30px;
	max-width: 1240px;
	width: 100%;
}

.checkout .section {
	padding: 40px 0;
}

.checkout__item-image {
	position: relative;
}

.checkout__item-image img {
	width: 90px;
	border: 1px solid #e4e4e4;
}

.checkout__products {
	margin: 0;
}

.checkout__item-title {
	display: flex;
    flex-direction: column;
}

.container--outer {
	background: rgb(140 140 140 / 5%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 16px 0px rgba(255, 255, 255, 0.25);
}

.checkout__item-amount {
	background: #666666;
	color: #fff;
	height: 22px;
	min-width: 22px;
	width: fit-content;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
	padding: 5px;
	position: absolute;
	top: -8px;
	right: -8px;
	font-size: 10px;
}

.items--wrapper {
	display: flex;
	flex-direction: column;
}

.checkout__item {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 15px;
}

.checkout__item a,
.checkout__item p {
	font-size: .9rem;
}

.checkout__item-price {
	margin-left: auto;
	white-space: nowrap;
}

.checkout__item-price p {
	margin-top: 12px;
    color: #CE6839CC;
    font-size: 1rem;
}

.checkout__success a {
	text-decoration: underline;
}

.checkout__success h4 {
	margin-bottom: 1rem;
}

.checkout-social-logins {
	text-align: left;
	/* Optional: Adjust this to control the left margin */
}

.checkout-social-logins h4 {
	margin-bottom: 20px;
}

.social-login-container {
	display: flex;
	justify-content: flex-start;
}

.login-method {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.g_id_signin {
	margin: 0;
}

.fb-login-button {
	display: block;
	margin: 0;
}

.itemset--guest {
	display: flex;
	gap: 20px;
}

.delivery--method {
	display: block;
	width: 100%;
	margin-bottom: 5px;
}

.delivery--method form {
	display: flex;
	flex-flow: row nowrap;
	gap: 5px;
	align-items: center;
	justify-content: flex-start;
}

.checkout .montonio-target-container {
	background: transparent;
}

.sidebar.stickey-desctop .container--outer {
	position: sticky;
	top: 10px;
}

@media(max-width:992px) {
	.sidebar.stickey-desctop .container--outer {
		position: relative;
		top: auto;
	}
	/* .checkout {
		display: flex;
		flex-direction: column-reverse;
	} */

	/* .checkout:has(.showProducts) { */
	.checkout {
		display: grid;
		grid-template-columns: 1fr;
	}

	.checkout:has(.showProducts) .section.forms {
		order:3;
	}

	.checkout:has(.showProducts) .items {
		order: 2;
	}

	.checkout:has(.showProducts) .showProducts  {
		order: 1;
	}

	.checkout .section {
		padding: 0 0 30px;
	}

	.checkout__item-image img {
		width: 50px;
	}

	.section.items {
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.3s cubic-bezier(0.3, 0.5, 0.5, 1);
		flex: unset;
		padding: 0;
	}

	.container--outer {
		padding: 0;
	}

	.opened .container--outer {
		padding: 20px;
	}

	.checkout .section.items {
		padding: 0;
	}

	.section.items .container {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.section.items.opened {
		grid-template-rows: 1fr;
	}

	.section.showProducts,
	.checkout .section.showProducts {
		background: #f5f5f5;
		padding: 0;
		margin-top: 30px;
		border-top: 1px solid #e4e4e4;
		border-bottom: 1px solid #e4e4e4;
	}

	.checkout__showProducts {
		padding: 17px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.checkout__showProducts div,
	.checkout__showProducts button {
		font-size: 17px;
		font-weight: 500;
	}

	.container--outer {
		overflow: hidden;
	}

	.checkout__openProducts {
		display: flex;
		align-items: center;
		gap: 10px;
	}
}

.checkout__forms:has(.fieldset--guest){
	display: flex;
	flex-flow: column;
	width: 100%;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
}

.checkout__forms,
.checkout__form {
	display: flex;
    flex-direction: column;
    gap: 40px;
}

.item--checkbox {
	display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 5px !important;
    align-items: center;
}

@media(min-width:992px) {
	.checkout__forms {
		margin-left: auto;
	}
}

.section.items {
	background: var(--color-bg-checkout);
	border-bottom: 1px solid #e4e4e4;
}

.checkout__prices {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: 2rem;
}

.checkout__price {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
    height: 50px;
    align-items: center;
}

.checkout__price:not(.checkout__totalPrice) {
    border-bottom: 1px solid #999999CC;
}

.checkout__totalPrice {
	font-size: 19px;
	font-weight: 500;
}

.itemset h4 {
	margin-bottom: 1.4rem;
}

.checkout__forms h3 {
	margin-bottom: 2rem;
}

.fieldset {
	margin-bottom: 2.5rem;
	padding-left: 15px;
}

.items--wrapper {
	gap: 20px;
}

.fieldset label {
	font-weight: 400;
	color: #000;
}

.fieldset input[type=radio]:checked+label {
	font-weight: 400;
	color: #000;
}

select {
	width: 100%;
    border: 0;
    outline: 0;
    font-size: 14px;
    border-bottom: 1px solid #a1a1aa;
	color: var(--color-text-secondary);
}

.field--radio label {
	font-size: 14px;
	color: var(--color-text-secondary);
}

input[type=radio],
input[type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	cursor: pointer;
}

input[type=radio]:before,
input[type=checkbox]:before {
	content: "";
	display: inline-block;
	position: relative;
	border: 1px solid #bfbfbf;
	transition: border-color .25s ease-in-out, background-color .25s ease-in-out;
	width: 12px;
	height: 12px;
}

input[type=radio]:checked:before,
input[type=checkbox]:checked:before {
	border: 1px solid #000;
	background-color: #000;
}

.field--radio {
	display: flex;
	align-items: center;
	gap: 10px;
}

.fieldset__pakiautomaat {
	position: relative;
}

#pakiautomaat-toggle {
	display: block;
	width: 15px;
	height: auto;
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	z-index: 1;
	pointer-events: none;
}

.fieldset--guest {
	width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fieldset--guest .login__divider {
	text-align: center;
	margin-bottom: 0px;
}

.fieldset .payment-details {
	margin-left: 0px;
}

div.montonio-target-container {
	padding: 16px 0;
}

select.montonio-bank-select-class {
	border: 1px solid #D5DAE2;
    border-radius: 3px;
    color: var(--color-text-primary);
    padding: 12px;
    font-size: 0.85rem;
    background: #F5F5F5;
}

@media (min-width: 1024px) {
    select.montonio-bank-select-class  {
        padding: 12px 18px;
        font-size: 1.1rem;
    }
}

.payment-method-row {
	margin-bottom: 5px;
}

.checkout__success {
	margin-top: 30px;
}