/* ==========================================================================
   Lilian's Maison - child theme style corrections
   File: /wp-content/themes/astra-child/lilians-maison-fixes.css

   CONSOLIDATED 23 Oct 2026. Replace the entire file with this.

   Covers: My Account (dashboard, nav, orders, addresses), Cart, Checkout
   (Astra modern layout), Thank You, Wishlist, Affiliate Dashboard.

   Removed in this pass:
     - All CartFlows rules (.wcf-*). Store Checkout is off and the site now
       uses Astra's modern checkout, so those never match.
     - Double-hyphen Astra order cell names (__cell--order-number). The live
       markup uses a single hyphen.
     - .woocommerce-MyAccount-navigation-link--active. The live active class
       is .is-active.
     - .remove_from_wishlist rules. This wishlist layout has no remove
       control, so they matched nothing.
     - Four competing definitions of the thank-you order overview panel.
     - Duplicate shipment-row, place-order and quantity declarations.
   ========================================================================== */

:root {
	--lm-pink: #ee3d91;
	--lm-blush: #fbe6f0;
	--lm-ink: #111111;
	--lm-muted: #6f6b6a;
	--lm-line: #e6e4e3;
	--lm-surface: #ffffff;
	--lm-radius: 10px;
	--lm-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px rgba(17, 17, 17, .05);
}


/* ==========================================================================
   1. MY ACCOUNT - layout and navigation
   ========================================================================== */

.woocommerce-account .woocommerce-MyAccount-content {
	color: var(--lm-ink);
}

.lm-account-heading {
	margin: 0 0 1.5rem;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--lm-ink);
}

/* Astra draws the active state as an inset box-shadow on the link, not a
   pseudo-element. Removed in favour of the bordered card treatment below. */
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	box-shadow: none !important;
}

