/* Compact the Storefront header so products and calls to action appear sooner. */
.site-header {
	padding-top: 1.25rem;
	padding-bottom: .75rem;
}

.site-header .site-branding {
	min-height: 0;
	margin-bottom: .75rem;
}

.site-header .site-branding .custom-logo-link img.custom-logo {
	display: block;
	width: auto !important;
	height: 112px !important;
	max-width: 100% !important;
	max-height: 112px !important;
	object-fit: contain;
}

.storefront-primary-navigation {
	margin-top: .25rem;
}

/* Sales pages do not need a duplicate search sidebar. */
body.home.right-sidebar .content-area,
body.woocommerce-page.right-sidebar .content-area {
	width: 100%;
	float: none;
	margin-right: 0;
}

body.home #secondary,
body.woocommerce-page #secondary {
	display: none;
}

/* WooCommerce Blocks currently renders the cart CTA inside a hidden container. */
body.woocommerce-cart .wc-block-cart__submit-container {
	display: block !important;
	position: static !important;
	width: 100% !important;
	height: auto !important;
	margin-top: 1rem;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 52px;
	padding: .9rem 1.25rem;
	background: #241116 !important;
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus {
	background: #000 !important;
	color: #fff !important;
}

/* Keep the discount widget from covering product and checkout controls. */
body.single-product .mcforms-wrapper,
body.woocommerce-cart .mcforms-wrapper,
body.woocommerce-checkout .mcforms-wrapper {
	display: none !important;
}

.wbs-order-confidence {
	margin: 1rem 0;
	padding: .8rem 1rem;
	background: rgba(255, 255, 255, .55);
	border-left: 4px solid #241116;
	font-size: .95rem;
	line-height: 1.5;
}

.wbs-cart-delivery {
	margin: 0 0 1.5rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid rgba(36, 17, 22, .18);
	border-radius: 4px;
}

.wbs-cart-delivery__title {
	margin: 0 0 .75rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.wbs-cart-delivery__choices {
	display: grid;
	gap: .65rem;
}

.wbs-cart-delivery__choice {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: 0;
	cursor: pointer;
}

.wbs-cart-delivery__select-wrap {
	margin-top: .85rem;
}

.wbs-cart-delivery__select-wrap[hidden] {
	display: none;
}

.wbs-cart-delivery select {
	width: 100%;
	min-height: 48px;
	padding: .65rem .75rem;
	background: #fff;
	border: 1px solid rgba(36, 17, 22, .35);
}

.wbs-cart-delivery__status {
	min-height: 1.4em;
	margin: .6rem 0 0;
	font-size: .88rem;
}

.wbs-cart-delivery.is-busy {
	opacity: .72;
	pointer-events: none;
}

@media (min-width: 768px) {
	.site-header-cart .cart-contents {
		padding-top: .75rem;
		padding-bottom: .75rem;
	}
}

@media (max-width: 767px) {
	.site-header {
		padding-top: .75rem;
		padding-bottom: .5rem;
	}

	.site-header .site-branding .custom-logo-link img.custom-logo {
		height: 82px !important;
		max-height: 82px !important;
	}

	.wc-block-cart__submit-button {
		font-size: 1rem;
	}
}
