/**
 * Cart Page Redesign (WooCommerce Cart Block)
 *
 * Enqueued only on the main Cart page by inc/cart-functions.php, and every
 * rule is additionally prefixed with body.eternity-cart (added by the same
 * file), so nothing here can reach any other page.
 *
 * Visual language matches the approved checkout (assets/css/checkout.css):
 * same palette tokens, fonts, field borders, radii and navy button. Those
 * tokens are scoped to body.eternity-checkout there, so they're redefined
 * here rather than shared -- checkout.css is intentionally left untouched.
 *
 * Presentation only. No element inside the Cart Block is hidden, moved or
 * re-gridded: WooCommerce's own responsive row grid, quantity selector,
 * remove control, coupon form, shipping calculator, totals and (on narrow
 * screens) sticky Proceed to Checkout bar keep their DOM and behaviour.
 * In particular, no display / position / grid rules are applied to rows,
 * the remove link or the submit containers.
 *
 * WooCommerce prints its block CSS after this file, so selectors carry the
 * body.eternity-cart prefix for specificity rather than !important.
 * Layout decisions use the Cart Block's own container classes (.is-large
 * etc.) wherever they depend on its two-column vs single-column state.
 */

body.eternity-cart {
	--eternity-cart-navy: var(--theme-palette-color-1, #0D2A4D);
	--eternity-cart-navy-deep: var(--theme-palette-color-4, #10243D);
	--eternity-cart-gold: var(--theme-palette-color-2, #C99A73);
	--eternity-cart-cream: var(--theme-palette-color-5, #F8F5F1);
	--eternity-cart-text: var(--theme-text-color, #1B1B1B);
	--eternity-cart-muted: #5B6573;
	--eternity-cart-line: #E3E6EA;
	/* ~3:1 against white -- meets WCAG non-text contrast for field outlines */
	--eternity-cart-field-border: #8A94A3;
	--eternity-cart-radius: 6px;
	--eternity-cart-heading-font: Georgia, 'Times New Roman', serif;

	/* Blocksy's own top/bottom content spacing (60px / 50px live) -- the gap
	   between the site header and the Cart heading. Same values as checkout. */
	--theme-content-vertical-spacing: 20px;
}

/* ============================================
   SOCIAL CHAT FLOATING BUTTON -- Cart page only
   Social Chat (wp-whatsapp-chat 8.6.4) mounts its floating widget inside a
   server-rendered <div class="qlwapp">. On narrow screens it would sit on
   top of WooCommerce's sticky Proceed to Checkout bar; the inline WhatsApp
   panel below the cart replaces it here. Every other page is unaffected.
   ============================================ */

body.eternity-cart .qlwapp {
	display: none;
}

/* ============================================
   PAGE HEADING -- compact (matches checkout)
   ============================================ */

body.eternity-cart .hero-section[data-type="type-1"] {
	--margin-bottom: 14px;
	margin-bottom: 14px;
}

body.eternity-cart .hero-section[data-type="type-1"] .page-title {
	--theme-font-size: 34px;
	--theme-line-height: 1.2;
	margin: 0;
	color: var(--eternity-cart-navy);
	letter-spacing: 0.01em;
}

/* ============================================
   TRUST STRIP (before the cart) -- same treatment as checkout
   ============================================ */

body.eternity-cart .eternity-cart-assurance {
	margin-top: 0;
	margin-bottom: 24px;
	border-top: 1px solid var(--eternity-cart-line);
	border-bottom: 1px solid var(--eternity-cart-line);
}

body.eternity-cart .eternity-cart-assurance__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 16px 0;
	list-style: none;
}

body.eternity-cart .eternity-cart-assurance__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
}

body.eternity-cart .eternity-cart-assurance__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: var(--eternity-cart-cream);
	color: var(--eternity-cart-navy);
}

body.eternity-cart .eternity-cart-assurance__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--eternity-cart-muted);
}

body.eternity-cart .eternity-cart-assurance__text strong {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--eternity-cart-navy);
}