/* --- Desktop --------------------------------------------------------- */
@media (min-width: 993px) {

	.woocommerce-account .woocommerce-MyAccount-content {
		padding-left: 2.5rem;
	}

	/* Astra's sidebar greets the customer, so the dashboard's own greeting
	   is hidden here to avoid showing it twice. */
	.woocommerce-account .lm-dash-greeting {
		display: none;
	}

	/* Astra puts a border-right on the nav itself. With separated cards it
	   just draws a stray line beside them. */
	.woocommerce-account .woocommerce-MyAccount-navigation {
		border-right: 0 !important;
	}

	/* Greeting block as its own card, matching the nav items beneath it */
	.woocommerce-account .woocommerce-MyAccount-navigation .ast-wooaccount-user-wrapper {
		display: flex !important;
		align-items: center;
		gap: .85rem;
		margin: 0 0 1rem !important;
		padding: 1rem 1.1rem !important;
		border: 1px solid var(--lm-line);
		border-radius: 8px;
		background: var(--lm-surface);
		box-sizing: border-box;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation .ast-wooaccount-user-wrapper img.avatar {
		flex: 0 0 auto;
		width: 40px !important;
		height: 40px !important;
		border-radius: 50%;
		object-fit: cover;
		margin: 0 !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation .ast-username {
		flex: 1 1 auto;
		min-width: 0;
		margin: 0 !important;
		font-size: .95rem;
		color: var(--lm-ink);
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* Each nav item as its own bordered card */
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-direction: column;
		gap: .5rem;
		margin: 0;
		padding: 0;
		list-style: none;
		border: 0 !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li {
		margin: 0 !important;
		border: 1px solid var(--lm-line) !important;
		border-radius: 8px;
		background: var(--lm-surface);
		overflow: hidden;
		transition: border-color .18s ease, box-shadow .18s ease;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li::before,
	.woocommerce-account .woocommerce-MyAccount-navigation li::after {
		display: none !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a {
		display: flex;
		align-items: center;
		gap: .75rem;
		padding: .85rem 1.1rem !important;
		border: 0 !important;
		background: transparent !important;
		color: var(--lm-ink);
		font-size: .95rem;
		text-decoration: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li:hover {
		border-color: var(--lm-pink) !important;
		box-shadow: var(--lm-shadow);
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li:hover a {
		color: var(--lm-pink);
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active {
		border-color: var(--lm-pink) !important;
		background: var(--lm-blush);
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
		color: var(--lm-pink);
		background: transparent !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a::before,
	.woocommerce-account .woocommerce-MyAccount-navigation li a svg,
	.woocommerce-account .woocommerce-MyAccount-navigation li a i {
		flex: 0 0 20px;
		display: inline-flex;
		justify-content: center;
	}
}

/* --- Mobile: nav collapses to a single "Account menu" disclosure ------- */
@media (max-width: 992px) {

	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
		padding-left: 0;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		position: relative;
		margin: 0 0 1.5rem;
		border: 1px solid var(--lm-line) !important;
		border-radius: var(--lm-radius) !important;
		background: var(--lm-surface);
		overflow: hidden;
		box-sizing: border-box;
	}

	/* Astra prints a user block inside the nav. Collapsed it is clutter,
	   and it duplicates the dashboard greeting. */
	.woocommerce-account .woocommerce-MyAccount-navigation > *:not(ul) {
		display: none !important;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation::before {
		content: "Account menu";
		display: block;
		padding: 1.15rem 3.25rem 1.15rem 1.35rem;
		font-size: .78rem;
		letter-spacing: .14em;
		text-transform: uppercase;
		color: var(--lm-muted);
		cursor: pointer;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation::after {
		content: "";
		position: absolute;
		top: 1.4rem;
		right: 1.4rem;
		width: 8px;
		height: 8px;
		border-right: 1.5px solid var(--lm-muted);
		border-bottom: 1.5px solid var(--lm-muted);
		transform: rotate(45deg);
		transition: transform .2s ease;
		pointer-events: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: none;
		margin: 0;
		padding: 0;
		list-style: none;
		border-top: 1px solid var(--lm-line);
	}

	.woocommerce-account .woocommerce-MyAccount-navigation.lm-open ul {
		display: block;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation.lm-open::after {
		transform: rotate(-135deg);
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li {
		border: 0;
		border-bottom: 1px solid var(--lm-line);
		border-radius: 0;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
		border-bottom: 0;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a {
		padding: .9rem 1.35rem;
		font-size: .95rem;
	}

	.lm-account-heading {
		margin-bottom: 1.1rem;
	}
}


/* ==========================================================================
   2. MY ACCOUNT - dashboard tiles
   Pairs with the dashboard.php template override.
   ========================================================================== */

.lm-dash-greeting { margin: 0 0 1.75rem; }

.lm-dash-hello {
	margin: 0 0 .25rem;
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--lm-ink);
}

.lm-dash-sub { margin: 0; color: var(--lm-muted); font-size: .95rem; }

.lm-dash-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.lm-dash-tile {
	display: flex;
	align-items: center;
	gap: .9rem;
	padding: 1.1rem 1.15rem;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	background: var(--lm-surface);
	color: var(--lm-ink);
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lm-dash-tile:hover,
.lm-dash-tile:focus-visible {
	border-color: var(--lm-pink);
	box-shadow: var(--lm-shadow);
	transform: translateY(-1px);
	color: var(--lm-ink);
}

.lm-dash-tile:focus-visible { outline: 2px solid var(--lm-pink); outline-offset: 2px; }

.lm-dash-tile__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--lm-blush);
	color: var(--lm-pink);
}

/* These SVGs carry no width/height attributes. Without explicit sizing they
   render at their intrinsic size, which is about 1000px. */
.lm-dash-tile__icon svg { width: 20px; height: 20px; display: block; }

.lm-dash-tile__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.lm-dash-tile__label { font-size: 1rem; line-height: 1.25; }

.lm-dash-tile__meta {
	font-size: .82rem;
	color: var(--lm-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lm-dash-tile__chev { flex: 0 0 auto; color: var(--lm-muted); opacity: .6; }
.lm-dash-tile__chev svg { width: 16px; height: 16px; display: block; }

.lm-dash-logout { margin: 1.5rem 0 0; font-size: .9rem; }

.lm-dash-logout a {
	color: var(--lm-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lm-dash-logout a:hover { color: var(--lm-pink); }

@media (max-width: 1200px) {
	.lm-dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 544px) {
	.lm-dash-grid { gap: .7rem; }

	.lm-dash-tile {
		flex-direction: column;
		align-items: flex-start;
		gap: .6rem;
		padding: .95rem;
	}

	.lm-dash-tile__chev { display: none; }
	.lm-dash-tile__meta { white-space: normal; }
}


/* ==========================================================================
   3. MY ACCOUNT - orders list
   Astra renders orders as a div grid, not a table. Class names taken from
   the live markup: single hyphen, e.g. __cell-order-number.
   ========================================================================== */

.ast-woo-grid-orders-container {
	display: flex;
	flex-direction: column;
	gap: .85rem;
	border: 0;
	background: transparent;
}

.ast-woo-grid-orders-container .ast-orders-table__row {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem !important;
	height: auto !important;
	min-height: 0;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius);
	background: var(--lm-surface);
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.ast-woo-grid-orders-container .ast-orders-table__row:hover {
	border-color: var(--lm-pink) !important;
	box-shadow: var(--lm-shadow);
}

/* Astra sets the thumbnail cell to position:absolute, taking it out of the
   flow. The row then sizes from the text alone and the image overflows the
   padding. Putting the cells back in the flow fixes the row height. */
.ast-woo-grid-orders-container .ast-orders-table__cell {
	position: static !important;
	border: 0 !important;
	padding: 0 !important;
	background: transparent;
	width: auto !important;
	max-width: none !important;
}

.ast-woo-grid-orders-container .ast-orders-table__cell-order-number {
	flex: 0 0 auto !important;
	width: 60px !important;
	height: auto !important;
}

.ast-woo-grid-orders-container .ast-orders-table__row img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--lm-line);
	display: block;
}

.ast-woo-grid-orders-container .ast-orders-table__cell-order-date {
	flex: 1 1 auto !important;
	min-width: 0;
}

.ast-woo-grid-orders-container .ast-woo-order-date,
.ast-woo-grid-orders-container .ast-orders-table__cell-order-date strong {
	display: block;
	font-size: 1rem;
	font-weight: 500;
	color: var(--lm-ink);
	line-height: 1.3;
}

.ast-woo-grid-orders-container .ast-orders-table__cell-order-status,
.ast-woo-grid-orders-container .ast-orders-table__cell-order-total {
	flex: 0 0 auto !important;
	font-size: .88rem;
	color: var(--lm-muted);
	white-space: nowrap;
}

.ast-woo-grid-orders-container .ast-orders-table__cell-order-actions {
	flex: 0 0 auto !important;
	text-align: right;
}

.ast-woo-grid-orders-container a.view {
	display: inline-block;
	padding: .55rem 1.25rem;
	border: 1px solid var(--lm-ink);
	border-radius: 0;
	background: transparent;
	color: var(--lm-ink);
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}

.ast-woo-grid-orders-container a.view:hover {
	background: var(--lm-ink);
	color: #fff;
}

/* Status colour cues, kept subtle */
.ast-orders-table__row--status-on-hold .ast-orders-table__cell-order-status,
.ast-orders-table__row--status-pending .ast-orders-table__cell-order-status { color: #9a6b24; }

.ast-orders-table__row--status-completed .ast-orders-table__cell-order-status { color: #2e7d53; }

.ast-orders-table__row--status-cancelled .ast-orders-table__cell-order-status,
.ast-orders-table__row--status-failed .ast-orders-table__cell-order-status { color: #a33; }

@media (max-width: 992px) {
	.ast-woo-grid-orders-container .ast-orders-table__row {
		flex-wrap: wrap;
		gap: .75rem 1rem;
	}

	.ast-woo-grid-orders-container .ast-orders-table__cell-order-actions {
		margin-left: auto;
	}
}

/* Mobile: explicit grid spans rather than named template areas */
@media (max-width: 768px) {

	.ast-woo-grid-orders-container .ast-orders-table__row {
		display: grid !important;
		grid-template-columns: 60px minmax(0, 1fr) !important;
		grid-template-areas: none !important;
		gap: .3rem .9rem !important;
		align-items: center;
		padding: 1.15rem 1.1rem !important;
	}

	.ast-woo-grid-orders-container .ast-orders-table__cell-order-number {
		grid-column: 1 / 2 !important;
		grid-row: 1 / 3 !important;
		align-self: start;
	}

	.ast-woo-grid-orders-container .ast-orders-table__cell-order-date {
		grid-column: 2 / 3 !important;
		grid-row: 1 / 2 !important;
		align-self: end;
	}

	.ast-woo-grid-orders-container .ast-orders-table__cell-order-status {
		grid-column: 2 / 3 !important;
		grid-row: 2 / 3 !important;
		align-self: start;
	}

	.ast-woo-grid-orders-container .ast-orders-table__cell-order-total {
		grid-column: 1 / -1 !important;
		grid-row: 3 / 4 !important;
		margin-top: .65rem !important;
		padding-top: .75rem !important;
		border-top: 1px solid var(--lm-line) !important;
		white-space: normal;
		text-align: left;
	}

	.ast-woo-grid-orders-container .ast-orders-table__cell-order-actions {
		grid-column: 1 / -1 !important;
		grid-row: 4 / 5 !important;
		margin-top: .75rem !important;
		text-align: left;
	}

	.ast-woo-grid-orders-container .ast-orders-table__cell-order-actions a.view {
		display: block !important;
		width: 100% !important;
		flex: none !important;
		text-align: center !important;
		box-sizing: border-box;
	}
}


/* ==========================================================================
   4. MY ACCOUNT - addresses, and the view-order customer details
   Two different markups for the same thing, styled together.

   WooCommerce clearfixes .col2-set with ::before and ::after. Harmless with
   floats, but once the container is a grid they count as grid items and
   push the two real cards into a diagonal.
   ========================================================================== */

.woocommerce-Addresses.col2-set::before,
.woocommerce-Addresses.col2-set::after,
.woocommerce-customer-details .woocommerce-columns--addresses::before,
.woocommerce-customer-details .woocommerce-columns--addresses::after,
.woocommerce-customer-details .woocommerce-columns::before,
.woocommerce-customer-details .woocommerce-columns::after {
	display: none !important;
	content: none !important;
}

.woocommerce-customer-details .woocommerce-columns--addresses,
.woocommerce-Addresses.col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 1.25rem 0 0;
}

/* Card shell. Padding cleared so the heading band runs edge to edge and the
   card's own overflow clips its top corners to the radius. */
.woocommerce-customer-details .woocommerce-column,
.woocommerce-Addresses .woocommerce-Address {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius) !important;
	overflow: hidden !important;
	background: var(--lm-surface);
}

/* View-order page: h2.woocommerce-column__title is the band */
.woocommerce-customer-details .woocommerce-column__title {
	display: block;
	margin: 0 !important;
	padding: 1.15rem 1.5rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--lm-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--lm-ink);
}

/* Address tab: header.woocommerce-Address-title is the band. It is
   display:block by default, which pushed the Edit link onto its own row. */
.woocommerce-Addresses .woocommerce-Address-title {
	display: flex !important;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0 !important;
	padding: 1.15rem 1.5rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--lm-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.woocommerce-Addresses .woocommerce-Address-title h2,
.woocommerce-Addresses .woocommerce-Address-title h3 {
	margin: 0;
	padding: 0;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--lm-ink);
}

.woocommerce-Addresses .woocommerce-Address-title a.edit {
	flex: 0 0 auto;
	font-size: .82rem;
	color: var(--lm-pink);
	text-decoration: none;
	white-space: nowrap;
}

.woocommerce-Addresses .woocommerce-Address-title a.edit:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-customer-details .woocommerce-column address,
.woocommerce-Addresses .woocommerce-Address address {
	display: block;
	margin: 0 !important;
	padding: 1.4rem 1.5rem !important;
	border: 0 !important;
	font-style: normal;
	line-height: 1.8;
	color: var(--lm-muted);
}

.woocommerce-customer-details .woocommerce-column p {
	margin: 0 !important;
	padding: 0 1.5rem .5rem !important;
	color: var(--lm-muted);
}

.woocommerce-customer-details .woocommerce-column p:last-child {
	padding-bottom: 1.4rem !important;
}

@media (max-width: 768px) {

	.woocommerce-customer-details .woocommerce-columns--addresses,
	.woocommerce-Addresses.col2-set {
		grid-template-columns: 1fr;
		gap: .85rem;
	}

	.woocommerce-customer-details .woocommerce-column__title,
	.woocommerce-Addresses .woocommerce-Address-title {
		padding: 1rem 1.2rem !important;
	}

	.woocommerce-customer-details .woocommerce-column address,
	.woocommerce-Addresses .woocommerce-Address address {
		padding: 1.15rem 1.2rem !important;
	}

	.woocommerce-customer-details .woocommerce-column p {
		padding-left: 1.2rem !important;
		padding-right: 1.2rem !important;
	}
}


/* ==========================================================================
   5. ORDER DETAILS TABLE
   Used on the view-order page and the thank-you page.
   ========================================================================== */

.woocommerce-MyAccount-content table.woocommerce-table--order-details,
table.woocommerce-table--order-details.shop_table {
	width: 100%;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	overflow: hidden;
	background: var(--lm-surface);
}

table.woocommerce-table--order-details thead th {
	padding: .95rem 1.15rem;
	background: transparent !important;
	border-bottom: 1px solid var(--lm-line);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lm-muted);
	text-align: left;
}

table.woocommerce-table--order-details tbody td,
table.woocommerce-table--order-details tfoot th,
table.woocommerce-table--order-details tfoot td {
	padding: .95rem 1.15rem !important;
	border: 0 !important;
	border-bottom: 1px solid var(--lm-line) !important;
	background: transparent !important;
	vertical-align: top;
}

table.woocommerce-table--order-details tfoot th {
	font-weight: 400;
	color: var(--lm-muted);
}

table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: 0 !important;
	font-weight: 500;
	color: var(--lm-ink);
}

table.woocommerce-table--order-details td.woocommerce-table__product-name a {
	color: var(--lm-ink);
	text-decoration: none;
}

table.woocommerce-table--order-details td.woocommerce-table__product-name a:hover {
	color: var(--lm-pink);
}

@media (max-width: 768px) {
	table.woocommerce-table--order-details tbody td,
	table.woocommerce-table--order-details tfoot th,
	table.woocommerce-table--order-details tfoot td {
		padding: .75rem 1rem !important;
	}
}


/* ==========================================================================
   6. CART PAGE
   ========================================================================== */

/* 6a. Layout. Astra wraps the cart form in div.ast-cart-non-sticky, so the
   real flex row is:
       div.woocommerce > div           <- flex, row
         div.ast-cart-non-sticky       <- holds the cart form
         div.cart-collaterals          <- holds the totals
   Sizing the form itself does nothing, and floats are ignored inside a flex
   container. The flex items are sized instead. */

.woocommerce-cart .woocommerce-cart-form {
	width: auto !important;
	float: none !important;
}

@media (min-width: 993px) {

	.woocommerce-cart .woocommerce > div:has(> .ast-cart-non-sticky) {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 2.5rem;
	}

	.woocommerce-cart .ast-cart-non-sticky {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
		float: none;
	}

	.woocommerce-cart .cart-collaterals {
		flex: 0 0 380px;
		width: auto;
		max-width: 380px;
		float: none;
		margin: 0;
	}

	.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
}

/* 6b. Line items table */

.woocommerce-cart .woocommerce-cart-form table.shop_table {
	width: 100%;
	table-layout: auto;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--lm-surface);
}

/* Astra's pink header band removed. Its rule is specific, hence !important. */
.woocommerce-cart .woocommerce-cart-form table.shop_table thead,
.woocommerce-cart .woocommerce-cart-form table.shop_table thead tr,
.woocommerce-cart .woocommerce-cart-form table.shop_table thead th {
	background: transparent !important;
	background-color: transparent !important;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table thead th {
	padding: .95rem 1rem;
	border-bottom: 1px solid var(--lm-line);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lm-muted);
}

.woocommerce-cart .woocommerce-cart-form table.shop_table td {
	padding: 1.15rem 1rem;
	border-top: 0;
	border-bottom: 1px solid var(--lm-line);
	vertical-align: middle;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table tr:last-child td {
	border-bottom: 0;
}

.woocommerce-cart td.product-name,
.woocommerce-cart th.product-name { width: 40%; min-width: 140px; }

.woocommerce-cart td.product-remove,
.woocommerce-cart th.product-remove { width: 48px; }

.woocommerce-cart td.product-thumbnail,
.woocommerce-cart th.product-thumbnail { width: 96px; }

.woocommerce-cart td.product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--lm-line);
}

.woocommerce-cart td.product-name a {
	display: inline-block;
	color: var(--lm-ink);
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.35;
}

.woocommerce-cart td.product-name a:hover { color: var(--lm-pink); }

.woocommerce-cart td.product-remove a.remove {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: var(--lm-muted) !important;
	font-size: 18px;
	line-height: 1;
	transition: background-color .18s ease, color .18s ease;
}

.woocommerce-cart td.product-remove a.remove:hover {
	background: var(--lm-blush);
	color: var(--lm-pink) !important;
}

/* 6c. Quantity stepper. One border on the pill, none on the inner controls.
   Astra draws its own on a.minus, a.plus and the input. */

.woocommerce-cart .quantity {
	display: inline-flex;
	align-items: center;
	height: 40px;
	border: 1px solid var(--lm-line);
	border-radius: 999px;
	overflow: hidden;
	background: var(--lm-surface);
}

.woocommerce-cart .quantity a.minus,
.woocommerce-cart .quantity a.plus,
.woocommerce-cart .quantity input.qty,
.woocommerce-cart .quantity input[type="number"] {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.woocommerce-cart .quantity a.minus,
.woocommerce-cart .quantity a.plus {
	display: grid;
	place-items: center;
	width: 34px;
	height: 100%;
	color: var(--lm-muted);
	text-decoration: none;
	font-size: 1rem;
	line-height: 1;
}

.woocommerce-cart .quantity a.minus:hover,
.woocommerce-cart .quantity a.plus:hover {
	background: var(--lm-blush) !important;
	color: var(--lm-pink);
}

.woocommerce-cart .quantity input.qty,
.woocommerce-cart .quantity input[type="number"] {
	width: 40px;
	min-height: 0;
	padding: 0;
	text-align: center;
	-moz-appearance: textfield;
}

.woocommerce-cart .quantity input[type="number"]::-webkit-outer-spin-button,
.woocommerce-cart .quantity input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* 6d. Totals panel. The table is made a block stack: left as a table, the
   cells kept their column widths and the shipping cell computed to 133px
   inside a 380px panel. */

.woocommerce-cart .cart-collaterals .cart_totals {
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	background: var(--lm-surface);
	padding: 1.35rem 1.4rem;
	box-shadow: var(--lm-shadow);
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
	margin: 0 0 1rem;
	padding: 0;
	background: transparent;
	font-size: 1.1rem;
}

.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table tbody {
	display: block;
	width: 100%;
	border: 0;
}

/* Dividers sit on the row, not the cells, so they span the full panel */
.woocommerce-cart .cart_totals table.shop_table tr {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	width: 100%;
	border-bottom: 1px solid var(--lm-line);
}

.woocommerce-cart .cart_totals table.shop_table tr > th,
.woocommerce-cart .cart_totals table.shop_table tr > td {
	display: block;
	width: auto;
	padding: .75rem 0;
	border: 0 !important;
	background: transparent;
}

.woocommerce-cart .cart_totals table.shop_table tr > td { text-align: right; }

.woocommerce-cart .cart_totals table.shop_table tr.order-total,
.woocommerce-cart .cart_totals table.shop_table tr:last-child {
	border-bottom: 0;
}

.woocommerce-cart .cart_totals tr.order-total > th,
.woocommerce-cart .cart_totals tr.order-total > td {
	font-size: 1.05rem;
}

/* Shipping row stacks: heading on its own line, options full width */
.woocommerce-cart .cart_totals tr.shipping,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals {
	display: block !important;
	width: 100%;
	border-bottom: 1px solid var(--lm-line);
	padding-bottom: .25rem;
}

.woocommerce-cart .cart_totals tr.shipping > th,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th,
.woocommerce-cart .cart_totals tr.shipping > td,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	text-align: left !important;
}

.woocommerce-cart .cart_totals tr.shipping > th,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th {
	padding: .75rem 0 .5rem;
}

.woocommerce-cart .cart_totals tr.shipping > td,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td {
	padding: 0 0 .75rem;
}

.woocommerce-cart .cart_totals ul#shipping_method {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* WooCommerce sets margin, padding and a hanging text-indent through
   `ul#shipping_method li:not(...)`, which outranks a plain class rule. That
   indent dragged each label's first line back under its radio. */
.woocommerce-cart .cart_totals ul#shipping_method li {
	display: flex !important;
	width: 100% !important;
	align-items: center;
	gap: .65rem;
	margin: 0 0 .5rem !important;
	padding: .8rem .95rem !important;
	text-indent: 0 !important;
	border: 1px solid var(--lm-line);
	border-radius: 8px;
	background: var(--lm-surface);
	box-sizing: border-box;
	transition: border-color .18s ease, background-color .18s ease;
}

.woocommerce-cart .cart_totals ul#shipping_method li:last-child {
	margin-bottom: 0 !important;
}

.woocommerce-cart .cart_totals ul#shipping_method li input[type="radio"] {
	flex: 0 0 auto;
	margin: 0;
}

.woocommerce-cart .cart_totals ul#shipping_method li label {
	flex: 1 1 auto;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: none !important;
	font-size: .92rem;
	line-height: 1.35;
	text-indent: 0 !important;
	text-align: left !important;
	cursor: pointer;
}

.woocommerce-cart .cart_totals ul#shipping_method li:has(input:checked) {
	border-color: var(--lm-pink);
	background: var(--lm-blush);
}

.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .woocommerce-shipping-calculator {
	display: block;
	width: 100%;
	text-align: left;
}

.woocommerce-cart .woocommerce-shipping-destination {
	margin: .85rem 0 .35rem;
	font-size: .85rem;
	line-height: 1.5;
	color: var(--lm-muted);
}

/* Checkout button inherits the theme's global button styling */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: block;
	width: 100%;
	text-align: center;
}

/* 6e. Cart on mobile: labels down the left, values down the right, using
   Astra's responsive table rather than fighting it. */

@media (max-width: 768px) {

	.woocommerce-cart .ast-cart-non-sticky,
	.woocommerce-cart .cart-collaterals,
	.woocommerce-cart .cart-collaterals .cart_totals {
		width: 100%;
		float: none;
		margin-left: 0;
	}

	.woocommerce-cart .woocommerce-cart-form table.shop_table,
	.woocommerce-cart .woocommerce-cart-form table.shop_table tbody,
	.woocommerce-cart .woocommerce-cart-form table.shop_table tr {
		display: block;
		width: 100%;
	}

	.woocommerce-cart .woocommerce-cart-form table.shop_table {
		border: 0;
		background: transparent;
	}

	.woocommerce-cart .woocommerce-cart-form table.shop_table thead { display: none; }

	.woocommerce-cart .woocommerce-cart-form tr.cart_item {
		position: relative;
		padding: 1rem 1.1rem;
		margin: 0 0 .85rem;
		border: 1px solid var(--lm-line);
		border-radius: var(--lm-radius);
		background: var(--lm-surface);
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		width: 100%;
		padding: .6rem 0 !important;
		margin: 0;
		border: 0;
		border-bottom: 1px solid var(--lm-line);
		text-align: right;
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td:last-child {
		border-bottom: 0;
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td::before {
		content: attr(data-title);
		flex: 0 0 auto;
		font-size: .75rem;
		font-weight: 500;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--lm-muted);
		text-align: left;
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-thumbnail {
		justify-content: flex-start;
		border-bottom: 0;
		padding-bottom: .25rem !important;
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-thumbnail::before {
		content: none;
	}

	.woocommerce-cart td.product-thumbnail img { width: 64px; height: 64px; }

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-name,
	.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-name a {
		text-align: right;
		line-height: 1.3;
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove {
		position: absolute;
		top: .65rem;
		right: .65rem;
		width: auto;
		padding: 0 !important;
		border: 0;
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove::before {
		content: none;
	}

	.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-quantity .quantity {
		margin-left: auto;
	}

	/* The shipping row would otherwise print "Shipment" twice: once from the
	   row heading and once from the responsive-table data-title. */
	.woocommerce-cart .cart_totals table.shop_table td::before {
		content: none !important;
	}
}


/* ==========================================================================
   7. CHECKOUT (Astra modern layout)
   Targeted corrections only. Astra's layout does most of the work.
   ========================================================================== */

/* 7a. Review order table as a block stack, so the shipping row can be full
   width. Left as a table, a block row collapses to zero. */

.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot {
	display: block !important;
	width: 100% !important;
}

/* The header reads "Product | Subtotal", which duplicates the Subtotal row
   beneath it and labels the line total as a subtotal. */
.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
	display: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:not(.woocommerce-shipping-totals) {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	width: 100% !important;
}

/* Dividers on the row, not the cells, so they span the panel */
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	display: block !important;
	width: auto !important;
	border-bottom: 0 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	text-align: right;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr {
	border-bottom: 1px solid var(--lm-line);
	padding: .85rem .25rem;
	box-sizing: border-box;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child {
	border-bottom: 0;
}

/* Product name and quantity on one line */
.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name {
	display: flex !important;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	text-align: left;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name .product-quantity {
	display: inline !important;
	margin: 0 !important;
	white-space: nowrap;
}

/* 7b. Shipment row: heading on its own line, options full width */

.woocommerce-checkout .woocommerce-shipping-totals.shipping {
	display: block !important;
	width: 100%;
	padding-bottom: .85rem;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping > th,
.woocommerce-checkout .woocommerce-shipping-totals.shipping > td {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
	padding-left: .25rem !important;
	padding-right: .25rem !important;
	box-sizing: border-box;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping > th {
	padding-bottom: .6rem !important;
}

/* 7c. Shipping options as selectable cards. WooCommerce's hanging indent
   (text-indent: -22px) applies here too: the cart fix was scoped to
   .woocommerce-cart so it never reached this page. */

.woocommerce-checkout #shipping_method {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	box-sizing: border-box;
}

.woocommerce-checkout #shipping_method li {
	display: flex !important;
	align-items: center;
	gap: .6rem;
	margin: 0 0 .4rem !important;
	padding: .65rem .8rem !important;
	text-indent: 0 !important;
	border: 1px solid var(--lm-line) !important;
	border-radius: 8px !important;
	background: var(--lm-surface) !important;
	box-sizing: border-box;
	text-align: left !important;
}

.woocommerce-checkout #shipping_method li:last-child {
	margin-bottom: 0 !important;
}

.woocommerce-checkout #shipping_method li label {
	flex: 1 1 auto;
	margin: 0 !important;
	text-indent: 0 !important;
	text-align: left !important;
	font-size: .9rem;
	line-height: 1.35;
}

.woocommerce-checkout #shipping_method li:has(input:checked) {
	border-color: var(--lm-pink) !important;
	background: var(--lm-blush) !important;
}

/* 7d. Payment description panel: the solid pink block was louder than
   anything else on the page. */

.woocommerce-checkout ul.wc_payment_methods .payment_box {
	background: transparent !important;
	border-top: 1px solid var(--lm-line);
	color: var(--lm-muted);
	font-size: .88rem;
}

.woocommerce-checkout ul.wc_payment_methods .payment_box::before {
	display: none !important;
}

/* 7e. Place Order matches Proceed to Checkout on the cart: outlined. */

.woocommerce-checkout #place_order {
	background: transparent !important;
	border: 1px solid var(--lm-ink) !important;
	color: var(--lm-ink) !important;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.woocommerce-checkout #place_order:hover {
	background: var(--lm-ink) !important;
	color: #fff !important;
}

/* 7f. Mobile. The order summary background is set in Customizer, not here;
   this keeps the panel white in case that setting is ever changed back. */

@media (max-width: 768px) {
	.woocommerce-checkout #order_review,
	.woocommerce-checkout .woocommerce-checkout-review-order {
		background: var(--lm-surface) !important;
	}
}


/* ==========================================================================
   8. THANK YOU PAGE - order overview panel
   Fixed two-column grid with explicit placement per item. DOM order is
   order, date, email, total, payment, but Email is displayed last, so
   nth-child counts the wrong cells. Each item is placed by its own class.
   ========================================================================== */

.woocommerce-order {
	max-width: 820px;
	margin: 0 auto;
}

.woocommerce-order .woocommerce-notice--success,
.woocommerce-order .woocommerce-thankyou-order-received {
	margin: 0 0 2rem;
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	background: var(--lm-blush);
	color: var(--lm-ink);
	font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem);
	font-weight: 400;
	text-align: center;
}

body .woocommerce-order ul.woocommerce-order-overview {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 0 !important;
	margin: 0 0 2rem !important;
	padding: 0 !important;
	list-style: none !important;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius) !important;
	background: var(--lm-surface) !important;
	overflow: hidden;
}

/* Clearfix pseudo-elements become grid items and shift everything along */
body .woocommerce-order ul.woocommerce-order-overview::before,
body .woocommerce-order ul.woocommerce-order-overview::after {
	display: none !important;
	content: none !important;
}

body .woocommerce-order ul.woocommerce-order-overview li {
	display: block !important;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 1.15rem 1.25rem !important;
	background: transparent !important;
	font-size: .72rem !important;
	letter-spacing: .1em;
	text-transform: uppercase !important;
	color: var(--lm-muted) !important;
	box-sizing: border-box;
	border: 0 !important;
}

body .woocommerce-order ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: .45rem;
	font-size: .95rem !important;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none !important;
	color: var(--lm-ink) !important;
	overflow-wrap: break-word;
}

/* Row 1 */
body .woocommerce-order ul.woocommerce-order-overview li.woocommerce-order-overview__order {
	grid-column: 1; grid-row: 1;
	border-right: 1px solid var(--lm-line) !important;
	border-bottom: 1px solid var(--lm-line) !important;
}

body .woocommerce-order ul.woocommerce-order-overview li.woocommerce-order-overview__date {
	grid-column: 2; grid-row: 1;
	border-bottom: 1px solid var(--lm-line) !important;
}

/* Row 2 */
body .woocommerce-order ul.woocommerce-order-overview li.woocommerce-order-overview__total {
	grid-column: 1; grid-row: 2;
	border-right: 1px solid var(--lm-line) !important;
	border-bottom: 1px solid var(--lm-line) !important;
}

body .woocommerce-order ul.woocommerce-order-overview li.woocommerce-order-overview__payment-method {
	grid-column: 2; grid-row: 2;
	border-bottom: 1px solid var(--lm-line) !important;
}

/* Row 3, full width, closes the panel */
body .woocommerce-order ul.woocommerce-order-overview li.woocommerce-order-overview__email {
	grid-column: 1 / -1; grid-row: 3;
}

.woocommerce-order h2,
.woocommerce-order h3 {
	margin: 2rem 0 1rem;
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--lm-ink);
}

@media (max-width: 768px) {
	.woocommerce-order .woocommerce-notice--success,
	.woocommerce-order .woocommerce-thankyou-order-received {
		padding: 1.4rem 1.1rem;
	}
}


/* ==========================================================================
   9. WISHLIST (YITH WooCommerce Wishlist)

   YITH ships `border-radius: 0 !important` on
   `.woocommerce table.wishlist_table .button`, so button rules need
   !important of their own. The Update and "Add all to cart" controls are
   bare <input> elements with no class, inside .yith_wcwl_wishlist_footer.
   ========================================================================== */

.woocommerce table.wishlist_table,
.woocommerce-js table.wishlist_table,
table.wishlist_table.shop_table {
	width: 100%;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	overflow: hidden;
	background: var(--lm-surface);
}

.wishlist_table.shop_table thead,
.wishlist_table.shop_table thead tr,
.wishlist_table.shop_table thead th {
	background: transparent !important;
	background-color: transparent !important;
}

.wishlist_table.shop_table thead th {
	padding: .95rem 1rem;
	border-bottom: 1px solid var(--lm-line);
	border-right: 0;
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lm-muted);
	text-align: left;
}

.wishlist_table.shop_table tbody td {
	padding: 1.15rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--lm-line);
	vertical-align: middle;
}

