/*
 * LC Médical — Comptoir : cart, adapted to the home.
 * White 16px cards on the grey ground (as the home cards), headings in the home style (navy, Barlow 700), the shared
 * control scale for steppers, coupon and buttons (forms.css / buttons.css), a sticky summary card.
 * Tokens only (tokens.css), logical properties only.
 */

.lc-cart-page,
.lc-cart,
.lc-empty,
.lc-cartbar {
	--lcc-r: 16px;
	--lcc-card: 0 1px 2px rgb(20 36 107 / 0.1), 0 2px 10px -3px rgb(20 36 107 / 0.14);
}

/* ---------- Page frame: Blocksy's constrained content becomes the drawer-module container ---------- */
body.lc-cart-page [data-vertical-spacing] {
	padding-block: var(--lc-s-6) var(--lc-s-9);
}

body.lc-cart-page .entry-content > * {
	max-inline-size: none;
}

body.lc-cart-page .entry-content > .woocommerce {
	inline-size: min(100% - 2 * var(--lc-gutter), var(--lc-container));
	margin-inline: auto;
}

.lc-cart,
.lc-empty {
	inline-size: 100%;
}

/* ---------- Layout ---------- */
.lc-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--lc-s-5);
	align-items: start;
}

.lc-cart .woocommerce-cart-form {
	display: contents;
}

.lc-cart .cart-collaterals {
	min-inline-size: 0;
	margin: 0;
}

@media (min-width: 1000px) {
	.lc-cart {
		grid-template-columns: minmax(0, 1fr) clamp(21rem, 30vw, 26rem);
		column-gap: var(--lc-s-7);
		grid-template-rows: auto auto auto 1fr;
	}

	.lc-cart__head,
	.lc-cart__lines,
	.lc-cart__actions {
		grid-column: 1;
	}

	.lc-cart .cart-collaterals {
		grid-column: 2;
		grid-row: 1 / span 4;
		position: sticky;
		inset-block-start: calc(var(--lc-sticky-top) + var(--lc-s-4));
	}
}

/* Below 1000px the summary and its CTA come right after the lines, before the coupon: the total and the next step
   are never a screen of form fields away. */
@media (max-width: 999.98px) {
	.lc-cart__head {
		order: 1;
	}

	.lc-cart__lines {
		order: 2;
	}

	.lc-cart .cart-collaterals {
		order: 3;
	}

	.lc-cart__actions {
		order: 4;
	}

	.lc-cart {
		padding-block-end: 4.5rem;
	}
}

/* ---------- Head: title, count, free-delivery progress ---------- */
.lc-cart__head {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: var(--lc-s-3) var(--lc-s-4);
}

.lc-cart__title {
	margin: 0;
	font-family: var(--lc-font-label);
	font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--lc-navy-900);
	text-wrap: balance;
}

.lc-cart__count {
	margin: 0;
	color: var(--lc-ink-muted);
	font-size: var(--lc-fs-sm);
	font-variant-numeric: tabular-nums;
}

.lc-ship {
	grid-column: 1 / -1;
	display: grid;
	gap: var(--lc-s-3);
	padding: var(--lc-s-4);
	background: var(--lc-paper);
	border-radius: var(--lcc-r);
	box-shadow: var(--lcc-card);
}

.lc-ship.is-reached {
	background: var(--lc-ok-bg);
}

.lc-ship__msg {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	margin: 0;
	font-size: var(--lc-fs-sm);
	font-weight: 700;
	line-height: 1.4;
	color: var(--lc-ok-deep);
}

.lc-ship__msg .lc-icon {
	margin-block-start: 0.1em;
	color: var(--lc-ok);
}

.lc-ship__bar {
	block-size: 10px;
	overflow: hidden;
	border-radius: var(--lc-r-pill);
	background: var(--lc-shelf-3);
}

.lc-ship.is-reached .lc-ship__bar {
	background: var(--lc-paper);
}