body.eternity-cart .eternity-cart-assurance__text a {
	color: var(--eternity-cart-navy);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ============================================
   EMPTY CART
   The panels are only output for a non-empty cart. If the last item is
   removed without a reload, WooCommerce swaps in its empty-cart view
   (.wp-block-woocommerce-empty-cart-block replaces .wc-block-cart); these
   rules then hide the panels. :not(.is-loading) matters: before React
   hydrates, the saved markup contains BOTH the filled and empty views, so
   without it the panels would flicker on every page load. Browsers without
   :has() simply keep showing the panels.
   ============================================ */

body.eternity-cart .eternity-cart-assurance:has(+ .wp-block-woocommerce-cart:not(.is-loading) .wp-block-woocommerce-empty-cart-block),
body.eternity-cart .wp-block-woocommerce-cart:not(.is-loading):has(.wp-block-woocommerce-empty-cart-block) + .eternity-cart-whatsapp {
	display: none;
}

/* ============================================
   TWO-COLUMN LAYOUT (desktop) -- same 60/40 split as checkout
   Widths only change when the block itself is in its two-column (.is-large)
   state AND the viewport is desktop-width, so WooCommerce's own tablet /
   mobile stacking is never fought.
   ============================================ */

@media (min-width: 1000px) {
	body.eternity-cart .wc-block-cart.wc-block-components-sidebar-layout.is-large .wc-block-components-main {
		width: 60%;
		padding-right: 48px;
	}

	body.eternity-cart .wc-block-cart.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
		width: 40%;
	}
}

/* ============================================
   PRODUCT ROWS
   Colours, borders, type and spacing only. WooCommerce's table layout
   (desktop) and row grid (narrow screens) are untouched.
   ============================================ */

body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__header th {
	padding-bottom: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--eternity-cart-muted);
}

body.eternity-cart .wc-block-cart table.wc-block-cart-items,
body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row,
body.eternity-cart .wc-block-cart table.wc-block-cart-items tr td,
body.eternity-cart .wc-block-cart table.wc-block-cart-items tr th {
	border-color: var(--eternity-cart-line);
}

body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
	border: 1px solid var(--eternity-cart-line);
	border-radius: var(--eternity-cart-radius);
	background-color: #ffffff;
}

body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--eternity-cart-navy);
	text-decoration: none;
}

body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name:hover,
body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Price hierarchy: unit price quiet, line total prominent. */
body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices {
	font-size: 13px;
	color: var(--eternity-cart-muted);
}

body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	font-size: 15px;
	font-weight: 600;
	color: var(--eternity-cart-navy);
}

/* Line total (td.wc-block-cart-item__total = unit price x quantity, plus a
   line-level sale badge) and its "Total" column header.

   When every line has quantity 1 the line total is identical to the unit
   price already shown under the product name (and on narrow screens it sat
   in an extra grid column that overflowed the screen edge), so it is
   hidden -- visually only; WooCommerce's prices and Cart Totals are
   untouched.

   When ANY line has a quantity other than 1, the line total is the only
   place that line's total appears, so it stays visible for all lines (see
   the mobile placement below). The quantity field is a React-controlled
   <input value="…">, so its value attribute tracks the current quantity.
   Header and cells use the same table-level condition, so desktop columns
   always stay aligned. Browsers without :has() keep showing the totals. */
body.eternity-cart .wc-block-cart table.wc-block-cart-items:not(:has(.wc-block-components-quantity-selector__input:not([value="1"]))) .wc-block-cart-items__row .wc-block-cart-item__total,
body.eternity-cart .wc-block-cart table.wc-block-cart-items:not(:has(.wc-block-components-quantity-selector__input:not([value="1"]))) .wc-block-cart-items__header .wc-block-cart-items__header-total {
	display: none;
}

/* Narrow screens, when line totals ARE shown (a quantity above 1): move the
   total out of WooCommerce's extra right-hand grid column onto its own
   line beneath the product details, labelled, so nothing overflows. The
   image / product placement is untouched. Same breakpoint and container as
   WooCommerce's own row grid. */
