/* The cart page: the kit's lines folded into one row. */

tr.zf-kit-line.is-folded {
	display: none;
}

tr.zf-kit-line:not(.is-folded) td {
	background: #fbf8f1;
}

tr.zf-kit-row td {
	padding: 0 !important;
	border-bottom: 1px solid #ece7da;
}

.zf-kit-row__inner {
	display: flex;
	align-items: center;
	gap: 16px 28px;
	padding: 18px 16px;
	border-left: 4px solid #ffbf00;
	background: #f6f4ee;
}

.zf-kit-row__words {
	flex: 1 1 auto;
	min-width: 0;
}

.zf-kit-row__words strong {
	display: block;
	font-size: 16px;
	color: #22301c;
}

.zf-kit-row__words span {
	font-size: 13px;
	color: #3f4039;
}

.zf-kit-row__total {
	font-family: "Fraunces", Georgia, serif;
	font-size: 22px;
	color: #8a6a0f;
	white-space: nowrap;
}

.zf-kit-row__act {
	display: flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}

.zf-kit-row__edit {
	font-size: 14px;
	font-weight: 600;
	color: #2a491d;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 191, 0, 0.8);
}

.woocommerce-cart button.zf-kit-row__toggle {
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid rgba(42, 73, 29, 0.25);
	border-radius: 999px;
	background: #ffffff;
	color: #2a491d;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 767px) {
	.zf-kit-row__inner {
		flex-wrap: wrap;
	}

	.zf-kit-row__act {
		flex-basis: 100%;
	}
}

.zf-kit-row__remove {
	font-size: 13px;
	color: #8d8f85;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.zf-kit-row__remove:hover {
	color: #b32d2e;
}

/* "Empty cart" beside Update cart */
.woocommerce-cart a.zf-cart-empty {
	display: inline-block;
	margin-left: 18px;
	font-size: 14px;
	color: #8d8f85;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-cart a.zf-cart-empty:hover {
	color: #b32d2e;
}

/* The side cart: under View cart / Checkout */
.woocommerce-mini-cart__buttons a.zf-cart-empty--mini {
	display: block;
	margin: 10px 0 0;
	text-align: center;
	font-size: 13px;
	color: #8d8f85;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-mini-cart__buttons a.zf-cart-empty--mini:hover {
	color: #b32d2e;
}

/* The checkout's order table is narrow: stack the row's parts. */
.zf-kit-row--checkout .zf-kit-row__inner {
	flex-wrap: wrap;
	gap: 8px 16px;
	padding: 14px 12px;
}

.zf-kit-row--checkout .zf-kit-row__words {
	flex-basis: 100%;
}

.zf-kit-row--checkout .zf-kit-row__total {
	font-size: 19px;
}

.zf-kit-row--checkout .zf-kit-row__act {
	margin-left: auto;
}

/* Delivery is the same everywhere: no destination line on the cart. */
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .woocommerce-shipping-calculator {
	display: none;
}