.wishlist_table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

.wishlist_table td.product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--lm-line);
}

.wishlist_table td.product-name a {
	color: var(--lm-ink);
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.35;
}

.wishlist_table td.product-name a:hover { color: var(--lm-pink); }

.wishlist_table td.product-price { color: var(--lm-muted); }
.wishlist_table td.product-price del { opacity: .6; margin-right: .35rem; }
.wishlist_table td.product-price ins { text-decoration: none; color: var(--lm-ink); }

.wishlist_table td.product-stock-status .wishlist-in-stock { color: #2e7d53; }
.wishlist_table td.product-stock-status .wishlist-out-of-stock { color: var(--lm-muted); }

/* The Arrange column is empty and was taking 176px */
.wishlist_table th.product-arrange,
.wishlist_table td.product-arrange {
	display: none !important;
}

/* Add to cart, square to match the rest of the site */
.woocommerce table.wishlist_table td.product-add-to-cart a.button,
.woocommerce-js table.wishlist_table td.product-add-to-cart a.button,
table.wishlist_table td.product-add-to-cart a.button {
	border-radius: 0 !important;
	padding: .6rem 1.35rem !important;
	border: 1px solid var(--lm-ink) !important;
	background: transparent !important;
	color: var(--lm-ink) !important;
	font-size: .78rem !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}

.woocommerce table.wishlist_table td.product-add-to-cart a.button:hover,
table.wishlist_table td.product-add-to-cart a.button:hover {
	background: var(--lm-ink) !important;
	color: #fff !important;
}

/* Footer controls */
.yith_wcwl_wishlist_footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: .75rem;
	margin-top: 1.25rem;
}