@container (max-width: 699px) {
	body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		grid-column: 2 / 4;
		grid-row-start: 2;
		align-items: baseline;
		justify-content: flex-start;
		gap: 6px;
		margin-top: 8px;
		font-size: 14px;
		text-align: left;
	}

	body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total::before {
		content: "Item total:";
		font-weight: 400;
		color: var(--eternity-cart-muted);
	}

	body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		align-items: flex-start;
	}
}

/* Product short description: WooCommerce already shortens it to ~15 words;
   here it's smaller, muted and capped at two lines (one on mobile) so the
   selected options stay prominent. Nothing stored on the product changes. */
body.eternity-cart .wc-block-cart-items__row .wc-block-components-product-metadata__description {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.45;
	color: var(--eternity-cart-muted);
}

body.eternity-cart .wc-block-cart-items__row .wc-block-components-product-metadata__description > * {
	display: inline;
	margin: 0;
}

/* Selected options (Ring Size, Engraving, variation attributes) on their own
   lines. WooCommerce renders each option as a direct-child <span> with an
   aria-hidden " / " separator span between them -- presentation only; the
   cart-item data is unchanged. Same technique as the checkout summary. */
body.eternity-cart .wc-block-cart-items__row .wc-block-components-product-details {
	font-size: 13px;
	color: var(--eternity-cart-muted);
}

body.eternity-cart .wc-block-cart-items__row .wc-block-components-product-details > span {
	display: block;
}

body.eternity-cart .wc-block-cart-items__row .wc-block-components-product-details > span > span[aria-hidden="true"] {
	display: none;
}

body.eternity-cart .wc-block-cart-items__row .wc-block-components-product-details__name {
	font-weight: 600;
	color: var(--eternity-cart-navy);
}

/* ============================================
   QUANTITY SELECTOR + REMOVE
   Border / colour only -- width, button sizes and the disabled state
   (opacity .6, set by WooCommerce on :disabled) are preserved, so the
   minimum / maximum quantity behaviour stays visibly clear.
   ============================================ */

body.eternity-cart .wc-block-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	border-color: var(--eternity-cart-field-border);
	border-radius: var(--eternity-cart-radius);
	background-color: #ffffff;
}

body.eternity-cart .wc-block-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	color: var(--eternity-cart-navy);
	font-weight: 600;
}

body.eternity-cart .wc-block-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	color: var(--eternity-cart-navy);
}

body.eternity-cart .wc-block-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:not(:disabled):hover {
	background-color: var(--eternity-cart-cream);
}

/* Remove: colour only -- its 24px click area, display and icon are left to
   WooCommerce. */
body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	color: var(--eternity-cart-muted);
}

body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover,
body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:focus-visible {
	color: var(--eternity-cart-navy);
}

/* ============================================
   CART TOTALS CARD
   One cream card at every width (right-hand column on desktop, below the
   items on narrow screens) -- the cart, unlike checkout, renders a single
   totals section. No overflow / transform is set on the card, so the
   sticky Proceed to Checkout bar inside it stays fixed to the viewport.
   Shipping, taxes, discounts and totals are WooCommerce's own values and
   labels ("Estimated total" vs "Total" is decided by WooCommerce).
   ============================================ */

body.eternity-cart .wc-block-cart .wc-block-cart__sidebar {
	padding: 24px;
	border: 1px solid var(--eternity-cart-line);
	border-radius: 10px;
	background-color: var(--eternity-cart-cream);
}

/* WooCommerce hides the "Cart totals" heading on narrow screens; showing it
   keeps the single totals section clearly labelled at every width. */
body.eternity-cart .wc-block-cart .wc-block-components-sidebar .wc-block-cart__totals-title {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--eternity-cart-heading-font);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--eternity-cart-navy);
}

body.eternity-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block,
body.eternity-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
	border-color: var(--eternity-cart-line);
}

body.eternity-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-item__label {
	color: var(--eternity-cart-text);
}

