/* Match the shop's shipping banner, heading color and square button borders. */
#woofc-area {
	--lk-cart-ink: #333333;
	--lk-cart-beige: #d0c7c1;
}

#woofc-area.woofc-position-05 {
	width: calc(100% - 2rem);
}

#woofc-area .woofc-area-top {
	background-color: var(--lk-cart-beige);
	color: var(--lk-cart-ink);
}

#woofc-area .woofc-area-heading {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.08em;
}

#woofc-area .woofc-close {
	inset-inline-end: 0.5rem;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--lk-cart-ink);
	line-height: 1;
}

/* Divi's global notice styles force white text and a larger font size. */
#woofc-area .woofc-notices :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	color: var(--lk-cart-ink) !important;
	font-size: 0.875rem !important;
}

#woofc-area .woofc-notices a {
	color: inherit;
}

#woofc-area .woofc-action-inner a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	min-height: 44px;
	padding: 0.5rem;
	border-width: 1px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.06em;
}

#woofc-area .woofc-action-cart:hover {
	background-color: var(--lk-cart-beige);
	color: var(--lk-cart-ink);
}

#woofc-area .woofc-action-checkout {
	background-color: var(--lk-cart-ink);
	color: #ffffff;
}

#woofc-area .woofc-action-checkout:hover {
	background-color: #504943;
}

#woofc-area .woofc-action-inner a:focus-visible {
	outline: 2px solid var(--lk-cart-ink);
	outline-offset: 2px;
}

#woofc-count #woofc-count-number,
.woofc-menu-item .woofc-menu-item-inner::after,
.woofc-cart-link .woofc-cart-link-inner::after {
	background-color: #333333;
}

.woofc-overlay {
	background-color: rgba(0, 0, 0, 0.42);
}