.yith_wcwl_wishlist_footer > div { margin: 0 !important; }

.yith_wcwl_wishlist_footer input[type="submit"],
.yith_wcwl_wishlist_footer input[type="button"],
.yith_wcwl_wishlist_update input,
.yith_wcwl_footer_additional_action input {
	border-radius: 0 !important;
	padding: .65rem 1.5rem !important;
	border: 1px solid var(--lm-ink) !important;
	background: transparent !important;
	color: var(--lm-ink) !important;
	font-size: .78rem !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease;
}

.yith_wcwl_wishlist_footer input[type="submit"]:hover,
.yith_wcwl_wishlist_footer input[type="button"]:hover,
.yith_wcwl_wishlist_update input:hover,
.yith_wcwl_footer_additional_action input:hover {
	background: var(--lm-ink) !important;
	color: #fff !important;
}

@media (min-width: 769px) {
	.wishlist_table th.product-thumbnail,
	.wishlist_table td.product-thumbnail { width: 102px; }

	.wishlist_table th.product-name,
	.wishlist_table td.product-name { width: 40%; }

	.wishlist_table th.product-price,
	.wishlist_table td.product-price { width: 18%; }

	.wishlist_table th.product-stock-status,
	.wishlist_table td.product-stock-status { width: 18%; }

	.wishlist_table th.product-add-to-cart,
	.wishlist_table td.product-add-to-cart { width: 1%; white-space: nowrap; text-align: right; }
}