/* Right-edge alignment for every amount. Totals rows are flex rows that
   wrap (label grows, value follows); WooCommerce gives the value no
   margin-left:auto, so when the larger Georgia "Estimated total" amount
   ran out of room in the narrower column it wrapped onto its own line
   flush LEFT (or broke at the space inside the amount). margin-left:auto
   keeps a wrapped value on the right-hand edge, nowrap keeps each amount
   on one line -- no fixed widths, so large amounts still fit. */
body.eternity-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-item__value {
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

body.eternity-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item {
	align-items: baseline;
}

body.eternity-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 17px;
	font-weight: 600;
	color: var(--eternity-cart-navy);
}

/* Final total amount in Helvetica (the site's body/price font) rather than
   Georgia, whose old-style numerals sit at uneven heights. Colour, size and
   alignment unchanged; the "Cart totals" heading stays in Georgia. */
body.eternity-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--theme-font-family, Helvetica), Helvetica, Arial, sans-serif;
	font-size: 22px;
	color: var(--eternity-cart-navy);
}

/* Estimated vs final: a quiet note under the total, accurate whether
   WooCommerce labels it "Estimated total" or "Total". */
body.eternity-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item::after {
	content: "Shipping and your final total are confirmed at checkout.";
	display: block;
	flex-basis: 100%;
	width: 100%;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--eternity-cart-muted);
}

/* ============================================
   COUPON
   Colours, borders and radius only. Invalid input ([aria-invalid="true"] /
   .has-error) is excluded so WooCommerce's red error state always shows;
   the button's loading / disabled states are left to WooCommerce.
   ============================================ */

body.eternity-cart .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
	color: var(--eternity-cart-navy);
	font-weight: 600;
}

body.eternity-cart .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-text-input:not(.has-error) input:not([aria-invalid="true"]) {
	border: 1px solid var(--eternity-cart-field-border);
	border-radius: var(--eternity-cart-radius);
	background-color: #ffffff;
	color: var(--eternity-cart-text);
	box-shadow: none;
}

body.eternity-cart .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-text-input:not(.has-error) input:not([aria-invalid="true"]):focus {
	border-color: var(--eternity-cart-navy);
	box-shadow: 0 0 0 1px var(--eternity-cart-navy);
	outline: none;
}

body.eternity-cart .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-totals-coupon__button {
	border: 0;
	border-radius: var(--eternity-cart-radius);
	background-color: var(--eternity-cart-navy);
	color: #ffffff;
	font-weight: 600;
}

body.eternity-cart .wc-block-cart .wc-block-components-totals-coupon .wc-block-components-totals-coupon__button:not(:disabled):hover {
	background-color: var(--eternity-cart-navy-deep);
}

/* ============================================
   PROCEED TO CHECKOUT -- matches the checkout's Place Order button
   Applies to both the in-card button and WooCommerce's sticky copy (same
   class). The --loading spinner, [aria-disabled] state and the sticky
   container's own position / z-index / background are left untouched.
   ============================================ */

body.eternity-cart .wc-block-cart .wc-block-cart__submit-button {
	min-height: 56px;
	padding: 0 32px;
	border: 0;
	border-radius: var(--eternity-cart-radius);
	background-color: var(--eternity-cart-navy);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 6px 18px rgba(13, 42, 77, 0.18);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

body.eternity-cart .wc-block-cart .wc-block-cart__submit-button:hover {
	background-color: var(--eternity-cart-navy-deep);
	color: #ffffff;
	box-shadow: 0 8px 22px rgba(13, 42, 77, 0.26);
}

body.eternity-cart .wc-block-cart .wc-block-cart__submit-button:focus-visible {
	outline: 2px solid var(--eternity-cart-gold);
	outline-offset: 3px;
}

body.eternity-cart .wc-block-cart .wc-block-cart__submit-container:not(.wc-block-cart__submit-container--sticky) {
	margin-top: 16px;
}

/* ============================================
   WHATSAPP ASSISTANCE PANEL (after the cart) -- same card as checkout
   ============================================ */

body.eternity-cart .eternity-cart-whatsapp {
	margin-top: 16px;
	margin-bottom: 0;
}

body.eternity-cart .eternity-cart-whatsapp__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid var(--eternity-cart-line);
	border-radius: 10px;
	background-color: #ffffff;
}

