/* AS Promo Campaigns — storefront.
 *
 * Built on the global AS UI tokens (theme as-ui.css §0): ink #191919, accent yellow #feb511, 2 px
 * control corners, IBM Plex Sans, uppercase 600 tracked labels. Campaign colours arrive as custom
 * properties on .aspm-c-{id} (inline style, see ASPM_Render::css_vars()).
 *
 * Phase: every part carries is-wait | is-pre | is-live | is-ended; text for both phases is printed
 * and the inactive one hidden. Breakpoints match the site: phone < 768, tablet 768–1023, desktop ≥ 1024.
 */

.aspm {
	--aspm-font: var(--autoboss-font-sans, 'IBM Plex Sans', Arial, sans-serif);
	--aspm-r: var(--as-radius-ctrl, 2px);
	--aspm-ease: var(--as-ease, .2s ease);
	box-sizing: border-box;
	font-family: var(--aspm-font);
}
.aspm *,
.aspm *::before,
.aspm *::after { box-sizing: inherit; }
.aspm-font-condensed { --aspm-font: 'Barlow Condensed', 'Arial Narrow', var(--autoboss-font-sans, Arial), sans-serif; }

.aspm.is-wait,
.aspm.is-ended,
.aspm.is-pre.aspm-live-only,
.aspm.is-pre.no-pre,
.aspm.is-live.no-live,
.aspm.is-pre .aspm-when-live,
.aspm.is-live .aspm-when-pre,
.aspm.is-pre .no-pre,
.aspm.is-live .no-live,
.aspm [hidden] { display: none !important; }

@media (max-width: 767.98px) { .aspm-no-phone { display: none !important; } }
@media (min-width: 768px) and (max-width: 1023.98px) { .aspm-no-tablet { display: none !important; } }
@media (min-width: 1024px) { .aspm-no-desktop { display: none !important; } }

.aspm-i { display: block; flex: 0 0 auto; width: 1em; height: 1em; }

