/* AUTOBOSS Taobao Cart 1.1 – measured from cart.taobao.com (tbpc-cart 0.0.55 main.css, 2026-09-29 archive).
   Desktop ≥1401: two columns, 360px summary panel. 1025–1400: one column, summary floats as a 360px card at the
   bottom (Taobao's own ≤1400 behaviour). 768–1024: Taobao "mini cart" row layout. <768: Taobao App cart.
   Color tokens (inline, per scheme): --abtc-accent is for controls only (checkboxes, active tab bar, selected
   spec, focus); --abtc-btn / --abtc-btn-m / --abtc-on-btn for primary buttons; --abtc-price, --abtc-hot and
   --abtc-link for text, which the default theme scheme keeps black so the page reads black and white.
   Vertical rhythm: desktop follows Taobao (72 title row, 48 tabs, 16/16 toolbar, 24 shop / 20 item); phones use a
   12px grid (8px between cards). */

.abtc, .abtc-layer {
	--abtc-text: #1f1f1f;
	--abtc-sub: #7a7a7a;
	--abtc-weak: #999;
	--abtc-off: #ccc;
	--abtc-line: #ebebeb;
	--abtc-field: #d6d6d6;
	--abtc-hover: #f5f5f5;
	--abtc-chip: #f5f5f5;
	--abtc-img: rgba(0, 0, 0, .02);
	--abtc-top: 0px;
	--abtc-right: 0px;
	--abtc-font: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--abtc-num: "Inter", "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;
	color: var(--abtc-text);
	font-family: var(--abtc-font);
	font-size: 14px;
	line-height: 22px;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}
.abtc *, .abtc *::before, .abtc *::after, .abtc-layer *, .abtc-layer *::before, .abtc-layer *::after { box-sizing: border-box; }
:where(.abtc, .abtc-layer) :is(h1, h2, p) { margin: 0; padding: 0; font-family: inherit; letter-spacing: 0; text-transform: none; }
.abtc .abtc-mtitle, .abtc .abtc-title h1, .abtc .abtc-rec-title, .abtc .abtc-empty h2 { margin: 0; padding: 0; letter-spacing: 0; text-transform: none; }
:where(.abtc, .abtc-layer) a { color: inherit; text-decoration: none; }
:where(.abtc, .abtc-layer) img { display: block; max-width: 100%; }
.abtc button, .abtc-layer button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; min-height: 0; line-height: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; border-radius: 0; width: auto; height: auto; }
.abtc input, .abtc select, .abtc-layer input { font-family: inherit; letter-spacing: normal; min-height: 0; box-shadow: none; }
/* The AUTOBOSS child theme forces border-radius: var(--autoboss-radius-small) !important on every field; setting the
   variable per field keeps Taobao's shapes without touching the theme. */
.abtc input, .abtc select, .abtc-layer input { --autoboss-radius-small: 8px; }
.abtc .abtc-qty-in, .abtc .abtc-search input[type="search"] { --autoboss-radius-small: 0px; }
.abtc label, .abtc .abtc-check-t { font-family: var(--abtc-font); font-size: 14px; font-weight: 400; letter-spacing: normal; text-transform: none; margin: 0; }
/* The child theme sets its mono font on every label with !important; the cart keeps Taobao's sans. */
body .abtc :is(label, .abtc-check-t, input), body .abtc-layer :is(label, input) { font-family: var(--abtc-font) !important; font-weight: inherit !important; }
body .abtc .abtc-qty-in, body .abtc-layer .abtc-qdlg-step input { font-family: var(--abtc-num) !important; font-weight: 600 !important; }
.abtc [hidden], .abtc-layer [hidden] { display: none !important; }
.abtc .abtc-i, .abtc-layer .abtc-i { width: 20px; height: 20px; flex: none; display: block; }
.abtc :focus-visible, .abtc-layer :focus-visible { outline: 2px solid var(--abtc-accent); outline-offset: 2px; }
.abtc input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
/* Phone-only parts. */
.abtc .abtc-mhead, .abtc .abtc-mbar { display: none; }

/* ---------- theme integration ---------- */
body.abtc-hide-title .hero-section { display: none !important; }
body.abtc-page .ct-container-full[data-vertical-spacing] { padding-top: 0; padding-bottom: 0; }
html.abtc-lock, html.abtc-lock body { overflow: hidden; }

