/*
 * Distraction-free WooCommerce checkout using native templates and blocks.
 */
body.woocommerce-checkout {
	background: #f6f6f4;
}

.bbsw-checkout-header {
	border-bottom: 1px solid #deded9;
	background: #fff;
}

.bbsw-checkout-logo-bar {
	background: #2f2f2f;
}

.bbsw-checkout-logo {
	display: flex;
	min-height: 78px;
	padding-top: 18px;
	padding-bottom: 18px;
	align-items: center;
	justify-content: center;
}

.bbsw-checkout-progress-bar {
	background: #fff;
}

.bbsw-checkout-header__inner {
	display: flex;
	min-height: 76px;
	padding-top: 15px;
	padding-bottom: 14px;
	justify-content: center;
	align-items: center;
}

.bbsw-checkout-logo a {
	display: block;
}

.bbsw-checkout-logo img,
.bbsw-checkout-logo .custom-logo {
	display: block;
	width: min(100%, 220px);
	height: auto;
	margin: 0 auto;
}

.bbsw-checkout-progress {
	width: min(100%, 600px);
}

.bbsw-checkout-progress ol {
	display: grid;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(3, 1fr);
}

.bbsw-checkout-progress li {
	position: relative;
	padding-top: 27px;
	color: #8a8a86;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
}

.bbsw-checkout-progress li::before {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 2;
	display: grid;
	width: 22px;
	height: 22px;
	border: 2px solid #cdcdc8;
	border-radius: 50%;
	background: #fff;
	content: "";
	place-items: center;
	transform: translateX(-50%);
}

.bbsw-checkout-progress li::after {
	position: absolute;
	top: 10px;
	right: 50%;
	width: 100%;
	height: 2px;
	background: #deded9;
	content: "";
}

.bbsw-checkout-progress li:first-child::after {
	display: none;
}

.bbsw-checkout-progress li.is-complete,
.bbsw-checkout-progress li.is-current,
.bbsw-checkout-progress li a {
	color: #292929;
	text-decoration: none;
}

.bbsw-checkout-progress li.is-complete::before,
.bbsw-checkout-progress li.is-current::before {
	border-color: var(--bbsw-orange);
	background: var(--bbsw-orange);
}

.bbsw-checkout-progress li.is-complete::after,
.bbsw-checkout-progress li.is-current::after {
	background: var(--bbsw-orange);
}

.woocommerce-checkout #content {
	min-height: 520px;
}

.woocommerce-checkout #primary {
	padding-top: 46px;
	padding-bottom: 58px;
}

.woocommerce-checkout .entry-header,
.woocommerce-checkout .entry-title {
	display: none;
}

.woocommerce-checkout .woocommerce,
.woocommerce-checkout .wp-block-woocommerce-checkout {
	max-width: 1160px;
	margin-right: auto;
	margin-left: auto;
}

.woocommerce-checkout form.checkout,
.woocommerce-checkout .wc-block-checkout {
	padding: 30px;
	border: 1px solid #e0e0dc;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 8px 28px rgb(30 30 30 / 5%);
}

.woocommerce-checkout form.checkout h3,
.woocommerce-checkout .wc-block-components-title {
	color: #252525;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input {
	border-color: #c9c9c4 !important;
	border-radius: 3px !important;
	background: #fff !important;
}

.bbsw-checkout-faq {
	padding: 56px 0 64px;
	border-top: 1px solid #e0e0dc;
	background: #fff;
}

.bbsw-checkout-faq h2 {
	margin: 0 0 30px;
	color: #242424;
	font-size: clamp(26px, 3vw, 36px);
	text-align: center;
}

.bbsw-checkout-faq__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.bbsw-checkout-faq__card {
	min-height: 170px;
	border: 1px solid #e1e1dc;
	border-top: 4px solid var(--bbsw-promo-mint, #12d8ae);
	border-radius: 3px;
	background: #fafaf8;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bbsw-checkout-faq__card:hover {
	border-color: #c9c9c3;
	box-shadow: 0 10px 24px rgb(30 30 30 / 8%);
	transform: translateY(-2px);
}

.bbsw-checkout-faq__link {
	display: flex;
	height: 100%;
	padding: 24px 21px;
	color: inherit;
	text-decoration: none;
	flex-direction: column;
}

.bbsw-checkout-faq__card h3 {
	margin: 0 0 12px;
	color: #252525;
	font-size: 18px;
	line-height: 1.25;
}

.bbsw-checkout-faq__card p {
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.55;
}

.bbsw-checkout-faq__card span {
	margin-top: auto;
	padding-top: 17px;
	color: var(--bbsw-orange);
	font-size: 13px;
	font-weight: 700;
}

.bbsw-checkout-footer {
	padding: 24px 0;
	border-top: 1px solid #deded9;
	background: #f3f3f0;
	color: #686864;
	font-size: 13px;
}

.bbsw-checkout-footer .bbsw-container {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: center;
}

.bbsw-checkout-footer nav {
	display: flex;
	gap: 20px;
}

.bbsw-checkout-footer a {
	color: #4a4a47;
}

.bbsw-checkout-footer p {
	margin: 0;
}

@media (max-width: 900px) {
	.bbsw-checkout-faq__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.bbsw-checkout-logo {
		min-height: 62px;
		padding-top: 13px;
		padding-bottom: 13px;
	}

	.bbsw-checkout-header__inner {
		min-height: 70px;
		padding-top: 13px;
		padding-bottom: 12px;
	}

	.bbsw-checkout-logo img,
	.bbsw-checkout-logo .custom-logo {
		width: 175px;
		margin: 0 auto;
	}

	.bbsw-checkout-progress ol {
		max-width: none;
		margin: 0;
	}

	.woocommerce-checkout #primary {
		padding-top: 28px;
		padding-bottom: 38px;
	}

	.woocommerce-checkout form.checkout,
	.woocommerce-checkout .wc-block-checkout {
		padding: 18px 14px;
	}

	.bbsw-checkout-faq {
		padding: 40px 0 45px;
	}

	.bbsw-checkout-faq__grid {
		grid-template-columns: 1fr;
	}

	.bbsw-checkout-faq__card {
		min-height: 0;
	}

	.bbsw-checkout-footer .bbsw-container {
		flex-direction: column;
		text-align: center;
	}
}



