/* For checkout page */

:root {
	--field-gap: 15px;
}

@media (min-width: 550px) {
	.form-row-first {
		margin-right: var(--field-gap);
	}
}
@media (min-width: 550px) {
	.form-row-first,
	.form-row-last {
		float: left;
		width: calc(50% - var(--field-gap) / 2);
	}
}

.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_city_field {
	width: calc(50% - var(--field-gap) / 2) !important;
	float: left;
	clear: none;
	margin-right: var(--field-gap);
}

.woocommerce-checkout #billing_city_field {
	margin-right: 0;
}

/* Clear the float after these fields */
.woocommerce-checkout #billing_country_field {
	clear: both;
}

/* For WooCommerce checkout page */
.woocommerce-checkout #billing_address_1_field {
	width: 70% !important;
	float: left;
	margin-right: var(--field-gap);
	clear: both !important;
}

.woocommerce-checkout #billing_address_2_field {
	width: calc(30% - var(--field-gap)) !important;
	float: left;
	margin-right: 0 !important;
	clear: none !important;
}

/* Clear the float after these fields */
.woocommerce-checkout #billing_address_2_field + .form-row {
	clear: both;
}

.shipping__table--multiple .shipping__list {
	display: flex;
	gap: 15px;
	align-items: stretch;
}

.shipping__table--multiple .shipping__list_item {
	flex: 1;
	height: auto;
}

.shipping__table--multiple .shipping__list_item > label {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	align-items: center;
	border: 1px solid #d9e5dc;
	border-radius: 9px;
	padding: 30px;
	padding-bottom: 0;
	overflow: hidden;
	margin: 0;
	cursor: pointer;
}

.shipping__table--multiple .shipping__list_item > label:has(input[type="radio"]:checked) {
	border: 3px solid var(--fs-color-primary);
	margin: -2px;
	height: calc(100% + 4px);
	width: calc(100% + 4px);
}

.shipping__table--multiple .shipping__list_item > label:not(:has(input[type="radio"]:checked)) {
}

.shipping__table--multiple .shipping__list_item input[type="radio"] {
	flex-shrink: 0;
}

.shipping__table--multiple .shipping__list_item .shipping__list_label {
	font-weight: 600;
	font-size: 14.5px;
	line-height: 100%;
	padding-top: 20px;
}

.shipping__table--multiple .shipping__list_item .method-description {
	font-weight: 600;
	font-size: 12px;
	line-height: 100%;
	color: #9a9a9a;
}

.shipping__table--multiple .shipping__list_item .shipping__list_price {
	background: #f6f6f1;
	width: calc(100% + 60px);
	padding: 17px 0;
	margin: 0 -30px;
	text-align: center;
	margin-top: 10px;
}

.shipping__table--multiple .shipping__list_item .shipping__list_price,
.shipping__table--multiple .shipping__list_item .shipping__list_price * {
	color: var(--fs-color-primary);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 16px;
	line-height: 100%;
}

.shipping__table--multiple .shipping__list_item input[type="radio"],
.wc_payment_method:has(input[type="radio"]) label:before,
.checkout-personal-company-select label:has(input[type="radio"]):before {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 23px;
	height: 23px;
	border: 1px solid #00000017;
	border-radius: 50%;
	background-color: #f6f6f1;
	cursor: pointer;
	margin: 30px 0 5px;
}

.shipping__table--multiple .shipping__list_item input[type="radio"]:checked,
.wc_payment_method:has(input[type="radio"]:checked) label:before,
.checkout-personal-company-select label:has(input[type="radio"]:checked):before {
	background-color: var(--fs-color-primary);
	box-shadow: inset 0px 0px 0px 4px #f6f6f1;
	border-color: #00000017;
}

.shipping__table--multiple td {
	border: none !important;
}

.shipping__list_title_wrapper{
	margin-bottom: auto;
}

.shipping__list_title_wrapper,
.shipping__list_title_wrapper > div{
	text-align: center !important;
}

.wc_payment_method:has(input[type="radio"]) label {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px;
	border-radius: 9px;
	border: 1px solid #d9e5dc;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 100%;
	cursor: pointer;
}

.wc_payment_method:has(input[type="radio"]:checked) label {
	border: 3px solid var(--fs-color-primary);
}

.wc_payment_method:has(input[type="radio"]) label:before,
.checkout-personal-company-select label:has(input[type="radio"]):before {
	content: "";
	display: block;
	margin: 0;
}

.wc_payment_method input,
.checkout-personal-company-select label input[type="radio"] {
	display: none;
}

.wc_payment_method {
	border: none !important;
}

.checkout-personal-company-select label:has(input[type="radio"]) {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
	height: 48px !important;
	border-radius: 12px;
	box-shadow: none;
	border: 1px solid #d9e5dc;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 100%;
	margin: 0;
}

.woocommerce-checkout form p {
	margin-bottom: var(--field-gap);
}

