/*
 * Cart and checkout receipt refinements.
 * Keep WooCommerce's familiar receipt hierarchy and only standardise its
 * coupon treatment, the shipping line, and the shared horizontal edges.
 */

.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* One clear coupon interaction for cart and checkout. */
.wc-block-cart__sidebar .wc-block-components-totals-coupon,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon {
	margin: 0 !important;
	padding: 18px 30px !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid var(--li-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon__form,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 152px !important;
	gap: 14px !important;
	align-items: center !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon__form input,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form input {
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 10px 16px !important;
	color: var(--li-forest) !important;
	background: #fff !important;
	border: 1px solid var(--li-forest) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon__form button,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form button,
.wc-block-cart__sidebar .wc-block-components-totals-coupon__form .wc-block-components-button,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form .wc-block-components-button {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	color: #fff !important;
	background: var(--li-forest) !important;
	border: 1px solid var(--li-forest) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	font-family: var(--li-sans) !important;
	font-size: .78rem !important;
	font-weight: 720 !important;
	letter-spacing: .12em !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon__form button:hover,
.wc-block-cart__sidebar .wc-block-components-totals-coupon__form button:focus-visible,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form button:hover,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form button:focus-visible {
	color: var(--li-forest) !important;
	background: var(--li-gold) !important;
	border-color: var(--li-gold) !important;
}

/* Subtotal, shipping and total share the exact same receipt edges. */
.wc-block-cart__sidebar .wc-block-components-totals-item,
.wc-block-checkout__sidebar .wc-block-components-totals-item,
.wc-block-cart__sidebar .wc-block-components-totals-shipping,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping,
.wc-block-cart__sidebar .wc-block-components-totals-footer-item,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
	box-sizing: border-box !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 20px 30px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-item__label,
.wc-block-checkout__sidebar .wc-block-components-totals-item__label,
.wc-block-cart__sidebar .wc-block-components-totals-item__value,
.wc-block-checkout__sidebar .wc-block-components-totals-item__value {
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 400 !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-item__value,
.wc-block-checkout__sidebar .wc-block-components-totals-item__value {
	text-align: right !important;
}

/* WooCommerce sometimes renders a heading inside the shipping total. The
 * actual rate below it is the only row customers need in the receipt. */
.wc-block-cart__sidebar .wc-block-components-totals-shipping > .wc-block-components-totals-item,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping > .wc-block-components-totals-item {
	display: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-shipping .wc-block-components-shipping-rates-control,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping .wc-block-components-shipping-rates-control,
.wc-block-cart__sidebar .wc-block-components-totals-shipping .wc-block-components-radio-control,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping .wc-block-components-radio-control {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-shipping input[type='radio'],
.wc-block-checkout__sidebar .wc-block-components-totals-shipping input[type='radio'] {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-shipping label,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping label {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 18px !important;
	align-items: center !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	font-weight: 400 !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-shipping label > span,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping label > span {
	margin: 0 !important;
	padding: 0 !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-shipping label > span:last-child,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping label > span:last-child {
	text-align: right !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-footer-item,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
	border-top: 1px solid var(--li-line) !important;
}

/* Product thumbnails contain only the image itself—no opaque placeholder. */
.wc-block-cart__sidebar .wc-block-components-product-image,
.wc-block-checkout__sidebar .wc-block-components-product-image,
.wc-block-cart__sidebar .wc-block-components-product-image a,
.wc-block-checkout__sidebar .wc-block-components-product-image a {
	display: block !important;
	width: 80px !important;
	height: 80px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.wc-block-cart__sidebar .wc-block-components-product-image img,
.wc-block-checkout__sidebar .wc-block-components-product-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	background: transparent !important;
}

@media (max-width: 620px) {
	.wc-block-cart__sidebar .wc-block-components-totals-coupon,
	.wc-block-checkout__sidebar .wc-block-components-totals-coupon,
	.wc-block-cart__sidebar .wc-block-components-totals-item,
	.wc-block-checkout__sidebar .wc-block-components-totals-item,
	.wc-block-cart__sidebar .wc-block-components-totals-shipping,
	.wc-block-checkout__sidebar .wc-block-components-totals-shipping,
	.wc-block-cart__sidebar .wc-block-components-totals-footer-item,
	.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}

	.wc-block-cart__sidebar .wc-block-components-totals-coupon__form,
	.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form {
		grid-template-columns: minmax(0, 1fr) 132px !important;
	}
}

/* Keep the native Woo receipt structure, while making its coupon and shipping
   rows read as one consistent table on both cart and checkout. */
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon,
.wc-block-cart__sidebar .wc-block-components-totals-coupon {
    margin: 0 !important;
    padding: 18px 30px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--li-line, #d8d3c9) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon__form,
.wc-block-cart__sidebar .wc-block-components-totals-coupon__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 152px !important;
    gap: 14px !important;
    align-items: end !important;
    margin: 14px 0 0 !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon .wc-block-components-text-input,
.wc-block-cart__sidebar .wc-block-components-totals-coupon .wc-block-components-text-input {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon .wc-block-components-text-input label,
.wc-block-cart__sidebar .wc-block-components-totals-coupon .wc-block-components-text-input label {
    position: absolute !important;
    z-index: 1 !important;
    top: 9px !important;
    left: 16px !important;
    margin: 0 !important;
    color: var(--li-muted, #697168) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    line-height: 1 !important;
    pointer-events: none !important;
    text-transform: uppercase !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon input,
.wc-block-cart__sidebar .wc-block-components-totals-coupon input {
    min-height: 64px !important;
    margin: 0 !important;
    padding: 25px 16px 8px !important;
    color: var(--li-ink, #293827) !important;
    background: #fff !important;
    border: 2px solid var(--li-forest, #293827) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon button,
.wc-block-cart__sidebar .wc-block-components-totals-coupon button {
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    color: #fff !important;
    background: var(--li-forest, #293827) !important;
    border: 2px solid var(--li-forest, #293827) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon button:hover,
.wc-block-cart__sidebar .wc-block-components-totals-coupon button:hover {
    color: var(--li-forest, #293827) !important;
    background: var(--li-gold, #d6bd77) !important;
    border-color: var(--li-gold, #d6bd77) !important;
    transform: translateY(-1px) !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping,
.wc-block-cart__sidebar .wc-block-components-totals-shipping {
    display: block !important;
    margin: 0 !important;
    padding: 20px 30px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--li-line, #d8d3c9) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Woo outputs a shipping heading plus a chosen rate. The rate is the useful
   row, so hide the duplicate heading and align that native rate to subtotal. */
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping > .wc-block-components-totals-item,
.wc-block-cart__sidebar .wc-block-components-totals-shipping > .wc-block-components-totals-item {
    display: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping .wc-block-components-radio-control,
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping .wc-block-components-radio-control__option,
.wc-block-cart__sidebar .wc-block-components-totals-shipping .wc-block-components-radio-control,
.wc-block-cart__sidebar .wc-block-components-totals-shipping .wc-block-components-radio-control__option {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping input[type="radio"],
.wc-block-cart__sidebar .wc-block-components-totals-shipping input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping label,
.wc-block-cart__sidebar .wc-block-components-totals-shipping label {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 16px !important;
    align-items: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--li-ink, #293827) !important;
    font-weight: 400 !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping label > *,
.wc-block-cart__sidebar .wc-block-components-totals-shipping label > * {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: inherit !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping .wc-block-formatted-money-amount,
.wc-block-cart__sidebar .wc-block-components-totals-shipping .wc-block-formatted-money-amount {
    justify-self: end !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

/* Product thumbnails must be the image only: no inherited pale image tile. */
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image,
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-product-image,
.wc-block-cart__sidebar .wc-block-components-order-summary-item__image,
.wc-block-cart__sidebar .wc-block-components-product-image {
    display: block !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image::before,
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image::after,
.wc-block-cart__sidebar .wc-block-components-order-summary-item__image::before,
.wc-block-cart__sidebar .wc-block-components-order-summary-item__image::after {
    content: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image img,
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-product-image img,
.wc-block-cart__sidebar .wc-block-components-order-summary-item__image img,
.wc-block-cart__sidebar .wc-block-components-product-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

@media (max-width: 620px) {
    .wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon,
    .wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping,
    .wc-block-cart__sidebar .wc-block-components-totals-coupon,
    .wc-block-cart__sidebar .wc-block-components-totals-shipping {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon__form,
    .wc-block-cart__sidebar .wc-block-components-totals-coupon__form {
        grid-template-columns: minmax(0, 1fr) 132px !important;
    }
}

/* v1.9.10 — never suppress the only shipping amount Woo renders. When rate
   choices exist, keep the concise selected-rate presentation instead. */
.wc-block-cart__sidebar .wc-block-components-totals-shipping > .wc-block-components-totals-item,
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping > .wc-block-components-totals-item {
	min-height: 0 !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	align-items: center !important;
}
.wc-block-cart__sidebar .wc-block-components-totals-shipping:has(.wc-block-components-radio-control) > .wc-block-components-totals-item,
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping:has(.wc-block-components-radio-control) > .wc-block-components-totals-item {
	display: none !important;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-shipping.has-theme-shipping-summary {
	display: none !important;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary .checkout-shipping-summary-fallback,
.wc-block-cart__sidebar .checkout-shipping-summary-fallback {
	min-height: 64px !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 18px !important;
	margin: 0 !important;
	padding: 18px 22px !important;
	align-items: center !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid var(--li-line) !important;
	border-radius: 0 !important;
}
.wc-block-checkout__sidebar .checkout-shipping-summary-fallback .wc-block-components-totals-item__value,
.wc-block-cart__sidebar .checkout-shipping-summary-fallback .wc-block-components-totals-item__value {
	justify-self: end !important;
	color: var(--li-forest) !important;
	font-weight: 720 !important;
}

/* The component wrapper is structural; only the actual field gets a frame. */
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon__input,
.wc-block-cart__sidebar .wc-block-components-totals-coupon__input {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

@media (max-width: 720px) {
	.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-totals-coupon__form,
	.wc-block-cart__sidebar .wc-block-components-totals-coupon__form {
		grid-template-columns: 1fr !important;
	}
}

/* v1.9.11 — shared Cart / Checkout receipt structure. */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper {
	overflow: hidden !important;
	background: var(--li-paper, #f7f3eb) !important;
	border: 1px solid var(--li-line, #d8d2c8) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
}

/* The selected shipping method is shown once, by the JS-owned row placed
   immediately after Subtotal. Native rows can otherwise appear above items. */
.wc-block-cart__sidebar .wc-block-components-totals-shipping.has-theme-shipping-summary,
.wc-block-checkout__sidebar .wc-block-components-totals-shipping.has-theme-shipping-summary {
	display: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-item:has(+ .checkout-shipping-summary-fallback),
.wc-block-checkout__sidebar .wc-block-components-totals-item:has(+ .checkout-shipping-summary-fallback),
.wc-block-cart__sidebar .checkout-shipping-summary-fallback,
.wc-block-checkout__sidebar .checkout-shipping-summary-fallback {
	border-bottom: 0 !important;
}

.wc-block-cart__sidebar .checkout-shipping-summary-fallback,
.wc-block-checkout__sidebar .checkout-shipping-summary-fallback {
	min-height: auto !important;
	padding-top: 0 !important;
	padding-bottom: 18px !important;
}

/* Coupon field: one visual frame, with the prompt floating inside it. */
.wc-block-cart__sidebar .wc-block-components-totals-coupon__form,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 152px !important;
	gap: 16px !important;
	align-items: end !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon__input,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__input,
.wc-block-cart__sidebar .wc-block-components-totals-coupon .wc-block-components-text-input,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-text-input {
	position: relative !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon label,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon label {
	position: absolute !important;
	z-index: 1 !important;
	top: 9px !important;
	left: 16px !important;
	margin: 0 !important;
	pointer-events: none !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon input,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon input {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 64px !important;
	margin: 0 !important;
	padding: 25px 16px 8px !important;
	background: #fff !important;
	border: 1px solid var(--li-forest, #293827) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
}

/* Checkout has two nested image wrappers. Treat them as one deliberate image
   stage, otherwise Woo's inner 80px thumbnail escapes the larger wrapper. */
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item {
	grid-template-columns: 116px minmax(0, 1fr) auto !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image {
	position: relative !important;
	grid-column: 1 !important;
	grid-row: 1 / span 2 !important;
	width: 116px !important;
	height: 116px !important;
	margin: 0 !important;
	padding: 0 !important;
	align-self: start !important;
	overflow: hidden !important;
	isolation: isolate !important;
	background-color: #fff !important;
	border: 1px solid rgba(44,55,41,.12) !important;
	border-radius: 10px !important;
	line-height: 0 !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image .wc-block-components-product-image,
.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image .wc-block-components-product-image a {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: inherit !important;
	z-index: 0 !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image img {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	transform: translate(-50%, -50%) scale(1.12) !important;
	transform-origin: center !important;
	background: #fff !important;
	border-radius: inherit !important;
	z-index: 0 !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
	position: absolute !important;
	top: 6px !important;
	right: 6px !important;
	z-index: 3 !important;
	width: 28px !important;
	height: 28px !important;
	margin: 0 !important;
	transform: none !important;
}

/* Preserve Cart Blocks' table geometry. The cell owns column width and its
   link owns the checkout-style image stage; turning the cell itself into a
   block is what previously displaced the product rule and Total column. */
.wc-block-cart__main .wc-block-cart-items {
	table-layout: fixed !important;
}
.wc-block-cart__main .wc-block-cart-items__header-image {
	width: 112px !important;
}
.wc-block-cart__main .wc-block-cart-items__header-total {
	width: 118px !important;
}
.wc-block-cart__main .wc-block-cart-items__row > td {
	box-sizing: border-box !important;
	vertical-align: top !important;
	border-bottom: 1px solid var(--li-line, rgba(44,55,41,.18)) !important;
}
.wc-block-cart__main td.wc-block-cart-item__image {
	display: table-cell !important;
	width: 112px !important;
	height: auto !important;
	padding: 18px 16px 18px 0 !important;
	overflow: visible !important;
	background: transparent !important;
	border-radius: 0 !important;
}
.wc-block-cart__main td.wc-block-cart-item__product {
	width: auto !important;
	padding-right: 20px !important;
	padding-left: 0 !important;
}
.wc-block-cart__main td.wc-block-cart-item__total {
	display: table-cell !important;
	width: 118px !important;
	padding-left: 16px !important;
	text-align: right !important;
}
.wc-block-cart__main .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex !important;
	width: 100% !important;
	justify-content: flex-end !important;
}
.wc-block-cart__main .wc-block-cart-item__image > a,
.wc-block-cart__main .wc-block-cart-item__image .wc-block-components-product-image {
	position: relative !important;
	display: block !important;
	width: 96px !important;
	height: 96px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #fff !important;
	border: 1px solid rgba(44,55,41,.12) !important;
	border-radius: 10px !important;
	line-height: 0 !important;
}
.wc-block-cart__main .wc-block-cart-item__image img {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	transform: translate(-50%, -50%) scale(1.12) !important;
	background: #fff !important;
}

@media (max-width: 720px) {
	.wc-block-cart__sidebar .wc-block-components-totals-coupon__form,
	.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form {
		grid-template-columns: 1fr !important;
	}

	.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item__image {
		width: 96px !important;
		height: 96px !important;
	}

	.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary-item {
		grid-template-columns: 96px minmax(0, 1fr) !important;
	}
	.wc-block-cart__main td.wc-block-cart-item__image {
		width: 92px !important;
		padding-right: 12px !important;
	}
	.wc-block-cart__main .wc-block-cart-items__header-image {
		width: 92px !important;
	}
	.wc-block-cart__main .wc-block-cart-item__image > a,
	.wc-block-cart__main .wc-block-cart-item__image .wc-block-components-product-image {
		width: 80px !important;
		height: 80px !important;
	}
	.wc-block-cart__main td.wc-block-cart-item__total {
		width: 92px !important;
		padding-left: 10px !important;
	}
	.wc-block-cart__main .wc-block-cart-items__header-total {
		width: 92px !important;
	}
}