/* ---------- Countdown ---------- */
.aspm-cd {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.aspm-cd__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .8;
}
.aspm-cd__units { display: inline-flex; align-items: center; gap: 4px; }
.aspm-cd__u { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.aspm-cd__u b { font-weight: 700; }
.aspm-cd__u i { font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.aspm-cd__sep { font-weight: 700; opacity: .55; }

/* Blocks: tiles in the accent colour. */
.aspm-cd--blocks .aspm-cd__u {
	min-width: 38px;
	padding: 5px 4px 4px;
	border-radius: var(--aspm-r);
	background: var(--aspm-ac);
	color: var(--aspm-ac-fg);
}
.aspm-cd--blocks .aspm-cd__u b { font-size: 16px; }
.aspm-cd--blocks .aspm-cd__u i { margin-top: 3px; font-size: 9px; opacity: .8; }
.aspm-cd--blocks .aspm-cd__sep { display: none; }

/* Ring: outlined tiles. */
.aspm-cd--ring .aspm-cd__u {
	min-width: 38px;
	padding: 5px 4px 4px;
	border: 1px solid currentColor;
	border-radius: var(--aspm-r);
}
.aspm-cd--ring .aspm-cd__u b { font-size: 16px; }
.aspm-cd--ring .aspm-cd__u i { margin-top: 3px; font-size: 9px; opacity: .75; }
.aspm-cd--ring .aspm-cd__sep { display: none; }

/* Inline: 2d 04h 12m 09s. */
.aspm-cd--inline .aspm-cd__u { flex-direction: row; align-items: baseline; gap: 1px; }
.aspm-cd--inline .aspm-cd__u b { font-size: 15px; }
.aspm-cd--inline .aspm-cd__u i { font-size: 11px; opacity: .75; }
.aspm-cd--inline .aspm-cd__sep { display: none; }
.aspm-cd--inline .aspm-cd__units { gap: 8px; }

/* Minimal: 02:04:12:09. */
.aspm-cd--minimal .aspm-cd__u i { display: none; }
.aspm-cd--minimal .aspm-cd__u b { font-size: 16px; }
.aspm-cd--minimal .aspm-cd__units { gap: 2px; }
.aspm-cd--minimal .aspm-cd__u[data-u="d"] b::after { content: "d"; margin-left: 1px; font-size: .75em; opacity: .75; }

/* ---------- Coupon chip ---------- */
.aspm-coupon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	margin: 0;
	padding: 0 10px;
	border: 1px dashed currentColor;
	border-radius: var(--aspm-r);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	transition: background-color var(--aspm-ease);
}
.aspm-coupon__k { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.aspm-coupon__v { font-weight: 700; letter-spacing: .06em; }
.aspm-coupon__i { display: inline-flex; font-size: 14px; }
.aspm-coupon__i .aspm-i + .aspm-i,
.aspm-coupon.is-copied .aspm-coupon__i .aspm-i:first-child { display: none; }
.aspm-coupon.is-copied .aspm-coupon__i .aspm-i + .aspm-i { display: block; }
@media (hover: hover) and (pointer: fine) {
	.aspm-coupon:hover { background: rgba(127, 127, 127, .14); }
}
.aspm-coupon:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ---------- Header bar ---------- */
.aspm-bar {
	position: relative;
	z-index: 60;
	width: 100%;
	background: linear-gradient(90deg, var(--aspm-bg), var(--aspm-bg2));
	color: var(--aspm-fg);
	--aspm-h: 44px;
}
.aspm-bar.has-image {
	background: var(--aspm-bar-img) center / cover no-repeat, linear-gradient(90deg, var(--aspm-bg), var(--aspm-bg2));
}
.aspm-bar.is-sticky { position: sticky; top: 0; z-index: 1000; }
body.admin-bar .aspm-bar.is-sticky { top: var(--wp-admin--admin-bar--height, 32px); }
.aspm-bar--compact { --aspm-h: 36px; }
.aspm-bar--large { --aspm-h: 56px; }
.aspm-bar__in {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
	max-width: var(--theme-normal-container-max-width, 1290px);
	min-height: var(--aspm-h);
	margin: 0 auto;
	padding: 6px 48px;
}
.aspm-bar--split .aspm-bar__in { justify-content: space-between; }
.aspm-bar__text {
	position: relative;
	display: grid;
	min-width: 0;
	overflow: hidden;
}
.aspm-bar--split .aspm-bar__text { flex: 1 1 auto; }
.aspm-bar__msgs { display: grid; grid-area: 1 / 1; }
.aspm-bar__msg {
	grid-area: 1 / 1;
	margin: 0;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease, transform .45s ease, visibility 0s .45s;
}
.aspm-bar--center .aspm-bar__msg { text-align: center; }
.aspm-bar--slide .aspm-bar__msg { transform: translateY(100%); }
.aspm-bar__msg.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .45s ease, transform .45s ease, visibility 0s;
}
.aspm-bar--slide .aspm-bar__msg.is-out { transform: translateY(-100%); }
.aspm-bar.is-upper .aspm-bar__msg { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.aspm-bar--large .aspm-bar__msg { font-size: 16px; }
.aspm-bar--compact .aspm-bar__msg { font-size: 13px; }
.aspm-bar__msg a { color: inherit; text-decoration: none; }
.aspm-bar__msg a:hover { text-decoration: underline; text-underline-offset: 3px; }
.aspm-bar__side { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.aspm-bar--compact .aspm-cd--blocks .aspm-cd__u,
.aspm-bar--compact .aspm-cd--ring .aspm-cd__u { min-width: 30px; padding: 3px; }
.aspm-bar--compact .aspm-cd__u i { display: none; }
.aspm-bar--compact .aspm-cd__u b { font-size: 14px; }
.aspm-bar__cta.as-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 14px;
	white-space: nowrap;
}
.aspm-bar__cta .aspm-i { font-size: 14px; }
.aspm-bar__cta.as-btn--accent { background: var(--aspm-ac); border-color: var(--aspm-ac); color: var(--aspm-ac-fg); }
.aspm-bar__x {
	position: absolute;
	top: 50%;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--aspm-r);
	background: transparent;
	color: inherit;
	font-size: 16px;
	opacity: .7;
	cursor: pointer;
	transform: translateY(-50%);
}
.aspm-bar__x:hover { opacity: 1; background: rgba(127, 127, 127, .16); }
.aspm-bar__x:focus-visible,
.aspm-bar__msg a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.aspm-bar.is-dismissed { display: none; }

@media (max-width: 1023.98px) {
	.aspm-bar__in { gap: 8px 16px; padding: 6px 44px; }
	.aspm-bar--center .aspm-bar__in { padding-left: 44px; }
}
@media (max-width: 767.98px) {
	.aspm-bar__in { flex-wrap: wrap; gap: 6px 10px; padding: 8px 44px; }
	.aspm-bar--center .aspm-bar__in { padding-left: 44px; }
	.aspm-bar__text { flex: 1 1 100%; }
	.aspm-bar__msg { font-size: 13px; }
	.aspm-bar.is-upper .aspm-bar__msg { font-size: 12px; }
	.aspm-bar__side { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: 8px; }
	.aspm-bar--split .aspm-bar__side { justify-content: flex-start; }
	.aspm-bar .aspm-cd { gap: 6px; }
	.aspm-bar .aspm-cd__label { font-size: 10px; }
	.aspm-bar .aspm-cd--blocks .aspm-cd__u,
	.aspm-bar .aspm-cd--ring .aspm-cd__u { min-width: 30px; padding: 3px 3px 2px; }
	.aspm-bar .aspm-cd__u b { font-size: 13px; }
	.aspm-bar .aspm-cd--blocks .aspm-cd__u i,
	.aspm-bar .aspm-cd--ring .aspm-cd__u i { font-size: 8px; margin-top: 2px; }
	.aspm-bar__cta.as-btn,
	.aspm-bar .aspm-coupon { min-height: 30px; }
	.aspm-bar__x { top: 50%; right: 2px; width: 40px; height: 40px; font-size: 22px; transform: translateY(-50%); }
}

/* ---------- Image frame (transparent; the product image is untouched) ---------- */
.aspm-ov {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	opacity: var(--aspm-op, 1);
	pointer-events: none;
	color: var(--aspm-fg);
	user-select: none;
}
/* Detail gallery: a centred square, like the image box, so the frame hugs the picture on wide stages. */
.aspm-ov--detail {
	top: 0;
	bottom: 0;
	left: 50%;
	right: auto;
	width: auto;
	height: 100%;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	transform: translateX(-50%);
}
.aspm-ov__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: fill !important;
	mix-blend-mode: normal !important;
	opacity: 1 !important;
	transform: none !important;
}
.aspm-ov__frame {
	position: absolute;
	inset: var(--aspm-in);
	border: var(--aspm-bw) solid var(--aspm-frame);
	border-radius: var(--aspm-br);
}
.aspm-ov__banner {
	position: absolute;
	left: var(--aspm-in);
	right: var(--aspm-in);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2px 10px;
	padding: 8px 12px;
	background: var(--aspm-bg);
	color: var(--aspm-fg);
	line-height: 1.2;
}
.aspm-ov__banner--bottom { bottom: var(--aspm-in); border-radius: 0 0 var(--aspm-br) var(--aspm-br); }
.aspm-ov__banner--top { top: var(--aspm-in); border-radius: var(--aspm-br) var(--aspm-br) 0 0; }
.aspm-ov__banner--gradient { background: linear-gradient(90deg, var(--aspm-bg), var(--aspm-bg2)); }
.aspm-ov__banner--glass {
	background: color-mix(in srgb, var(--aspm-bg) 62%, transparent);
	-webkit-backdrop-filter: blur(10px) saturate(1.4);
	backdrop-filter: blur(10px) saturate(1.4);
}
.aspm-ov__title {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.aspm-ov__title .aspm-i { color: var(--aspm-ac); }
.aspm-ov__title > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aspm-ov__sub {
	padding: 3px 7px;
	border-radius: var(--aspm-r);
	background: var(--aspm-ac);
	color: var(--aspm-ac-fg);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.aspm-ov__cd { flex: 1 1 100%; }
.aspm-ov__cd .aspm-cd__u b { font-size: 12px; }
.aspm-ov__cd.aspm-cd--blocks .aspm-cd__u,
.aspm-ov__cd.aspm-cd--ring .aspm-cd__u { min-width: 26px; padding: 2px 3px; }
.aspm-ov__cd .aspm-cd__u i { display: none; }
.aspm-ov__cd.aspm-cd--blocks .aspm-cd__sep,
.aspm-ov__cd.aspm-cd--ring .aspm-cd__sep { display: inline; }
.aspm-ov__corner {
	position: absolute;
	top: calc(var(--aspm-in) + var(--aspm-bw));
	padding: 5px 10px;
	background: var(--aspm-frame);
	color: var(--aspm-ac-fg);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.1;
	text-transform: uppercase;
}
.aspm-ov__corner--tr { right: calc(var(--aspm-in) + var(--aspm-bw)); border-bottom-left-radius: var(--aspm-r); }
.aspm-ov__corner--tl { left: calc(var(--aspm-in) + var(--aspm-bw)); border-bottom-right-radius: var(--aspm-r); }

/* Detail image is larger: a little more room. */
.aspm-ov--detail .aspm-ov__banner { padding: 12px 18px; }
.aspm-ov--detail .aspm-ov__title { font-size: 16px; }
.aspm-ov--detail .aspm-ov__sub { font-size: 14px; padding: 4px 9px; }
.aspm-ov--detail .aspm-ov__corner { font-size: 13px; padding: 7px 14px; }
.aspm-ov--detail .aspm-ov__cd .aspm-cd__u b { font-size: 15px; }

/* Inset fit: the picture shrinks inside the frame instead of sitting under it. The scale rule is
   generated per campaign (ASPM_Render::css_vars), because the image is a sibling of the overlay. */

/* Product cards are small: tighter frame copy on phones. */
@media (max-width: 767.98px) {
	.aspm-ov--card .aspm-ov__banner { padding: 5px 7px; gap: 2px 6px; }
	.aspm-ov--card .aspm-ov__title { font-size: 10px; gap: 3px; letter-spacing: .04em; }
	.aspm-ov--card .aspm-ov__sub { font-size: 10px; padding: 2px 5px; }
	.aspm-ov--card .aspm-ov__corner { font-size: 9px; padding: 3px 6px; }
	.aspm-ov--card .aspm-ov__cd { display: none; }
	.aspm-ov--detail .aspm-ov__banner { padding: 9px 12px; }
	/* Phone detail: the announcement stays at the image top; the sash owns its upper corner. */
	.aspd-gallery .aspm-ov--detail .aspm-ov__banner--bottom { top: var(--aspm-in); bottom: auto; border-radius: var(--aspm-br) var(--aspm-br) 0 0; }
	.aspd-gallery .aspm-ov--detail:has(.aspm-ov__corner--tr) .aspm-ov__banner { padding-right: 104px; }
	/* Keep the gallery control away from the top announcement/sash and the bottom counter. */
	body.aspd-page .aspd-gallery__media:has(.aspm-ov--detail) > .aspd-gallery__zoom { top: auto; bottom: 56px; }
	.aspm-ov--detail .aspm-ov__title { font-size: 13px; }
	.aspm-ov--detail .aspm-ov__sub { font-size: 12px; }
	/* Keep the Black Friday title; the savings chip is desktop-only. */
	.aspm-ov--card .aspm-ov__sub,
	.aspm-ov--detail .aspm-ov__sub { display: none; }
}

/* ---------- Badge ---------- */
.aspm-badge {
	position: absolute;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: calc(100% - 24px);
	padding: 5px 9px;
	background: var(--aspm-badge-bg);
	color: var(--aspm-badge-fg);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}
.aspm-badge__t { overflow: hidden; text-overflow: ellipsis; }
.aspm-badge--tr { top: 12px; right: 12px; }
.aspm-badge--tl { top: 12px; left: 12px; }
.aspm-badge--br { bottom: 12px; right: 12px; }
.aspm-badge--bl { bottom: 12px; left: 12px; }
.aspm-badge--pill { border-radius: 999px; padding: 5px 10px; }
.aspm-badge--square { border-radius: var(--aspm-r); }
.aspm-badge--circle {
	width: 52px;
	height: 52px;
	padding: 4px;
	border-radius: 50%;
	font-size: 13px;
	white-space: normal;
	text-align: center;
}
.aspm-badge--ribbon { padding: 5px 14px 5px 10px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); }
.aspm-badge--tr.aspm-badge--ribbon,
.aspm-badge--br.aspm-badge--ribbon { padding: 5px 10px 5px 14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8px 50%); }
.aspm-badge--tag { padding: 5px 10px 5px 16px; border-radius: 0 var(--aspm-r) var(--aspm-r) 0; clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%); }
.aspm-badge--detail { font-size: 13px; padding: 7px 12px; }
.aspm-badge--detail.aspm-badge--circle { width: 68px; height: 68px; font-size: 16px; }
.aspm-badge--detail.aspm-badge--tr,
.aspm-badge--detail.aspm-badge--tl { top: 16px; }
.aspm-badge--detail.aspm-badge--tr,
.aspm-badge--detail.aspm-badge--br { right: 16px; }
.aspm-badge.is-pulse { animation: aspm-pulse 2.4s ease-in-out infinite; }
@keyframes aspm-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (max-width: 767.98px) {
	.aspm-badge--card { top: auto; font-size: 9px; padding: 3px 7px; }
	.aspm-badge--card.aspm-badge--tr,
	.aspm-badge--card.aspm-badge--tl { top: 8px; }
	.aspm-badge--card.aspm-badge--br,
	.aspm-badge--card.aspm-badge--bl { bottom: 8px; }
	.aspm-badge--card.aspm-badge--tr,
	.aspm-badge--card.aspm-badge--br { right: 8px; }
	.aspm-badge--card.aspm-badge--tl,
	.aspm-badge--card.aspm-badge--bl { left: 8px; }
	.aspm-badge--card.aspm-badge--circle { width: 40px; height: 40px; font-size: 10px; }
}
/* AUTOOL Product Card shows its own sale label top-left; a top-left campaign badge moves below it. */
.abpc-top:has(.abpc-badges) .aspm-badge--card.aspm-badge--tl { top: 42px; }