/* Wishlist on mobile: stacked cards. These cells carry no data-title, so
   the labels are written per column class. */
@media (max-width: 768px) {

	.woocommerce table.wishlist_table,
	.woocommerce-js table.wishlist_table,
	table.wishlist_table.shop_table {
		display: block;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent;
		overflow: visible;
	}

	.wishlist_table.shop_table tbody,
	.wishlist_table.shop_table tr {
		display: block;
		width: 100%;
	}

	.wishlist_table.shop_table thead { display: none; }

	.wishlist_table.shop_table tbody tr {
		position: relative;
		padding: 1rem 1.1rem;
		margin: 0 0 .85rem;
		border: 1px solid var(--lm-line);
		border-radius: var(--lm-radius);
		background: var(--lm-surface);
	}

	.wishlist_table.shop_table tbody td {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		width: 100%;
		padding: .6rem 0 !important;
		border: 0;
		border-bottom: 1px solid var(--lm-line);
		text-align: right;
	}

	.wishlist_table.shop_table tbody td:last-child { border-bottom: 0; }

	.wishlist_table.shop_table tbody td::before {
		flex: 0 0 auto;
		font-size: .75rem;
		font-weight: 500;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--lm-muted);
		text-align: left;
	}

	.wishlist_table.shop_table tbody td.product-name::before         { content: "Product"; }
	.wishlist_table.shop_table tbody td.product-price::before        { content: "Price"; }
	.wishlist_table.shop_table tbody td.product-stock-status::before { content: "Stock"; }

	.wishlist_table.shop_table tbody td.product-thumbnail {
		justify-content: flex-start;
		border-bottom: 0;
		padding-bottom: .25rem !important;
		width: 100%;
	}

	.wishlist_table td.product-thumbnail img { width: 64px; height: 64px; }

	.wishlist_table.shop_table tbody td.product-add-to-cart {
		justify-content: stretch;
		padding-top: .85rem !important;
	}

	.wishlist_table.shop_table tbody td.product-add-to-cart a.button {
		display: block;
		width: 100%;
		text-align: center;
	}

	.yith_wcwl_wishlist_footer {
		flex-direction: column;
		align-items: stretch;
	}

	.yith_wcwl_wishlist_footer > div { width: 100%; }

	.yith_wcwl_wishlist_footer input[type="submit"],
	.yith_wcwl_wishlist_footer input[type="button"],
	.yith_wcwl_wishlist_update input,
	.yith_wcwl_footer_additional_action input {
		width: 100%;
	}
}


