/*
 * Checkout form only. Every rule is under body.bv-checkout, which is added
 * on the checkout form and omitted from the thank-you page, cart, and shop.
 */

body.bv-checkout .entry-header {
	display: none;
}

body.bv-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	border-top: 0;
}

body.bv-checkout .bv-freeship-bar {
	margin: 0 0 22px;
	padding: 12px 16px 14px;
	border: 1px dashed #e6e8ee;
	border-radius: 12px;
	background: #fff;
	text-align: center;
}

body.bv-checkout .bv-freeship-bar__text {
	margin: 0 0 10px;
	color: #333;
	font-size: 14px;
	line-height: 1.4;
}

body.bv-checkout .bv-freeship-bar__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #f6e7b8;
}

body.bv-checkout .bv-freeship-bar__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #f5b400;
}

body.bv-checkout #customer_details h3:not(.elementor-widget-woocommerce-checkout-page h3) {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	color: #1c1c1c;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.bv-checkout form.checkout .form-row label {
	margin-bottom: 6px;
	color: #222;
	font-size: 14px;
	font-weight: 600;
}

body.bv-checkout form.checkout .form-row .required {
	color: #e10600;
}

body.bv-checkout form.checkout .form-row input.input-text,
body.bv-checkout form.checkout .form-row select,
body.bv-checkout form.checkout .form-row .select2-container--default .select2-selection--single {
	height: 48px;
	min-height: 48px;
	padding: 0 18px;
	border: 1px solid #e4e6eb;
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	color: #222;
	line-height: 46px;
}

body.bv-checkout form.checkout .form-row textarea {
	min-height: 120px;
	padding: 14px 18px;
	border: 1px solid #e4e6eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: none;
	line-height: 1.5;
}

body.bv-checkout form.checkout .form-row input.input-text:focus,
body.bv-checkout form.checkout .form-row textarea:focus,
body.bv-checkout form.checkout .form-row select:focus,
body.bv-checkout form.checkout .select2-container--default.select2-container--open .select2-selection--single,
body.bv-checkout form.checkout .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #e0a106;
	outline: none;
	box-shadow: 0 0 0 3px rgba(224, 161, 6, 0.16);
}

body.bv-checkout form.checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 0;
	padding-right: 28px;
	color: #222;
	line-height: 46px;
}

body.bv-checkout form.checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 12px;
}

body.bv-checkout form.checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #9aa0a6;
}

body.bv-checkout form.checkout #order_review_heading:not(.elementor-widget-woocommerce-checkout-page #order_review_heading) {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1c1c1c;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
}

body.bv-checkout form.checkout #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
	padding: 0;
	border: 0;
	background: transparent;
}

body.bv-checkout .bv-co-card {
	padding: 8px 16px 4px;
	border: 1px solid #eceff3;
	border-radius: 16px;
	background: #f7f8fa;
}

body.bv-checkout .bv-co-card table.shop_table {
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.bv-checkout .bv-co-card table.shop_table th,
body.bv-checkout .bv-co-card table.shop_table td {
	padding: 12px 4px;
	border: 0;
	border-bottom: 1px solid #e7eaee;
	background: transparent;
	vertical-align: middle;
}

body.bv-checkout .bv-co-card table.shop_table thead th {
	padding-top: 8px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.bv-checkout .bv-co-card table.shop_table .product-total,
body.bv-checkout .bv-co-card table.shop_table tfoot td,
body.bv-checkout .bv-co-card table.shop_table thead .product-total {
	text-align: right;
}

body.bv-checkout .bv-co-card .cart-subtotal td,
body.bv-checkout .bv-co-card .order-total td {
	color: #e10600;
	font-weight: 700;
}

body.bv-checkout .bv-co-card .order-total th,
body.bv-checkout .bv-co-card .order-total td {
	border-bottom: 0;
	font-size: 16px;
}

body.bv-checkout .bv-co-card tr.bv-shipment th {
	color: #1c1c1c;
	font-weight: 700;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
}

body.bv-checkout .bv-co-card tr.bv-shipment .bv-freeship-note {
	display: block;
	margin-top: 4px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

body.bv-checkout .bv-co-card tr.bv-shipment td {
	color: #1c1c1c;
	font-weight: 600;
	white-space: nowrap;
}

body.bv-checkout .bv-co-card tr.fee {
	display: none;
}

body.bv-checkout .bv-co-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

body.bv-checkout .bv-co-remove {
	flex: 0 0 auto;
	margin: 16px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9aa0a6;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

body.bv-checkout .bv-co-thumb {
	flex: 0 0 56px;
}

body.bv-checkout .bv-co-thumb img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #fff;
}

body.bv-checkout .bv-co-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

body.bv-checkout .bv-co-name,
body.bv-checkout .bv-co-name a {
	color: #1c1c1c;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

body.bv-checkout .bv-co-sku {
	color: #8a8f98;
	font-size: 13px;
}

body.bv-checkout .bv-co-qty {
	display: inline-flex;
	align-items: center;
	margin-top: 6px;
	overflow: hidden;
	border: 1px solid #e1e3e8;
	border-radius: 999px;
	background: #fff;
}

body.bv-checkout .bv-co-qty button,
body.bv-checkout .bv-co-qty-input {
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: #333;
	font-size: 16px;
	line-height: 32px;
	text-align: center;
}

body.bv-checkout .bv-co-qty button {
	cursor: pointer;
}

body.bv-checkout .bv-co-qty-input {
	width: 36px;
	border-right: 1px solid #eee;
	border-left: 1px solid #eee;
	-moz-appearance: textfield;
}

body.bv-checkout .bv-co-qty-input::-webkit-outer-spin-button,
body.bv-checkout .bv-co-qty-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.bv-checkout .power-coupons-view-coupons-btn {
	width: 100%;
	border: 1px solid #e4e6eb;
	border-radius: 999px;
	background: #fff;
}

body.bv-checkout #payment {
	margin-top: 18px;
	border-radius: 16px;
	background: transparent;
}

body.bv-checkout #payment ul.payment_methods {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

body.bv-checkout #payment ul.payment_methods li {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	background: transparent;
	list-style: none;
}

body.bv-checkout #payment ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1c1c1c;
	font-weight: 600;
	cursor: pointer;
}

body.bv-checkout #payment ul.payment_methods li input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #2f6fed;
}

body.bv-checkout #payment div.payment_box,
body.bv-checkout #payment div.payment_box::before {
	display: none !important;
}

body.bv-checkout .woocommerce-privacy-policy-text {
	margin: 0 0 16px;
	color: #4b5160;
	font-size: 14px;
	line-height: 1.55;
}

body.bv-checkout .woocommerce-privacy-policy-text a {
	color: #f5b400;
	font-weight: 700;
	text-decoration: none;
}

body.bv-checkout .woocommerce-additional-fields > h3,
body.bv-checkout .cr-customer-consent {
	display: none;
}

body.bv-checkout #place_order {
	width: 100%;
	min-height: 52px;
	margin-top: 8px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: #f5b400;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
}

body.bv-checkout #place_order:hover {
	background: #e0a106;
	color: #fff;
}

@media (max-width: 921px) {
	body.bv-checkout form.checkout #customer_details.col2-set,
	body.bv-checkout form.checkout #order_review,
	body.bv-checkout form.checkout #order_review_heading {
		float: none;
		width: 100%;
		margin-right: 0;
	}

	body.bv-checkout form.checkout #order_review_heading {
		margin-top: 28px;
	}
}
