/*
 * AUTOBOSS Header & Footer — AUTOOL footer design (setting fstyle = autool).
 * Structure, colours and spacing follow the autoolstore.com footer (2026-10-25 capture): carbon background,
 * newsletter band, brand column + link columns, service tiles, bottom bar. Kept from this store: the site
 * font, the global button layer (as-ui.css: 2px, uppercase, accent role for Subscribe), monochrome hover on
 * real pointers only, no animation the visitor did not start, full-colour payment badges.
 * The desktop body (.abhf-fd) and the phone part (.abhf-fm) switch at the phone breakpoint (inline CSS).
 */

.abhf-af {
	--af-brand: var(--as-yellow, #feb511);
	--af-bg-0: #0c0e10;
	--af-bg-1: #101316;
	--af-panel: #14181b;
	--af-panel-2: #171b1f;
	--af-heading: #f2f5f7;
	--af-text: #9aa4ac;
	--af-text-soft: #8a939b;
	--af-line: rgba(255, 255, 255, .08);
	--af-line-strong: rgba(255, 255, 255, .14);
	--af-r-ctrl: var(--as-radius-ctrl, 2px);
	--af-r-sm: var(--as-radius-sm, 4px);
	position: relative;
	background: var(--af-bg-0);
	color: var(--af-text);
	font-size: 15px;
	line-height: 1.6;
}
/* Brand hairline at the very top. */
.abhf-af::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent 0%, rgba(254, 181, 17, 0) 8%, var(--af-brand) 50%, rgba(254, 181, 17, 0) 92%, transparent 100%); opacity: .9; pointer-events: none; }
.abhf.abhf-af a { color: inherit; }
.abhf-af a:focus-visible, .abhf-af summary:focus-visible, .abhf-af button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.abhf-af .abhf-row { position: relative; }

/* ---------- newsletter band ---------- */
.abhf-af-news { position: relative; overflow: hidden; border-bottom: 1px solid var(--af-line); background: var(--af-bg-1); }
.abhf-af-news::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--af-line) 1px, transparent 1px), linear-gradient(90deg, var(--af-line) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(120% 140% at 15% 0%, #000 0%, transparent 62%); mask-image: radial-gradient(120% 140% at 15% 0%, #000 0%, transparent 62%); opacity: .5; pointer-events: none; }
.abhf-af-news::after { content: ""; position: absolute; top: -40%; left: -8%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(254, 181, 17, .14) 0%, transparent 68%); pointer-events: none; }
.abhf-af-news-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 520px); gap: 40px; align-items: center; padding: 44px 0; z-index: 1; }
.abhf .abhf-af-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--af-brand); font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.abhf-af-kicker::before { content: ""; width: 7px; height: 7px; background: var(--af-brand); box-shadow: 0 0 0 3px rgba(254, 181, 17, .18); }
.abhf .abhf-af-headline { margin: 0 0 12px; color: var(--af-heading); font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; }
.abhf-af-headline b { color: var(--af-brand); font-weight: inherit; }
.abhf .abhf-af-sub { max-width: 60ch; margin: 0; color: var(--af-text); }
/* HUD corner brackets around the form. */
.abhf-af-form { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.abhf-af-form::before, .abhf-af-form::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid var(--af-brand); opacity: .85; pointer-events: none; }
.abhf-af-form::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.abhf-af-form::after { right: -10px; bottom: -10px; border-top: 0; border-left: 0; }
.abhf .abhf-af-note { margin: 12px 0 0; color: var(--af-text-soft); font-size: 12px; letter-spacing: .02em; }