/* ==========================================================================
   10. AFFILIATE DASHBOARD (YITH WooCommerce Affiliates)
   ========================================================================== */

/* 10a. Tabs. Styling sits on the list item so the background and the label
   are always on the same element, whatever YITH renders inside. */

.yith-wcaf .yith-wcaf-dashboard-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: .15rem 1.25rem;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
	overflow: visible;
	border-bottom: 1px solid var(--lm-line);
}

.yith-wcaf .yith-wcaf-dashboard-navigation > li {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border-bottom: 2px solid transparent;
	transition: border-color .18s ease;
}

.yith-wcaf .yith-wcaf-dashboard-navigation > li > * {
	display: block;
	padding: .6rem 0;
	font-size: .92rem;
	white-space: nowrap;
	color: var(--lm-muted);
	text-decoration: none;
	background: none;
	transition: color .18s ease;
}

.yith-wcaf .yith-wcaf-dashboard-navigation > li:hover { border-bottom-color: var(--lm-line); }
.yith-wcaf .yith-wcaf-dashboard-navigation > li:hover > * { color: var(--lm-pink); }

.yith-wcaf .yith-wcaf-dashboard-navigation > li.is-active { border-bottom-color: var(--lm-pink); }

.yith-wcaf .yith-wcaf-dashboard-navigation > li.is-active > * {
	color: var(--lm-pink);
	font-weight: 500;
}

.yith-wcaf .yith-wcaf-dashboard-navigation > li > *:empty { display: none; }

/* The child theme's style.css contains, under @media (max-width: 921px):
       .yith-wcaf .yith-wcaf-dashboard-navigation {
           overflow-x: auto; flex-wrap: nowrap;
       }
   Same selector inside a media query, so it wins on mobile and brings back
   the sideways scrolling. Overridden here. Better still: delete it there. */
@media (max-width: 921px) {
	.yith-wcaf .yith-wcaf-dashboard-navigation {
		overflow-x: visible !important;
		flex-wrap: wrap !important;
	}
}

/* 10b. Stat cards */

.yith-wcaf .affiliate-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.yith-wcaf .affiliate-stats .stat-box {
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	background: var(--lm-surface);
	overflow: hidden;
}

.yith-wcaf .affiliate-stats .stat-item {
	padding: 1rem 1.15rem;
	text-align: center;
	border-bottom: 1px solid var(--lm-line);
}

.yith-wcaf .affiliate-stats .stat-item:last-child { border-bottom: 0; }

.yith-wcaf .affiliate-stats .stat-label {
	display: block;
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--lm-muted);
}

.yith-wcaf .affiliate-stats .stat-value {
	display: block;
	margin-top: .3rem;
	font-size: 1.15rem;
	color: var(--lm-ink);
}

.yith-wcaf .affiliate-stats .stat-item.large .stat-value {
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
	line-height: 1.1;
}

/* 10c. Tables. One border, not three: the stacked look came from the
   table's own border, left/right borders on every td, and a border on each
   row all at once. */

.yith-wcaf table.yith-wcaf-table,
.yith-wcaf table.shop_table {
	width: 100%;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	padding: .5rem !important;
	overflow: hidden;
	background: var(--lm-surface);
}

.yith-wcaf table.yith-wcaf-table tbody td,
.yith-wcaf table.shop_table tbody td {
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	border-bottom: 1px solid var(--lm-line) !important;
	padding: 1rem 1.15rem !important;
	background: transparent !important;
}

.yith-wcaf table.yith-wcaf-table tbody tr:last-child td,
.yith-wcaf table.shop_table tbody tr:last-child td {
	border-bottom: 0 !important;
}

@media (min-width: 769px) {
	.yith-wcaf table.yith-wcaf-table tbody tr,
	.yith-wcaf table.shop_table tbody tr {
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
	}
}

/* Column titles: outlined band rather than a pink fill. The radius goes on
   the first and last cells so it reads as one rounded strip. */

.yith-wcaf table.yith-wcaf-table thead,
.yith-wcaf table.shop_table thead {
	background: transparent !important;
}

.yith-wcaf table.yith-wcaf-table thead th,
.yith-wcaf table.shop_table thead th {
	padding: .7rem 1.15rem !important;
	background: transparent !important;
	border-top: 1px solid var(--lm-blush) !important;
	border-bottom: 1px solid var(--lm-blush) !important;
	border-left: 0 !important;
	border-right: 0 !important;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lm-pink);
	text-align: left;
}