.lc-ship__bar > span {
	display: block;
	block-size: 100%;
	border-radius: inherit;
	background: var(--lc-ok);
	transition: inline-size var(--lc-dur-drawer) var(--lc-ease-out);
}

.lc-ship.is-reached .lc-ship__msg .lc-icon {
	color: var(--lc-ok);
}

/* ---------- Lines: one sheet, hairlines between rows ---------- */
.lc-cart__lines {
	background: var(--lc-paper);
	border-radius: var(--lcc-r);
	box-shadow: var(--lcc-card);
}

.lc-line {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr) auto;
	grid-template-areas:
		'media body body'
		'qty qty price';
	align-items: center;
	gap: var(--lc-s-2) var(--lc-s-4);
	padding: var(--lc-s-4);
}

.lc-line + .lc-line {
	border-block-start: 1px solid var(--lc-line);
}

@media (min-width: 690px) {
	.lc-line {
		grid-template-columns: 7rem minmax(0, 1fr) auto 9rem;
		grid-template-areas: 'media body qty price';
		align-items: start;
		column-gap: var(--lc-s-5);
		padding: var(--lc-s-5);
	}
}

.lc-line__media {
	grid-area: media;
}

.lc-line__media a,
.lc-line__media img {
	display: block;
	inline-size: 100%;
}

.lc-line__media img {
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--lc-paper);
	border: 1px solid var(--lc-line);
	border-radius: 8px;
}

.lc-line__body {
	grid-area: body;
	min-inline-size: 0;
}

.lc-line__name {
	margin: 0 0 var(--lc-s-1);
	font-family: var(--lc-font-label);
	font-size: var(--lc-fs-h5);
	font-weight: 700;
	line-height: 1.2;
}

.lc-line__name a {
	color: var(--lc-navy-900);
	text-decoration: none;
}

.lc-line__name a:hover {
	color: var(--lc-link-hover);
	text-decoration: underline;
}

.lc-line .variation {
	margin: 0 0 var(--lc-s-2);
	font-size: var(--lc-fs-sm);
	color: var(--lc-ink-muted);
}

.lc-line .variation dt,
.lc-line .variation dd,
.lc-line .variation p {
	display: inline;
	margin: 0;
}

.lc-line__facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lc-s-1) var(--lc-s-4);
	margin: 0 0 var(--lc-s-2);
	font-size: var(--lc-fs-sm);
	color: var(--lc-ink-muted);
}

.lc-line__stock {
	color: var(--lc-ok-deep);
	font-weight: 700;
}

.lc-line__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--lc-s-1) var(--lc-s-4);
	margin: 0;
	font-size: var(--lc-fs-sm);
}

.lc-line__links a {
	display: inline-flex;
	align-items: center;
	min-block-size: var(--lc-tap);
}

