/* Small, scoped refinements for the 21 November 2026 maintenance batch. */

.md-retiring-notice {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 18px;
	padding: 14px 16px;
	border-left: 3px solid #c40940;
	background: #f7f2ee;
	color: #252124;
	font-size: 13px;
	line-height: 1.45;
}

.md-retiring-notice strong {
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.md-retiring-notice a {
	color: #a30832;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.footer-legal {
	max-width: 760px;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
}

.md-delivery-cost-note {
	display: grid;
	gap: 5px;
	margin: 14px 0;
	padding: 12px 14px;
	border-left: 3px solid #c40940;
	background: #f7f2ee;
	color: #665d5f;
	font-size: 12px;
	line-height: 1.5;
}

.md-delivery-cost-note strong {
	color: #171519;
	font-size: 11px;
}

.md-mobile-sticky-cart {
	display: none;
}

@media (max-width: 767px) {
	.md-footer .footer-bottom {
		display: grid;
		gap: 10px;
		justify-content: start;
	}

	body.tax-product_cat.term-sunday-car-care .md-collection-hero {
		min-height: 0;
	}

	body.tax-product_cat.term-sunday-car-care .md-collection-copy {
		padding: 20px 20px 22px;
	}

	body.tax-product_cat.term-sunday-car-care .md-collection-copy .md-overline,
	body.tax-product_cat.term-sunday-car-care .md-collection-brand {
		margin-bottom: 6px;
	}

	body.tax-product_cat.term-sunday-car-care .md-collection-copy h1 {
		margin: 0 0 8px;
		font-size: clamp(31px, 9vw, 40px);
		line-height: 1;
	}

	body.tax-product_cat.term-sunday-car-care .md-collection-intro {
		max-width: 34em;
		margin: 0 0 10px;
		font-size: 12px;
		line-height: 1.4;
	}

	body.tax-product_cat.term-sunday-car-care .md-collection-art {
		display: none;
	}

	body.tax-product_cat.term-sunday-car-care .md-collection-signature,
	body.tax-product_cat.term-sunday-car-care .md-category-discovery {
		display: none;
	}

	body.tax-product_cat.term-sunday-car-care .md-product-section-heading {
		padding-top: 16px;
		padding-bottom: 10px;
	}

	body.tax-product_cat.term-sunday-car-care .md-sibling-nav {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	body.tax-product_cat.term-sunday-car-care .md-bf2026-shop-banner,
	body.tax-product_cat.term-sunday-car-care .woocommerce-result-count,
	body.tax-product_cat.term-sunday-car-care .woocommerce-ordering {
		display: none;
	}

	.md-mobile-sticky-cart:not([hidden]) {
		position: fixed;
		z-index: 30;
		inset-inline: 0;
		bottom: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid #ded8d5;
		background: rgba(255, 255, 255, .98);
		box-shadow: 0 -8px 24px rgba(20, 16, 18, .12);
	}

	.md-mobile-sticky-cart__details {
		min-width: 0;
		display: grid;
		gap: 4px;
	}

	.md-mobile-sticky-cart__name {
		overflow: hidden;
		max-width: 48vw;
		color: #171519;
		font-size: 11px;
		font-weight: 700;
		line-height: 1.25;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.md-mobile-sticky-cart__price,
	.md-mobile-sticky-cart__price .price {
		color: #a30832;
		font-size: 14px;
		font-weight: 800;
		line-height: 1.2;
	}

	.md-mobile-sticky-cart__price del {
		margin-right: 5px;
		color: #847b7d;
		font-size: 11px;
	}

	.md-mobile-sticky-cart__button {
		flex: 0 0 auto;
		min-height: 44px;
		max-width: 48%;
		padding: 0 16px;
		border: 0;
		background: #a90836;
		color: #fff;
		font-size: 9px;
		font-weight: 800;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.md-mobile-sticky-cart__button:focus-visible {
		outline-color: #151417;
	}

	.md-mobile-sticky-cart.is-cookie-covered {
		display: none !important;
	}

	.footer-legal {
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.md-mobile-sticky-cart,
	.md-retiring-notice {
		transition: none;
	}
}