.yith-wcaf table.yith-wcaf-table thead th:first-child,
.yith-wcaf table.shop_table thead th:first-child {
	border-left: 1px solid var(--lm-blush) !important;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.yith-wcaf table.yith-wcaf-table thead th:last-child,
.yith-wcaf table.shop_table thead th:last-child {
	border-right: 1px solid var(--lm-blush) !important;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

/* 10d. Settings. The toggle rows are p.form.form-row.toggle-right, which
   positions the switch over the label text rather than beside it. */

.yith-wcaf .affiliate-settings-box,
.yith-wcaf-dashboard-settings .affiliate-settings-box {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.yith-wcaf .settings-box,
.yith-wcaf-dashboard-settings .settings-box {
	margin: 0 !important;
	padding: 1.35rem 1.5rem !important;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius) !important;
	background: var(--lm-surface);
	box-sizing: border-box;
	overflow: visible !important;
}

.yith-wcaf .settings-box > h3,
.yith-wcaf .settings-box > h4 {
	margin: 0 0 1rem !important;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--lm-ink);
}

.yith-wcaf .settings-box p.form-row.toggle-right,
.yith-wcaf .settings-box p.form.form-row.toggle-right {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
}

.yith-wcaf .settings-box p.form-row.toggle-right > label,
.yith-wcaf .settings-box p.form.form-row.toggle-right > label {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	line-height: 1.45;
	color: var(--lm-ink);
}

.yith-wcaf .settings-box p.form-row.toggle-right .onoffswitch,
.yith-wcaf .settings-box p.form-row.toggle-right .yith-wcaf-toggle,
.yith-wcaf .settings-box p.form-row.toggle-right input[type="checkbox"],
.yith-wcaf .settings-box p.form.form-row.toggle-right .onoffswitch,
.yith-wcaf .settings-box p.form.form-row.toggle-right input[type="checkbox"] {
	flex: 0 0 auto;
	position: static !important;
	margin: .15rem 0 0 !important;
	transform: none !important;
}

.yith-wcaf .settings-box p.form-row {
	margin: 0 0 .25rem;
}

.yith-wcaf .settings-box p.form-row input[type="text"],
.yith-wcaf .settings-box p.form-row input[type="email"] {
	width: 100%;
	box-sizing: border-box;
}

.yith-wcaf,
.yith-wcaf .yith-wcaf-section,
.yith-wcaf-dashboard-settings {
	max-width: 100%;
	box-sizing: border-box;
}

/* 10e. Mobile. Tables become stacked cards. These, not the tab row, were
   what dragged the page sideways: they measured 384px in a 360px viewport. */

@media (max-width: 768px) {

	.yith-wcaf .affiliate-stats { grid-template-columns: 1fr; }

	.yith-wcaf,
	.yith-wcaf .yith-wcaf-section { max-width: 100%; overflow-x: hidden; }

	.yith-wcaf table.yith-wcaf-table,
	.yith-wcaf table.shop_table {
		border: 0 !important;
		border-radius: 0 !important;
		padding: 0 !important;
		background: transparent !important;
	}

	.yith-wcaf table.yith-wcaf-table,
	.yith-wcaf table.yith-wcaf-table thead,
	.yith-wcaf table.yith-wcaf-table tbody,
	.yith-wcaf table.yith-wcaf-table tr,
	.yith-wcaf table.yith-wcaf-table td {
		display: block;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.yith-wcaf table.yith-wcaf-table thead { display: none; }

	.yith-wcaf table.yith-wcaf-table tr {
		margin-bottom: .75rem;
		padding: .25rem .9rem;
		border: 1px solid var(--lm-line);
		border-radius: var(--lm-radius);
		background: var(--lm-surface);
	}

	.yith-wcaf table.yith-wcaf-table td {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 1rem;
		padding: .6rem 0;
		border-bottom: 1px solid var(--lm-line);
		text-align: right;
		overflow-wrap: anywhere;
	}

	.yith-wcaf table.yith-wcaf-table td:last-child { border-bottom: 0; }

	.yith-wcaf table.yith-wcaf-table td::before {
		content: attr(data-title);
		flex: 0 0 auto;
		font-size: .78rem;
		letter-spacing: .06em;
		text-transform: uppercase;
		color: var(--lm-muted);
		text-align: left;
	}

	/* Empty tables have no data rows to carry the card, so the empty row
	   becomes the card instead. tr.empty-table > td has no data-title. */
	.yith-wcaf table.yith-wcaf-table tr.empty-table,
	.yith-wcaf table.shop_table tr.empty-table {
		display: block !important;
		margin: 0 !important;
		padding: 1.75rem 1.1rem !important;
		border: 1px solid var(--lm-line) !important;
		border-radius: var(--lm-radius) !important;
		background: var(--lm-surface) !important;
	}

	.yith-wcaf table.yith-wcaf-table tr.empty-table td,
	.yith-wcaf table.shop_table tr.empty-table td {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		border: 0 !important;
		text-align: center !important;
		color: var(--lm-muted);
	}

	.yith-wcaf table.yith-wcaf-table tr.empty-table td::before,
	.yith-wcaf table.shop_table tr.empty-table td::before {
		content: none !important;
		display: none !important;
	}

	.yith-wcaf .settings-box,
	.yith-wcaf-dashboard-settings .settings-box {
		padding: 1.15rem 1.2rem !important;
	}

	.yith-wcaf .settings-box p.form-row.toggle-right,
	.yith-wcaf .settings-box p.form.form-row.toggle-right {
		gap: 1rem;
	}
}



/* ==========================================================================
   11. STICKY HEADER - crisp 1px rule, no shadow
   When the header sticks, Astra adds
       box-shadow: rgba(0,0,0,.2) 0 1px 2px 0
   to .ast-primary-header-bar. Sitting under the existing 1px border it
   reads as a blurry double edge. The currency switcher dropdown keeps its
   own shadow, which is a real dropdown and should have one.
   ========================================================================== */

.ast-primary-header-bar,
.main-header-bar,
#ast-fixed-header,
#ast-fixed-header .ast-primary-header-bar,
#ast-fixed-header .main-header-bar,
.ast-header-sticked,
.ast-header-sticked .ast-primary-header-bar,
.ast-header-sticked .main-header-bar,
.ast-sticky-shrunk .ast-primary-header-bar,
.ast-sticky-shrunk .main-header-bar,
.ast-main-header-wrap {
	box-shadow: none !important;
}

/* One clean rule under the header, matching the card borders elsewhere */
.ast-primary-header-bar,
#ast-fixed-header .ast-primary-header-bar,
.ast-header-sticked .ast-primary-header-bar {
	border-bottom: 1px solid var(--lm-line) !important;
}



/* ==========================================================================
   12. CHECKOUT - Stripe payment block, radios, terms, line items
   Selectors taken from the live DOM, not assumed.
   ========================================================================== */

/* 12.1 Payment method rows: radio on the same baseline as its label.
   The radio is a SIBLING of the label, not inside it, so the flex has to
   go on the li. Astra ships the li as display:inline-table, which is what
   threw the alignment out. */
.woocommerce-checkout-payment li.wc_payment_method {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
}

.woocommerce-checkout-payment li.wc_payment_method > input.input-radio {
	margin: 0 10px 0 0 !important;
	flex: none;
}

.woocommerce-checkout-payment li.wc_payment_method > label {
	display: inline-block !important;
	margin: 0 !important;
	flex: 1 1 auto;
}

/* The expanded payment panel drops to its own full-width row below */
.woocommerce-checkout-payment li.wc_payment_method > .payment_box {
	flex: 0 0 100%;
}

/* 12.2 Drop the redundant box inside the payment panel.
   ul.wc_payment_methods already draws the outer border, so the
   fieldset border inside it reads as a doubled edge. Field borders
   are untouched. */
.payment_box fieldset.wc-upe-form {
	border: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* 12.3 Terms checkbox on the same line as its sentence.
   Astra renders the checkbox as display:block with a -2px top margin,
   which is what tips it out of line. */
.woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px;
}

.woocommerce-terms-and-conditions-wrapper
	label.woocommerce-form__label-for-checkbox
	input[type="checkbox"] {
	margin: 0.45em 0 0 0 !important;
	flex: none;
}

/* 12.4 Order summary: move "× 1" from under the thumbnail to after the title.
   Astra wraps thumbnail + name in .ast-product-image, which makes the
   quantity a sibling of that whole block, so it wraps to a new line.
   display:contents promotes thumbnail and name to flex items of the cell,
   putting the quantity next in line after the title. */
.woocommerce-checkout-review-order-table td.product-name .ast-product-image {
	display: contents !important;
}

/* ==========================================================================
   13. OFF-CANVAS CART - stop the title running under the remove button
   ========================================================================== */

/* The remove button is absolutely positioned at right:0 and the item has
   no right padding, so long titles run underneath it. Padding on the li
   is what reflows the text; padding on the title link gets overridden. */
.astra-cart-drawer li.woocommerce-mini-cart-item {
	padding-right: 28px !important;
}



/* 12.5 "Deliver to a different address?" checkbox.
   Same pattern as the terms checkbox: Astra renders the input as
   display:block with a negative top margin, which tips it out of line. */
#ship-to-different-address label.woocommerce-form__label-for-checkbox {
	display: flex !important;
	align-items: center !important;
	gap: 10px;
	margin: 0 !important;
}

#ship-to-different-address
	label.woocommerce-form__label-for-checkbox
	input[type="checkbox"] {
	margin: 0 !important;
	flex: none;
}

#ship-to-different-address {
	margin-bottom: 1.25em;
}