.lc-line .product-remove a.remove {
	color: var(--lc-ink-muted);
	background: none;
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	inline-size: auto;
	block-size: auto;
	border-radius: 0;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.lc-line .product-remove a.remove:hover {
	color: var(--lc-ink);
	background: none;
}

/* Quantity: one segmented control (Blocksy renders the ± spans, its script wires them). */
.lc-line__qty {
	grid-area: qty;
}

.lc-line .quantity {
	--quantity-width: 9rem;
	--quantity-height: var(--lc-ctl-md);
	position: relative;
	display: inline-flex;
	inline-size: var(--quantity-width);
	block-size: var(--lc-ctl-md);
	overflow: hidden;
}

.lc-line .quantity input[type='number'] {
	inline-size: 100%;
	block-size: 100%;
	min-block-size: 0;
	margin: 0;
	padding: 0 48px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--lc-ink);
	font: 700 1.0625rem/1 var(--lc-font-text);
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.lc-line .quantity :is(.ct-increase, .ct-decrease) {
	inset: 0 auto 0 auto;
	inline-size: 46px;
	block-size: 100%;
	max-inline-size: none;
	border-radius: 0;
	background: var(--lc-shelf);
	color: var(--lc-link);
	font-size: 1.5rem;
	transition: background-color var(--lc-dur-fast) linear;
}

.lc-line .quantity .ct-decrease {
	inset-inline-start: 0;
	border-inline-end: 1.5px solid var(--lc-line);
}

.lc-line .quantity .ct-increase {
	inset-inline-end: 0;
	border-inline-start: 1.5px solid var(--lc-line);
}

.lc-line .quantity :is(.ct-increase, .ct-decrease):hover {
	background: var(--lc-blue-100);
	color: var(--lc-link-hover);
}

.lc-line .quantity :is(.ct-increase, .ct-decrease)::before {
	margin: 0;
	font-family: var(--lc-font-label);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.lc-line .quantity .ct-increase::before {
	content: '+';
}

.lc-line .quantity .ct-decrease::before {
	content: '\2212';
}

.lc-line__price {
	grid-area: price;
	display: grid;
	gap: 2px;
	justify-items: start;
}

@media (min-width: 690px) {
	.lc-line__price {
		justify-items: end;
		text-align: end;
	}
}

.lc-line__subtotal {
	font-family: var(--lc-font-label);
	font-size: var(--lc-fs-lg);
	font-weight: 700;
	line-height: 1.2;
	color: var(--lc-navy-900);
}

.lc-line__unit {
	font-size: var(--lc-fs-xs);
	color: var(--lc-ink-muted);
}

/* ---------- Coupon and update ---------- */
.lc-cart__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--lc-s-4);
	padding: var(--lc-s-4);
	background: var(--lc-paper);
	border-radius: var(--lcc-r);
	box-shadow: var(--lcc-card);
}

.lc-coupon {
	display: grid;
	gap: 6px;
	flex: 1 1 18rem;
	max-inline-size: 26rem;
}

.lc-coupon__label {
	font-size: var(--lc-fs-sm);
	font-weight: 700;
	color: var(--lc-ink);
}

.lc-coupon__row {
	display: flex;
	gap: var(--lc-s-2);
}

.lc-coupon__row .input-text {
	flex: 1;
	min-inline-size: 0;
}

.lc-coupon__row .lc-btn {
	flex: none;
}

/* Quantity changes save by themselves (AJAX): the update button only serves no-JS visitors and keyboard users who
   reach it. With scripts on, it is out of sight until it has focus. */
.js .lc-cart__update:not(:focus-visible) {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Summary: a white card, sticky on desktop ---------- */
.lc-sum {
	padding: var(--lc-s-5);
	background: var(--lc-paper);
	border-radius: var(--lcc-r);
	box-shadow: var(--lcc-card);
}

@media (min-width: 1000px) {
	.lc-sum {
		padding: var(--lc-s-6);
	}
}

.lc-sum__title {
	margin: 0 0 var(--lc-s-4);
	font-family: var(--lc-font-label);
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	color: var(--lc-navy-900);
}

.lc-sum__table {
	inline-size: 100%;
	margin: 0 0 var(--lc-s-4);
	border: 0;
	border-collapse: collapse;
	font-size: var(--lc-fs-sm);
}

.lc-sum__table :is(th, td) {
	padding: var(--lc-s-2) 0;
	border: 0;
	background: transparent;
	vertical-align: baseline;
}

.lc-sum__table th {
	font-weight: 400;
	text-align: start;
	color: var(--lc-ink-muted);
}

.lc-sum__table td {
	text-align: end;
	font-weight: 700;
	color: var(--lc-ink);
}

.lc-sum__table tr.order-total :is(th, td) {
	padding-block: var(--lc-s-3) 0;
	border-block-start: 1px solid var(--lc-line);
}

.lc-sum__table tr.order-total th {
	font-family: var(--lc-font-label);
	font-size: var(--lc-fs-md);
	font-weight: 700;
	color: var(--lc-ink);
}

.lc-sum__table tr.order-total td {
	font-family: var(--lc-font-label);
	font-size: var(--lc-fs-h4);
	line-height: 1.1;
	color: var(--lc-navy-900);
}

.lc-sum__table :is(tr.shipping, tr.cart-discount) td {
	color: var(--lc-ink);
}

/* The tax line "(dont 413,33 DH TVA 20 %)" reads in one face end to end: words, figures and unit all in the label
   face (its amount already was; the words around it were the text face, so two faces met mid-line). */
.lc-sum__table tr.order-total small {
	display: block;
	font-family: var(--lc-font-label);
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: 'tnum' 1, 'lnum' 1;
	font-size: var(--lc-fs-xs);
	font-weight: 500;
	color: var(--lc-ink-muted);
}

.lc-sum__table tr.order-total small :is(.amount, .woocommerce-Price-currencySymbol) {
	font-size: 1em;
	font-weight: inherit;
}

/* Shipping rows, as WooCommerce / Blocksy print them. */
.lc-sum__table .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: end;
}