/* Fluent Forms e-mail + button as one joined field (the button keeps the global accent role from as-ui.css). */
.abhf-af-form .fluentform, .abhf-af-form .fluentform form { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
.abhf-af-form form.frm-fluent-form { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; overflow: hidden; border: 1px solid var(--af-line-strong); border-radius: var(--af-r-ctrl); background: rgba(255, 255, 255, .03); transition: border-color .2s ease; }
.abhf-af-form form.frm-fluent-form.ff_force_hide { display: none !important; }
.abhf-af-form form.frm-fluent-form:focus-within { border-color: var(--af-heading); }
.abhf-af-form form.frm-fluent-form fieldset { display: contents !important; }
.abhf-af-form form.frm-fluent-form legend, .abhf-af-form .ff_screen_reader_title { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.abhf-af-form .ff-el-group, .abhf-af-form .ff-el-input--content { margin: 0 !important; padding: 0 !important; }
.abhf-af-form .ff-el-input--content { height: 100%; }
.abhf .abhf-af-form input[type="email"] { width: 100% !important; min-width: 0; height: 52px !important; min-height: 52px !important; margin: 0 !important; padding: 0 18px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--af-heading) !important; font: inherit; font-size: 16px !important; text-align: left !important; outline: none !important; }
.abhf .abhf-af-form input[type="email"]::placeholder { color: var(--af-text-soft); opacity: 1; }
.abhf-af-form .ff_submit_btn_wrapper { display: flex !important; align-items: stretch; }
.abhf .abhf-af-form .ff-btn-submit { flex: 1 1 auto; width: 100% !important; min-width: 160px !important; height: 52px !important; min-height: 52px !important; margin: 0 !important; padding: 0 24px !important; border-width: 0 !important; border-radius: 0 !important; white-space: nowrap; }
.abhf-af-form .ff-errors-in-stack, .abhf-af-form .text-danger, .abhf-af-form .ff-message-success { margin-top: 10px; color: var(--af-heading); font-size: 13px; line-height: 1.4; }
.abhf-af-form .ff-message-success { padding: 12px 14px; border: 1px solid var(--af-line-strong); border-radius: var(--af-r-ctrl); background: var(--af-panel); box-shadow: none; }

/* ---------- brand + link columns ---------- */
.abhf-af-main { background: var(--af-bg-0); }
.abhf-af-body { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(var(--abhf-af-n, 3), minmax(0, 1fr)); gap: 30px; padding: 60px 0 50px; }
.abhf-af-logo { display: inline-block; width: var(--abhf-af-logo, 188px); max-width: 100%; }
.abhf .abhf-af-logo img { display: block; width: 100%; height: auto; }
.abhf-af-company { display: grid; gap: 5px; max-width: 56ch; margin: 20px 0 0; color: var(--af-text); font-size: 14px; line-height: 1.55; }
.abhf-af-company strong { color: var(--af-heading); font-weight: 600; }
.abhf-af-contact { display: grid; gap: 11px; margin-top: 20px; }
.abhf .abhf-af-contact a { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--af-heading); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.abhf-af-contact .abhf-i { flex: none; color: var(--af-brand); }
.abhf-af-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.abhf .abhf-af-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--af-line-strong); border-radius: var(--af-r-ctrl); background: var(--af-panel); color: var(--af-heading); transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.abhf-af-social svg { width: 18px; height: 18px; }
.abhf .abhf-af-title { position: relative; margin: 4px 0 18px; padding-left: 14px; color: var(--af-heading); font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.abhf-af-title::before { content: ""; position: absolute; left: 0; top: 1px; bottom: 1px; width: 3px; background: var(--af-brand); }
.abhf .abhf-af-links { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.abhf-af-links li { margin: 0; line-height: 1.45; }
.abhf .abhf-af-links a { color: var(--af-text); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.abhf-af .abhf-ftext { color: var(--af-text); }
.abhf-af .abhf-ftext a { color: var(--af-heading); }

/* Phone: brand block + accordions (first one open). */
.abhf .abhf-af-m { padding: 40px 0 8px; background: transparent; }
.abhf-af-m > .abhf-af-brand { padding-bottom: 26px; }
.abhf-af-acc { border-top: 1px solid var(--af-line); }
.abhf-af-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0; color: var(--af-heading); font-size: 15px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; list-style: none; cursor: pointer; }
.abhf-af-acc summary::-webkit-details-marker { display: none; }
.abhf-af-acc summary .abhf-i { flex: none; color: var(--af-brand); transition: transform .2s ease; }
.abhf-af-acc[open] summary .abhf-i { transform: rotate(180deg); }
.abhf-af-acc-body { padding: 2px 0 18px; }
.abhf-af-open { padding: 18px 0; }
.abhf-af-m .abhf-af-links { gap: 0; }
.abhf-af-m .abhf-af-links a { display: block; padding: 8px 0; }

/* ---------- service tiles ---------- */
.abhf-af-trust { border-top: 1px solid var(--af-line); border-bottom: 1px solid var(--af-line); background: var(--af-bg-1); }
.abhf .abhf-af-tiles { display: grid; grid-template-columns: repeat(var(--abhf-af-t, 5), minmax(0, 1fr)); margin: 0 auto; padding: 0; list-style: none; }
.abhf-af-tiles > li { min-width: 0; margin: 0; border-right: 1px solid var(--af-line); }
.abhf-af-tiles > li:last-child { border-right: 0; }
.abhf .abhf-af-tile { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; min-height: 112px; padding: 22px 20px; color: inherit; transition: background-color .2s ease; }
.abhf-af-tile-i { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--af-line-strong); border-radius: var(--af-r-sm); background: var(--af-panel-2); color: var(--af-brand); transition: border-color .2s ease; }
.abhf-af-tile-t { display: grid; gap: 3px; min-width: 0; }
.abhf-af-tile-t strong { display: inline-flex; align-items: center; gap: 7px; color: var(--af-heading); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.abhf-af-tile-t strong::after { content: ""; flex: none; width: 6px; height: 6px; background: var(--af-brand); }
.abhf-af-tile-t small { color: var(--af-text-soft); font-size: 13px; line-height: 1.4; }

/* ---------- bottom bar ---------- */
.abhf-af-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 28px; }
.abhf-af-meta { display: grid; gap: 10px; }
.abhf-af-privacy { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.abhf .abhf-af-privacy a { display: inline-flex; align-items: center; gap: 6px; width: fit-content; color: var(--af-text); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.abhf-af-privacy .abpvc-icon, .abhf-af-privacy svg { height: 14px; width: auto; }
.abhf-af-copy { color: var(--af-text-soft); font-size: 13px; }
.abhf-af-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.abhf .abhf-af-legal a { color: var(--af-text-soft); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.abhf-af-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.abhf-af-pay .abhf-card-item { border-radius: var(--af-r-sm); }

/* ---------- hover: real pointers only, monochrome (no colour role swap, no lift, no glow) ---------- */
@media (hover: hover) and (pointer: fine) {
	.abhf .abhf-af-links a:hover { color: var(--af-heading); text-decoration-color: currentColor; }
	.abhf .abhf-af-contact a:hover span, .abhf .abhf-af-privacy a:hover .abpvc-link__text, .abhf .abhf-af-legal a:hover { color: var(--af-heading); text-decoration: underline; text-underline-offset: 4px; }
	.abhf .abhf-af-social a:hover { border-color: var(--af-heading); background: var(--af-panel-2); }
	.abhf a.abhf-af-tile:hover { background: var(--af-panel); }
	.abhf a.abhf-af-tile:hover .abhf-af-tile-i { border-color: var(--af-heading); }
	.abhf-af-acc summary:hover span { color: #fff; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
	.abhf-af-news-in { grid-template-columns: 1fr; gap: 26px; }
	.abhf-af-form { justify-self: stretch; max-width: none; }
	.abhf-af-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; }
	.abhf .abhf-af-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.abhf-af-tiles > li { border-bottom: 1px solid var(--af-line); }
	.abhf-af-tiles > li:nth-child(3n) { border-right: 0; }
	.abhf-af-tiles > li:nth-last-child(-n+3):nth-child(3n+1), .abhf-af-tiles > li:nth-last-child(-n+3):nth-child(3n+1) ~ li { border-bottom: 0; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
	.abhf-af-news-in { padding: 32px 0; }
	.abhf-af-logo { width: min(var(--abhf-af-logo, 188px), 120px); } /* phone: no larger than the header logo */
	.abhf .abhf-af-headline { font-size: clamp(26px, 7.5vw, 34px); }
	.abhf-af-form::before, .abhf-af-form::after { display: none; }
	/* Service tiles: two-column grid (store default), swipe row or hidden — setting trust.mobile. */
	.abhf .abhf-af-trm-grid .abhf-af-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.abhf-af-trm-grid .abhf-af-tiles > li, .abhf-af-trm-grid .abhf-af-tiles > li:nth-child(3n) { border-right: 1px solid var(--af-line); border-bottom: 1px solid var(--af-line); }
	.abhf-af-trm-grid .abhf-af-tiles > li:nth-child(2n) { border-right: 0; }
	.abhf-af-trm-grid .abhf-af-tiles > li:nth-last-child(-n+2):nth-child(2n+1), .abhf-af-trm-grid .abhf-af-tiles > li:nth-last-child(-n+2):nth-child(2n+1) ~ li { border-bottom: 0; }
	.abhf-af-trm-grid .abhf-af-tiles > li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
	.abhf .abhf-af-trm-scroll .abhf-af-tiles { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
	.abhf-af-trm-scroll .abhf-af-tiles::-webkit-scrollbar { display: none; }
	.abhf-af-trm-scroll .abhf-af-tiles > li { flex: 0 0 72%; border-bottom: 0; scroll-snap-align: start; }
	.abhf-af-trm-hide { display: none; }
	.abhf .abhf-af-tile { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 18px 14px; }
	.abhf-af-tile-i { width: 40px; height: 40px; }
	.abhf-af-bottom-in { flex-direction: column; align-items: center; padding: 26px 0 calc(28px + env(safe-area-inset-bottom)); text-align: center; }
	.abhf-af-meta { justify-items: center; }
	.abhf-af-privacy, .abhf-af-legal, .abhf-af-pay { justify-content: center; }
}
@media (max-width: 460px) {
	.abhf-af-form form.frm-fluent-form { grid-template-columns: minmax(0, 1fr) minmax(112px, 38%); }
	.abhf .abhf-af-form .ff-btn-submit { min-width: 0 !important; padding: 0 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.abhf-af *, .abhf-af *::before, .abhf-af *::after { transition-duration: .01ms !important; }
}
