/**
 * Filled cart page: full-width farm layout instead of a cramped Elementor widget.
 */
body.woocommerce-cart.cf-cart {
	--cf-forest: #2c4a35;
	--cf-forest-dark: #1e3a2b;
	--cf-cream: #f6f1e7;
	--cf-paper: #faf7f0;
	--cf-muted: #5f5a52;
	--cf-line: #e4ddd0;
	background: var(--cf-cream);
	overflow-x: hidden;
}

body.woocommerce-cart.cf-cart .fl-page-content,
body.woocommerce-cart.cf-cart .elementor-342 {
	background: var(--cf-cream);
}

body.woocommerce-cart.cf-cart .elementor-342 .elementor-element.elementor-element-25f61f45,
body.woocommerce-cart.cf-cart .elementor-342 .elementor-element.elementor-element-25f61f45 > .e-con-inner,
body.woocommerce-cart.cf-cart .elementor > .e-con.e-parent:has(.woocommerce-breadcrumb),
body.woocommerce-cart.cf-cart .woocommerce-breadcrumb {
	display: none !important;
}

body.woocommerce-cart.cf-cart .fl-content-full.container,
body.woocommerce-cart.cf-cart .fl-content.col-md-12,
body.woocommerce-cart.cf-cart .elementor-342 > .e-con.e-parent,
body.woocommerce-cart.cf-cart .elementor-342 .e-con:has(#cart_section),
body.woocommerce-cart.cf-cart .elementor-342 .e-con:has(.e-cart),
body.woocommerce-cart.cf-cart #cart_section,
body.woocommerce-cart.cf-cart #cart_section > .elementor-widget-container,
body.woocommerce-cart.cf-cart .elementor-widget-woocommerce-cart-page,
body.woocommerce-cart.cf-cart .e-cart,
body.woocommerce-cart.cf-cart .e-cart .woocommerce {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.woocommerce-cart.cf-cart .elementor-342 .e-con:has(#cart_section) > .e-con-inner,
body.woocommerce-cart.cf-cart .elementor-342 .e-con:has(.e-cart) > .e-con-inner {
	width: 100% !important;
	max-width: 1120px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px;
	padding-right: 20px;
}

.cf-cart-head {
	max-width: 1120px;
	margin: 12px auto 20px;
	padding: 0 4px;
}

.cf-cart-head__title {
	margin: 0 0 6px;
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: clamp(1.8rem, 3vw, 2.15rem);
	font-weight: 700;
	color: var(--cf-forest-dark);
	letter-spacing: -0.03em;
}

.cf-cart-head__lede {
	margin: 0;
	color: var(--cf-muted);
	font-size: 1rem;
}

body.woocommerce-cart.cf-cart .e-cart__container {
	display: grid !important;
	grid-template-columns: minmax(0, 1.7fr) minmax(340px, 0.88fr) !important;
	align-items: start;
	gap: 28px !important;
	width: 100% !important;
	max-width: 1120px;
	margin: 0 auto 48px;
}

body.woocommerce-cart.cf-cart .e-cart__column-start,
body.woocommerce-cart.cf-cart .e-cart__column-end {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}

body.woocommerce-cart.cf-cart form.woocommerce-cart-form,
body.woocommerce-cart.cf-cart .cart_totals,
body.woocommerce-cart.cf-cart .e-cart__column-start .e-cart-section,
body.woocommerce-cart.cf-cart .e-cart__column-end .e-cart-section {
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: 12px;
	padding: 18px 20px 20px;
	box-shadow: 0 8px 24px rgba(28, 28, 28, 0.04);
}

body.woocommerce-cart.cf-cart .cart_totals h2,
body.woocommerce-cart.cf-cart .e-cart-section h2 {
	margin: 0 0 16px;
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 1.35rem;
	color: var(--cf-forest-dark);
}

body.woocommerce-cart.cf-cart table.shop_table {
	width: 100% !important;
	table-layout: auto !important;
	border-collapse: collapse;
}

body.woocommerce-cart.cf-cart table.shop_table th,
body.woocommerce-cart.cf-cart table.shop_table td {
	vertical-align: middle;
	padding: 14px 8px;
	border-color: var(--cf-line);
	font-size: 0.95rem;
}

body.woocommerce-cart.cf-cart table.shop_table .product-remove {
	width: 36px;
}

body.woocommerce-cart.cf-cart table.shop_table .product-thumbnail {
	width: 72px;
}

body.woocommerce-cart.cf-cart table.shop_table .product-thumbnail img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
}

body.woocommerce-cart.cf-cart table.shop_table .product-name {
	min-width: 12rem;
	width: auto;
}

body.woocommerce-cart.cf-cart table.shop_table .product-name a {
	display: inline;
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
	color: var(--cf-forest) !important;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

body.woocommerce-cart.cf-cart table.shop_table .product-price,
body.woocommerce-cart.cf-cart table.shop_table .product-subtotal {
	white-space: nowrap;
	width: 5.5rem;
	text-align: right;
}

body.woocommerce-cart.cf-cart table.shop_table .product-quantity {
	min-width: 9.25rem;
	width: 9.5rem;
}

body.woocommerce-cart.cf-cart .qib-button-wrapper {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	gap: 0;
	height: 42px !important;
	min-width: 8.75rem;
	max-width: none !important;
	padding: 0 4px;
	border: 1px solid var(--cf-line);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

body.woocommerce-cart.cf-cart .qib-button-wrapper .quantity {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	min-width: 3.25rem;
	margin: 0;
}

body.woocommerce-cart.cf-cart .qib-button-wrapper button {
	flex: 0 0 2rem;
	width: 2rem !important;
	min-width: 2rem;
	height: 40px;
	padding: 0 !important;
	line-height: 1 !important;
}

body.woocommerce-cart.cf-cart .qib-button-wrapper input.qty,
body.woocommerce-cart.cf-cart .qib-button-wrapper .quantity input.input-text.qty.text {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 3.25rem !important;
	min-width: 3.25rem !important;
	max-width: 4.5rem;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 2px !important;
	font-size: 16px !important;
	line-height: 40px !important;
	text-align: center;
	field-sizing: content;
	-moz-appearance: textfield;
	appearance: textfield;
}

body.woocommerce-cart.cf-cart .actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-top: 12px;
}

body.woocommerce-cart.cf-cart .coupon,
body.woocommerce-cart.cf-cart #coupon_code,
body.woocommerce-cart.cf-cart button[name="apply_coupon"],
body.woocommerce-cart.cf-cart .e-apply-coupon,
body.woocommerce-cart.cf-cart .e-cart-section:has(.coupon):not(:has(.shop_table)):not(:has(.cart_totals)):not(:has(#pwgc-redeem-form)),
body.woocommerce-cart.cf-cart .e-cart-section:has(#coupon_code):not(:has(.shop_table)):not(:has(.cart_totals)):not(:has(#pwgc-redeem-form)) {
	display: none !important;
}

body.woocommerce-cart.cf-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart.cf-cart .e-cart__container .checkout-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	background: var(--cf-forest) !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
}

body.woocommerce-cart.cf-cart .cf-del-toolbar,
body.woocommerce-cart.cf-cart .cf-del-progress {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
}

body.woocommerce-cart.cf-cart .cf-del-toolbar__detail,
body.woocommerce-cart.cf-cart .cf-del-toolbar__zip,
body.woocommerce-cart.cf-cart .cf-del-toolbar__tier-text {
	min-width: 0;
}

body.woocommerce-cart.cf-cart .cf-del-toolbar__tier-text {
	flex: 1 1 auto;
	text-wrap: pretty;
}

body.woocommerce-cart.cf-cart .woocommerce .cf-del-zip-input,
body.woocommerce-cart.cf-cart .cf-del-zip-input {
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	height: 44px !important;
	min-height: 44px;
	padding: 8px 14px;
	line-height: 1.3;
}

body.woocommerce-cart.cf-cart tr.woocommerce-shipping-totals th,
body.woocommerce-cart.cf-cart tr.shipping th,
body.woocommerce-cart.cf-cart .cart_totals tr.order-total th {
	font-weight: 700;
}

body.woocommerce-cart.cf-cart .cart_totals tr.cf-del-checkout-row,
body.woocommerce-cart.cf-cart .cart_totals tr.woocommerce-shipping-totals,
body.woocommerce-cart.cf-cart .cart_totals tr.shipping,
body.woocommerce-cart.cf-cart .cart_totals tr.order-total {
	display: block;
	width: 100%;
}

body.woocommerce-cart.cf-cart .cart_totals tr.cf-del-checkout-row > td {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	text-align: left !important;
	white-space: normal !important;
}

body.woocommerce-cart.cf-cart .cart_totals tr.cf-del-checkout-row > td::before {
	content: none !important;
	display: none !important;
}

body.woocommerce-cart.cf-cart .cart_totals tr.woocommerce-shipping-totals th,
body.woocommerce-cart.cf-cart .cart_totals tr.shipping th,
body.woocommerce-cart.cf-cart .cart_totals tr.order-total th {
	display: none;
}

body.woocommerce-cart.cf-cart .cart_totals tr.woocommerce-shipping-totals td,
body.woocommerce-cart.cf-cart .cart_totals tr.shipping td,
body.woocommerce-cart.cf-cart .cart_totals tr.order-total td {
	display: flex !important;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	float: none;
	text-align: left !important;
	font-weight: 600;
	white-space: normal !important;
}

body.woocommerce-cart.cf-cart .cart_totals tr.woocommerce-shipping-totals td::before,
body.woocommerce-cart.cf-cart .cart_totals tr.shipping td::before,
body.woocommerce-cart.cf-cart .cart_totals tr.order-total td::before {
	content: attr(data-title);
	float: none !important;
	width: auto !important;
	max-width: 70%;
	margin: 0 !important;
	font-weight: 700;
	text-align: left;
	white-space: normal;
}

body.woocommerce-cart.cf-cart .cart_totals tr.order-total td > strong {
	margin-left: auto;
	text-align: right;
}

body.woocommerce-cart.cf-cart .woocommerce-shipping-methods {
	display: block !important;
	position: static !important;
	flex: 0 1 auto;
	width: auto !important;
	max-width: 100%;
	min-width: 0;
	height: auto !important;
	margin: 0 0 0 auto;
	padding: 0;
	overflow: visible !important;
	clip: auto !important;
	list-style: none;
	text-align: right;
}

body.woocommerce-cart.cf-cart .woocommerce-shipping-methods li {
	margin: 0;
	text-align: right;
	white-space: normal;
}

body.woocommerce-cart.cf-cart .woocommerce-shipping-methods .woocommerce-Price-amount {
	white-space: nowrap;
}

body.woocommerce-cart.cf-cart .woocommerce-shipping-methods li:not(:has(input:checked)) {
	display: none !important;
}

body.woocommerce-cart.cf-cart .woocommerce-shipping-methods input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

@media screen and (max-width: 1023px) {
	body.woocommerce-cart.cf-cart .e-cart__container {
		grid-template-columns: 1fr !important;
	}
}

@media screen and (max-width: 680px) {
	.cf-cart-head {
		padding: 0 16px;
		margin-top: 8px;
	}

	body.woocommerce-cart.cf-cart form.woocommerce-cart-form,
	body.woocommerce-cart.cf-cart .cart_totals {
		padding: 14px;
	}

	body.woocommerce-cart.cf-cart table.shop_table .product-name {
		min-width: 0;
	}
}