.lc-sum__table .ct-shipping-heading {
	margin-block-end: var(--lc-s-1);
	font-weight: 400;
	color: var(--lc-ink-muted);
}

.lc-sum__table tr.shipping td {
	max-inline-size: 16rem;
	margin-inline-start: auto;
	font-weight: 700;
	color: var(--lc-ink);
}

/* The currency sign stays legible next to the amount. */
:is(.lc-cart, .lc-sum, .lc-checkout, .lc-summary, .lc-cobar) .woocommerce-Price-currencySymbol {
	font-size: 0.78em;
	font-weight: 700;
}

.lc-sum__cod {
	margin: 0 0 var(--lc-s-4);
	padding: var(--lc-s-3);
	background: var(--lc-blue-50);
	border-radius: 12px;
	font-size: var(--lc-fs-sm);
	font-weight: 700;
	color: var(--lc-navy-900);
}

.lc-sum .wc-proceed-to-checkout {
	display: grid;
	gap: var(--lc-s-3);
	margin: 0;
	padding: 0;
}

/* The lc-b2b quote button lives on the same hook: it is the secondary action. */
.lc-sum .lc-quote-from-cart {
	margin: 0;
}

/* A plugin button (button.button, md on the scale): the secondary variant through the scale variables. */
.lc-sum .lc-quote-from-cart__btn {
	--_bg: var(--lc-paper);
	--_bg-hover: var(--lc-blue-50);
	--_bg-active: var(--lc-blue-100);
	--_fg: var(--lc-link);
	--_ring: inset 0 0 0 var(--lc-ctl-bw) var(--lc-action);

	inline-size: 100%;
}

.lc-sum .lc-quote-from-cart__btn:hover {
	color: var(--lc-link-hover);
}

.lc-sum__help .lc-phone {
	white-space: nowrap;
}

.lc-sum__help {
	margin: var(--lc-s-4) 0 0;
	font-size: var(--lc-fs-sm);
	color: var(--lc-ink-muted);
}

/* One numeral voice: prices, phones and hours read in the label face with lining tabular figures (Atkinson's slashed
   zero would turn 2 089 into 2 Ø89). .lc-num / .lc-phone live in base.css; this is the local fallback. */
:is(.lc-cart-page .amount, .lc-cartbar__total strong, .lc-num, .lc-phone) {
	font-family: var(--lc-font-label);
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: 'tnum' 1, 'lnum' 1;
}

/* ---------- Mobile summary bar: total and next step, above the tab bar, only while the real CTA is out of view ---------- */
.lc-cartbar {
	display: none;
}

