/*
 * AUTOBOSS Header & Footer — AliExpress-style layout.
 * Dimensions follow the 2026-09-30 aliexpress.us capture (desktop) and live mobile site (see PLUGIN_SPEC.md).
 * Colour/font/logo tokens and the phone breakpoint come from inline CSS generated from the settings.
 */

/* ---------- base / theme resets (scoped) ---------- */
.abhf, .abhf *, .abhf *::before, .abhf *::after { box-sizing: border-box; }
.abhf { font-family: var(--abhf-font, inherit); font-size: 14px; line-height: normal; color: var(--abhf-text, #191919); -webkit-font-smoothing: antialiased; text-align: left; }
.abhf a { color: inherit; text-decoration: none; }
.abhf a:hover { text-decoration: none; }
.abhf h2, .abhf h3, .abhf p, .abhf ul, .abhf dl, .abhf dd { margin: 0; padding: 0; }
.abhf h2, .abhf h3 { font-family: inherit; letter-spacing: normal; text-transform: none; }
.abhf ul { list-style: none; }
.abhf img, .abhf svg { display: block; max-width: none; }
.abhf button { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; min-height: 0; font: inherit; line-height: inherit; color: inherit; letter-spacing: normal; text-transform: none; cursor: pointer; }
.abhf button:hover, .abhf button:focus { background-color: transparent; color: inherit; }
.abhf input[type="search"], .abhf input[type="text"] { -webkit-appearance: none; appearance: none; margin: 0; min-height: 0; height: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; color: inherit; letter-spacing: normal; }
.abhf input[type="search"]::-webkit-search-cancel-button, .abhf input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.abhf a:focus-visible, .abhf button:focus-visible, .abhf summary:focus-visible, .abhf [tabindex]:focus-visible { outline: 2px solid #005fcc; outline-offset: 2px; }
.abhf [hidden], .abhf-ov[hidden] { display: none !important; }
.abhf .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- container: AliExpress row widths ---------- */
.abhf .abhf-row { width: 1104px; margin: 0 auto; }
@media (min-width: 1440px) { .abhf .abhf-row { width: 1264px; } }
@media (min-width: 1552px) { .abhf .abhf-row { width: 1376px; } .abhf-ft .abhf-row { width: 1364px; } }
@media (min-width: 1792px) { .abhf .abhf-row, .abhf-ft .abhf-row { width: 1616px; } }
@media (max-width: 1279px) { .abhf .abhf-row { width: auto; margin: 0 24px; } }
@media (max-width: 1023px) { .abhf .abhf-row { margin: 0 16px; } }

/* ---------- header host (Blocksy <header id="header">) ---------- */
body.abhf-has-header #header, body.abhf-has-header #abhf-header { position: relative; z-index: 100; background: #fff; }
body.abhf-has-header #header > .abhf-hd { position: relative; }

/* ---------- desktop / tablet: top row ---------- */
.abhf-top { background: #fff; }
.abhf-top-row { display: flex; height: 72px; padding-top: 10px; }
.abhf-logo { display: flex; align-items: center; flex: none; width: calc(var(--abhf-logo-w, 156px) + 40px); height: 60px; }
.abhf-logo-a { display: flex; align-items: center; margin-top: -2px; max-width: var(--abhf-logo-w, 156px); height: var(--abhf-logo-h, 40px); line-height: 0; }
.abhf .abhf-logo-img { width: auto; height: auto; max-width: var(--abhf-logo-w, 156px); max-height: var(--abhf-logo-h, 40px); object-fit: contain; object-position: left center; }
.abhf-logo-text { font-size: 24px; font-weight: 700; line-height: 40px; white-space: nowrap; color: var(--abhf-primary); }
.abhf-right { display: flex; flex: 1; min-width: 0; height: 50px; }
.abhf-top-row { position: relative; }
.abhf-search { flex: 1; min-width: 0; }

/* search box: 36px pill, 1px black border, 52×32 black button */
/* Desktop: AliExpress pill. Phone: the site's form-field radius (child theme: 4px). */
.abhf { --abhf-radius: var(--theme-form-field-border-radius, 4px); }
.abhf-sbox { position: relative; display: flex; height: 36px; margin-top: 10px; border: 1px solid #000; border-radius: 24px; background: #fff; }
/* The child theme forces a radius on every input with !important; the pill shape needs the same weight. */
.abhf .abhf-sbox .abhf-kw { border-radius: 0 !important; }
.abhf .abhf-sbox .abhf-kw { flex: 1; min-width: 0; height: 34px; margin: 0 0 0 14px; padding: 0 0 0 10px; font-size: 14px; line-height: 34px; color: #000; outline: 0; }
.abhf .abhf-kw::placeholder { color: #999; opacity: 1; }
.abhf .abhf-sbox .abhf-sbtn { display: flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 32px; margin: 1px 1px 0 0; border-radius: 20px; background: var(--abhf-primary, #191919); color: #fff; }
.abhf .abhf-sbox .abhf-sbtn:hover { background: var(--abhf-primary, #191919); color: #fff; opacity: .9; }
.abhf-sbtn .abhf-i { width: 22px; height: 22px; }

/* search suggestions */
/* Same width as the All Categories panel content (the header row). */
.abhf-spanel { position: absolute; top: 63px; left: 0; right: 0; z-index: 30; padding: 24px 24px 16px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .12); color: #191919; }
.abhf-sp-sec { display: flex; max-height: 382px; }
.abhf-sp-disc { display: flex; flex-direction: column; flex: none; width: 143px; min-height: 0; }
.abhf .abhf-sp-t { font-size: 16px; font-weight: 700; line-height: 24px; color: #191919; }
.abhf-sp-list { overflow-y: auto; scrollbar-width: thin; }
.abhf-sp-list li { margin: 14px 0; font-size: 14px; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abhf-sp-list a { color: #3a3e4a; }
.abhf-sp-list a:hover { color: var(--abhf-hover); }
.abhf-sp-line { flex: none; width: 1px; margin: 0 24px 0 8px; background: var(--abhf-border, #ebebeb); }
.abhf-sp-rec { flex: 1; min-width: 0; overflow: hidden; }
.abhf .abhf-sp-tw { margin-bottom: 16px; }
.abhf-sp-grid { display: flex; flex-wrap: wrap; column-gap: 12px; max-height: 324px; overflow: hidden; }
.abhf-sp-p { display: block; width: 120px; color: #3a3e4a; }
.abhf-sp-img { position: relative; display: block; width: 120px; height: 120px; overflow: hidden; background: #fff; }
.abhf-sp-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: .04; pointer-events: none; }
.abhf .abhf-sp-img img { width: 100%; height: 100%; object-fit: cover; }
.abhf-sp-name { display: block; margin: 8px 0 16px; font-size: 14px; line-height: 18px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abhf-sp-p:hover .abhf-sp-name { color: var(--abhf-hover); }

/* right-hand items: 44px tall, 8px padding, 32px icons, two-line 12px labels */
.abhf-items { display: flex; flex: none; height: 44px; margin-top: 6px; padding-left: 24px; }
.abhf-it { position: relative; display: flex; }
.abhf .abhf-it-btn { display: flex; align-items: center; height: 44px; padding: 0 8px; color: var(--abhf-text); white-space: nowrap; }
.abhf .abhf-it--cart .abhf-it-btn { position: relative; padding: 0 0 0 8px; }
.abhf-it-btn > .abhf-i { flex: none; width: 32px; height: 32px; }
.abhf-it-txt { display: block; margin-left: 4px; text-align: left; }
.abhf-sm { display: block; font-size: 12px; line-height: 12px; color: var(--abhf-text); }
.abhf-it-txt b { display: block; font-size: 12px; font-weight: 700; line-height: 16px; color: var(--abhf-text); }
.abhf-it-txt--app b { max-width: 100px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.abhf-it-txt b .abhf-i { display: inline-block; margin-left: 3px; vertical-align: -1px; }
.abhf .abhf-it-flag { flex: none; width: 24px; height: 17px; margin-right: 2px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.abhf-it--rg .abhf-it-txt { margin-left: 2px; }
.abhf-it--rg .abhf-it-btn > .abhf-i + .abhf-it-txt { margin-left: 4px; }
.abhf-cart-wrap { display: block; min-width: 24px; min-height: 14px; margin-top: -6px; }
.abhf-cart-num { display: inline-block; min-width: 24px; min-height: 14px; padding: 0 4px; border-radius: 16px; background: var(--abhf-primary, #191919); color: #fff; font-size: 12px; font-weight: 700; line-height: 14px; text-align: center; }
.abhf-it-txt--cart b { margin-top: 0; }

/* popovers (account / app / region) */
.abhf-pop { position: absolute; top: 100%; z-index: 40; }
.abhf-pop-body { position: relative; background: #fff; border-radius: 24px; box-shadow: 0 8px 36px rgba(0, 0, 0, .133); color: #222; font-size: 14px; line-height: 21px; }
.abhf-pop--acc, .abhf-pop--app { padding-top: 20px; }
.abhf-pop--acc { right: 0; }
.abhf-pop--app { left: -2px; }
.abhf-pop--acc .abhf-pop-body::before, .abhf-pop--app .abhf-pop-body::before { content: ""; position: absolute; top: -4px; left: var(--abhf-ax, 50%); width: 8.5px; height: 8.5px; margin-left: -4.25px; background: #fff; transform: rotate(45deg); box-shadow: -2px -2px 5px rgba(0, 0, 0, .06); }
.abhf-pop--rg { right: -24px; padding-top: 16px; }
.abhf-pop--rg .abhf-pop-body { width: 300px; padding: 8px 24px 24px; color: #191919; }
.abhf-pop--rg .abhf-pop-body::before { content: ""; position: absolute; top: -10px; right: 48px; width: 0; height: 0; border-right: 12px solid transparent; border-bottom: 10px solid #fff; border-left: 12px solid transparent; }

/* account */
.abhf-pop--acc .abhf-pop-body { width: 305px; padding-bottom: 4px; }
.abhf-acc-top { padding: 20px 24px 0; }
.abhf .abhf-acc-signin { display: block; height: 48px; border-radius: 24px; background: var(--abhf-primary, #191919); color: #fff; font-size: 20px; font-weight: 700; line-height: 48px; text-align: center; }
.abhf .abhf-acc-signin:hover { color: #fff; opacity: .92; }
.abhf .abhf-acc-reg { display: block; margin: 8px 0 16px; font-size: 14px; line-height: 18px; color: var(--abhf-muted, #757575); text-align: center; }
.abhf .abhf-acc-reg:hover { color: var(--abhf-hover); }
.abhf-acc-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; }
.abhf .abhf-acc-av { width: 48px; height: 48px; border-radius: 50%; }
.abhf-acc-user b { display: block; max-width: 197px; overflow: hidden; font-size: 16px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.abhf-acc-user span { display: block; max-width: 197px; overflow: hidden; font-size: 12px; line-height: 16px; color: var(--abhf-muted); text-overflow: ellipsis; white-space: nowrap; }
.abhf-acc-line { display: block; height: 1px; background: var(--abhf-border, #ebebeb); }
.abhf-acc-line--m { margin: 0 24px; }
.abhf .abhf-acc-m1 { padding: 10px 24px; }
.abhf .abhf-acc-m2 { padding: 10px 24px 4px; }
.abhf-acc-m1 li, .abhf-acc-m2 li { margin: 0; border-radius: 8px; }
.abhf-acc-m1 li:hover, .abhf-acc-m2 li:hover { margin: 0 -16px; padding: 0 16px; background: #f5f5f5; }
.abhf .abhf-acc-m1 a { display: flex; align-items: center; min-height: 40px; padding: 8px 0; color: #222; font-size: 16px; line-height: 24px; }
.abhf-acc-m1 a .abhf-i { flex: none; width: 16px; height: 16px; margin-right: 6px; }
.abhf .abhf-acc-m2 a { display: block; padding: 8px 0; color: var(--abhf-muted, #757575); font-size: 16px; line-height: 24px; }
.abhf .abhf-acc-m1 a:hover span, .abhf .abhf-acc-m2 a:hover { color: var(--abhf-hover); }

/* app */
.abhf-pop--app .abhf-pop-body { width: 560px; padding: 12px 16px; }
.abhf-app { display: flex; padding: 8px 12px; }
.abhf .abhf-app-qr { flex: none; width: 120px; height: 120px; object-fit: contain; }
.abhf-app-guide { flex: 1; margin-left: 24px; }
.abhf .abhf-app-t { font-size: 20px; font-weight: 700; line-height: 26.6px; color: #191919; }
.abhf .abhf-app-p { margin-top: 6px; color: var(--abhf-muted, #757575); }
.abhf-app-btns { display: flex; gap: 8px; margin-top: 16px; }
.abhf .abhf-app-b { display: flex; align-items: center; justify-content: center; gap: 8px; width: 160px; height: 48px; border-radius: 24px; background: #000; color: #fff; font-size: 16px; font-weight: 700; line-height: 18px; }
.abhf .abhf-app-b:hover { color: #fff; }
.abhf-app-b span small { display: block; font-size: 10px; font-weight: 400; line-height: 12px; }

/* region form (desktop popover + phone sheet) */
.abhf-rg-title { margin-top: 16px; font-size: 20px; font-weight: 700; line-height: 24px; color: #191919; }
.abhf-sel { position: relative; margin-top: 8px; }
.abhf .abhf-sel-text { display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 12px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 8px; background: #fff; color: #191919; font-size: 14px; line-height: 40px; text-align: left; }
.abhf .abhf-sel-text:hover { border-color: rgba(0, 0, 0, .45); background: #fff; }
.abhf .abhf-sel.is-static .abhf-sel-text { cursor: default; border-color: rgba(0, 0, 0, .2); }
.abhf-sel-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abhf-sel-text .abhf-i { flex: none; transition: transform .2s; }
.abhf-sel.is-open .abhf-sel-text .abhf-i { transform: rotate(180deg); }
.abhf .abhf-sel-flag { flex: none; width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.abhf-sel-pop { position: absolute; top: 42px; left: 0; z-index: 10; width: 100%; max-height: 300px; overflow-y: auto; border: 1px solid rgba(0, 0, 0, .2); border-radius: 8px; background: #fff; scrollbar-width: thin; }
.abhf-sel-search { position: sticky; top: 0; z-index: 1; padding: 12px; background: #fff; }
.abhf-sel-search .abhf-i { position: absolute; top: 24px; left: 24px; color: var(--abhf-muted, #757575); }
.abhf .abhf-sel-search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border-radius: 8px !important; background: #f5f5f5; font-size: 14px; outline: 0; }
.abhf-sel-list li { padding: 0 12px; overflow: hidden; font-size: 14px; line-height: 32px; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.abhf-sel-list li:hover, .abhf-sel-list li:focus { background: #f9f9f9; outline: 0; }
.abhf-sel-list li[aria-selected="true"] { font-weight: 700; }
.abhf-sel-list li a { display: block; }
.abhf-sel.is-busy .abhf-sel-text { opacity: .6; pointer-events: none; }
.abhf .abhf-rg-save { display: block; width: 100%; height: 40px; margin-top: 16px; border-radius: 24px; background: var(--abhf-primary, #191919); color: #fff; font-size: 16px; font-weight: 700; line-height: 40px; text-align: center; }
.abhf .abhf-rg-save:hover { background: var(--abhf-primary, #191919); color: #fff; opacity: .92; }

/* ---------- category nav bar ---------- */
.abhf-nav { position: relative; background: #fff; }
.abhf-nav > .abhf-row { height: 60px; padding-top: 1px; }
.abhf-bar { position: relative; display: flex; align-items: center; height: 54px; overflow: hidden; border-bottom: 1px solid var(--abhf-border, #ebebeb); }
.abhf .abhf-allcat, .abhf .abhf-tab { flex: none; padding: 10px 16px; border-radius: 30px; color: var(--abhf-text, #191919); font-size: 16px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.abhf .abhf-allcat { display: flex; align-items: center; }
.abhf-allcat .abhf-i { width: 20px; height: 20px; margin-right: 8px; }
.abhf .abhf-allcat:hover, .abhf .abhf-allcat[aria-expanded="true"], .abhf .abhf-tab:hover, .abhf .abhf-tab.is-on { background: #f5f5f5; color: var(--abhf-text, #191919); }
.abhf-tabs { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; margin-left: 16px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; scroll-behavior: smooth; }
.abhf-tabs::-webkit-scrollbar { display: none; }
.abhf-arrows { position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; padding-left: 40px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 40px); }
.abhf .abhf-arr { display: flex; align-items: center; justify-content: center; width: 12px; height: 20px; color: var(--abhf-text, #191919); }
.abhf .abhf-arr + .abhf-arr { margin-left: 12px; }
.abhf .abhf-arr:disabled { color: #ccc; cursor: default; pointer-events: none; }
.abhf-arr .abhf-i { width: 16px; height: 16px; }

/* All Categories mega panel: 296px list + image grid, dimmed page below */
/* The panel is as tall as its content (category list or the active section, whichever is taller), capped at the old
   fixed height; each column scrolls on its own beyond the cap. */
.abhf-mega { --abhf-mega-max: min(720px, calc(100vh - 127px - var(--wp-admin--admin-bar--height, 0px))); position: absolute; top: calc(100% - 5px); left: 0; right: 0; z-index: 15; padding: 20px 0; overflow: hidden; background: #fff; box-shadow: 0 1100px 0 1000px rgba(0, 0, 0, .5); }
.abhf-mega-wrap { display: flex; align-items: stretch; }
.abhf-lv1 { flex: none; width: 296px; max-height: calc(var(--abhf-mega-max) - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ddd transparent; }
.abhf .abhf-lv1i { display: flex; align-items: center; padding: 14px 16px; background: #f5f5f5; color: #191919; font-size: 16px; line-height: 20px; }
.abhf .abhf-lv1i.is-active { background: #fff; font-weight: 700; }
.abhf-lv1i span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abhf-lv1i .abhf-i, .abhf .abhf-ci { flex: none; width: 20px; height: 20px; margin-right: 8px; object-fit: contain; }
.abhf-lv2 { flex: 1; min-width: 0; max-height: calc(var(--abhf-mega-max) - 40px); margin-left: 32px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ddd transparent; }
.abhf-sec { margin-top: 20px; }
.abhf-sec-t { display: flex; font-size: 16px; font-weight: 700; line-height: 20px; color: #191919; }
.abhf-sec-items { display: grid; grid-template-columns: repeat(auto-fill, 90px); justify-content: space-between; row-gap: 20px; margin-top: 20px; }
.abhf .abhf-card { display: block; width: 90px; color: #000; transition: transform .3s; }
.abhf .abhf-card:hover { transform: scale(1.04); color: #000; }
.abhf-card-img { position: relative; display: block; width: 80px; height: 80px; overflow: hidden; }
.abhf .abhf-card-img img { width: 80px; height: 80px; object-fit: cover; }
.abhf-card-t { display: -webkit-box; width: 80px; margin-top: 8px; overflow: hidden; font-size: 14px; line-height: 16px; color: #000; text-align: center; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.abhf-sec--brand .abhf-card-img { background: #f5f5f5; }
.abhf .abhf-sec--brand .abhf-card-img img { object-fit: contain; }
.abhf-sec--brand .abhf-card-t { -webkit-line-clamp: 1; }
.abhf-sec--text .abhf-sec-items { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.abhf .abhf-sec--text .abhf-card { width: auto; }
.abhf .abhf-sec--text .abhf-card:hover { transform: none; }
.abhf-sec--text .abhf-card-t { width: auto; margin: 0; color: #3a3e4a; line-height: 22px; text-align: left; -webkit-line-clamp: 1; }
.abhf-sec--text .abhf-card:hover .abhf-card-t { color: var(--abhf-hover); }
.abhf-divide { display: block; height: 1px; margin-top: 20px; background: var(--abhf-border, #ebebeb); }
.abhf-empty { margin-top: 8px; font-size: 14px; }

/* Sticky rules are generated inline (they depend on the phone breakpoint setting). */
@media (max-width: 600px) { body.admin-bar { --abhf-top: 0px; } }

/* ---------- tablet / narrow desktop (original hides labels at ≤1280) ---------- */
@media (max-width: 1488px) { .abhf-it--app .abhf-it-txt { display: none; } }
@media (max-width: 1280px) {
	.abhf-it-txt { display: none; }
	.abhf .abhf-it--cart .abhf-it-txt--cart { display: block; position: absolute; top: 7px; right: -8px; margin: 0; }
	.abhf-it-txt--cart b { display: none; }
	.abhf-it-txt--cart .abhf-cart-wrap { margin: 0; }
}
@media (max-width: 1023px) {
	.abhf-logo { width: calc(var(--abhf-logo-w, 156px) + 20px); }
	.abhf-items { padding-left: 12px; }
	.abhf-it--app { display: none; }
	.abhf .abhf-it-btn { padding: 0 6px; }
	.abhf-lv1 { width: 240px; }
	.abhf-lv2 { margin-left: 20px; }
	.abhf .abhf-allcat, .abhf .abhf-tab { padding: 10px 12px; font-size: 15px; }
	.abhf-tabs { margin-left: 8px; gap: 4px; }
}

/* ---------- phone header (AliExpress mobile site: 48 + 44, sticky) ---------- */
.abhf-m { background: #fff; }
.abhf-m-r1 { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; }
.abhf-m-logo { display: flex; flex: none; align-items: center; line-height: 0; }
.abhf .abhf-m-logo .abhf-logo-img { width: auto; height: var(--abhf-mlogo-h, 24px); max-width: 121px; max-height: none; }
.abhf-m-logo .abhf-logo-text { font-size: 20px; line-height: 24px; }
.abhf .abhf-m-ship { display: flex; flex: 0 1 auto; margin-left: auto; justify-content: flex-end; align-items: center; min-width: 0; padding: 12px 0; color: #191919; font-size: 13px; line-height: 16.9px; text-align: left; }
.abhf-m-ship .abhf-i { flex: none; margin-right: 3px; }
.abhf-m-ship span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abhf-m-icons { display: flex; flex: none; gap: 4px; margin-left: auto; }
/* Language / currency sits next to the cart, not next to the logo. */
.abhf-m-ship + .abhf-m-icons { margin-left: 0; }
.abhf .abhf-m-ic { position: relative; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #191919; }
.abhf-m-ic .abhf-cart-num { position: absolute; top: -1px; right: -5px; min-width: 16px; padding: 0 4px; font-size: 10px; line-height: 14px; }
.abhf-m-ic .abhf-cart-num[data-n="0"] { display: none; }
.abhf-m-r2 { padding: 0 16px 8px; }
.abhf-m-sbox { position: relative; display: block; height: 36px; }
.abhf .abhf-m-sbox .abhf-kw { display: block; width: 100%; height: 36px; padding: 0 56px 0 16px; border: 1px solid #191919; border-radius: var(--abhf-radius) !important; background: #fff; color: #191919; font-size: 14px; line-height: 34px; outline: 0; }
.abhf .abhf-m-sbox .abhf-kw::placeholder { color: rgba(0, 0, 0, .5); }
.abhf .abhf-m-sbox .abhf-sbtn { position: absolute; top: 2px; right: 3px; display: flex; align-items: center; justify-content: center; width: 48px; height: 32px; border-radius: calc(var(--abhf-radius) - 1px); background: var(--abhf-primary, #191919); color: #fff; }
.abhf-m-sbox .abhf-sbtn .abhf-i { width: 20px; height: 20px; }

/* phone overlays */
html.abhf-lock, html.abhf-lock body { overflow: hidden; }
/* Above the bottom tab bar (9990) and side toolbar, below Blocksy off-canvas panels. */
.abhf-ov { position: fixed; inset: 0; z-index: 99990; }
.abhf-sheet-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.abhf-sheet-box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; border-radius: 16px 16px 0 0; background: #fff; animation: abhf-up .25s ease-out; }
.abhf .abhf-sheet-x { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.abhf-sheet-box .abhf-rg-title:first-of-type { margin-top: 12px; }
.abhf-sheet-box .abhf-sel-pop { position: static; max-height: 240px; margin-top: 4px; }
@keyframes abhf-up { from { transform: translateY(100%); } to { transform: none; } }
.abhf-drawer, .abhf-msearch { display: flex; flex-direction: column; background: #fff; }
.abhf-dr-head, .abhf-ms-head { display: flex; flex: none; align-items: center; gap: 4px; height: 52px; padding: 0 12px 0 4px; border-bottom: 1px solid var(--abhf-border, #ebebeb); }
.abhf .abhf-dr-back { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; }
.abhf-dr-title { font-size: 16px; font-weight: 700; }
.abhf-dr-body { display: flex; flex: 1; min-height: 0; }
.abhf-dr-rail { flex: none; width: 96px; overflow-y: auto; background: #f5f5f5; }
.abhf .abhf-dr-l1 { position: relative; display: block; width: 100%; padding: 14px 8px 14px 12px; color: #191919; font-size: 13px; line-height: 17px; text-align: left; word-break: break-word; }
.abhf .abhf-dr-l1.is-active { background: #fff; font-weight: 700; }
.abhf-dr-l1.is-active::before { content: ""; position: absolute; top: 50%; left: 0; width: 3px; height: 16px; margin-top: -8px; border-radius: 0 2px 2px 0; background: var(--abhf-primary, #191919); }
.abhf-dr-main { flex: 1; min-width: 0; padding: 12px 12px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.abhf .abhf-dr-all { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 8px; font-size: 14px; font-weight: 700; }
.abhf-dr-main .abhf-sec { margin-top: 12px; }
.abhf-dr-main .abhf-sec-t { font-size: 14px; line-height: 18px; }
.abhf-dr-main .abhf-sec-items { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 16px 8px; margin-top: 12px; }
.abhf .abhf-dr-main .abhf-card, .abhf.abhf-msearch .abhf-sp-p { width: auto; transform: none; }
.abhf-dr-main .abhf-card-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; background: #f5f5f5; }
.abhf .abhf-dr-main .abhf-card-img img { width: 100%; height: 100%; }
.abhf-dr-main .abhf-card-t { width: auto; margin-top: 6px; font-size: 12px; line-height: 15px; }
.abhf-ms-head .abhf-m-sbox { flex: 1; }
.abhf-ms-body { flex: 1; padding: 16px; overflow-y: auto; }
.abhf-msearch .abhf-sp-sec { display: block; max-height: none; }
.abhf-msearch .abhf-sp-disc { width: auto; }
.abhf-msearch .abhf-sp-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.abhf-msearch .abhf-sp-list li { margin: 0; }
.abhf.abhf-msearch .abhf-sp-list a { display: block; padding: 5px 12px; border-radius: 16px; background: #f5f5f5; color: #191919; font-size: 13px; line-height: 20px; }
.abhf-msearch .abhf-sp-line { display: none; }
.abhf-msearch .abhf-sp-rec { margin-top: 24px; }
.abhf.abhf-msearch .abhf-sp-tw { margin-bottom: 12px; }
.abhf-msearch .abhf-sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; max-height: none; }
.abhf-msearch .abhf-sp-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; }
.abhf-msearch .abhf-sp-name { margin: 6px 0 14px; font-size: 12px; line-height: 16px; }

/* ---------- footer (desktop / tablet) ---------- */
.abhf-ft { background: #fff; color: #222; }
.abhf-help { padding-top: 16px; background: #fff; }
.abhf-fgrid { display: grid; grid-template-columns: repeat(var(--abhf-fc, 6), minmax(0, 1fr)); align-items: start; }
.abhf-fb { grid-column: span var(--d, 1); min-width: 0; }
.abhf-ftext { color: var(--abhf-muted, #757575); font-size: 14px; line-height: 22px; }
.abhf .abhf-ftext p { margin: 0 0 10px; }
.abhf .abhf-ftext a { color: var(--abhf-text, #191919); text-decoration: underline; }
.abhf-ftext-img { margin: 16px 0 10px; }
.abhf .abhf-ftext-img img { display: block; max-width: 200px; height: auto; }
.abhf .abhf-h { margin: 16px 0 5px; color: #191919; font-size: 16px; font-weight: 700; line-height: 28px; }
.abhf .abhf-list { margin-bottom: 10px; }
.abhf-list li { margin: 0; line-height: 24px; }
.abhf-list a { color: var(--abhf-muted, #757575); font-size: 14px; }
.abhf .abhf-list a:hover, .abhf .abhf-dl dd a:hover { color: #191919; text-decoration: underline; }
.abhf-cards { display: flex; flex-wrap: wrap; gap: 5px 8px; margin-top: 16px; }
.abhf-card-item { display: inline-flex; width: 48px; height: 30px; overflow: hidden; border-radius: 4px; }
.abhf-card-item svg { display: block; width: 48px; height: 30px; }
.abhf .abhf-card-item img { width: 48px; height: 32px; object-fit: contain; }
.abhf-sns { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 16px; }
.abhf .abhf-sns a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #191919; opacity: .8; }
.abhf .abhf-sns a:hover { opacity: 1; color: #191919; }
.abhf-sns svg { width: 25px; height: 25px; }
.abhf-sf { padding-top: 30px; background: #fff; }
.abhf-sf-row { display: flex; flex-wrap: wrap; padding-bottom: 40px; }
.abhf .abhf-dl { width: 50%; padding: 0 40px 25px 0; }
.abhf-dl dt { margin: 0; font-weight: 700; }
.abhf .abhf-dl .abhf-h { margin: 0 0 5px; }
.abhf-dl dd { margin: 0; color: #999; font-size: 13px; line-height: 18px; }
.abhf-dl dd a { color: var(--abhf-muted, #757575); font-size: 14px; }
.abhf-copy { padding: 8px 0; background: var(--abhf-bottom-bg, #000); color: var(--abhf-bottom-text, #ccc); font-size: 14px; line-height: 20px; }
.abhf .abhf-copy a { margin: 0 2px; color: var(--abhf-bottom-text, #ccc); }
.abhf .abhf-copy a:hover { color: #fff; }
.abhf-copy-t { margin-left: 8px; }
@media (max-width: 1019px) {
	.abhf .abhf-dl { width: 100%; padding-right: 0; }
}

/* ---------- 1.6.0: trust bar (service promises above the footer) ---------- */
.abhf-trust { background: #fff; }
.abhf-tr-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 24px; margin: 0; padding: 0; list-style: none; }
.abhf-tr-list > li { margin: 0; min-width: 0; }
.abhf-tr-plain .abhf-tr-list { padding: 24px 0; border-top: 1px solid var(--abhf-border, #ebebeb); border-bottom: 1px solid var(--abhf-border, #ebebeb); }
.abhf-tr-boxed .abhf-tr-list { padding: 24px 0 8px; }
.abhf-tr-boxed .abhf-tr-list > li { padding: 16px; border-radius: 12px; background: #f5f5f5; }
.abhf-tr-band { background: #f5f5f5; }
.abhf-tr-band .abhf-tr-list { padding: 24px 0; }
.abhf .abhf-tr { display: flex; align-items: flex-start; gap: 12px; color: var(--abhf-text, #191919); text-decoration: none; }
.abhf-tr .abhf-i { flex: none; }
.abhf-tr strong { display: block; font-size: 15px; font-weight: 700; line-height: 20px; }
.abhf-tr small { display: block; margin-top: 2px; color: var(--abhf-muted, #757575); font-size: 13px; line-height: 18px; }
.abhf a.abhf-tr:hover strong { text-decoration: underline; }

/* ---------- phone footer ---------- */
.abhf-fm { padding-top: 8px; background: #fff; }
.abhf-fm-g { margin: 0 16px; border-bottom: 1px solid var(--abhf-border, #ebebeb); }
.abhf-fm-g summary { display: flex; align-items: center; justify-content: space-between; height: 48px; color: #191919; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.abhf-fm-g summary::-webkit-details-marker { display: none; }
.abhf-fm-g summary .abhf-i { transition: transform .2s; }
.abhf-fm-g[open] summary .abhf-i { transform: rotate(180deg); }
.abhf .abhf-fm-g ul { margin: -4px 0 12px; }
.abhf-fm-g li { line-height: 32px; }
.abhf-fm-g a { color: var(--abhf-muted, #757575); font-size: 14px; }
.abhf-fm-sec { padding: 0 16px; }
.abhf .abhf-fm-sec .abhf-h { margin: 20px 0 0; font-size: 15px; line-height: 22px; }
.abhf-fm .abhf-cards, .abhf-fm .abhf-sns { margin-top: 12px; }
.abhf-fm .abhf-copy { margin-top: 24px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); font-size: 12px; line-height: 20px; text-align: center; }
.abhf-fm .abhf-row { width: auto; margin: 0 16px; }
.abhf-fm .abhf-copy-t { display: block; margin: 4px 0 0; }
.abhf-fm-sec .abhf-list { margin-top: 8px; }
.abhf-fm-sec .abhf-ftext, .abhf-fm-g .abhf-ftext { margin-top: 8px; }
.abhf-fm-g .abhf-ftext-img { margin-top: 0; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.abhf *, .abhf *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 1.4.0: distraction-free checkout (body.abhf-co) ----------
   Checkout and payment pages: logo + "Secure checkout" + "Return to cart"; one row of policy links below.
   Same row width as the rest of the header so the logo lines up with the page content. */
.abhf-co-hd { background: #fff; border-bottom: 1px solid var(--abhf-border, #ebebeb); }
.abhf-co-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.abhf-co-l { display: flex; align-items: center; gap: 16px; min-width: 0; }
.abhf .abhf-co-logo { margin: 0; }
.abhf-co-sep { flex: none; width: 1px; height: 24px; background: var(--abhf-border, #ebebeb); }
.abhf-co-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--abhf-text, #191919); white-space: nowrap; }
.abhf-co-badge .abhf-i { flex: none; color: #1a7f37; }
.abhf .abhf-co-back { display: inline-flex; align-items: center; gap: 2px; flex: none; height: 36px; padding: 0 14px 0 10px; border: 1px solid #d6d6d6; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--abhf-text, #191919); transition: border-color .15s, background-color .15s; }
.abhf .abhf-co-back:hover { border-color: #999; background: #fafafa; }
.abhf .abhf-co-back:active { background: #f0f0f0; }
.abhf-co-ft { border-top: 1px solid var(--abhf-border, #ebebeb); background: #fff; }
.abhf-co-ft-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 20px 0; }
.abhf-co-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.abhf .abhf-co-links a { font-size: 13px; line-height: 20px; color: var(--abhf-muted, #757575); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.abhf .abhf-co-links a:hover { color: var(--abhf-text, #191919); text-decoration-color: currentColor; }
.abhf .abhf-co-copy { margin: 0; font-size: 13px; line-height: 20px; color: var(--abhf-muted, #757575); }
@media (max-width: 767px) {
	.abhf-co-row { height: 56px; gap: 12px; }
	.abhf-co-l { gap: 12px; }
	.abhf .abhf-co-hd .abhf-logo-img { max-height: var(--abhf-mlogo-h, 24px); max-width: 121px; }
	.abhf-co-hd .abhf-logo-text { font-size: 20px; line-height: 24px; }
	.abhf-co-sep { height: 18px; }
	.abhf-co-badge { font-size: 14px; line-height: 20px; gap: 4px; }
	.abhf-co-badge .abhf-i { width: 16px; height: 16px; }
	.abhf .abhf-co-back { width: 36px; padding: 0; justify-content: center; }
	.abhf .abhf-co-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.abhf-co-ft-row { flex-direction: column; align-items: center; gap: 10px; padding: 16px 0; text-align: center; }
	.abhf-co-links { justify-content: center; gap: 6px 16px; }
	.abhf .abhf-co-links a, .abhf .abhf-co-copy { font-size: 12px; line-height: 18px; }
}