/* Full-bleed like cart.taobao.com; the inner width follows the Blocksy container (header/footer alignment) or 1600. */
.abtc { position: relative; width: calc(100vw - var(--abtc-sbw, 0px)); max-width: none !important; margin-left: calc(50% - 50vw + var(--abtc-sbw, 0px) / 2) !important; margin-right: 0 !important; padding-bottom: 48px; background: #fff; }
.abtc .abtc-in { width: var(--theme-container-width, calc(100% - 64px)); max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto; }
.abtc.is-w-taobao .abtc-in { width: 100%; max-width: 1600px; padding: 0 80px; }
@media (max-width: 1440px) { .abtc.is-w-taobao .abtc-in { padding: 0 64px; } }

/* ---------- title row (72px) with product search ---------- */
.abtc .abtc-head { position: relative; z-index: 25; display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; background: #fff; }
.abtc .abtc-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.abtc .abtc-title-ico { color: var(--abtc-text); }
.abtc .abtc-title-ico .abtc-i { width: 28px; height: 28px; }
.abtc .abtc-title h1 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--abtc-text); }
.abtc .abtc-search { position: relative; display: flex; align-items: center; flex: none; width: 360px; height: 40px; margin: 0; padding: 2px 2px 2px 12px; border: 2px solid var(--abtc-link); border-radius: 12px; background: #fff; }
.abtc .abtc-search-ico { width: 18px !important; height: 18px !important; color: var(--abtc-sub); }
.abtc .abtc-search input[type="search"] { flex: 1; min-width: 0; width: auto; height: 32px; margin: 0; padding: 0 8px; border: 0; background: transparent; font-size: 14px; color: var(--abtc-text); outline: 0; }
.abtc .abtc-search button[type="submit"] { flex: none; height: 32px; padding: 0 14px; border-radius: 10px; background: var(--abtc-btn); color: var(--abtc-on-btn); font-size: 14px; font-weight: 600; }
.abtc .abtc-search button[type="submit"]:hover { filter: brightness(.96); }
.abtc .abtc-suggest { position: absolute; left: -2px; right: -2px; top: calc(100% + 6px); z-index: 60; padding: 6px; border: 1px solid var(--abtc-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(0, 0, 0, .1); }
.abtc .abtc-sg-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--abtc-text); }
.abtc .abtc-sg-item.is-active, .abtc .abtc-sg-item:hover { background: var(--abtc-hover); }
.abtc .abtc-sg-item img { width: 40px; height: 40px; flex: none; border-radius: 6px; object-fit: cover; background: #f7f7f7; }
.abtc .abtc-sg-name { flex: 1; min-width: 0; font-size: 14px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abtc .abtc-sg-name mark { background: none; color: inherit; font-weight: 600; }
.abtc .abtc-sg-item .abtc-price { font-size: 14px; color: var(--abtc-price); }
.abtc .abtc-sg-all { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 8px; border-top: 1px solid var(--abtc-line); font-size: 13px; color: var(--abtc-sub); }
.abtc .abtc-sg-all:hover, .abtc .abtc-sg-all.is-active { color: var(--abtc-text); }
.abtc .abtc-sg-all .abtc-i { width: 16px; height: 16px; }
.abtc .abtc-sg-empty { padding: 12px 8px; font-size: 13px; color: var(--abtc-weak); }

.abtc .abtc-notice { display: flex; align-items: center; gap: 8px; min-height: 40px; margin-bottom: 8px; padding: 8px 16px; border-radius: 8px; background: var(--abtc-chip); color: var(--abtc-text); font-size: 14px; }
.abtc .abtc-notice .abtc-i { width: 16px; height: 16px; }
.abtc .abtc-notices:empty { display: none; }
.abtc .abtc-notices .woocommerce-error, .abtc .abtc-notices .woocommerce-message, .abtc .abtc-notices .woocommerce-info { margin: 0 0 12px; }

/* ---------- columns ---------- */
.abtc .abtc-cols { display: flex; align-items: flex-start; gap: 48px; }
.abtc .abtc-main { flex: 1 1 auto; min-width: 0; }
.abtc .abtc-side { flex: 0 0 360px; width: 360px; position: sticky; top: calc(var(--abtc-top) + 16px); }

/* ---------- tabs + toolbar (affix) ---------- */
.abtc .abtc-bar { background: #fff; }
.abtc .abtc-bar.is-sticky { position: sticky; top: var(--abtc-top); z-index: 20; }
.abtc .abtc-bar.is-sticky::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; background: #fff; }
.abtc .abtc-tabs { display: flex; height: 48px; overflow-x: auto; scrollbar-width: none; }
.abtc .abtc-tabs::-webkit-scrollbar { display: none; }
.abtc .abtc-tab { display: flex; flex: none; align-items: center; height: 48px; margin-right: 32px; border-top: 2px solid transparent !important; border-bottom: 2px solid transparent !important; font-size: 16px; color: var(--abtc-sub); white-space: nowrap; }
.abtc .abtc-tab:last-child { margin-right: 0; }
.abtc .abtc-tab .abtc-i { width: 24px; height: 24px; margin-right: 2px; padding: 2px; color: inherit; }
.abtc .abtc-tab.is-on { color: var(--abtc-hot); font-weight: 600; border-bottom-color: var(--abtc-accent) !important; }
.abtc .abtc-tab[data-abtc-tab="sale"] .abtc-i { color: var(--abtc-accent); }
.abtc .abtc-tab:not(.is-on):hover { color: var(--abtc-text); }
.abtc .abtc-tab-m { display: none; }

.abtc .abtc-ops { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 32px; padding: 16px 0; }
.abtc .abtc-ops-l, .abtc .abtc-ops-r { display: flex; align-items: center; }
.abtc .abtc-ops-all { margin-right: 8px; line-height: 32px; }
.abtc .abtc-ops-all .abtc-check-t { margin: 0 8px; color: var(--abtc-text); }
/* Secondary button: 32px, radius 8, 1px #ebebeb, 14/500 (trade-button secondary middle). */
.abtc .abtc-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; margin-right: 8px; padding: 0 12px; border: 1px solid var(--abtc-line); border-radius: 8px; background: #fff; color: var(--abtc-text); font-size: 14px; font-weight: 500; line-height: 22px; white-space: nowrap; transition: background-color .15s; }
.abtc .abtc-btn:hover { background: var(--abtc-hover); }
.abtc .abtc-btn:active { background: #ebebeb; }
.abtc .abtc-select { position: relative; display: inline-flex; margin-right: 8px; }
.abtc .abtc-select select { width: auto !important; min-width: 92px; max-width: 200px; height: 32px; margin: 0; padding: 0 30px 0 11px; border: 1px solid #d9d9d9; border-radius: 8px; background: #fff none; font-size: 14px; line-height: 30px; color: var(--abtc-text); -webkit-appearance: none; appearance: none; cursor: pointer; }
.abtc .abtc-select select:hover, .abtc .abtc-select select:focus { border-color: var(--abtc-text); outline: 0; }
.abtc .abtc-select .abtc-i { position: absolute; right: 8px; top: 8px; width: 16px; height: 16px; color: #bfbfbf; pointer-events: none; }
.abtc .abtc-find { position: relative; display: inline-flex; }
.abtc .abtc-find input { width: 200px; height: 32px; margin: 0; padding: 0 34px 0 11px; border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; font-size: 14px; color: var(--abtc-text); }
.abtc .abtc-find input:hover, .abtc .abtc-find input:focus { border-color: var(--abtc-text); outline: 0; }
.abtc .abtc-find .abtc-i { position: absolute; right: 6px; top: 4px; width: 24px; height: 24px; padding: 2px; color: var(--abtc-text); pointer-events: none; }
.abtc .abtc-qall { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 10px 12px; border-radius: 8px; background: var(--abtc-chip); color: var(--abtc-text); font-size: 14px; line-height: 20px; }
.abtc .abtc-qall .abtc-i { width: 16px; height: 16px; color: var(--abtc-sub); }
.abtc .abtc-qall span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abtc .abtc-qall:hover { background: #efefef; }

/* ---------- checkbox (antd-like, 20px) ---------- */
.abtc .abtc-check, .abtc-layer .abtc-check { position: relative; display: inline-flex; align-items: center; cursor: pointer; flex: none; user-select: none; }
.abtc .abtc-cb { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.abtc .abtc-box { position: relative; display: block; width: 20px; height: 20px; border: 1px solid var(--abtc-field); border-radius: 4px; background: #fff; transition: background-color .2s, border-color .2s; }
.abtc .abtc-check:hover .abtc-box { border-color: var(--abtc-accent); }
.abtc .abtc-cb:checked + .abtc-box { background: var(--abtc-accent); border-color: var(--abtc-accent); }
.abtc .abtc-cb:checked + .abtc-box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--abtc-on-btn); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.abtc .abtc-cb:disabled + .abtc-box { background: #e5e5e5; border-color: #e5e8ec !important; cursor: not-allowed; }
.abtc .abtc-cb:disabled ~ .abtc-check-t { color: var(--abtc-off); cursor: not-allowed; }
.abtc .abtc-cb:focus-visible + .abtc-box { outline: 2px solid var(--abtc-accent); outline-offset: 2px; }

/* ---------- shop group (border-top, 24 above the head, 20 above each item, 20 below) ---------- */
.abtc .abtc-shop { padding-bottom: 20px; }
.abtc .abtc-shop-head { display: flex; align-items: center; height: 46px; padding-top: 24px; border-top: 1px solid var(--abtc-line); overflow: hidden; }
.abtc .abtc-shop-head > .abtc-check { margin-right: 16px; }
.abtc .abtc-shop-logo { width: 16px; height: 16px; margin-right: 8px; border-radius: 4px; object-fit: contain; flex: none; }
.abtc .abtc-shop-logo.is-ico { color: var(--abtc-text); }
.abtc .abtc-shop-logo.is-ico .abtc-i { width: 16px; height: 16px; }
.abtc .abtc-shop-name { display: inline-flex; align-items: center; min-width: 0; font-size: 14px; font-weight: 500; color: var(--abtc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abtc a.abtc-shop-name:hover { color: var(--abtc-link); }
.abtc .abtc-shop-arrow { width: 14px !important; height: 14px !important; margin-left: 2px; color: var(--abtc-weak); }
.abtc .abtc-shop-chat { display: inline-flex; margin-left: 6px; color: var(--abtc-sub); }
.abtc .abtc-shop-chat .abtc-i { width: 18px; height: 18px; }
.abtc .abtc-clear { margin-left: auto; font-size: 14px; color: var(--abtc-sub); }
.abtc .abtc-clear:hover { color: var(--abtc-text); }

/* ---------- item row (desktop: 36 | 96 | detail | sku 132 | price 148 | qty 104 | ops) ---------- */
.abtc .abtc-item { position: relative; }
.abtc .abtc-item-in { position: relative; display: flex; padding-top: 20px; background: transparent; }
.abtc .abtc-c-check { display: flex; flex: none; align-items: center; width: 36px; height: 96px; }
.abtc .abtc-inv-tag { display: none; }
.abtc .abtc-c-img { position: relative; display: block; flex: none; width: 96px; height: 96px; margin-right: 16px; border-radius: 8px; background: var(--abtc-img); overflow: hidden; }
.abtc .abtc-c-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.abtc .abtc-img-mask { position: absolute; inset: 0; border-radius: 8px; background: rgba(0, 0, 0, .02); transition: background-color .2s; }
.abtc a.abtc-c-img:hover .abtc-img-mask { background: rgba(0, 0, 0, .12); }
.abtc .abtc-img-tag { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px; font-weight: 500; line-height: 24px; text-align: center; white-space: nowrap; }
.abtc .abtc-c-dpq { display: flex; flex: 1 1 auto; min-width: 0; }
.abtc .abtc-c-detail { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-width: 0; margin-right: 16px; }
.abtc .abtc-c-detail > * { max-width: 100%; margin-bottom: 4px; line-height: 22px; }
.abtc .abtc-c-detail > :last-child { margin-bottom: 0; }
.abtc .abtc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; color: var(--abtc-text); word-break: break-word; }
.abtc a.abtc-name:hover { color: var(--abtc-link); text-decoration: underline; text-underline-offset: 2px; }
.abtc .abtc-benefits { font-size: 14px; color: var(--abtc-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abtc .abtc-benefits span { margin-right: 8px; }
.abtc .abtc-benefits span:last-child { margin-right: 0; }
.abtc .abtc-benefits .is-hot { color: var(--abtc-hot); font-weight: 500; }
.abtc .abtc-c-sku { position: relative; flex: none; width: 132px; margin-right: 32px; top: -14px; }
.abtc .abtc-sku { display: flex; align-items: flex-start; width: 100%; padding: 16px 12px; border: 1px solid transparent; border-radius: 8px; text-align: left; font-size: 12px; line-height: 18px; color: var(--abtc-sub); }
.abtc .abtc-sku-t { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.abtc .abtc-sku .abtc-i { width: 14px; height: 14px; margin: 2px -4px 0 2px; opacity: 0; transition: opacity .2s; }
.abtc .abtc-sku.is-edit:hover, .abtc .abtc-sku.is-edit[aria-expanded="true"] { border-color: var(--abtc-field); background: #fff; }
.abtc .abtc-sku.is-edit:hover .abtc-i, .abtc .abtc-sku.is-edit[aria-expanded="true"] .abtc-i { opacity: 1; }
.abtc .abtc-c-pq { display: flex; flex: none; }
.abtc .abtc-c-price { display: flex; flex: none; flex-direction: column; width: 148px; margin-right: 16px; white-space: nowrap; }

/* price (12-14B-16B: symbol 14, digits 16, 600) */
.abtc .abtc-price, .abtc-layer .abtc-price { display: inline-flex; align-items: baseline; font-family: var(--abtc-num); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.abtc .abtc-p-s, .abtc-layer .abtc-p-s { font-size: .875em; margin-right: 1px; }
.abtc .abtc-c-price .is-now { font-size: 16px; line-height: 20px; color: var(--abtc-price); }
.abtc .abtc-c-price .is-was { margin-top: 2px; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--abtc-weak); text-decoration: line-through; }

/* quantity – desktop: 32 | 40 | 32, 32 high, 1px #d6d6d6, outer radius 8, square middle */
.abtc .abtc-c-qty { display: flex; flex: none; flex-direction: column; align-items: center; width: 104px; }
.abtc .abtc-qty { display: flex; align-items: stretch; height: 32px; }
.abtc .abtc-qty-b { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #fff; border: 1px solid var(--abtc-field); color: var(--abtc-text); user-select: none; transition: background-color .15s; }
.abtc .abtc-qty-b:first-child { border-right: 0; border-radius: 8px 0 0 8px; }
.abtc .abtc-qty-b:last-child { border-left: 0; border-radius: 0 8px 8px 0; }
.abtc .abtc-qty-b:not([aria-disabled="true"]):hover { background: var(--abtc-hover); }
.abtc .abtc-qty-b .abtc-i { width: 16px; height: 16px; }
.abtc .abtc-qty-b[aria-disabled="true"] { color: var(--abtc-off); cursor: not-allowed; }
.abtc .abtc-qty-in { width: 40px; height: 32px; margin: 0; padding: 0; border: 1px solid var(--abtc-field); border-radius: 0; background: #fff; text-align: center; font-family: var(--abtc-num); font-size: 14px; line-height: 30px; color: var(--abtc-text); -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.abtc .abtc-qty-in:focus { border-color: var(--abtc-field); outline: 0; }
.abtc .abtc-qty-num { font-size: 14px; line-height: 32px; color: var(--abtc-text); }
.abtc .abtc-qty-tip { width: 104px; padding-top: 8px; font-size: 12px; line-height: 16px; color: var(--abtc-sub); text-align: center; }
.abtc .abtc-item.is-busy .abtc-qty { opacity: .6; pointer-events: none; }

/* operations */
.abtc .abtc-c-ops { flex: none; min-width: 64px; margin-left: 24px; }
.abtc .abtc-op { display: block; width: 100%; font-size: 14px; line-height: 22px; color: var(--abtc-sub); text-align: center; white-space: nowrap; user-select: none; }
.abtc .abtc-op:hover { color: var(--abtc-text); }
.abtc .abtc-swipe { display: none; }

/* unavailable */
.abtc .abtc-item.is-invalid .abtc-name { color: var(--abtc-off); }
.abtc .abtc-msg { font-size: 14px; color: var(--abtc-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abtc .abtc-similar { display: inline-flex; align-items: center; width: auto !important; height: 32px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--abtc-field); border-radius: 8px; background: #fff; font-size: 14px; color: var(--abtc-text); }
.abtc .abtc-similar:hover { background: var(--abtc-hover); }
.abtc .abtc-item.is-invalid .abtc-sku, .abtc .abtc-item.is-invalid .abtc-price, .abtc .abtc-item.is-invalid .abtc-qty-num { color: var(--abtc-off) !important; }
.abtc .abtc-nomatch { display: flex; flex-direction: column; align-items: center; padding: 48px 0 24px; border-top: 1px solid var(--abtc-line); color: var(--abtc-sub); }
.abtc .abtc-nomatch .abtc-ill { width: 120px; height: 120px; }
.abtc .abtc-list.is-filtered .abtc-shop.is-hidden, .abtc .abtc-item.is-hidden { display: none; }

/* ---------- summary panel (≥1401) ---------- */
.abtc .abtc-sum-card { position: relative; display: flex; flex-direction: column; max-height: min(750px, calc(100vh - var(--abtc-top) - 32px)); border: 1px solid var(--abtc-line); border-radius: 16px; background: #fff; overflow: hidden; }
.abtc .abtc-sum-head { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 12px 16px 20px; }
.abtc .abtc-sum-title { font-size: 16px; font-weight: 600; line-height: 24px; }
.abtc .abtc-sum-tip { margin-left: auto; font-size: 12px; color: var(--abtc-weak); }
.abtc .abtc-sum-x { display: none; margin-left: 12px; color: var(--abtc-sub); }
.abtc .abtc-sum-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.abtc .abtc-sum-empty { display: flex; flex-direction: column; align-items: center; padding-bottom: 8px; }
.abtc .abtc-sum-empty .abtc-ill { width: 140px; height: 140px; }
.abtc .abtc-sum-empty p { margin-top: -12px; font-size: 16px; font-weight: 600; line-height: 24px; color: var(--abtc-text); text-align: center; }
.abtc .abtc-rows, .abtc-layer .abtc-rows { padding: 0 16px; }
.abtc .abtc-row, .abtc-layer .abtc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 12px; line-height: 18px; color: var(--abtc-sub); }
.abtc .abtc-row.is-l1, .abtc-layer .abtc-row.is-l1 { font-size: 14px; font-weight: 500; line-height: 22px; color: var(--abtc-text); }
.abtc .abtc-row > span:first-child, .abtc-layer .abtc-row > span:first-child { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.abtc .abtc-row .abtc-i, .abtc-layer .abtc-row .abtc-i { width: 14px; height: 14px; color: var(--abtc-sub); }
.abtc .abtc-row .abtc-price, .abtc-layer .abtc-row .abtc-price { font-size: 14px; }
/* Amounts in the price details (panel, floating card and phone sheet) use the price color; the Price drop bolt the accent. */
.abtc .abtc-row > :last-child, .abtc-layer .abtc-row > :last-child, .abtc .abtc-row > .is-hot, .abtc-layer .abtc-row > .is-hot { color: var(--abtc-price); }
.abtc .abtc-row .abtc-i.is-accent, .abtc-layer .abtc-row .abtc-i.is-accent { color: var(--abtc-accent); }
.abtc .is-hot, .abtc-layer .is-hot { color: var(--abtc-hot); }
.abtc .abtc-coupon-x, .abtc-layer .abtc-coupon-x { margin-left: 4px; font-size: 12px; color: var(--abtc-weak); text-decoration: underline; }
.abtc .abtc-coupon, .abtc-layer .abtc-coupon { display: flex; gap: 8px; margin: 4px 16px 8px; }
.abtc .abtc-coupon input, .abtc-layer .abtc-coupon input { flex: 1; min-width: 0; width: auto; height: 32px; margin: 0; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; font-size: 14px; color: var(--abtc-text); }
.abtc .abtc-coupon input:focus, .abtc-layer .abtc-coupon input:focus { border-color: var(--abtc-text); outline: 0; }
.abtc .abtc-coupon button, .abtc-layer .abtc-coupon button { flex: none; height: 32px; padding: 0 12px; border: 1px solid var(--abtc-line); border-radius: 8px; background: #fff; color: var(--abtc-text); font-size: 14px; font-weight: 500; }
.abtc .abtc-coupon button:hover, .abtc-layer .abtc-coupon button:hover { background: var(--abtc-hover); }
.abtc .abtc-sum-foot { display: flex; flex: none; flex-direction: column; padding: 16px; }
.abtc .abtc-total { width: 100%; margin-bottom: 16px; }
.abtc .abtc-total-row { display: flex; align-items: flex-end; justify-content: space-between; }
.abtc .abtc-total-t { margin-right: 4px; font-size: 16px; font-weight: 600; line-height: 24px; }
.abtc .abtc-price.is-total { font-size: 24px; line-height: 26px; color: var(--abtc-price); }
.abtc .abtc-price.is-total .abtc-p-s { font-size: 16px; }
.abtc .abtc-total-sub { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 4px; font-size: 12px; line-height: 16px; }
.abtc .abtc-saved { color: var(--abtc-hot); }
.abtc .abtc-details { display: none; align-items: center; color: var(--abtc-link); font-size: 12px; font-weight: 500; }
.abtc .abtc-details .abtc-i { width: 12px; height: 12px; margin-left: 2px; transform: rotate(180deg); transition: transform .2s; }
.abtc .abtc-note { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--abtc-weak); text-align: right; }
/* Primary button: 48px, radius 12, 16/600 (btn--QDjHtErD). */
.abtc .abtc-go { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border-radius: 12px; background: var(--abtc-btn); color: var(--abtc-on-btn); font-size: 16px; font-weight: 600; overflow: hidden; }
.abtc .abtc-go:hover::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .04); }
.abtc .abtc-go:active::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .08); }
.abtc .abtc-go-n { margin-left: 4px; font-weight: 500; }
.abtc .abtc-sum.is-loading .abtc-sum-card::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .6); }

/* ---------- ≤1400: one column, summary floats at the bottom as a 360px card ---------- */
@media (max-width: 1400px) {
	.abtc { padding-bottom: 120px; }
	.abtc .abtc-cols { display: block; }
	.abtc .abtc-side { position: static; width: auto; }
	.abtc .abtc-sum { position: fixed; z-index: 90; right: var(--abtc-right); bottom: 16px; width: 360px; }
	body.abmbn-active .abtc .abtc-sum { bottom: calc(16px + var(--abmbn-h, 0px) + env(safe-area-inset-bottom, 0px)); }
	.abtc .abtc-sum-card { max-height: calc(100vh - var(--abtc-top) - 48px); box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
	.abtc .abtc-sum:not(.is-open) .abtc-sum-head, .abtc .abtc-sum:not(.is-open) .abtc-sum-body { display: none; }
	.abtc .abtc-sum.is-open .abtc-sum-x { display: inline-flex; }
	.abtc .abtc-sum-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
	.abtc .abtc-total { width: auto; margin-bottom: 0; min-width: 0; }
	.abtc .abtc-total-row { justify-content: flex-start; }
	.abtc .abtc-total-sub { justify-content: flex-start; }
	.abtc .abtc-details { display: inline-flex; }
	.abtc .abtc-sum.is-open .abtc-details .abtc-i { transform: none; }
	.abtc .abtc-note { text-align: left; }
	.abtc .abtc-go { flex: none; width: 120px; }
	.abtc .abtc-go-n { display: none; }
	.abtc .abtc-sum-empty .abtc-ill { width: 100px; height: 100px; }
}

/* ---------- recommendations ---------- */
.abtc .abtc-rec { margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--abtc-line); }
.abtc .abtc-rec-title { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; font-weight: 600; line-height: 30px; color: var(--abtc-text); }
.abtc .abtc-rec-title i { display: block; width: 24px; height: 1px; margin: 0 12px; background: var(--abtc-field); }
.abtc .abtc-rec-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1401px) { .abtc .abtc-rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .abtc .abtc-rec-grid > :nth-child(n+9) { display: none; } }
.abtc .abtc-card { display: flex; flex-direction: column; border-radius: 12px; background: #fff; }
.abtc .abtc-card-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; background: #f7f7f7; overflow: hidden; }
.abtc .abtc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.abtc .abtc-card-img .abtc-img-mask { border-radius: 12px; background: transparent; }
.abtc .abtc-card:hover .abtc-img-mask { background: rgba(0, 0, 0, .08); }
.abtc .abtc-card-name { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 24px; color: var(--abtc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abtc .abtc-card-tags { display: flex; height: 14px; margin-top: 8px; overflow: hidden; font-size: 14px; line-height: 14px; color: var(--abtc-hot); }
.abtc .abtc-card-tags span { margin-right: 8px; }
.abtc .abtc-card-price { display: flex; align-items: flex-end; flex-wrap: wrap; height: 24px; margin-top: 4px; overflow: hidden; }
.abtc .abtc-card-price .abtc-price { font-size: 20px; line-height: 22px; font-weight: 700; letter-spacing: -.4px; color: var(--abtc-price); }
.abtc .abtc-card-price .abtc-p-s { font-size: 16px; }
.abtc .abtc-card-sold { margin-left: 8px; font-size: 14px; line-height: 22px; color: var(--abtc-sub); }

/* ---------- empty cart ---------- */
.abtc .abtc-empty { display: flex; align-items: center; justify-content: center; height: 426px; border-radius: 16px; background: #fff; }
.abtc .abtc-empty-in { display: flex; flex-direction: column; align-items: center; width: 336px; text-align: center; }
.abtc .abtc-empty .abtc-ill { width: 160px; height: 160px; }
.abtc .abtc-empty h2 { margin-top: 4px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--abtc-text); }
.abtc .abtc-empty p { margin-top: 4px; font-size: 14px; color: var(--abtc-sub); }
.abtc .abtc-empty-btn { display: inline-flex; align-items: center; height: 40px; margin-top: 20px; padding: 0 24px; border-radius: 8px; background: var(--abtc-btn); color: var(--abtc-on-btn) !important; font-size: 16px; font-weight: 600; }
.abtc.is-empty .abtc-rec { margin-top: 24px; }

/* ---------- toast ---------- */
.abtc-toast { position: fixed; left: 50%; top: 50%; z-index: 100002; max-width: min(80vw, 360px); padding: 10px 16px; border-radius: 8px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 14px; line-height: 20px; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.96); transition: opacity .2s, transform .2s; }
.abtc-toast.is-on { opacity: 1; transform: translate(-50%, -50%); }

/* ---------- layers: confirm dialog, quantity dialog, spec picker, details sheet ---------- */
.abtc-layer { position: fixed; inset: 0; z-index: 100000; }
.abtc-layer .abtc-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .24s ease; }
.abtc-layer.is-on .abtc-scrim { opacity: 1; }
.abtc-layer.is-pop .abtc-scrim { background: transparent; }
.abtc-dialog { position: absolute; left: 50%; top: 50%; width: 360px; max-width: calc(100vw - 48px); padding: 32px 24px 24px; border-radius: 16px; background: #fff; text-align: center; opacity: 0; transform: translate(-50%, -46%); transition: opacity .2s, transform .24s cubic-bezier(.25, .46, .45, .94); }
.abtc-layer.is-on .abtc-dialog { opacity: 1; transform: translate(-50%, -50%); }
.abtc-dialog p { font-size: 16px; font-weight: 500; line-height: 24px; color: var(--abtc-text); }
.abtc-dialog-btns { display: flex; gap: 12px; margin-top: 24px; }
.abtc-layer .abtc-lbtn { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 8px; font-size: 16px; font-weight: 500; }
.abtc-layer .abtc-lbtn.is-sec { border: 1px solid var(--abtc-line); background: #fff; color: var(--abtc-text); }
.abtc-layer .abtc-lbtn.is-sec:hover { background: var(--abtc-hover); }
.abtc-layer .abtc-lbtn.is-pri { background: var(--abtc-btn); color: var(--abtc-on-btn); font-weight: 600; }
.abtc-layer .abtc-lbtn[disabled] { opacity: .36; cursor: not-allowed; }
.abtc-qdlg-step { display: flex; justify-content: center; height: 40px; margin-top: 20px; }
.abtc-layer .abtc-qdlg-step button { display: flex; align-items: center; justify-content: center; width: 44px; border: 1px solid var(--abtc-field); background: #fff; color: var(--abtc-text); }
.abtc-layer .abtc-qdlg-step button:first-child { border-right: 0; border-radius: 8px 0 0 8px; }
.abtc-layer .abtc-qdlg-step button:last-child { border-left: 0; border-radius: 0 8px 8px 0; }
.abtc-layer .abtc-qdlg-step button[disabled] { color: var(--abtc-off); }
.abtc-layer .abtc-qdlg-step .abtc-i { width: 18px; height: 18px; }
.abtc-layer .abtc-qdlg-step input { --autoboss-radius-small: 0px; width: 96px; height: 40px; margin: 0; padding: 0; border: 1px solid var(--abtc-field); border-radius: 0; background: #fff; text-align: center; font-family: var(--abtc-num); font-size: 16px; font-weight: 600; color: var(--abtc-text); }
.abtc-layer .abtc-qdlg-step input:focus { outline: 0; border-color: var(--abtc-field); background: #fafafa; }

.abtc-panel { position: absolute; display: flex; flex-direction: column; background: #fff; }
.abtc-panel.is-pop { width: 440px; max-height: min(560px, calc(100vh - 32px)); border-radius: 12px; box-shadow: 0 6px 30px rgba(0, 0, 0, .14); opacity: 0; transform: translateY(-4px); transition: opacity .18s, transform .18s; }
.abtc-layer.is-on .abtc-panel.is-pop { opacity: 1; transform: none; }
.abtc-panel.is-sheet { left: 0; right: 0; bottom: 0; max-height: 82vh; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(100%); transition: transform .32s cubic-bezier(.25, .46, .45, .94); }
.abtc-layer.is-on .abtc-panel.is-sheet { transform: none; }
.abtc-panel-head { position: relative; display: flex; align-items: center; justify-content: center; flex: none; height: 48px; padding: 0 48px; font-size: 16px; font-weight: 600; }
.abtc-panel.is-pop .abtc-panel-head, .abtc-panel.is-pop .abtc-panel-x { display: none; }
.abtc-panel-x { position: absolute; right: 12px; top: 12px; width: 24px; height: 24px; color: var(--abtc-sub); }
.abtc-panel-x .abtc-i { width: 24px; height: 24px; }
.abtc-panel-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 20px 4px; }
.abtc-panel.is-sheet .abtc-panel-body { padding: 4px 16px 12px; }
.abtc-panel-foot { display: flex; gap: 12px; flex: none; padding: 12px 20px 20px; }
.abtc-panel.is-sheet .abtc-panel-foot { padding: 8px 12px 12px; }
.abtc-panel.is-sheet .abtc-panel-foot .is-sec { display: none; }
.abtc-panel.is-sheet .abtc-lbtn.is-pri { height: 44px; border-radius: 22px; background: var(--abtc-btn-m); }

.abtc-spec-top { display: flex; gap: 12px; margin-bottom: 16px; }
.abtc-spec-top img { width: 72px; height: 72px; flex: none; border-radius: 8px; background: rgba(0, 0, 0, .03); object-fit: contain; }
.abtc-panel.is-sheet .abtc-spec-top img { width: 96px; height: 96px; }
.abtc-spec-top .abtc-price { font-size: 20px; line-height: 28px; color: var(--abtc-price); }
.abtc-spec-top .abtc-spec-stock { font-size: 12px; line-height: 18px; color: var(--abtc-sub); }
.abtc-spec-top .abtc-spec-sel { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 12px; line-height: 18px; color: var(--abtc-text); }
.abtc-spec-group { margin-bottom: 8px; }
.abtc-spec-label { margin-bottom: 12px; font-size: 14px; font-weight: 500; line-height: 22px; color: var(--abtc-text); }
.abtc-spec-values { display: flex; flex-wrap: wrap; gap: 0 8px; }
.abtc-layer .abtc-spec-v { display: inline-flex; align-items: center; max-width: 100%; min-height: 40px; margin-bottom: 8px; padding: 0 12px; border: 1px solid var(--abtc-field); border-radius: 8px; background: #fff; font-size: 14px; line-height: 20px; color: var(--abtc-text); text-align: left; }
.abtc-layer .abtc-spec-v:hover { border-color: var(--abtc-text); }
.abtc-layer .abtc-spec-v[aria-pressed="true"] { border: 1.5px solid var(--abtc-accent); background: var(--abtc-soft); font-weight: 500; }
.abtc-layer .abtc-spec-v.is-off { color: rgba(0, 0, 0, .26); border-style: dashed; cursor: not-allowed; }
.abtc-layer .abtc-spec-v.is-off:hover { border-color: var(--abtc-field); }
.abtc-spec-msg { min-height: 18px; font-size: 12px; line-height: 18px; color: var(--abtc-sub); }
.abtc-details-body .abtc-rows { padding: 8px 0 0; }
.abtc-details-body .abtc-coupon { margin: 8px 0 12px; }
.abtc-details-body .abtc-note { margin: 4px 0 0; font-size: 12px; color: var(--abtc-weak); }

/* ---------- tablet 768–1024: Taobao mini-cart row (price and quantity under the title) ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
	.abtc .abtc-search { width: 300px; }
	.abtc .abtc-ops { flex-wrap: wrap; }
	.abtc .abtc-find input { width: 160px; }
	.abtc .abtc-c-check { width: 32px; }
	.abtc .abtc-c-img { width: 96px; height: 96px; margin-right: 12px; }
	.abtc .abtc-c-dpq { flex-direction: column; }
	.abtc .abtc-c-detail { margin-right: 0; }
	.abtc .abtc-c-sku { width: auto; margin: 4px 0 0; top: 0; }
	.abtc .abtc-sku { display: inline-flex; width: auto; max-width: 100%; padding: 2px 8px; border: 0; border-radius: 6px; background: var(--abtc-chip); }
	.abtc .abtc-sku-t { -webkit-line-clamp: 1; }
	.abtc .abtc-sku .abtc-i { opacity: 1; margin: 2px 0 0 4px; }
	.abtc .abtc-sku.is-edit:hover { border-color: transparent; background: #efefef; }
	.abtc .abtc-c-pq { align-items: center; justify-content: space-between; margin-top: 8px; }
	.abtc .abtc-c-price { width: auto; }
	.abtc .abtc-c-qty { width: auto; align-items: flex-end; }
	.abtc .abtc-qty-tip { width: auto; padding-top: 4px; }
	.abtc .abtc-c-ops { margin-left: 24px; }
	.abtc .abtc-rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- phones <768: Taobao App cart, 12px grid ---------- */
@media (max-width: 767px) {
	body.abtc-page { background: #f3f3f3; }
	body.abtc-hide-header #header, body.abtc-hide-header header.ct-header { display: none !important; }
	body.abtc-page .ct-back-to-top { bottom: calc(var(--abmbn-h, 0px) + env(safe-area-inset-bottom, 0px) + 72px) !important; }
	/* iOS zooms into any field under 16px when it gets focus. */
	.abtc input:not(.abtc-qty-in), .abtc-layer input { font-size: 16px !important; }

	.abtc { background: #f3f3f3; padding-bottom: calc(56px + 16px + env(safe-area-inset-bottom, 0px)); }
	.abtc .abtc-in, .abtc.is-w-taobao .abtc-in { width: 100%; max-width: none; padding: 0; }
	.abtc .abtc-head, .abtc .abtc-ops, .abtc .abtc-side { display: none; }
	.abtc .abtc-notice { margin: 0 8px 8px; border-radius: 12px; background: #fff; font-size: 13px; min-height: 36px; padding: 8px 12px; }
	.abtc .abtc-notices { margin: 0 8px; }

	/* header 44 */
	.abtc .abtc-mhead { position: sticky; top: var(--abtc-top); z-index: 30; display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; background: #f3f3f3; }
	.abtc .abtc-back { display: flex; margin: 0 4px 0 -4px; padding: 4px; color: var(--abtc-text); }
	.abtc .abtc-back .abtc-i { width: 24px; height: 24px; }
	body:not(.abtc-hide-header) .abtc .abtc-back { display: none; }
	.abtc .abtc-mtitle { flex: 1; min-width: 0; font-size: 18px; font-weight: 600; line-height: 24px; color: var(--abtc-text); }
	.abtc .abtc-mcount { margin-left: 2px; font-size: 14px; font-weight: 400; }
	.abtc .abtc-msearch-open { display: flex; padding: 8px; color: var(--abtc-text); }
	.abtc .abtc-msearch-open .abtc-i { width: 22px; height: 22px; }
	.abtc .abtc-manage { padding: 8px 0 8px 8px; font-size: 15px; color: var(--abtc-text); }
	.abtc .abtc-manage .is-on, .abtc.is-manage .abtc-manage .is-off { display: none; }
	.abtc.is-manage .abtc-manage .is-on { display: inline; font-weight: 600; }
	.abtc .abtc-msearch { display: none; }
	.abtc.is-msearch .abtc-mhead > :not(.abtc-msearch) { display: none; }
	.abtc.is-msearch .abtc-msearch { display: flex; align-items: center; flex: 1; gap: 12px; }
	.abtc .abtc-msearch-f { display: flex; align-items: center; flex: 1; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; background: #fff; }
	.abtc .abtc-msearch-f .abtc-i { width: 18px; height: 18px; color: var(--abtc-weak); }
	.abtc .abtc-msearch-f input { --autoboss-radius-small: 0px; flex: 1; min-width: 0; width: auto; height: 32px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--abtc-text); outline: 0; }
	.abtc .abtc-msearch-x { font-size: 15px; color: var(--abtc-text); }
	.abtc .abtc-qall { margin: 8px 8px 0; padding: 12px; border-radius: 12px; background: #fff; }
	.abtc .abtc-nomatch { margin-bottom: 8px; padding: 24px 12px; border: 0; border-radius: 12px; background: #fff; font-size: 13px; }
	.abtc .abtc-nomatch .abtc-ill { width: 96px; height: 96px; }

	/* tabs 40 */
	.abtc .abtc-bar, .abtc .abtc-bar.is-sticky { position: sticky; top: calc(var(--abtc-top) + 44px); z-index: 29; background: #f3f3f3; }
	.abtc .abtc-bar.is-sticky::before { display: none; }
	.abtc .abtc-tabs { height: 40px; padding: 0 12px; }
	.abtc .abtc-tab { position: relative; height: 40px; margin-right: 24px; border: 0 !important; font-size: 14px; color: var(--abtc-sub); }
	.abtc .abtc-tab .abtc-i, .abtc .abtc-tab-l { display: none; }
	.abtc .abtc-tab[data-abtc-tab="sale"] .abtc-i { display: block; width: 16px; height: 16px; margin-right: 2px; padding: 0; }
	.abtc .abtc-tab-m { display: inline; }
	.abtc .abtc-tab-m b { margin-left: 2px; font-weight: inherit; font-size: 12px; }
	.abtc .abtc-tab.is-on { color: var(--abtc-text); font-size: 16px; font-weight: 600; }
	.abtc .abtc-tab.is-on::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--abtc-accent); }

	/* shop cards: 8 apart, 12 padding, 12 between head and items and between items */
	.abtc .abtc-list { padding: 8px 8px 0; }
	.abtc .abtc-shop { margin-bottom: 8px; padding: 12px 0; border-radius: 12px; background: #fff; overflow: hidden; }
	.abtc .abtc-shop-head { height: 24px; padding: 0 12px; border: 0; }
	.abtc .abtc-shop-head > .abtc-check { margin-right: 10px; }
	.abtc .abtc-shop-name { font-weight: 600; }
	.abtc .abtc-box { border-radius: 50%; border-color: #c8c8c8; }
	.abtc .abtc-cb:checked + .abtc-box::after { left: 6px; top: 3px; width: 5px; height: 10px; }
	.abtc .abtc-clear { font-size: 13px; color: var(--abtc-sub); }

	/* items: check 42 | image 90 | column (title, spec chip, benefits, price + stepper) */
	.abtc .abtc-item { overflow: hidden; }
	.abtc .abtc-item-in { align-items: stretch; padding: 12px 12px 0 0; background: #fff; transition: transform .22s cubic-bezier(.25, .46, .45, .94); touch-action: pan-y; }
	.abtc .abtc-item.is-dragging .abtc-item-in { transition: none; }
	.abtc .abtc-c-check { justify-content: center; width: 42px; height: 90px; }
	.abtc .abtc-c-img { width: 90px; height: 90px; margin-right: 10px; }
	.abtc .abtc-img-mask { background: rgba(0, 0, 0, .02) !important; }
	.abtc .abtc-c-dpq { flex-direction: column; min-height: 90px; }
	.abtc .abtc-c-detail { display: contents; }
	.abtc .abtc-c-detail > * { margin-bottom: 0; }
	.abtc .abtc-name { order: 1; font-size: 14px; font-weight: 400; line-height: 20px; color: #111; }
	.abtc a.abtc-name:hover { text-decoration: none; }
	.abtc .abtc-c-sku { order: 2; width: auto; margin: 6px 0 0; top: 0; }
	.abtc .abtc-sku { display: inline-flex; align-items: center; width: auto; max-width: 100%; padding: 2px 8px; border: 0; border-radius: 6px; background: var(--abtc-chip); font-size: 12px; line-height: 18px; color: #666; }
	.abtc .abtc-sku-t { -webkit-line-clamp: 1; }
	.abtc .abtc-sku .abtc-i { width: 12px; height: 12px; margin: 0 0 0 4px; opacity: 1; }
	.abtc .abtc-sku.is-edit:hover, .abtc .abtc-sku.is-edit[aria-expanded="true"] { border-color: transparent; background: #efefef; }
	.abtc .abtc-benefits { order: 3; margin-top: 6px; font-size: 12px; line-height: 16px; }
	.abtc .abtc-benefits span { margin-right: 6px; }
	.abtc .abtc-msg { order: 3; margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--abtc-weak); white-space: normal; }
	.abtc .abtc-c-pq { order: 5; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
	.abtc .abtc-c-price { flex-direction: row; align-items: baseline; flex-wrap: wrap; width: auto; margin-right: 8px; }
	.abtc .abtc-c-price .is-now { font-size: 18px; line-height: 22px; }
	.abtc .abtc-c-price .is-now .abtc-p-s, .abtc .abtc-c-price .is-now .abtc-p-d { font-size: 12px; }
	.abtc .abtc-c-price .is-was { margin: 0 0 0 4px; font-size: 11px; }
	/* quantity: one grey chip, 26 high (like the "x1" chip of the order page); the number opens a dialog */
	.abtc .abtc-c-qty { width: auto; align-items: flex-end; }
	.abtc .abtc-qty { height: 26px; border-radius: 6px; background: var(--abtc-chip); }
	.abtc .abtc-qty-b, .abtc .abtc-qty-b:first-child, .abtc .abtc-qty-b:last-child { width: 28px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--abtc-text); }
	.abtc .abtc-qty-b:not([aria-disabled="true"]):hover { background: transparent; }
	.abtc .abtc-qty-b:not([aria-disabled="true"]):active { background: #e9e9e9; }
	.abtc .abtc-qty-b .abtc-i { width: 14px; height: 14px; }
	.abtc .abtc-qty-in { width: 30px; height: 26px; border: 0; background: transparent; font-size: 13px; font-weight: 600; line-height: 26px; cursor: pointer; }
	.abtc .abtc-qty-in:focus { border: 0; }
	.abtc .abtc-qty-num { padding: 0 8px; border-radius: 6px; background: var(--abtc-chip); line-height: 26px; font-size: 13px; }
	.abtc .abtc-qty-tip { padding-top: 4px; font-size: 11px; line-height: 14px; color: var(--abtc-sub); text-align: right; }
	.abtc .abtc-c-ops { display: none; }

	/* unavailable (grouped, grey tag instead of the checkbox) */
	.abtc .abtc-invalid .abtc-shop-head > .abtc-check { display: none; }
	.abtc .abtc-inv-tag { display: inline-block; padding: 0 5px; border-radius: 8px; background: #d8d8d8; color: #fff; font-size: 10px; line-height: 16px; white-space: nowrap; }
	.abtc .abtc-inv-check { display: none; }
	.abtc .abtc-img-tag { line-height: 20px; font-size: 11px; }
	.abtc .abtc-item.is-invalid .abtc-name { color: var(--abtc-weak); }
	.abtc .abtc-similar { order: 4; align-self: flex-end; height: 26px; margin-top: auto; padding: 0 12px; border-color: #c8c8c8; border-radius: 13px; font-size: 12px; color: var(--abtc-text); }
	.abtc .abtc-item.is-invalid .abtc-c-pq { display: none; }

	/* swipe actions */
	.abtc .abtc-swipe { position: absolute; top: 12px; right: 0; bottom: 0; display: flex; }
	.abtc .abtc-swipe button { display: flex; align-items: center; justify-content: center; width: 72px; height: 100%; padding: 0 8px; color: #fff; font-size: 13px; line-height: 17px; text-align: center; }
	.abtc .abtc-sw-fav { background: #8c8c8c; }
	.abtc .abtc-sw-del { background: #ff3d3d; }
	.abtc .abtc-item-in { z-index: 1; }

	/* bottom bar 56 (above the AUTOBOSS bottom nav when it shows) */
	.abtc .abtc-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; height: calc(56px + env(safe-area-inset-bottom, 0px)); padding: 0 12px env(safe-area-inset-bottom, 0px); background: #fff; box-shadow: 0 -1px 0 rgba(0, 0, 0, .05), 0 -4px 16px rgba(0, 0, 0, .04); }
	body.abmbn-active .abtc .abtc-mbar { bottom: calc(var(--abmbn-h, 0px) + env(safe-area-inset-bottom, 0px)); height: 56px; padding-bottom: 0; }
	.abtc .abtc-mbar-all { flex: none; margin-right: 8px; }
	.abtc .abtc-mbar-all .abtc-check-t { margin-left: 6px; font-size: 13px; color: var(--abtc-text); }
	.abtc .abtc-mbar-r { display: flex; flex: 1; align-items: center; justify-content: flex-end; min-width: 0; }
	.abtc .abtc-mbar-manage, .abtc.is-manage .abtc-mbar-buy { display: none; }
	.abtc.is-manage .abtc-mbar-manage { display: flex; gap: 8px; }
	.abtc .abtc-mbar-total { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; margin-right: 10px; }
	.abtc .abtc-mbar-sum { display: flex; align-items: baseline; gap: 2px; font-size: 13px; color: var(--abtc-text); white-space: nowrap; }
	.abtc .abtc-mbar-sum .abtc-price.is-total { font-size: 18px; line-height: 22px; color: var(--abtc-price); }
	.abtc .abtc-mbar-sum .abtc-price.is-total .abtc-p-s, .abtc .abtc-mbar-sum .abtc-price.is-total .abtc-p-d { font-size: 12px; }
	.abtc .abtc-mbar-save { display: inline-flex; align-items: center; gap: 2px; margin-top: 1px; font-size: 11px; line-height: 14px; color: var(--abtc-sub); white-space: nowrap; }
	.abtc .abtc-mbar-save .abtc-i { width: 10px; height: 10px; transform: rotate(180deg); }
	.abtc .abtc-dlink { display: inline-flex; align-items: center; gap: 1px; margin-left: 4px; color: var(--abtc-link); font-weight: 500; }
	/* Checkout: rounded rectangle 44 high, radius 12, 16/600 – the shape of the order page's pay button. */
	.abtc .abtc-mgo { flex: none; min-width: 112px; height: 44px; padding: 0 20px; border-radius: 12px; background: var(--abtc-btn-m); color: var(--abtc-on-btn); font-size: 16px; font-weight: 600; line-height: 44px; white-space: nowrap; }
	.abtc .abtc-mgo:active { filter: brightness(.94); }
	.abtc .abtc-pill { height: 44px; padding: 0 18px; border: 1px solid #c8c8c8 !important; border-radius: 12px; background: #fff; font-size: 14px; color: var(--abtc-text); white-space: nowrap; }
	.abtc .abtc-pill.is-del { border-color: var(--abtc-text) !important; font-weight: 500; }

	/* recommendations: two columns of white cards */
	.abtc .abtc-rec { margin: 0; padding: 8px 8px 0; border: 0; }
	.abtc .abtc-rec-title { margin-bottom: 12px; font-size: 16px; line-height: 24px; }
	.abtc .abtc-rec-title i { width: 20px; margin: 0 10px; background: #c8c8c8; }
	.abtc .abtc-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.abtc .abtc-card { border-radius: 12px; overflow: hidden; }
	.abtc .abtc-card-img, .abtc .abtc-card-img .abtc-img-mask { border-radius: 0; }
	.abtc .abtc-card-name { margin: 8px 8px 0; font-size: 13px; font-weight: 400; line-height: 18px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.abtc .abtc-card-tags { margin: 4px 8px 0; font-size: 11px; line-height: 14px; }
	.abtc .abtc-card-price { margin: 4px 8px 8px; height: 22px; }
	.abtc .abtc-card-price .abtc-price { font-size: 16px; line-height: 20px; }
	.abtc .abtc-card-price .abtc-p-s { font-size: 11px; }
	.abtc .abtc-card-sold { margin-left: 6px; font-size: 11px; line-height: 18px; color: var(--abtc-weak); }

	/* empty */
	.abtc .abtc-empty { height: auto; margin: 0 8px; padding: 32px 12px; border-radius: 12px; }
	.abtc .abtc-empty-in { width: auto; }
	.abtc .abtc-empty .abtc-ill { width: 120px; height: 120px; }
	.abtc .abtc-empty h2 { font-size: 15px; line-height: 22px; }
	.abtc .abtc-empty p { font-size: 13px; }
	.abtc .abtc-empty-btn { height: 32px; margin-top: 16px; padding: 0 20px; border: 1px solid var(--abtc-text); border-radius: 16px; background: #fff; color: var(--abtc-text) !important; font-size: 14px; font-weight: 500; }
	.abtc.is-empty { padding-bottom: 24px; }
	.abtc.is-empty .abtc-rec { margin-top: 0; }

	.abtc-dialog { width: 280px; padding: 24px 20px 16px; border-radius: 14px; }
	.abtc-dialog p { font-size: 15px; }
	.abtc-dialog-btns { margin-top: 20px; }
	.abtc-layer .abtc-lbtn { height: 36px; border-radius: 18px; font-size: 14px; }
	.abtc-layer .abtc-lbtn.is-pri { background: var(--abtc-btn-m); }
	.abtc-layer .abtc-spec-v { min-height: 32px; padding: 0 12px; border-color: transparent; border-radius: 6px; background: var(--abtc-chip); font-size: 13px; }
	.abtc-layer .abtc-spec-v:hover { border-color: transparent; }
	.abtc-layer .abtc-spec-v[aria-pressed="true"] { border-color: var(--abtc-accent); background: var(--abtc-soft); }
	.abtc-layer .abtc-spec-v.is-off { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
	.abtc *, .abtc-layer * { transition: none !important; animation: none !important; }
}

/* ---------- 1.2.2: press and loading feedback (same recipe as the product page and side cart) ---------- */
.abtc :is(.abtc-go, .abtc-mgo, .abtc-empty-btn, .abtc-btn, .abtc-pill), .abtc :is(.abtc-coupon, .abtc-search) button, .abtc-layer :is(.abtc-lbtn, .abtc-coupon button) { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.abtc :is(.abtc-mgo, .abtc-empty-btn, .abtc-pill), .abtc :is(.abtc-coupon, .abtc-search) button, .abtc-layer :is(.abtc-lbtn, .abtc-coupon button) { filter: none !important; }
.abtc :is(.abtc-mgo, .abtc-empty-btn, .abtc-pill)::after, .abtc :is(.abtc-coupon, .abtc-search) button::after, .abtc-layer :is(.abtc-lbtn, .abtc-coupon button)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: transparent; transition: background-color .15s; pointer-events: none; }
@media (hover: hover) {
	.abtc .abtc-go:hover::after, .abtc .abtc-search button:hover::after, .abtc-layer .abtc-lbtn.is-pri:hover::after { background: rgba(255, 255, 255, .24); }
}
.abtc :is(.abtc-go, .abtc-mgo, .abtc-empty-btn, .abtc-pill):not(.is-off):active::after, .abtc :is(.abtc-coupon, .abtc-search) button:active::after, .abtc-layer :is(.abtc-lbtn, .abtc-coupon button):not([disabled]):active::after { background: rgba(0, 0, 0, .08); }
.abtc .abtc-go::after { transition: background-color .15s; }
.abtc .abtc-qty-b:not([aria-disabled="true"]):active { background: #ebebeb; }
.abtc :is(.abtc-op, .abtc-manage, .abtc-clear, .abtc-details, .abtc-coupon-x, .abtc-dlink, .abtc-tab, .abtc-sku.is-edit):active { opacity: .6; }
.abtc .abtc-box { transition: background-color .2s, border-color .2s, transform .1s; }
.abtc .abtc-check:active .abtc-box { transform: scale(.9); }

/* Loading: a 16px ring before the label (side cart Checkout button); kept while the browser opens checkout. */
.abtc :is(.abtc-go, .abtc-mgo).is-loading, .abtc .abtc-coupon button.is-loading, .abtc-layer .abtc-coupon button.is-loading { cursor: progress; pointer-events: none; }
.abtc :is(.abtc-go, .abtc-mgo).is-loading::before, .abtc .abtc-coupon button.is-loading::before, .abtc-layer .abtc-coupon button.is-loading::before { content: ""; display: inline-block; flex: none; box-sizing: border-box; width: 16px; height: 16px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -3px; animation: abtc-spin .7s linear infinite; }
.abtc .abtc-coupon button.is-loading::before, .abtc-layer .abtc-coupon button.is-loading::before { width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.abtc .abtc-go.is-loading .abtc-go-n { opacity: .7; }
/* Quantity being saved: the number gives way to a small ring. */
.abtc .abtc-qty { position: relative; }
.abtc .abtc-item.is-busy .abtc-qty { opacity: 1; }
.abtc .abtc-item.is-busy .abtc-qty input { color: transparent; }
.abtc .abtc-item.is-busy .abtc-qty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; box-sizing: border-box; border: 2px solid #999; border-right-color: transparent; border-radius: 50%; animation: abtc-spin .7s linear infinite; pointer-events: none; }
.abtc .abtc-item.is-busy .abtc-qty-b { color: var(--abtc-off); }
@keyframes abtc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.abtc :is(.abtc-go, .abtc-mgo).is-loading::before, .abtc .abtc-coupon button.is-loading::before, .abtc-layer .abtc-coupon button.is-loading::before, .abtc .abtc-item.is-busy .abtc-qty::after { animation: abtc-spin 1.6s linear infinite !important; }
}