.woocommerce-checkout.fl-labels .fl-wrap label[for]:first-child {
	left: 10px;
	top: -5px;
	background: white;
	padding: 0 5px;
}

.woocommerce-checkout .fl-wrap.fl-is-active > label[for]:first-child {
	opacity: 1;
}

.woocommerce-checkout .form-row .fl-is-active input,
.woocommerce-checkout .form-row .fl-is-active textarea,
.woocommerce-checkout .form-row .fl-is-active select {
	padding-top: 0;
	padding-bottom: 0;
}

.woocommerce-checkout .form-row .fl-is-active textarea {
	padding-top: 0.7em;
}

.woocommerce-checkout h3:not(#ship-to-different-address),
.woocommerce-checkout .h3 {
	font-weight: 600 !important;
	font-size: 17px !important;
	line-height: 100% !important;
	padding-bottom: 30px !important;
	margin-bottom: 0;
	padding-top: 35px !important;
	text-transform: uppercase;
}

.woocommerce-checkout h3#ship-to-different-address {
	padding: 10px 0 20px;
}

.woocommerce-billing-fields {
	border: none;
}

.checkout-item > div {
	display: flex;
	gap: 15px;
	align-items: center;
}

.checkout-item .product-thumbnail img {
	max-width: 66px;
	padding: 5px;
	border-radius: 12px;
	background: #f6f6f1;
}

.checkout-item .product-pricing {
	justify-content: flex-end;
}

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
	border-bottom: 0;
}

.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
	border-top: 1px solid #ececec;
}

.woocommerce-checkout-review-order-table tfoot * {
	font-weight: 600 !important;
	font-size: 15px !important;
	line-height: 24px !important;
}

.woocommerce-checkout-review-order-table tfoot .order-total th {
	font-weight: 700 !important;
	font-size: 18px !important;
	line-height: normal!important;
}

.woocommerce-checkout-review-order-table tfoot .order-total td {
	line-height: normal!important;
}

.payment_methods p {
    font-size: .8em;
}

.woocommerce-checkout-review-order-table tfoot .order-total td *{
	font-size: 18px !important;
	line-height: normal!important;
}

.woocommerce-checkout-review-order-table tfoot .order-total .includes_tax {
	font-size: 10px!important;
}

.woocommerce-checkout-review-order-table tfoot .order-total .includes_tax .amount,
.woocommerce-checkout-review-order-table tfoot .order-total .includes_tax .woocommerce-Price-currencySymbol {
	font-size: 11px!important;
}



.woocommerce-checkout .checkout-coupon-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce-checkout .checkout-coupon-form button {
	height: 48px !important;
	max-width: 165px;
}

	.coupon_code{
		  flex: 1 ; /* flexible width for first two */
	}
	/* Make the 3rd element occupy the full width */
	.coupon_result {
	  flex: 0 0 100%; /* full width */
	}

.woocommerce-checkout-review-order-table .cart-discount-total * {
	color: var(--fs-color-primary);
}

.woocommerce-checkout-review-order-table .cart-discount-total th {
	display: flex;
	align-items: center;
	gap: 7px;
}

.woocommerce-checkout-review-order-table .cart-discount-total th,
.woocommerce-checkout-review-order-table .cart-discount-total td {
	padding-bottom: 15px;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
	padding-top: 15px;
}

.woocommerce-checkout-review-order-table .cart-discount-total th:before {
	content: "";
	background-image: url(../percentage.svg);
	background-repeat: no-repeat;
	background-size: 10px 9px;
	background-position: center;
	background-color: var(--fs-color-primary);
	width: 18px;
	height: 18px;
	border-radius: 18px;
}

.woocommerce-checkout-review-order-table .checkout-item .product-info {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 0;
}

.woocommerce-checkout-review-order-table .checkout-item .product-title {
	text-align: left;
	font-weight: 600;
	font-size: 15px;
	line-height: 100%;
	color: #454648;
	margin: 0;
}

.woocommerce-checkout-review-order-table .checkout-item .product-pricing * {
	font-weight: 600;
	font-size: 14px;
	line-height: 100%;
	margin: 0;
}

.woocommerce-checkout-review-order-table .checkout-item .product-pricing .discount-badge {
	padding: 2px 6px;
}

.woocommerce-checkout label:has(input[type="checkbox"]) {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-weight: 600 !important;
	font-size: 14.5px;
	line-height: 18px;
}

.woocommerce-checkout input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 23px;
	height: 23px;
	border: 1px solid #00000017;
	border-radius: 5px;
	background-color: #f6f6f1;
	cursor: pointer;
	margin: 30px 0 5px;
	flex-shrink: 0;
}

.woocommerce-checkout input[type="checkbox"]:checked {
	background-color: var(--fs-color-primary);
	box-shadow: inset 0px 0px 0px 4px #f6f6f1;
	border-color: #00000017;
}