body.eternity-cart .eternity-cart-whatsapp__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--eternity-cart-muted);
}

body.eternity-cart .eternity-cart-whatsapp__text strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--eternity-cart-navy);
}

body.eternity-cart .eternity-cart-whatsapp__link {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--eternity-cart-navy);
	border-radius: var(--eternity-cart-radius);
	color: var(--eternity-cart-navy);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.eternity-cart .eternity-cart-whatsapp__link:hover,
body.eternity-cart .eternity-cart-whatsapp__link:focus-visible {
	background-color: var(--eternity-cart-navy);
	color: #ffffff;
}

body.eternity-cart .eternity-cart-whatsapp__link:focus-visible {
	outline: 2px solid var(--eternity-cart-gold);
	outline-offset: 2px;
}

body.eternity-cart .eternity-cart-whatsapp .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================
   TABLET / MOBILE
   ============================================ */

@media (max-width: 999.98px) {
	body.eternity-cart {
		--theme-content-vertical-spacing: 16px;
	}

	body.eternity-cart .eternity-cart-assurance__list {
		gap: 16px;
	}
}

/* WooCommerce's sticky Proceed to Checkout bar (max-width: 782px, only
   while the in-card button is still below the viewport) sits at z-index
   9999, above Blocksy's back-to-top button (z-index 110). Lift that button
   clear of the bar only while the bar is actually showing. */
@media (max-width: 782px) {
	body.eternity-cart:has(.wc-block-cart__submit-container--sticky) .ct-back-to-top {
		--back-top-bottom-offset: 104px;
	}
}

@media (max-width: 689.98px) {
	body.eternity-cart {
		--theme-content-vertical-spacing: 12px;
	}

	body.eternity-cart .hero-section[data-type="type-1"] {
		--margin-bottom: 10px;
		margin-bottom: 10px;
	}

	body.eternity-cart .hero-section[data-type="type-1"] .page-title {
		--theme-font-size: 26px;
	}

	/* Trust strip: one compact row of three icon + title items, as on
	   checkout; the supporting lines are hidden (the WhatsApp panel below
	   still offers assistance). */
	body.eternity-cart .eternity-cart-assurance {
		margin-bottom: 12px;
	}

	body.eternity-cart .eternity-cart-assurance__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		padding: 10px 0;
	}

	body.eternity-cart .eternity-cart-assurance__item {
		flex-direction: column;
		align-items: center;
		gap: 6px;
		text-align: center;
	}

	body.eternity-cart .eternity-cart-assurance__icon {
		width: 28px;
		height: 28px;
	}

	body.eternity-cart .eternity-cart-assurance__icon svg {
		width: 16px;
		height: 16px;
	}

	body.eternity-cart .eternity-cart-assurance__text strong {
		font-size: 12px;
		line-height: 1.3;
		letter-spacing: 0;
	}

	body.eternity-cart .eternity-cart-assurance__text > span {
		display: none;
	}

	body.eternity-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
		font-size: 14px;
	}

	body.eternity-cart .wc-block-cart-items__row .wc-block-components-product-metadata__description {
		-webkit-line-clamp: 1;
		line-clamp: 1;
	}

	body.eternity-cart .wc-block-cart .wc-block-cart__sidebar {
		margin-top: 16px;
		padding: 16px;
	}

	body.eternity-cart .wc-block-cart .wc-block-components-sidebar .wc-block-cart__totals-title {
		font-size: 18px;
	}

	body.eternity-cart .eternity-cart-whatsapp {
		margin-top: 12px;
	}

	body.eternity-cart .eternity-cart-whatsapp__inner {
		flex-direction: column;
		align-items: stretch;
		padding: 14px 16px;
	}

	body.eternity-cart .eternity-cart-whatsapp__link {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.eternity-cart .wc-block-cart .wc-block-cart__submit-button,
	body.eternity-cart .eternity-cart-whatsapp__link {
		transition: none;
	}
}
