:root {
	--green-accent: #39ba5d;
	--light-bg: #e9ecf1;
	--header: #fff;
	--dark: #1c1c24;
	--icons: #b0b4bf;
	--text-color: #43474c;
}

html {
	font-size: 62.5%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-weight: 400;
	font-family: "Golos Text", sans-serif;
}

.payment-modal {
	font-family: "Golos Text", sans-serif;
	position: fixed;
	display: none;
	inset: 0;
	color: var(--text-color);
	z-index: 130;
	background-color: rgba(28, 28, 36, 0.9);
}
.payment-modal.open {
	display: block;
}
.payment-modal .payment-modal-header {
	height: 7.5vh;
	background-color: var(--header);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2.5vh;
	box-shadow: 0px 0.2vh 0.2vh 0px #bbc8d747;
}
.payment-modal .inner-html,
.payment-modal .spinner-container {
	padding: 5vh 2.5vh;
}
.payment-modal .content {
	background-color: var(--light-bg);
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	aspect-ratio: 9 / 16;
	max-height: 100%;
	max-width: calc(9 / 16 * 100vh);
}

.icon {
	height: 1.75vh;
	width: 1.75vh;
}

.btn-close {
	cursor: pointer;
	transition: all 0.3s linear;
}
.btn-close:hover {
	-webkit-filter: brightness(0.5);
	filter: brightness(0.5);
}

.inner {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.secure-text-top {
	font-size: 1.75vh;
	font-weight: 700;
	color: var(--green-accent);
	text-transform: uppercase;
}

.spinner-container {
	font-size: 20px;
	font-weight: 600;
	display: none;
}
.spinner-container.show {
	display: block;
}

.product-header {
	display: flex;
	flex-direction: row;
	margin-bottom: 4vh;
}

.product-img-container {
	width: 13vh;
	height: 13vh;
}
.product-img-container img {
	height: 100%;
	width: auto;
}

.product-detail {
	padding-left: 2.5vh;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	color: #43474c;
}
.product-detail .product-name {
	font-size: 2.1vh;
	font-weight: 700;
	text-transform: uppercase;
	width: 100%;
	text-align: left;
}
.product-detail .product-name ~ p {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 0.7rem;
}
.product-detail .total {
	font-size: 1.75vh;
	font-weight: 700;
	position: relative;
	margin-top: 1vh;
	padding-left: 1.5vh;
	line-height: 1;
}
.product-detail .total::before {
	content: "$";
	position: absolute;
	left: 0;
	top: 0;
}

.product-detail .product-detail .pay-selection {
	text-align: left;
}

.pay-selection .pay-methods-title {
	font-size: 2.1vh;
	font-weight: 700;
	margin-bottom: 3.5vh;
	text-align: left;
}

.pay-methods-wrapper {
	margin-bottom: 2.2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 2rem;
	-moz-column-gap: 1rem;
	column-gap: 1rem;
}

.pay-method {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.7vh;
	cursor: pointer;
	transition: all linear 0.3s;
}
.pay-method.disabled {
	height: 0;
	overflow: hidden;
}
.pay-method.disabled button {
	pointer-events: none;
}
.pay-method.selected {
	background-color: #c5e2d4;
	border-color: #53c273;
}
.pay-method input {
	margin: 0 1.5vh 0 0;
}
.pay-method input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: 0.2vh solid var(--icons);
	height: 3vh;
	min-width: 3vh;
	border-radius: 100%;
	vertical-align: text-bottom;
	position: relative;
	transition: all 0.3s linear;
	cursor: pointer;
}
.pay-method input[type="radio"]::before {
	content: "";
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	top: 0;
}
.pay-method input[type="radio"]:checked {
	border: 0.2vh solid var(--green-accent);
}
.pay-method input[type="radio"]:checked::before {
	border: 0.4vh solid transparent;
	border-radius: 100%;
	background: var(--green-accent);
	margin: 0.45vh;
}
.pay-method input[type="radio"]:hover {
	border: 0.2vh solid var(--green-accent);
}
.pay-method .pay-method-icon {
	width: 7vh;
}
.pay-method span {
	font-size: 2rem;
	color: #43474c4c;
	margin-top: 0.5rem;
}

.collapsible-header {
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font-size: 20px;
	font-weight: 600;
}

.icon-plus {
	width: 3.2rem;
	height: 3.2rem;
	margin-right: 0.8rem;
}

.form-card-wrapper {
	display: flex;
	gap: 1.6rem;
	flex-direction: column;
}
.form-card-wrapper > div {
	display: flex;
	gap: 1.6rem;
	flex-direction: row;
}
.form-card-wrapper input {
	width: 100%;
	background-color: white;
	border-radius: 0.6rem;
	box-shadow: 0px 0.4rem 0.4rem 0rem #bbc8d747;
	color: var(--dark);
	padding: 1.6rem;
	outline: none;
	border: none;
	font-size: 2rem;
}

.form-card-wrapper ::-webkit-input-placeholder {
	color: #b0b4bf;
}

::-moz-placeholder {
	color: #b0b4bf;
}

:-ms-input-placeholder {
	color: #b0b4bf;
}

::-ms-input-placeholder {
	color: #b0b4bf;
}

::-webkit-input-placeholder {
	color: #b0b4bf;
}

::placeholder {
	color: #b0b4bf;
}

.form-wrapper {
	font-size: 2.2vh;
}
.form-wrapper #continue-payment-btn {
	text-transform: uppercase;
	font-size: 2.2vh;
	font-weight: 700;
	background-color: #39ba5d;
	color: white;
	text-align: center;
	box-shadow: 0px 0.4vh 0.4vh 0px #41c59047;
	border-radius: 1.2vh;
	padding: 1.9vh;
	border: none;
	cursor: pointer;
	transition: all 0.3s linear;
	margin-top: 5vh;
}
.form-wrapper #continue-payment-btn:hover {
	background-color: #34aa55;
}
.form-wrapper #continue-payment-btn#continue-payment-btn {
	width: 100%;
	box-shadow: 0px 4px 4px 0px #41c59047;
}
.form-wrapper #continue-payment-btn#continue-payment-btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.form-wrapper .clarification {
	font-size: 1.5vh;
}
.form-wrapper .descriptor {
	font-size: 1.5vh;
	color: #43474c;
	opacity: 0.3;
	font-weight: 700;
	padding-top: 0.5em;
	margin-bottom: 0;
}

.payment-caption {
	margin-top: 3.2rem;
	font-size: 1.6rem;
	font-weight: 500;
	text-align: center;
}
.payment-caption a {
	color: #3d8eeb;
	text-decoration: none;
}