.woocommerce-checkout .checkout-personal-company-select {
	display: flex;
	gap: 20px;
	padding-bottom: 10px;
	padding-top: 30px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-top: 30px;
	margin-bottom: 30px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text p {
	margin-top: 16px;
	text-align: center;
	font-weight: 700;
	font-size: 12px;
	line-height: 100%;
	color: #808080;
}

.woocommerce-checkout .woocommerce-privacy-policy-text p a {
	color: var(--fs-color-primary);
}



#billing_company_field,
#woocommerce_eu_vat_number_field {
	display: none;
}

.shipping__table--multiple .shipping__list_item text {
	padding-top: 15px;
	padding-bottom: 15px;
}

.checkout__payment-img {
	margin-top: 10px;
	height: 20px;
}

#woocommerce_eu_vat_number_field .optional {
	display: none;
}


.order-total .includes_tax {
	
}

.checkout-sale-notice {
	background-color: #ffe2e2;
    color: #d0021b;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #d0021b;
    border-radius: 4px;
	font-size: 14px;
    font-weight: bold;
}

/* login form */

.woocommerce-checkout #content > .woocommerce{
	max-width: 1410px;
	margin: 0 auto;
}

.woocommerce-form-login-toggle{
	z-index: 1;
	position: relative;
}

.woocommerce-form-login-toggle,
.woocommerce-form-login,
.woocommerce-form-register {
	background: #F6F6F1;
	border-radius: 12px;
	padding: 20px;
}

.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-login{
	max-width: calc(58.3333333333% - 30px);
	margin-left: 15px;
}
	

.woocommerce-form-login-toggle .message-wrapper{
	padding: 0;
}

.woocommerce-form-login-toggle .message-container:before{
    content: url(../bone.svg);
    width: 24px;
    height: 24px;
    display: block;
	margin-right: 10px;
}

.woocommerce-form-login-toggle .message-container{
	line-height: 100%;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #213236;
	display: flex;
	gap: 3px;
	align-items: center;
}

.woocommerce-form-login-toggle .message-container a{
	font-weight: 800;
	font-size: 14px;
	line-height: 100%;
	text-decoration: underline;
	color: #213236 !important;
}

.woocommerce-checkout  .woocommerce-form-login{
	margin-top: -20px !important;
	padding-top: 20px !important;
}

.woocommerce-form-login p{
	font-size: 13px;
}

.woocommerce-form-login .show-password-input{
	margin: 0;
	height: 100%;
}

.woocommerce-form-login input[type="checkbox"]{
	margin: 0;
	margin-right: .5em;
    width: 18px;
    height: 18px;
}

.woocommerce-form-login .woocommerce-form__label-for-checkbox span{
	font-size: 13px;
}

.woocommerce-form-login button[type="submit"]{
	margin: 15px 0 10px;
	height: 40px;
}

.woocommerce-checkout form p:has(button[type="submit"]),
.woocommerce-checkout form p.lost_password{
	margin-bottom: 0;
}

.woocommerce-checkout p.lost_password a{
	font-size: 13px;
	color: #454648 !important;
}

/* end login form */


@media only screen and (max-width: 849px) {
	.woocommerce-form-login-toggle,
	.woocommerce-form-login{
		max-width: 100%;
		margin: 0;
		border-radius: 0;
	}
}


@media only screen and (max-width: 549px){
	.shipping__table--multiple .shipping__list{
		flex-direction: column;
	}
	
	.checkout-item .product-pricing {
		flex-direction: column;
	}
	
	.shipping__table--multiple .shipping__list_item > label{
		flex-direction: row;
		align-items: stretch;
		flex-wrap: wrap;
		padding: 20px;
		padding-right: 0;
		gap: 16px;
	}
	
	.shipping__table--multiple .shipping__list_item > label > *{
		margin: auto 0 !important;
	}
	
	.shipping__table--multiple .shipping__list_item text {
		margin: auto!important;
		padding-bottom: 0;
	}
	
	
	
	.shipping__table--multiple .shipping__list_item input[type="radio"]{
		order: -1;
		margin: 0;
	}
	
	.shipping__table--multiple .shipping__list_item .shipping__list_label{
		padding: 0;
		margin-bottom: 5px;
	}
	
	.shipping__list_title_wrapper{
		flex-grow: 1;
	}
	
	.shipping__list_item .method-image {
		display: none;
	}
	
	.shipping__list_title_wrapper,
	.shipping__list_title_wrapper > div{
		text-align: left !important;
	}
	
	.shipping__table--multiple .shipping__list_item .shipping__list_price{
		width: fit-content;
		margin: -20px 0 !important;
		padding: 15px;
		display: flex;
		align-items: center;
		flex-shrink: 0;
		min-width: 85px;
	}

	.shipping__list_price {
		font-size: 0 !important;
		position: relative;
	}

	.shipping__list_price::after {
		content: attr(data-price);
		font-size: 16px;
		display: block;
	}
	
	.woocommerce-terms-and-conditions-checkbox-text {
		font-size: 11px!important;
		line-height: normal;
	}
}
