/*
 * London Premium v77: side bag, archive cards and cinematic media polish.
 */

:root {
	--lp77-black: #070604;
	--lp77-ink: #11100d;
	--lp77-paper: #f4efe6;
	--lp77-cream: #fbf8f0;
	--lp77-gold: #d1ad59;
	--lp77-line: rgba(17, 16, 13, 0.16);
}

body .lp-drawer.js-cart-drawer .lp-mini-cart {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	padding: clamp(26px, 3vw, 34px) clamp(24px, 3vw, 38px) 0 !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__item {
	display: grid !important;
	grid-template-columns: clamp(112px, 13vw, 136px) minmax(0, 1fr) !important;
	gap: clamp(18px, 2.5vw, 26px) !important;
	align-items: start !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 0 clamp(22px, 2.7vw, 28px) !important;
	border-bottom: 1px solid var(--lp77-line) !important;
	background: transparent !important;
	box-shadow: none !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__item + .lp-mini-cart__item {
	margin-top: clamp(18px, 2.4vw, 26px) !important;
	padding-top: clamp(18px, 2.4vw, 26px) !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__image {
	display: grid !important;
	place-items: center !important;
	width: clamp(112px, 13vw, 136px) !important;
	height: clamp(112px, 13vw, 136px) !important;
	min-width: clamp(112px, 13vw, 136px) !important;
	aspect-ratio: 1 / 1 !important;
	padding: 10px !important;
	border: 1px solid rgba(17, 16, 13, 0.08) !important;
	background: linear-gradient(145deg, #ece2d2, #fbf7ef) !important;
	overflow: hidden !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__image img,
body .lp-drawer.js-cart-drawer .lp-mini-cart__image img.lp-mini-cart__product-image {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: auto !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	mix-blend-mode: normal !important;
	transform: none !important;
	background: transparent !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__content {
	min-width: 0 !important;
	padding: 0 !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__eyebrow {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-bottom: 10px !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__title {
	display: block !important;
	max-width: 100% !important;
	margin: 0 0 10px !important;
	font-size: clamp(28px, 3vw, 36px) !important;
	line-height: 1.03 !important;
	letter-spacing: -0.035em !important;
	overflow-wrap: anywhere !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__price {
	margin: 0 0 12px !important;
	font-weight: 800 !important;
	color: var(--lp77-ink) !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__controls {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 10px 14px !important;
	margin: 12px 0 0 !important;
	padding-top: 12px !important;
	border-top: 1px solid var(--lp77-line) !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__remove {
	margin-left: auto !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__footer {
	padding: 24px clamp(24px, 3vw, 38px) 38px !important;
	background: var(--lp77-paper) !important;
}

body .lp-drawer.js-cart-drawer .lp-mini-cart__actions {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	gap: 16px !important;
}

body .lp-v62-purchase-terms__box {
	position: relative !important;
	flex: 0 0 34px !important;
	width: 34px !important;
	height: 34px !important;
	border: 1.5px solid rgba(209, 173, 89, 0.78) !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: inset 0 0 0 1px rgba(255, 250, 242, 0.1) !important;
	overflow: hidden !important;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

body .lp-v62-purchase-terms__box::after {
	content: "" !important;
	position: absolute !important;
	left: 50% !important;
	top: 46% !important;
	width: 8px !important;
	height: 14px !important;
	border: solid var(--lp77-black) !important;
	border-width: 0 2px 2px 0 !important;
	opacity: 0 !important;
	transform: translate(-50%, -55%) rotate(42deg) scale(0.7) !important;
	transition: opacity 160ms ease, transform 180ms ease !important;
}

body .lp-v62-purchase-terms__label input:checked + .lp-v62-purchase-terms__box {
	border-color: var(--lp77-gold) !important;
	background: var(--lp77-gold) !important;
	box-shadow: 0 0 0 4px rgba(209, 173, 89, 0.16), inset 0 0 0 1px rgba(255, 250, 242, 0.26) !important;
	transform: scale(1.02) !important;
}

body .lp-v62-purchase-terms__label input:checked + .lp-v62-purchase-terms__box::after {
	opacity: 1 !important;
	transform: translate(-50%, -55%) rotate(42deg) scale(1) !important;
}

body.woocommerce-checkout .wc-block-components-checkbox {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
}

body.woocommerce-checkout .wc-block-components-checkbox__input {
	position: absolute !important;
	width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	opacity: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkbox__mark {
	display: block !important;
	flex: 0 0 34px !important;
	width: 34px !important;
	height: 34px !important;
	border: 1.5px solid rgba(209, 173, 89, 0.78) !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: inset 0 0 0 1px rgba(255, 250, 242, 0.1) !important;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

body.woocommerce-checkout .wc-block-components-checkbox__mark path,
body.woocommerce-checkout .wc-block-components-checkbox__mark polyline {
	display: none !important;
}

body.woocommerce-checkout .wc-block-components-checkbox::after {
	content: "" !important;
	position: absolute !important;
	left: 17px !important;
	top: 50% !important;
	width: 8px !important;
	height: 14px !important;
	border: solid var(--lp77-black) !important;
	border-width: 0 2px 2px 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transform: translate(-50%, -58%) rotate(42deg) scale(0.7) !important;
	transition: opacity 160ms ease, transform 180ms ease !important;
}

body.woocommerce-checkout .wc-block-components-checkbox:has(.wc-block-components-checkbox__input:checked) .wc-block-components-checkbox__mark {
	border-color: var(--lp77-gold) !important;
	background: var(--lp77-gold) !important;
	box-shadow: 0 0 0 4px rgba(209, 173, 89, 0.16), inset 0 0 0 1px rgba(255, 250, 242, 0.26) !important;
}

body.woocommerce-checkout .wc-block-components-checkbox:has(.wc-block-components-checkbox__input:checked)::after {
	opacity: 1 !important;
	transform: translate(-50%, -58%) rotate(42deg) scale(1) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image > div {
	display: grid !important;
	place-items: center !important;
	overflow: visible !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
}

body .lp-v18-collection ul.products,
body .lp-shop-main ul.products.lp-product-grid,
body.archive.woocommerce ul.products.lp-product-grid {
	display: grid !important;
	align-items: stretch !important;
	grid-auto-rows: 1fr !important;
}

body .lp-v18-collection ul.products > li.product.lp-product-card,
body .lp-shop-main ul.products.lp-product-grid > li.product.lp-product-card,
body.archive.woocommerce ul.products.lp-product-grid > li.product.lp-product-card {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	min-height: 0 !important;
}

body .lp-v18-collection .lp-product-card__media,
body .lp-shop-main .lp-product-card__media,
body.archive.woocommerce .lp-product-card__media {
	aspect-ratio: 1 / 1 !important;
	height: auto !important;
	min-height: 0 !important;
}

body .lp-v18-collection .lp-product-card__image,
body .lp-shop-main .lp-product-card__image,
body.archive.woocommerce .lp-product-card__image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
}

body .lp-v18-collection .lp-product-card__content,
body .lp-shop-main .lp-product-card__content,
body.archive.woocommerce .lp-product-card__content {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	min-height: clamp(166px, 12vw, 204px) !important;
}

body .lp-v18-collection .woocommerce-loop-product__title,
body .lp-shop-main .woocommerce-loop-product__title,
body.archive.woocommerce .woocommerce-loop-product__title {
	margin-bottom: 14px !important;
	overflow-wrap: anywhere !important;
}

body .lp-v18-collection .lp-product-card__price,
body .lp-shop-main .lp-product-card__price,
body.archive.woocommerce .lp-product-card__price,
body .lp-v18-collection .price,
body .lp-shop-main .price,
body.archive.woocommerce .price {
	margin-top: auto !important;
}

html body.single-product .lp-v76-video-progress,
html body.single-product .lp-v76-video-time {
	display: none !important;
}

html body.single-product .lp-v76-video-chrome {
	right: auto !important;
	width: auto !important;
	min-height: 0 !important;
	grid-template-columns: auto !important;
	gap: 0 !important;
	padding: 8px !important;
	border-radius: 999px !important;
	background: rgba(5, 4, 3, 0.72) !important;
}

html body.single-product .lp-v76-video-mini-toggle {
	width: 42px !important;
	height: 42px !important;
}

@media (max-width: 780px) {
	body .lp-drawer.js-cart-drawer .lp-mini-cart {
		padding: 20px 18px 0 !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__item {
		grid-template-columns: 96px minmax(0, 1fr) !important;
		gap: 14px !important;
		padding-bottom: 20px !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__item + .lp-mini-cart__item {
		margin-top: 18px !important;
		padding-top: 18px !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__image {
		width: 96px !important;
		height: 96px !important;
		min-width: 96px !important;
		padding: 7px !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__title {
		font-size: clamp(23px, 6vw, 29px) !important;
		line-height: 1.08 !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__eyebrow {
		align-items: flex-start !important;
		flex-direction: column !important;
		gap: 4px !important;
		margin-bottom: 8px !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__controls {
		gap: 9px 12px !important;
		margin-top: 10px !important;
		padding-top: 10px !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__remove {
		margin-left: 0 !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__footer {
		padding: 20px 18px 32px !important;
	}

	body .lp-drawer.js-cart-drawer .lp-mini-cart__actions {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	body .lp-v18-collection .lp-product-card__content,
	body .lp-shop-main .lp-product-card__content,
	body.archive.woocommerce .lp-product-card__content {
		min-height: 150px !important;
	}
}
