:root {
	--dfc-cart-green: var(--dfh-green, #0b5e20);
	--dfc-cart-green-dark: #074a18;
	--dfc-cart-yellow: var(--dfh-yellow, #f4c430);
	--dfc-cart-ink: #172019;
	--dfc-cart-muted: #667069;
	--dfc-cart-line: #e4e9e5;
	--dfc-cart-soft: #f3f7f3;
}

html.dfc-cart-drawer-open,
html.dfc-cart-drawer-open body {
	overflow: hidden !important;
	overscroll-behavior: none;
}

html.dfc-cart-drawer-open .astra-mobile-cart-overlay {
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 100000 !important;
	cursor: pointer;
	background: rgba(7, 18, 10, 0.52) !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

#astra-mobile-cart-drawer.dfc-cart-drawer {
	position: fixed;
	top: 0;
	left: 100%;
	width: 460px;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	background: #fff;
	border: 0;
	box-shadow: -20px 0 50px rgba(7, 30, 13, 0.12);
	color: var(--dfc-cart-ink);
	font-family: inherit;
	transform: translate3d(0, 0, 0);
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), visibility 280ms;
	z-index: 100001;
}

#astra-mobile-cart-drawer.dfc-cart-drawer.active {
	visibility: visible;
	transform: translate3d(-100%, 0, 0);
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-header {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	width: 100%;
	height: 68px;
	max-height: none;
	padding: 0 68px 0 24px;
	background: #fff;
	border-bottom: 1px solid var(--dfc-cart-line);
	z-index: 3;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-title {
	color: var(--dfc-cart-ink);
	font-size: 19px;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	margin: 0;
	color: var(--dfc-cart-ink);
	background: transparent;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-close:hover,
#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-close:focus-visible {
	color: var(--dfc-cart-green);
	background: rgba(244, 196, 48, 0.24);
	transform: rotate(3deg);
	outline: 2px solid transparent;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-close svg,
#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-close .ast-close-svg {
	width: 22px;
	height: 22px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-content,
#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-content .widget_shopping_cart,
#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-content .widget_shopping_cart_content {
	height: 100%;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-content {
	padding-top: 68px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-content .widget_shopping_cart {
	padding: 0;
	margin: 0;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .widget_shopping_cart_content {
	display: flex !important;
	flex-direction: column;
	overflow: hidden;
}

/* Standard WooCommerce mini-cart markup. */
#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart {
	flex: 1 1 auto;
	min-height: 0;
	padding: 8px 22px 16px !important;
	margin: 0 !important;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: rgba(11, 94, 32, 0.35) transparent;
	scrollbar-width: thin;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart-item {
	position: relative;
	min-height: 104px;
	padding: 18px 34px 18px 84px !important;
	margin: 0;
	border-bottom: 1px solid var(--dfc-cart-line);
	font-size: 14px;
	line-height: 1.45;
	list-style: none;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart-item > a:not(.remove) {
	display: block;
	color: var(--dfc-cart-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart-item img {
	position: absolute;
	top: 18px;
	left: 0;
	width: 68px;
	height: 68px;
	padding: 4px;
	margin: 0;
	object-fit: contain;
	background: #f8faf8;
	border: 1px solid var(--dfc-cart-line);
	border-radius: 12px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart-item .quantity {
	display: block;
	margin-top: 5px;
	color: var(--dfc-cart-muted);
	font-size: 13px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart-item a.remove {
	position: absolute;
	top: 17px;
	right: 0;
	left: auto;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	padding: 0;
	color: #7b847e !important;
	background: #f2f4f2;
	border-radius: 999px;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart-item a.remove:hover,
#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart-item a.remove:focus-visible {
	color: #fff !important;
	background: #a72b2b;
}

/* Elementor mini-cart markup currently returned by the site fragments. */
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__products {
	flex: 1 1 auto;
	min-height: 0;
	padding: 8px 22px 16px;
	margin: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: rgba(11, 94, 32, 0.35) transparent;
	scrollbar-width: thin;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 28px;
	grid-template-rows: auto auto;
	gap: 5px 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--dfc-cart-line);
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-image {
	grid-column: 1;
	grid-row: 1 / 3;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-image img {
	display: block;
	width: 72px;
	height: 72px;
	padding: 4px;
	object-fit: contain;
	background: #f8faf8;
	border: 1px solid var(--dfc-cart-line);
	border-radius: 12px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-name {
	grid-column: 2;
	grid-row: 1;
	padding: 0;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-name a {
	color: var(--dfc-cart-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-price {
	grid-column: 2;
	grid-row: 2;
	padding: 0;
	color: var(--dfc-cart-muted);
	font-size: 13px;
	line-height: 1.4;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-remove {
	position: relative;
	grid-column: 3;
	grid-row: 1;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 999px;
	background: #f2f4f2;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-remove a {
	display: block;
	width: 100%;
	height: 100%;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-remove::before,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-remove::after {
	content: '';
	position: absolute;
	top: 13px;
	left: 8px;
	width: 12px;
	height: 1px;
	background: #6f7972;
	pointer-events: none;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-remove::before {
	transform: rotate(45deg);
}

#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__product-remove::after {
	transform: rotate(-45deg);
}

/* Totals, delivery message and actions. */
#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__total,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__subtotal {
	flex: 0 0 auto;
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 58px;
	padding: 16px 22px !important;
	margin: 0 !important;
	color: var(--dfc-cart-ink);
	background: #fbfcfb;
	border-top: 1px solid var(--dfc-cart-line);
	border-bottom: 1px solid var(--dfc-cart-line);
	font-size: 15px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__total strong,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__subtotal strong {
	font-weight: 650;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__total .amount,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__subtotal .amount {
	color: var(--dfc-cart-ink);
	font-size: 17px;
	font-weight: 750;
	text-align: right;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .dfc-delivery-note {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 14px 22px;
	color: #35523c;
	background: var(--dfc-cart-soft);
	border-bottom: 1px solid #dbe7dd;
	font-size: 12.5px;
	line-height: 1.45;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .dfc-delivery-note__icon {
	flex: 0 0 34px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--dfc-cart-green);
	background: rgba(11, 94, 32, 0.09);
	border-radius: 999px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .dfc-delivery-note__text {
	padding-top: 1px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__buttons,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__footer-buttons {
	flex: 0 0 auto;
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 10px;
	padding: 16px 22px calc(20px + env(safe-area-inset-bottom)) !important;
	margin: 0 !important;
	background: #fff;
	border: 0;
	text-align: center;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__buttons a,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__footer-buttons a.elementor-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px;
	padding: 13px 22px !important;
	margin: 0 !important;
	color: var(--dfc-cart-green) !important;
	background: #fff !important;
	border: 1.5px solid var(--dfc-cart-green) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 750 !important;
	line-height: 1.15 !important;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__buttons a.checkout,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__footer-buttons a.elementor-button--checkout {
	color: #fff !important;
	background: var(--dfc-cart-green) !important;
	border-color: var(--dfc-cart-green) !important;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__buttons a:hover,
#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__buttons a:focus-visible,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__footer-buttons a.elementor-button:hover,
#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__footer-buttons a.elementor-button:focus-visible {
	color: #fff !important;
	background: var(--dfc-cart-green-dark) !important;
	border-color: var(--dfc-cart-green-dark) !important;
	transform: translateY(-1px);
	outline: 3px solid rgba(244, 196, 48, 0.42);
	outline-offset: 2px;
}

#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__empty-message,
#astra-mobile-cart-drawer.dfc-cart-drawer .cart_item.empty {
	flex: 1 1 auto;
	display: grid;
	place-items: center;
	padding: 32px 24px;
	margin: 0;
	color: var(--dfc-cart-muted);
	font-size: 15px;
	text-align: center;
}

@media (max-width: 921px) {
	#astra-mobile-cart-drawer.dfc-cart-drawer,
	#astra-mobile-cart-drawer.dfc-cart-drawer.active {
		width: 80vw;
		max-width: none;
	}
}

@media (max-width: 544px) {
	#astra-mobile-cart-drawer.dfc-cart-drawer,
	#astra-mobile-cart-drawer.dfc-cart-drawer.active {
		width: 100vw;
	}

	#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-header {
		height: 64px;
		padding-left: 18px;
	}

	#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-title {
		font-size: 18px;
	}

	#astra-mobile-cart-drawer.dfc-cart-drawer .astra-cart-drawer-content {
		padding-top: 64px;
	}

	#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart,
	#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__products {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}

	#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__total,
	#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__subtotal,
	#astra-mobile-cart-drawer.dfc-cart-drawer .dfc-delivery-note {
		padding-right: 18px !important;
		padding-left: 18px !important;
	}

	#astra-mobile-cart-drawer.dfc-cart-drawer .woocommerce-mini-cart__buttons,
	#astra-mobile-cart-drawer.dfc-cart-drawer .elementor-menu-cart__footer-buttons {
		padding-right: 18px !important;
		padding-left: 18px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#astra-mobile-cart-drawer.dfc-cart-drawer,
	#astra-mobile-cart-drawer.dfc-cart-drawer *,
	.astra-mobile-cart-overlay {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