/* ==========================================================================
   14. SHARED - button and table card patterns
   Tokens only. Any new table or button joins one of these two lists
   rather than getting its own rule.
   ========================================================================== */

/* 14.1 Outlined button, matches Proceed to Checkout and Place Order */
body a.add_to_cart_button.add_to_cart_button.yith-wcwl-themed-button-style.button.alt,
body input[type="submit"][name="add_all_to_cart"],
body input[type="submit"][name="update_wishlist"] {
	font-family: var(--lm-font-body, "Poppins", sans-serif) !important;
	font-size: 0.8rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	padding: 0.9em 1.6em !important;
	border: 1px solid var(--lm-ink) !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-image: none !important;
	color: var(--lm-ink) !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

body a.add_to_cart_button.add_to_cart_button.yith-wcwl-themed-button-style.button.alt:hover,
body input[type="submit"][name="add_all_to_cart"]:hover,
body input[type="submit"][name="update_wishlist"]:hover {
	background: var(--lm-ink) !important;
	color: var(--lm-surface) !important;
}

/* 14.2 Table card shell */
.my_account_waitlist,
.woocommerce-MyAccount-paymentMethods {
	width: 100%;
	border: 1px solid var(--lm-line) !important;
	border-radius: var(--lm-radius);
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	margin-bottom: 1.5em;
	background: var(--lm-surface);
}

/* 14.3 Quiet uppercase header, no fill */
.my_account_waitlist thead th,
.woocommerce-MyAccount-paymentMethods thead th {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid var(--lm-line) !important;
	padding: 1em 1.1em !important;
	font-family: var(--lm-font-body, "Poppins", sans-serif);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lm-muted);
	text-align: left;
	white-space: nowrap;
}

/* 14.4 Body cells, dividers on rows only */
.my_account_waitlist tbody td,
.woocommerce-MyAccount-paymentMethods tbody td {
	border: 0 !important;
	border-bottom: 1px solid var(--lm-line) !important;
	padding: 1.1em !important;
	vertical-align: middle;
	font-size: 0.9rem;
	color: var(--lm-ink);
}

.my_account_waitlist tbody tr:last-child td,
.woocommerce-MyAccount-paymentMethods tbody tr:last-child td {
	border-bottom: 0 !important;
}

/* 14.5 Actions column hugs the right */
.my_account_waitlist td.waitlist-actions,
.my_account_waitlist th.waitlist-actions,
.woocommerce-MyAccount-paymentMethods td.payment-method-actions,
.woocommerce-MyAccount-paymentMethods th.payment-method-actions {
	text-align: right;
	white-space: nowrap;
	width: 1%;
}

/* ==========================================================================
   15. WAITLIST - specifics
   ========================================================================== */

/* YITH prints its own heading above ours; ours matches the nav label */
h2.waitlist-title-section {
	display: none;
}

.my_account_waitlist td.waitlist-product {
	display: flex;
	align-items: center;
	gap: 0.9em;
}

.my_account_waitlist td.waitlist-product img {
	width: 50px;
	height: auto;
	flex: none;
	border-radius: 2px;
}

.my_account_waitlist td.waitlist-product a {
	color: var(--lm-ink);
	text-decoration: none;
}

.my_account_waitlist td.waitlist-product a:hover {
	color: var(--lm-pink);
}


.my_account_waitlist thead,
.my_account_waitlist thead tr,
.woocommerce-MyAccount-paymentMethods thead,
.woocommerce-MyAccount-paymentMethods thead tr {
	background: transparent !important;
}



/* Round the outer corners on the header and last row directly,
   since overflow:hidden doesn't clip table children. */
.my_account_waitlist thead th:first-child,
.woocommerce-MyAccount-paymentMethods thead th:first-child {
	border-top-left-radius: var(--lm-radius);
}

.my_account_waitlist thead th:last-child,
.woocommerce-MyAccount-paymentMethods thead th:last-child {
	border-top-right-radius: var(--lm-radius);
}

.my_account_waitlist tbody tr:last-child td:first-child,
.woocommerce-MyAccount-paymentMethods tbody tr:last-child td:first-child {
	border-bottom-left-radius: var(--lm-radius);
}

.my_account_waitlist tbody tr:last-child td:last-child,
.woocommerce-MyAccount-paymentMethods tbody tr:last-child td:last-child {
	border-bottom-right-radius: var(--lm-radius);
}


body table.my_account_waitlist,
body table.woocommerce-MyAccount-paymentMethods {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: var(--lm-radius) !important;
	overflow: hidden !important;
}

body table.my_account_waitlist thead th:first-child,
body table.woocommerce-MyAccount-paymentMethods thead th:first-child {
	border-top-left-radius: var(--lm-radius) !important;
}

body table.my_account_waitlist thead th:last-child,
body table.woocommerce-MyAccount-paymentMethods thead th:last-child {
	border-top-right-radius: var(--lm-radius) !important;
}

body table.my_account_waitlist tbody tr:last-child td:first-child,
body table.woocommerce-MyAccount-paymentMethods tbody tr:last-child td:first-child {
	border-bottom-left-radius: var(--lm-radius) !important;
}

body table.my_account_waitlist tbody tr:last-child td:last-child,
body table.woocommerce-MyAccount-paymentMethods tbody tr:last-child td:last-child {
	border-bottom-right-radius: var(--lm-radius) !important;
}




/* ==========================================================================
   16. SINGLE PRODUCT - breathing room above related products
   ========================================================================== */

.single-product section.related.products {
	margin-top: 150px;
}

@media (max-width: 921px) {
	.single-product section.related.products {
		margin-top: 100px;
	}
}

@media (max-width: 544px) {
	.single-product section.related.products {
		margin-top: 80px;
	}
}


/* ==========================================================================
   17. CURRENCY SWITCHER - legible on mobile
   Targets our own wrapper, so it holds whatever markup WPML renders inside.
   ========================================================================== */

@media (max-width: 921px) {
	.lilian-currency-switcher,
	.lilian-currency-switcher * {
		font-size: 0.95rem !important;
	}

	.lilian-currency-switcher img {
		width: 22px !important;
		height: auto !important;
	}

	.lilian-currency-switcher a,
	.lilian-currency-switcher select {
		padding: 0.5em 0.4em !important;
		line-height: 1.2 !important;
		min-height: 44px;
		display: inline-flex !important;
		align-items: center;
	}
}