/*
 * AUTOBOSS Home — base (desktop) styles. Tablet and phone rules are in tablet.css / mobile.css,
 * loaded with media attributes built from the breakpoints in the settings.
 * Measurements follow the eBay home page (research-ebay-home): 16px radius, 24/32 headings, 32–40px round arrows.
 */
#abhm {
	--abhm-cols: 5;
	padding: var(--abhm-top) 0 1px;
	color: var(--abhm-text);
	font-size: 14px;
	line-height: 20px;
}
#abhm *, #abhm *::before, #abhm *::after { box-sizing: border-box; }
#abhm a { color: inherit; }
#abhm img { max-width: 100%; height: auto; }
#abhm ul { margin: 0; padding: 0; list-style: none; }
#abhm p { margin: 0; }
.abhm-sr {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.abhm-i { display: block; flex: none; width: 24px; height: 24px; }

/* Module frame and heading. */
.abhm-mod { width: var(--abhm-cwidth); max-width: var(--abhm-cw); margin: 0 auto var(--abhm-space); }
.abhm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
#abhm .abhm-h2 { margin: 0; color: var(--abhm-text); font-size: var(--abhm-h2); font-weight: 700; line-height: 1.34; letter-spacing: 0; }
#abhm .abhm-more { display: inline-flex; flex: none; align-items: center; gap: 4px; color: var(--abhm-link); font-size: 14px; font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }
#abhm .abhm-more .abhm-i { width: 16px; height: 16px; }
#abhm .abhm-more:hover { text-decoration-thickness: 2px; }
.abhm-count { display: block; color: var(--abhm-muted); font-size: 12px; font-weight: 400; line-height: 16px; }

/* Buttons. */
#abhm .abhm-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#abhm .abhm-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 24px;
	border: 1px solid var(--fg, var(--abhm-accent)); border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1;
	text-decoration: none; white-space: nowrap; transition: opacity .15s;
}
#abhm .abhm-btn-1 { background: var(--fg, var(--abhm-accent)); color: var(--bg, var(--abhm-accent-fg)); }
#abhm .abhm-btn-2 { background: transparent; color: var(--fg, var(--abhm-accent)); }
#abhm .abhm-btn:hover { opacity: .86; }
#abhm a:focus-visible, #abhm button:focus-visible, #abhm summary:focus-visible { outline: 2px solid #3665f3; outline-offset: 2px; }

/* Horizontal scroller (rails, circles, cards). */
.abhm-scroller { position: relative; }
#abhm .abhm-track {
	display: flex; gap: var(--abhm-gap); margin: -6px 0; padding: 6px 0; overflow-x: auto; overflow-y: hidden;
	overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none;
}
#abhm .abhm-track::-webkit-scrollbar { display: none; }
#abhm .abhm-track > li { flex: 0 0 auto; float: none; margin: 0; scroll-snap-align: start; }
#abhm .abhm-cards > li { width: calc((100% - (var(--abhm-per) - 1) * var(--abhm-gap)) / var(--abhm-per)); max-width: none; }
/* Product cards grow on hover (scale + surface bleed + shadow); a scrolling track clips on both axes, so give the
   rail room that is cancelled by an equal negative margin. Tablet/mobile rules override the inline values. */
#abhm .abhm-cards { margin: -24px -20px -48px; padding: 24px 20px 48px; scroll-padding-inline: 20px; }
#abhm .abhm-grid { display: grid; grid-template-columns: repeat(var(--abhm-cols), minmax(0, 1fr)); gap: 24px var(--abhm-gap); }
#abhm .abhm-grid > li { width: auto; margin: 0; float: none; }
#abhm ul.products::before, #abhm ul.products::after { display: none; }
.abhm-arrow {
	position: absolute; z-index: 3; top: var(--arrow-top, 50%); display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #191919;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .16); cursor: pointer; opacity: 0; transition: opacity .2s;
}
.abhm-arrow .abhm-i { width: 20px; height: 20px; }
.abhm-arrow[hidden], .abhm-arrow:disabled { display: none; }
.abhm-scroller > .abhm-prev { left: -20px; }
.abhm-scroller > .abhm-next { right: -20px; }
.abhm-scroller:hover > .abhm-arrow, .abhm-arrow:focus-visible, .abhm-hero-in:hover > .abhm-arrow { opacity: 1; }
@media (hover: none) { .abhm-scroller > .abhm-arrow { display: none; } }