@media (max-width: 999.98px) {
	.lc-cartbar {
		position: fixed;
		inset-inline: 0;
		inset-block-end: calc(var(--lc-tabbar-h) + var(--lc-safe-bottom));
		z-index: 94;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--lc-s-4);
		padding: var(--lc-s-3) var(--lc-gutter);
		background: var(--lc-paper);
		border-block-start: 1px solid var(--lc-line);
		box-shadow: var(--lc-shadow-up);
		visibility: hidden;
		transform: translate3d(0, 1rem, 0);
		opacity: 0;
		transition: transform var(--lc-dur-med) var(--lc-ease-out), opacity var(--lc-dur-med) linear, visibility 0s linear var(--lc-dur-med);
	}

	.lc-cartbar.is-on {
		visibility: visible;
		transform: none;
		opacity: 1;
		transition-delay: 0s;
	}

	.lc-cartbar__total {
		display: grid;
		margin: 0;
		font-size: var(--lc-fs-xs);
		line-height: 1.2;
		color: var(--lc-ink-muted);
	}

	.lc-cartbar__total strong {
		font-size: var(--lc-fs-lg);
		color: var(--lc-navy-900);
	}
}

/* ---------- Cross-sells ---------- */
.lc-cross {
	grid-column: 1 / -1;
	margin-block-start: var(--lc-s-7);
}

.lc-cross__title {
	margin: 0 0 var(--lc-s-4);
	font-family: var(--lc-font-label);
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
	font-weight: 700;
	color: var(--lc-navy-900);
}

.lc-cross__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	gap: var(--lc-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.lc-cross__item {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	grid-template-areas:
		'media name'
		'media price'
		'media go';
	align-items: center;
	gap: 2px var(--lc-s-4);
	padding: var(--lc-s-3);
	background: var(--lc-paper);
	border-radius: var(--lcc-r);
	box-shadow: var(--lcc-card);
}

.lc-cross__media {
	grid-area: media;
}

.lc-cross__media img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: var(--lc-r-label);
}

.lc-cross__name {
	grid-area: name;
	font-family: var(--lc-font-label);
	font-weight: 700;
	line-height: 1.2;
}

.lc-cross__name a {
	color: var(--lc-ink);
	text-decoration: none;
}

.lc-cross__price {
	grid-area: price;
	font-size: var(--lc-fs-sm);
	color: var(--lc-ink-muted);
}

.lc-cross__item .lc-btn {
	grid-area: go;
	justify-self: start;
	margin-block-start: var(--lc-s-2);
}

/* ---------- Empty cart: a card with the page's own search, then the departments as round thumbnails (as the home) ---------- */
.lc-empty {
	display: grid;
	gap: var(--lc-s-7);
}

.lc-empty__counter {
	display: grid;
	gap: var(--lc-s-5);
	max-inline-size: 52rem;
	padding: var(--lc-s-5);
	background: var(--lc-paper);
	border-radius: var(--lcc-r);
	box-shadow: var(--lcc-card);
}

@media (min-width: 690px) {
	.lc-empty__counter {
		padding: var(--lc-s-7);
	}
}

.lc-empty__title {
	margin: 0;
	font-family: var(--lc-font-label);
	font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--lc-navy-900);
	text-wrap: balance;
}

.lc-empty__lead {
	margin: 0;
	max-inline-size: 46ch;
	font-size: var(--lc-fs-md);
	color: var(--lc-ink-2);
}

/* The page's own search is the focal point (the header one is compact on this page): same as the home search. */
.lc-empty .lc-search {
	inline-size: 100%;
	max-inline-size: none;
}

.lc-empty .lc-search__holder {
	min-block-size: calc(var(--lc-ctl-lg) + 12px);
	padding: 6px 6px 6px var(--lc-s-4);
	background: var(--lc-paper);
	border: 2px solid var(--lc-action);
	border-radius: var(--lc-r-pill);
}

.lc-empty .lc-search .lc-search__input {
	font-size: 1.1875rem;
	min-block-size: var(--lc-ctl-lg);
}

