/*
 * London Premium v55
 * Focused product-card, filter, account, mega-menu and Private List refinements.
 */

:root {
	--lp55-ink: #17130e;
	--lp55-gold: #b68a35;
	--lp55-line: rgba(23, 19, 14, 0.18);
}

/* Homepage campaign media only: fill the frame without changing catalogue cards. */
html body.home .site .lp-v18-collection .lp-product-card__media,
html body.home .site .lp-v18-collection li.product:only-child .lp-product-card__media,
html body.home .site .lp-v18-collection .woocommerce ul.products > li.product.lp-product-card:only-child .lp-product-card__media {
	aspect-ratio: 1 / 1.04 !important;
}

html body.home .site .lp-v18-collection .lp-product-card__image > img,
html body.home .site .lp-v18-collection .lp-product-card__image-secondary img,
html body.home .site .lp-v18-collection .woocommerce ul.products > li.product.lp-product-card .lp-product-card__image > img,
html body.home .site .lp-v18-collection .woocommerce ul.products > li.product.lp-product-card .lp-product-card__image-secondary img {
	object-fit: cover !important;
	object-position: center !important;
}

/* The heart path is optically right-heavy; a sub-pixel correction centres it. */
html body .site .lp-product-card__private svg,
html body .site .lp-product-card .js-wishlist-button.lp-product-card__private svg {
	transform: translateX(-0.75px) !important;
	transform-origin: center !important;
}

/* Availability reads as a quiet selector, not a stack of boxed buttons. */
html body .lp-v43-filters .lp-v43-stock-options,
html body .lp-filter-drawer .lp-v43-stock-options {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0 18px !important;
	padding-top: 12px !important;
}

html body .lp-v43-filters .lp-v43-stock-options label,
html body .lp-filter-drawer .lp-v43-stock-options label {
	min-height: 42px !important;
	padding: 0 !important;
	justify-content: flex-start !important;
	border: 0 !important;
	border-bottom: 1px solid var(--lp55-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #6c6256 !important;
	text-align: left !important;
}

html body .lp-v43-filters .lp-v43-stock-options label > span,
html body .lp-filter-drawer .lp-v43-stock-options label > span {
	width: 100% !important;
	min-height: 42px !important;
	padding: 0 !important;
	justify-content: flex-start !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	text-align: left !important;
}

html body .lp-v43-filters .lp-v43-stock-options label:has(input:checked),
html body .lp-filter-drawer .lp-v43-stock-options label:has(input:checked) {
	border-color: var(--lp55-gold) !important;
	background: transparent !important;
	box-shadow: inset 0 -2px 0 var(--lp55-gold) !important;
	color: var(--lp55-ink) !important;
}

html body .lp-v43-filters .lp-v43-stock-options input:checked + span,
html body .lp-filter-drawer .lp-v43-stock-options input:checked + span {
	border: 0 !important;
	background: transparent !important;
	color: var(--lp55-ink) !important;
}

html body .lp-v43-filters .lp-filter-actions,
html body .lp-filter-drawer .lp-filter-actions {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Keep the intentional divider above the sign-in heading and remove its duplicate. */
html body .lp-v6-auth__forms .lp-v6-auth__card {
	border-top: 0 !important;
}

/* Protect the desktop maison introduction from clipping at intermediate widths. */
@media (min-width: 1181px) {
	html body .lp-v16-mega__intro {
		overflow: visible !important;
	}

	html body .lp-v16-mega__intro p {
		width: min(100%, 660px) !important;
		max-width: 660px !important;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: clip !important;
		overflow-wrap: anywhere !important;
	}
}

/* One clean separator between the saved product and the Private List summary. */
html body .lp-wishlist .lp-v43-wishlist-list {
	border: 0 !important;
	box-shadow: none !important;
}

html body .lp-wishlist .lp-v43-wishlist-item {
	border: 0 !important;
	border-bottom: 1px solid var(--lp55-line) !important;
}

html body .lp-wishlist .lp-v43-wishlist-item__actions {
	border: 0 !important;
}

html body .lp-wishlist .lp-v43-wishlist-item::before,
html body .lp-wishlist .lp-v43-wishlist-item::after,
html body .lp-wishlist .lp-v44-wishlist-footer::before,
html body .lp-wishlist .lp-v44-wishlist-footer::after {
	content: none !important;
	display: none !important;
}

html body .lp-wishlist .lp-v44-wishlist-footer {
	border-top: 0 !important;
}

@media (max-width: 760px) {
	html body.home .site .lp-v18-collection .lp-product-card__media,
	html body.home .site .lp-v18-collection li.product:only-child .lp-product-card__media,
	html body.home .site .lp-v18-collection .woocommerce ul.products > li.product.lp-product-card:only-child .lp-product-card__media {
		aspect-ratio: 1 / 1 !important;
	}

	html body .lp-v43-filters .lp-v43-stock-options,
	html body .lp-filter-drawer .lp-v43-stock-options {
		gap: 0 14px !important;
	}
}