/* ---------- Product page strip ---------- */
.aspm-strip {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px 16px;
	margin: 14px 0;
	padding: 14px 16px;
	border-radius: var(--as-radius-md, 6px);
	background: linear-gradient(90deg, var(--aspm-bg), var(--aspm-bg2));
	color: var(--aspm-fg);
}
.aspm-strip__main { min-width: 0; }
.aspm-strip__title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.25;
	text-transform: uppercase;
}
.aspm-strip__title .aspm-i { color: var(--aspm-ac); font-size: 16px; }
.aspm-strip__sub { margin: 4px 0 0; font-size: 13px; line-height: 1.45; opacity: .85; }
.aspm-strip__cd { justify-self: end; }
.aspm-strip__foot {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	align-items: center;
	gap: 8px 16px;
	padding-top: 10px;
	border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.aspm-strip__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: inherit !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-decoration: none !important;
	text-transform: uppercase;
}
.aspm-strip__link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.aspm-strip__link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.aspm-strip__stock { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 12px; font-weight: 600; }
.aspm-strip__stock .aspm-i { color: var(--aspm-ac); }

/* Card: white surface with a campaign-colour edge, for pages that want less colour. */
.aspm-strip--card {
	border: 1px solid var(--as-line-soft, rgba(25, 25, 25, .16));
	border-left: 4px solid var(--aspm-ac);
	background: #fff;
	color: var(--as-ink, #191919);
}
.aspm-strip--card .aspm-cd--blocks .aspm-cd__u { background: var(--as-ink, #191919); color: #fff; }
/* Minimal: one line of text, no box. */
.aspm-strip--minimal {
	padding: 0 0 0 12px;
	border-left: 3px solid var(--aspm-ac);
	border-radius: 0;
	background: none;
	color: var(--as-ink, #191919);
}
.aspm-strip--minimal .aspm-strip__foot { border-top: 0; padding-top: 0; }
.aspm-strip--minimal .aspm-cd--blocks .aspm-cd__u { background: var(--as-ink, #191919); color: #fff; }

@media (max-width: 767.98px) {
	.aspm-strip { grid-template-columns: 1fr; padding: 12px 14px; }
	.aspm-strip--minimal { padding: 0 0 0 10px; }
	.aspm-strip__cd { justify-self: start; }
	.aspm-strip__title { font-size: 14px; }
	.aspm-strip__stock { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.aspm-bar__msg,
	.aspm-bar__msg.is-on { transition: none; transform: none !important; }
	.aspm-badge.is-pulse { animation: none; }
}

/* =====================================================================================
 * 0.2.0 — more looks, spend progress, venue
 * ===================================================================================== */

/* ---------- Copy feedback ---------- */
.aspm-coupon,
.aspm-ticket__code { position: relative; }
.aspm-copied {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	z-index: 5;
	padding: 4px 8px;
	border-radius: var(--aspm-r);
	background: var(--as-ink, #191919);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transform: translateX(-50%);
	pointer-events: none;
	opacity: 0;
	transition: opacity .15s;
}
.is-copied > .aspm-copied { opacity: 1; }

/* ---------- Bar looks ---------- */
.aspm-bar-look--solid { background: var(--aspm-bg); }
.aspm-bar-look--stripes {
	background: repeating-linear-gradient(135deg, var(--aspm-bg) 0 14px, color-mix(in srgb, var(--aspm-bg) 84%, #fff) 14px 28px);
}
.aspm-bar-look--glass {
	background: color-mix(in srgb, var(--aspm-bg) 78%, transparent);
	-webkit-backdrop-filter: blur(14px) saturate(1.6);
	backdrop-filter: blur(14px) saturate(1.6);
}
.aspm-bar-look--spotlight {
	background:
		radial-gradient(60% 140% at 50% -30%, color-mix(in srgb, var(--aspm-ac) 45%, transparent), transparent 70%),
		linear-gradient(90deg, var(--aspm-bg), var(--aspm-bg2));
}
.aspm-bar-look--outline {
	border-bottom: 2px solid var(--aspm-ac);
	background: #fff;
	color: var(--as-ink, #191919);
}
.aspm-bar-look--outline .aspm-cd--ring .aspm-cd__u { border-color: var(--as-line-soft, rgba(25,25,25,.16)); }
.aspm-bar.has-image.aspm-bar-look--solid,
.aspm-bar.has-image.aspm-bar-look--stripes { background: var(--aspm-bar-img) center / cover no-repeat, var(--aspm-bg); }
.aspm-bar__msg a { display: flex; align-items: center; gap: 8px; max-width: 100%; }
.aspm-bar__msg a > span { overflow: hidden; text-overflow: ellipsis; }
.aspm-bar__icon { display: inline-flex; flex: 0 0 auto; color: var(--aspm-ac); font-size: 16px; }
.aspm-bar-look--outline .aspm-bar__icon { color: inherit; }

/* Marquee. */
.aspm-bar--marquee .aspm-bar__text { flex: 1 1 auto; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.aspm-bar--marquee .aspm-bar__msgs { display: block; }
.aspm-bar__mq { display: flex; width: max-content; animation: aspm-mq var(--aspm-mq, 30s) linear infinite; }
.aspm-bar__mq-set { display: flex; flex: 0 0 auto; }
.aspm-bar--marquee .aspm-bar__msg,
.aspm-bar--marquee .aspm-bar__msg.is-on {
	grid-area: auto;
	padding: 0 32px;
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: none;
}
.aspm-bar--marquee:hover .aspm-bar__mq,
.aspm-bar--marquee:focus-within .aspm-bar__mq { animation-play-state: paused; }
@keyframes aspm-mq { to { transform: translateX(-50%); } }

/* ---------- More countdowns ---------- */
.aspm-cd--flip .aspm-cd__u b {
	position: relative;
	min-width: 34px;
	padding: 6px 5px;
	border-radius: 4px;
	background: linear-gradient(#2c2c2e 50%, #1c1c1e 50%);
	color: #fff;
	font-size: 17px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
.aspm-cd--flip .aspm-cd__u b::after { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: rgba(0, 0, 0, .55); }
.aspm-cd--flip .aspm-cd__u i { margin-top: 4px; font-size: 9px; opacity: .75; }
.aspm-cd--flip .aspm-cd__sep { display: none; }

.aspm-cd--circle .aspm-cd__u {
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 2px solid var(--aspm-ac);
	border-radius: 50%;
}
.aspm-cd--circle .aspm-cd__u b { font-size: 15px; }
.aspm-cd--circle .aspm-cd__u i { margin-top: 1px; font-size: 8px; opacity: .75; }
.aspm-cd--circle .aspm-cd__sep { display: none; }

.aspm-cd--pill .aspm-cd__units {
	gap: 3px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--aspm-ac);
	color: var(--aspm-ac-fg);
}
.aspm-cd--pill .aspm-cd__u i { display: none; }
.aspm-cd--pill .aspm-cd__u b { font-size: 14px; }
.aspm-cd--pill .aspm-cd__u[data-u="d"] b::after { content: "d"; margin-left: 1px; font-size: .8em; }

.aspm-cd--underline .aspm-cd__u { flex-direction: row; align-items: baseline; gap: 2px; padding-bottom: 3px; border-bottom: 2px solid var(--aspm-ac); }
.aspm-cd--underline .aspm-cd__u b { font-size: 16px; }
.aspm-cd--underline .aspm-cd__u i { font-size: 10px; opacity: .75; }
.aspm-cd--underline .aspm-cd__units { gap: 8px; }
.aspm-cd--underline .aspm-cd__sep { display: none; }

/* ---------- Frame styles ---------- */
.aspm-ov { overflow: hidden; }
.aspm-ov__frame--double { border-style: double; border-width: max(var(--aspm-bw), 5px); }
.aspm-ov__frame--dashed { border-style: dashed; }
.aspm-ov__frame--glow { box-shadow: inset 0 0 18px color-mix(in srgb, var(--aspm-frame) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--aspm-frame) 40%, transparent); }
.aspm-ov__frame--thick { border-bottom-width: calc(var(--aspm-bw) * 3); }
.aspm-ov__frame--gradient {
	border-color: transparent;
	background: linear-gradient(135deg, var(--aspm-ac), var(--aspm-bg2), var(--aspm-ac)) border-box;
	-webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
}
.aspm-ov__frame--corners {
	--aspm-arm: 22%;
	--aspm-t: max(var(--aspm-bw), 3px);
	border: 0;
	background:
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) top left / var(--aspm-arm) var(--aspm-t) no-repeat,
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) top left / var(--aspm-t) var(--aspm-arm) no-repeat,
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) top right / var(--aspm-arm) var(--aspm-t) no-repeat,
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) top right / var(--aspm-t) var(--aspm-arm) no-repeat,
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) bottom left / var(--aspm-arm) var(--aspm-t) no-repeat,
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) bottom left / var(--aspm-t) var(--aspm-arm) no-repeat,
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) bottom right / var(--aspm-arm) var(--aspm-t) no-repeat,
		linear-gradient(var(--aspm-frame), var(--aspm-frame)) bottom right / var(--aspm-t) var(--aspm-arm) no-repeat;
}

/* Banner looks. */
.aspm-ov__banner--stripes { background: repeating-linear-gradient(135deg, var(--aspm-bg) 0 10px, color-mix(in srgb, var(--aspm-bg) 82%, #fff) 10px 20px); }
.aspm-ov__banner--ticket {
	-webkit-mask: radial-gradient(circle 7px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 7px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
	padding-left: 16px;
	padding-right: 16px;
}
.aspm-ov__banner--angled { right: calc(var(--aspm-in) + 10%); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%); padding-right: 26px; border-radius: 0; }
.aspm-ov__banner--angled.aspm-ov__banner--top { clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.aspm-ov__banner--pill {
	left: calc(var(--aspm-in) + 10px);
	right: calc(var(--aspm-in) + 10px);
	border-radius: 999px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.aspm-ov__banner--pill.aspm-ov__banner--bottom { bottom: calc(var(--aspm-in) + 10px); }
.aspm-ov__banner--pill.aspm-ov__banner--top { top: calc(var(--aspm-in) + 10px); }

/* Corner styles (tab is the base). */
.aspm-ov__corner--sash {
	top: 22px;
	width: 160px;
	padding: 6px 0;
	border-radius: 0 !important;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.aspm-ov__corner--sash.aspm-ov__corner--tr { right: -42px; transform: rotate(45deg); }
.aspm-ov__corner--sash.aspm-ov__corner--tl { left: -42px; transform: rotate(-45deg); }
.aspm-ov__corner--seal,
.aspm-ov__corner--burst {
	top: calc(var(--aspm-in) + var(--aspm-bw) + 8px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	padding: 6px;
	border-radius: 50%;
	text-align: center;
	white-space: normal;
}
.aspm-ov__corner--seal { box-shadow: inset 0 0 0 3px var(--aspm-frame), inset 0 0 0 5px currentColor; transform: rotate(-12deg); }
.aspm-ov__corner--burst {
	width: 70px;
	height: 70px;
	border-radius: 0;
	clip-path: polygon(50% 0, 61% 12%, 75% 7%, 79% 21%, 93% 25%, 88% 39%, 100% 50%, 88% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 88%, 50% 100%, 39% 88%, 25% 93%, 21% 79%, 7% 75%, 12% 61%, 0 50%, 12% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 12%);
}
.aspm-ov__corner--seal.aspm-ov__corner--tr,
.aspm-ov__corner--burst.aspm-ov__corner--tr { right: calc(var(--aspm-in) + var(--aspm-bw) + 8px); }
.aspm-ov__corner--seal.aspm-ov__corner--tl,
.aspm-ov__corner--burst.aspm-ov__corner--tl { left: calc(var(--aspm-in) + var(--aspm-bw) + 8px); }
@media (max-width: 767.98px) {
	.aspm-ov--card .aspm-ov__corner--seal,
	.aspm-ov--card .aspm-ov__corner--burst { width: 46px; height: 46px; font-size: 8px; }
	.aspm-ov--card .aspm-ov__corner--sash { top: 14px; width: 120px; font-size: 8px; }
	.aspm-ov--card .aspm-ov__corner--sash.aspm-ov__corner--tr { right: -34px; }
	.aspm-ov--card .aspm-ov__corner--sash.aspm-ov__corner--tl { left: -34px; }
}

/* ---------- More badges ---------- */
.aspm-badge--burst,
.aspm-badge--seal,
.aspm-badge--hexagon {
	width: 56px;
	height: 56px;
	padding: 4px;
	font-size: 12px;
	text-align: center;
	white-space: normal;
}
.aspm-badge--burst { clip-path: polygon(50% 0, 61% 12%, 75% 7%, 79% 21%, 93% 25%, 88% 39%, 100% 50%, 88% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 88%, 50% 100%, 39% 88%, 25% 93%, 21% 79%, 7% 75%, 12% 61%, 0 50%, 12% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 12%); }
.aspm-badge--seal { border-radius: 50%; box-shadow: inset 0 0 0 3px var(--aspm-badge-bg), inset 0 0 0 4px var(--aspm-badge-fg); }
.aspm-badge--hexagon { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
.aspm-badge--flag { padding: 8px 9px 14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.aspm-badge--flag.aspm-badge--tr,
.aspm-badge--flag.aspm-badge--tl { top: 0; }
.aspm-badge--outline { border: 1.5px solid var(--aspm-badge-bg); border-radius: var(--aspm-r); background: rgba(255, 255, 255, .92); color: var(--aspm-badge-bg); }
.aspm-badge--detail:is(.aspm-badge--burst, .aspm-badge--seal, .aspm-badge--hexagon) { width: 72px; height: 72px; font-size: 15px; }
@media (max-width: 767.98px) {
	.aspm-badge--card:is(.aspm-badge--burst, .aspm-badge--seal, .aspm-badge--hexagon) { width: 42px; height: 42px; font-size: 9px; }
}

/* ---------- More strip looks ---------- */
.aspm-strip--ticket {
	border: 1.5px dashed color-mix(in srgb, var(--aspm-fg) 45%, transparent);
	background: var(--aspm-bg);
	-webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
	padding-left: 22px;
	padding-right: 22px;
}
.aspm-strip--outline { border: 2px solid var(--aspm-ac); background: #fff; color: var(--as-ink, #191919); }
.aspm-strip--outline .aspm-cd--blocks .aspm-cd__u { background: var(--aspm-ac); color: var(--aspm-ac-fg); }
.aspm-strip--gradient { background: linear-gradient(135deg, var(--aspm-bg) 0%, var(--aspm-bg2) 60%, color-mix(in srgb, var(--aspm-ac) 55%, var(--aspm-bg2)) 100%); }
.aspm-strip--split {
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--as-line-soft, rgba(25,25,25,.16));
	color: var(--as-ink, #191919);
	gap: 0;
}
.aspm-strip--split .aspm-strip__main { padding: 14px 16px; }
.aspm-strip--split .aspm-strip__cd { align-self: stretch; justify-self: stretch; padding: 12px 16px; background: linear-gradient(135deg, var(--aspm-bg), var(--aspm-bg2)); color: var(--aspm-fg); }
.aspm-strip--split .aspm-strip__ladder,
.aspm-strip--split .aspm-strip__foot { padding-left: 16px; padding-right: 16px; }
.aspm-strip--split .aspm-strip__foot { padding-bottom: 12px; }
.aspm-strip--split .aspm-strip__title .aspm-i { color: var(--aspm-bg); }

/* Spend ladder in the strip. */
.aspm-strip__ladder { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.aspm-strip__ladder-t { display: inline-flex; align-items: center; gap: 5px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.aspm-strip__ladder-t .aspm-i { color: var(--aspm-ac); }
.aspm-strip__tiers { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.aspm-strip__tiers li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
	border-radius: var(--aspm-r);
	font-size: 12px;
	line-height: 1.3;
}
.aspm-tier__min { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
	.aspm-bar__mq { animation: none; }
	.aspm-bar--marquee .aspm-bar__mq-set[aria-hidden] { display: none; }
}

/* =====================================================================================
 * 0.3.0 — fit with the rest of the site
 * ===================================================================================== */

/* Campaign label inside AUTOOL Product Card's label row: same capsule, campaign colours. */
.abpc-badge.is-aspm { gap: 4px; }
.abpc-badge.aspm-badge-row--campaign {
	border-color: color-mix(in srgb, var(--aspm-badge-bg) 60%, #fff);
	background-color: var(--aspm-badge-bg);
	background-image: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent);
	color: var(--aspm-badge-fg);
	text-shadow: none;
}
.abpc-badge.is-aspm.is-pulse { animation: aspm-pulse 2.4s ease-in-out infinite; }
/* The same capsule on the product page main image (no site row there). */
.aspm-badge.aspm-badge-row {
	min-height: 28px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .64);
	border-radius: 7px;
	box-shadow: 0 3px 10px rgba(26, 29, 32, .1), inset 0 1px 0 rgba(255, 255, 255, .34);
	font-size: 12px;
	letter-spacing: .04em;
}
.aspm-badge.aspm-badge-row--site {
	background-color: color-mix(in srgb, var(--theme-palette-color-2, #fdb016) 42%, transparent);
	background-image: linear-gradient(135deg, rgba(255, 255, 255, .24), color-mix(in srgb, var(--theme-palette-color-2, #fdb016) 10%, transparent));
	color: #171a1d;
	-webkit-backdrop-filter: blur(7px) saturate(130%);
	backdrop-filter: blur(7px) saturate(130%);
}
.aspm-badge--detail.aspm-badge-row.aspm-badge--tl { top: 16px; left: 16px; }

/* Keep the site label row clear of a top banner or a top-left corner tag. */
.abpc-top:has(.aspm-ov:is(.is-pre:not(.aspm-live-only), .is-live) .aspm-ov__banner--top) > .abpc-badges { top: calc(var(--aspm-in, 0px) + 46px); }
.abpc-top:has(.aspm-ov:is(.is-pre:not(.aspm-live-only), .is-live) .aspm-ov__corner--tl) > .abpc-badges { top: 56px; }
.abpc-top:has(.aspm-ov:is(.is-pre:not(.aspm-live-only), .is-live) :is(.aspm-ov__corner--tl.aspm-ov__corner--seal, .aspm-ov__corner--tl.aspm-ov__corner--burst)) > .abpc-badges { top: 88px; }
/* A corner-mode campaign badge and a corner tag on the same side: the badge steps down. */
.aspm-ov:has(.aspm-ov__corner--tr) ~ .aspm-badge--tr { top: 56px; }
.aspm-ov:has(.aspm-ov__corner--tl) ~ .aspm-badge--tl { top: 56px; }
.aspm-ov:has(.aspm-ov__banner--top) ~ :is(.aspm-badge--tr, .aspm-badge--tl) { top: 52px; }
.aspm-ov:has(.aspm-ov__banner--bottom) ~ :is(.aspm-badge--br, .aspm-badge--bl) { bottom: 52px; }

/* Card hover: the card's own action buttons slide over the image bottom; the bottom banner steps aside. */
.aspm-ov__banner { transition: opacity .15s ease; }
@media (hover: hover) and (pointer: fine) {
	.abpc-h-overlay:is(:hover, :focus-within) .aspm-ov__banner--bottom { opacity: 0; }
}

/* Card frames size their copy to the card, not the viewport (cards are 140–320 px wide). */
.aspm-ov--card { container: aspm-card / inline-size; }
@container aspm-card (max-width: 220px) {
	.aspm-ov__banner { padding: 5px 7px; gap: 2px 6px; }
	.aspm-ov__title { gap: 3px; font-size: 10px; letter-spacing: .04em; }
	.aspm-ov__sub { padding: 2px 5px; font-size: 10px; }
	.aspm-ov__cd { display: none; }
	.aspm-ov__corner { padding: 3px 6px; font-size: 9px; }
	.aspm-ov__banner--pill { left: 6px; right: 6px; }
	.aspm-ov__banner--pill.aspm-ov__banner--bottom { bottom: 6px; }
}
@container aspm-card (min-width: 221px) and (max-width: 280px) {
	.aspm-ov__banner { padding: 7px 10px; }
	.aspm-ov__title { font-size: 12px; }
	.aspm-ov__sub { font-size: 11px; }
	.aspm-ov__cd .aspm-cd__u b { font-size: 11px; }
}

/* Let the phone logo participate in page flow, then stick natively at the viewport.
 * These wrappers must not limit sticky travel to the short header box. The DOM,
 * header event delegation and search row stay in place. */
@media (max-width: 767.98px) {
	body.abhf-m-sticky:has(.aspm-bar) #header,
	body.abhf-m-sticky:has(.aspm-bar) #abhf-header,
	body.abhf-m-sticky:has(.aspm-bar) .abhf-hd,
	body.abhf-m-sticky:has(.aspm-bar) .abhf-hd > .abhf-m { display: contents; }
	body.abhf-m-sticky:has(.aspm-bar) .abhf-m-r1 {
		position: sticky;
		top: calc(var(--abhf-top, var(--wp-admin--admin-bar--height, 0px)) + var(--aspm-pinned-height, 0px));
		z-index: 100;
		background: #fff;
	}
}

/* Phone bar layouts. */
@media (max-width: 767.98px) {
	/* Phone: complete announcement first, compact countdown on its own row. */
	.aspm-bar--ph-compact .aspm-bar__in { flex-wrap: wrap; gap: 6px; min-height: 40px; padding: 8px 44px; }
	.aspm-bar--ph-compact .aspm-bar__text { flex: 1 1 100%; }
	.aspm-bar--ph-compact .aspm-bar__msg { font-size: 12px; text-align: center; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
	.aspm-bar--ph-compact .aspm-bar__msg a { justify-content: center; }
	.aspm-bar--ph-compact .aspm-bar__msg a > span { overflow: visible; text-overflow: clip; }
	.aspm-bar--ph-compact .aspm-bar__side { flex: 1 1 100%; flex-wrap: nowrap; justify-content: center; }
	/* !important: the global button layer (as-ui.css) sets display with ID-level specificity. */
	.aspm-bar--ph-compact :is(.aspm-bar__cta, .aspm-bar__coupon) { display: none !important; }
	.aspm-bar--ph-compact .aspm-cd .aspm-cd__u i { display: none; }
	.aspm-bar--ph-compact .aspm-cd:is(.aspm-cd--blocks, .aspm-cd--ring, .aspm-cd--flip, .aspm-cd--circle) .aspm-cd__u { width: auto; height: auto; min-width: 24px; padding: 3px 2px; }
	.aspm-bar--ph-compact .aspm-cd .aspm-cd__u b { font-size: 12px; }
	.aspm-bar--ph-compact .aspm-cd .aspm-cd__units { gap: 2px; }
	.aspm-bar--ph-compact .aspm-bar__icon { font-size: 14px; }
	.aspm-bar--ph-compact .aspm-bar__x { top: 50%; width: 40px; height: 40px; font-size: 22px; transform: translateY(-50%); }
	.aspm-bar--ph-compact.aspm-bar--marquee .aspm-bar__side { display: none !important; }
	.aspm-bar--ph-message .aspm-bar__side { display: none !important; }
	.aspm-bar--ph-message .aspm-bar__in { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
}

/* Store-manager preview note. */
.aspm-pv-pill {
	position: fixed;
	bottom: calc(16px + env(safe-area-inset-bottom));
	left: 50%;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100vw - 24px);
	padding: 8px 8px 8px 14px;
	border-radius: 999px;
	background: rgba(25, 25, 25, .92);
	color: #fff;
	font: 600 12px/1.2 var(--autoboss-font-sans, Arial, sans-serif);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	transform: translateX(-50%);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.aspm-pv-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #feb511; box-shadow: 0 0 0 3px rgba(254, 181, 17, .3); }
.aspm-pv-pill__note { color: rgba(255, 255, 255, .6); font-weight: 500; }
.aspm-pv-pill button { min-height: 28px; margin: 0; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: #191919; font: inherit; cursor: pointer; }
@media (max-width: 767.98px) {
	.aspm-pv-pill { bottom: calc(84px + env(safe-area-inset-bottom)); gap: 8px; max-width: calc(100vw - 32px); padding: 6px 6px 6px 12px; font-size: 11px; }
	.aspm-pv-pill > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.aspm-pv-pill__note { display: none; }
	.aspm-pv-pill button { flex: 0 0 auto; white-space: nowrap; }
	/* Restore the diagonal sash to the image corner; the gallery control has its own lower lane. */
	.aspd-gallery .aspm-ov--detail .aspm-ov__corner--sash.aspm-ov__corner--tr { top: 22px; right: -42px; }
}
.aspm-pv-pill > span:nth-child(2) { min-width: 0; }

@media print {
	.aspm-bar, .aspm-ov, .aspm-badge, .abpc-badge.is-aspm, .aspm-pv-pill { display: none !important; }
	.aspm-strip { border: 1px solid #000; background: none !important; color: #000 !important; }
}
@media (forced-colors: active) {
	.aspm-ov__frame { border-color: CanvasText; }
	.aspm-bar, .aspm-strip, .aspm-ov__banner, .aspm-badge { border: 1px solid CanvasText; }
}

/* Black & gold: AUTOOL typography and square edges, no imported font/icon/image. */
.aspm-ov--black-gold { --aspm-gold: #d4af37; --aspm-gold-title: clamp(14px, 7cqi, 26px); overflow: hidden; border-radius: var(--aspm-br, 0); }
/* Three fine rules: outer rule touches the image box; inner rules recede in contrast. */
.aspm-gold__frame { position: absolute; inset: 0; border: 1px solid rgba(25,25,25,.28); opacity: 1; border-radius: var(--aspm-br, 0); z-index: 3; }
.aspm-gold__frame::before, .aspm-gold__frame::after { content: ""; position: absolute; border: 1px solid; border-radius: inherit; pointer-events: none; }
.aspm-gold__frame::before { inset: 3px; border-color: rgba(166,150,111,.4); }
.aspm-gold__frame::after { inset: 7px; border-color: rgba(25,25,25,.12); }
.aspm-gold__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; z-index: 2; }
.aspm-gold__badge { display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 66px); padding: 6px 8px; border: 1px solid var(--aspm-gold); background: linear-gradient(135deg,#171717,#292824); color: #f4e4ac; font-size: 9px; font-weight: 750; letter-spacing: .65px; line-height: 1.35; text-transform: uppercase; overflow-wrap: anywhere; }
.aspm-gold__badge svg { width: 13px; height: 13px; flex-shrink: 0; color: #e9c45b; }
.aspm-gold__seal { flex: 0 0 56px; width: 56px; height: 56px; margin-left: auto; border-radius: 50%; background: radial-gradient(circle at 30% 25%,#fff0ac,#d4af37 65%,#9b7724); color: #191919; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px; box-sizing: border-box; font-size: 9px; font-weight: 750; line-height: 1.15; transform: rotate(7deg); }
.aspm-gold__seal strong { display: block; font-size: 21px; line-height: 1.1; font-weight: 900; }
.aspm-gold__panel { position: absolute; inset: auto 0 0; padding: 14px 10px 8px; background: linear-gradient(to top,rgba(10,10,10,.94),rgba(15,15,15,.72) 60%,transparent); display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; z-index: 2; }
.aspm-gold__eyebrow { color: #e9d591; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: 3px; }
.aspm-gold__title { display: block; max-width: 100%; color: #ead18a; font-size: var(--aspm-gold-title); font-weight: 900; line-height: 1.15; letter-spacing: 1px; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
@supports (background-clip:text) or (-webkit-background-clip:text) {
 .aspm-gold__title { background: linear-gradient(110deg,#c49b46,#fff4c6 35%,#c49b46 65%,#f6e9ac); background-clip: text; -webkit-background-clip: text; color: transparent; }
}
.aspm-gold__ribbon { max-width: 100%; box-sizing: border-box; padding: 4px 18px; background: linear-gradient(100deg,#cba23e,#f4db87,#d4af37); color: #171717; font-size: 10px; font-weight: 800; line-height: 1.25; letter-spacing: .5px; text-transform: uppercase; overflow-wrap: anywhere; clip-path: polygon(5% 0,100% 0,95% 100%,0 100%); }
.aspm-gold__panel--top { inset: 0 0 auto; padding: 8px 10px 14px; background: linear-gradient(to bottom,rgba(10,10,10,.94),rgba(15,15,15,.72) 60%,transparent); }
.aspm-ov--black-gold:has(.aspm-gold__panel--top) .aspm-gold__top { top: auto; bottom: 14px; }
.aspm-ov--black-gold.aspm-ov--detail { --aspm-gold-title: clamp(24px,3vw,38px); }
.aspm-ov--detail .aspm-gold__panel { padding: 20px 16px 12px; gap: 5px; }
.aspm-ov--detail .aspm-gold__panel--top { padding: 12px 16px 20px; }
.aspm-ov--detail .aspm-gold__top { top: 20px; left: 20px; right: 20px; }
.aspm-ov--detail .aspm-gold__badge { padding: 9px 12px; font-size: 11px; max-width: calc(100% - 90px); }
.aspm-ov--detail .aspm-gold__seal { width: 76px; height: 76px; flex-basis: 76px; font-size: 11px; }
.aspm-ov--detail .aspm-gold__seal strong { font-size: 28px; }
.aspm-ov--detail .aspm-gold__ribbon { font-size: 12px; }
.aspm-ov--detail .aspm-gold__eyebrow { font-size: 16px; }
.abpc-top:has(.aspm-gold__badge) > .abpc-badges { top: 74px; }
.abpc-h-overlay:hover .aspm-gold__panel--bottom, .abpc-h-overlay:focus-within .aspm-gold__panel--bottom { opacity: 0; }
@container aspm-card (max-width: 220px) {
 .aspm-gold__top { top: 10px; left: 10px; right: 10px; gap: 4px; }
 .aspm-gold__badge { font-size: 8px; padding: 4px; letter-spacing: .2px; max-width: calc(100% - 48px); }
 .aspm-gold__badge svg { display: none; }
 .aspm-gold__seal { width: 44px; height: 44px; flex-basis: 44px; font-size: 8px; }
 .aspm-gold__seal strong { font-size: 17px; }
 .aspm-gold__panel { padding: 10px 8px 7px; gap: 3px; }
 .aspm-gold__eyebrow { font-size: 11px; letter-spacing: 2px; }
 .aspm-gold__ribbon { font-size: 8px; padding: 3px 12px; }
}
@media(max-width:767.98px) {
 .aspm-ov--black-gold .aspm-gold__seal { display: none; }
 .aspm-ov--black-gold .aspm-gold__badge { max-width: 100%; font-size: 8px; padding: 4px 6px; }
 .aspm-ov--black-gold .aspm-gold__top { left: auto; max-width: 58%; right: 10px; top: 10px; }
 .abpc-top:has(.aspm-ov--black-gold) > .abpc-badges { top: 12px; max-width: 32%; }
 .aspm-ov--black-gold.aspm-ov--detail { --aspm-gold-title: clamp(19px,6vw,27px); }
 .aspm-ov--detail .aspm-gold__top { display: none; }
 .aspm-ov--detail .aspm-gold__panel { inset: 0 0 auto; padding: 8px 12px 12px; gap: 4px; background: linear-gradient(to bottom,rgba(10,10,10,.94),rgba(15,15,15,.74) 65%,transparent); }
 .aspm-ov--detail .aspm-gold__eyebrow { display: none; }
 .aspm-ov--detail .aspm-gold__ribbon { font-size: 10px; }
}
@media(forced-colors:active) { .aspm-gold__title { background: none; color: CanvasText; } .aspm-gold__badge,.aspm-gold__ribbon,.aspm-gold__seal { border: 1px solid CanvasText; } }

/* Small cards keep the native label as the only upper badge. */
@media(max-width:767.98px) { .abpc-top:has(> .abpc-badges .abpc-badge) .aspm-gold__top { display:none; } }

/* Match the site's sans-serif headings rather than heavy, widely tracked display type. */
.aspm-ov--black-gold { --aspm-font: var(--autoboss-font-sans, 'IBM Plex Sans', Arial, sans-serif); }
.aspm-ov--black-gold :is(.aspm-gold__title,.aspm-gold__ribbon,.aspm-gold__eyebrow,.aspm-gold__seal) { font-family: inherit; }
.aspm-ov--black-gold .aspm-gold__title { font-weight: 700; letter-spacing: 0; }
.aspm-ov--black-gold .aspm-gold__ribbon { font-weight: 600; letter-spacing: .02em; }
.aspm-ov--black-gold .aspm-gold__eyebrow { font-weight: 700; letter-spacing: .12em; }
.aspm-ov--black-gold .aspm-gold__seal, .aspm-ov--black-gold .aspm-gold__seal strong { font-weight: 700; }

/* Keep phone cards focused on the product, campaign title and offer. */
@media(max-width:767.98px) { .aspm-ov--card.aspm-ov--black-gold .aspm-gold__eyebrow { display: none; } }

/* Campaign copy follows the available product-summary width, not only the viewport. */
.aspm-strip { container: aspm-strip / inline-size; min-width: 0; }
.aspm-strip__title { align-items: flex-start; line-height: 1.4; letter-spacing: .02em; }
.aspm-strip__title > span { min-width: 0; white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
.aspm-strip__title > .aspm-i { flex-shrink: 0; margin-top: .18em; }
.aspm-strip__cd { min-width: 0; max-width: 100%; flex-wrap: wrap; }
@container aspm-strip (max-width: 600px) {
 .aspm-strip__main, .aspm-strip__cd { grid-column: 1 / -1; }
 .aspm-strip__cd { justify-self: end; justify-content: flex-end; }
}

.aspm-headline__part { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