.lc-empty .lc-search .lc-search__go {
	min-block-size: var(--lc-ctl-lg);
	border-radius: var(--lc-r-pill);
	background: var(--lc-action);
	color: var(--lc-on-action);
}

.lc-empty .lc-search .lc-search__go:hover {
	background: var(--lc-action-hover);
	color: var(--lc-on-action);
}

.lc-empty__advisor {
	display: grid;
	gap: var(--lc-s-2);
	max-inline-size: 36rem;
	padding-block-start: var(--lc-s-4);
	border-block-start: 1px solid var(--lc-line);
}

.lc-empty__advisor p {
	margin: 0;
}

.lc-empty__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-block-size: var(--lc-tap);
	font-weight: 700;
	color: var(--lc-ink);
	text-decoration: none;
}

.lc-empty__hours {
	font-size: var(--lc-fs-sm);
	color: var(--lc-ink-muted);
}

.lc-empty__sub {
	margin: 0 0 var(--lc-s-5);
	font-family: var(--lc-font-label);
	font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--lc-navy-900);
}

/* Round thumbnails: the clean photo of the department's first product, else a navy-tint disc with a line icon. */
.lc-empty__rounds {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lc-s-5) var(--lc-s-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.lc-empty__rounds {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--lc-s-6) var(--lc-s-4);
	}
}

.lc-empty__round {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--lc-s-3);
	min-block-size: var(--lc-tap);
	color: var(--lc-ink);
	text-decoration: none;
}

.lc-empty__disc {
	display: grid;
	place-items: center;
	inline-size: min(100%, 156px);
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--lc-paper);
	box-shadow: 0 0 0 1px var(--lc-line), 0 6px 16px -10px rgb(20 36 107 / 0.35);
	transition: box-shadow var(--lc-dur-med) var(--lc-ease-out);
}

.lc-empty__disc.has-icon {
	--lc-icon-accent: var(--lc-blue-500);

	background: var(--lc-navy-50);
	color: var(--lc-navy-800);
}

.lc-empty__icon {
	inline-size: 46%;
	block-size: 46%;
	stroke-width: 1.5;
}

.lc-empty__round:hover .lc-empty__disc {
	box-shadow: 0 0 0 3px var(--lc-accent), 0 10px 20px -12px rgb(20 36 107 / 0.4);
}

.lc-empty__label {
	max-inline-size: 18ch;
	font-family: var(--lc-font-label);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--lc-navy-900);
	text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
	.lc-empty__disc {
		transition-duration: 0.01ms;
	}
}

/* ---------- Notices on the cart ---------- */
.lc-cart-page .woocommerce-notices-wrapper:not(:empty) {
	margin-block-end: var(--lc-s-4);
}

.lc-cart-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	margin: 0 0 var(--lc-s-3);
	padding: var(--lc-s-3) var(--lc-s-4);
	list-style: none;
	border: 1px solid var(--lc-navy-200);
	border-radius: 12px;
	background: var(--lc-blue-50);
	color: var(--lc-ink);
	font-size: var(--lc-fs-sm);
}

.lc-cart-page .woocommerce-error {
	background: var(--lc-err-bg);
	border-color: var(--lc-err-line);
	color: var(--lc-err);
	font-weight: 700;
}

.lc-cart-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	display: none;
}

.lc-cart-page .woocommerce-message .button {
	float: none;
	margin-inline-start: var(--lc-s-3);
}

/* ---------- Small screens ---------- */
@media (max-width: 689.98px) {
	.lc-cart__head {
		grid-template-columns: 1fr;
		gap: var(--lc-s-1);
	}

	.lc-line__price {
		justify-items: end;
		text-align: end;
	}

	.lc-cart__actions .lc-btn--sm {
		inline-size: 100%;
	}

	.lc-sum {
		padding: var(--lc-s-4);
	}
}