/* Hero. */
.abhm-hero-in { position: relative; overflow: hidden; border-radius: var(--abhm-r); }
.abhm-hero-in.abhm-bleed { border-radius: 0; }
.abhm-hero .abhm-mod, .abhm-hero.abhm-mod:has(.abhm-bleed) { max-width: none; }
.abhm-hero:has(.abhm-bleed) { width: 100%; max-width: none; }
.abhm-slides { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.abhm-slides::-webkit-scrollbar { display: none; }
#abhm .abhm-slide {
	position: relative; display: grid; flex: 0 0 100%; grid-template-columns: minmax(0, 44%) minmax(0, 56%); grid-template-rows: minmax(0, 1fr); align-items: center;
	height: var(--h-d); overflow: hidden; background: var(--bg); color: var(--fg); text-decoration: none; scroll-snap-align: start;
}
.abhm-slide-text { position: relative; z-index: 2; padding: 32px 24px 56px 64px; }
#abhm .abhm-eyebrow { margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: .02em; opacity: .85; }
#abhm .abhm-slide-title { font-size: var(--abhm-hero-h); font-weight: 700; line-height: 1.28; }
#abhm .abhm-slide-desc { max-width: 480px; margin-top: 12px; font-size: 16px; line-height: 24px; opacity: .9; }
.abhm-slide-media { position: relative; align-self: stretch; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.abhm-slide-media picture { display: block; height: 100%; }
#abhm .abhm-slide-media img { display: block; width: 100%; height: 100%; padding: 24px 48px 24px 0; object-fit: var(--fit, contain); }
/* Photo slides: the picture fills the slide, text sits on a left fade. */
#abhm .abhm-hero-cover .abhm-slide, #abhm .abhm-slide:has(.abhm-slide-media img[class]) { }
.abhm-slide[style*="--fit:cover"] .abhm-slide-media, .abhm-hero-cover .abhm-slide-media { position: absolute; inset: 0; }
#abhm .abhm-slide[style*="--fit:cover"] .abhm-slide-media img, #abhm .abhm-hero-cover .abhm-slide-media img { padding: 0; object-fit: cover; }
.abhm-slide[style*="--fit:cover"] .abhm-slide-media::after, .abhm-hero-cover .abhm-slide-media::after {
	position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 38%, transparent 72%);
}
.abhm-hero-ctrl {
	position: absolute; z-index: 3; bottom: 16px; left: 64px; display: flex; align-items: center; gap: 8px; padding: 6px 8px;
	border-radius: 999px; background: rgba(0, 0, 0, .38);
}
.abhm-dots { display: flex; gap: 6px; }
.abhm-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .2s; }
.abhm-dot[aria-current="true"] { width: 24px; background: #fff; }
.abhm-pause { display: flex; width: 24px; height: 24px; padding: 2px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.abhm-pause .abhm-i { width: 20px; height: 20px; }
.abhm-pause .abhm-i-play, .abhm-pause.is-paused .abhm-i-pause { display: none; }
.abhm-pause.is-paused .abhm-i-play { display: block; }
.abhm-hero-in > .abhm-prev { left: 16px; }
.abhm-hero-in > .abhm-next { right: 16px; }
.abhm-hero-in > .abhm-arrow { top: 50%; }
/* eBay "Brand Outlet" style: product cards instead of an image. */
.abhm-picks { display: flex; align-items: center; padding: 24px 48px 24px 0; }
#abhm .abhm-picks ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
#abhm .abhm-pick { display: flex; flex-direction: column; height: 100%; padding: 12px; border-radius: 12px; background: #fff; color: #191919; text-decoration: none; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.abhm-pick-img { display: block; aspect-ratio: 1; }
#abhm .abhm-pick-img img { width: 100%; height: 100%; padding: 0; object-fit: contain; }
.abhm-pick-name { display: -webkit-box; margin-top: 8px; overflow: hidden; font-size: 13px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.abhm-pick-price { margin-top: auto; padding-top: 6px; font-size: 16px; font-weight: 700; }
.abhm-pick-price del { color: #707070; font-size: 12px; font-weight: 400; }
.abhm-pick-price ins { text-decoration: none; }

/* Category tiles (eBay rounded squares / circles). */
#abhm .abhm-circles > li { width: var(--size-d); }
#abhm .abhm-circle-link { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; }
.abhm-circle { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--abhm-r); background: var(--img-bg); transition: box-shadow .2s; }
.abhm-shape-circle .abhm-circle { border-radius: 50%; }
#abhm .abhm-circle img { display: block; width: 100%; height: 100%; padding: 12%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.abhm-circle-link:hover .abhm-circle img { transform: scale(1.05); }
.abhm-circle-name { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.abhm-circle-link:hover .abhm-circle-name { text-decoration: underline; }
/* Wide screens: tiles share the row instead of leaving a gap at the right. */
@media (min-width: 1280px) {
	#abhm .abhm-circles { justify-content: space-between; }
}

/* Brand wall. */
#abhm .abhm-brands { display: grid; grid-template-columns: repeat(var(--cols-d), minmax(0, 1fr)); gap: 12px; }
.abhm-brand-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--abhm-border); border-radius: var(--abhm-rs); background: #fff; transition: border-color .15s, box-shadow .15s; }
.abhm-brand-card:hover { border-color: #c7c7c7; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
#abhm .abhm-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 104px; padding: 16px 12px; text-align: center; text-decoration: none; }
.abhm-brand-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; }
#abhm .abhm-brand-logo img { width: auto; max-width: 78%; height: auto; max-height: 52px; object-fit: contain; }
.abhm-brand-name { font-size: 18px; font-weight: 800; line-height: 24px; letter-spacing: .02em; }
#abhm .abhm-brand-links { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding: 8px 12px 12px; border-top: 1px solid var(--abhm-border); background: var(--abhm-surface); }
#abhm .abhm-brand-links a { display: block; overflow: hidden; color: var(--abhm-muted); font-size: 12px; line-height: 20px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
#abhm .abhm-brand-links a:hover { color: var(--abhm-text); text-decoration: underline; }
.abhm-az { margin-top: 16px; }
.abhm-az > summary {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 20px; border: 1px solid var(--abhm-text);
	border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none;
}
.abhm-az > summary::-webkit-details-marker { display: none; }
.abhm-az > summary .abhm-i { width: 16px; height: 16px; transition: transform .2s; }
.abhm-az[open] > summary .abhm-i { transform: rotate(180deg); }
.abhm-az-body { margin-top: 16px; padding: 20px 24px; border-radius: var(--abhm-r); background: var(--abhm-surface); columns: 5 160px; column-gap: 24px; }
.abhm-az-group { margin-bottom: 12px; break-inside: avoid; }
#abhm .abhm-az-letter { margin-bottom: 4px; font-size: 16px; font-weight: 700; }
#abhm .abhm-az-group a { display: block; padding: 2px 0; font-size: 14px; text-decoration: none; }
#abhm .abhm-az-group a:hover { text-decoration: underline; }
.abhm-az-group .abhm-count { display: inline; }

/* Category group cards. */
#abhm .abhm-gcards { display: grid; grid-template-columns: repeat(var(--cols-d), minmax(0, 1fr)); gap: 16px; overflow: visible; scroll-snap-type: none; }
#abhm .abhm-gcards ~ .abhm-arrow, .abhm-scroller:has(.abhm-gcards) > .abhm-arrow { display: none; }
#abhm .abhm-gcards > li { width: auto; }
.abhm-gcard { display: flex; flex-direction: column; padding: 20px; border-radius: var(--abhm-r); background: var(--abhm-surface); }
.abhm-gcard-head { margin-bottom: 12px; }
#abhm .abhm-gcard-title { font-size: 18px; font-weight: 700; line-height: 24px; text-decoration: none; }
#abhm .abhm-gcard-title:hover { text-decoration: underline; }
#abhm .abhm-gsubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#abhm .abhm-gsubs a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.abhm-gsub-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--abhm-rs); background: #fff; }
#abhm .abhm-gsub-img img { display: block; width: 100%; height: 100%; padding: 10%; object-fit: contain; transition: transform .25s; }
#abhm .abhm-gsubs a:hover img { transform: scale(1.05); }
.abhm-gsub-name { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#abhm .abhm-gsubs a:hover .abhm-gsub-name { text-decoration: underline; }
#abhm .abhm-gcard-all { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
#abhm .abhm-gcard-all .abhm-i { width: 16px; height: 16px; }

/* Promo tiles. */
#abhm .abhm-tiles { display: grid; grid-template-columns: repeat(var(--cols-d), minmax(0, 1fr)); gap: 16px; overflow: visible; scroll-snap-type: none; }
.abhm-scroller:has(.abhm-tiles) > .abhm-arrow { display: none; }
#abhm .abhm-tiles > li { width: auto; }
#abhm .abhm-tile { display: flex; align-items: stretch; height: var(--h-d); overflow: hidden; border-radius: var(--abhm-r); background: var(--bg); color: var(--fg); text-decoration: none; }
.abhm-tile-text { display: flex; flex: 1 1 55%; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-width: 0; padding: 24px 8px 24px 24px; }
.abhm-tile-title { font-size: 20px; font-weight: 700; line-height: 28px; }
.abhm-tile-desc { font-size: 14px; line-height: 20px; opacity: .85; }
#abhm .abhm-tile .abhm-btn { min-height: 36px; margin-top: 8px; padding: 0 18px; font-size: 13px; }
.abhm-tile-media { flex: 0 0 45%; min-width: 0; }
#abhm .abhm-tile-media img { display: block; width: 100%; height: 100%; padding: 16px 16px 16px 0; object-fit: contain; transition: transform .3s; }
#abhm a.abhm-tile:hover .abhm-tile-media img { transform: scale(1.04); }
#abhm a.abhm-tile:hover .abhm-tile-title { text-decoration: underline; }

/* Tabs. */
.abhm-tablist { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.abhm-tablist::-webkit-scrollbar { display: none; }
#abhm .abhm-tab {
	flex: none; min-height: 36px; padding: 0 16px; border: 1px solid var(--abhm-border); border-radius: 999px; background: #fff;
	color: var(--abhm-text); font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
}
#abhm .abhm-tab:hover { border-color: var(--abhm-text); }
#abhm .abhm-tab[aria-selected="true"] { border-color: var(--abhm-text); background: var(--abhm-text); color: #fff; }
#abhm .abhm-tab-all { margin-top: 12px; }
#abhm .abhm-tab-all a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
#abhm .abhm-tab-all .abhm-i { width: 16px; height: 16px; }

/* Service bar. */
#abhm .abhm-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 24px; }
#abhm .abhm-sv-plain { padding: 24px 0; border-top: 1px solid var(--abhm-border); border-bottom: 1px solid var(--abhm-border); }
#abhm .abhm-sv-boxed > li { padding: 16px; border-radius: var(--abhm-r); background: var(--abhm-surface); }
#abhm .abhm-sv { display: flex; align-items: flex-start; gap: 12px; text-decoration: none; }
#abhm .abhm-sv .abhm-i { width: 28px; height: 28px; }
.abhm-sv strong { display: block; font-size: 15px; font-weight: 700; line-height: 20px; }
.abhm-sv small { display: block; margin-top: 2px; color: var(--abhm-muted); font-size: 13px; line-height: 18px; }
#abhm a.abhm-sv:hover strong { text-decoration: underline; }

/* Text block. */
.abhm-text-body { max-width: var(--max-w); color: var(--abhm-muted); font-size: 15px; line-height: 24px; }
.abhm-text-body.abhm-align-center { margin: 0 auto; text-align: center; }
.abhm-text .abhm-head:has(+ .abhm-align-center) { justify-content: center; }
#abhm .abhm-text-body p + p { margin-top: 12px; }
#abhm .abhm-text-body a { color: var(--abhm-text); text-decoration: underline; }
.abhm-fold-btn { display: none; }

@media (prefers-reduced-motion: reduce) {
	#abhm *, .abhm-slides, #abhm .abhm-track { scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 1279px) {
	#abhm .abhm-slide-title { font-size: min(var(--abhm-hero-h), 30px); }
}
